• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

Delete

Initiate Mage
Joined
Mar 13, 2023
Messages
2
Reaction score
1
2. Character.inc: NPC shops. I added everything correctly but still can’t trade. (Pic for an example)
From the picture you've added, it looks like you're missing quotation marks around the NPC name and Vendor tab name. Since you're trying to hard code the names rather than adding them to Character.txt, you should have quotation marks.

As a general point, if you have a problem with implementing anything, challenge any assumptions you make. If you've "added everything correctly" but it still wont work, you have to assume that you must not have added everything correctly!

As for the other points it would be very hard to diagnose without pictures, code snippets or error logs.
 
Last edited:
Upvote 0
Newbie Spellweaver
Joined
Apr 22, 2023
Messages
14
Reaction score
4
From the picture you've added, it looks like you're missing quotation marks around the NPC name and Vendor tab name. Since you're trying to hard code the names rather than adding them to Character.txt, you should have quotation marks.

As a general point, if you have a problem with implementing anything, challenge any assumptions you make. If you've "added everything correctly" but it still wont work, you have to assume that you must not have added everything correctly!

As for the other points it would be very hard to diagnose without pictures, code snippets or error logs.
For character.Inc, I fixed it. I needed to #define __ADDSHOPITEM
And
#define __ADDVENDORITEM
 
Upvote 0
Back
Top