
Spawning probs
- AcadiusLost
- Chosen of Forumamus, God of Forums
- Posts: 5061
- Joined: Tue Oct 19, 2004 8:38 am
- Location: Montara, CA [GMT -8]
- Contact:
Google found this piece of wisdom on that particular error:
http://forums.mysql.com/read.php?11,4460,35804
http://forums.mysql.com/read.php?11,4460,35804
- AcadiusLost
- Chosen of Forumamus, God of Forums
- Posts: 5061
- Joined: Tue Oct 19, 2004 8:38 am
- Location: Montara, CA [GMT -8]
- Contact:
in your NWNx4 folder:
Check the settings in the xp_mysql.ini and xp_sqlite.ini
Then check the log files nwnx.txt and xp_mysql.txt
Getting booted means it's failing on one of the database functions, you should have the error logged somewhere.
[edit: also make sure your Gamespy ID and your character names don't include any unusual characters like apostrophes (' \ " * = -), as those can confuse the database. I've recently much improved it's handling of them, but the changes won't reach you till the next hak update)
Check the settings in the xp_mysql.ini and xp_sqlite.ini
Then check the log files nwnx.txt and xp_mysql.txt
Getting booted means it's failing on one of the database functions, you should have the error logged somewhere.
[edit: also make sure your Gamespy ID and your character names don't include any unusual characters like apostrophes (' \ " * = -), as those can confuse the database. I've recently much improved it's handling of them, but the changes won't reach you till the next hak update)
5. Go into your NWNx4 directory, open up the xp_mysql.ini file. You'll want the following settings to get it pointed at your local DB:
Class = SQL
server = localhost
user = root
password = (whatever your root password is)
schema = nwnx
loglevel = 1 (or 2 if you want to see everything)
under server = localhost was i supposed to type in "localhost"?
or a different path?
Class = SQL
server = localhost
user = root
password = (whatever your root password is)
schema = nwnx
loglevel = 1 (or 2 if you want to see everything)
under server = localhost was i supposed to type in "localhost"?
or a different path?
- AcadiusLost
- Chosen of Forumamus, God of Forums
- Posts: 5061
- Joined: Tue Oct 19, 2004 8:38 am
- Location: Montara, CA [GMT -8]
- Contact:
Yes, you actually need to put in the word "localhost" - otherwise it tries to look across the network and to the internet for the SQL server.
If you have something else there, that's likely the problem (again, both apologies on the hoops to jump through here, and hats off to your motivation to get it working)
If you have something else there, that's likely the problem (again, both apologies on the hoops to jump through here, and hats off to your motivation to get it working)
thanks friend.... but i do need to get this working in order to get my spawns working and do testing right? if so... thna i gotta do it, hehe. thanks for being so responsive.
i believe dangit i have everythnig setup the way you asked.....in the nwnx4 folder, i open nwnx.txt and i see a stream of
nwnxsetstring: function class "SQL" not provided by any plugin. and it spans across the file.
hmmmm...... what to do
i believe dangit i have everythnig setup the way you asked.....in the nwnx4 folder, i open nwnx.txt and i see a stream of
nwnxsetstring: function class "SQL" not provided by any plugin. and it spans across the file.
hmmmm...... what to do
- AcadiusLost
- Chosen of Forumamus, God of Forums
- Posts: 5061
- Joined: Tue Oct 19, 2004 8:38 am
- Location: Montara, CA [GMT -8]
- Contact:
Hmm, did you get the "madCHook.dll" file copied into your ProgramFiles/Atari/NeverwinterNights2/ folder (leaving a copy in the NWNx4 folder)? That could cause a failure of the SQL plugin loading, as could missing out the "class" edits in one or more of the .ini files in /NWNx4:
xp_mysql.ini should have: "Class = SQL"
xp_sqlite.ini should have: "Class = SQLoff"
xp_mysql.ini should have: "Class = SQL"
xp_sqlite.ini should have: "Class = SQLoff"
- AcadiusLost
- Chosen of Forumamus, God of Forums
- Posts: 5061
- Joined: Tue Oct 19, 2004 8:38 am
- Location: Montara, CA [GMT -8]
- Contact:
The only way I was able to reproduce an error like you describe was when I deleted/renamed the xp_mysql.dll file to xp_mysql_.dll . I assume your nwnx.txt file looked something like this?
Try downloading NWNx4 v1.08 again, and check the size of your xp_mysql.dll file against a fresh copy - maybe something got corrupted or lost somehow. Don't know how that would happen, but it fits the symptoms.
Ideally, it should look like this:
(note that, even renamed, xp_mysql_.dll shows up in the list- can you paste your actual error log here?)NWN Extender 4 V.0.0.8
(c) 2007 by Ingmar Stieger (Papillon)
visit us at http://www.nwnx.org
* Loading plugins...
* Loading plugin xp_mysql_.dll: Error during plugin initialization.
* Loading plugin xp_sqlite.dll: Error during plugin initialization.
* Loading plugin xp_time.dll: Successfully registered as class: TIME
* Disabling general protection fault error dialog.
* NWNX4 activated.
* NWNXSetString: Function class 'SQL' not provided by any plugin. Check your installation.
* NWNXSetString: Function class 'SQL' not provided by any plugin. Check your installation.
* NWNXSetString: Function class 'SQL' not provided by any plugin. Check your installation.
* NWNXSetString: Function class 'SQL' not provided by any plugin. Check your installation.
* NWNXSetString: Function class 'SQL' not provided by any plugin. Check your installation.
* NWNXSetString: Function class 'SQL' not provided by any plugin. Check your installation.
* NWNXSetString: Function class 'SQL' not provided by any plugin. Check your installation.
* NWNXSetString: Function class 'SQL' not provided by any plugin. Check your installation.
* NWNXSetString: Function class 'SQL' not provided by any plugin. Check your installation.
* NWNXSetString: Function class 'SQL' not provided by any plugin. Check your installation.
* NWNXSetString: Function class 'SQL' not provided by any plugin. Check your installation.
Try downloading NWNx4 v1.08 again, and check the size of your xp_mysql.dll file against a fresh copy - maybe something got corrupted or lost somehow. Don't know how that would happen, but it fits the symptoms.
Ideally, it should look like this:
NWN Extender 4 V.0.0.8
(c) 2007 by Ingmar Stieger (Papillon)
visit us at http://www.nwnx.org
* Loading plugins...
* Loading plugin xp_mysql.dll: Successfully registered as class: SQL
* Loading plugin xp_sqlite.dll: Error during plugin initialization.
* Loading plugin xp_time.dll: Successfully registered as class: TIME
* Disabling general protection fault error dialog.
* NWNX4 activated.
- AcadiusLost
- Chosen of Forumamus, God of Forums
- Posts: 5061
- Joined: Tue Oct 19, 2004 8:38 am
- Location: Montara, CA [GMT -8]
- Contact: