AMX backtrace - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: AMX backtrace (
/showthread.php?tid=643982)
AMX backtrace -
Klayton - 01.11.2017
Hello samp, when I edit a product of an industry, I have a bug backtrace amx with a dialog
show code:
https://pastebin.com/DksddQwJ ......
http://prntscr.com/h4p1j3
error:
http://prntscr.com/h4p18h
Re: AMX backtrace -
zMason - 01.11.2017
What part did you edit? The problem is coming from one of the arrays, but it's impossible to tell which one is getting set out of bounds. You either have to track that or maybe it's easier to look back at what you edit specificly.
Re: AMX backtrace -
DRIFT_HUNTER - 01.11.2017
Well it does say -1 and inside that public...so just walidate all variables that might have value -1
Re: AMX backtrace -
zMason - 01.11.2017
Quote:
Originally Posted by DRIFT_HUNTER
Well it does say -1 and inside that public...so just walidate all variables that might have value -1
|
It's really hard to judge because there is more then -1 going on, my suspicion is with:
Code:
IllegalIndustryInfo[id][iIngredients][actual_id]