Spawning probs

Ideas and suggestions for game mechanics and rules.
User avatar
Kaosodin
Kobold Footpad
Posts: 34
Joined: Fri Sep 14, 2007 1:26 pm

Post by Kaosodin »

tried re-installing and removing and installing, same error.

:-(
User avatar
Kaosodin
Kobold Footpad
Posts: 34
Joined: Fri Sep 14, 2007 1:26 pm

Post by Kaosodin »

is there anythnig else i would need to install to run MySQL?
User avatar
AcadiusLost
Chosen of Forumamus, God of Forums
Posts: 5061
Joined: Tue Oct 19, 2004 8:38 am
Location: Montara, CA [GMT -8]
Contact:

Post by AcadiusLost »

Google found this piece of wisdom on that particular error:

http://forums.mysql.com/read.php?11,4460,35804
User avatar
Kaosodin
Kobold Footpad
Posts: 34
Joined: Fri Sep 14, 2007 1:26 pm

Post by Kaosodin »

ok, got some progress..... this time it finishes except at the end it says..

the security settings could not be applied, error 2017

cant open named pipe to host:. pipe:mysql(2)


but i will google it and see what it says
User avatar
Kaosodin
Kobold Footpad
Posts: 34
Joined: Fri Sep 14, 2007 1:26 pm

Post by Kaosodin »

got it, had to setup as regular before i could go back and re-configure.... so i got it all setup.

now..... to the rest.

hehe

thanks guys
User avatar
Kaosodin
Kobold Footpad
Posts: 34
Joined: Fri Sep 14, 2007 1:26 pm

Post by Kaosodin »

LOL got booted from my own server, let me recheck settings
User avatar
AcadiusLost
Chosen of Forumamus, God of Forums
Posts: 5061
Joined: Tue Oct 19, 2004 8:38 am
Location: Montara, CA [GMT -8]
Contact:

Post by AcadiusLost »

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)
User avatar
Kaosodin
Kobold Footpad
Posts: 34
Joined: Fri Sep 14, 2007 1:26 pm

Post by Kaosodin »

i believe its giveing me a error in mysql.txt

says cant connect to mysql server on local host.

let me check those settings
User avatar
Kaosodin
Kobold Footpad
Posts: 34
Joined: Fri Sep 14, 2007 1:26 pm

Post by Kaosodin »

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?
User avatar
AcadiusLost
Chosen of Forumamus, God of Forums
Posts: 5061
Joined: Tue Oct 19, 2004 8:38 am
Location: Montara, CA [GMT -8]
Contact:

Post by AcadiusLost »

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)
User avatar
Kaosodin
Kobold Footpad
Posts: 34
Joined: Fri Sep 14, 2007 1:26 pm

Post by Kaosodin »

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
User avatar
AcadiusLost
Chosen of Forumamus, God of Forums
Posts: 5061
Joined: Tue Oct 19, 2004 8:38 am
Location: Montara, CA [GMT -8]
Contact:

Post by AcadiusLost »

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"
User avatar
Kaosodin
Kobold Footpad
Posts: 34
Joined: Fri Sep 14, 2007 1:26 pm

Post by Kaosodin »

doh, yup, those settings are correct, and yes, i properly copied the madhook. BOOOOOOOOOOO.... i will hang in there and keep looking
User avatar
AcadiusLost
Chosen of Forumamus, God of Forums
Posts: 5061
Joined: Tue Oct 19, 2004 8:38 am
Location: Montara, CA [GMT -8]
Contact:

Post by AcadiusLost »

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?
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.
(note that, even renamed, xp_mysql_.dll shows up in the list- can you paste your actual error log here?)

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.
User avatar
AcadiusLost
Chosen of Forumamus, God of Forums
Posts: 5061
Joined: Tue Oct 19, 2004 8:38 am
Location: Montara, CA [GMT -8]
Contact:

Post by AcadiusLost »

Hmm, seems Teric is having the same problem now, the plot thickens. Hopefully he can turn up some leads, I've got to get back to work.
Locked