AMX backtrace
#1

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
Reply
#2

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.
Reply
#3

Well it does say -1 and inside that public...so just walidate all variables that might have value -1
Reply
#4

Quote:
Originally Posted by DRIFT_HUNTER
View Post
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]
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)