Heroes of Might and Magic Community
visiting hero! Register | Today's Posts | Games | Search! | FAQ/Rules | AvatarList | MemberList | Profile


Age of Heroes Headlines:  
5 Oct 2016: Heroes VII development comes to an end.. - read more
6 Aug 2016: Troubled Heroes VII Expansion Release - read more
26 Apr 2016: Heroes VII XPack - Trial by Fire - Coming out in June! - read more
17 Apr 2016: Global Alternative Creatures MOD for H7 after 1.8 Patch! - read more
7 Mar 2016: Romero launches a Piano Sonata Album Kickstarter! - read more
19 Feb 2016: Heroes 5.5 RC6, Heroes VII patch 1.7 are out! - read more
13 Jan 2016: Horn of the Abyss 1.4 Available for Download! - read more
17 Dec 2015: Heroes 5.5 update, 1.6 out for H7 - read more
23 Nov 2015: H7 1.4 & 1.5 patches Released - read more
31 Oct 2015: First H7 patches are out, End of DoC development - read more
5 Oct 2016: Heroes VII development comes to an end.. - read more
[X] Remove Ads
LOGIN:     Username:     Password:         [ Register ]
HOMM1: info forum | HOMM2: info forum | HOMM3: info mods forum | HOMM4: info CTG forum | HOMM5: info mods forum | MMH6: wiki forum | MMH7: wiki forum
Heroes Community > Heroes 3.5 - WoG and Beyond > Thread: ERA II - Source code - Help and discussion
Thread: ERA II - Source code - Help and discussion This thread is 11 pages long: 1 2 3 4 5 6 7 8 9 10 11 · «PREV / NEXT»
gamemaster
gamemaster


Adventuring Hero
posted October 03, 2020 12:23 PM
Edited by gamemaster at 12:24, 03 Oct 2020.

Hi

Here you can find unofficial port of era to new delphi.
https://dropmefiles.com/3Xy3q

It should work on any new delphi versions.
You need to setup output folder for both era and vfs in project options. Project>Options>Delphi Compiler>Output directory.
This source version is 3.0.2. Not up to date with latest source.

Build both era and vfs to hero folder replacing original files.

If you found any problem or bug, first try to reproduce same bug with original 3.0.2. dlls. if there is difference between original and this dlls behavior report here so i can make fix.

Idea is to someday replace old era in D2009 to latest delphi version. But need to confirm that it is safe to do without introduce new problems.

Port is done by simple proxing variable types and tested for a while without problems, but it is not simple to confirm that is 100% safe.

Do not base you plugins or anything else on this source because it is unofficial and may have undiscovered port problems.

It will be nice if you can report any difference between original and this port behavior.

Regarding VCMI
I follow development for some time but without entering into details. I have grate hopes of that but i will not engage in exploring util it come to playable  phase with all features. I guess that will be after they reach version v1.0.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
myocytebd
myocytebd


Hired Hero
posted October 06, 2020 10:08 PM

gamemaster said:
Hi

Here you can find unofficial port of era to new delphi.
https://dropmefiles.com/3Xy3q

Thanks, it compiles fine on 10.3.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
gamemaster
gamemaster


Adventuring Hero
posted November 11, 2020 02:06 PM
Edited by gamemaster at 16:16, 11 Nov 2020.

@Bersy

i found this in Erm.pas at the end of file. Line 7992.

Quote:
 (* Add UN:J13 command: Reset Commanders *)
 ApiJack.HookCode(Ptr($733F11), @Hook_UN_J13);

 (* Improve UN:U: no error if objects is not found (x < 0 on error). UN:U(type)/(subType)/(direction)/(x)/(y)/(z) *)
 ApiJack.HookCode(Ptr($733F11), @Hook_UN_J13);


Is that all correct?. I suspect that second patch should be something else or it is just redundant.
Perhaps, it is make as placeholder with corrected comment and not corrected code.
Just take a look. I did not make deep investigation.


in Alg.pas there was two declaration for "CustomBinarySearch" functions.
Now there is only one marked as overrided. And there are still 2 implementations for that functions in file.
Check that. Perhaps one declaration is accidentally deleted.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Bersy
Bersy


Honorable
Supreme Hero
posted November 12, 2020 03:27 AM

I'll check everything, thank you very much.
____________
Heroes 3 Era and everything for it. Releases folder for releases.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Bersy
Bersy


Honorable
Supreme Hero
posted November 13, 2020 01:31 AM

Fixed UN3 broken patch, thanks.
In Alg.pas all 4 functions (2 declarations and 2 implementations) have overload directive, recheck, please.
____________
Heroes 3 Era and everything for it. Releases folder for releases.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
gamemaster
gamemaster


Adventuring Hero
posted November 13, 2020 06:01 PM
Edited by gamemaster at 12:47, 29 Nov 2020.

Alg.pas is ok. I did not seen that functions are reordered.


EDIT:
There is few redundant lines in Rainbow.Pas (procedure NameStdColors)

Colors declared twice with same value: DarkSlateGrey, DimGrey, SlateGrey, LightSlateGrey, Grey, DarkGrey, LightGrey.

