Current time: 30.11.2024, 03:39 Hello There, Guest! (LoginRegister)
Language: english | russian  

Post Reply 
Threaded Mode | Linear Mode
Всё по серии карт "The Empire of the World"
» TEW [x] by Valery
Author Message
Cthulchu Offline

Posts: 35
Post: #46

[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
30.04.2012 12:18
Find all posts by this user Quote this message in a reply
Valery Offline

Posts: 2196
Post: #47

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.
(This post was last modified: 05.09.2016 10:48 by Valery.)
04.09.2016 23:24
Find all posts by this user Quote this message in a reply
Bes Offline

Posts: 5422
Post: #48

Valery, when i click on exp icon nothing happened exept simple dialog about hidden secskills
Image: 4b5ca758e01bt.jpg
05.09.2016 04:00
Visit this user's website Find all posts by this user Quote this message in a reply
Valery Offline

Posts: 2196
Post: #49

Sorry my fault, on specialty icon, the archangels.
05.09.2016 10:47
Find all posts by this user Quote this message in a reply
Bes Offline

Posts: 5422
Post: #50

nothing crash happaned
win7
Image: b972ed82a075t.jpg
05.09.2016 11:06
Visit this user's website Find all posts by this user Quote this message in a reply
Bes Offline

Posts: 5422
Post: #51

maybe that guy in his WoG-source does not have image file which used in TEW2-dialog ?
ask him about it
05.09.2016 11:12
Visit this user's website Find all posts by this user Quote this message in a reply
gamecreator Offline

Posts: 7107
Post: #52

(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.


When all gods have burnt to ashes in eternity of sorrow,
Demons gonna tear your soul because there is no tomorrow.
05.09.2016 11:36
Find all posts by this user Quote this message in a reply
Valery Offline

Posts: 2196
Post: #53

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?
(This post was last modified: 05.09.2016 12:11 by Valery.)
05.09.2016 11:53
Find all posts by this user Quote this message in a reply
gamecreator Offline

Posts: 7107
Post: #54

(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.


When all gods have burnt to ashes in eternity of sorrow,
Demons gonna tear your soul because there is no tomorrow.
05.09.2016 13:20
Find all posts by this user Quote this message in a reply
Valery Offline

Posts: 2196
Post: #55

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.
(This post was last modified: 05.09.2016 13:39 by Valery.)
05.09.2016 13:32
Find all posts by this user Quote this message in a reply
gamecreator Offline

Posts: 7107
Post: #56

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


When all gods have burnt to ashes in eternity of sorrow,
Demons gonna tear your soul because there is no tomorrow.
05.09.2016 14:44
Find all posts by this user Quote this message in a reply
Bes Offline

Posts: 5422
Post: #57

может проще сразу патчем для ERA скомпоновать, да и тестить тож удобнее будет?
(This post was last modified: 05.09.2016 19:26 by Bes.)
05.09.2016 16:37
Visit this user's website Find all posts by this user Quote this message in a reply
Valery Offline

Posts: 2196
Post: #58

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
(This post was last modified: 05.09.2016 18:59 by Valery.)
05.09.2016 18:53
Find all posts by this user Quote this message in a reply
gamecreator Offline

Posts: 7107
Post: #59

(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?


When all gods have burnt to ashes in eternity of sorrow,
Demons gonna tear your soul because there is no tomorrow.
05.09.2016 19:45
Find all posts by this user Quote this message in a reply
Valery Offline

Posts: 2196
Post: #60

Ah yes, ok, will try and post back. Thanks.
05.09.2016 20:24
Find all posts by this user Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Forum Jump:

Powered by MyBB Copyright © 2002-2024 MyBB Group