Raised This Month: $51 Target: $400
 12% 

[Fixed] XP gets reset


  
 
 
Thread Tools Display Modes
Author Message
imported_TicoMeElmo
Senior Member
Join Date: Mar 2004
Location: 123 Fake Street
Old 08-18-2004 , 22:27   [Fixed] XP gets reset
#1

ok my xp gets reset every mapchange but if i leave before mapchanges xp doesnt get reset it only goes for me none of other players

im using amx 0.9.7(but jtp said theres no 0.9.7 so im not sure when i type metamod i get 0.9.7) superheromod 1.17.2 metamod v1.17.1
i have these sh_savexp 1 and sh_loadimmediate 0


i hope i provided enough info

EDIT:i just looked in my download folder rightclicked it arrange icon by modifed and look for last amxmod i dled and i got amx-0.98_Win.zip so i think i got 0.9.8
__________________

 http://sh-server.tk 

Weirdest Conv of my life: Episode 1 | Weirdest Conv of my life: Episode 2 | Episode 3 Coming Soon, BBoY
imported_TicoMeElmo is offline
Send a message via AIM to imported_TicoMeElmo
jtp10181
Veteran Member
Join Date: May 2004
Location: Madison, WI
Old 08-18-2004 , 22:36  
#2

do a "status" command when the map first changes, see if you have a steamid or if it says "STEAMID_PENDING" or something.

I might have to write some code to deal with stupid steam not handing the ID out right away sometimes.

I have no idea why this issue JUST arose now, since I did not really change any of that code since the last rls. But one other person was getting this and I got it on my test server just today.
__________________
jtp10181 is offline
Send a message via ICQ to jtp10181 Send a message via AIM to jtp10181 Send a message via MSN to jtp10181 Send a message via Yahoo to jtp10181
imported_hulk
Junior Member
Join Date: Aug 2004
Location: Sydney
Old 08-18-2004 , 22:39  
#3

I get the same problem.

Using linux dedicated server, amx0.98a, metamod 1.17.1 & SH mod vault 1.17.2.
All worked fine in previous versions, but now XP seems to get reset on map change.

relevant amx cvars shown below:
[182] sh_hsmult 1.5
[183] sh_menumode 1
[184] sh_lvllimit 0
[185] sh_cpalive 0
[186] sh_cmdprojector 1
[187] sh_mercyxp 5
[188] sh_mercyxpmode 1
[189] sh_loadimmediate 1
[190] sh_bombhostxp 1
[191] sh_endroundsave 1
[192] sh_savexp 1
[193] sh_adminaccess m
[194] sh_xpsavedays 7
[195] sh_autobalance 0
[196] sh_minlevel 1
[197] sh_maxpowers 20
[198] sh_maxbinds 3
[199] sh_round_started 1
[200] sh_debug_messages 0
[201] sh_cdrequired 0
[202] sv_superheros 1
[203] SuperHeroMod_Version 1.17.2
imported_hulk is offline
Send a message via ICQ to imported_hulk
imported_TicoMeElmo
Senior Member
Join Date: Mar 2004
Location: 123 Fake Street
Old 08-19-2004 , 00:51  
#4

i believe it was me i had it before u joined superheromod team and chivas was helping me but we both could never figure it out but yea since i use dedicated server now i dont get steamid_pending , when i used listen i had it

Quote:
Originally Posted by jtp10181
do a "status" command when the map first changes, see if you have a steamid or if it says "STEAMID_PENDING" or something.
o i did the status command i get my steamid
__________________

 http://sh-server.tk 

Weirdest Conv of my life: Episode 1 | Weirdest Conv of my life: Episode 2 | Episode 3 Coming Soon, BBoY
imported_TicoMeElmo is offline
Send a message via AIM to imported_TicoMeElmo
jtp10181
Veteran Member
Join Date: May 2004
Location: Madison, WI
Old 08-19-2004 , 01:26  
#5

I belive this problem arose from me moving some stuff aorund and making the plugin itself load up faster.... and it would try to get peoples XP before they had an ID.

Heres a beta version for you to play with and let me know....
Attached Files
File Type: zip superheromodvault.zip (27.9 KB, 211 views)
__________________
jtp10181 is offline
Send a message via ICQ to jtp10181 Send a message via AIM to jtp10181 Send a message via MSN to jtp10181 Send a message via Yahoo to jtp10181
imported_hulk
Junior Member
Join Date: Aug 2004
Location: Sydney
Old 08-19-2004 , 01:32  
#6

Thanx. I will give it a run on our server now & post back with the results.