Also,there are two names for one color: Magenta/Fuchsia and Cyan/Aqua. This is probably ok.

Question 1:
What is purpose of Chinese_Rainbow_Plugin? Where it is used?
I ask that because it is still unported. I skipped that because no unit use it. Now i see activities in that region .

Question 2:
Is there any chance to translate PatchApi.pas from Russian to English?
I found translated version 4.2 but it is not exactly same as one you use.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Bersy
Bersy


Honorable
Supreme Hero
posted November 29, 2020 04:25 PM

Hi, gamemaster!

Quote:
There is few redundant lines in Rainbow.Pas (procedure NameStdColors)

I'll remove duplicates, thanks.

Quote:
What is purpose of Chinese_Rainbow_Plugin? Where it is used?

It's used for Asian languages like Korean and Chinese. Currently even 32-bit HD modes are supported.

Quote:
Is there any chance to translate PatchApi.pas from Russian to English?

baratorch wrote that file originally for Russian speakers. I don't think someone will translate it manually, but one could try to extract and translates comments via Yandex/Google. Just for understanding. I don't have ready-to-use translation tool now.
____________
Heroes 3 Era and everything for it. Releases folder for releases.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Bersy
Bersy


Honorable
Supreme Hero
posted November 29, 2020 05:38 PM

Chinese plugin was written by unknown Chinese guy, I adapted it for Era.
Some of color aliases are valid: both "gray" and "grey" suffixes are valid.
____________
Heroes 3 Era and everything for it. Releases folder for releases.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
gamemaster
gamemaster


Adventuring Hero
posted December 06, 2020 12:48 PM
Edited by gamemaster at 12:49, 06 Dec 2020.

Hi,

Could you upload latest b2 library to github so i can port latest version?

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Bersy
Bersy


Honorable
Supreme Hero
posted December 06, 2020 02:47 PM

Hi, sorry, a few small changes. Synchronized commits.
____________
Heroes 3 Era and everything for it. Releases folder for releases.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
gamemaster
gamemaster


Adventuring Hero
posted December 06, 2020 09:14 PM

thanks, ported

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
gamemaster
gamemaster


Adventuring Hero
posted January 11, 2021 10:31 PM

Hi

Bersy, synchronize B2 library with github please

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Bersy
Bersy


Honorable
Supreme Hero
posted January 12, 2021 04:34 PM

Hi, master. Done. Sorry for delay.
____________
Heroes 3 Era and everything for it. Releases folder for releases.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
gamemaster
gamemaster


Adventuring Hero
posted March 11, 2021 10:25 PM
Edited by gamemaster at 22:25, 11 Mar 2021.

Hi,

https://github.com/ethernidee/era/blob/e9e9ad622b1641d91ee46d9593aa80912af72d91/Erm.pas#L2266

Variable 'VarIndex' might not have been initialized at this point.
Is that ok?

Should i next time raise issue on github instead of reporting findings here?

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Bersy
Bersy


Honorable
Supreme Hero
posted March 14, 2021 06:16 PM

Thanks, it's not a bug, because the variable is initialized upper with the same condition, but I'll fix it. You may write here or raise issues on GitHub.
____________
Heroes 3 Era and everything for it. Releases folder for releases.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
fred79
fred79


Undefeatable Hero
My BS sensor is tingling again
posted March 18, 2021 04:27 AM

crash is preventing me from progressing in game upon new week of custom map. it's not in my scripts, and my wogify settings aren't set for passability through anything.




running era 1.8, btw. i'd like to update to the new era 3, but all my scripts wouldn't work then.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Rerryr
Rerryr


Promising
Supreme Hero
Researching Magic
posted March 18, 2021 07:32 AM

Upload your scripts here, so we can check

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
fred79
fred79


Undefeatable Hero
My BS sensor is tingling again
posted March 18, 2021 01:06 PM
Edited by fred79 at 13:25, 18 Mar 2021.

these are all the scripts i use. they are separated into 3 different scripts.

Quote:
ZVSE

!?PI;
!!DO3561124/6/13/1:P42; removes imp stack exp abilities
!!DO3561124/6/13/1:P43; removes familiar stack exp abilities
!!DO3561124/6/13/1:P132; removes azure dragon stack exp abilities
!!DO3561124/6/13/1:P136; removes enchanter stack exp abilities
!!DO3561124/6/13/1:P137; removes sharpshooter stack exp abilities
!!DO3561124/6/13/1:P139; removes peasant stack exp abilities
!!DO3561124/6/13/1:P140; removes boar stack exp abilities
!!DO3561124/6/13/1:P141; removes old mummy stack exp abilities
!!DO3561124/6/13/1:P144; removes troll stack exp abilities
!!DO3561124/6/13/1:P168; removes gorynych stack exp abilities
!!DO3561124/6/13/1:P169; removes war zealot stack exp abilities
!!DO3561124/6/13/1:P170; removes arctic sharpshooter stack exp abilities
!!DO3561124/6/13/1:P171; removes lava sharpshooter stack exp abilities
!!DO3561124/6/13/1:P172; removes nightmare stack exp abilities
!!DO3561124/6/13/1:P173; removes santa gremlin stack exp abilities
!!DO3561124/6/13/1:P192; removes sylvan centaurs stack exp abilities
!!DO3561124/6/13/1:P193; removes sorceress stack exp abilities
!!DO3561124/6/13/1:P195; removes hell steed stack exp abilities
!!DO3561124/6/13/1:P196; removes dracolich stack exp abilities

