Results 1 to 8 of 8
  1. #1

    To LumPen join ea guid list

    LumPen can you create a code On Join/On Spawn with ea guid list
    i can add players when they join? I will see a yell messages when they join server.
    In insanelimits.Blaze

  2. #2
    Senior Member
    Join Date
    Nov 2013
    Location
    Nsw, Australia
    Posts
    399
    This is from my personal admin plugin.. tho its c#.. and i think you guys are using Proconrulz
    Code:
            public override void OnPlayerAuthenticated(string soldierName, string guid)
            {
                ChatSay(String.Format("^2Player:^4{0} ^2GUID:^4{1} ^2Connected.", soldierName, guid));
            }

  3. #3
    Plugin Developer
    Join Date
    Jan 2012
    Location
    Saarland
    Posts
    913
    I'm not sure if I've fully understood what you want to do.

    You want to create a list with players determined by the EAGUID. If some of these players has joined the server only you (and other chosen players) should receive a yell message?

    This could be easily done with this limit:

    1)
    Add a new list
    Rename this new list in PlayerGUIDList
    Add all the EAGUIDs you want to watch on this list separated by a comma e.g
    Code:
    EA_1F54C55E21CF24355442348B, EA_1F54C43534555E2242355D6FC93D81EFC8B, EA_1F534554C35434D6FC93D23432
    2)
    Add a new limit
    Evaluation: OnJoin
    First check Expression:
    Code:
    plugin.isInList(player.EAGuid, "PlayerGUIDList")
    Second check Code:
    Code:
    int yell_duration = 20;
    
    List<string> receivers = new List<string>();
    receivers.Add("PlayerA");
    receivers.Add("PlayerB");
    /*
    Add all other players who should receive the messages here:
    receivers.add("PlayerXYZ");
    */
    
    foreach(string name in receivers) 
    	plugin.SendPlayerYell(name, "Warning: Player " + player.Name + " has joined the server" , yell_duration);
    	
    return false;


    PS: Why don't you use InsaneLimits Request threads?
    https://forum.myrcon.com/showthread....imits-Requests
    64 slots mixed Classic mode BF4
    32 slots rush mode BF3

  4. #4
    LumPen not all ea guid, only they in list shows for all others in server.When they return to server.
    BlazeIm not a coder LumPen sorry
    Last edited by Blaze0075; 20-12-2014 at 13:20.

  5. #5
    Plugin Developer
    Join Date
    Jan 2012
    Location
    Saarland
    Posts
    913
    Quote Originally Posted by Blaze0075 View Post
    LumPen not all ea guid, only they in list shows for all others in server.When they return to server.
    BlazeIm not a coder LumPen sorry
    I don't understand what you want excactly. Have you tried what I've posted? You just need to
    Code:
    receivers.Add("PlayerA");
    to
    Code:
    receivers.Add("YourGameName");
    64 slots mixed Classic mode BF4
    32 slots rush mode BF3

  6. #6
    I will that player with ea guid join server,tell other Before he joins he is come back again to server.He can change name but he had same ea guid i hope you understand now??Blaze

  7. #7
    Hey Lum sorry for my bad behavior lastIhave problem with this messages in your code.My sending server messages in ingame turns off when i enable this code.Dont know why??Can you help me to fixed that??Blaze

  8. #8
    Karma.
    Don't send me private messages (PMs) unless you really need privacy, like your game server password. If you just have a question or need help, post in one of the threads. It's extra work for me to answer questions and give help in private messages and no one else gets the benefit of the answer.

 

 

Posting Permissions

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