• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Some monsters wont attack player TFS 1.4

Do you use a clean TFS 1.4?
For sure, not "clean tfs 1.4"
And they probably sleeping xD
Like snorks, or dementors.
Write here, what you changed in the source.
"Nope, it’s not clean. 😅 I think I messed something up when I implemented a dungeon system, but I’m not sure which source file I should look into. It was a pretty big commit to follow. I was hoping it was just a broken Lua script… but I guess I’m not that lucky, hehe, 😅
Does anyone know which source files handle creature behavior? I assume it's mostly in creature.cpp, but are there any other relevant source files I should check as well?"

I will be grateful/pay for a solution ofc.
 
"Nope, it’s not clean. 😅 I think I messed something up when I implemented a dungeon system, but I’m not sure which source file I should look into. It was a pretty big commit to follow. I was hoping it was just a broken Lua script… but I guess I’m not that lucky, hehe, 😅
Does anyone know which source files handle creature behavior? I assume it's mostly in creature.cpp, but are there any other relevant source files I should check as well?"

I will be grateful/pay for a solution ofc.

Didn't you setup github with your changes?
 
Seems like onCreatureAppear issue that doesn't detect the player movement but detects the creature movement to initiate the onCreatureAppear, i would look into canSee function and thoroughly debug the onCreatureAppear of creature.cpp and player.cpp
 
Didn't you setup github with your changes?
nope, i just followed commit and did it locally on comp..
Post automatically merged:

Seems like onCreatureAppear issue that doesn't detect the player movement but detects the creature movement to initiate the onCreatureAppear, i would look into canSee function and thoroughly debug the onCreatureAppear of creature.cpp and player.cpp
ty, gonna test that
Post automatically merged:

Do you use a clean TFS 1.4?
No :( xD
 
That's bad....
I would suggest you to setup a github then you can track everything you changed
It's really useful
Im gonna do that next time I if i have to start over on a clean source "project" ^^ had been easier to search the fault then... I never used Git in that way before, but I see alot of people do that, but im new in this one
 
Last edited:
Back
Top