!!MA:X42/d2; imps can fly
!!MA:X43/d2; familiars can fly
!!MA:X102/d-1; removes 2-hex from gorgons
!!MA:X103/d-1; removes 2-hex from mighty gorgons
!!MA:X134/d-1; removes 2-hex from faerie dragons
!!MA:X136/d-4; removes shoot ability from enchanters
!!MA:X137/d4096; no melee penalty for sharpshooters
!!MA:X141/d1024; mind spell immunity for old mummies
!!MA:X141/d2; old mummies can fly
!!MA:X141/d-262144; old mummies aren't undead
!!MA:X144/d1024; mind spell immunity for trolls
!!MA:X151/d-2; removes fly from diamond dragons
!!MA:X151/d-8; removes breath attack from diamond dragons
!!MA:X164/d2; fire messengers can fly
!!MA:X166/d2; air messengers can fly
!!MA:X167/d1; water messengers are 2-hex
!!MA:X168/d-1; removes 2-hex from gornyches
!!MA:X168/d1024; mind spell immunity for gornyches
!!MA:X168/d-524288; removes attack-all from gornyches
!!MA:X168/d262144; gornyches are undead
!!MA:X169/d1; war zealots are 2-hex
!!MA:X169/d1024; mind spell immunity for war zealots
!!MA:X169/d-4; removes shoot ability from war zealots
!!MA:X169/d131072; always neutral morale for war zealots
!!MA:X170/d-4; removes shoot ability from arctic sharpshooters
!!MA:X170/d1; arctic sharpshooters are 2-hex
!!MA:X171/d-4; removes shoot ability from lava sharpshooters
!!MA:X171/d2; lava sharpshooters can fly
!!MA:X172/d-8; removes breath attack from nightmare
!!MA:X173/d1024; mind spell immunity for santa gremlins
!!MA:X173/d2; santa gremlins can fly
!!MA:X192/d2; sylvan centaurs can fly
!!MA:X192/d-4; removes shoot ability from sylvan centaurs
!!MA:X192/d-32768; removes double attack from sylvan centaurs
!!MA:X193/d-4; removes shoot ability from sorceresses
!!MA:X193/d-2; removes fly from sorceresses
!!MA:X193/d4096; no close-range penalty against sorceresses
!!MA:X195/d-1; removes 2-hex from hell steeds
!!MA:X195/d-8; removes breath attack from hell steeds
!!MA:X196/d-4; removes shoot ability from dracoliches
!!MA:X196/d-2; removes fly from dracoliches

