Version 2.0
945 downloads
This script will allow players to shop their items while playing via a shop NPC, this is kind of an alternative to the auction system.
Note: There's also a french version since I'm french ^^
There is a user setup, be sure to check it out !
User can add a cost to shop creation and/or a tax, there's also a delay after which the shop is deleted.
Players can create a shop using an item or via the '@shop' command, depending on the mode value in the user setup
Players can shop any kind of item apart from bound and time-limit items
You can add items, change prices, modify your shop name anytime using the '@shop' command
You can disconnect and reconnect anytime, if you sold something and/or your shop was deleted you will get your money and items on relog
In case the server reboots you also get back the shop creation's cost or the item you used to open it
Please report any bug you find.
If I can't answer you while you are experiencing bugs, consider following this step:
Make sure no one is selling when you do this because they will loose all of their sales !!
Note: you can just reloadscript before doing this to give them back all of their items.
//bindatcmd "delall",strnpcinfo(3)+"::OnDelall",99,99; /*In case you have problems I recommend you to uncomment this command and to execute it. It will erase all the data of every shop and every player. I myself experienced some issues not directly related to the script but to unexpected events so reseting data should temporarly solve the problem. Please contact me on rA (Kurofly) if you experience any bug*/