Page 60 of 117 FirstFirst ... 1050585960616270110 ... LastLast
Results 1,476 to 1,500 of 2916

Thread: [AeroLib] HoodzFighter

  1. #1476
    Join Date
    Jun 2013
    Posts
    1
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    i cant get the bot to change so when im attacking a monster to change to attacking monster
    keeps trying to search for a new one to attack while it is still in combat

  2. #1477
    Join Date
    Sep 2013
    Posts
    2
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    [Error] C:\Simba\Includes\SRL-OSR/SRL/misc/SmartParams.Simba(229:202): Invalid number of parameters at line 228

  3. #1478
    Join Date
    Sep 2010
    Posts
    5,762
    Mentioned
    136 Post(s)
    Quoted
    2739 Post(s)

    Default

    Quote Originally Posted by syngebo View Post
    [Error] C:\Simba\Includes\SRL-OSR/SRL/misc/SmartParams.Simba(229:202): Invalid number of parameters at line 228
    https://www.google.com/search?q=goog...rs+at+line+228

    http://villavu.com/forum/showthread.php?t=101360

  4. #1479
    Join Date
    Sep 2008
    Location
    Holland
    Posts
    39
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    i need the latest version smart and the new smartparams in order to run hoodsfighter. now i've did some research and i found smart 8.3.. i've downloaded its zip, and copy-paste everything...

    at the first i get

    [Error] C:\Simba\Includes\SRL-OSR/SRL/misc/SmartParams.Simba(229:202): Invalid number of parameters at line 228
    Compiling failed.

    and if i press start again i get :

    [Error] C:\Simba\Includes\SRL-OSR\SRL\misc\SmartParams.Simba(35:7): Unknown identifier 'Smart_World' at line 34
    Compiling failed.

    what am im doing wrong ?=/
    Meep!

  5. #1480
    Join Date
    Sep 2013
    Posts
    1
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    does anybody know how to kill cows with this script without it getting stuck on dairy cows?

  6. #1481
    Join Date
    Sep 2012
    Location
    Netherlands
    Posts
    2,752
    Mentioned
    193 Post(s)
    Quoted
    1468 Post(s)

    Default

    new reflection version added.
    you need the minireflection include!

    and please answer this: what scripts of my do you like? what can be better? and do am i getting better at scripting?
    this just helps me to improve my scripts

    thanks

  7. #1482
    Join Date
    Mar 2013
    Posts
    16
    Mentioned
    0 Post(s)
    Quoted
    6 Post(s)

    Default

    Keep getting this error on starting script. Unknown identifier 'R_gethealth' at line 86 Compiling failed.
    Last edited by Stevenbest4; 09-18-2013 at 09:39 PM.

  8. #1483
    Join Date
    Sep 2013
    Posts
    10
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Quote Originally Posted by hoodz View Post
    new reflection version added.
    you need the minireflection include!

    and please answer this: what scripts of my do you like? what can be better? and do am i getting better at scripting?
    this just helps me to improve my scripts

    thanks
    I really like your hoodzfigher. I will try your barbfisher soon and let you know what I think. The only thing about your figher I have had a problem with so far is swarms and evil chickens. Idk much about making scripts or how complex it would be to find these randoms and make your guy run away and then come back. regardless I really like your script. thanks a ton!

  9. #1484
    Join Date
    Aug 2013
    Posts
    1
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    the anti random tab and common tab after it mess the script up -_-

  10. #1485
    Join Date
    Mar 2013
    Posts
    13
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    I can run the script for about 2 hours max if im lucky, when i go back to check on it it tabs cuz of a random :/

  11. #1486
    Join Date
    Sep 2012
    Location
    Netherlands
    Posts
    2,752
    Mentioned
    193 Post(s)
    Quoted
    1468 Post(s)

    Default

    Quote Originally Posted by kimi94 View Post
    I can run the script for about 2 hours max if im lucky, when i go back to check on it it tabs cuz of a random :/
    I cant change that

  12. #1487
    Join Date
    May 2007
    Location
    England/Liverpool
    Posts
    1,004
    Mentioned
    9 Post(s)
    Quoted
    106 Post(s)

    Default

    hi mate was bored and browsing forums decided to take gander at your script few things caught my eye you have lots of repetitive code you might want to try shorten your code now that your getting to grips with it for example you could lose 600 lines+ by giving your attack monster procedure a random generated colour using arrays instead of having a new procedure for each color.

    Simba Code:
    //so in that AttackMonster procedure this line can be changed using an array;
    FindColorsSpiralTolerance(MSCX, MSCY, TPA, monstercolor1, MSX1, MSY1, MSX2, MSY2, 15);


    //in lape you can set the array at the top of your script like so.
    var i:integer; MonsterColorArray : Array [1..6] of Integer = [1,2,3,4,5,6];

    //following for pascal.
    var MonsterColorArray : Array [1..6] of Integer;//
    //then you will have to define the colours 1-6 at the beginning of your script.
    MonsterColorArray :=[MosterColor1,MonsterColour2,Monstblah3,,Mblah....];

    FindColorsSpiralTolerance(MSCX, MSCY, TPA, MonsterColorArray[RandomRange(1, 6)], MSX1, MSY1, MSX2, MSY2, 15);
    There's also a few other things that can be shortened that would help updating script and reading alot easier.

    but just my 2 cents.
    Last edited by Mark; 09-21-2013 at 10:49 PM.

  13. #1488
    Join Date
    Sep 2012
    Location
    Netherlands
    Posts
    2,752
    Mentioned
    193 Post(s)
    Quoted
    1468 Post(s)

    Default

    Quote Originally Posted by CRU1Z1N View Post
    hi mate was bored and browsing forums decided to take gander at your script few things caught my eye you have lots of repetitive code you might want to try shorten your code now that your getting to grips with it for example you could lose 600 lines+ by giving your attack monster procedure a random generated colour using arrays instead of having a new procedure for each color.

    Simba Code:
    //so in that AttackMonster procedure this line can be changed using an array;
    FindColorsSpiralTolerance(MSCX, MSCY, TPA, monstercolor1, MSX1, MSY1, MSX2, MSY2, 15);


    //in lape you can set the array at the top of your script like so.
    var i:integer; MonsterColorArray : Array [1..6] of Integer = [1,2,3,4,5,6];

    //following for pascal.
    var MonsterColorArray : Array [1..6] of Integer;//
    //then you will have to define the colours 1-6 at the beginning of your script.
    MonsterColorArray :=[MosterColor1,MonsterColour2,Monstblah3,,Mblah....];

    FindColorsSpiralTolerance(MSCX, MSCY, TPA, MonsterColorArray[RandomRange(1, 6)], MSX1, MSY1, MSX2, MSY2, 15);
    There's also a few other things that can be shortened that would help updating script and reading alot easier.

    but just my 2 cents.
    Thanks, but i know this already. I just havent updated the script for a while now. Im more focussed on reflection .

  14. #1489
    Join Date
    Sep 2013
    Posts
    1
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by nana1 View Post
    Used script for over a week, today this pops-up and script wont start ( Exception in Script: Unable to find file 'SRL-OSR/SRL.Simba' used from 'C:\Simba\Scripts\HoodzFighter_osr-srl17.simba' )
    I get the same thing.

  15. #1490
    Join Date
    Mar 2013
    Posts
    13
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    Quote Originally Posted by hoodz View Post
    I cant change that
    Aight, no problem man! Atleast that than nothing

  16. #1491
    Join Date
    Sep 2012
    Location
    Netherlands
    Posts
    2,752
    Mentioned
    193 Post(s)
    Quoted
    1468 Post(s)

    Default

    Quote Originally Posted by kimi94 View Post
    Aight, no problem man! Atleast that than nothing
    well, we are working on the reflection include now so maybe we get flawless random solving soon

  17. #1492
    Join Date
    May 2007
    Location
    England/Liverpool
    Posts
    1,004
    Mentioned
    9 Post(s)
    Quoted
    106 Post(s)

    Default

    Quote Originally Posted by hoodz View Post
    well, we are working on the reflection include now so maybe we get flawless random solving soon
    where is this include being worked on is there a git repo been made?

  18. #1493
    Join Date
    Sep 2012
    Location
    Netherlands
    Posts
    2,752
    Mentioned
    193 Post(s)
    Quoted
    1468 Post(s)

    Default

    Quote Originally Posted by CRU1Z1N View Post
    where is this include being worked on is there a git repo been made?
    n3ss3s posted an auto updater for hooks yesterday. so we are starting any moment now. fishy and i are now working on the mini include.
    do you want to help with the official include?

    http://villavu.com/forum/showthread.php?t=105761

  19. #1494
    Join Date
    Sep 2012
    Location
    Netherlands
    Posts
    2,752
    Mentioned
    193 Post(s)
    Quoted
    1468 Post(s)

    Default

    last time you have to download this

  20. #1495
    Join Date
    Sep 2013
    Posts
    90
    Mentioned
    1 Post(s)
    Quoted
    44 Post(s)

    Default

    Thanks man, seems to be working well on minotaurs. Shame there is no random support though...

  21. #1496
    Join Date
    Sep 2012
    Location
    Netherlands
    Posts
    2,752
    Mentioned
    193 Post(s)
    Quoted
    1468 Post(s)

    Default

    Quote Originally Posted by Qw4rt6yu9 View Post
    Thanks man, seems to be working well on minotaurs. Shame there is no random support though...
    Some are working

  22. #1497
    Join Date
    Mar 2013
    Posts
    13
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    [Error] C:\Simba\Includes\SRL-OSR\SRL\misc\SmartParams.Simba(62:26): Invalid number of parameters at line 62

    Is this a problem with the update or? I could not figure it out xD

  23. #1498
    Join Date
    Jun 2013
    Posts
    4
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    sameeee error.
    [Error] C:\Simba\Includes\SRL-OSR\SRL\misc\SmartParams.Simba(62:26): Invalid number of parameters at line 62

  24. #1499
    Join Date
    Sep 2013
    Posts
    17
    Mentioned
    0 Post(s)
    Quoted
    11 Post(s)

    Default

    Showed up in the Debug

    Warning! You passed a wrong ys to a finder function: -12. That is below 0, thus out of bounds. Setting the value to 0 for now.

  25. #1500
    Join Date
    Oct 2013
    Posts
    3
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    HoodzFighter_osr-srl17.simba error

    Exception in Script: Unknown declaration "SmartGetAvailablePID" at line 81, column 20 in file "C:\Simba\Includes\SRL-OSR\SRL\misc\SmartParams.Simba"

    i tried following guides on how to fix this but to no prevail

Page 60 of 117 FirstFirst ... 1050585960616270110 ... LastLast

Thread Information

Users Browsing this Thread

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

Tags for this Thread

Posting Permissions

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