Wake of Gods Forum | Форум Во Имя Богов

Full Version: Всё по серии карт "The Empire of the World"
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5
[censored].... i've missed that. sorry. it was an accident. thank alot Sm
ps
do you work on a new map, based on ERA? id like to be some kind of alpha-tester Sm
Guys, can someone please help me on a bug issue? Even greater if more than one person.

Mod to download: TEW2

Save to download: SAVE

To do: open Maximus hero screen, click on specialty icon then on first icon upper left, to buy an ability with mithril. Should trigger a "DONE" message then ability is highlighted.

Everyone except myself gets a crash on this action. But all saves people send me work perfectly on my system, no crash so I am lost and no clue what to debug.

But they all use win10, I have win7. Can someone confirms he also gets a crash?

Thanks a lot.

@Edit: corrected, click on specialty icon.
Valery, when i click on exp icon nothing happened exept simple dialog about hidden secskills
Image: 4b5ca758e01bt.jpg
Sorry my fault, on specialty icon, the archangels.
nothing crash happaned
win7
Image: b972ed82a075t.jpg
maybe that guy in his WoG-source does not have image file which used in TEW2-dialog ?
ask him about it
(04.09.2016 23:24)Valery Wrote: [ -> ]Can someone confirms he also gets a crash?
Only when running HD. Since many people love to leave this fact unsaid, I assume they are all running HD and that's where this bug is from.
but I run HD too, always now (and anyway, I am always asking them to run the save without, still crash). And I didn't get a crash when loading this save.

But 5 players already complained and sent saves, so its clearly not something random.

bugyboy, thanks


@Edit: I run HD mod with 800x600 parameters, as I prefer keeping same click distances. I suppose the resolution doesn't matter, or?
(05.09.2016 11:53)Valery Wrote: [ -> ]I run HD mod with 800x600 parameters
Same. Crash happens both with and without fullscreen.
(05.09.2016 11:53)Valery Wrote: [ -> ]And I didn't get a crash when loading this save.
Did anyone?
(05.09.2016 11:53)Valery Wrote: [ -> ]But 5 players already complained and sent saves, so its clearly not something random.
I'd say it is something random, since it doesn't follow any discernible pattern. I'll look into it.
The only way to fix the saves and send them back was to remove the function which redraws all gold/mithril costs and updates hints. So player buys something, the future costs are not updated unless he opens again the dialog.

I use in that function two color codes (red for not enough resources, green for ok) then the rest of code is trivial, and already used in many other DL which never had any problem/

This is the function crashing the saves (on players configs, never on mine)


Now, if I had at least one constant crash, I could start debugging by cut in the code and see. But as it never crashes on my system, no clue what to do with. If you get the crash when loading that save and click on ability to buy, could you please, when some free time, to see which part of the code is guilty? My bet is on lines 26 to 29.
Ok, I found the problem. There is a fatal flaw in the hint system, making so that no hint can be set twice. I can imagine how ZVS / sergroj / whoever else made WoG T1 managed to compile this incorrect code. A good example of why one shouldn't use outdated compilers they don't understand.
Anyhow, here is the fix (hopefully without errors, because I didn't test it):
Code:
72982C FC
729835 FC
72983B FC
729843 FC
729859 FC
72987B FC
72988F FC
может проще сразу патчем для ERA скомпоновать, да и тестить тож удобнее будет?
This is great news, thanks but what that means, a plugin is necessary? Without further distribution of Era I don't see how I can distribute this, with map only? And did you try the save with the fix, or you just found the address? Because my problem is that I never get crash, so any test on my side is not relevant.

Also I am no way at the level where I can make plugins. Bad
(05.09.2016 16:37)bugyboy Wrote: [ -> ]может проще сразу патчем для ERA скомпоновать, да и тестить тож удобнее будет?
Да, Капитан! 96-copy
Ну вот пусть кто-нибудь и скомпилит (или в скрипт закатает), мне лень просто.
(05.09.2016 18:53)Valery Wrote: [ -> ]Also I am no way at the level where I can make plugins. Bad
Didn't you already compile several binary patches with BinMagic?
Ah yes, ok, will try and post back. Thanks.
Pages: 1 2 3 4 5
Reference URL's