Page 1 of 1

Help with Inn Script

Posted: Sun Jan 23, 2005 6:33 pm
by VioletCutie
Hey guys,
I got the inn script to accept that there are rooms and the number of rooms it has, but it's saying it's taking 0 gold away from the player when they receive a key. I was wondering if there was something I needed to do in the mysql database before module launch or what the deal is to the cost and everything up.

Posted: Sun Jan 23, 2005 7:08 pm
by Mistcaller
If it is the Avlis system you use, you will find a pretty detailed guide-doc in the same compressed file or here.
As far as I can tell from your description, you have not applied the appropriate innkeeper's "event" scripts.

Posted: Mon Jan 24, 2005 6:10 pm
by VioletCutie
That didn't really help any. I'm still having the same problem with it saying it's taking 0 gold from the player. I even checked to see if I have the tables set right in MySQL and it is connecting.

Posted: Tue Jan 25, 2005 2:55 pm
by VioletCutie
I got it fixed. For future reference if another person has this problem: Check to make sure you set up the NWN/APS program correctly. I forgot to make an OBDC connection in the System DNS tab. The module wasn't communicating with the database.