About This File
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*/
What's New in Version 1.0 See changelog
Released
- //= 1.0 first version :
- // -player creates his shop by using the '@shop' command
- // -possibility to add a cost to the shop creation and a tax to the items sold
- // -if you are the owner of a shop and buy an item in it, you won't have to pay the tax
- // -player can manage his shop by using the '@shop' command
- // -any owner of any shop can log in and out at any moment, he'll always get his money and items(on relog) in case he sold something and/or his shop was deleted
- //
- // -you can set the maximum amount of shops to be available but DON'T EXCEED 100 SHOPS UNLESS YOU REFER TO THE "ADDING SHOPS" PART