Raised This Month: $ Target: $400
 0% 

Writing logs


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
smiley92
Senior Member
Join Date: Jun 2011
Location: Romania
Old 08-20-2014 , 09:25   Re: Writing logs
Reply With Quote #1

In first post,(thread) is log from AdvancedEliminate.log, is irrelevant because fysiks requisite EliminateData.txt, if see better in OP I have log just for AdvancedEliminate.log of 05.08.2013, when I have static IP...Understand now?

And now I don`t have any friend to help me to test this plugin and to make logs.

Last edited by smiley92; 08-20-2014 at 09:29.
smiley92 is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 08-20-2014 , 15:46   Re: Writing logs
Reply With Quote #2

Quote:
Originally Posted by smiley92 View Post
In first post,(thread) is log from AdvancedEliminate.log, is irrelevant because fysiks requisite EliminateData.txt, if see better in OP I have log just for AdvancedEliminate.log of 05.08.2013, when I have static IP...Understand now?

And now I don`t have any friend to help me to test this plugin and to make logs.
Well, when you are able to test again, get the requested information and post it here.

P.S. A static IP is irrelevant. You can have friends join the server on your computer if you really want to in order to test the plugin.
__________________

Last edited by fysiks; 08-20-2014 at 15:46.
fysiks is offline
smiley92
Senior Member
Join Date: Jun 2011
Location: Romania
Old 09-06-2014 , 10:34   Re: Writing logs
Reply With Quote #3

I maked on me, and look the logs, now I have a error in logs with native "ArrayPushArray".

->

Code:
L 09/06/2014 - 17:26:23: Start of error session.
L 09/06/2014 - 17:26:23: Info (map "de_dust2") (file "addons/amxmodx/logs/error_20140906.log")
L 09/06/2014 - 17:26:23: Invalid array handle provided (0)
L 09/06/2014 - 17:26:23: [AMXX] Run time error 10 (plugin "advanced_eliminate.amxx") (native "ArrayPushArray") - debug not enabled!
L 09/06/2014 - 17:26:23: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 09/06/2014 - 17:29:23: Start of error session.
L 09/06/2014 - 17:29:23: Info (map "de_dust2") (file "addons/amxmodx/logs/error_20140906.log")
L 09/06/2014 - 17:29:23: Invalid array handle provided (0)
L 09/06/2014 - 17:29:23: [AMXX] Run time error 10 (plugin "advanced_eliminate.amxx") (native "ArrayPushArray") - debug not enabled!
L 09/06/2014 - 17:29:23: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 09/06/2014 - 17:30:39: Start of error session.
L 09/06/2014 - 17:30:39: Info (map "de_dust2") (file "addons/amxmodx/logs/error_20140906.log")
L 09/06/2014 - 17:30:39: Invalid array handle provided (0)
L 09/06/2014 - 17:30:39: [AMXX] Run time error 10 (plugin "advanced_eliminate.amxx") (native "ArrayPushArray") - debug not enabled!
L 09/06/2014 - 17:30:39: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
Now don`t counts/numerotate in AdvancedEliminate.txt
Code:
|06.09.2014 - 17:17:12| [INFO] - Am incarcat cu succes 0 eliminari din addons/amxmodx/configs/EliminateData.txt
Attached Files
File Type: txt EliminateData.txt (186 Bytes, 39 views)
File Type: txt EliminateData (2).txt (186 Bytes, 28 views)
File Type: txt EliminateData (3).txt (186 Bytes, 26 views)

Last edited by smiley92; 09-06-2014 at 10:37.
smiley92 is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 09-06-2014 , 12:31   Re: Writing logs
Reply With Quote #4

Since you changed the code, you have to give us the new code. Attach the current version of the plugin. Also, please read the error and do as instructed:

Quote:
[AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
__________________

Last edited by fysiks; 09-06-2014 at 12:32.
fysiks is offline
smiley92
Senior Member
Join Date: Jun 2011
Location: Romania
Old 09-06-2014 , 12:53   Re: Writing logs
Reply With Quote #5

Quote:
Originally Posted by fysiks View Post
Since you changed the code, you have to give us the new code. Attach the current version of the plugin. Also, please read the error and do as instructed:
No, is that code if I had posted up.Now I run AMXX 1.8.2, maybe that is problem if is newest AMXX, I don`t know.If I put debug in plugins.ini plugin will not work as well.

I attach again the plugin.
-
Attached Files
File Type: sma Get Plugin or Get Source (advanced_eliminate.sma - 220 views - 34.2 KB)
smiley92 is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 09-06-2014 , 13:09   Re: Writing logs
Reply With Quote #6

Quote:
Originally Posted by smiley92 View Post
No, is that code if I had posted up.Now I run AMXX 1.8.2, maybe that is problem if is newest AMXX, I don`t know.If I put debug in plugins.ini plugin will not work as well.

I attach again the plugin.
-
Show the new error logs after enabling the debug mode.
__________________
fysiks is offline
smiley92
Senior Member
Join Date: Jun 2011
Location: Romania
Old 09-06-2014 , 13:28   Re: Writing logs
Reply With Quote #7

Code:
L 09/06/2014 - 20:31:33: Start of error session.
L 09/06/2014 - 20:31:33: Info (map "de_dust2") (file "addons/amxmodx/logs/error_20140906.log")
L 09/06/2014 - 20:31:33: Invalid array handle provided (0)
L 09/06/2014 - 20:31:33: [AMXX] Displaying debug trace (plugin "advanced_eliminate.amxx")
L 09/06/2014 - 20:31:33: [AMXX] Run time error 10: native error (native "ArrayPushArray")
L 09/06/2014 - 20:31:33: [AMXX]    [0] advanced_eliminate.sma::LoadEliminates (line 674)
L 09/06/2014 - 20:31:33: [AMXX]    [1] advanced_eliminate.sma::plugin_precache (line 168)

Last edited by smiley92; 09-06-2014 at 13:33.
smiley92 is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 09-06-2014 , 13:50   Re: Writing logs
Reply With Quote #8

Then go in suggestion/request, if you can't move a block of code.

Spoiler


I just moved the code for you.
__________________
HamletEagle is offline
smiley92
Senior Member
Join Date: Jun 2011
Location: Romania
Old 09-06-2014 , 14:03   Re: Writing logs
Reply With Quote #9

Thanks, Hamlet.

Can say exactly what you moved?The lines where moved, to not search much when I found...
smiley92 is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 09-06-2014 , 14:06   Re: Writing logs
Reply With Quote #10

I moved all eliminations stuffs and etc from plugin_precache to plugin_init, after ArrayCreate native.
__________________
HamletEagle 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 12:57.


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