Menu

#2 purge items from characters

open
nobody
None
5
2003-03-01
2003-03-01
Eric Timme
No

*Written in Python (requires MySQLdb module).
*Asks you to input an item number to purge from characters.
*Allows you to set a bag to replace disallowed bags, with some
caveats.
*Clears items from bags, as well as the main inventory, and fixes
charges on deleted items.
*If a bag is the item to be purged AND it has legal items in it, replace
with a 10 slot bag, to ensure that legal items are left intact;
otherwise, purge the disallowed bag, and don't replace.
*Fetches actual name of replacebag and purgeitem from database and
asks for a confirmation before purging.
*Prints a total number of items purged.

Wrote it hoping it would help someone, comments and suggestions
to timothy@voidnet.com

Discussion

  • Eric Timme

    Eric Timme - 2003-03-01

    purge.py v1

     
  • Eric Timme

    Eric Timme - 2003-03-01

    Logged In: YES
    user_id=658877

    if two show up, both purge-v1.zip are identical in contents.

     
  • Eric Timme

    Eric Timme - 2003-03-01

    minor bugfix

     
  • Eric Timme

    Eric Timme - 2003-03-01

    Logged In: YES
    user_id=658877

    minor bugfix

     
  • Eric Timme

    Eric Timme - 2003-03-01

    progress bar and easier variables

     
  • Eric Timme

    Eric Timme - 2003-03-01

    Logged In: YES
    user_id=658877

    progress bar and easier variable settings

     
  • Eric Timme

    Eric Timme - 2003-03-01

    turned on compression =0

     
  • Eric Timme

    Eric Timme - 2003-03-01

    Logged In: YES
    user_id=658877

    turned on compression =0

     
  • Eric Timme

    Eric Timme - 2003-03-01

    got rid of += in the program

     
  • Eric Timme

    Eric Timme - 2003-03-01

    Logged In: YES
    user_id=658877

    got rid of += in the program, might work better on Pythons < 2.0

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.