SRL Archive - Blogs and Writing

AirCraft: Development diary


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
  • 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
    These might still change. I also tried to make ladder autocoloring function, but somehow i phailed. I am not sure why, but i'll just try again ;) Thanks so much to nielsie for his GetWallColors function! Made a GetWallAngleDegrees function with his autocoloring + GetWallAngle-function from MapWalk.scar. Didn't test it yet either though. Now I will be focusing on DDTMs, and when I am finished with them, rest is pretty easy!
  • 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)
    The script is 1393 lines long atm. Still have at least these things to add:
    • 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) Is it too complicated?
  • 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.

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!

nielsie95

2009-08-19 18:13:31

Good luck :) Aircrafters are fun ^^

Dynamite

2009-08-19 18:17:06

Haha, you might have some competition :)
I'm guessing fully color?
I might give reflection a go :)

T~M

Sabzi

2009-08-19 21:38:01

Not sooo many people uses aircrafters, I think.
But writing them is fun as nielsie mentioned.

Dynamite

2009-08-19 22:41:46

From: Sabzi
Not sooo many people uses aircrafters, I think.
But writing them is fun as nielsie mentioned.


I want it for myself >.<

T~M

marpis

2009-08-20 01:11:22

I am making this one for my self too :) And yes, it will be full color ^^
I don't see any point in hybrid scripts…

ShowerThoughts

2009-08-20 01:18:35

The point is Air Crafters are hard because of the walking… if you use reflection and know how to use it it's a clap in the hands.

Blumblebee

2009-08-20 02:47:33

From: Hermen
The point is Air Crafters are hard because of the walking… if you use reflection and know how to use it it's a clap in the hands.


walking for an aircrafter isnt too difficult with color either, people just assume it is.

marpis

2009-08-20 11:28:00

From: Hermen
The point is Air Crafters are hard because of the walking… if you use reflection and know how to use it it's a clap in the hands.


haha, with reflection it's < 300 lines and would be more accurate than color ^^
i still rather color in general.

Sabzi

2009-08-20 14:07:41

Yeah walking is not that hard. We got stones, trees, water, road. Although mine is not so good at the moment but I got a better one on my PC. It has bugs to fix but nobody really seems to want it so I don't have enough pressure on me to fix them XD

rya

2009-08-20 19:28:44

From: Blumblebee
walking for an aircrafter isnt too difficult with color either, people just assume it is.


Well Walking can be hard for all non-stop if you don't know to do it :confused:

NiiX

2009-08-21 14:23:25

From: Sabzi
Not sooo many people uses aircrafters, I think.
But writing them is fun as nielsie mentioned.


With high enuf crafting level you can actually earn a good amount of money, even for P2P.

Dynamite

2009-08-21 14:33:29

I finished mine :D
Just bug fixing.
Marpis, are you releasing yours?

T~M

Sabzi

2009-08-21 14:51:46

From: NiiX
With high enuf crafting level you can actually earn a good amount of money, even for P2P.


I know. But still, the statement is true.
Not so many people uses aircrafters.

marpis

2009-08-21 15:45:21

From: The Man
I finished mine :D
Just bug fixing.
Marpis, are you releasing yours?

T~M


Yea, but I really don't care if people don't use it alot. I just wanted to try making a huge script and i happened to need an aircrafter ^^
Will propably go to Jr. Members.

Dynamite

2009-08-21 16:01:54

Yeh same, I make my scripts for the experience :)

T~M

Pure1993

2009-08-21 16:03:32

From: marpis
Yea, but I really don't care if people don't use it alot. I just wanted to try making a huge script and i happened to need an aircrafter ^^
Will propably go to Jr. Members.


I will definately use it, if it is flawless. ;)

My little bot needs to do something other than fighting and clay softening. :rolleyes:

That I have finished that quest legit may not have been such a time wasting idea after all…. xD

Sabzi

2009-08-21 18:11:53

If anyone misunderstood me then I don't want to force anyone against air crafters :) I just wanted to say I know it's a good skill. And I personally like aircrafters very much.
Anyway my story was that I wanted an aircrafter and I wanted to became a member.

And a hint for you Pure: look at my signature.
You see that I got an aircrafter, right?



Then don't use it if you want a flawless one :D But shhhh don't say it to anyone else. It's our little secret.