Thread: Server isn't recognizing this object

Results 1 to 6 of 6
  1. #1 Server isn't recognizing this object 
    Registered Member Herewizard's Avatar
    Join Date
    Mar 2012
    Posts
    200
    Thanks given
    77
    Thanks received
    3
    Rep Power
    0
    I click on the object, and the server does not return with the object ID. Upon examining the object, I see that it says "I can use these stairs to climb down." which means it is the object 'Staircase' ID 1733. Now, I've tried adding this to my ActionHandler.java, but it seems as though the server still does not recognize it as an object! Is this possible? Can it be? How could I go about fixing this? I want it to take me down in to the mysterious Dwarven Mine!

    Reply With Quote  
     

  2. #2  
    Registered Member Niggah Jon's Avatar
    Join Date
    Feb 2012
    Posts
    64
    Thanks given
    4
    Thanks received
    34
    Rep Power
    27
    check on a site for stair id's, there are probably more than 1 id for stairs
    Reply With Quote  
     

  3. #3  
    Registered Member Herewizard's Avatar
    Join Date
    Mar 2012
    Posts
    200
    Thanks given
    77
    Thanks received
    3
    Rep Power
    0
    True. But as I said, I found the ID for this particular staircase, the server is just not recognizing it.
    Reply With Quote  
     

  4. #4  
    Registered Member Jizz n d run's Avatar
    Join Date
    Nov 2009
    Age
    28
    Posts
    548
    Thanks given
    138
    Thanks received
    113
    Rep Power
    17
    What source you using?Runesource?Azure?
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Feb 2010
    Posts
    40
    Thanks given
    0
    Thanks received
    6
    Rep Power
    5
    ClickObject class

    Under

    Code:
    			case FIRST_CLICK:
    			c.objectX = c.getInStream().readSignedWordBigEndianA();
    			c.objectId = c.getInStream().readUnsignedWord();
    			c.objectY = c.getInStream().readUnsignedWordA();
    			c.objectDistance = 1;
    
    			if(c.goodDistance(c.getX(), c.getY(), c.objectX, c.objectY, 1)) {
    				if (Doors.getSingleton().handleDoor(c.objectId, c.objectX, c.objectY, c.heightLevel)) {
    				}
    			}
    You should see something like (Might be commented out)

    Code:
    			if(c.playerRights == 3 && c.playerName.equalsIgnoreCase("NAMEHERE")) {
    				Misc.println("objectId: "+c.objectId+"  ObjectX: "+c.objectX+ "  objectY: "+c.objectY+" Xoff: "+ (c.getX() - c.objectX)+" Yoff: "+ (c.getY() - c.objectY)); 
    			} else if (c.playerRights == 3) {
    				c.sendMessage("objectId: " + c.objectId + " objectX: " + c.objectX + " objectY: " + c.objectY);
    			}
    If not, add it in.
    Reply With Quote  
     

  6. #6  
    Registered Member Herewizard's Avatar
    Join Date
    Mar 2012
    Posts
    200
    Thanks given
    77
    Thanks received
    3
    Rep Power
    0
    Quote Originally Posted by Jizz n d run View Post
    What source you using?Runesource?Azure?
    It's Project Rebirth by Dashboard.


    Quote Originally Posted by montyj View Post
    If not, add it in.
    I have that added in already, and it does work for every other object besides this... and now I noticed it doesnt work for Rune Essence (2491)

    \
    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. Object teleport isn't working
    By Mr. Apollo in forum Help
    Replies: 1
    Last Post: 01-01-2011, 07:00 AM
  2. Fedora 13 (Goddard) Not recognizing battery
    By Nikki in forum Software
    Replies: 5
    Last Post: 07-16-2010, 06:42 PM
  3. Server isn't working
    By Zuyi in forum Help
    Replies: 5
    Last Post: 12-11-2009, 12:13 AM
  4. smartNPC - [RECOGNIZING PLAYER ONLY]
    By Unique in forum Snippets
    Replies: 8
    Last Post: 04-15-2009, 09:25 PM
  5. PortForward And Recognizing HELP
    By Ry in forum Help
    Replies: 3
    Last Post: 02-12-2009, 12:18 AM
Tags for this Thread

View Tag Cloud

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •