• 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!

Large Tfs Bug

Jgarder

Tprogramming Ex-Adm|n
Premium User
Joined
Jun 7, 2007
Messages
355
Reaction score
3
Location
Michigan
---------Bug#1---------
Title = monster Through walls!
How often reported = On my server, with my monster scripts, VERY often under circumstances.
Problem with = To my knowledge the error is in the Monster Combat system, they are most likely making weird calls to use distance or perhaps walk to you even though impossible
Description = This is the setup on my server, if elf arcanist are Inside a closed box of walls with no windows or doors, Then a player walks by, the arcanist go wild with movement, CPU usage rams up to 50% (100% of 1 core), lag, and all that. player walks away. Problem solved.
the lag still happens when the arcanist are attacking a GM's summons. so it happens even when targeting npm's
Other information =((If you test this arrnagement and find it false, i shall supply neccesary files for error corrections))
Suggestions = Go with a fail safe. If there is no path to walk to the target, nor if there is even a path to fire. make sure both return False and Dont attempt to fire and cause race conditions (which is what i beleive this is, its infinatly waiting for something and its not coming back true)
----------------------------------------------------------------

Hey Talaturen, I hope im being helpful reporting all my bugs :O i would much like being in any credits you have as "bug testers" :) because i like being in credits alot >=).. false sense of ability
 
Very well explained... and i also have another example within shootable walls...(walls with holes) Windows or fences! the same lag occurs
 
Oh my god you solved my problem. When someone enter my orc fortress CPU usage goes to 100%, now I know why. Ty I hope this will get fixed.
 
Very well explained... and i also have another example within shootable walls...(walls with holes) Windows or fences! the same lag occurs

Oh my god you solved my problem. When someone enter my orc fortress CPU usage goes to 100%, now I know why. Ty I hope this will get fixed.


yea, took me forever to find guys, But thats my main cause of lag.. just clean up areas with Impossible to get to monsters.. and The lag stays very low very often :P

Glad to help
 
i have more information if talaturen is wondering, this bug has to do only with creatures that fight from a distance and not being able to battle.. perhaps have a system setup to make it so when a path is not found it will just start to dance around :P like it should do... or perhaps if that system already exist then make it not do the random walk so fast.. these are the only things i can think of at this time
 
Back
Top