Raised This Month: $32 Target: $400
 8% 

HeadCrab AI Error


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
CryWolf
Veteran Member
Join Date: Jul 2008
Location: Romania
Old 10-09-2013 , 16:16   HeadCrab AI Error
Reply With Quote #1

Hallo, allied modders community , im' using this Monster AI (HeadCrab) for my biohazard Server, and everything works fine the headcrab it's a bit edited to recognize zombies as friends and to not do any damage only infect alive humans, as i said everything it's ok, only when the human is behind a laser and Headcrab jumps into Lasermine server crashes with the ERROR
Code:
Disconnected
Reason: Server Shutting Down
In server console
Code:
Host_Error: WriteDest_Parm: not a client
What can i do ?
btw i'm using Lasermine 2.3 latest from this topic
- not the bio_lasermine, the default lasermine!

And a Question
- Is it possible to make HeadCrab to be more intelligent ? i mean if a human is on a house the headcrab druks to wall and not see the door or something like that!

If it's needed i will post bouth sources lm / headcrab's .sma

Thanks for reading

EDIT: Can someone Remove monsters from Lasermine ? because i have removed
Code:
if ( ( pev ( isHit, pev_flags ) & ( FL_CLIENT ) ) ) // | FL_FAKECLIENT | FL_MONSTER)))
But it has the same problem!
__________________
I dont walk trough this world with fear in my heart.
www.dark-arena.com L4D, CS1.6, CZ Servers

Last edited by CryWolf; 10-10-2013 at 08:17.
CryWolf is offline
Send a message via MSN to CryWolf Send a message via Yahoo to CryWolf
RapZzw3rR
Member
Join Date: May 2012
Location: Romania
Old 10-13-2013 , 09:26   Re: HeadCrab AI Error
Reply With Quote #2

In ltm_Think public, replace this:

PHP Code:
if( !equalEntityNameENT_CLASS_NAME ) ) 
with this

PHP Code:
if( equalEntityName"player" ) ) 
RapZzw3rR is offline
CryWolf
Veteran Member
Join Date: Jul 2008
Location: Romania
Old 10-13-2013 , 09:32   Re: HeadCrab AI Error
Reply With Quote #3

Thanks man, works like a charm!

Do you know something about making the headcrab a little bit more smart , you know what i mean I THINK!

- To avoid walls if player is in the other side
__________________
I dont walk trough this world with fear in my heart.
www.dark-arena.com L4D, CS1.6, CZ Servers
CryWolf is offline
Send a message via MSN to CryWolf Send a message via Yahoo to CryWolf
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:16.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode