had a bit of a problem with the agility area because of the amount of codei needed to add to get the majority of obstacles working so far i got the code too large error so ive removed the agility obstacles and readded it in at a different point in seperatecases.. it now works again ive also taken out woodcutting and mining to remake them properly

so beta testers i need you to go to the agility arena and test the objects work both from bothsides and the ones that dont please post it here or show me ingame so i can fix.. thank you!

you havent seen the new agility area... :/ if uve ever played real rs its the one in karamja (think thts right) above the volcano with like 30 different obstacles and its more like a minigame thn agility but u get agility exp for it anyway.. yh its tht.. emote and give exp i think not?

you make a new case for each objects id so...

case 3151 -- lets say its monkey barsif(absX = 2490 absY = 2348) - this means that this perticular code only happens from this areaforcewalk(2345, 2349, 932) example: place to walk to - coords, and gfx for the walk - meaning you have to find the right gfx not so bad with gfx list but some of the gfx are missingpublic int agilityskill[1]; - declares the new agility exp for that obstacle which i added to load from a text filegiveExp = agilityskill[1]; - gives exp to declared agility resetwalk; - gives continous movement of the gfxbreak; - stops it from continueing onto next object

thats just one obstacle from one side to the other side e.g. climbing over a wallthen you have to take into consideration getting back across the wall the same way you cameover which requires another code...

so thats 2 pieces of code per obsticle -- lets say 30 obsticles at least i would say - thats 60 object codes which have to be able to run.. not to mention anything else you might like to addsuch as agility rewards or whatever..

so forgive me for making agility a little bit more than clicking an object and getting exp and actually making it into something decent but its not an easy job.. :/ + to begin with i did it inif(objectID == **** && absX == *** and absY == **** -- which takes even more codeand ive shortened the way of giving exp since the first time..

bit of trivia: per method your only allowed a certain amount of code and funnily enough 60 object methods is enough to break that limit so you have to spread it out and make it smaller and more compact so that it doesnt lagg the server.. the reason people use the gnome course is because it requires like 7 objects and people cant be bothered to code in new objects and most people wouldnt know where to start on making a code that forcefully moves your player to another direction even though its already in most clients! :O

anyways im done ranting now

[edit] and then you have the problem of how should you link it.. using process - lagg ur server so much you can only have 3 players on or using an event manager - the wiser decision of the two... not perfect but not wasting server processes

[edit 2] oh and i would put it into a seperate class file and load it from there except im only just learning to experiment with stuff like that and havent quite learned about packaging and stuff yet :/ when i can do that i wont worry about this so much