!!EA131:B12/1/104/132/2/2/2/2/2/2/2/2/2/2/2; phoenixes hate frost dragons
!!EA132:B6/1/98/1/1/1/1/1/1/1/1/1/1/1/1; frost dragons reduce target defense
!!EA132:B8/1/75/16/100/100/100/100/100/100/100/100/100/100/100; ice bolt for frost dragons
!!EA132:B9/1/119/67/1/1/1/1/1/1/1/1/1/1/1; frost dragons are immune to cold spells
!!EA132:B10/1/104/131/2/2/2/2/2/2/2/2/2/2/2; frost dragons hate phoenixes
!!EA137:B6/1/102/115/1/1/1/1/1/1/1/1/1/1/1; pirates shoot when adjacent
!!EA139:B5/1/102/117/1/1/1/1/1/1/1/1/1/1/1; leprechaun has aura of resistance
!!EA139:B6/1/87/43/100/100/100/100/100/100/100/100/100/100/100; leprechaun has magic resistance
!!EA139:B7/1/103/43/100/100/100/100/100/100/100/100/100/100/100; leprechaun has damage resistance
!!EA139:B8/1/112/51/100/100/100/100/100/100/100/100/100/100/100; leprechaun casts fortune on all units
!!EA140:B7/1/104/144/2/2/2/2/2/2/2/2/2/2/2; sea serpents hate deep ones
!!EA140:B8/1/104/173/2/2/2/2/2/2/2/2/2/2/2; sea serpents hate cthulhi
!!EA141:B6/1/102/102/1/1/1/1/1/1/1/1/1/1/1; hunting horrors are fearless
!!EA141:B7/1/70/43/1/1/1/1/1/1/1/1/1/1/1; hunting horrors cause fear
!!EA142:B6/1/75/71/100/100/100/100/100/100/100/100/100/100/100/; scorpii cast poison after attack
!!EA142:B7/1/75/74/100/100/100/100/100/100/100/100/100/100/100/; scorpii casts paralyze after attack
!!EA144:B6/1/104/140/50/50/50/50/50/50/50/50/50/50/50; deep ones hate sea serpents
!!EA168:B5/1/102/102/1/1/1/1/1/1/1/1/1/1/1; demilich is fearless
!!EA168:B6/1/70/43/1/1/1/1/1/1/1/1/1/1/1; demilich causes fear
!!EA168:B7/1/102/114/1/1/1/1/1/1/1/1/1/1/1; demilich rebirth
!!EA168:B8/1/75/74/100/100/100/100/100/100/100/100/100/100/100/; demilich casts paralyze after attack
!!EA168:B9/1/74/42/100/100/100/100/100/100/100/100/100/100/100/; demilich casts curse before attack
!!EA169:B6/1/119/66/1/1/1/1/1/1/1/1/1/1/1; tunnel slug blind immunity
!!EA169:B7/1/119/83/1/1/1/1/1/1/1/1/1/1/1; tunnel slug slow immunity
!!EA170:B5/0/115/28/0/0/0/0/0/0/0/0/0/0/0; remove air shield for mermaid
!!EA171:B5/0/115/29/0/0/0/0/0/0/0/0/0/0/0; remove fire shield for dryad
!!EA172:B6/1/75/71/100/100/100/100/100/100/100/100/100/100/100/; arachnid casts poison after attack
!!EA172:B7/1/75/74/100/100/100/100/100/100/100/100/100/100/100/; arachnid casts paralyze after attack
!!EA173:B7/1/107/50/100/100/100/100/100/100/100/100/100/100/100/; cthulhi cast basic sorrow after attack
!!EA173:B8/1/102/82/1/1/1/1/1/1/1/1/1/1/1; cthulhi no retaliation
!!EA173:B9/1/104/140/2/2/2/2/2/2/2/2/2/2/2; cthulhi hate sea serpents
!!EA193:B9/1/119/67/1/1/1/1/1/1/1/1/1/1/1; yeti are cold spells immune
!!EA195:B5/1/115/49/1/1/1/1/1/1/1/1/1/1/1; satyr are mirth enchanted
!!EA195:B6/1/115/49/1/1/1/1/1/1/1/1/1/1/1; satyr are mirth enchanted
!!EA195:B7/1/115/49/1/1/1/1/1/1/1/1/1/1/1; satyr are mirth enchanted
!!EA195:B8/1/115/49/1/1/1/1/1/1/1/1/1/1/1; satyr are mirth enchanted
!!EA195:B9/1/115/49/1/1/1/1/1/1/1/1/1/1/1; satyr are mirth enchanted
!!EA195:B10/1/115/49/1/1/1/1/1/1/1/1/1/1/1; satyr are mirth enchanted
!!EA195:B11/1/115/49/1/1/1/1/1/1/1/1/1/1/1; satyr are mirth enchanted
!!EA195:B12/1/115/49/1/1/1/1/1/1/1/1/1/1/1; satyr are mirth enchanted

!!UN:C7727293/4/9999; removes hell steed fire shield
!!UN:C7735078/4/9999; removes hell steed fire shield
!!UN:C7719484/4/9999; removes hell steed fire wall
!!UN:C7721205/4/222; removes santa gremlin guards
!!UN:C7994557/1/5; removes nightmare death stare
!!UN:C7727580/4/9999; remove mirth from sylvan centaurs
!!UN:C7735444/4/9999; remove mirth from sylvan centaurs
!?GM0;
!!UN:C7727293/4/9999; removes hell steed fire shield
!!UN:C7735078/4/9999; removes hell steed fire shield
!!UN:C7719484/4/9999; removes hell steed fire wall
!!UN:C7721205/4/222; removes santa gremlin guards
!!UN:C7994557/1/5; removes nightmare death stare
!!UN:C7727580/4/9999; remove mirth from sylvan centaurs
!!UN:C7735444/4/9999; remove mirth from sylvan centaurs
!!UN:C4608221/2/59792; remove sea dogs casting ability

!?FU3561124;
!!EAx1:Bx16//////////////;

!?FU77007;
!!SN:X?y1/?y2;
!!BMy1:T?y4;
!!SN&y4=144:X?y1/?y2/1; disable 144 regenerate

!?FU6000;
!!VRx3&x1=1/x2<2:S12;
!!VRx3&x1=1/x2>197:S12;
!!FU|x2<2/x2>197:E;
!!VRx2:+7994814;
!!UN&x1=0:Cx2/1/x3;
!!UN&x1=1:Cx2/1/?x3;
**PIRT
!#MA:X137/?i;
!#VRi:|4;
!#MA:X137/i;
!#MA:N137/16;
!#FU6000:P0/137/12;

!?FU6000;
!!VRx3&x1=1/x2<2:S16;
!!VRx3&x1=1/x2>197:S16;
!!FU|x2<2/x2>197:E;
!!VRx2:+7961526;
!!UN&x1=0:Cx2/1/x3;
!!UN&x1=1:Cx2/1/?x3;

!#MA:X137/?i;
!#VRi:|4;
!#MA:X137/i;
!#MA:N137/16;
!#FU6000:P0/137/12;

!?PI;  !!VRz100:S^PIRT^;  !!FU25003:P137;
!?GM0; !!VRz100:S^PIRT^;  !!FU25003:P137;

