Problem with teams.

Dreamb0y

Member
Hi, Ôö¼ÔöÉcan someone help me?

When i make a new team which name is the same as a old team, or other team which actually haves that name, the login_server.exe shows me this error:
10934292_10204868927816099_394926169_n.jpg


When this happens, the login is temporarily down. If i dont press in "Skip" button, no one can login to de game. If i press in "cancel" or "retry" buttons, they close the login window.
 

Dreamb0y

Member
Yes, and i just downloaded it again from this forum, it gives me the same error, when i create a team the second time with the same name.
 

tofuman

Administrator
Staff member
Ok. I'll fix the bug and upload the compiled EXE.

Essentially because the team already exists teamid isn't getting set. So its causing that error. Just needs initializing to 0 when declared.

If you are unable to wait you can update the code and compile the following fix:

At line 3862 you'll find:
Code:
// First check to see if the team exists...

team_exists = 0;
highid = 0;

add teamid = 0; so it reads as follows:
Code:
// First check to see if the team exists...

team_exists = 0;
highid = 0;
teamid = 0;
 
Top