Raised This Month: $ Target: $400
 0% 

Question about odd error message


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Mugwump
Senior Member
Join Date: May 2004
Old 09-23-2004 , 12:41   Question about odd error message
Reply With Quote #1

The error message is:

L 09/23/2004 - 11:22:57: [Engine] Invalid Entity 0 ("cstrike\addons\amxmodx\plugins\uwc3.amxx ", line 40)

The odd part is line 40 occurs wuithin a comment block, its not a valid line of code.

I believe this error comes from a plugin running in DEBUG mode but I am not certain, anyone have similar or know what I can look for?

Thanks,
Mug / K2mia
Mugwump is offline
Freecode
Never Fall Asleep
Join Date: Jan 2004
Old 09-23-2004 , 12:50  
Reply With Quote #2

the source would help alot
Freecode is offline
PM
hello, i am pm
Join Date: Jan 2004
Location: Canalization
Old 09-23-2004 , 13:07  
Reply With Quote #3

1) If the plugin is not in debug mode and you are using a JIT version, the lines will be probably wrong.
2) You are most likely using a stock which calls a native so the error is reported to be in the stock. Run the plugin in debug and it will show you who called the stock.
__________________
hello, i am pm
PM is offline
Mugwump
Senior Member
Join Date: May 2004
Old 09-23-2004 , 19:16  
Reply With Quote #4

After turning debugging on the error is now reporting the last line of the .sma file as the source of the problem ...

-K2
Mugwump is offline
BAILOPAN
Join Date: Jan 2004
Old 09-23-2004 , 19:51  
Reply With Quote #5

Under RC6, recompile the plugin with the latest amxxsc.exe. Then change the plugin's entry in plugins.ini to this:

uwc3.amxx debug

The error should be much more informative.

To see whether it's in debug mode, do "amxx plugins".
__________________
egg
BAILOPAN is offline
Mugwump
Senior Member
Join Date: May 2004
Old 09-24-2004 , 01:02  
Reply With Quote #6

Thanks Bail, will see if this helps.

-Mug
Mugwump is offline
Johnny got his gun
Veteran Member
Join Date: Jan 2004
Location: Tokyo
Old 09-24-2004 , 03:10  
Reply With Quote #7

My guess is this is happening in fake_touch
Johnny got his gun is offline
Mugwump
Senior Member
Join Date: May 2004
Old 09-24-2004 , 19:15  
Reply With Quote #8

Nope, not fake_touch as I dont use that in the plugin ...

Question for you guys. If my source is broken down into say 10 or so source files (1 smal and 9 included files) how do I match up the reported error line number with the source? Is it the equivalent of inserting the contents of each include file where the include call is in the sma source file?

Thanks,
Mug
Mugwump is offline
PM
hello, i am pm
Join Date: Jan 2004
Location: Canalization
Old 09-25-2004 , 04:21  
Reply With Quote #9

Yes. But when the plugin is in debug mode it should tell you where the error happened (file name + line number + call stack)
__________________
hello, i am pm
PM 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 17:20.


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