Raised This Month: $ Target: $400
 0% 

I don't understand this error


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
phoenix120
Junior Member
Join Date: Aug 2009
Location: Czech Republic
Old 08-18-2009 , 17:44   I don't understand this error
Reply With Quote #1

Hello guys i have a problem with my plugin. When i call a function 'useskill' i got this error:

Code:
Unknown command: useskill
L 08/18/2009 - 23:41:55: [AMXX] Displaying debug trace (plugin "l2mod.amxx")
L 08/18/2009 - 23:41:55: [AMXX] Run time error 5: memory access 
L 08/18/2009 - 23:41:55: [AMXX]    [0] lineage2.inc::L2_get_spell_name (line 222)
L 08/18/2009 - 23:41:55: [AMXX]    [1] l2mod.sma::UseSkill (line 194)
L 08/18/2009 - 23:41:55: [AMXX]    [2] l2mod.sma::UseSkill (line 192)
if you want i will send the code.
thanks for any advance
phoenix120 is offline
Send a message via ICQ to phoenix120
ot_207
Veteran Member
Join Date: Jan 2008
Location: Romania The Love Country
Old 08-18-2009 , 17:46   Re: I don't understand this error
Reply With Quote #2

Send the code and highlight with @@ the lines that show these errors!
__________________
My approved plug-ins | Good for newbies! | Problems?

Back, will come around when I have time.
ot_207 is offline
phoenix120
Junior Member
Join Date: Aug 2009
Location: Czech Republic
Old 08-18-2009 , 17:51   Re: I don't understand this error
Reply With Quote #3

Ok here is it:

L2Mod.amxx: http://pastebin.com/f765934a5
Lineage2.inc: http://pastebin.com/f1d6dc1d2

Last edited by phoenix120; 08-18-2009 at 18:08.
phoenix120 is offline
Send a message via ICQ to phoenix120
Bad_Bud
Senior Member
Join Date: Oct 2006
Location: The internet
Old 08-19-2009 , 00:18   Re: I don't understand this error
Reply With Quote #4

The .sma, not the .amxx, please.
__________________
Bad_Bud is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 08-19-2009 , 01:28   Re: I don't understand this error
Reply With Quote #5

Quote:
Originally Posted by Bad_Bud View Post
The .sma, not the .amxx, please.
Click on the link. It's the source code (supposedly ).
__________________
fysiks is offline
Bad_Bud
Senior Member
Join Date: Oct 2006
Location: The internet
Old 08-19-2009 , 01:31   Re: I don't understand this error
Reply With Quote #6

Well gosh darnit, everyone's just out to trick me!

It looks like the script is trying to get a spell name outside of the bounds of the spell names array...
__________________

Last edited by Bad_Bud; 08-19-2009 at 01:39.
Bad_Bud 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 15:11.


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