Hello,
It looks like my script is freezing, after a break-handler it wont login back, ive had this issue more times with standing afk after login or not even logging in...
Anyone know whatsup? its been on this screen for the past 9 hours![]()
Hello,
It looks like my script is freezing, after a break-handler it wont login back, ive had this issue more times with standing afk after login or not even logging in...
Anyone know whatsup? its been on this screen for the past 9 hours![]()
Any chance you could post the code up? It would make it much easier to find your problem!![]()
Scripting with ogLib
I can give parts :P
I never had this before lol, also seen on another script that its just afking, no script bugging or whatever, when i restarted it worked perfectly. After login it just got stuck in the loop for no reason.
Maybe it has to do something with locPlayer.isLoggedIn or isLoggedIn or something that i switch wrong?? I have no clue,
Loop:
a procedure:Code:begin initAL; Reflect.Setup; StartRare; RareDisguise; SetupDaPlayer; EditMouseSpeed; if not IsLoggedIn then LoginPlayer(False); LoadBMPS; Addonterminate('FreeBMPS'); CheckBrightness; SetRetOn; repeat if not IsLoggedIn then LoginPlayer(False); locPlayer.Create; Report; Antiban; if (GetCurrentTab <> TAB_INV) then GameTab(TAB_INV);
Code:Procedure ClickDoorBack(Tile: TPoint); var P: TPoint; begin if not isLoggedIn then Exit; if not Reflect.Tiles.NearTile(point(DoorX, DoorY), 5) then begin writeln(InfoMsg, 'Distance is bigger then 5, moving there!'); walkControlPoints([Point(DoorX, DoorY)],200,4); end; while (locPlayer.IsMoving = true) do RareInteractWait; setCompass('N'); P := Reflect.Tiles.TileToMS(Tile); Reflect.Mouse.Move(P, 4, 4); If Reflect.Text.IsUpText('Open', 60+random(50)) then begin writeln(InfoMsg, 'Found Trapdoor!'); fastclick(mouse_left); RareMidWait; while (locPlayer.IsAnimating = True) do RareHumanWait; WalkControlPoints([Point(2649, 3231), Point(2642, 3237), Point(2636, 3244), Point(2637, 3251), Point(2640, 3256), Point(2644, 3265), Point(2645, 3277), Point(2653, 3284)],200,4); end else begin setangle(ANGLE_HIGH); setCompass('N'); end; end;
Still having this problemAnyone knows whatsup??
![]()
As usual, Baws, without the whole script we can't tell you what's wrong because we can't see enough of the code. Neither of those tiny snippets gives us anything to go on, so you're really on your own.
New to scripting? Procedures & Functions for Beginners
Do you use your computer at night? Just get f.lux
anyone, correct my if im wrong here, but...
no full script = no full help ?
Maybe thats not the best way to put it. imagine a function, f(x).
Now f(x) represents the quality of the help you receive. (quality being both amount, promptness, completeness, etc)
Now lets say x is the ratio of code given to code in a script that you desire help on. (ie 50/250 lines gets you x=.2)
Now, In my experience, it seems like a complete linear relationship between f(x) and x.
(see the graph below for an idea)
Progress Report:f(x) ^ | / | / | / q | / u | / a | / l | / i | / t | / y | / | / | / 0 + - - - - - + - - - - - + x 0 .5 1 ratio of code given
So from this, we may say that f(x) is proportional to x, or, mathematically, f(x) = A*x, where A is some constant.
(i tried to use proportionality symbol, but it didnt work)
That's what happens when you sell private scripts and still want to get help from us at villavu @Rare Scripts;.. I would suggest you learn to fix the problems on your own if you continue to sell scripts without fully understanding scripting on simba, as I doubt you will receive much help from us here..
Not trying to be mean, just saying the truth..
“The long-lived and those who will die soonest lose the same thing. The present is all that they can give up, since that is all you have, and what you do not have, you cannot lose.” - Marcus Aurelius
The whole point being that it's unlikely the login or breakhandler are exploding your script if they're not affecting anyone else. If you want someone to review why your script blows up, you have to provide the whole script. If you just want to mooch and then sell the outcome of our free support, you should probably go elsewhere for the help.
Or you can pay me and I'll review the script in full and allow you to sell the script after you've given credit to me.
(Dear Admin: JK)
I sell fully functional working scripts, none of them are buggy. Yes somethimes i have some trouble but thats kinda normal i guess?? Unless ur a scripting god that never ever make a mistake.
Anyways this one is not even for sale, its for myself.
Please dont act like im the only one selling scripts, most scripters here do.
“The long-lived and those who will die soonest lose the same thing. The present is all that they can give up, since that is all you have, and what you do not have, you cannot lose.” - Marcus Aurelius
Oh dont act so innocent Eflyyy, you know.
Its not me not knowing how to scripts its a issue that works fine with all other scripts.
]
Edit:
If idunno how to script please explain me how ive made this?
Breakhandler used to work fine, then it does then it bugs, its randomly. Never happend before
![]()
“The long-lived and those who will die soonest lose the same thing. The present is all that they can give up, since that is all you have, and what you do not have, you cannot lose.” - Marcus Aurelius
My Scripts:
Alch-O-Matic --- Enchant-O-Matic --- AIO Portable-O-Matic --- Wilderness Agility --- Ivy Chop-O-Matic --- Bone-O-Matic
Ok... Rare, either PM the script to someone or give up. There is no issue with AeroLibs break handler and it's an issue within your script. Or you could always debug it and find out the function/procedure having the error and only post that.
#slack4admin2016
<slacky> I will build a wall
<slacky> I will ban reflection and OGL hooking until we know what the hell is going on
Then its a small problem in my script, many thanks ill check it out cuz it works for all other scripts ive made. (not only for sales) didnt know for sure if it was the breakhandler or the script itself.
Kinda funny ur the only one responding normally after all those rages.
-Rare.
If this script is for your personal use, then you should have no problem with posting it here or at least sending it to someone in a PM. Nobody is going to leak your stuff.
Just because others do it, doesn't mean it's okay. And it doesn't excuse what you're trying to do here.
Bottom line: we need to see the entirety of the code to provide support. This is for two reasons.
- It's morally wrong of you to request help from our community in regards to a script that will never be shared with said community.
- We honestly can't provide support unless you show us the majority of the code.
Rarely (pun intended), by dumb luck, one of the small snippets that a help-seeker posts will reveal the problem and lead to a fix.
But this is generally not the case, and the help-seekers are asked to post the entirety of their scripts anyway -- for at least one of the reasons I've stated.
Last edited by KeepBotting; 07-22-2015 at 05:40 PM.
GitLab projects | Simba 1.4 | Find me on IRC or Discord | ScapeRune scripts | Come play bot ScapeRune!
<BenLand100> we're just in the transitional phase where society reclassifies guns as Bad™ before everyone gets laser pistols
Put it this way mate, the SRL community has spent literally thousands of combined hours over several hundred people over the last decade to create the SRL include, Simba, SMART, the OGL and DirectX plugins, website and file hosting, forum moderation, tutorials, help posts, and more, all for the benefit of the world as a whole. Anyone and everyone is welcome here, no matter the level of melanin in their skin, their sex, sexuality, political leanings, programming experience, religion or creed, and encouraged to take from the community and learn everything they can, so long as they contribute something in return.
You, on the other hand, have contributed literally nothing to SRL while making scripts that you learned how to write by reading free tutorials written by SRL community members in their spare time with the pure intention of teaching others, using a piece of software and plugins that took multiple hours to write, hosted on servers that cost actual money to run, and then go even further by asking for help on scripts that you (usually, I'll give you the benefit of the doubt this time) intend to sell! And you wonder why you're met with "rages" after this is how you treat the gifts that you've been given?
You're the worst kind of leecher. Not only do you come here and steal everything like a thief in the night, you come back the next day and ask us to help you fix the TV that broke while you were manhandling it out the window. In the words of @WT-Fakawi, this is a non-leeching community. Participate or leave, please.
Last edited by Incurable; 07-22-2015 at 09:39 PM.
New to scripting? Procedures & Functions for Beginners
Do you use your computer at night? Just get f.lux
Maybe I am?![]()
On a more serious note,
Rare scripts - As I tried to explain to you on skype is that the developers are getting tired of doing hours upon hours of developing and just seeing how we make actual real money by their creation.
However, in your case it's mostly the fact that they have helped you in the past and that would result in a script that you would later on sell for 07 gold. The gold has value and therefor it's quite unfair in the eyes of the developer. I know you have contributed to the community as well, and would very much like to do so in the future, but just remember that these guys do these projects out of the goodness of their hearts, not for us to make IRL money.
In the more recent month I've started to donate more and more, taking turns on whoever gets the donations. It's the very least I can do.
I recommend you to focus on the part of villavu that is not about the IRL money for the near future, maybe try to become an SRL member? Try to contribute more in all possible fashions that other members can't connect to your script sales
Moving into the real problem,
- Try not to .create in each loop, it's a bad habbit!
- (GetCurrentTab <> TAB_INV) <- You don't need that as it's already called in GameTab();
- After reading what you posted, it seems like a memory issue? As there's nothing wrong with the code. Maybe try to look for bitmaps being created over and over without being free'd?
- I strongly suggest you to try to fix your standards, not only does the code look better, it's easier for us to read in order to help you
A perfect guide for standards can be found here.
Hope I helped you at least a little bit, cheers!
There are currently 1 users browsing this thread. (0 members and 1 guests)