!?FU25003;
!!UN:C4697553/4/?y1;
!!VRy2:S116*x1+y1+8;
!!UN:Cy2/4/?y3;

!!UN:V?y91/?y92;
!!VRy93&y91=358:S40225400;
!!VRy93&y91=359:S9597416;
!!VRy93&y91=400:S9597416;
!!VRy4&y93=0:S0;
!!FU&y93=0:E;
!!VRy4:S100 *512 +y93;

!!UN:Cy4/1/?y5; !!UN:Cy3/1/y5;
!!VRy4:+1; !!VRy3:+1;
!!UN:Cy4/1/?y5; !!UN:Cy3/1/y5;
!!VRy4:+1; !!VRy3:+1;
!!UN:Cy4/1/?y5; !!UN:Cy3/1/y5;
!!VRy4:+1; !!VRy3:+1;
!!UN:Cy4/1/?y5; !!UN:Cy3/1/y5;

!?PI;  !!VRz100:S^CTHU^;  !!FU25003:P173;
!?GM0; !!VRz100:S^CTHU^;  !!FU25003:P173;

!?FU25003;
!!UN:C4697553/4/?y1;
!!VRy2:S116*x1+y1+8;
!!UN:Cy2/4/?y3;

!!UN:V?y91/?y92;
!!VRy93&y91=358:S40225400;
!!VRy93&y91=359:S9597416;
!!VRy93&y91=400:S9597416;
!!VRy4&y93=0:S0;
!!FU&y93=0:E;
!!VRy4:S100 *512 +y93;

!!UN:Cy4/1/?y5; !!UN:Cy3/1/y5;
!!VRy4:+1; !!VRy3:+1;
!!UN:Cy4/1/?y5; !!UN:Cy3/1/y5;
!!VRy4:+1; !!VRy3:+1;
!!UN:Cy4/1/?y5; !!UN:Cy3/1/y5;
!!VRy4:+1; !!VRy3:+1;
!!UN:Cy4/1/?y5; !!UN:Cy3/1/y5;

!?PI;  !!VRz100:S^SLUG^;  !!FU25003:P169;
!?GM0; !!VRz100:S^SLUG^;  !!FU25003:P169;

!?FU25003;
!!UN:C4697553/4/?y1;
!!VRy2:S116*x1+y1+8;
!!UN:Cy2/4/?y3;

!!UN:V?y91/?y92;
!!VRy93&y91=358:S40225400;
!!VRy93&y91=359:S9597416;
!!VRy93&y91=400:S9597416;
!!VRy4&y93=0:S0;
!!FU&y93=0:E;
!!VRy4:S100 *512 +y93;

!!UN:Cy4/1/?y5; !!UN:Cy3/1/y5;
!!VRy4:+1; !!VRy3:+1;
!!UN:Cy4/1/?y5; !!UN:Cy3/1/y5;
!!VRy4:+1; !!VRy3:+1;
!!UN:Cy4/1/?y5; !!UN:Cy3/1/y5;
!!VRy4:+1; !!VRy3:+1;
!!UN:Cy4/1/?y5; !!UN:Cy3/1/y5;

!?PI;  !!VRz100:S^DDRA^;  !!FU25003:P151;
!?GM0; !!VRz100:S^DDRA^;  !!FU25003:P151;

!?FU25003;
!!UN:C4697553/4/?y1;
!!VRy2:S116*x1+y1+8;
!!UN:Cy2/4/?y3;

!!UN:V?y91/?y92;
!!VRy93&y91=358:S40225400;
!!VRy93&y91=359:S9597416;
!!VRy93&y91=400:S9597416;
!!VRy4&y93=0:S0;
!!FU&y93=0:E;
!!VRy4:S100 *512 +y93;

!!UN:Cy4/1/?y5; !!UN:Cy3/1/y5;
!!VRy4:+1; !!VRy3:+1;
!!UN:Cy4/1/?y5; !!UN:Cy3/1/y5;
!!VRy4:+1; !!VRy3:+1;
!!UN:Cy4/1/?y5; !!UN:Cy3/1/y5;
!!VRy4:+1; !!VRy3:+1;
!!UN:Cy4/1/?y5; !!UN:Cy3/1/y5;

!?PI;  !!VRz100:S^ARAC^;  !!FU25003:P172;
!?GM0; !!VRz100:S^ARAC^;  !!FU25003:P172;

!?FU25003;
!!UN:C4697553/4/?y1;
!!VRy2:S116*x1+y1+8;
!!UN:Cy2/4/?y3;

!!UN:V?y91/?y92;
!!VRy93&y91=358:S40225400;
!!VRy93&y91=359:S9597416;
!!VRy93&y91=400:S9597416;
!!VRy4&y93=0:S0;
!!FU&y93=0:E;
!!VRy4:S100 *512 +y93;

!!UN:Cy4/1/?y5; !!UN:Cy3/1/y5;
!!VRy4:+1; !!VRy3:+1;
!!UN:Cy4/1/?y5; !!UN:Cy3/1/y5;
!!VRy4:+1; !!VRy3:+1;
!!UN:Cy4/1/?y5; !!UN:Cy3/1/y5;
!!VRy4:+1; !!VRy3:+1;
!!UN:Cy4/1/?y5; !!UN:Cy3/1/y5;

