Raised This Month: $ Target: $400
 0% 

Segmentation fault -causer-


Post New Thread Reply   
 
Thread Tools Display Modes
OvidiuS
Chillaxin'
Join Date: Dec 2009
Location: Serbia
Old 12-12-2014 , 12:50   Re: Segmentation fault -causer-
Reply With Quote #11

Not really, but i would check that twice. I had experienced problems with engclient_cmd which caused segmentation fault errors.
OvidiuS is offline
Send a message via Skype™ to OvidiuS
Krtola
Veteran Member
Join Date: Oct 2013
Location: Serbia
Old 12-12-2014 , 13:01   Re: Segmentation fault -causer-
Reply With Quote #12

Quote:
Originally Posted by OvidiuS View Post
Not really, but i would check that twice. I had experienced problems with engclient_cmd which caused segmentation fault errors.
But,how you fix that problem?
Can you give me some advice?
Krtola is offline
Send a message via Skype™ to Krtola
OvidiuS
Chillaxin'
Join Date: Dec 2009
Location: Serbia
Old 12-12-2014 , 16:55   Re: Segmentation fault -causer-
Reply With Quote #13

I would check if client has knife with user_has_weapon.
OvidiuS is offline
Send a message via Skype™ to OvidiuS
Krtola
Veteran Member
Join Date: Oct 2013
Location: Serbia
Old 12-12-2014 , 17:36   Re: Segmentation fault -causer-
Reply With Quote #14

Quote:
Originally Posted by OvidiuS View Post
I would check if client has knife with user_has_weapon.
Ok,I'll look on that.
Thanks.
Krtola is offline
Send a message via Skype™ to Krtola
Krtola
Veteran Member
Join Date: Oct 2013
Location: Serbia
Old 12-16-2014 , 07:22   Re: Segmentation fault -causer-
Reply With Quote #15

I failed to do wyth -user has weapon- so I just wiped this:
PHP Code:
if(weapon == CSW_C4)  
    { 
        
engclient_cmd(id"weapon_knife"
    } 
Mod works normally except that now the difference is that I can hold in my hands C4,while it before I could not.
I hope this will not make a problem.
Krtola is offline
Send a message via Skype™ to Krtola
zmd94
Veteran Member
Join Date: Nov 2013
Location: Malaysia (9w2zow).
Old 12-16-2014 , 08:36   Re: Segmentation fault -causer-
Reply With Quote #16

That code will not cause any problem as long as it is being used in proper way. No need to remove below code:
PHP Code:
    if(weapon == CSW_C4)  
    { 
        
engclient_cmd(id"weapon_knife"
    } 

Last edited by zmd94; 12-16-2014 at 08:37.
zmd94 is offline
Krtola
Veteran Member
Join Date: Oct 2013
Location: Serbia
Old 12-16-2014 , 08:49   Re: Segmentation fault -causer-
Reply With Quote #17

Quote:
Originally Posted by zmd94 View Post
That code will not cause any problem as long as it is being used in proper way. No need to remove below code:
PHP Code:
    if(weapon == CSW_C4)  
    { 
        
engclient_cmd(id"weapon_knife"
    } 
Ok,but I just wants to test without
PHP Code:
engclient_cmd 

Last edited by Krtola; 12-16-2014 at 08:49.
Krtola is offline
Send a message via Skype™ to Krtola
Krtola
Veteran Member
Join Date: Oct 2013
Location: Serbia
Old 12-20-2014 , 10:48   Re: Segmentation fault -causer-
Reply With Quote #18

Just to add-since I delete

PHP Code:
if(weapon == CSW_C4)  
    { 
        
engclient_cmd(id"weapon_knife"
    } 
from main bio plugin and also delete Laser/TripMine Entity v2.3 by +ARUKARI-,I have no more segmentation fault problem.
One of those two things created that problem,at least in my case(the last four days no server crash)

Last edited by Krtola; 12-20-2014 at 10:50.
Krtola is offline
Send a message via Skype™ to Krtola
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 02:35.


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