View Full Version : v1.09 bug - hurry docks


PrinzMyshkin
Apr 01, 2009, 04:14 PM
Try to hurry a unit at the docks. Something odd happens.

Basically consumes money and unit never appears at the docks. :)

Savegame attached.

Dale
Apr 01, 2009, 04:29 PM
. .. .. .. ., I always forget to check the docks. :rant:

Dale
Apr 01, 2009, 04:39 PM
Well that's an embarrasing bug. :blush:

I had the doImmigrant() command within a if (!isHuman()) { .. } check. :lol:

I'll have a fix in 10-15 mins. :)

Dale
Apr 01, 2009, 04:43 PM
Prince try this DLL file (http://rtw.apolyton.net/aod2/AoD2_1.09_DLL.zip)

koma13
Apr 01, 2009, 04:47 PM
I had the doImmigrant() command within a if (!isHuman()) { .. } check.

Is that your new strategy of improving the AI. :D

Dale
Apr 01, 2009, 05:14 PM
Actually yeah, it is one of the new AI "bits" I added for 1.09. ;)

kaibayashi
Apr 01, 2009, 05:39 PM
Lol, 10 mins til i finish dling and already dale's fixed a bug! saves me some hassle!! :)

westamastaflash
Apr 01, 2009, 05:55 PM
never mind.

PrinzMyshkin
Apr 02, 2009, 03:04 AM
No worries, always glad to help. :)

Well that's an embarrasing bug.

You probably haven't seen my codes. :P

PrinzMyshkin
Apr 02, 2009, 03:26 AM
Another bug, but minor, is pirates disband between turns 2-3 and not between 1-2.

Do you think it may get scaled by speed?

Dale
Apr 02, 2009, 04:24 AM
Another bug, but minor, is pirates disband between turns 2-3 and not between 1-2.

Do you think it may get scaled by speed?

AI pirates or human pirates? Also, civ4 engine is wierd in that you can't latch into turn 0. :confused:

PrinzMyshkin
Apr 02, 2009, 04:27 AM
AI pirates.

It is a very minor thing. Do you want the savegame?

Dale
Apr 02, 2009, 07:14 AM
No. What I meant by the civ4 engine thing is you can't control an AI on turn 0. This means the pirates exist for one turn before being removed.

PrinzMyshkin
Apr 03, 2009, 03:57 AM
Dale,

After DLL hotfix, the same bug still exists. Yes, I've started another new game.

I cannot hurry any unit at the docks.

Do you think you may have uploaded a wrong DLL? Does it work for you?

Dale
Apr 03, 2009, 04:56 AM
Works for me, 1.09b (only change from what you got was the DLL).

PrinzMyshkin
Apr 03, 2009, 05:19 AM
New random game.

Can you hurry a guy at the docks here?

Please confirm, hotfix DLL might be the wrong DLL.

EDIT: Please ignore. Found out I had the new DLL as "copy of CvGameCoreDLL.dll"...

Dale
Apr 04, 2009, 05:07 AM
:lol: .

PrinzMyshkin
Apr 04, 2009, 08:46 AM
absolute embarassement, I know :(