Put the download link.. Sorry for the delay! had to do a system restore!
Thanks for using my script!
Cheers,
~Troll
Put the download link.. Sorry for the delay! had to do a system restore!
Thanks for using my script!
Cheers,
~Troll
Bump.
How's things going with the script? I'm thinking about making a new one, and I wanted to see what you guys wanted to do.
Thanks,
~Troll
gotta be honest, im a noob and idk what to do :I you practically spelled out what to do for that last anti leech
I sure did. The new one is even easier. Hope you enjoy the script!
~Troll
Bump.. need to get more people to post bugs.. so I can perfect it and get it to work perfectly!!
Thanks for using my script! Love you guys!!
Troll, chat
My Scripts:
Cafinated Killer|~~| Ghoul Killer With Bank|~~|CraftingGuild
First TuT, Objonscreenfinder!
I'm at the chat.. Who is using my script? I don't know if it's working right now...
I've tried out your script before, it gets stuck in an infinite loop bro.
Right here:
Simba Code:repeat
AntiBan;
wait(100);
if InvCount=PlusOne then
WriteLn ('Killed the Cow.');
until (InvCount=PlusOne);
You don't pick up anything within that loop, and you never initialize "PlusOne" or add anything to it that would cause the loop to break. So once you reach that part it is just going to loop until the script is terminated...![]()
I lol'd when I saw it. took me 10 minutes to find the obvious.
Oh my f***ing god that took me way too long to realize what the anti-leech was.
Hope you guys like my script!
You may want an autotyper to go with it?
Released one!
pfft xD i give up cant find it
I have read all beginner script tutorials. Seems like I haven't any talent for scripting, no idea how to fix the anti-leech![]()
![]()
Yehh I've only been able to make it stand there. Well i got partially through the anti-leech, better than nothing ! Although I can't use this because I'm script-retarded I wish you the best in scripting.
Good luck.
You are not a script retard, the script is broken. After it kills the first cow it tries to wait until it has picked up a cow hide. But there are two problems that I have told him about multiple times that he has not addressed.
This piece of code right here is a infinite loop, and let me explain why.
Simba Code:repeat
AntiBan;
wait(100);
if InvCount=PlusOne then
WriteLn ('Killed the Cow.');
until (InvCount=PlusOne);
First, "PlusOne" never had a value set to it. So it could be any random number in memory and god only knows what it is. So there is a TINY chance that the inventory will ever equal that number. You would have to do something like this:
Simba Code:PlusOne := InvCount + 1; // This would equal the inventory count plus 1 extra.
The second reason this would never work is because it is miss one very crucial thing within that "repeat...until" loop. The function that picks up the item. It would need some code as follows in order for it to function refer to the comments within the code to understand it.
Simba Code:repeat
PlusOne := InvCount + 1; // This needs to be here each time you go through the loop to have the correct value
AntiBan;
wait(100);
FindObjOnScreen(8290940,1,False,1.73,0.01); This is the function for picking up the hide.
wait(2000); // While you don't need this wait here, you may want it to take into account the time it takes to walk to the hide.
if InvCount=PlusOne then // If the function were to pick it up, it would now write out a line
WriteLn ('Killed the Cow.');
until (InvCount=PlusOne); // and since now we have something in our inventory it would proceed to kill the next cow.
Even thought that code may work, it will still be an infinite loop if it does not find the cowhide. This would just get it actually working.
This Troll kid is acting like he is some sort of scripting God and making fun of people for not being able to find the "Anti-Leech" which is just removing the word "var". But don't go making fun of people until you can make your own working script. I'm in no way saying I am a good scriptor but right now this is a pretty crappy script.
Last edited by Nukewire; 03-02-2012 at 07:42 AM.
Nukewire, Thank you for pointing that out to me, I'm still relatively new to codeing in pascal, I'm learning. Sorry for the bad script I hope that the new version will be better for all. Once again, Thank you.
anti leech?
Nope, I'll be nice, and leave out the anti-leech.
Hope you enjoy the script! Thanks!
Updated! NOW it should be fixed.. Credits to Nukewire for helping me solve the problem! Hope you guys enjoy the script!
Cheers!
~Troll
Two things to fix:
Remove this from the "main" at the bottom since it is now in the KillCow procedure.
Simba Code:FindObjOnScreen(8290940,1,False,1.73,0.01);
Secondly, your progress report will not properly track EXP gained.
You need to initialize StartingXP to the Starting EXP of the skill you are training.
You will have to do something like this:
Don't put it in the progress report procedure because then it will restart each time, put it into startup, loadvars or something that is only run once.Simba Code:StartingXP := GetXPBarTotal;
I see what you did there....
lol.
http://screensnapr.com/v/hGJjok.jpg
Please help i dont know whats wrong
On the second one, take out the "s". That should fix your problem.
And, if that doesn't help, then here's the code,
Simba Code:procedure FreeDTMs;
begin
FreeDTM(DoorDTM);
end;
Troll y u no on IRC?!
There are currently 1 users browsing this thread. (0 members and 1 guests)