-
Notifications
You must be signed in to change notification settings - Fork 128
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Resources count display bug? #2
Comments
I add you as collaborator , you can edit it |
hey!) i look for code, and i can fix many of that are you interested in my fixes? if twice "yes" -- better send fixes at github(open source), or at my private git server? you can answer me in telegram -- thank you!) |
Hi all, The fix is working Regards |
Hi @AlfredoPagano ! |
Hi @Shadowss ! i am not sure i really want to refactoring this ugly php code... ;( so you can delete me from collaborators :) i'd like to talk with you in telegram, if you can :) thank you very much! |
found bugs: when enabled setting "show admin in statistic/ranks", traders does not goes three times when player offline cereal not calculates in non-15-village when offline (like x3 times traders) -- |
Thanks to AlfredoPagano for the fix! See issue Shadowss#2, Resources count display bug
There are some display bug --
when resources update, we reload page and get old count of resources!
after reload again -- resources count are ok, updated.
so bug is next -- in code we get old count of resources, update it, save to database,
but show at page old value, not new!
https://github.com/Shadowss/TravianZ/blob/master/GameEngine/Village.php#L47-L48
maybe this strings needs swap places ?
or just update here values (add some code at function ends)
https://github.com/Shadowss/TravianZ/blob/master/GameEngine/Village.php#L171
(i not configure own server yet, can not test it, so just think,, can you test that?)
The text was updated successfully, but these errors were encountered: