Page 14 of 20

Re: KaM Remake nightly build

PostPosted: 27 Jan 2014, 18:59
by andreus
we found a bug: remake copies recruits to all player's barracks! when recruit goes to one of barracks he appears in 2nd too! when you equip soldier in 2nd barracks you get an error.

Re: KaM Remake nightly build

PostPosted: 27 Jan 2014, 19:01
by vovets1
replay - http://yadi.sk/d/swfn52f1FbbJy
I sent a bug report

Re: KaM Remake nightly build

PostPosted: 27 Jan 2014, 19:12
by T*AnTi-V!RuZz
i'ts hard to explain but i want to add the replay but get this error while trying to upload it.
Sorry, the board attachment quota has been reached.
Thanks, should be fixed.

Re: KaM Remake nightly build

PostPosted: 30 Jan 2014, 12:08
by pawel95
I wanted to make a next small report about the cities, that the ai makes alone in the newest nightly r6136.

The ai seems quite good and better than before actualy.Specialy the woodproduction looks awesome at some games. However I want to mention some things here, that doesn´t work well yet:

-Ai don´t go for gold quite often, if the gold mountain is a bit far from their storehosue
-Ai goes way too fast for iron(When he goes for gold, then after his ironbuildings and barracks are finished :D / Should be after the 1st farm for example)
-Ai places too few coal mines. Like my last point, there were good ai players that had iron after 25 min, but together with gold they would need like at least 6 coal mines, they had one coal mine :mrgreen:
-Farm ratio seems not good set(One time an ai made 1 swinefarm and 1 mill why he had only 1 farm yet / another time he had like 1 stable,1swinefarms and 1 mill with like 2 farms(he would need like double of that))

So just as small notes :-)


Pawel

Re: KaM Remake nightly build

PostPosted: 01 Feb 2014, 14:39
by vovets1
Server crashed =((

Re: KaM Remake nightly build

PostPosted: 05 Feb 2014, 05:15
by Lewin
i had a strange bug whit a builder. when playing on across the dessert(single player).

the builder was done flatting a other stonemason when he was supposed to build another stone mason or dig the road near my woodcutter. but instead of doing that he stood there behind 2 other builder who were waiting for stone.(i was out of stone).
Thanks for the report! However, that's not a bug really. The builder is trying to walk off the construction site before he looks for a new job (you will see his task is still "flattening house site"). If all the tiles around where he finishes digging (top left) are taken or blocked, then he will walk to below the entrance which will become free sooner or later. Usually it doesn't matter if he has to wait a moment for that labourer to move but in this case you had run out of stone so you needed that labourer to build the stonemason. It's hard to handle every possible case when getting the labourer off the construction site (the entire site could be surrounded by labourers) so I don't think we need to change anything. The situation you showed is extremely rare, and can be easily fixed by training another labourer at the school.
we found a bug: remake copies recruits to all player's barracks! when recruit goes to one of barracks he appears in 2nd too! when you equip soldier in 2nd barracks you get an error.
I'm struggling to reproduce this bug, even after looking at your crash reports. Can you give me some more details? Does it copy the recruit when it is trained from the school, or when you add it from the map editor, or when you add it from dynamic script?

Thanks for reporting that the server crashed, I've restarted it and I'll see if I can figure out what went wrong.

Re: KaM Remake nightly build

PostPosted: 05 Feb 2014, 09:53
by andreus
check vovets' barracks at 18th-19th minutes, also you can see some recruits going to inn:

Image

not too much recruits? when game started there were 15 recruits...

Image

Maybe this bug happens when recruits from this tower-protected barracks go to inn?

Re: KaM Remake nightly build

PostPosted: 05 Feb 2014, 10:30
by Lewin
Thanks andreus, I fixed it :)
The problem was that when you placed the recruits directly inside the barracks, they did not know that they were in the barracks (I forgot to set that) so when they walked out to go eat they were not removed from the list. So when they came back inside they were listed in the barracks twice, causing a crash when you tried to use these duplicated recruits.

Re: KaM Remake nightly build

PostPosted: 06 Feb 2014, 18:46
by andreus
Another problem, with script that I made for remake (UnitBlock).
When I tested it in SP it worked well but in MP it seems to work incorrect, causing bugs:
I made script which unlocks certain soldiers for certain score, smth like this:
  Code:
for I := 0 to 3 do if Scores[I] >= 50 then if not Unlocked[I][19] then begin Actions.UnitBlock(I, 19, False); Actions.ShowMsgFormatted(I, '<$3>', [States.UnitTypeName(19)]); Unlocked[I][19] := True; end;
When one of players gets 50 points he can equip lance carriers; other players which have less points can't. When this player equips lance carriers game crashes... Maybe I did not take into account something when wrote script code for remake :$

Re: KaM Remake nightly build

PostPosted: 07 Feb 2014, 00:01
by Lewin
Can you please send a crash report or give me more details about the error? I don't see how that can cause a crash, even if it did allow them to equip a blocked soldier it should just silently block it not crash. Maybe the crash is still related to the error with recruits added to the barracks at the game start going to eat?

Re: KaM Remake nightly build

PostPosted: 07 Feb 2014, 10:14
by andreus
In MP, if player N can equip certain soldiers and other players can't, when player N equips this soldier game crashes with error: Random check mismatch for tick 2411 from player N processed at tick 2411 (C:\Projects\KaM Remake Trunk\src\KM_GameInputProcess_Multi.pas, line 278) (copied from log). I have replay but it saved one tick earlier before I equip lancers (lancers unlocked only for me).

maybe it's already fixed in r6152 :P

Re: KaM Remake nightly build

PostPosted: 07 Feb 2014, 11:43
by Lewin
In MP, if player N can equip certain soldiers and other players can't, when player N equips this soldier game crashes with error: Random check mismatch for tick 2411 from player N processed at tick 2411 (C:\Projects\KaM Remake Trunk\src\KM_GameInputProcess_Multi.pas, line 278) (copied from log). I have replay but it saved one tick earlier before I equip lancers (lancers unlocked only for me).

maybe it's already fixed in r6152 :P
Ah thank you, I understand now. I've fixed it in r6156 :)

Re: KaM Remake nightly build

PostPosted: 08 Feb 2014, 12:38
by Krom
@Lewin: I suggest to make first post sticky and keep there a link to newest nightly version (since we can not use Google.Code for hosting a list of nightlies)

Re: KaM Remake nightly build

PostPosted: 11 Feb 2014, 08:47
by pawel95
A bit offtopic guys, but I have read about your problem with the google site(changed rules/no new downloads uploadable) and while writing on the OBS forum(which is a 100% free program) I found this interesting site:

http://sourceforge.net/

Maybe you know it already, but it seems like you can share/upload/publish everything what you want, at least your project/game is free. Maybe take a look at it, if you don´t know the site yet and are searching for a nice uploader+project site :wink:
(Example of a nightly/daily list of downloads: http://sourceforge.net/projects/obsproj ... 0versions/ )

Re: KaM Remake nightly build

PostPosted: 16 Feb 2014, 05:14
by Hargon
Is possible to implement "Hot keys" to KaM buildings? It would be nice click "B" (=open building menu) and then click for example "S" (=build school). Soldiers have hotkeys too.