Raised This Month: $51 Target: $400
 12% 

[FUN Module] Not Tracing runtime errors properly


  
 
 
Thread Tools Display Modes
Author Message
Kamikaze
Senior Member
Join Date: Mar 2004
Location: Butler, PA
Old 10-04-2004 , 15:04   [FUN Module] Not Tracing runtime errors properly
#1

Using 10/4 Build, seems like it's not tracing every error with the new debug tracing method the other modules use.

For more information go here:

http://forums.uwc3.com/viewtopic.php?t=198
Kamikaze is offline
Send a message via ICQ to Kamikaze Send a message via AIM to Kamikaze Send a message via MSN to Kamikaze Send a message via Yahoo to Kamikaze
BAILOPAN
Join Date: Jan 2004
Old 10-04-2004 , 15:58  
#2

It's actually tracing errors just fine, the problem is that it's occuring in a place where no trace is available. If the error occurs on a line of code that was called directly, like this:
Code:
public plugin_cfg() {     new bigarray[5]     bigarray[6] = 0 }

No stack trace will show. HOWEVER, it will output the wrong filename! This is a bug. Please try the binary attached to this post

Linux version: http://www.acm.wpi.edu/~dvander/amxmodx_mm_i386.so
Attached Files
File Type: zip amxmodx_mm.zip (173.7 KB, 163 views)
__________________
egg
BAILOPAN is offline
Hellion
Junior Member
Join Date: Sep 2004
Old 10-04-2004 , 18:20  
#3

Using this posts build I am still getting incorrect debug information. See the mirrored post on the UWC forums here: http://forums.uwc3.com/viewtopic.php?p=2314#2314

SUSE Linux 9.0
Condition Zero
Meta version 1.17.2 2004/08/20
AMXX version .20 Compiled Oct. 4 2004

plugins.ini = uwc3.amxx debug
amxx.cfg = amx_debug 1

Here is one section of my log.....
L 10/04/2004 - 14:46:50: [uwc3.amxx] UWC3 SQL :: XP Table Loaded [OK] : name=([GoTSkillz?] [Mad Skillz]) steamid=(STEAM_0:1:3307479) xp=(63163) last_ip=(69.208.174.135:6599) last_savetime=(10 04 14 46)
L 10/04/2004 - 14:46:50: [uwc3.amxx] UWC3 SQL :: Attrib/Resist Table Loaded: name=([GoTSkillz?] [Mad Skillz]) steamid=(STEAM_0:1:3307479) Attribs=(10 10 10 10 10) Resists=(7 7 0 7 1)
L 10/04/2004 - 14:46:50: [uwc3.amxx] UWC3 SQL :: Skills Table Loaded: name=([GoTSkillz?] [Mad Skillz]) steamid=(STEAM_0:1:3307479) Skills=(1 0 1 2 0 1 1 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0)
L 10/04/2004 - 14:46:56: [Engine] Invalid Entity 229 ("czero/addons/amxmodx/plugins/uwc3.amxx", line 28)
L 10/04/2004 - 14:47:12: [Engine] Invalid Entity 210
[clipped]
These 2 lines of errors repeat for HUNDREDS of times....

This is from another section of the log....

L 10/04/2004 - 14:51:00: [uwc3.amxx] UWC3 SQL :: XP Table Loaded [OK] : name=([GoTSkillz?] [Mad Skillz]) steamid=(STEAM_0:1:3307479) xp=(63419) last_ip=(69.208.174.135:6599) last_savetime=(10 04 14 50)
L 10/04/2004 - 14:51:00: [uwc3.amxx] UWC3 SQL :: Attrib/Resist Table Loaded: name=([GoTSkillz?] [Mad Skillz]) steamid=(STEAM_0:1:3307479) Attribs=(10 10 10 10 10) Resists=(7 7 0 7 2)
L 10/04/2004 - 14:51:00: [uwc3.amxx] UWC3 SQL :: Skills Table Loaded: name=([GoTSkillz?] [Mad Skillz]) steamid=(STEAM_0:1:3307479) Skills=(1 0 1 2 0 1 1 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0)
L 10/04/2004 - 14:51:19: [Engine] Invalid Entity 226 ("czero/addons/amxmodx/plugins/uwc3.amxx", line 28)
[clipped]
__________________
Hellion
64.113.124.41:27015 CZ FT
63.192.164.8:27016 CZ FT
63.192.164.8:27015 CZ Rune
64.113.124.41:27017 CZ FT
64.113.124.41:27019 UWC3 CZ beta
http://hellion.iwarp.com
Hellion is offline
BAILOPAN
Join Date: Jan 2004
Old 10-04-2004 , 18:39  
#4

You are definitely not using the latest engine module there... that's an error code format that changed in last night's builds (10/04).

However, there was a quick bug I found related to the blank line you see.

This is what error line should look like:
Code:
L 10/04/2004 - 21:43:11: [AMXX] Run time error 10 (native) on line 411 (file "statsx.sma").
L 10/04/2004 - 21:43:11: [CSX] Player out of range (0)
__________________
egg
BAILOPAN is offline
Hellion
Junior Member
Join Date: Sep 2004
Old 10-04-2004 , 18:50  
#5

Ok, I will re-load all modules and keep watching.

Thanks for the prompt response
__________________
Hellion
64.113.124.41:27015 CZ FT
63.192.164.8:27016 CZ FT
63.192.164.8:27015 CZ Rune
64.113.124.41:27017 CZ FT
64.113.124.41:27019 UWC3 CZ beta
http://hellion.iwarp.com
Hellion is offline
Hellion
Junior Member
Join Date: Sep 2004
Old 10-04-2004 , 20:18  
#6

Ok, it looks like its debugging now.

Thanks


L 10/04/2004 - 17:30:38: [uwc3.amxx] UWC3 SQL :: XP Table Loaded [OK] : name=(<- Evil? ->) steamid=(STEAM_0:0:2262511) xp=(485014) last_ip=(66.91.239.100:10819) last_savetime=(10 04 17 28)
L 10/04/2004 - 17:30:38: [uwc3.amxx] UWC3 SQL :: Attrib/Resist Table Loaded: name=(<- Evil? ->) steamid=(STEAM_0:0:2262511) Attribs=(17 10 10 10 10) Resists=(35 35 35 34 34)
L 10/04/2004 - 17:30:38: [uwc3.amxx] UWC3 SQL :: Skills Table Loaded: name=(<- Evil? ->) steamid=(STEAM_0:0:2262511) Skills=(0 0 4 3 0 0 0 0 0 0 4 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 2 0 0 0 0 0)
L 10/04/2004 - 17:30:38: [AMXX] Run time error 10 (native) on line 28 (plugin "uwc3.amxx").
L 10/04/2004 - 17:30:38: [Engine] Invalid entity 126
L 10/04/2004 - 17:30:38: [AMXX] Debug Trace =>
L 10/04/2004 - 17:30:38: [AMXX] [0] Line 28, File "./include/Vexd_Utilities.inc"
L 10/04/2004 - 17:30:38: [AMXX] [1] Line 753, File "uwc3_utility.inc"
L 10/04/2004 - 17:30:38: [AMXX] Run time error 10 (native) on line 28 (plugin "uwc3.amxx").
__________________
Hellion
64.113.124.41:27015 CZ FT
63.192.164.8:27016 CZ FT
63.192.164.8:27015 CZ Rune
64.113.124.41:27017 CZ FT
64.113.124.41:27019 UWC3 CZ beta
http://hellion.iwarp.com
Hellion is offline
 



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 16:24.


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