Smartest Karamja Fisher!
Hai everybody, I decided to learn reflection and make a script!-(i know color already :p)- So I made this karamja fisher and seller for DA leechers :P. This script is currently in the alpha stages, so it needs testing. You'll notice a lot of the script is commented out, due to changes :rolleyes:. So please everyone post progress reports and comments discussing the script.
Setup:
- Setup players at karamja dock, with their chats to how you like :P.
- Make sure each and every one of them has a harpoon or lobster pot,
- In the declareplayers, 'age' = cage fishing, 'arpoon' = harpoon fishing..
I would have made that into a simple boolean but im too lazy right now.
Version History:
SCAR Code:{----------------------------------------------------------------------------------------------------------------------------------------------------------------}
Version History:
{{----------------------------------------------------------------------------------------------------------------------------------------------------------------}
Version History:
{----------------------------------------------------------------------------------------------------------------------------------------------------------------}
'1.0' : - First version.
- 303 lines.
- Walking was broken.
- Selling was half-broken, wouldn`t sell the fish, only find the shopkeeper and open the screen.
- Fishing was working. :D
- Fish Counting and Load count was done.
- No progress report.
{----------------------------------------------------------------------------------------------------------------------------------------------------------------}
'2.0' : - Second version, [PARTIAL] revamp of original.
- YAY we surpassed 400 lines.
- Fixed walking to pefection. (-I think :P-)...
- Fixed Selling.
- Small edit to fishing func.
- Fish count and Load count was modified.
- Added small vague proggy :P.
- New func : RCompass : Changes compass randomly and sets its back to north.
- New func : WhilstFishing : Assures that the player will always be fishing.
- Used MouseSpeed change, to speed up selling.
- Commented out DebugPath.
- Removed DoneLoad as it wasn`t necessary.
{----------------------------------------------------------------------------------------------------------------------------------------------------------------}
'2.1' : - Fixed some nasty runtime error occuring in gametab :S
{----------------------------------------------------------------------------------------------------------------------------------------------------------------}
'2.2' : - Added Tad`s uber walking functions, script should be flawless now.
- Proggy is broken :S.
{----------------------------------------------------------------------------------------------------------------------------------------------------------------}
'2.21': - Fixed walking and proggy, thanks to Pure1993.
{----------------------------------------------------------------------------------------------------------------------------------------------------------------}
Sample Proggy:
Note : looks wayyy neater in scar'
Enjoy!!PHP Code:==============================================================|
|+-------------------Made By: Smarter Child----------------- +|
| Script has ran for: 6 Minutes and 23 Seconds |
| Script has done: 1 loads |
| Script has caught: 25 fish |
| Script has switched: 0 times |
|--------------------------------------------------------------|
| ****: Done: 1 loads, Caught: 0 Tuna, 25 Lobsters, 0 Swordies |
|--------------------------------------------------------------|
| Post all proggies/comments/suggestions/bugs on script thread |
|==============================================================|
BUGS~
-When fishing, it sometimes click the spot again, even though your currently fishing
-Omg new bug, you might get runtime error in gametab, idk why exactly though :s, please download newest version..
-Sometimes clicks spot even if your inventory is full, don't worry about this, the script will re-calibrate itself ;).
Update: New walk function, should make script flawless and able to run longer, big credits to Tad for his path walking function, download new version pl0x :D
NEW VERSION~~

