Money was reset - source/cutllinkedlist error ...
Money was reset - source/cutllinkedlist error ...
Hi Admins and fellow Left4Dod'rs,
Was playing earlier and money has been reset/mixed up.
(Looks like my money gets swapped with another player and I end up with their money amount. No sure if just for me and the other player
or affects everyone - whole database/file?)
Is it possible to get the money amount set back for me and any others affected?
map: argentan at 17/02/2020 6.27.am new zealand time it was $2868046
when played again about 20 mins later it had changed to:
map: avalanche at 17/02/2020 6.58.am new zealand time it was $65
Thanks - pravda
Was playing earlier and money has been reset/mixed up.
(Looks like my money gets swapped with another player and I end up with their money amount. No sure if just for me and the other player
or affects everyone - whole database/file?)
Is it possible to get the money amount set back for me and any others affected?
map: argentan at 17/02/2020 6.27.am new zealand time it was $2868046
when played again about 20 mins later it had changed to:
map: avalanche at 17/02/2020 6.58.am new zealand time it was $65
Thanks - pravda
Last edited by pravda on Thu Feb 27, 2020 3:39 pm, edited 1 time in total.
- Stevo
- Everlasting Villun
- Posts: 8753
- Joined: Sun Oct 22, 2006 10:01 pm
- Location: Orange County, CA
- Minecraft name: StevoTVR
- Uplay name: StevoTVR
- Contact:
-
Games Played
Ville Awards
Re: Money was reset
It should be corrected now.
Re: Money was reset
cheers Stevo - thanks
Re: Money was reset
Hi Admins and fellow Left4Dod'rs,
- Trying out adding to this post for a change instead of making new post every time
Was playing earlier and money has been reset/mixed up.
(Looks like my money gets swapped with another player and I end up with their money amount. No sure if just for me and the other player
or affects everyone - whole database/file?)
Is it possible to get the money amount set back for me and any others affected?
map: flash at 27/02/2020 5.44.am new zealand time it was $2866804
when played again about 20 mins later it had changed to:
map: donner at 27/02/2020 6.03.am new zealand time it was $15691
Thanks - pravda
- Trying out adding to this post for a change instead of making new post every time
Was playing earlier and money has been reset/mixed up.
(Looks like my money gets swapped with another player and I end up with their money amount. No sure if just for me and the other player
or affects everyone - whole database/file?)
Is it possible to get the money amount set back for me and any others affected?
map: flash at 27/02/2020 5.44.am new zealand time it was $2866804
when played again about 20 mins later it had changed to:
map: donner at 27/02/2020 6.03.am new zealand time it was $15691
Thanks - pravda
- Stevo
- Everlasting Villun
- Posts: 8753
- Joined: Sun Oct 22, 2006 10:01 pm
- Location: Orange County, CA
- Minecraft name: StevoTVR
- Uplay name: StevoTVR
- Contact:
-
Games Played
Ville Awards
Re: Money was reset
I fixed it. It looks like your money was saved while you didn't have a valid Steam ID.
If anyone wants to look at the source and fix whatever the source of the problem is, the source is available on GitHub: https://github.com/StrontiumDogeh/Left4DOD
If anyone wants to look at the source and fix whatever the source of the problem is, the source is available on GitHub: https://github.com/StrontiumDogeh/Left4DOD
Re: Money was reset - source/cutllinkedlist error ...
hi Stevo,
I saw the source (GNU General Public License v3) last week on github and had a quick look but it wasn't formatted for easy reading in notepad so I haven't had a decent look at it yet.
I don't know a lot about sourcemod, dodhooks, the scripting language SourcePawn, data types used/supported, sourcemod compiler/.smx etc and hl2/source engine api's but have done plenty of coding before so can sort of follow what is going on in the scripts.
I did notice in the client script it refers to client: (g_iUserID[client] == GetClientUserId(client)) and further down the script it executes a sql database command: g_iMoney[client] = SQL_FetchInt(hQuery, 2).
I presume g_iMoney is a four-byte/32bit signed integer array data structure and the [client] is the index position in the array? The sql command is passed the handle hQuery, 3rd column/field (0 based) and returns an integer (money amount).
I assume somehow the client integer/variable is mixed up with another players 'client' id when players are not 'properly' connected/authenticated?
I noticed this last money mix up, that the refreshed DOD Source Server List showed 0 players for the Left4DoD mod, but the view server info showed two players and when I connected to the server and the map loaded a few seconds later there was two players playing the mod (not spectating). Went to buy a shield and noticed the money amount was incorrect - probably swapped with one of the two players already playing.
Don't know why but the map dod_drizz_b5 is the only map that I have seen that has always loaded successfully without the 'cutllinkedlist overflow (exhausted index range)' error - it's not part of the regular map rotation so has to be loaded via admin - vote map.
Thanks for resetting the money ...
Cheers - pravda
I saw the source (GNU General Public License v3) last week on github and had a quick look but it wasn't formatted for easy reading in notepad so I haven't had a decent look at it yet.
I don't know a lot about sourcemod, dodhooks, the scripting language SourcePawn, data types used/supported, sourcemod compiler/.smx etc and hl2/source engine api's but have done plenty of coding before so can sort of follow what is going on in the scripts.
I did notice in the client script it refers to client: (g_iUserID[client] == GetClientUserId(client)) and further down the script it executes a sql database command: g_iMoney[client] = SQL_FetchInt(hQuery, 2).
I presume g_iMoney is a four-byte/32bit signed integer array data structure and the [client] is the index position in the array? The sql command is passed the handle hQuery, 3rd column/field (0 based) and returns an integer (money amount).
I assume somehow the client integer/variable is mixed up with another players 'client' id when players are not 'properly' connected/authenticated?
I noticed this last money mix up, that the refreshed DOD Source Server List showed 0 players for the Left4DoD mod, but the view server info showed two players and when I connected to the server and the map loaded a few seconds later there was two players playing the mod (not spectating). Went to buy a shield and noticed the money amount was incorrect - probably swapped with one of the two players already playing.
Don't know why but the map dod_drizz_b5 is the only map that I have seen that has always loaded successfully without the 'cutllinkedlist overflow (exhausted index range)' error - it's not part of the regular map rotation so has to be loaded via admin - vote map.
Thanks for resetting the money ...
Cheers - pravda
Re: Money was reset - source/cutllinkedlist error ...
Hi Admins and fellow Left4Dod'rs,
Was playing earlier and money has been reset/mixed up.
Is it possible to get the money amount set back for me and any others affected?
map: kalt at 06/03/2020 5.25.am new zealand time it was $2867181
when played again day later it had changed to:
map: kalt at 07/03/2020 5.02.am new zealand time it was $2305328
Thanks - pravda
Was playing earlier and money has been reset/mixed up.
Is it possible to get the money amount set back for me and any others affected?
map: kalt at 06/03/2020 5.25.am new zealand time it was $2867181
when played again day later it had changed to:
map: kalt at 07/03/2020 5.02.am new zealand time it was $2305328
Thanks - pravda
- Stevo
- Everlasting Villun
- Posts: 8753
- Joined: Sun Oct 22, 2006 10:01 pm
- Location: Orange County, CA
- Minecraft name: StevoTVR
- Uplay name: StevoTVR
- Contact:
-
Games Played
Ville Awards
Re: Money was reset - source/cutllinkedlist error ...
I set it back.
Re: Money was reset - source/cutllinkedlist error ...
thank you Stevo ...
Re: Money was reset ...
Hi Admins and fellow Left4Dod'rs,
Was playing earlier and money has been reset/mixed up.
(Looks like my money gets swapped with another player and I end up with their money amount. No sure if just for me and the other player
or affects everyone - whole database/file?)
Is it possible to get the money amount set back for me and any others affected?
map: flash at 29/03/2020 1.27.am new zealand time it was $2862044
when played again few hours later it had changed to:
map: donner at 29/03/2020 5.26.am new zealand time it was $71
Thanks - pravda
Was playing earlier and money has been reset/mixed up.
(Looks like my money gets swapped with another player and I end up with their money amount. No sure if just for me and the other player
or affects everyone - whole database/file?)
Is it possible to get the money amount set back for me and any others affected?
map: flash at 29/03/2020 1.27.am new zealand time it was $2862044
when played again few hours later it had changed to:
map: donner at 29/03/2020 5.26.am new zealand time it was $71
Thanks - pravda
- Stevo
- Everlasting Villun
- Posts: 8753
- Joined: Sun Oct 22, 2006 10:01 pm
- Location: Orange County, CA
- Minecraft name: StevoTVR
- Uplay name: StevoTVR
- Contact:
-
Games Played
Ville Awards
Re: Money was reset - source/cutllinkedlist error ...
I restored your money. It was reassigned to an invalid ID somehow.
Re: Money was reset - source/cutllinkedlist error ...
thanks Stevo ...
* I've been trying to avoid situations that are more likely to cause it such as joining the server at the exact same time as other players ...
* I've been trying to avoid situations that are more likely to cause it such as joining the server at the exact same time as other players ...
Who is online
Users browsing this forum: No registered users and 5 guests