Ghostrider-GRG Posted May 3, 2016 Report Share Posted May 3, 2016 I was looking at the post on cleaning up traders using redis-cli and wondered if one can change the number of items, such as for the case where the trader inventory reaches 100. Can it be set to 10 where it is greater than 50 as an aexample? Here is the original post: Link to comment Share on other sites More sharing options...
0 82ndAB_Bravo17 Posted May 3, 2016 Report Share Posted May 3, 2016 Yes it is possible, I have written a couple of very basic python programs to do just what you are asking for. I'll try and link them somehow later when I get home. Link to comment Share on other sites More sharing options...
0 82ndAB_Bravo17 Posted May 3, 2016 Report Share Posted May 3, 2016 Try the files here (use at your own risk, but we have been using them without incident for some time now) To run them you need python 2.7.x installed, then just run the .bat files after editing the location of your python.exe in the bat files, and your database info in the py files. The cleanup program creates a txt file with the results, so you can see if it is worth running the remove vehicle file, and also removes any traders that have spawned without inventory. https://github.com/82ndab-Bravo17/EpochRedisCleanup/archive/master.zip Ghostrider-GRG and RC_Robio 2 Link to comment Share on other sites More sharing options...
0 Ghostrider-GRG Posted May 4, 2016 Author Report Share Posted May 4, 2016 Thanks for sharing these. I really appreciate it. Link to comment Share on other sites More sharing options...
Question
Ghostrider-GRG
I was looking at the post on cleaning up traders using redis-cli and wondered if one can change the number of items, such as for the case where the trader inventory reaches 100. Can it be set to 10 where it is greater than 50 as an aexample?
Here is the original post:
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now