2.1: -Fixed bug with reuse of vendor numbers -Fixed bug involving 0 gold-really just that modules weren't calling SQLInit() which is needed for nwnx. 2.0: Updated code to make use of the new onStoreClosed event to store items to the database, and make use of my updated persistent storage code. Read the readme for instructions for new installs. If you already had the system in place, you should be able to import, recompile, and go. This is Mojo's ATS Player Vendor altered to work with NWNX2. Ignore the missing ncs files. Import everything, and overwrite everything. All files are entirely related to the player vendor, so if you had the old non-persistent ones, this will replace them entirely. You must have NWNX2 installed and do all steps in the readme for this to function properly. If you have further questions, join the nwnx help guild, or post em here... (Guild site: http://nwn.bioware.com/guilds_registry/viewguild.html?gid=3087 )
Ok, I got these in but they doesn't seem to be loading, i see the things poping up in my sql database, *the tables and stuff* but when the mod loads they just come up asking for me to buy one again, I have tried naming them unique but no go, the only mods i made to the code were so they don't respawn and don't move, can someone please tell me whats going wrong?
I seem to get two errors witht his
ats_pv_reload OID: 80000000, Tag: . ERROR: TOO MANY INSTRUCTIONS
ats_pv_modload OID: 80000000, Tag: . ERROR: TOO MANY INSTRUCTIONS
anyone know how to fix this?
Just downloaded it, and was testing, looks great , as long as your right about the wait time, i think i wasn't waiting long eneugh after load before trying it, Good work ;)
I'd really like to see the demo module with a couple of these vendors set up in such a way that they will work.
Maybe that way I can figure out why it isn't working for me.
Posted by DCMage ( 81.101.xxx.xxx ) at 2004-07-21 13:21:00
Having a few issues with the tables. I think its the tables. Merchants take items but they dont appear in thier Store. Using ODBC, it possible to use these with that?
This is a compilation of the old system into a single score. There were 3 that made this score of 9.67 then rounded to 10.
Posted by Lanthar D'Alton ( ..xxx.xxx ) at 2004-02-13 23:29:00
Okay, I got a complaint that after buying the first vendor a second one spawned almost immediately... but this isn't a bug... this is just people not waiting long enough after the module loads to test. My module takes 5 minutes to load courtesy of CNR... so I bumped the player vendor load script out to avoid interference... thus mine fires after a 300 second delay. In the exported erf available here, I changed the delay to 100 in ats_module_load. If you buy a vendor before the reload runs, the system will assign it the number of 1, because it is the only vendor. Anyway, this is not a bug. Adjust the ats_module_load script's DelayCommand to reflect your module's normal load time when testing this... Just thought I would let you all know.
-Lanthar
Posted by Lanthar D'Alton ( ..xxx.xxx ) at 2004-02-12 10:09:00
Okay, I made a scrap module, placed the waypoints and a vendor and found the issue. The ats_pv_modload function was written to show the one line you needed to add to your module... It doesn't call SQLInit() itself... Anyway, I altered it, and added that to the aps_ats_pv_inc file, so that should resolve your issue. Download this updated version, and rebuild your module. I have a demo module that I can post if you have further troubles.
Oh, and this did reveal an issue with vendor number reuse that I hadn't noticed... so that is fixed now too.
-Lanthar
Posted by Lanthar D'Alton ( ..xxx.xxx ) at 2004-02-11 19:36:00
Yeah... I've gotten 2 other questions on this... I'm not sure why this is happening. Try the following:
edit the config script and change the charge per item cost to 1...
Then recompile your module. I mean, all scripts.
Posted by Jester ( ..xxx.xxx ) at 2003-11-24 17:21:00
hey -- my ATS vendor just asks for 0 gold from the player after he's hired. never lets the player pay him or even give him anything to sell... whats wrong with it?
Posted by Timendainum ( ..xxx.xxx ) at 2003-03-13 09:38:00
Is ATS required to use this vendor, or will it work with
anything the player wants to sell?
Posted by Lanthar D'Alton ( ..xxx.xxx ) at 2003-03-11 17:49:00
I have updated the download to include fixes for:
-a serious efficiency bug
-the dialog issue where vendor asks owner for 0 gold over
and over.
-the silent response of an unpaid vendor (now tells clients
he is awaiting payment by owner)
You should download the new copy (same link).
-Lanthar.
You must be Logged In to post comments in this section.