Thread: 317 Bluurr - NPC's Appear/Dissappear on Minimap

Results 1 to 6 of 6
  1. #1 317 Bluurr - NPC's Appear/Dissappear on Minimap 
    Hella Hard Homie


    Join Date
    Jan 2011
    Posts
    587
    Thanks given
    179
    Thanks received
    43
    Discord
    View profile
    Rep Power
    111
    Hey all, I was trying to make a Hide N Seek Minigame on my server, but the problem is, the NPC I use (Desert Spirit - 3131) is visable on the Minimap, and I think this way its too easy to spot it, does anyone happen to know how to change this? And also I wasn't sure if this was client or server side..
    Reply With Quote  
     

  2. #2  
    Registered Member Azurite's Avatar
    Join Date
    Apr 2009
    Posts
    689
    Thanks given
    256
    Thanks received
    81
    Rep Power
    55
    It's client sided.
    Reply With Quote  
     

  3. #3  
    Respected Member


    Josh's Avatar
    Join Date
    Aug 2008
    Age
    27
    Posts
    2,863
    Thanks given
    6
    Thanks received
    1,342
    Rep Power
    5000
    use aBoolean87 in Class5 to determine if a NPC is visible on the minimap or not.
    Reply With Quote  
     

  4. #4  
    Hella Hard Homie


    Join Date
    Jan 2011
    Posts
    587
    Thanks given
    179
    Thanks received
    43
    Discord
    View profile
    Rep Power
    111
    Thx

    so if I understood it right,
    I searched aBoolean87 in Class5, I found a list:
    Code:
                if(i == 90)
                    anInt96 = class30_sub2_sub2.method410();
                else
                if(i == 91)
                    anInt71 = class30_sub2_sub2.method410();
                else
                if(i == 92)
                    anInt90 = class30_sub2_sub2.method410();
                else
                if(i == 93)
                    aBoolean87 = false;
    And I will just add this at the end?
    Code:
                else
                if(i == 3131)
                    aBoolean87 = false;
    Or just add this as int?
    Code:
    if(i == 3131) { // NPC ID
        class5.anInt61 = 1; // Level
        class5.aString65 = "Hiding Ghost"; // NPC name
        class5.aByteArray89 = "Seems like he is hiding for someone..".getBytes(); // NPC description
        class5.aBoolean87 = false;
    }
    Reply With Quote  
     

  5. #5  
    Respected Member


    Josh's Avatar
    Join Date
    Aug 2008
    Age
    27
    Posts
    2,863
    Thanks given
    6
    Thanks received
    1,342
    Rep Power
    5000
    Under method159 in Class5 you probably will have similar code to what you posted;

    Code:
    if(i == 3131) { // NPC ID
        class5.anInt61 = 1; // Level
        class5.aString65 = "Hiding Ghost"; // NPC name
        class5.aByteArray89 = "Seems like he is hiding for someone..".getBytes(); // NPC description
        class5.aBoolean87 = false;
    }
    Add that code with the rest of the code under method159
    Reply With Quote  
     

  6. #6  
    Hella Hard Homie


    Join Date
    Jan 2011
    Posts
    587
    Thanks given
    179
    Thanks received
    43
    Discord
    View profile
    Rep Power
    111
    Thank you People on Rune-Server are much nicer then on other forums...
    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. Replies: 1
    Last Post: 05-06-2011, 02:38 AM
  2. Minimap Markers/Arrows above NPC's
    By Elit3k1lla in forum Help
    Replies: 1
    Last Post: 01-08-2011, 12:56 AM
  3. [562] Shield dissappear! HELP! [562]
    By Jesus :) in forum Help
    Replies: 0
    Last Post: 12-08-2010, 05:58 PM
  4. A guide to NPC's [8 Tutorials on NPC's]
    By 00xo0x in forum Tutorials
    Replies: 31
    Last Post: 06-20-2010, 08:16 PM
  5. Replies: 21
    Last Post: 02-29-2008, 10:17 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
  •