!?PI;  !!VRz100:S^SPUK^;  !!FU25003:P193;
!?GM0; !!VRz100:S^SPUK^;  !!FU25003:P193;

!?FU25003;
!!UN:C4697553/4/?y1;
!!VRy2:S116*x1+y1+8;
!!UN:Cy2/4/?y3;

!!UN:V?y91/?y92;
!!VRy93&y91=358:S40225400;
!!VRy93&y91=359:S9597416;
!!VRy93&y91=400:S9597416;
!!VRy4&y93=0:S0;
!!FU&y93=0:E;
!!VRy4:S100 *512 +y93;

!!UN:Cy4/1/?y5; !!UN:Cy3/1/y5;
!!VRy4:+1; !!VRy3:+1;
!!UN:Cy4/1/?y5; !!UN:Cy3/1/y5;
!!VRy4:+1; !!VRy3:+1;
!!UN:Cy4/1/?y5; !!UN:Cy3/1/y5;
!!VRy4:+1; !!VRy3:+1;
!!UN:Cy4/1/?y5; !!UN:Cy3/1/y5;

!?PI;  !!VRz100:S^ASSI^;  !!FU25003:P192;
!?GM0; !!VRz100:S^ASSI^;  !!FU25003:P192;

!?FU25003;
!!UN:C4697553/4/?y1;
!!VRy2:S116*x1+y1+8;
!!UN:Cy2/4/?y3;

!!UN:V?y91/?y92;
!!VRy93&y91=358:S40225400;
!!VRy93&y91=359:S9597416;
!!VRy93&y91=400:S9597416;
!!VRy4&y93=0:S0;
!!FU&y93=0:E;
!!VRy4:S100 *512 +y93;

!!UN:Cy4/1/?y5; !!UN:Cy3/1/y5;
!!VRy4:+1; !!VRy3:+1;
!!UN:Cy4/1/?y5; !!UN:Cy3/1/y5;
!!VRy4:+1; !!VRy3:+1;
!!UN:Cy4/1/?y5; !!UN:Cy3/1/y5;
!!VRy4:+1; !!VRy3:+1;
!!UN:Cy4/1/?y5; !!UN:Cy3/1/y5;

!?PI;  !!VRz100:S^SATY^;  !!FU25003:P195;
!?GM0; !!VRz100:S^SATY^;  !!FU25003:P195;

!?FU25003;
!!UN:C4697553/4/?y1;
!!VRy2:S116*x1+y1+8;
!!UN:Cy2/4/?y3;

!!UN:V?y91/?y92;
!!VRy93&y91=358:S40225400;
!!VRy93&y91=359:S9597416;
!!VRy93&y91=400:S9597416;
!!VRy4&y93=0:S0;
!!FU&y93=0:E;
!!VRy4:S100 *512 +y93;

!!UN:Cy4/1/?y5; !!UN:Cy3/1/y5;
!!VRy4:+1; !!VRy3:+1;
!!UN:Cy4/1/?y5; !!UN:Cy3/1/y5;
!!VRy4:+1; !!VRy3:+1;
!!UN:Cy4/1/?y5; !!UN:Cy3/1/y5;
!!VRy4:+1; !!VRy3:+1;
!!UN:Cy4/1/?y5; !!UN:Cy3/1/y5;

!?PI;  !!VRz100:S^DRYD^;  !!FU25003:P171;
!?GM0; !!VRz100:S^DRYD^;  !!FU25003:P171;

!?FU25003;
!!UN:C4697553/4/?y1;
!!VRy2:S116*x1+y1+8;
!!UN:Cy2/4/?y3;

!!UN:V?y91/?y92;
!!VRy93&y91=358:S40225400;
!!VRy93&y91=359:S9597416;
!!VRy93&y91=400:S9597416;
!!VRy4&y93=0:S0;
!!FU&y93=0:E;
!!VRy4:S100 *512 +y93;

!!UN:Cy4/1/?y5; !!UN:Cy3/1/y5;
!!VRy4:+1; !!VRy3:+1;
!!UN:Cy4/1/?y5; !!UN:Cy3/1/y5;
!!VRy4:+1; !!VRy3:+1;
!!UN:Cy4/1/?y5; !!UN:Cy3/1/y5;
!!VRy4:+1; !!VRy3:+1;
!!UN:Cy4/1/?y5; !!UN:Cy3/1/y5;

!?PI;  !!VRz100:S^MERM^;  !!FU25003:P170;
!?GM0; !!VRz100:S^MERM^;  !!FU25003:P170;

!?FU25003;
!!UN:C4697553/4/?y1;
!!VRy2:S116*x1+y1+8;
!!UN:Cy2/4/?y3;

!!UN:V?y91/?y92;
!!VRy93&y91=358:S40225400;
!!VRy93&y91=359:S9597416;
!!VRy93&y91=400:S9597416;
!!VRy4&y93=0:S0;
!!FU&y93=0:E;
!!VRy4:S100 *512 +y93;

