GMs can see eachother in hide.

Page 1 of 5 12345 LastLast
Results 1 to 15 of 65
  1. #1
    Enthusiast Coal is offline
    MemberRank
    Apr 2008 Join Date
    39Posts

    GMs can see eachother in hide.

    Small change, could be usefull :]

    People who are in hide, or are a GM will be able to see if you use hide.

    In maplecharacter.java
    Find:
    Code:
    getMap().broadcastMessage(this, MaplePacketCreator.removePlayerFromMap(getId()), false);
    Replace with:
    Code:
    getMap().broadcastNonGmMessage(this, MaplePacketCreator.removePlayerFromMap(getId()));

    In maplemap.java
    Find:
    Code:
    /**
    	 * Broadcasts the given packet to everyone on the map but the source. source = null Broadcasts to everyone
    	 * 
    	 * @param source
    	 * @param packet
    	 */
    Add Before:
    Code:
    public void broadcastNonGmMessage(MapleCharacter source, MaplePacket packet) {
    		synchronized (characters) {
    			for (MapleCharacter chr : characters) {
    				if (chr != source && (!chr.isGM() || !chr.isHidden())) chr.getClient().getSession().write(packet);
    			}
    		}
    	}
    For those interested, what this does is changes if so that instead of brodcasting the packet to everyone in the map when your in hide, it brodcasts it to everyone who isnt a GM, or isnt in hide.


    I havent actually tested this myself yet (I will nextime I restart my server), but someone in the dev secion said it worked fine.
    (auto hide on login will apprently keep you hidden, though)


  2. #2
    Valued Member z0rtex is offline
    MemberRank
    Jun 2008 Join Date
    116Posts

    Re: [Release] GMs can see eachother in hide.

    tnxxxxxx uuuuuuuu so much nice realse

  3. #3
    Alpha Member buzzfizz is offline
    MemberRank
    Apr 2008 Join Date
    RaGEZONELocation
    1,678Posts

    Re: [Release] GMs can see eachother in hide.

    Lol, some dude in Dev came up with this idea, didnt know you actually released it Lulz. good job. BTW, is it working?

  4. #4
    Member 9o99o9 is offline
    MemberRank
    Jul 2008 Join Date
    UAELocation
    96Posts

    Re: [Release] GMs can see eachother in hide.

    thx nice Release your the best :2gunsfiring_v1: btw 3RD

  5. #5
    Account Upgraded | Title Enabled! Spyker710 is offline
    MemberRank
    Apr 2008 Join Date
    ...stalker much...Location
    460Posts

    Re: [Release] GMs can see eachother in hide.

    It works, good release :P

  6. #6
    Enthusiast Coal is offline
    MemberRank
    Apr 2008 Join Date
    39Posts

    Re: [Release] GMs can see eachother in hide.

    I am the guy who made it.

  7. #7
    Alpha Member buzzfizz is offline
    MemberRank
    Apr 2008 Join Date
    RaGEZONELocation
    1,678Posts

    Re: [Release] GMs can see eachother in hide.

    Quote Originally Posted by Coal View Post
    I am the guy who made it.
    I know you made it :P

    Dont worry, im just sayin' it.

  8. #8
    Account Upgraded | Title Enabled! joen is offline
    MemberRank
    Jun 2008 Join Date
    the netherlandsLocation
    623Posts

    Re: [Release] GMs can see eachother in hide.

    Nice release agianst stalkers Good job :happy:

  9. #9
    Enthusiast Coal is offline
    MemberRank
    Apr 2008 Join Date
    39Posts

    Re: [Release] GMs can see eachother in hide.

    Quote Originally Posted by buzzfizz View Post
    I know you made it :P

    Dont worry, im just sayin' it.
    No, someone else told me to make sure I gave credit to the guy who made it. I guess they edited their post :/

    I really should quote things more often D;

  10. #10
    Account Upgraded | Title Enabled! iGoofy is offline
    MemberRank
    Dec 2007 Join Date
    1,063Posts

    Re: [Release] GMs can see eachother in hide.

    I think the broadcastnonGmmessage method will be extremely useful for other things that I've wanted to do for a little while. Thanks!

  11. #11
    Account Upgraded | Title Enabled! johnnyman1 is offline
    MemberRank
    May 2008 Join Date
    202Posts

    Re: [Release] GMs can see eachother in hide.

    Nice release Coal =]

  12. #12
    Member wtfx0rz is offline
    MemberRank
    Feb 2008 Join Date
    Orange CountyLocation
    90Posts

    Re: [Release] GMs can see eachother in hide.

    Nice release. I love it :] I'm definitely going to use it.

  13. #13
    Account Upgraded | Title Enabled! Regurgitate is offline
    MemberRank
    Apr 2008 Join Date
    1,113Posts

    Re: [Release] GMs can see eachother in hide.

    This will be VERY VERY VERY useful. Nice release.

  14. #14
    Apprentice jbxbow is offline
    MemberRank
    Jun 2008 Join Date
    20Posts

    Re: [Release] GMs can see eachother in hide.

    /**
    * Broadcasts the given packet to everyone on the map but the source. source = null Broadcasts to everyone
    *
    * @param source
    * @param packet
    */

    Shit cant find.

  15. #15
    Account Upgraded | Title Enabled! XenonStory is offline
    MemberRank
    Apr 2008 Join Date
    298Posts

    Re: [Release] GMs can see eachother in hide.

    Works!! Great job!



Page 1 of 5 12345 LastLast

Advertisement