Jump to content
Cinabutts

WHY ISN'T THIS WORKING!!??

Recommended Posts

Cinabutts

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

Share this post


Link to post
Share on other sites
Cinabutts
2 minutes ago, Cinabutts said:

; If Inventory IS full THEN do this

is supposed to be if inventory is NOT full then do this.

thought i was able to edit this but i guess not.

Share this post


Link to post
Share on other sites
Jos
5 hours ago, Cinabutts said:

$fishing_full = false

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

Jos


Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
Cinabutts

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. 

Share this post


Link to post
Share on other sites
JLogan3o13

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


√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.