Take / Reset all xp

Read log files for errors! If this fails, come here for help

Moderator: Forum Moderator

Chao$
Peon
Posts: 4
Joined: Sat Sep 01, 2007 10:02 am

Take / Reset all xp

Postby Chao$ » Sat Sep 01, 2007 2:26 pm

Hey,
how do I take away people's xp. Like amx_givexp, is there an amx_takexp? And how do I do a server xp reset so EVERYONE's xp is reset to 0?

--- Please enter the following information for support ---
War3ft Version:
Amxmodx Version:
Metamod Version:
amxx list:
amxx modules:
meta list:

User avatar
YamiKaitou
Forum Moderator
Forum Moderator
Posts: 1925
Joined: Wed Feb 01, 2006 4:33 pm
Contact:

Postby YamiKaitou » Sat Sep 01, 2007 5:31 pm

To take xp, just give them a negative value.

To reset xp, delete the SQL tables.
Image

No support via PM or Email

Chao$
Peon
Posts: 4
Joined: Sat Sep 01, 2007 10:02 am

Postby Chao$ » Sat Sep 01, 2007 6:29 pm

How do I delete the SQL tables, I don't use MySQL to save it.

User avatar
YamiKaitou
Forum Moderator
Forum Moderator
Posts: 1925
Joined: Wed Feb 01, 2006 4:33 pm
Contact:

Postby YamiKaitou » Sat Sep 01, 2007 9:01 pm

Delete addons/amxmodx/data/sqlite/war3ft.sq3 if you are using SQLite. If you are using something else, tell me
Image

No support via PM or Email

User avatar
IKIP
Peon
Posts: 17
Joined: Sat Sep 08, 2007 8:33 am
Location: USA
Contact:

Postby IKIP » Sun Sep 16, 2007 12:07 pm

So if you were doing a cleanup and wanted to save the xp of players to put back in, that's the file you'd b/u?

User avatar
YamiKaitou
Forum Moderator
Forum Moderator
Posts: 1925
Joined: Wed Feb 01, 2006 4:33 pm
Contact:

Postby YamiKaitou » Sun Sep 16, 2007 12:22 pm

SQLite uses encrypted binary saving, so you can not open that file and read it. There is no way you can combine 2 files without using another plugin to do it. But, if you were going to reinstall the server, but wanted to keep all of the xp the same, yes that is the file you would save
Image

No support via PM or Email

User avatar
IKIP
Peon
Posts: 17
Joined: Sat Sep 08, 2007 8:33 am
Location: USA
Contact:

Postby IKIP » Sun Sep 16, 2007 2:21 pm

thank you. can you check out another px i'm having here:

http://wc3mods.net/forums/viewtopic.php?t=3008


Return to “Help/Support”

Who is online

Users browsing this forum: No registered users and 1 guest