Mistral

  • Grunt
  • ***
  • Posts: 79
    • View Profile
War2Mod development log
« on: April 30, 2021, 06:38:33 PM »
some ppl asked about it so i will just put it there.
p.s. i started writing this 30.04.2021 and i not remember exactly all old things that happened and exactly when.
so some old dates can be little wrong and maybe i not remembered all, but most should be ok.

CHANGELOG:
07.05.2021
War2mod v1.75
optimized mod file size
optimized code
fixed some crashes
/---------------------------------------------------------------------------------------------------/
04.05.2021
War2mod v1.74
fixed order trigger
fixed spellcasting orders
War2 Triggers Editor v1.1a
fixed orders trigger lists
/---------------------------------------------------------------------------------------------------/
03.05.2021
War2mod v1.71
found unused values stored in saved game files
GlobalVals number changed from 256 to 16
now GlobalVals not changes between game save/load
War2 Triggers Editor v1.1
added custom names to Values and Flags
fixed default value in msgbox
fixed text in msgbox
/---------------------------------------------------------------------------------------------------/
02.05.2021
War2mod v1.7
found orders functions
added trigger 6.12 "give order"
War2 Triggers Editor v1.1
Restrictions table added lists
Stats reworked
Stats added lists
/---------------------------------------------------------------------------------------------------/
01.05.2021
War2mod v1.60.96
super secret function fixes...
/---------------------------------------------------------------------------------------------------/
30.04.2021
War2mod v1.60.92
super secret function fixes...
started writing THIS log file
/---------------------------------------------------------------------------------------------------/
29.04.2021
War2mod v1.60.7 - v1.60.9
Reworked and recompiled all code
now can be compiled using both MS_VS and gcc
using gcc compiler fixed game crashes on old processors
fixed rally point trigger
fixed tower control game crash bug (its actually fixed itself accidentially LOL)
removed "fix towerbug" trigger
some bug fixes...
super secret function fixes...
/---------------------------------------------------------------------------------------------------/
28.04.2021
War2mod v1.60.5 - v1.60.6
singeplayer bugs fixes...
singeplayer "tigerlily" cheat fix
some bug fixes...
super secret function fixes...
/---------------------------------------------------------------------------------------------------/
27.04.2021
War2mod v1.60.1 - v1.60.4
some bug fixes...
super secret function fixes...
War2 Triggers Editor v1.0 RELEASED
/---------------------------------------------------------------------------------------------------/
end of april 2021
War2mod v1.60.0
returned singeplayer plugin functional
now can enable trigger in singleplayer campaigns or custom missions
optimized mod load functions
added trigger 90 "easy multicast"
added trigger 91 "one sided ally"
added trigger 92 "one sided viz"
changed "create 1 unit" trigger to "create VALUE[N] units" (trigger 19)
some bug fixes...
super secret function fixes...
working on program - War2 Triggers Editor v0.99 (lesnik helped very much)
/---------------------------------------------------------------------------------------------------/
mid of april 2021
War2mod v1.58.1 - v1.59.8a
added super secret function
some ppl abused 5 sec - changed to 15 sec drop laggers
added trigger 88 "fireshield flyers"
added trigger 89 "more resources"
found game chat writer funtion
changed old res exchange trigger - bring peon to TH
now player writes in chat "/send <amount> <resource> <color>" ex: /send 100 gold red
some bug fixes...
working on program - War2 Triggers Editor v0.96
/---------------------------------------------------------------------------------------------------/
start of april 2021
War2mod v1.55 - v1.57.2
some crashes reported - trying to fix
added 5 sec drop laggers
found map cells tables
found map region tables
found create building function
found building finished function
added trigger 75 "build goldmine"
added trigger 76 "grow forest"
added trigger 77 "rally point"
added trigger 78 "no random damage"
added trigger 79 "blood x2"
added trigger 80 "allow speed change"
added trigger 81 "slow aura"
added trigger 82 "death aura"
added trigger 83 "defence aura"
added trigger 84 "vampire aura"
added trigger 85 "prevent loss"
added fireshield to prevent loss
added trigger 86 "hide"
added trigger 87 "fist TH fix" (from original War2 Combat fix)
MANY bug fixes...
working on program - War2 Triggers Editor v0.9
/---------------------------------------------------------------------------------------------------/
in mid-end of march 2021....
....did nothing
just sit home and played .hack//G.U. (completed on 100% with all achievements LOL)
and Assassin's creed odyssey (completed this on 100% too LOL)
LOL LOL LOL
War2mod are still v1.54.1a
was some very small bug fixes... but thats all
War2 Triggers Editor are still v0.8
/---------------------------------------------------------------------------------------------------/
start of march 2021
War2mod v1.5 - v1.54.1a
many crashes reported - returned back to standart dll load
some bug fixes...
working on program - War2 Triggers Editor v0.8
/---------------------------------------------------------------------------------------------------/
end of feburary 2021
War2mod v1.4 - v1.49a
optimized mod load mechanics (Fois helped)
now auto update and load without game restart
changed to hide dll load
found player who sended packet
found way to make custom buttons functions
removed old way of autoheal - paladins standing near church
added button for enable/disable autoheal in church
removed building attack peons from TH
added button transforming peons to attack peons in TH
some bug fixes...
working on program - War2 Triggers Editor v0.7
/---------------------------------------------------------------------------------------------------/
start-mid of feburary 2021
War2mod v1.25b - v1.36x
found cheat packets function
new antihack functions *
*anti build hack - peon dies when hacker tries build forbidden building
(ex: he tried build mage tower but he only have tier 1 TH)
*anti spell hack - mage polymorphed themself when trying to cast forbidden spell
*anti cheat codes - if hacker using singleplayer cheat hack then all his units dies instead of enabling cheat
(you can safely enable cheats if you hosting map with "enable cheats" trigger from War2Mod channel)
found random damage
found bloodlust changing damage
found speed change in multiplayer
fixed chat in trigger 74 Ogre-mode
some bug fixes...
working on program - War2 Triggers Editor v0.5
/---------------------------------------------------------------------------------------------------/
january 2021
War2mod v1.1 - v1.22a
end of beta tests on main war2.ru server
now mod officially released on server
found hosted game name
game name changes when hosted from "War2Mod" - added red TRIG
now only hoster must be from channel - other players can join from any place
found update spells (super useful original war2 function and very fast - its changed all)
fixed runestones laggy behaviour
fixed laggy portals
now portals not sucked units inside automatically - player can click on portal
now portals work instantly
fixed laggy allied transports and game crashes
now transports not sucked units inside automatically - player can click on transport
allied computer units still sucked inside automatically with intervals
fixed laggy res exchange
fixed laggy wharf repair
fixed laggy autoheal - now instant
found way to give orders of other computer player units
found MANY control functions
added trigger 74 "Two-Head-Ogre-mode control"
trigger 104 "campaign map" now forcing resources and tileset to map def
added trigger 106 "forced race"
found learned spells table
MORE bug fixes...
/---------------------------------------------------------------------------------------------------/
end of december 2020
War2mod v0.9
fully changed to server side
starting beta tests on main war2.ru server
received hooks codes from Fois
added auto write lobby message
now triggers enabled when all players in room writted message with mod version
found attack priorities function
added trigger 71 "fix towerbug"
added trigger 72 "check local player color"
found allowed units table
found allowed upgrades table
found allowed spells table
added trigger 73 "allow tables"
found units multiselectable tables
fixed demon multiselectable
fixed demon stats not showed
found unit creating from building function
added rally points to "War2Mod" game type
added tower control to "War2Mod" game type
added fast regen for Zuljin to "War2Mod" game type
added hide for Alleria to "War2Mod" game type
added vampire aura for Lothar/Kargath to "War2Mod" game type
added prevent loss for Dentarg to "War2Mod" game type
added defence aura for Tyralyon
autoheal cost 1 mana for Uter in "War2Mod" game type
Chogal always have bloodlust enabled in "War2Mod" game type
added slow aura for Hadgar to "War2Mod" game type
found raise dead spell function
added death aura for Teron to "War2Mod" game type
MANY bug fixes...
/---------------------------------------------------------------------------------------------------/
mid of december 2020
War2mod v0.8
now not just only plugin
but going to be server sided
Triggers now enabled only when all players joined from "War2Mod" channel
starting beta tests on backup war2.ru server
found map loading functions
found units damage tables
found units armor tables
found units vision tables
found units cost tables
found units range tables
added "War2Mod" game type when loading map without triggers
added trigger 6.9 "give units"
added trigger 6.10 "sort number"
added trigger 58 "heroes"
added trigger 59 "autoheal" (slow and laggy)
(old way - paladins staning near church, more paladins - less mana cost)
added trigger 60 "ally all"
found spells functions
added trigger 61 "fireball dmg"
added trigger 62 "buffs time"
added trigger 63 "allied transport" (laggy and sometimes game crash)
added trigger 64 "exhange res" (old way - move peon to ally TH)
added trigger 65 "can build runestone"
added trigger 66 "can build portal"
added trigger 67 "can build circle"
added trigger 68 "can build attack peons in th"
added trigger 69 "steal resources"
added trigger 70 "manaburn"
added sheeps gives 1 gold and 1 lumber each call to "War2Mod" game type
added manaburn to "War2Mod" game type
added steal res to "War2Mod" game type
some bug fixes...
/---------------------------------------------------------------------------------------------------/
start of december 2020
Name changed - new official name are "War2mod"
War2mod plugin v0.7
found map land tables
found check mtx passable
found unit place/unplace
added trigger 6.8 "move all"
added trigger 51 "portals" (very slow and laggy)
added trigger 52 "repair catapult"
added trigger 53 "wharf repair ships"
added trigger 54 "portal only for allies"
added trigger 55 "portal only for mages"
found safe way to enable singleplayer cheats in multiplayer
added trigger 56 "enable cheats"
added trigger 57 "create demon from circle"
some bug fixes...
/---------------------------------------------------------------------------------------------------/
end of november 2020
War2Plugin v0.6
found av tables
added check_ally
added check_av
added trigger 41 "runestone" (restored from old byte code)
added trigger 42 "runestone runes" (8 effects)
found upgrades table
added trigger 43 "upgrade power"
added TIMERS
added trigger 44 "timer"
added trigger 45 "check opponets"
added trigger 46 "allied comp aggro"
added trigger 47 "check ally"
found capture function
added trigger 48 "capture low hp buildings"
added trigger 49 "only peon can capture"
added trigger 50 "main base capture"
added trigger 104 "campaign map" (can only be played in UMS)
added trigger 105 "check previous map" (instant defeat if previous was not completed)
(completed campaign maps saved in file record.save)
optimized loading trigges from map
some bug fixes...
/---------------------------------------------------------------------------------------------------/
mid of november 2020
War2Plugin v0.5
added trigger 33 "IF false"
added trigger 34 "set resources"
added triiger 35 "compare resources"
found game chat memory
added trigger 36 "clear chat"
added trigger 37 "show message"
added trigger 38 "speedhack"
found damage function
found only Hadgar can damage portal
added trigger 39 "damage groups"
found repair function
added trigger 40 "repair all"
added trigger 103 "triggers speed"
some bug fixes...
/---------------------------------------------------------------------------------------------------/
start of november 2020
War2Plugin v0.4
(new name "War2Mod") (not fully accepted yet)
added trigger 26 "change resources"
found way to manually change buttons for units
added trigger 27 "build sheep from farm"
added trigger 28 "new build button for peon"
added way to build runestone
added way to build portal
added way to build circle of power (peon will be stored inside forever)
added trigger 29 "call default kill all mission obj"
added trigger 30 count units in list
found manacost table
added trigger 31 "manacost"
found camera coords
added trigger 32 "center view"
added check if building completed
added trigger 6.7 "sort completed"
found show video function
added trigger 101 "victory + video"
added trigger 102 "defeat + video"
some bug fixes...
/---------------------------------------------------------------------------------------------------/
end of october 2020
War2Plugin v0.3
added FLAGS
added trigger 21 "set flag"
added trigger 22 "IF"
added trigger 23 "END IF"
added trigger 24 "victory"
added trigger 25 "defeat"
found flameshield function
added trigger 6.5 "flame all"
added trigger 6.6 "heal all" (function for heal created manually)
some bug fixes...
/---------------------------------------------------------------------------------------------------/
mid of october 2020
War2Plugin v0.2
added trigger 10 "comps vision"
added GLOBAL_VALUES
added trigger 11 "save value to global"
added trigger 12 "load value from global"
added trigger 13 "value + value"
added trigger 14 "value - value"
added trigger 15 "value * value"
added trigger 16 "value / value"
added trigger 17 "value % value"
added trigger 18 "units convert"
added trigger 19 "create 1 unit"
added trigger 20 "create X units"
added trigger 6.2 "sort stat"
added trigger 6.3 "set stat"
found unit_kill function
added trigger 6.4 "kill all"
some bug fixes...
/---------------------------------------------------------------------------------------------------/
start of october 2020
War2Plugin v0.1
added VALUES
added trigger 5 "set value"
added region
added units list
added check if unit dead
added trigger 6.0 "find all alive units"
added trigger 6.1 "sort units in region"
added trigger 7 "get value from count tables"
added trigger 8 "compare values"
added trigger 9 "set region"
created program for triggers easy editing and saving in map
/---------------------------------------------------------------------------------------------------/
september 2020
birth of new plugin (working name - "War2Plugin") v0.01
found way to store triggers in PUD (in unused OILM section)
created simple parser for triggers
added trigger 1 "show victory table"
added trigger 2 "mission objective text"
added trigger 3 "ally"
found viz tables
added trigger 4 "viz"
added trigger 100 "briefing in multiplayer"
/---------------------------------------------------------------------------------------------------/
august 2020
tried to modify war2 exe manually
created hardcoded form of triggers with byte code
found local player
found list of all units
found resources tables
found ally tables
created old form of runestone trigger
/---------------------------------------------------------------------------------------------------/
first half of 2020....
.... did nothing
/---------------------------------------------------------------------------------------------------/
december 2019
created program for small changes in victory conditions
/---------------------------------------------------------------------------------------------------/
october 2019
found victory conditions table changes
found addresses of units count tables
/---------------------------------------------------------------------------------------------------/
august-september 2019
found victory conditions function of war2