SRL Archive - OSR Help

my first script


The Killer

2012-07-09 16:13:18

so i deciced to make my first script, its a basic multi account spinner for sof
however for some reason it doesnt work :S, could anyone tell me whats going wrong? and how i can fix it.
im new to scripting so my standards are crap - sorry :s

heres the script - yes i know theres accounts in there, don't worry there are all blank lv 3s


removed the script. in the middle of updating it

Footy

2012-07-09 17:55:09

I'd still remove the info though, people on here just might jack those accounts, lol.
. I'd sugest non static waits, add randomization to everything using wait(randomrange(lowest wait, longestwait)
As for the reason why your script isnt working, MMouse is a function that moves the mouse, thats all, nothing else. If you are looking to click, use Mouse. The parameters for mouse are Mouse(x, y, ranx, rany, button). Left click is 1, right click is 2. Good luck!

riwu

2012-07-09 17:56:50

You set trial account to true in ur Const which means its always true (is it just for convenience in the future when they are no longer trial? would be better to try auto detecting it though), and in ur CloseTrialBox procedure all u do is wait?

And u should have NextPlayer(false) instead since u wont want it to log in to the same account after spinning.

Always use Clickmouse2(true) and random waits (even though they are lvl 3s, its still negligible effort to use these and reduce ur chance of getting ban significantly).

I've briefing looked through the Spin procedure and saw
Mmouse(657, 363, 5, 5); //click once
MMouse only moves ur mouse there, it wont click it?

Which part of the script did it go wrong? Also add in writeln to better debug.

The Killer

2012-07-10 10:53:49

From: Foooty
I'd still remove the info though, people on here just might jack those accounts, lol.
. I'd sugest non static waits, add randomization to everything using wait(randomrange(lowest wait, longestwait)
As for the reason why your script isnt working, MMouse is a function that moves the mouse, thats all, nothing else. If you are looking to click, use Mouse. The parameters for mouse are Mouse(x, y, ranx, rany, button). Left click is 1, right click is 2. Good luck!


From: riwu
You set trial account to true in ur Const which means its always true (is it just for convenience in the future when they are no longer trial? would be better to try auto detecting it though), and in ur CloseTrialBox procedure all u do is wait?

And u should have NextPlayer(false) instead since u wont want it to log in to the same account after spinning.

Always use Clickmouse2(true) and random waits (even though they are lvl 3s, its still negligible effort to use these and reduce ur chance of getting ban significantly).

I've briefing looked through the Spin procedure and saw
Mmouse(657, 363, 5, 5); //click once
MMouse only moves ur mouse there, it wont click it?

Which part of the script did it go wrong? Also add in writeln to better debug.


omg thanks, i didnt mean to use Mmouse -.- but the bit thats not working is account changing, let me sort out my current mistakes and ill see if its working now


and the trial box isnt complete yet, its in the constant because i may want to run it on normal accounts , im also going to add only 1 spin option soon

Footy

2012-07-10 11:00:56

If your looking for a bit of a challenge, try to detect when a spin ticket has been won, then use the extra spins from that ticket!
Anyways, heres a tut on multiplayer if you cant figure it out.
http://villavu.com/forum/showthread.php?t=12858

The Killer

2012-07-10 11:26:52

From: Foooty
If your looking for a bit of a challenge, try to detect when a spin ticket has been won, then use the extra spins from that ticket!
Anyways, heres a tut on multiplayer if you cant figure it out.
http://villavu.com/forum/showthread.php?t=12858


ye this would be done by getting uptext?