Jump to content

Simple Cleanup Tool for incorrectly initialized Traders, also shows vehicles they have in inventory


82ndAB_Bravo17

Recommended Posts

This is a simple Python program written to do 3 things:

 

1. Delete Traders with no corresponding AI_ITEMS entry

2. Delete Traders and their AI_ITEMS entry if they were initialized without the default loot

3. Tell you which traders have which vehicles in their inventory

 

Each time it is run it will write an entry to dataebasestats.txt with date and time, any deletions that were made and a list of the vehicles with trader number

 

Since it is a Python program you will need Python 2.7 - latest version that you can since later versions come with pip included, and redis for python. Use "pip install redis"

 

You should be able to easily customize it for any non-standard vehicles that you have on your server.

 

GIT repository is at https://github.com/82ndab-Bravo17/EpochRedisCleanup

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...