Myhatisblack
2010-08-16 20:11:44
When I'm running the WC script at Draynor Bank I get this error. No clue why. :\
"Error: Out Of Range at line 637
The following DTMs were not freed: [SRL - Lamp bitmap, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43]
The following bitmaps were not freed: [SRL - Mod bitmap, SRL - Admin bitmap]
File[C:\Simba\Includes\SRL\Logs\SRL Log 16-08-10 4.txt] has not been freed in the script, freeing it now."
3Garrett3
2010-08-16 20:18:49
From: Myhatisblack
When I'm running the WC script at Draynor Bank I get this error. No clue why. :\
"Error: Out Of Range at line 637
The following DTMs were not freed: [SRL - Lamp bitmap, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43]
The following bitmaps were not freed: [SRL - Mod bitmap, SRL - Admin bitmap]
File[C:\Simba\Includes\SRL\Logs\SRL Log 16-08-10 4.txt] has not been freed in the script, freeing it now."
Could you post whatever line it highlights? It should be line 637 of one of the includes. That would help us figure out what went wrong.
Myhatisblack
2010-08-16 20:35:03
"MSI_CloseHeader('MSI_ColorWalk: ' + BoolToStr(Result) + '(' + MSI_Locations[endLoc].Name + ', index: ' + IntToStr(thePath) + ')');"
What it highlights. But thank you very much for making such and awesome thing! The whole idea is just mind blowing.
3Garrett3
2010-08-16 20:39:43
Are you sure that you're setting up the script right? It shouldn't get an out of range if it is set up right. If you could PM me the declareplayers that you have set up, censoring your user and password, or post it here (making sure you don't post info on your account, I wouldn't want it stolen) and either myself or another member of the SRL/MSI community can try to help you solve why it isn't working properly. I have to go to sleep now, but I hope that you have the issue solved quickly so you can help us test the script and advance our awesomeness :).
Ps- I'll allow the praise to pass to the other members more than myself, I've done less than I would hope so far, but hopefully you'll see great things from what we have been working on that I've put a lot of time into ;)
Heavenguard
2010-08-16 20:45:37
T.T don't tell me MSI uses Global DTM's lol.
Not that i have anything to do with MSI atm [or that this relates to the problem], but my script that im currently working on just started using global dtm's as well[Since the same / diff type DTM's are often called for various / different methods], and freeing them can be a huge pain, and if not done right can give you a Runtime error for trying to free something thats not even there, or even worst depending on the usage, cause nasty lag. I know you guys know what your doing though =] and carefully write out each line =].
Coh3n
2010-08-16 23:28:17
From: Heavenguard
T.T don't tell me MSI uses Global DTM's lol.
Not that i have anything to do with MSI atm [or that this relates to the problem], but my script that im currently working on just started using global dtm's as well[Since the same / diff type DTM's are often called for various / different methods], and freeing them can be a huge pain, and if not done right can give you a Runtime error for trying to free something thats not even there, or even worst depending on the usage, cause nasty lag. I know you guys know what your doing though =] and carefully write out each line =].
We load all the item's DTMs right when the script starts, and they're freed when the script executes. They're never loaded more than once, so there's no memory issues.
E: The error is because it's trying to writeln part of the for loop that the statement no longer belongs to. Update your MSI, it's fixed in rev 230. :)
Thanks
Heavenguard
2010-08-17 01:04:01
From: Coh3n
We load all the item's DTMs right when the script starts, and they're freed when the script executes. They're never loaded more than once, so there's no memory issues.
E: The error is because it's trying to writeln part of the for loop that the statement no longer belongs to. Update your MSI, it's fixed in rev 230. :)
Thanks
:O I gotta do that for now on, thanks coh3n.
Coh3n
2010-08-17 08:01:39
From: noidea
dont be such a hoe
Not sure if you were kidding, but either way wasn't really necessary…
Myhatisblack
2010-08-17 11:51:03
Thanks everyone for all of the help! Coh3n's advice worked wonders. Now my bots are sitting in Draynor getting butt loads of exp. Thanks again!
noidea
2010-08-17 16:17:19
From: Coh3n
Not sure if you were kidding, but either way wasn't really necessary…
Sorry, I was a little impaired last night :redface:
Coh3n
2010-08-17 17:39:44
From: noidea
Sorry, I was a little impaired last night :redface:
Just be careful, if you're impaired it may be best not to post.