This was super helpful. Im gonna make a hellrat catcher during this break and that will be my first script!
This was super helpful. Im gonna make a hellrat catcher during this break and that will be my first script!
First major update! This was pretty much just updating material from a long time ago, no new material. I likely messed up a little something here or there, so let me know if oyu spot something.
Nice and direct to the point tutorials > taught me how to make a simple woodcutter and now im trying to do it more advanced by making it more accurately and making the antiban more human likely.
Anyhow thanks for this great tutorial
edit: never mind I fixed it :P
Still learning
Last edited by HardRockers; 12-27-2011 at 03:12 AM.
Reading through this got me the basis of what I used to write my script that eventually got me into SRL members, thanks very much!
Question,
why is there a space between Nick/Pass/Name and the : and not Active and the colon?
Players[0].Name :='';
Players[0].Pass :='';
Players[0].Nick :='';
Players[0].Active:=True;
_______________________
also
whats the point of this:
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;
its kind of self explanatory but what is so important about it, it wasnt explained, just put in randomly with no mention
Last edited by KFC; 12-29-2011 at 09:38 AM.
For your first question, there isn't a space needed, you could do it either way, I think with the spaces looks a bit neater, so I might change that last one, didn'e see it
For your second question, it's just part of the SRL DeclarePlayers. You need it for DeclarePlayers to work. You're right, I just sort of tossed it in there, I'll fix that.
I'm not going to lie, there are quite a few holes in this guide.. I started using it only to find it throwing up random errors here and there on parts I followed to the T, I had to figure out how to fix them which wasn't too bothersome.
Fantastic tutorial mate. really learnt a lot. It is very similar to eventscripts for source engine.
Did you publish a walking tut?
Thanks Alot am so happy finally made my own base script first invent of maples
Now working on the basic base for my coal miner mined the first lot now to add banking in resource dung and adding coal bag
Awesome Tutorial!
Thanks!
First of all I want to say I love this because this is how I learn (by doing) But it seems to go and right click at the tree and then be done the repeat until thing doesn't seem to be working for me??
Nevermind I figured it out I wasn't reading close enough! sorry missed some repeatsSimba Code:procedure ChopTree;
var x, y: integer;
begin
if FindObj(x, y, 'hop', 1846320, 2) then
Mouse(x,y,0,0,false);
ChooseOption('hop');
FindNormalRandoms;
repeat
Wait(1200+random(250));
Until not IsupText('ree')or(InvFull);
end;
Last edited by poopy2177; 01-07-2012 at 06:27 PM.
My Soul Wars Scipt Proggress:[100%....]Probably won't release though I like it for myself
Is this guide now outdated?
Exception in Script: Unable to find file 'srl/srl.scar' used from ''
when ever i try to compile it gives me this error what to do? and i have seen same error whenever i tried downloading a script and running it
skimmed through it real quick with no programming experience since I stopped programming like 6 years ago and forgot it all. Saving this in bookmarks, hoping this will be the guide that helps me relearn the scripting. I appreciate it I will let you know how I do, the guide looks really good and simple though!
Click here for my step by step picture guide to setting up MSI! http://villavu.com/forum/showthread....945#post859945
Thanks. This tutorial will be invaluable in my learning how to script so I can give back to the SRL community, and not be a leecher anymore :/ I like the way you teach, you need to make more of these.
ounce the inventory is full and we want it to bank will how would we code that?
Very nice tutorial, helped start my WCing script.
One thing I'd suggest adding is how to make it so the script doesn't continually click the tree.
I'm curious as well when you intend to add walking to the tutorial. I will be very pleased
Click here for my step by step picture guide to setting up MSI! http://villavu.com/forum/showthread....945#post859945
I planned to do it over Christmas, but then on thing lead to another and it got delayed.. I'm in the middle of exams right now, but I write all of my exams in the first week of my school's exams, so then I pretty much have a week off, which will likely be when I get around to updating it
There are currently 1 users browsing this thread. (0 members and 1 guests)