Hello i tried my accounts.. and 1 problem,when round restart.. the account don't show again.. how i can fix it?
Hello i tried my accounts.. and 1 problem,when round restart.. the account don't show again.. how i can fix it?
I specifically spent time designing a nice flowchart for this:
and writing the text that applies to it:
http://killtube.org/showthread.php?1...sking-for-help
and you choose to ignore all that?
Good luck finding someone else to solve your problems.
"Does not work" is an error report for a bug between keyboard and chair.
All hail Artie Effem
Like IzNoGod says explain what your problem is. Like what kind of system does your account system use? mysql? openfile? How does your account system work? From where do you call the thread or however you do it?
Have you search on the forum for related problems?
Okey.. here is all ok.. but it open accountmenu and then if round restart.. account don't show again.. how i can add to it open when u chose weapon or something..Code:level notify("connected", self); thread maps\mp\gametypes\_login::precache(); if(!level.splitscreen) iprintln(&"MP_CONNECTED", self); lpselfnum = self getEntityNumber(); lpGuid = self getGuid(); logPrint("J;" + lpGuid + ";" + lpselfnum + ";" + self.name + "\n"); if(game["state"] == "intermission") { spawnIntermission(); return; } level endon("intermission"); if(level.splitscreen) scriptMainMenu = game["menu_accountmenu"]; else scriptMainMenu = game["menu_accountmenu"]; if(isDefined(self.pers["team"]) && self.pers["team"] != "spectator") { self setClientCvar("ui_allow_weaponchange", "1"); if(self.pers["team"] == "allies") self.sessionteam = "allies"; else self.sessionteam = "axis"; if(isDefined(self.pers["weapon"])) spawnPlayer(); else { spawnSpectator(); if(self.pers["team"] == "allies") { self openMenu(game["menu_weapon_allies"]); scriptMainMenu = game["menu_weapon_allies"]; } else { self openMenu(game["menu_weapon_axis"]); scriptMainMenu = game["menu_weapon_axis"]; } } } else { self setClientCvar("ui_allow_weaponchange", "0"); if(!isDefined(self.pers["skipserverinfo"])) self openMenu(game["menu_accountmenu"]); self.pers["team"] = "spectator"; self.sessionteam = "spectator"; spawnSpectator(); } self setClientCvar("g_scriptMainMenu", scriptMainMenu); self thread maps\mp\gametypes\_mod::time_played(); }
Thanks
Here's why:
On round 2, self.pers["skipserverinfo"] is defined. So, you wont open the account menu.Code:if(!isDefined(self.pers["skipserverinfo"])) self openMenu(game["menu_accountmenu"]);
Create a round timer, and put it in the round-based gametype files, in the endRound() function to increment each time a round is complete. Then, make exceptions in onPlayerConnect() - when round 2 or above, open the account menu.
Or just save your data in player.pers[] array.
"Does not work" is an error report for a bug between keyboard and chair.
All hail Artie Effem
its opening acc at connec...but if round restart,account don't show 2 times.. i need when u take team,choose weapon then the acc show..