Quote:
Originally Posted by CS-A-Roland
Hey guys,
i got a new problem with an script wich saves XP into a SQL Database, it works all the time fine but at the mapchange it will save the XP of all the players to a database and this crash the server every time if there players on the server.
If i change the map with amxmodx manually, there nothing happens! And he save the xp on Kill, defuse and so on fine. So how can i find out in my script that he saves the xp before the map changes?!
What i have to search in my script? (its little bigger so this is the reason for my question)
I hope some of you know some commands wich do it, so i could search for them and find out when he saves the information and can delede it to check if it helps to make the server stable without this function, or i can check also "whats" the problem at the mapchange save xp function...
Thanks by the way!
|
If the expierence is saved everytime you get some xp then it is indeed not necesary to save it again before mapchange.
Look for the public funtion that saves the exp, copy the public function name and press f3, search in you're script everywhere that function is called, if you find where the function is called whenever you dont get xp or any other reason why it should save then i'd just remove it.
thats what i would do but i'm guessing you already knew that.
I'm not sure if you can check if the server is gonna change the map, so maybe it's always being saved in event round end?
__________________