vault problem
1 Attachment(s)
i edit qtm cod mod, and i changed to save levels, skills, on steam ID
but i have a problem... after a while, when there was big number of players on server, levels started to reset after every map change here is the vault code PHP Code:
|
Re: vault problem
sorry for spam, but it's rly urgent,
any idea what is causing levels to reset? any help? |
Re: vault problem
tbh, it would be easier to understand teh code if it was in english. :(
|
Re: vault problem
maybe this can help
http://forums.alliedmods.net/showthr...=66660&page=10 ok, here is what is this plugin doing... first part is shop, where you can buy XP, items, play lotto etc. second part is when player joins the server it show's a menu when he joins the server... player can choose between 17 characters.. every character has his own weapon, hp, armor, and some of them has items(mine's, rocket's, medical kit) every time you kill someone you get item like in Diablo mod, which give you more hp, higher speed etc. the rest is basic RPG mod, you kill, you get XP... more XP= bigger level every time you get a level you can choose PHP Code:
PHP Code:
|
Re: vault problem
Quote:
PHP Code:
|
Re: vault problem
i've added that line, but i don't think that was causing levels to reset...
when there wasn't so much players level's were stored properly, but when number of player's increased level's started to reset... if i'm right level should start reseting no matter how much player's was on server if someone has another idea, post it here GXLZPGX thank you for helping me :) |
Re: vault problem
Quote:
|
Re: vault problem
PHP Code:
PHP Code:
but Bugsy your method show me undefined symbol |
Re: vault problem
You have it correctly, I was only pointing out that the function takes a vault handle as a param, not vault name.
|
Re: vault problem
levlel's still reseting after mapchange, i added what bugsy and GXLZPGX said
still have some error's in log file Code:
Run time error 10 (plugin "CodModNew+SHOP.amxx") (native "get_user_attacker") - debug not enabled! |
| All times are GMT -4. The time now is 10:24. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.