Raised This Month: $ Target: $400
 0% 

Crashes from plugin using TraceAttack


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 08-01-2011 , 06:00   Re: Crashes from plugin using TraceAttack
Reply With Quote #1

Ignore what says bibu, he doesn't know what he's talking about.

That said, I don't know really why it would crash, I can suggest you to debug the code, putting some debug text at some places and seeing from where it crashes.
__________________
Arkshine is offline
bibu
Veteran Member
Join Date: Sep 2010
Old 08-01-2011 , 06:15   Re: Crashes from plugin using TraceAttack
Reply With Quote #2

Quote:
Originally Posted by Arkshine View Post
Ignore what says bibu, he doesn't know what he's talking about.
http://forums.alliedmods.net/showthread.php?p=946089

Idiot.
__________________
Selling tons of my own private works.
Accepting paid work for clans and communities.
Don't hesitate to contact me.
bibu is offline
DeLiriuM
Senior Member
Join Date: Dec 2006
Old 08-02-2011 , 01:07   Re: Crashes from plugin using TraceAttack
Reply With Quote #3

Quote:
Originally Posted by Arkshine View Post
That said, I don't know really why it would crash, I can suggest you to debug the code, putting some debug text at some places and seeing from where it crashes.
Uhm. How ?

Searched the forum, but didn't find anything...
__________________
DeLiriuM is offline
nikhilgupta345
Veteran Member
Join Date: Aug 2009
Location: Virginia
Old 08-02-2011 , 01:14   Re: Crashes from plugin using TraceAttack
Reply With Quote #4

You could do client_prints or server_prints or log_amx to log which parts of the code gets executed. Do this every time you do something in the code (major things), and see which text does not print. Means something inbetween the last text shown and the text not shown is not working correctly and is causing the server to crash.
__________________
Quote:
Originally Posted by DarkGod View Post
nikhilgupta generates his plugins using sheer awesome.
If you like my work, please
nikhilgupta345 is offline
Send a message via ICQ to nikhilgupta345 Send a message via Yahoo to nikhilgupta345
Doc-Holiday
AlliedModders Donor
Join Date: Jul 2007
Old 08-02-2011 , 01:34   Re: Crashes from plugin using TraceAttack
Reply With Quote #5

if its a server that you can see the console server_prints work great. but its trace attack lol so you would have to go into the game to do that lol...

client_print(0, print_chat, "MESSAGE");

In places where you think it might be crashing. Change MESSAGE to a description of what is going on there or to check variables to what they should be.

I have had issues with TraceAttack from ham also. http://forums.alliedmods.net/showthread.php?p=1075600

That plugin uses Ham_TraceAttack so might be useful?
Doc-Holiday is offline
nikhilgupta345
Veteran Member
Join Date: Aug 2009
Location: Virginia
Old 08-02-2011 , 02:01   Re: Crashes from plugin using TraceAttack
Reply With Quote #6

Quote:
Originally Posted by Doc-Holiday View Post
if its a server that you can see the console server_prints work great. but its trace attack lol so you would have to go into the game to do that lol...
Not if you use HLSW
__________________
Quote:
Originally Posted by DarkGod View Post
nikhilgupta generates his plugins using sheer awesome.
If you like my work, please
nikhilgupta345 is offline
Send a message via ICQ to nikhilgupta345 Send a message via Yahoo to nikhilgupta345
Doc-Holiday
AlliedModders Donor
Join Date: Jul 2007
Old 08-02-2011 , 02:57   Re: Crashes from plugin using TraceAttack
Reply With Quote #7

Quote:
Originally Posted by nikhilgupta345 View Post
Not if you use HLSW
you still ahve to go in game and attack....
Doc-Holiday is offline
Reply



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 03:22.


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