The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 66 - File: global.php(961) : eval()'d code PHP 8.0.30 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/global.php(961) : eval()'d code 66 errorHandler->error_callback
/global.php 961 eval
/showthread.php 28 require_once
Warning [2] Undefined property: MyLanguage::$thread_modes - Line: 43 - File: showthread.php(1617) : eval()'d code PHP 8.0.30 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php(1617) : eval()'d code 43 errorHandler->error_callback
/showthread.php 1617 eval




Solved & Confirmed 0.8g - Creatures Attack priority
#1
I had an orc rioting and i noticed that he was really confused about what to attack.

If there were no imps around, they went to attack a building and not even let's say the closest building. Every time the rioting works attacked the bar room they would always go for a certain corner even if they had to traverse the whole room.

Next issue, whenever an imp would pass close to the orc, the orc would try and attack the imp but would fail since the imp would move out of the square too fast. Then the orc would reset his attack again to hit the building, unless there was another imp on the same square, in which case it would try to attack the imp and fail again.
This would lead to the orc resetting his attack 10 or 20 times until all the imps finished passing which i don't think should happen.

Another issue is that i am fairly certain that the rioting orc started digging trough a wall to help other enemy creatures(fishmen) reach the dungeon.

SCREENSHOTS

The first image shows the orc rioting and the second is where the orc went to dig trough the wall in order to reach the fishmen.
Reply
#2
Added to the list of Bugs/Issues & Crashes!
Reply
#3
Do you have a save game with this issue, or is it a one time experience? Is it reproducible?
Reply
#4
This time i actually have a savegame of just before the event took place, follow the orc that is about to turn enemy(next to the prison).

After a couple of attempts he actually started digging to the outside and i managed to grab a screenshot, not before yelling at the imps while trying to attack them a couple of times Smile.
Screenshot
Savegame
Reply
#5
Thank you Smile
Reply
#6
This was perfect, I saw the issue directly. Thank you Smile

The problem was that if the food is to low the creature gets turned into an enemy, the problem was that even enemies can be turned into enemies, and each time that happens the creature will get all the enemy hunting stats reset. Therefore the creature kept on screaming at the imps because they thought it was the first time they saw them because their memory got reset over and over again.

Solved with the next version!
Reply
#7
GreatSmile.
Can you tell me why the orc would start digging in that direction like in the screenshot though?
It seems specific since i was able to get the orc to dig that wall multiple times
Reply
#8
It is the enemy AI, that patch of rock was assigned for the enemies to dig through. It doesn't matter what side of the wall they are on, they will still want to dig it because it is working in the same way as if you would click on a rock for your creatures to dig through.

Normally the creatures would prioritize attacking enemies before digging, but as the orc couldn't target enemies because of his "goldfish memory" he focused on digging.
Reply
#9
Dwelvers Alpha 0.8i released, this bug is now solved but it need confirmation (from players) Smile
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)