marpis
2009-08-19 01:06:01
Hi.
I am writing an air rune crafter, and I decided to write a blog about it's process.
I won't update this every day tho'.
August
BEST PROGGY SO FAR
[PHP]
[=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=]
[ AiroSmith 1.0 ]
[ by: marpis ]
[=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=]
[ Failsafes Statistics ]
[*]
[*]
[=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=]
[_Name_|_Loads_|_Essences_|_Responds_|_Status_______________________]
[ erci | 20 | 560 | 0| Active ]
[ ifel | 0 | 0 | 0| Inactive ]
[=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=]
[ 52 Minutes and 2 Seconds ]
[=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=]
[/PHP]
Stopped manually :) This starts to look good now!
I am writing an air rune crafter, and I decided to write a blog about it's process.
I won't update this every day tho'.
August
- 13. - 17. Wrote the basic things, and got it working. However, it was always lost after 3-5 loads. I decided to rewrite walking completely, so this will be kind of a massive script. Expect 2000 lines ;)
- 18. Started renewing walking. Damn it was a tough thing to get started with! It took about an hour before I even knew what the final WalkToAltar function was going to look like. Also made a couple of DDTMs, which I will test later. It's now about 1000 lines of code :) There will be so many DDTMs and Autocoloring functions, that i decided to make an own file for them and include it in the main file.
- 19. Finished BankToFalador-DDTM but didn't test it yet. Here are all DTMs I will make:
- BankToFalador
- FaladorToGates
- GatesToRuins
- RuinsToGates
- GatesToFalador
- FaladorToBank
- 20. Removed GetWallAngleDegrees, it sucked :p I am now almost finished with all DDTMs. Now comes the annyoing part, failsafes! I am kinda stuck now with a maths problem, because i have hard time understanding the SCAR trigonometry system. It seems that degree 0 in SCAR is in West, not North, as it is in RadialWalk. Well, usually in trigonometry west is always the 0 degree, but to make things even more complicated, SCAR increases angle clockwise! But hey, this is just good maths practice! ^^ Here's all DDTMs that i have tested working:
- DTM_BankToFalador (long white wall)
- DTM_FaladorToGates (ladders)
- DTM_GatesToWoods (citywall)
- DTM_Ruins (road, i think i have to come up with a better solution)
- DTM_GatesToFalador (road)
- Autoresponder (Basically done, just alot of minor fixing left. Atm it 290 lines, will also be an independent include)
- Proggy
- Online stats system (If this is too hard then i just make it send email)
- Failsafes
- Failsafes
- Failsafes
- etc..
- 23. Fixed alot of bugs, and made the progressreport. I even got it do 4 loads successfully :p. Here's an example proggy (not a real one! all numbers are random)
- 24. Phewt, i've been struggling with my FindFallyBuildingColor, and it still needs fixing! Blagh… I have trouble finding the gates of falador and my ruins dtm is not very good yet. But now I'm going to bed… Percentage stays at 45…
- 25. Things start looking good! I even got it to bank 3 loads :) Too bad I was brushing my teeth when it failed, so i really cannot tell what went wrong this time :-/ It says "Banking failed", but the character wasn't even near the bank. I try it once more, then i go to bed.
- 26. Wow! I remade DTM_Gates and I got it bank 10 loads! :) Now i can say it's 55% ready! It failed because it went to sleep (duhh, I forgot to turn off sleeping feature!) and my computer went to screensaver and "It has been 3 minutes and Runescape is not yet ready… Terminating." In fact, it couldn't have continued anyways because i ran out of essences :p Things yet to be done:
- Form
- Stats-system (maybe)
- Tweaking the walking, making it as humanlike as possible
- Finish my autoresponder and adapt it to the script
- Multiplayer testing
- 29. I've done alot of lil' tweaking, but just as much is yet to be done. Also tried multiplayer testing, but had some trouble with logging current player out o_O. I also wrote the autoupdate functions but I cannot test them before I've released the script on forums. I check every file (AiroCraft.scar, DDTMs.scar, Responder.scar) individually, so if only one of those files is outdated, you don't need to download all the files. I made my own Rest function and it raised essences/hour by 17% :) I also remade sleeping procedures, but I haven't tested sleeping yet. Percentage stays at 60%, until i get multiplayer work correctly, and until i get my first 2+ hours proggy.
- 30. Did alot of minor bugfixes again… Got a 52 minute proggy too! Dunno how long it would have come if i hadn't stopped it manually :p the percentage goes to 65. Multiplayer is still untested.
Is it too complicated?
BEST PROGGY SO FAR
[PHP]
[=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=]
[ AiroSmith 1.0 ]
[ by: marpis ]
[=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=]
[ Failsafes Statistics ]
[*]
[*]
[=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=]
[_Name_|_Loads_|_Essences_|_Responds_|_Status_______________________]
[ erci | 20 | 560 | 0| Active ]
[ ifel | 0 | 0 | 0| Inactive ]
[=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=]
[ 52 Minutes and 2 Seconds ]
[=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=]
[/PHP]
Stopped manually :) This starts to look good now!