Yeah before anyone says anything... I know its messy++... but anyway... Anyone trying to read and understand this script better have some sort of pain killers for the massive headache your bound to get =P.
Currently Supports: (Assuming I didn't break it while doing some editing. after my last test.)
Currently Planned To Support...Maybe...
Well anyway, both text files needed are below. The settings and anything player-input needed should be in the config file but when running the script, run the other file.
Edit: Well yeah it helps if you upload the right files eh...
Edit2: Okay and it might throw spas errors when you try to run it and don't have that local file (Just create one, it can be blank if you want)... Oh and remember to change the import!
Edit3: Well A major bug should be fixed. Hopefully... (Group trading screwyness with meat involved)
Edit4: New 'config' file has been uploaded. Just has more descriptive comments to help people using this script. (Which I personally doubt anyone is =P but oh well) I also added some things to my "To-do" list.
Edit5: Well updated buggy-ness for you all! Some new features added from the to-do list!
Currently Supports: (Assuming I didn't break it while doing some editing. after my last test.)
[li]Group Based Trades
- This is "when X set of item/s and meat is offered, attempt to respond with Y set of item/s and meat". X and Y being static.[/li]
[li]Variable Quantity Items for Meat
- This is where "When listed item/s is offered, respond with Quantity*PlayerSetPerItemAmount Meat".
- This is independant from the Group Based, so a Group Based that uses the listed items shouldn't affect what the group trade does.[/li]
[li]An option to allow "creation of items" in order to meet a reqest.[/li]
[li]A blacklist ability, you can fill out a map for blacklisty-badness... okay bad joke.[/li]
[li]A option to choose to save a log with "PlayerID<tab>TheItemTraded<tab>DateLastTradedFor(In YYYYMMDD, eg today_to_string())[/li]
[li]A option to save a "session log" with "TradedItem<tab>TheQuantityTraded"[/li]
[li]A option to have a "Total History" where its the session log but... carries of sessions[/li]
[li]A "limit" for the group trades.[/li]
[li]A "don't auto-decline" option.[/li]
[li]A "even if don't auto-decline, auto-decline from blacklisted people" option. (To work with the above option)[/li]
Currently Planned To Support...Maybe...
[li]A "request" based system where they put some sort of request in the trade note and then the script would act according to that and the items sent with the note.[/li]
[li]... Ummm thats about it actually, possibly the ability to add custom messages to trade notes aswell.[/li]
[li]Limit options for the other types of trades. (Request and VarQty)[/li]
Well anyway, both text files needed are below. The settings and anything player-input needed should be in the config file but when running the script, run the other file.
Edit: Well yeah it helps if you upload the right files eh...
Edit2: Okay and it might throw spas errors when you try to run it and don't have that local file (Just create one, it can be blank if you want)... Oh and remember to change the import!
Edit3: Well A major bug should be fixed. Hopefully... (Group trading screwyness with meat involved)
Edit4: New 'config' file has been uploaded. Just has more descriptive comments to help people using this script. (Which I personally doubt anyone is =P but oh well) I also added some things to my "To-do" list.
Edit5: Well updated buggy-ness for you all! Some new features added from the to-do list!