!!UN:Cy4/1/?y5; !!UN:Cy3/1/y5;
!!VRy4:+1; !!VRy3:+1;
!!UN:Cy4/1/?y5; !!UN:Cy3/1/y5;
!!VRy4:+1; !!VRy3:+1;
!!UN:Cy4/1/?y5; !!UN:Cy3/1/y5;
!!VRy4:+1; !!VRy3:+1;
!!UN:Cy4/1/?y5; !!UN:Cy3/1/y5;

!?PI;  !!VRz100:S^TROL^;  !!FU25003:P168;
!?GM0; !!VRz100:S^TROL^;  !!FU25003:P168;

!?FU25003;
!!UN:C4697553/4/?y1;
!!VRy2:S116*x1+y1+8;
!!UN:Cy2/4/?y3;

!!UN:V?y91/?y92;
!!VRy93&y91=358:S40225400;
!!VRy93&y91=359:S9597416;
!!VRy93&y91=400:S9597416;
!!VRy4&y93=0:S0;
!!FU&y93=0:E;
!!VRy4:S100 *512 +y93;

!!UN:Cy4/1/?y5; !!UN:Cy3/1/y5;
!!VRy4:+1; !!VRy3:+1;
!!UN:Cy4/1/?y5; !!UN:Cy3/1/y5;
!!VRy4:+1; !!VRy3:+1;
!!UN:Cy4/1/?y5; !!UN:Cy3/1/y5;
!!VRy4:+1; !!VRy3:+1;
!!UN:Cy4/1/?y5; !!UN:Cy3/1/y5;

!?PI;  !!VRz100:S^WERE^;  !!FU25003:P194;
!?GM0; !!VRz100:S^WERE^;  !!FU25003:P194;

!?FU25003;
!!UN:C4697553/4/?y1;
!!VRy2:S116*x1+y1+8;
!!UN:Cy2/4/?y3;

!!UN:V?y91/?y92;
!!VRy93&y91=358:S40225400;
!!VRy93&y91=359:S9597416;
!!VRy93&y91=400:S9597416;
!!VRy4&y93=0:S0;
!!FU&y93=0:E;
!!VRy4:S100 *512 +y93;

!!UN:Cy4/1/?y5; !!UN:Cy3/1/y5;
!!VRy4:+1; !!VRy3:+1;
!!UN:Cy4/1/?y5; !!UN:Cy3/1/y5;
!!VRy4:+1; !!VRy3:+1;
!!UN:Cy4/1/?y5; !!UN:Cy3/1/y5;
!!VRy4:+1; !!VRy3:+1;
!!UN:Cy4/1/?y5; !!UN:Cy3/1/y5;

!?PI;  !!VRz100:S^FIRM^;  !!FU25003:P164;
!?GM0; !!VRz100:S^FIRM^;  !!FU25003:P164;

!?FU25003;
!!UN:C4697553/4/?y1;
!!VRy2:S116*x1+y1+8;
!!UN:Cy2/4/?y3;

!!UN:V?y91/?y92;
!!VRy93&y91=358:S40225400;
!!VRy93&y91=359:S9597416;
!!VRy93&y91=400:S9597416;
!!VRy4&y93=0:S0;
!!FU&y93=0:E;
!!VRy4:S100 *512 +y93;

!!UN:Cy4/1/?y5; !!UN:Cy3/1/y5;
!!VRy4:+1; !!VRy3:+1;
!!UN:Cy4/1/?y5; !!UN:Cy3/1/y5;
!!VRy4:+1; !!VRy3:+1;
!!UN:Cy4/1/?y5; !!UN:Cy3/1/y5;
!!VRy4:+1; !!VRy3:+1;
!!UN:Cy4/1/?y5; !!UN:Cy3/1/y5;

!?PI;  !!VRz100:S^EARM^;  !!FU25003:P165;
!?GM0; !!VRz100:S^EARM^;  !!FU25003:P165;

!?FU25003;
!!UN:C4697553/4/?y1;
!!VRy2:S116*x1+y1+8;
!!UN:Cy2/4/?y3;

!!UN:V?y91/?y92;
!!VRy93&y91=358:S40225400;
!!VRy93&y91=359:S9597416;
!!VRy93&y91=400:S9597416;
!!VRy4&y93=0:S0;
!!FU&y93=0:E;
!!VRy4:S100 *512 +y93;

!!UN:Cy4/1/?y5; !!UN:Cy3/1/y5;
!!VRy4:+1; !!VRy3:+1;
!!UN:Cy4/1/?y5; !!UN:Cy3/1/y5;
!!VRy4:+1; !!VRy3:+1;
!!UN:Cy4/1/?y5; !!UN:Cy3/1/y5;
!!VRy4:+1; !!VRy3:+1;
!!UN:Cy4/1/?y5; !!UN:Cy3/1/y5;

!?PI;  !!VRz100:S^AIRM^;  !!FU25003:P166;
!?GM0; !!VRz100:S^AIRM^;  !!FU25003:P166;

!?FU25003;
!!UN:C4697553/4/?y1;
!!VRy2:S116*x1+y1+8;
!!UN:Cy2/4/?y3;

