|
Thread: The Difference between 3.58f, 3.59, ERA 2.3 and all the else | This thread is pages long: 1 2 · «PREV |
|
Salamandre
Admirable
Omnipresent Hero
Wog refugee
|
posted August 10, 2012 06:04 PM |
|
|
In fact, I am not sure what's going on. I fixed both erm problems and map starts without error IF no wogify selected. (means the error-a simple ^ missing at end of one dialog- screwed the settings, map was supposed to wogify)
But if I wogify, the I have lethal error which points to one of universal scripts. If anyone could check in 3.58 which I don't have and can't install (crash installer every time) it will help to understand if problem comes from Era or mapmaker.
TANIA MAP
@Edit: I used default settings.dat Maybe the problem comes from the fact that mapmmaker paste a lot of universal scripts inside then allows wogify, which means they will run twice.
____________
Era II mods and utilities
|
|
Salamandre
Admirable
Omnipresent Hero
Wog refugee
|
posted August 10, 2012 06:31 PM |
|
|
I found one error which caused day 1 end lethal error from internal scripts too:
ZVSE
AUTO_PoweredBy=ERM Scripter v. 2002.11.10.2110
!#TM11:S1/999/28/255;
!#VRz501:S^Пещера таинств(не посещено)^;
!#VRz502:S^Пещера таинств(посещено)^;
!#HT63/60:W3/0/501;
!#HT63/60:W3/1/502;
!?TM11;
!!OW:C?v1; [get current player]
!!DO75/0/155/1:P;
!?FU75;
!!HE-1:O?v2; **how could that work on 3.58?, should be HEx16
!!FU76&v1=v2:P; [continue if it's this player's turn]
*** Function to reset variable
!?FU76;
!!IF:Wx16;
!!VRw2:S0; [reinstate old skill level if visited mushroom]
!!VRw3:S0; free the visit
I think those are very old maps, not much tested and botched. Or maybe 3.58 ignored such errors, I have no idea.
____________
Era II mods and utilities
|
|
JimV
Responsible
Supreme Hero
|
posted August 10, 2012 06:43 PM |
|
Edited by JimV at 18:51, 10 Aug 2012.
|
My guess is that this is a old map, circa 2002, written under an old version of WoG, prior to the advent of wogification. That is, it should not be wogified, even though the map-maker did not prohibit wogification. The first script is version 1.1 of The Market of Time. Wogification will load the current WoG Market of Time script also, which will interfere with itself (functions will be triggered twice for each call, and called twice, once for each script version). Probably scripts such as the Buy-All button did not exist or were not known to the author.
Under WoG 3.58f the original does not show the constant !!! warnings, but disables the actual script syntax error. I guess this was how people played it. I will upload the corrected version to ByteBandit Maps, and add a note that it should not be wogified.
There was a comment somewhere here about translating it from Russian to English, and someone remarked that it would first have to be translated from Bad Russian to Good Russian. Otherwise ByteBandit would probably have translated it (using Google Translate).
P.S. As usual, I am a couple posts behind Salamandre. This was written in response to his 12:12 comments (an edit and another comment have appeared since).
|
|
Salamandre
Admirable
Omnipresent Hero
Wog refugee
|
posted August 10, 2012 06:53 PM |
|
|
Yeah sorry about that, was testing first day ok, wrote, then pressed end turn and got error crash. Then re-edited the map link after fixing the HEx16 error, so he can at least start it.
____________
Era II mods and utilities
|
|
JimV
Responsible
Supreme Hero
|
posted August 10, 2012 06:56 PM |
|
Edited by JimV at 18:59, 10 Aug 2012.
|
Quote: !!HE-1:O?v2; **how could that work on 3.58?, should be HEx16
!!FU76&v1=v2:P; [continue if it's this player's turn]
*** Function to reset variable
!?FU76;
!!IF:Wx16;
I think this was intentional, but not the best way to do the code. The script author wanted to cycle through all Heroes with x16, but skip those whose color was not the same as the current player. It would have been better to use an OW command for this rather than getting the current Hero's color, because sometimes there is no current Hero. It is probably an old version of a WoG script which has since been improved.
P.S. There is no crash on day one under WoG 3.58f with the original (HE-1) code.
|
|
Salamandre
Admirable
Omnipresent Hero
Wog refugee
|
posted August 10, 2012 07:00 PM |
|
|
Using HE-1 I get infinite pop up error no matter the color played. 3.58 ignores it?
@Edit: ok, now is me who is late, answer already done
____________
Era II mods and utilities
|
|
|
|