Guest jirkan Posted March 22, 2011 Report Share Posted March 22, 2011 (edited) Tak se podarilo odhalit zdroj pravidelnych lagu ve hre - je jim zapis globalnich promennych kazdych pet minut, ktery zalaguje server na cca 1,3 az 1,5 sekundy. Prevaznou cast tech 5000 globalnich promennych tvori statistiky guild huntu, ktere, pokud by se odstranily, by samy o sobe tyhle zaseky zkratily na odhadem 300 milisekund coz uz se da snest. Takze moje otazka k diskusi je, jestli: - Radsi hned omezit lagy i za cenu docasne*) ztraty tohodle prehledu (kdo kolik v GHuntu zabil)a nebo- Statistika je dulezita, i za cenu tehle lagu. *) Vyhledove to chci vyresit jinak (presunuti tehle veci do samostatne tabulky zapisovane pres charserver, zbytek global taky pres charserver (aby vubec ten burst prezil, soucasnych 5k promennych nema sanci)), ale budme realisti s casem, neni to zrovna trivialni vec, takze pocitejme radove tak +- mesic (pravdepodobne dost min, ale neslibuju). Jake mate nazory? P.S. Jen doplnim, zmenilo by to jen tyhle zaseky jednou za 5 minut, lagy bud na komunikaci po netu to vliv mit nebude, stejne tak napr. kdyz bezi na serveru zaloha, to taky ne. P.S. Pisete-li za celou gildu, nejak to dejte vedet... Edited March 22, 2011 by jirkan Link to comment Share on other sites More sharing options...
Guest betr Posted March 22, 2011 Report Share Posted March 22, 2011 Tak se podarilo odhalit zdroj pravidelnych lagu ve hre - je jim zapis globalnich promennych kazdych pet minut, ktery zalaguje server na cca 1,3 az 1,5 sekundy. Prevaznou cast tech 5000 globalnich promennych tvori statistiky guild huntu ... Nebylo by mozny jen zmenit frekvenci na treba kazdou (druhou) hodinu ? Link to comment Share on other sites More sharing options...
Guest jirkan Posted March 22, 2011 Report Share Posted March 22, 2011 (edited) Nebylo by mozny jen zmenit frekvenci na treba kazdou (druhou) hodinu ?Neslo, ten zapis je (ted) globalni (jedina zmenena promenna == zapisuje se jich vsech 5k) a dost veciby za ty 2 hodiny mohlo by pri pripadnym padu ztraceno.Bohuzel jsou tam i dulezitejsi veci nez tohle pocitadlo Jsou dve moznosti jak to resit - bud zapis hned pri zmene (asynchrone pres charserver - nevyhoda je prilis zbytecnych zapisu - treba pri kazde vylovene rybe), nebo nechat tyhle intervaly a omezit pocet (hmmm) nebo dat dirty flag kazde promenne (do toho se mi nechce vubec, i kdyz by to asi bylo nejelegantnejsi), pripadne nejaka jina forma cachovani... Jeste sam nevim co z toho Edited March 22, 2011 by jirkan Link to comment Share on other sites More sharing options...
peterkovac Posted March 23, 2011 Report Share Posted March 23, 2011 ja som za docasne vypnutie statistiky, vaanicu nepouzivamak bude gum vidiet po skonceni kto zabil kolko, tak je to ok Link to comment Share on other sites More sharing options...
Skywalker Posted March 23, 2011 Report Share Posted March 23, 2011 (edited) ja som za docasne vypnutie statistiky, vaanicu nepouzivamak bude gum vidiet po skonceni kto zabil kolko, tak je to ok pri vypnute statistice gum na konci ghuntu asi tezko zjisti, kdo kolik zabil.... jinak tu statistiku bych nechal, clovek uz si na ty lagy zvyknul Edited March 23, 2011 by Skywalker Link to comment Share on other sites More sharing options...
Arcik Posted March 23, 2011 Report Share Posted March 23, 2011 (edited) - Radsi hned omezit lagy i za cenu docasne*) ztraty tohodle prehledu (kdo kolik v GHuntu zabil) +1 Edited March 23, 2011 by Arcik Link to comment Share on other sites More sharing options...
Aniteru Posted March 23, 2011 Report Share Posted March 23, 2011 pri vypnute statistice gum na konci ghuntu asi tezko zjisti, kdo kolik zabil.... jinak tu statistiku bych nechal, clovek uz si na ty lagy zvyknul Každý rádhraje na zalagovaném serveru jojo ) Link to comment Share on other sites More sharing options...
Voltron Posted March 23, 2011 Report Share Posted March 23, 2011 pri vypnute statistice gum na konci ghuntu asi tezko zjisti, kdo kolik zabil.... Driv statistika nebyla, pouzivalo se pocitadlo a nikomu to nevadilo, tak proc to tak nedelat i ted. Link to comment Share on other sites More sharing options...
Dweep Posted March 23, 2011 Report Share Posted March 23, 2011 omezit lagy, @hi nastavi moba v Ghuntu a bude dobre ... Link to comment Share on other sites More sharing options...
Zeren Posted March 23, 2011 Report Share Posted March 23, 2011 RozhodnÄ omezit lagy. Ztráta přehledu, kdo kolik zabil, mi vadit nebude. Link to comment Share on other sites More sharing options...
smash Posted March 23, 2011 Report Share Posted March 23, 2011 - Radsi hned omezit lagy i za cenu docasne*) ztraty tohodle prehledu (kdo kolik v GHuntu zabil) +2 Link to comment Share on other sites More sharing options...
hyah Posted March 26, 2011 Report Share Posted March 26, 2011 rozhodne omezit lagy... pocitadlo si snad kazdy umi dat... Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now