Thread: [PI] Remove Objects [PI]

Results 1 to 7 of 7
  1. #1 [PI] Remove Objects [PI] 
    Registered Member farmerscape's Avatar
    Join Date
    Jul 2010
    Posts
    165
    Thanks given
    16
    Thanks received
    0
    Rep Power
    5
    How do I remove objects?
    I want to remove the stairs in the Falador bar place.
    ~PROJECT FARMERSCAPE~

    - Hello i already add the ::item but now i want to add :: pickup command if someone can help me ?

    - We were all new before.. Help him!

    - We were all new, not stupid.
    Reply With Quote  
     

  2. #2  
    Registered Member

    Join Date
    Mar 2010
    Age
    29
    Posts
    686
    Thanks given
    35
    Thanks received
    92
    Rep Power
    157
    Follow this package:

    Code:
    src.server.world.ObjectManager
    Find this method:
    Code:
    public void loadCustomSpawns(Client c) {
    Add the following:
    Code:
    c.getPA().checkObjectSpawn(-1, X_COORDINATE, Y_COORDINATE, HEIGHT_LEVEL, OBJECT_TYPE);
    Configure those constants.
    Reply With Quote  
     

  3. Thankful user:


  4. #3  
    Registered Member farmerscape's Avatar
    Join Date
    Jul 2010
    Posts
    165
    Thanks given
    16
    Thanks received
    0
    Rep Power
    5
    Whats OBJECT_TYPE? (I got it to work, I'm just wondering)
    ~PROJECT FARMERSCAPE~

    - Hello i already add the ::item but now i want to add :: pickup command if someone can help me ?

    - We were all new before.. Help him!

    - We were all new, not stupid.
    Reply With Quote  
     

  5. #4  
    Registered Member

    Join Date
    Mar 2010
    Age
    29
    Posts
    686
    Thanks given
    35
    Thanks received
    92
    Rep Power
    157
    It's like the type of object it is, ground, wall, etc.

    Try 10, or 0.
    Reply With Quote  
     

  6. #5  
    Registered Member
    Join Date
    Jul 2009
    Posts
    81
    Thanks given
    0
    Thanks received
    1
    Rep Power
    11
    lol im a newb...


    any who try this:

    Code:
    server.model.objects.Objects nothing = new Objects(-1, (object x coords goes here), (object y coords goes here), 0, 0, 10, 0);
    	c.getObjectHandler().addObject(nothing);
    	c.getObjectHandler().placeObject(nothing);
    you will need to convert the c.getObjectHandler().addObject();/c.getObjectHandler().placeObject();

    to how your server uses the packaging.

    or meybe try this:

    Code:
    c.getPA().object(-1, (object x coords goes here), (object y coords goes here), 0, 0, 10, 0);
    if that don't work, I'm sorry i tried lol.
    Reply With Quote  
     

  7. #6  
    Registered Member
    Join Date
    Aug 2007
    Posts
    105
    Thanks given
    0
    Thanks received
    1
    Rep Power
    2
    how do i configure it to remove walls??
    Reply With Quote  
     

  8. #7  
    Member
    Join Date
    Dec 2009
    Posts
    24
    Thanks given
    2
    Thanks received
    0
    Rep Power
    0
    Is it even possible to remove walls? :O
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. how do i turn and remove objects
    By rofl-pvp in forum Help
    Replies: 12
    Last Post: 09-23-2010, 08:38 AM
  2. [317]Remove objects [317]
    By copycopy in forum Help
    Replies: 2
    Last Post: 07-08-2010, 02:34 AM
  3. How to add/remove objects
    By Avoid` in forum Help
    Replies: 2
    Last Post: 12-30-2009, 07:32 AM
  4. remove objects
    By inlogger in forum Help
    Replies: 2
    Last Post: 12-22-2009, 07:40 PM
  5. How do i remove objects?
    By ryannathans in forum Help
    Replies: 3
    Last Post: 03-25-2009, 08:43 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •