Re: KaM Remake nightly build
PostPosted: 11 Jan 2014, 18:44
Name OnPlanField and OnPlanWinefield need to be swapped, now OnPlanField is for Vinefield xDD
Talk about Knights and Merchants!
https://knightsandmerchants.net:443/forum/
https://knightsandmerchants.net:443/forum/viewtopic.php?t=1891
Name OnPlanField and OnPlanWinefield need to be swapped, now OnPlanField is for Vinefield xDD
Now i have more crashes than before when i copy landscape (tooken from the same map) to an other position. i sended the crash-reports, so that you know it more detailed.
Its a kinda old bug, after this (its in Event OnHouseDestroy): the created house lost his "way block", and you can cross house with units easily.
without Actions.HouseDestroy(aHouseID, true); next script GiveHouse doesnt work and ddint give any log ( in HouseDestroy event)
OnUnitKilled and OnHouseDestroyed were never designed as "Now this entity is gone and you can replace it with something else". They were designed as "This entity is about to be destroyed, do you want to do anything before I wipe it from the game and the ID becomes invalid?". But I can see the use in replacing something as soon as it is destroyed. Maybe we need two more events OnHouseAfterDestroyed and OnUnitAfterKilled(Type, Owner, X, Y: Integer); which would be called after they have been completely wiped from the game so you could replace them with something, but because of this they could not provide you with an ID to use states like HouseType (although I guess they could still provide the ID so you can compare it with variables you have saved, but states like HouseType wouldn't work). Do you think this would be a good solution?
Sort of bug: if I am host, and I make someone else host, my status is marked as 'ready' while I never pressed it. I think it should be 'not ready' by default.
Found a problem in map editor:
When I load a mission (for example first mission of fed of neryn) and if there is a player without any units, houses and so on, the editor deletes the player while saving the map. In this case there is player 8 who will geht a knight by script later. Doen't work anymore cause player 8 is deleted.
what happens when I press F10 in game or map edit?
Hello i have a problem.
This week i did everything what I must do and I set the nightly on my pc,
Now when I opened the nightly it starts the nightly for 2 sec and then it stops and it gives me a error raport.
I don't know what the problem is so can someone helpme?