Good Morning,
In case you aren't familiar with me, I'm the project lead for the UberFix, a mod for Demigod that is working to fix bugs in the 1.20.0214 version of Demigods. I'm trying to find a good way to change the text in Demigod and be consistent across English and non-English versions of the game. The problem is that I don't know how non-English versions of Demigod are different from the English version (the one I have).
If you have a non-English version of Demigods could you describe the tooltip and text changes that occurred in the most recent patch to Demigods. More specifically, can you tell me what language the tooltips for Oculus and Demon Assasin are in?
Note to English users: I have looked at the other localization files for strings_db.lua, so I know what the original non-English files contain. What I need to know is if other languages have updates that are different than the English version.
Thanks,
Ptarth
Edit: The problem has been identified and solved. Please read below for details.
While at it we could also test "the forces xxx control the map" in multilanguage game.
i looked around. There is 2 language versions:English
Russian
Rest is just subtitled. You can choose to instal english or russian version thru impulse and I have re instaled demigod in russian now (god i hate cyrlica ). So yeah just need people to test out that forces of dark and light thing
Victory!
I can reproduce this now. I'm going to try to figure out what is behind it.
U mean 'we' can reproduce it
So the conditions sufficient to reproduce the Critical Game state.
I'm looking at the logs to try to make sense of what is going on. The best clue I currently have is that after the Forces of Light have complete flag control and they lose one of their flags, a localization error occurs. A critical game state then occurs 1-6 seconds after this event. This was replicated 5 times, so I'm pretty sure it is real.
Edit: I think I got it.
The string definitions used in Demigod are case sensitive. This can lead to problems, one of which is when two strings exist that only differ by in case only. In the following I show examples of this, as well as what is most likely causing the problem. The following are excerpts from strings_da.lua from the English, French, and Russian string_db.lua files.
English
French
So, the first two entries, FLAG_0000 and FLAG_0001 are the tooltips for the Celerity Flag (I'm not sure they are used in game). Comparing across languages it is apparent that they are similar. Also, notice that all contain [GetCooldownBonus]. This is the syntax that is interpreting to allow the strings to referenced defined values in the blueprints. In this case, GetCooldownBonus is defined in the blueprint of whatever calls FLAG_0000.
Now, let's look at another set of strings.
Notice that the French and English strings match. Now, check out the Russian version (at least I assume it is Russian). Notice that flag_0000 contains [GetCooldownBonus] only in the Russian version. Also notice that FLAG_0000 and flag_0000 for the Russian versions are identical. I believe that happened is that flag_0000 was replaced by FLAG_0000 somehow. When flag_0000 is called it then wants to call have [GetCooldownBonus] defined. However, since GetCooldownBonus is not defined, it errors out and causes a desync.
The solution is to fix the strings_db.lua for the Russian version by removing the [GetCooldownBonus] from flag_0000. Ideally you'd want to replace the faulty string with the correct one, but either way the problem would be resolved.
Now, this is complete conjecture without testing it, I'd need to get another gullible person with a Russian install to test it. I can't confirm it only with English installs. However, I'm pretty sure this is it.
I'd like to thank Irek for facilitating the documentation of the Forces of Light bug. His continued belief and active posting in the forums was one of the leading causes to why I believed the bug did exist. This was in spite of the stance by active forumers and Stardock. It was only with his help and testing efforts that the bug was able to be tracked down and solved. I really appreciate his assistance in this matter. His help in this matter is doubly appreciated because he stayed up all night and was still willing to put up with my efforts and attempts to solve this issue.
FIX FOUNDIf you use the Russian localized version of Demigod, the following will fix your problem:
You are the fuckin man Ptarth!
Damn good work man!
BUMP
The only problem is that you need the people using the Russian version to apply it correct? Or did I misunderstand and there's something I can do to stop the desync from happening?
Exactly. Only people with the Russian version need to install this. It is logically something that should be rolled out by SD at some point via an update.
One other thing until you can get this fixed. I have checked it twice now. It doesn't have to be all of the flags. It has to be all but 2 on cataract.
The problem occurs whenever the Force of Light control the map event fires. The event fires whenever the forces of Light control more than 75% (or 80%) of the map, lose a flag, but still control more than 75% (or 80%) of the map.
You did a really phenomenal job on this Ptarth. Thank you for your hard work!
Gotta love copy/paste... I went ahead and posted this in gpg's general discussion of demigod and i sent a PM to sorian on the gpg forums! I you Ptarth and way to go for (most likely maticuluously) wading through the languages. Now if only we could figure out why it freezes in stagnantly hosted games.
Kuddos to you. +1 for flagging this to GPG.
well, personally I was hoping to stall for time to get some more work with Uberfix done first so that we could have a meaningful bug-fix patch rather than just a small locale-hotfix
heh... I'm sure gpg was just waiting for the opportunity to squeak out a quick fix. I think we all doubt some sort of quick movement on this. But if it gets one guy at gpg interested... woot.
Thanks dude for metioning my help here and in uberfix thread.
After all i only had to spend half day to redownload and reinstal demigod in russian and then convince you to test out the bug that you and pacov tought is bullshit.
Looking forward to help you out in future, after all it is soo rewarding...
Sorry about that. I had mentioned you several times in previous edits, but after I removed the majority of the testing information to reduce the amount of information I provided, it seems I removed it.
I hereby announce that Irek was instrumental in facilitating the documentation of the Forces of Light bug. His continued belief and active posting in the forums was one of the leading causes to why I believed the bug did exist. This was in spite of the stance by active forumers and Stardock. It was only with his help and testing efforts that the bug was able to be tracked down and solved. I really appreciate his assistance in this matter. His help in this matter is doubly appreciated because he stayed up all night and was still willing to put up with my efforts and attempts to solve this issue.
Thanks Irek. Sorry your credit was lost in my previous revisions. I got caught up in describing the behavior and didn't realize it. I do however object to your suggestion that I did not believe the Forces of Light bug was real. I was a believer in it, much to pacov's chagrin.
happy that we solved that 'bug' too.
PS.
To all wondering. I am bad ass sob who dosnt do anything for anyone at anytime for free.
Heh. Indeed. Irek was critical in finding the bug.
For those of you that aren't number savvy...this means that on Cataract (13 flags) .76 x 13 = 9.88 flags or .8 x 13 = 10.4 flags. I'm not sure if the game uses a rounding mechanism or not, but yes, this is what I have seen. If FoL control 10 flags and then one is taken back then it would trigger. This also means though that it could trigger after you take all of the flags with FoL and the forces of dark take one back.
Just noting that we did see this Friday night, though due to it coming to a head right at the start of the weekend, we probably won't start getting anywhere with seeing what we can do about it until later today.
For my part, I know that Stardock has given Demigod outstanding support and will continue to do so. I hope that everyone respects the work that Stardock has put into Demigod and won't start complaining about how slow they in using this information to fix things.
Also, I believe I explained things sufficiently, but if more information is necessary feel free to contact me.
There are many great features available to you once you register, including:
Sign in or Create Account