!!UN:V?y91/?y92;
!!VRy93&y91=358:S40225400;
!!VRy93&y91=359:S9597416;
!!VRy93&y91=400:S9597416;
!!VRy4&y93=0:S0;
!!FU&y93=0:E;
!!VRy4:S100 *512 +y93;

!!UN:Cy4/1/?y5; !!UN:Cy3/1/y5;
!!VRy4:+1; !!VRy3:+1;
!!UN:Cy4/1/?y5; !!UN:Cy3/1/y5;
!!VRy4:+1; !!VRy3:+1;
!!UN:Cy4/1/?y5; !!UN:Cy3/1/y5;
!!VRy4:+1; !!VRy3:+1;
!!UN:Cy4/1/?y5; !!UN:Cy3/1/y5;

!?PI;  !!VRz100:S^WATM^;  !!FU25003:P167;
!?GM0; !!VRz100:S^WATM^;  !!FU25003:P167;

!?FU25003;
!!UN:C4697553/4/?y1;
!!VRy2:S116*x1+y1+8;
!!UN:Cy2/4/?y3;

!!UN:V?y91/?y92;
!!VRy93&y91=358:S40225400;
!!VRy93&y91=359:S9597416;
!!VRy93&y91=400:S9597416;
!!VRy4&y93=0:S0;
!!FU&y93=0:E;
!!VRy4:S100 *512 +y93;

!!UN:Cy4/1/?y5; !!UN:Cy3/1/y5;
!!VRy4:+1; !!VRy3:+1;
!!UN:Cy4/1/?y5; !!UN:Cy3/1/y5;
!!VRy4:+1; !!VRy3:+1;
!!UN:Cy4/1/?y5; !!UN:Cy3/1/y5;
!!VRy4:+1; !!VRy3:+1;
!!UN:Cy4/1/?y5; !!UN:Cy3/1/y5;

!?PI;  !!VRz100:S^GHST^;  !!FU25003:P159;
!?GM0; !!VRz100:S^GHST^;  !!FU25003:P159;

!?FU25003;
!!UN:C4697553/4/?y1;
!!VRy2:S116*x1+y1+8;
!!UN:Cy2/4/?y3;

!!UN:V?y91/?y92;
!!VRy93&y91=358:S40225400;
!!VRy93&y91=359:S9597416;
!!VRy93&y91=400:S9597416;
!!VRy4&y93=0:S0;
!!FU&y93=0:E;
!!VRy4:S100 *512 +y93;

!!UN:Cy4/1/?y5; !!UN:Cy3/1/y5;
!!VRy4:+1; !!VRy3:+1;
!!UN:Cy4/1/?y5; !!UN:Cy3/1/y5;
!!VRy4:+1; !!VRy3:+1;
!!UN:Cy4/1/?y5; !!UN:Cy3/1/y5;
!!VRy4:+1; !!VRy3:+1;
!!UN:Cy4/1/?y5; !!UN:Cy3/1/y5;

================================

ZVSE

!?PI;
!?BR&v997=0;
!!VRy1:Sv15;
!!VRv15:S0;
!!DO48491/0/20/1:P0;
!!DO48492/0/20/1&v15=1:P0;
!!VRv15:S0;
!!DO48491/21/41/1:P21;
!!DO48492/21/41/1&v15=1:P21;
!!VRv15:Sy1;
!?BG1;
!!VRy1:Sv15;
!!VRv15:S0;
!!DO48491/0/20/1:P0;
!!DO48492/0/20/1&v15=1:P0;
!!VRv15:S0;
!!DO48491/21/41/1:P21;
!!DO48492/21/41/1&v15=1:P21;
!!VRv15:Sy1;
!?FU48491;
!!BMx16:T?y2 N?y3;
!!VRv15&y2=139/y3>0:S1;    if mon = 139
!!VRx16&v15=1:S42;
!?FU48492;
!!BMx16:N?y1;
!!BMx16&y1>0:G213/d3/d;    give good luck +3

=================================

ZVSE

!#SS56:P200; set frenzy spell power to 200 at beginning of game
!#SS59:P200; set berserk spell power to 200 at beginning of game
!#SS60:P200; set hypnotize spell power to 200 at beginning of game
!#SS61:P200; set forgetfulness spell power to 200 at beginning of game



some notes: creature 170 still has air shield, 171 still has fire shield, and 136 still casts spells(they're hardcoded so i'd need UN:C codes to get rid of those). everything else works how it should.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Salamandre
Salamandre


Admirable
Omnipresent Hero
Wog refugee
posted March 18, 2021 02:29 PM

That script looks like biggest mess ever. It needs deep reorganizing before any possible correction.                

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
fred79
fred79


Undefeatable Hero
My BS sensor is tingling again
posted March 18, 2021 02:35 PM
Edited by fred79 at 14:37, 18 Mar 2021.

exactly what about that script is unorganized? literally everything is paired together, ffs.

besides, the most complex of these i got from people here; including you.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Jump To: « Prev Thread . . . Next Thread » This thread is 11 pages long: 1 2 3 4 5 6 7 8 9 10 11 · «PREV / NEXT»
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.1177 seconds