Issue with limits mod

Do you need help? Ask here!

Bug reporting belongs here: http://developer.wz2100.net/newticket
Kirschi
New user
Posts: 3
Joined: 07 Jul 2009, 14:45

Issue with limits mod

Post by Kirschi »

Hi!
I am using the limits mod by KukY (v2.0) and Warzone v2.3.3.
Since version 2.3.1 (I think at least, not sure about that now) I cannot use the full 25 research facilities anymore.

Before that it worked like it was intended and it showed me 5 reseach tabs (5 facilities each),
but now i can only use a maximum of 15 facilities any more (it just shows me 3 tabs, whatever amount of research centers I build).

Another weird thing is, when I click on one of the additional facilities (15+) it just selects a random one from the working/first 15 ones.


Thanks in advance!
-K!RSCH!-
KukY
Regular
Regular
Posts: 1859
Joined: 20 Mar 2009, 21:56

Re: Issue with limits mod

Post by KukY »

While making my mods, I oftenly came to interface limitations, but this always worked for me.
I'll check it in 2.3.3, and report back.
KukY
Regular
Regular
Posts: 1859
Joined: 20 Mar 2009, 21:56

Re: Issue with limits mod

Post by KukY »

Yes, this is a bug in WZ.
It think it should be fixed by editing value at line 38 in hcl.h.
Tried that, but then game gives me an error that there are too many object buttons every time I try to open research menu:

Code: Select all

error   |12:09:30: [intAddObjectWindow] Too many object buttons
error   |12:09:30: [intAddObjectWindow] Assert in Warzone: c:\wz\trunk\src\hci.c:4899 (sBFormInit.id < 3021), last script event: 'N/A'
Other then that, everything works just fine. But the error popups are annoying.
Kirschi
New user
Posts: 3
Joined: 07 Jul 2009, 14:45

Re: Issue with limits mod

Post by Kirschi »

Thank you very much for your quick reply KukY :)

I'll try it with your suggestion and compile a custom WZ.
Or maybe i will revert to an earlier version.
-K!RSCH!-
Kirschi
New user
Posts: 3
Joined: 07 Jul 2009, 14:45

Re: Issue with limits mod

Post by Kirschi »

With your suggestion I was able to compile a custom version (2.3.3) and it worked partially :)

It was possible now to utilize 20 research facilities (maximum of 4 tabs are shown), even though i set that constant to 25.
And when i click directly on one of the additional buildings, the reseach window just closes... :hmm:

I searched in the code region around that assertion, but I was not able to find a clue or another limitation...

Did it completely work with trunk?
-K!RSCH!-