Thread: [Pi] Getting the ID of Non-Clickable Objects

Page 1 of 2 12 LastLast
Results 1 to 10 of 17
  1. #1 [Pi] Getting the ID of Non-Clickable Objects 
    Registered Member Skarlett's Avatar
    Join Date
    Apr 2013
    Posts
    405
    Thanks given
    47
    Thanks received
    7
    Rep Power
    13


    Talking about objects such as these >.> they do not pop up with IDs in my CMD, so there is no way for me to know the ID to remove them
    ♡Lovvveeee♡
    Reply With Quote  
     

  2. #2  
    Registered Member
    Karma_K's Avatar
    Join Date
    Nov 2012
    Posts
    4,287
    Thanks given
    152
    Thanks received
    610
    Rep Power
    108
    Quote Originally Posted by AinProds View Post


    Talking about objects such as these >.> they do not pop up with IDs in my CMD, so there is no way for me to know the ID to remove them
    You don't even need the Ids to remove them.. Just go to objectmanager and put -1 for the object Id with the coordinates
    Reply With Quote  
     

  3. #3  
    Registered Member Skarlett's Avatar
    Join Date
    Apr 2013
    Posts
    405
    Thanks given
    47
    Thanks received
    7
    Rep Power
    13
    Quote Originally Posted by Karma_K View Post
    You don't even need the Ids to remove them.. Just go to objectmanager and put -1 for the object Id with the coordinates
    Oh. Duh >.> Thanks lol.
    ♡Lovvveeee♡
    Reply With Quote  
     

  4. #4  
    Registered Member Skarlett's Avatar
    Join Date
    Apr 2013
    Posts
    405
    Thanks given
    47
    Thanks received
    7
    Rep Power
    13
    Quote Originally Posted by Karma_K View Post
    You don't even need the Ids to remove them.. Just go to objectmanager and put -1 for the object Id with the coordinates
    Ok, so I have removed all the chairs, but the tables and fire places do not disapear.

    I think this may be, because they take up more than one square, but I did each square for the fireplace and it still did not remove, what am I doing wrong?
    ♡Lovvveeee♡
    Reply With Quote  
     

  5. #5  
    Here we go again

    Lystuya's Avatar
    Join Date
    Sep 2011
    Posts
    2,739
    Thanks given
    1,149
    Thanks received
    906
    Discord
    View profile
    Rep Power
    667
    [Only registered and activated users can see links. ]
    2012:
    [Only registered and activated users can see links. ]
    2013:
    [Only registered and activated users can see links. ]
    2020:
    ?
    Reply With Quote  
     

  6. #6  
    Registered Member Skarlett's Avatar
    Join Date
    Apr 2013
    Posts
    405
    Thanks given
    47
    Thanks received
    7
    Rep Power
    13
    Quote Originally Posted by Lystuya View Post
    [Only registered and activated users can see links. ]


    How might this be fixed?


    Code:
    if(idToggle == true) {
    						menuActionName[menuActionRow] = "Examine @[email protected]" + class46.name + " @[email protected](@[email protected]" + l1 + "@[email protected]) (@[email protected]" + (i1 + ba***) + "," + (j1 + baseY) + "@[email protected])";
    					} else {
    						menuActionName[menuActionRow] = "Examine @[email protected]" + class46.name;
    					}
    					menuActionID[menuActionRow] = 1226;
    					menuActionCmd1[menuActionRow] = class46.type << 14;
    					menuActionCmd2[menuActionRow] = i1;
    					menuActionCmd3[menuActionRow] = j1;
    					menuActionRow++;
    				}
    			}
    This is what I had before, I edit it.


    Code:
    private void build3dScreenMenu()
    	{
    		if(itemSelected == 0 && spellSelected == 0)
    		{
    			menuActionName[menuActionRow] = "Walk here";
    			menuActionID[menuActionRow] = 516;
    			menuActionCmd2[menuActionRow] = super.mou***;
    			menuActionCmd3[menuActionRow] = super.mouseY;
    			menuActionRow++;
    		}
    		int j = -1;
    		for(int k = 0; k < Model.anInt1687; k++)
    		{
    			int l = Model.anIntArray1688[k];
    			int i1 = l & 0x7f;
    			int j1 = l >> 7 & 0x7f;
    			int k1 = l >> 29 & 3;
    			int l1 = l >> 14 & 0x7fff;
    			if(l == j)
    				continue;
    			j = l;
    			if(k1 == 2 && worldController.method304(plane, i1, j1, l) >= 0)
    			{
    				ObjectDef class46 = ObjectDef.forID(l1);
    				if(class46.childrenIDs != null)
    					class46 = class46.method580();
    				if(class46 == null)
    					continue;
    				if(itemSelected == 1)
    				{
    					menuActionName[menuActionRow] = "Use " + selectedItemName + " -> @[email protected]" + class46.name;
    					menuActionID[menuActionRow] = 62;
    					menuActionCmd1[menuActionRow] = l;
    					menuActionCmd2[menuActionRow] = i1;
    					menuActionCmd3[menuActionRow] = j1;
    					menuActionRow++;
    				} else
    				if(spellSelected == 1)
    				{
    					if((spellUsableOn & 4) == 4)
    					{
    						menuActionName[menuActionRow] = spellTooltip + " @[email protected]" + class46.name;
    						menuActionID[menuActionRow] = 956;
    						menuActionCmd1[menuActionRow] = l;
    						menuActionCmd2[menuActionRow] = i1;
    						menuActionCmd3[menuActionRow] = j1;
    						menuActionRow++;
    					}
    				} else
    				{
    					if(class46.itemActions != null)
    					{
    						for(int i2 = 4; i2 >= 0; i2--)
    							if(class46.itemActions[i2] != null)
    							{
    								menuActionName[menuActionRow] = class46.itemActions[i2] + " @[email protected]" + class46.name;
    								if(i2 == 0)
    									menuActionID[menuActionRow] = 502;
    								if(i2 == 1)
    									menuActionID[menuActionRow] = 900;
    								if(i2 == 2)
    									menuActionID[menuActionRow] = 113;
    								if(i2 == 3)
    									menuActionID[menuActionRow] = 872;
    								if(i2 == 4)
    									menuActionID[menuActionRow] = 1062;
    								menuActionCmd1[menuActionRow] = l;
    								menuActionCmd2[menuActionRow] = i1;
    								menuActionCmd3[menuActionRow] = j1;
    								menuActionRow++;
    							}
    
    					}
    					if(idToggle == true) {
    						menuActionName[menuActionRow] = "Examine @[email protected]" + class46.name + " @[email protected](@[email protected]" + l1 + "@[email protected]) (@[email protected]" + (i1 + ba***) + "," + (j1 + baseY) + "@[email protected])";
    					} else {
    						menuActionName[menuActionRow] = "Examine @[email protected]" + class46.name;
    					}
    					menuActionID[menuActionRow] = 1226;
    					menuActionCmd1[menuActionRow] = class46.type << 14;
    					menuActionCmd2[menuActionRow] = i1;
    					menuActionCmd3[menuActionRow] = j1;
    					menuActionRow++;
    				}
    			}
    			if(k1 == 1)
    			{
    				NPC npc = npcArray[l1];
    				if(npc.desc.aByte68 == 1 && (npc.x & 0x7f) == 64 && (npc.y & 0x7f) == 64)
    				{
    					for(int j2 = 0; j2 < npcCount; j2++)
    					{
    						NPC npc2 = npcArray[npcIndices[j2]];
    						if(npc2 != null && npc2 != npc && npc2.desc.aByte68 == 1 && npc2.x == npc.x && npc2.y == npc.y)
    							buildAtNPCMenu(npc2.desc, npcIndices[j2], j1, i1);
    					}
    
    					for(int l2 = 0; l2 < playerCount; l2++)
    					{
    						Player player = playerArray[playerIndices[l2]];
    						if(player != null && player.x == npc.x && player.y == npc.y)
    							buildAtPlayerMenu(i1, playerIndices[l2], player, j1);
    					}
    
    				}
    				buildAtNPCMenu(npc.desc, l1, j1, i1);
    			}
    			if(k1 == 0)
    			{
    				Player player = playerArray[l1];
    				if((player.x & 0x7f) == 64 && (player.y & 0x7f) == 64)
    				{
    					for(int k2 = 0; k2 < npcCount; k2++)
    					{
    						NPC class30_sub2_sub4_sub1_sub1_2 = npcArray[npcIndices[k2]];
    						if(class30_sub2_sub4_sub1_sub1_2 != null && class30_sub2_sub4_sub1_sub1_2.desc.aByte68 == 1 && class30_sub2_sub4_sub1_sub1_2.x == player.x && class30_sub2_sub4_sub1_sub1_2.y == player.y)
    							buildAtNPCMenu(class30_sub2_sub4_sub1_sub1_2.desc, npcIndices[k2], j1, i1);
    					}
    
    					for(int i3 = 0; i3 < playerCount; i3++)
    					{
    						Player class30_sub2_sub4_sub1_sub2_2 = playerArray[playerIndices[i3]];
    						if(class30_sub2_sub4_sub1_sub2_2 != null && class30_sub2_sub4_sub1_sub2_2 != player && class30_sub2_sub4_sub1_sub2_2.x == player.x && class30_sub2_sub4_sub1_sub2_2.y == player.y)
    							buildAtPlayerMenu(i1, playerIndices[i3], class30_sub2_sub4_sub1_sub2_2, j1);
    					}
    
    				}
    				buildAtPlayerMenu(i1, l1, player, j1);
    			}
    			if(k1 == 3)
    			{
    				NodeList class19 = groundArray[plane][i1][j1];
    				if(class19 != null)
    				{
    					for(Item item = (Item)class19.getFirst(); item != null; item = (Item)class19.getNext())
    					{
    						ItemDef itemDef = ItemDef.forID(item.ID);
    						if(itemSelected == 1)
    						{
    							menuActionName[menuActionRow] = "Use " + selectedItemName + " -> @[email protected]" + itemDef.name;
    							menuActionID[menuActionRow] = 511;
    							menuActionCmd1[menuActionRow] = item.ID;
    							menuActionCmd2[menuActionRow] = i1;
    							menuActionCmd3[menuActionRow] = j1;
    							menuActionRow++;
    						} else
    						if(spellSelected == 1)
    						{
    							if((spellUsableOn & 1) == 1)
    							{
    								menuActionName[menuActionRow] = spellTooltip + " @[email protected]" + itemDef.name;
    								menuActionID[menuActionRow] = 94;
    								menuActionCmd1[menuActionRow] = item.ID;
    								menuActionCmd2[menuActionRow] = i1;
    								menuActionCmd3[menuActionRow] = j1;
    								menuActionRow++;
    							}
    						} else
    						{
    							for(int j3 = 4; j3 >= 0; j3--)
    								if(itemDef.groundActions != null && itemDef.groundActions[j3] != null)
    								{
    									menuActionName[menuActionRow] = itemDef.groundActions[j3] + " @[email protected]" + itemDef.name;
    									if(j3 == 0)
    										menuActionID[menuActionRow] = 652;
    									if(j3 == 1)
    										menuActionID[menuActionRow] = 567;
    									if(j3 == 2)
    										menuActionID[menuActionRow] = 234;
    									if(j3 == 3)
    										menuActionID[menuActionRow] = 244;
    									if(j3 == 4)
    										menuActionID[menuActionRow] = 213;
    									menuActionCmd1[menuActionRow] = item.ID;
    									menuActionCmd2[menuActionRow] = i1;
    									menuActionCmd3[menuActionRow] = j1;
    									menuActionRow++;
    								} else
    								if(j3 == 2)
    								{
    									menuActionName[menuActionRow] = "Take @[email protected]" + itemDef.name;
    									menuActionID[menuActionRow] = 234;
    									menuActionCmd1[menuActionRow] = item.ID;
    									menuActionCmd2[menuActionRow] = i1;
    									menuActionCmd3[menuActionRow] = j1;
    									menuActionRow++;
    								}
    						if(idToggle == true) {
    							menuActionName[menuActionRow] = "Examine @[email protected]" + itemDef.name + " @[email protected](@[email protected]" + item.ID + "@[email protected])";
    						} else {
    							menuActionName[menuActionRow] = "Examine @[email protected]" + itemDef.name;
    						}
    							menuActionID[menuActionRow] = 1448;
    							menuActionCmd1[menuActionRow] = item.ID;
    							menuActionCmd2[menuActionRow] = i1;
    							menuActionCmd3[menuActionRow] = j1;
    							menuActionRow++;
    						}
    					}
    
    				}
    			}
    		}
    	}
    ♡Lovvveeee♡
    Reply With Quote  
     

  7. #7  
    Registered Member
    Karma_K's Avatar
    Join Date
    Nov 2012
    Posts
    4,287
    Thanks given
    152
    Thanks received
    610
    Rep Power
    108
    Quote Originally Posted by AinProds View Post


    How might this be fixed?


    Code:
    if(idToggle == true) {
    						menuActionName[menuActionRow] = "Examine @[email protected]" + class46.name + " @[email protected](@[email protected]" + l1 + "@[email protected]) (@[email protected]" + (i1 + ba***) + "," + (j1 + baseY) + "@[email protected])";
    					} else {
    						menuActionName[menuActionRow] = "Examine @[email protected]" + class46.name;
    					}
    					menuActionID[menuActionRow] = 1226;
    					menuActionCmd1[menuActionRow] = class46.type << 14;
    					menuActionCmd2[menuActionRow] = i1;
    					menuActionCmd3[menuActionRow] = j1;
    					menuActionRow++;
    				}
    			}
    This is what I had before, I edit it.
    Change the ***'s to the word your parents didn't wanna tell you about
    Reply With Quote  
     

  8. #8  
    Registered Member Skarlett's Avatar
    Join Date
    Apr 2013
    Posts
    405
    Thanks given
    47
    Thanks received
    7
    Rep Power
    13
    Quote Originally Posted by Karma_K View Post
    Change the ***'s to the word your parents didn't wanna tell you about

    Uh. Ba_ _ _ you're joking right? >.> what curse word starts with BA
    ♡Lovvveeee♡
    Reply With Quote  
     

  9. #9  
    Registered Member
    Karma_K's Avatar
    Join Date
    Nov 2012
    Posts
    4,287
    Thanks given
    152
    Thanks received
    610
    Rep Power
    108
    Quote Originally Posted by AinProds View Post
    Uh. Ba_ _ _ you're joking right? >.> what curse word starts with BA
    ... I'll give you a hint.. The last letter is X. Runeserver blocks this word that's why it comes up as stars
    Reply With Quote  
     

  10. #10  
    Registered Member Skarlett's Avatar
    Join Date
    Apr 2013
    Posts
    405
    Thanks given
    47
    Thanks received
    7
    Rep Power
    13
    ***! Aha. Still does not do anything though..
    ♡Lovvveeee♡
    Reply With Quote  
     

Page 1 of 2 12 LastLast

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. Replies: 7
    Last Post: 08-08-2012, 11:04 PM
  2. PI - Changing the size of an object
    By Fridder in forum Help
    Replies: 10
    Last Post: 11-21-2011, 02:48 AM
  3. Replies: 5
    Last Post: 08-02-2009, 08:17 PM
  4. Getting the player to face a object
    By zach. in forum Help
    Replies: 4
    Last Post: 04-22-2009, 06:31 AM
  5. getting the day of the year in php
    By fabjan in forum Application Development
    Replies: 5
    Last Post: 06-20-2008, 03:50 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •