Page 1 of 1

Take / Reset all xp

Posted: Sat Sep 01, 2007 2:26 pm
by Chao$
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:

Posted: Sat Sep 01, 2007 5:31 pm
by YamiKaitou
To take xp, just give them a negative value.

To reset xp, delete the SQL tables.

Posted: Sat Sep 01, 2007 6:29 pm
by Chao$
How do I delete the SQL tables, I don't use MySQL to save it.

Posted: Sat Sep 01, 2007 9:01 pm
by YamiKaitou
Delete addons/amxmodx/data/sqlite/war3ft.sq3 if you are using SQLite. If you are using something else, tell me

Posted: Sun Sep 16, 2007 12:07 pm
by IKIP
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?

Posted: Sun Sep 16, 2007 12:22 pm
by YamiKaitou
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

Posted: Sun Sep 16, 2007 2:21 pm
by IKIP
thank you. can you check out another px i'm having here:

viewtopic.php?t=3008