Log in

View Full Version : Very annoying province defence bug...help please?


Nerfix
November 16th, 2006, 05:30 PM
Hey, while testing Sar Elad mod Agrajag noticed that the province defence is bugged. so it's my responsibility to fix it, but I have no idea what's wrong.

Code is here:

-- Province Defence --

#defcom1 2975
#defcom2 2985

#defunit1 2998
#defunit1b 2997

#defunit2 2991
#defunit2b 2994

#defmult1 20
#defmult1b 20

#defmult2 20
#defmult2b 20

It seems that only defunit2b is working out of all those. Or perhaps it was defunit2...gah...

Johan K
November 16th, 2006, 06:48 PM
I took a look at it and it doesn't work with mult1b or mult2b = 20.

Agrajag
November 17th, 2006, 06:26 AM
This is wierd, I randomly changed the values to:

#defmult1 18
#defmult1b 24

#defmult2 22
#defmult2b 24

And of all of those only #defmult1 doesn't work.
I'm going to do a little more fiddling around with numbers, see what makes this thing work.

Also, Nerfix, you wrote both Havay's attack sprite as pesanta instead of peasenta. And I also fixed all the little purple pixels, so contact me when you can.

Nerfix
November 17th, 2006, 03:16 PM
Thanks guys.