Adding Skilling Area

Results 1 to 3 of 3
  1. #1
    Apprentice ii paul ii is offline
    MemberRank
    Mar 2008 Join Date
    13Posts

    Adding Skilling Area

    Well, i've been developing my server for a while, and i noticed one thing:

    I havn't got an AddObject anywhere in my client.java nor in server files.
    So, can you guys please help me?

    I need to add Fishing Spots, and Tree's for a new skilling area.

    Could somebody make me a code or give me one, to add:
    All fishing spots (ill change co-ords)
    Normal Tree
    Oak Tree
    Willow Tree
    Yew Tree
    Magic Tree

    Thank you very much.

    PS: Thats where i want my fishing spots etc.




    Edit:

    When i add:

    Replace Object(2329, 3676, 8513, -1, 10);
    in Case 121:

    I get this error:

    http://i46.tinypic.com/op76s3.jpg
    Last edited by ii paul ii; 07-12-09 at 01:07 PM.


  2. #2
    Novice siver is offline
    MemberRank
    Jun 2008 Join Date
    3Posts

    Re: Adding Skilling Area

    first of all fishing spots are actually npc's not objects. second of all not all of have the same method name, usually you should look for addglobalobject or just global till something looks familiar.

    ~siver


    ps that error is from the space you have between replace and object. you cant have spaces when you call upon methods.
    Last edited by siver; 10-12-09 at 03:43 AM. Reason: forgot to reply to his last question

  3. #3
    Apprentice Gαŋgsтα™ is offline
    MemberRank
    Dec 2009 Join Date
    17Posts

    Re: Adding Skilling Area

    Quote Originally Posted by siver View Post
    first of all fishing spots are actually npc's not objects. second of all not all of have the same method name, usually you should look for addglobalobject or just global till something looks familiar.

    ~siver


    ps that error is from the space you have between replace and object. you cant have spaces when you call upon methods.
    Exactly , Fishing spots are NPC's so you can spawn Fishing spots in Autospawn.java , What base are you using?



Advertisement