Page 5 of 7 FirstFirst ... 34567 LastLast
Results 101 to 125 of 166

Thread: Trolling Cowhides.

  1. #101
    Join Date
    Jan 2012
    Posts
    915
    Mentioned
    13 Post(s)
    Quoted
    87 Post(s)

    Default

    Put the download link.. Sorry for the delay! had to do a system restore!

    Thanks for using my script!

    Cheers,

    ~Troll

  2. #102
    Join Date
    Jan 2012
    Posts
    915
    Mentioned
    13 Post(s)
    Quoted
    87 Post(s)

    Default

    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

  3. #103
    Join Date
    Feb 2012
    Posts
    7
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    gotta be honest, im a noob and idk what to do :I you practically spelled out what to do for that last anti leech

  4. #104
    Join Date
    Jan 2012
    Posts
    915
    Mentioned
    13 Post(s)
    Quoted
    87 Post(s)

    Default

    I sure did. The new one is even easier. Hope you enjoy the script!


    ~Troll

  5. #105
    Join Date
    Jan 2012
    Posts
    915
    Mentioned
    13 Post(s)
    Quoted
    87 Post(s)

    Default

    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!!

  6. #106
    Join Date
    Dec 2011
    Posts
    1,162
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

  7. #107
    Join Date
    Jan 2012
    Posts
    915
    Mentioned
    13 Post(s)
    Quoted
    87 Post(s)

    Default

    I'm at the chat.. Who is using my script? I don't know if it's working right now...

  8. #108
    Join Date
    Jun 2006
    Posts
    12
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    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...

  9. #109
    Join Date
    Feb 2012
    Posts
    12
    Mentioned
    0 Post(s)
    Quoted
    5 Post(s)

    Default

    I lol'd when I saw it. took me 10 minutes to find the obvious.

  10. #110
    Join Date
    Feb 2012
    Location
    Australia
    Posts
    87
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Oh my f***ing god that took me way too long to realize what the anti-leech was.

  11. #111
    Join Date
    Jan 2012
    Posts
    915
    Mentioned
    13 Post(s)
    Quoted
    87 Post(s)

    Default



    Hope you guys like my script!
    You may want an autotyper to go with it?

    Released one!

  12. #112
    Join Date
    Jan 2012
    Location
    Belgium
    Posts
    89
    Mentioned
    0 Post(s)
    Quoted
    27 Post(s)

    Default

    pfft xD i give up cant find it

  13. #113
    Join Date
    Jan 2012
    Posts
    37
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I have read all beginner script tutorials. Seems like I haven't any talent for scripting, no idea how to fix the anti-leech

  14. #114
    Join Date
    Feb 2012
    Posts
    20
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    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.

  15. #115
    Join Date
    Jun 2006
    Posts
    12
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Thumbs down

    Quote Originally Posted by Twirlyman View Post
    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.

  16. #116
    Join Date
    Jan 2012
    Posts
    915
    Mentioned
    13 Post(s)
    Quoted
    87 Post(s)

    Default

    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.

  17. #117
    Join Date
    Mar 2012
    Posts
    3
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    anti leech?

  18. #118
    Join Date
    Jan 2012
    Posts
    915
    Mentioned
    13 Post(s)
    Quoted
    87 Post(s)

    Default

    Nope, I'll be nice, and leave out the anti-leech.
    Hope you enjoy the script! Thanks!

  19. #119
    Join Date
    Jan 2012
    Posts
    915
    Mentioned
    13 Post(s)
    Quoted
    87 Post(s)

    Default

    Updated! NOW it should be fixed.. Credits to Nukewire for helping me solve the problem! Hope you guys enjoy the script!

    Cheers!

    ~Troll

  20. #120
    Join Date
    Jun 2006
    Posts
    12
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    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:
    Simba Code:
    StartingXP := GetXPBarTotal;
    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.

  21. #121
    Join Date
    Jan 2012
    Posts
    915
    Mentioned
    13 Post(s)
    Quoted
    87 Post(s)

  22. #122
    Join Date
    Mar 2012
    Posts
    13
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    http://screensnapr.com/v/hGJjok.jpg
    Please help i dont know whats wrong

  23. #123
    Join Date
    Mar 2012
    Posts
    13
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default


  24. #124
    Join Date
    Jan 2012
    Posts
    915
    Mentioned
    13 Post(s)
    Quoted
    87 Post(s)

    Default

    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;

  25. #125
    Join Date
    Jan 2012
    Posts
    522
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Troll y u no on IRC?!

Page 5 of 7 FirstFirst ... 34567 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •