SRL Archive - OSR Help

Script Testing/Code Help needed


Blumblebee

2010-02-18 17:09:20

Like the title says, I need help with people testing bugs and or looking through the code. It's an edgeville fisher, so if you're running the script, start in the edgeville bank.

There is NO feather checking atm so please have enough feathers before you run the script (not that it matters it only runs like an hour or two at tops).

The walking is randomly buggy and sorry, it is really hard to read. The labels are the result of frustration, sorry that they're there. It's also a bit…er ridiculous, I did some weird things in order to make it accurate as walking via the water wasn't cutting it. If explanation to each index is required, I can provide that.

So please, dissect, run, and destroy this script. I'm at the point of frustration with things not working when they should and if you see something obvious lemme know :)

oh and I do have a simba version of the script, although it ran for about the same amount of time and the debugging looked worse haha. The script must be run in SCAR 3.20+.

script:

Edgeville Fisher

set up lines are below line 77.

proof that it works:

[php] _______________________
/=======================\
|== EdgeVille FlyFisher ==|
|=========================|
|== Trout || Salmon ==|
|==———————==|
|== 48 || 30 ==|
|=========================|
|==—Current–Player—==|
|== ********* ==|
|=========================|
|== Active: 1/1 ==|
|== Loads : 3 ==|
|==———————==|
|== Hour = 0 ==|
|== Min = 10 ==|
|== Sec = 50.86 ==|
|_________________________|[/php]

thanks in advance,

blumblebee

Dynamite

2010-02-18 17:46:02

From: Zyt3x
Works great for me :)
I have 224k feathers so I'll probably use this a lot ;)
Ran 5 loads, then stopped manually. I wont auto on this char without looking at it while it's working, so…
Good work :)
I would like to have the bar in the report box and the report box stuff in the debug box though.. xD
Idk if the report box supports colors though..

Sometimes it didn't find the fishing pools and went to the other fishing symbol to check there, but it eventually walked back to where it was and continued on fishing :)
EDIT: NO! D'OH! I used my 3000th post! :(

No worries, I will quote you so you can delete :)

Blumblebee

2010-02-18 19:27:36

From: Zyt3x
Works great for me :)
I have 224k feathers so I'll probably use this a lot ;)
Ran 5 loads, then stopped manually. I wont auto on this char without looking at it while it's working, so…
Good work :)
I would like to have the bar in the report box and the report box stuff in the debug box though.. xD
Idk if the report box supports colors though..

Sometimes it didn't find the fishing pools and went to the other fishing symbol to check there, but it eventually walked back to where it was and continued on fishing :)
EDIT: NO! D'OH! I used my 3000th post! :(


oh cool :) I'm glad you got it working, maybe it's not a complete lost cause. And yeah I tried really hard to see if you could put colors in the report box, but you can't, I guess I could just remove the progressbar thing in the debug box, it's useless anyways after the official move to Simba.

edit: I've got it running pretty smoothly. If I could get a few people to give me reports on the scripts working for them I would appreciate it before I released.

[php] _______________________
/=======================\
|== EdgeVille FlyFisher ==|
|=========================|
|== Trout || Salmon ==|
|==———————==|
|== 252 || 164 ==|
|=========================|
|==—Current–Player—==|
|== ********** ==|
|=========================|
|== Active: 1/1 ==|
|== Loads : 16 ==|
|==———————==|
|== Hour = 0 ==|
|== Min = 59 ==|
|== Sec = 43.4 ==|
|_________________________|[/php]

end result:

[php] _______________________
/=======================\
|== EdgeVille FlyFisher ==|
|=========================|
|== Trout || Salmon ==|
|==———————==|
|== 518 || 340 ==|
|=========================|
|==—Current–Player—==|
|== ********* ==|
|=========================|
|== Active: 1/1 ==|
|== Loads : 33 ==|
|==———————==|
|== Hour = 2 ==|
|== Min = 10 ==|
|== Sec = 48.77 ==|
|_________________________|[/php]