you should notice that my dbtool is located into my db folder like wdb or dbhomewdb folder with all the files such as auction/base and etc.
Im not promising this will work for everyone but its worked for me and all the people i shared it with.
as always Always backup your db files before you run this script especially on an active server.
Code:
./dbtool dbtool -r -s auction -d 1 mv 1 auction ./dbtool dbtool -r -s base -d 2 mv 2 base sleep 5 ./dbtool dbtool -r -s city -d 3 mv 3 city ./dbtool dbtool -r -s clsconfig -d 4 mv 4 clsconfig ./dbtool dbtool -r -s config -d 5 mv 5 config ./dbtool dbtool -r -s factioninfo -d 6 mv 6 factioninfo ./dbtool dbtool -r -s factionname -d 7 mv 7 factionname ./dbtool dbtool -r -s friends -d 8 mv 8 friends sleep 5 ./dbtool dbtool -r -s gtask -d 9 mv 9 gtask ./dbtool dbtool -r -s inventory -d 10 mv 10 inventory sleep 5 ./dbtool dbtool -r -s mailbox -d 11 mv 11 mailbox ./dbtool dbtool -r -s messages -d 12 mv 12 messages ./dbtool dbtool -r -s order -d 13 mv 13 order ./dbtool dbtool -r -s rolename -d 14 mv 14 rolename sleep 5 ./dbtool dbtool -r -s sellpoint -d 15 mv 15 sellpoint ./dbtool dbtool -r -s shoplog -d 16 mv 16 shoplog sleep 5 ./dbtool dbtool -r -s status -d 17 mv 17 status sleep 5 ./dbtool dbtool -r -s storehouse -d 18 mv 18 storehouse sleep 5 ./dbtool dbtool -r -s task -d 19 mv 19 task sleep 5 ./dbtool dbtool -r -s translog -d 20 mv 20 translog ./dbtool dbtool -r -s user -d 21 mv 21 user sleep 5 ./dbtool dbtool -r -s userfaction -d 22 mv 22 userfaction sleep 5 ./dbtool dbtool -r -s waitdel -d 23 mv 23 waitdel ./dbtool dbtool -r -s equiptment -d 25 mv 25 equiptment ./dbtool dbtool -r -s equipment -d 26 mv 26 equipment sleep 5 echo "finished"
softsoldier
Ragezone