Zandronum Chat on our Discord Server Get the latest version: 3.2
Source Code

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002099Zandronum[All Projects] Bugpublic2015-02-11 00:112015-03-31 21:27
ReporterAlexMax 
Assigned To 
PrioritynormalSeverityminorReproducibilityunable to reproduce
StatusclosedResolutionno change required 
PlatformOSOS Version
Product Version1.3 
Target VersionFixed in Version 
Summary0002099: GetPlayerAccountName() sometimes returns garbage.
DescriptionI've been running Hypnotoad's Duel ELO beta 8 on 1.3 for a while now, and I've run into a weird issue:

'http://files.funcrusher.net/wads/duelelobeta8.pk3 [^]'

I found the following database entries in my database:

MatchResults|0_1_player0|1@localhost
MatchResults|0_1_player1|jwarrier

Looking back at my logs, I found the game in question:

*** START: WELCOME TO DUEL32 ***

[15:01:30;16:00:42] compatflags changed to: 2038381559
[15:01:30;16:00:45] Connect (v1.3): *.*.*.*:10667

<------------------------------->

<------------------------------->
[15:01:30;16:00:45] player entered the game. (from: US)
[15:01:30;16:00:58] Connect (v1.3): *.*.*.*:27194
[15:01:30;16:00:59] necrovarus has connected.
[15:01:30;16:01:00] necrovarus joined the game.
[15:01:30;16:01:01] Session error: [15:01:30;16:01:01] User could not be authenticated.
[15:01:30;16:01:05] CHAT necrovarus: hey
[15:01:30;16:01:07] Client 0 has logged in successfully as 'jwarrier'.
[15:01:30;16:01:18] [DUEL32] Duel: necrovarus %vs% player
[15:01:30;16:01:18] [DUEL32] Picked Map: JUDAS23_
[15:01:30;16:01:18] necrovarus exited the level.
[15:01:30;16:01:18]
*** JUDAS23_: JUDAS23_ ***

[15:01:30;16:01:18] compatflags changed to: 2038381559

<------------------------------->

<------------------------------->
[15:01:30;16:01:19] list/banlist.txt: 14 entries loaded.
[15:01:30;16:01:19] list/whitelist.txt: 2 entries loaded.
[15:01:30;16:01:26] necrovarus > SuperShotgun > player
[15:01:30;16:01:28] FIGHT!

// snip the actual game

[15:01:30;16:03:45] Fraglimit hit.
[15:01:30;16:03:45] player wins!
[15:01:30;16:03:45] player > Chaingun > necrovarus

<------------------------------->
1@localhost ^\cawarded ^\g0^\c elo points!

jwarrier ^\cawarded ^\f0^\c elo points!


<------------------------------->
[15:01:30;16:03:48] CHAT player: gg

This goes on for a few more games.

Any ideas?
Steps To ReproduceI haven't seen this behavior before, and subsequent ranked games after these two players left worked fine.
Attached Files

- Relationships

-  Notes
User avatar (0011655)
AlexMax (developer)
2015-02-11 00:13
edited on: 2015-02-11 00:15

Forgot to mention the actual problem - the other dude's (not jwarrier) username is "1@localhost" somehow, despite not actually being logged in.

Also, according to the script, the only way that garbage data could even happen was if PlayerIsLoggedIn() was also returning true when it shouldn't for that user.

User avatar (0011919)
Torr Samaho (administrator)
2015-03-29 19:04

Note, "playernum@localhost" is the intended return value of GetPlayerAccountName() for players that are not logged in. One should never see it though for a player that is logged in.
User avatar (0011920)
AlexMax (developer)
2015-03-29 19:27

15:24 < Torr_Samaho|2> AlexMax, it's not impossible that there is a bug in the
                       login mechanism. Possible the "logged in" flag is not
                       cleared under some circumstances.
User avatar (0011953)
Dusk (developer)
2015-03-31 21:27

Apparently this was caused by a WAD error after all.

Issue Community Support
This issue is already marked as resolved.
If you feel that is not the case, please reopen it and explain why.
Supporters: Hypnotoad
Opponents: No one explicitly opposes this issue yet.

- Issue History
Date Modified Username Field Change
2015-02-11 00:11 AlexMax New Issue
2015-02-11 00:13 AlexMax Note Added: 0011655
2015-02-11 00:15 AlexMax Note Edited: 0011655 View Revisions
2015-03-29 19:04 Torr Samaho Note Added: 0011919
2015-03-29 19:27 AlexMax Note Added: 0011920
2015-03-31 21:27 Dusk Note Added: 0011953
2015-03-31 21:27 Dusk Status new => closed
2015-03-31 21:27 Dusk Resolution open => no change required






Questions or other issues? Contact Us.

Links


Copyright © 2000 - 2025 MantisBT Team
Powered by Mantis Bugtracker