EDIT:
XP seems to stay now, but my server is crashing every 15mins. Can't be 100% if its due to the new SH version. The server was stable before that though.

debug.log below:
----------------------------------------------
CRASH: Thu Aug 19 17:04:12 EST 2004
Start Line: ./hlds_amd -game cstrike +exec server.cfg +port 27025 +maxplayers 19 +map de_dust -debug -pidfile hlds.633.pid
Core was generated by `./hlds_amd -game cstrike +exec server.cfg +port 27025 +maxplayers 19 +map de_du'.
Program terminated with signal 11, Segmentation fault.
#0 0x40a6b324 in ?? ()
#0 0x40a6b324 in ?? ()
End of crash report
----------------------------------------------
----------------------------------------------
CRASH: Thu Aug 19 17:150 EST 2004
Start Line: ./hlds_amd -game cstrike +exec server.cfg +port 27025 +maxplayers 19 +map de_dust -debug -pidfile hlds.633.pid
Core was generated by `./hlds_amd -game cstrike +exec server.cfg +port 27025 +maxplayers 19 +map de_du'.
Program terminated with signal 11, Segmentation fault.
#0 0x40a6b324 in ?? ()
#0 0x40a6b324 in ?? ()
End of crash report
----------------------------------------------
----------------------------------------------
CRASH: Thu Aug 19 174:49 EST 2004
Start Line: ./hlds_amd -game cstrike +exec server.cfg +port 27025 +maxplayers 19 +map de_dust -debug -pidfile hlds.633.pid
Core was generated by `./hlds_amd -game cstrike +exec server.cfg +port 27025 +maxplayers 19 +map de_du'.
Program terminated with signal 11, Segmentation fault.
#0 0x40a6b324 in ?? ()
#0 0x40a6b324 in ?? ()
End of crash report
----------------------------------------------
imported_hulk is offline
Send a message via ICQ to imported_hulk
imported_TicoMeElmo
Senior Member
Join Date: Mar 2004
Location: 123 Fake Street
Old 08-19-2004 , 03:42  
#7

wow it works! i can switch map and my xp stays thanks alot jtp
__________________

 http://sh-server.tk 

Weirdest Conv of my life: Episode 1 | Weirdest Conv of my life: Episode 2 | Episode 3 Coming Soon, BBoY
imported_TicoMeElmo is offline
Send a message via AIM to imported_TicoMeElmo
imported_hulk
Junior Member
Join Date: Aug 2004
Location: Sydney
Old 08-19-2004 , 09:00  
#8

Disregard the crashing, in my previous post it is not related.

I have setup a 2nd test linux dedicated server, using
SuperHeroMod_Version" = "1.17.3b" (Vault)
amx 0.9.8a
metamod 1.17.1
default heros only

I am still finding that XP is not being saved (but only when the server changes maps). If the player disconnects & reconnects that player gets the XP back OK. However when the server changes maps while that player is still in game, then XP is reset back to whatever is defined in "sh_minlevel".

Anyone else finding this problem?
imported_hulk is offline
Send a message via ICQ to imported_hulk
jtp10181
Veteran Member
Join Date: May 2004
Location: Madison, WI
Old 08-19-2004 , 10:56  
#9

do you have endround save turned on? That would be recommended.

Also.... have you checked the vault during play to see if its saving to it. What was happening while I tested was that the XP would save but then on map change it would not load it correctly so the person would get reset, then it would save over that.

Also... are you running a LAN server by chance?

Oh and what is your sh_loadimmediate setting?

Does it try to load the XP right away or does it give that status message about waiting and then load it the next round?
__________________
jtp10181 is offline
Send a message via ICQ to jtp10181 Send a message via AIM to jtp10181 Send a message via MSN to jtp10181 Send a message via Yahoo to jtp10181
jtp10181
Veteran Member
Join Date: May 2004
Location: Madison, WI
Old 08-19-2004 , 12:52  
#10

UPDATE: I posted a new file in the attachment above. This should fix all the XP loading issues as I finally figured out the true cause of it.

If you STILL have problems please turn on debug mode and look for a line like this after a player connects and/or map changes

Code:
[AMX] SHERO DEBUG: "jtp10181<2><STEAM_0:1:19753>" Loading XP using key: "shinfo.STEAM_0:1:19753"
Please show me this line for someone who is having the loading problem.
__________________
jtp10181 is offline
Send a message via ICQ to jtp10181 Send a message via AIM to jtp10181 Send a message via MSN to jtp10181 Send a message via Yahoo to jtp10181
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:04.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode