SRL Archive - General Botting Help

Problem compiling AshamanPowerminer V1.7


Antonio

2015-01-14 15:25:35

So I started AshamanPowerminer V1.7 today about 6 hours ago. Was working fine no issues. I went for my dinner so decided I'd just shut my computer down. I've now came back and tried to compile the powerminer again however I'm now getting this Error: Unknown declaration "isSlotVaild" at line 524.

I tried to force SRL update but it still isn't compiling. I've tried redownloading the script in case I accidentally deleted something in the script but still nothing. So how does a script go from being able to be compiled to not being able to be compiled when nothing has changed other than me shutting my computer down and starting it back up again.

Any help is appreciated.

Line of code where the error is : if (self.isSlotVaild(slotArr)) and (self.isItemInSlot(slotArr)) then

KeepBotting

2015-01-14 18:22:33

Code tagged for anyone else reading:
if (self.isSlotVaild(slotArr[i])) and (self.isItemInSlot(slotArr[i])) then //line 524

From: Nice Balance Bro
So how does a script go from being able to be compiled to not being able to be compiled when nothing has changed other than me shutting my computer down and starting it back up again.

Any help is appreciated.

SRL was updated to revision 1050 yesterday, some changes were made to several function parameters that broke a very small number of scripts.

Edit: Just downloaded the script and it seems like the error is local, Ashaman has some custom functions in there for TRSTabBackpack. I'm attempting to resolve the issue now…

Edit again: Ah, I see. The function identifiers for .isSlotValid() were misspelled as .isSlotVaild() in the include. Revision 1050 corrected this, but the calls are still spelled the same in the script, and thus don't exist.

Change the offending line to this, and you'll be good to go.

if (self.isSlotValid(slotArr[i])) and (self.isItemInSlot(slotArr[i])) then 
@Ashaman88;

Antonio

2015-01-14 18:36:26

From: KeepBotting
Code tagged for anyone else reading:
if (self.isSlotVaild(slotArr[i])) and (self.isItemInSlot(slotArr[i])) then //line 524


SRL was updated to revision 1050 today (yesterday?), some changes were made to several function parameters that broke a very small number of scripts.

Edit: Just dl'd the script and it seems like the error actually is local, Ashaman has some custom functions in there for TRSTabBackpack. I'm attempting to resolve the issue now…

Edit again: Ah, I see. The function identifiers for .isSlotValid() were misspelled as .isSlotVaild() in the include. Revision 1050 corrected this, but the calls are still spelled the same in the script, and thus don't exist.

Change the offending line to this, and you'll be good to go.

if (self.isSlotValid(slotArr[i])) and (self.isItemInSlot(slotArr[i])) then 
@Ashaman88;


Thank you very much sir! I never even noticed Valid wasn't spelled correctly.