SRL Archive - First Scripts

Noob power miner


JPHamlett

2009-03-11 20:15:11

pretty nooby script but its my first script thnx to the tuts here and can anyone help me with anti ban and play log in and everything that i did wrong on the script




[ATTACH]16886[/ATTACH]

Aser

2009-03-11 20:29:17

I would look into AntiBan. Also try multiplayer.

Make the mining part a procedure so that it runs for more than one load. Look into failsafes for the until InvFull; You could easily get stuck.


repeat
Inc(x);
{MineOre}
until(InvFull) or X > 50;

For logging in you need to learn about multiplayer (even if you only use it for 1 player, the concept is the same).

Search the forums for declareplayers. Then you input the players name and password into the procedure. You should find all the information you need here...
I would Ctrl + F for multiplayer.

JPHamlett

2009-03-11 20:45:34

can u point me to a good anti ban tutorial and how to do a mainloop casue i couldnt figure it out and i runs for more than 1 load i added a simple repeat till false

Aser

2009-03-11 20:59:12

I am partial to my tutorial here...

You could also search for 'antiban tutorial'. To improve your mainloop you need to learn to create procedures. This also can be found by using search.