Page 6 of 10

Re: z Age of Wonders 4

Posted: Mon May 22, 2023 11:39 am
by ichthyic
Eevi wrote:
Wed May 03, 2023 1:29 pm
Ah okay, it seems to make you basically infinitely attack over and over again with the same unit when in combat, which is interesting and pretty OP to win battles you'd be screwed in otherwise xD But also sadly seems to cause crashes pretty unpredictably so I guess it's more of a bug than a feature.
Turns out you need to have the function enabled BEFORE you go into combat. after you finish your first turn, turn it off, then let the ai do its turn. Then turn it back on again whenever it is your turn. You will not get the infinite loop crash bug this way.

Re: z Age of Wonders 4

Posted: Mon May 22, 2023 11:39 am
by ichthyic
Atros wrote:
Sun May 21, 2023 8:21 pm
Seems like you can get the 'Unit Tooltip Pointer' script to actually execute by changing in the line "aobscanmodule(unitTooltip,$process,8B 80 ?? ?? 00 00 C3 CC 48 83 ?? ?? 48 8B)" the hex adress "83" into "8B", but the unit parameters still remain question marks (and if you have the tooltip and unit card on while you do the change and run the script, the game crashes).

Has somebody (besides the creator) actually got the Unit Tooltip Pointer to actually work? I would appreciate little help here.
No, it is not working.

Re: z Age of Wonders 4

Posted: Mon May 22, 2023 3:46 pm
by Zanzer
Maybe you'll have better luck with the Unit Inspect Pointer

Re: z Age of Wonders 4

Posted: Tue May 23, 2023 8:07 pm
by Atros
Zanzer wrote:
Mon May 22, 2023 3:46 pm
Maybe you'll have better luck with the Unit Inspect Pointer
That works perfectly, thanks.

The tooltip pointer script still won't accept to run, just thinks for a second and never accepts to check the checkbox (WO that previously mentioned hex-change). Not that it matters now anymore, just FYI.

On a second thing, the city cap, W-stone number and WM casting points seem to reset after every reload, so would it be possible to change the "base" number instead, or is that hard coded on the files?

Also the three city pointers stop working if your city has reached population limit, either the one limited by food income or the 30 pop hard limit. Tested this multiple times and once the "Attract population" goes cold while having still imperium left, the pointers start to show "0" or random numbers (50/1000/10 for me multiple times).

Also I wouldn't mind if you could find out the Empire Development cooldown counter, so you could mess with it from turn 1.

Re: z Age of Wonders 4

Posted: Wed May 24, 2023 4:54 am
by xacegod
City population is limited in code to 30, you can install mod to increase this to higher number.

Max spell casting amount is calculated based on tomes and traits, thus I think this is a waste of time for Zanzer to do. You get the desired cheat either way. So to explain with rough example: base casting points is 10, you have trait that gives 10, and research tome that gives 5, so total is 25, you researched 10 more tomes that is 25 + 10 * 5 = 75, this is max casting or the one you see. Then if you own any province improvements or resources this can go higher.
Editing any of these is harder and more work, than just editing the result that is used later in all calculations. Once the game reloads the calculation is ran again and the values are reset to default since the code itself is not changed.
If you insist on changing how code runs, it's simpler to create a mod and give yourself a trait that will give you +10000 or whatever base spell casting points, otherwise I would not recommend adding these features.

Re: z Age of Wonders 4

Posted: Thu May 25, 2023 4:44 pm
by Rebelicious
We could use a way to change the race of cities and modify alignment.

The game is bugged in that releasing a conquered city as a vassal reverts to the city's original race, even if you've previously genocided them.

Re: z Age of Wonders 4

Posted: Sun May 28, 2023 6:58 am
by Atros
Rebelicious wrote:
Thu May 25, 2023 4:44 pm
We could use a way to change the race of cities and modify alignment.
Allignment is +27A8 on Select Owner-group. Negative numbers are shown (4294967296 - [negative allignment]) and you need to save game and load for it to take effect, but it is reset after turn change.

You can use one scout to prospect multiple tiles by just restoring the MP afterwards and you can also scout stuff ahead and then reload, since the outcome doesn't seem to change (turn change and different order tested). You can also excavate and restore movement, but if you touch the excavate-button again, it will just cancel the excavation, since it needs a turn to complete. Still allows you to move scout where needed, instead of standing next to a wall.

Re: z Age of Wonders 4

Posted: Wed May 31, 2023 4:21 am
by ichthyic
"Unit Inspect Pointer"

Have been playing with this, and changes to stats like defense and resistance reset after every combat.
Any workaround?

Re: z Age of Wonders 4

Posted: Thu Jun 01, 2023 12:53 am
by bigblue1981
Tried both functions for "unit tooltip pointer" and "unit inspect pointer" neither works.

Re: z Age of Wonders 4

Posted: Thu Jun 01, 2023 1:47 am
by Zanzer
I don't know. Both still work fine for me.
You using some trainer or mod or something else?

Re: z Age of Wonders 4

Posted: Sat Jun 10, 2023 2:00 pm
by Atros
It would probably help if people posted their version number and game platform (win/linux/steam/gog/etc). This would make it easier to recognize patterns with the problem.

By the way, has anybody found out a way to find the empire development cooldown counter or the outpost improvement construction turn counters?

Also is there a way to re-shuffle the signature skills when the game gives you pure crap as every choice?

Re: z Age of Wonders 4

Posted: Tue Jun 20, 2023 1:12 pm
by zupa1973
v1.003.002.80167 and Dragon Dawn released, but I think some cheats still work.

Re: z Age of Wonders 4

Posted: Wed Jun 21, 2023 12:57 am
by gorgutzer
most not working like city pointers etc.

Re: z Age of Wonders 4

Posted: Sat Jun 24, 2023 2:45 pm
by DonavanH
Most of the codes are working but the Panteon one appears to not be functioning in the newest patch.

Re: z Age of Wonders 4

Posted: Sun Jul 02, 2023 8:32 am
by LuaWasTaken
Needs an update for latest version with Dragon Dawn