Jump to content

WHY ISN'T THIS WORKING!!??


Recommended Posts

Okay i've been at this for hours now and i think it's time to just figure out what the hell i did wrong. 

So by default $fishing_full = false

then I have a while (1) loop and in that loop i have

_InventoryCheck()

_CatchShrimp()

WEnd

What this code SHOULD do is immediately check if my inventory is full and if so then it'll just exit the script, but if my inventory is NOT full it will execute _CatchShrimp which inside it's function should state that it will ONLY perform its function if $fishing_full = false, and since it's in a loop it should repeat unless like i said $fishing_full = true...

<snip>

Fwi 2 things

1. I just started scripting with barely any experience so dumb it down and/or explain it a bit please, I'm trying to learn this code not just get the answers.

2. If it would be easier for you i'd be more than happy to just paste the whole script.

Edited by JLogan3o13
Removed code
Link to comment
Share on other sites

  • Developers
5 hours ago, Cinabutts said:

$fishing_full = false

What is this for as this has a "iffy" ring to it?

Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

It's an old school Runescape fishing bot I'm working on, tbh last night I figured out what I did wrong, in the fishing_full loop I forgot to test the loop each run. Lol but I'm still in the texting phase so any suggestions to simplify the code would be appreciated. Or any tips or tricks. As of now it's still a bit buggy but works. 

Link to comment
Share on other sites

  • Moderators

@Cinabutts you seem to have walked right past the forum rules on your way in. I suggest you read them now, especially the part on game automation, and you will see why this topic is locked. You will receive no help on this subject.

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...