ImportBot Posted April 25, 2014 Author Share Posted April 25, 2014 Originally Posted by PapaCharlie9*: *Edit2 I can see it is setting the right faction on round end, but on the next map, something has overridden the factions and set them to something else. Go back to LCARS's version. That should work, it's just a matter of getting the timing right. Do you guys know whether vars.teamFactionOverride is immediate or does it take affect in the following round? If it is immediate, that would explain why this code is not working (but doesn't explain why LumPen's works). If it's immediate, you should evaluate OnSpawn and in second_check only if (limit.Activations() == 1) and use server.MapFileName (current map). Set first_check to Expression (true). All you want is the very first spawn in the round. If it's delayed until the next round, that code should work. As long as you only have 1 round per map, that is. * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted April 25, 2014 Author Share Posted April 25, 2014 Originally Posted by TMiland*: Go back to LCARS's version. That should work, it's just a matter of getting the timing right. Do you guys know whether vars.teamFactionOverride is immediate or does it take affect in the following round? If it is immediate, that would explain why this code is not working (but doesn't explain why LumPen's works). If it's immediate, you should evaluate OnSpawn and in second_check only if (limit.Activations() == 1) and use server.MapFileName (current map). Set first_check to Expression (true). All you want is the very first spawn in the round. If it's delayed until the next round, that code should work. As long as you only have 1 round per map, that is. I have no idea... This is too much for my head to handle... Giving up for now. * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted April 26, 2014 Author Share Posted April 26, 2014 Originally Posted by LCARSx64*: Short answer: it does the right thing. isInWhitelist calls both isInPlayerWhitelist and isInClanWhitelist. isInClanWhitelist uses the player's name to look up the player's tag. So using plugin.isInWhitelist(String PlayerName) is all you have to use to check both lists correctly. Ah cool, thanks for the info. I have no idea... This is too much for my head to handle... Giving up for now. I have no idea either and no way to test at the moment, I guess you'll need to experiment with OnSpawn etc. to find out. * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted April 26, 2014 Author Share Posted April 26, 2014 Originally Posted by TMiland*: I have no idea either and no way to test at the moment, I guess you'll need to experiment with OnSpawn etc. to find out. But i don't see how setting this to on spawn would resolve this? My logic tells me this has to be determined before any players has loaded the map? Hmmm... * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted April 27, 2014 Author Share Posted April 27, 2014 Originally Posted by Sorry*: Hi, I was looking for a limit that would allow the players would be able to change the map with a chat buzzword @lag. Once every 0-2 days the server will start to rubberband, and followed up by a blaze dump. I would like to get the players their points, and hopefully the next map will run smoother... * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted April 27, 2014 Author Share Posted April 27, 2014 Originally Posted by Talzac*: Hi, Can you make a server seeder "kick" plug-in that can be easy activated in game and that when it is activated it is automatically deactivated after the kick seeders have finished? So that I can get the server going with my two computers and when there are 8 persons online it automatically kicks my computers out of the game. Thanks * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted April 28, 2014 Author Share Posted April 28, 2014 Originally Posted by TMiland*: Hi, Can you make a server seeder "kick" plug-in that can be easy activated in game and that when it is activated it is automatically deactivated after the kick seeders have finished? So that I can get the server going with my two computers and when there are 8 persons online it automatically kicks my computers out of the game. Thanks Try this plugin: myrcon.net/.../balanceserverseeders-distribute-server-seeding-players * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted April 28, 2014 Author Share Posted April 28, 2014 Originally Posted by PapaCharlie9*: But i don't see how setting this to on spawn would resolve this? My logic tells me this has to be determined before any players has loaded the map? Hmmm... The theory is that if the command takes effect immediately, you want to change it as soon as possible in the current round. The first spawn is the soonest you can do anything in the current round, with Insane Limits. * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted April 28, 2014 Author Share Posted April 28, 2014 Originally Posted by PapaCharlie9*: Hi, I was looking for a limit that would allow the players would be able to change the map with a chat buzzword @lag. Once every 0-2 days the server will start to rubberband, and followed up by a blaze dump. I would like to get the players their points, and hopefully the next map will run smoother...That's easy to do, but are you sure that's all you want? It would be very easy to abuse. As soon as one team is starting to lead, they could secure the win by typing @lag and ending the round. You might have a lot of 2 minute rounds that way. Making it a vote, with a certain number required from both teams, would be safer. And, there's already a limit that does that. I added the rest of my reply to that thread: myrcon.net/...insane-limits-v09r6-vote-to-nuke-campingbase-raping-team-or-surrender#entry28965 * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted April 28, 2014 Author Share Posted April 28, 2014 Originally Posted by HARDCOREBF*: Hell all , can you hello me plz create simple rule On kill (when player dies , it will tell him in chat) VictimSay: !nice - To say Nice shot [killername] Say all server or only to killer : [victimName] sad: nice shot [killername] .... thnk you in advance * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted April 29, 2014 Author Share Posted April 29, 2014 Originally Posted by PapaCharlie9*: Hell all , can you hello me plz create simple rule On kill (when player dies , it will tell him in chat) VictimSay: !nice - To say Nice shot [killername] Say all server or only to killer : [victimName] sad: nice shot [killername] .... thnk you in advance This requires two limits. One to send a reminder to the victim, one to handle the !nice command. Limit 1 Create a new limit to evaluate OnKill. Call it "Remind !nice". Set first_check to this Code: Code: plugin.SendPlayerMessage(victim.Name, "VictimSay: !nice - To say Nice shot " + killer.Name); victim.RoundData.setString("LastNiceShot", killer.Name); return false; Limit 2 Create a new limit to evaluate OnAnyChat. Call it "!nice command". This sends only to the killer. Code: if (!player.LastChat.StartsWith("!nice")) return false; String key = "LastNiceShot"; if (player.RoundData.issetString(key)) { String killerName = player.RoundData.getString(key); plugin.SendPlayerMessage(killerName, player.Name + " said: Nice shot, " + killerName + "!"); player.RoundData.unsetString(key); } return false; * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted April 29, 2014 Author Share Posted April 29, 2014 Originally Posted by HARDCOREBF*: This requires two limits. One to send a reminder to the victim, one to handle the !nice command. Limit 1 Create a new limit to evaluate OnKill. Call it "Remind !nice". Set first_check to this Code: Code: plugin.SendPlayerMessage(victim.Name, "VictimSay: !nice - To say Nice shot " + killer.Name); victim.RoundData.setString("LastNiceShot", killer.Name); return false; Limit 2 Create a new limit to evaluate OnAnyChat. Call it "!nice command". This sends only to the killer. Code: if (!player.LastChat.StartsWith("!nice")) return false; String key = "LastNiceShot"; if (player.RoundData.issetString(key)) { String killerName = player.RoundData.getString(key); plugin.SendPlayerMessage(killerName, player.Name + " said: Nice shot, " + killerName + "!"); player.RoundData.unsetString(key); } return false; 1. And how can i make it Show as ,yell, for killer . And ,say, to all server... so it would be , when persoin types !nice Say (all server) : [victim] Sad : Nice shot , [killer] Yell (only killer) : [victim] Sad : Nice shot , [killer] ......... 2. Can you make limit like this plz When Killer Tked . Say to Tkiller : !s - say sorry for Tking [victim] Say to Victim : [Tkiller] Sad sorry [victim] for teamkilling , was not intentionally... ..... Thnk you very much for quick respond * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted April 30, 2014 Author Share Posted April 30, 2014 Originally Posted by TMiland*: 2. Can you make limit like this plz When Killer Tked . Say to Tkiller : !s - say sorry for Tking [victim] Say to Victim : [Tkiller] Sad sorry [victim] for teamkilling , was not intentionally... ..... Thnk you very much for quick respond Take a look at these limits: https://github.com/tmiland/ProconLim.TK%20Punisher They are PC9's, i have just gathered them on github. * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted April 30, 2014 Author Share Posted April 30, 2014 Originally Posted by HARDCOREBF*: Take a look at these limits: https://github.com/tmiland/ProconLim.TK%20Punisher They are PC9's, i have just gathered them on github. thnx for suggestion , but we dont need Punish system , just need to tell Tker on tmkill , !s - for apology * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted April 30, 2014 Author Share Posted April 30, 2014 Originally Posted by HARDCOREBF*: This requires two limits. One to send a reminder to the victim, one to handle the !nice command. Limit 1 Create a new limit to evaluate OnKill. Call it "Remind !nice". Set first_check to this Code: Code: plugin.SendPlayerMessage(victim.Name, "VictimSay: !nice - To say Nice shot " + killer.Name); victim.RoundData.setString("LastNiceShot", killer.Name); return false; Limit 2 Create a new limit to evaluate OnAnyChat. Call it "!nice command". This sends only to the killer. Code: if (!player.LastChat.StartsWith("!nice")) return false; String key = "LastNiceShot"; if (player.RoundData.issetString(key)) { String killerName = player.RoundData.getString(key); plugin.SendPlayerMessage(killerName, player.Name + " said: Nice shot, " + killerName + "!"); player.RoundData.unsetString(key); } return false; '' Can you plz create 1 more rule. When player say !n - Its will confirm that "You sad : Side shot [killernama] * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted April 30, 2014 Author Share Posted April 30, 2014 Originally Posted by Blaze2014*: Hey papa!This code not works for me,can you help me to found whats problem are__This action when player use only digits not works for me.Nothing happens/not works correct Blaze Set limit to evaluate OnJoin, set action to Say | PRoConEvent | Log | Kick. Set first_check to this Expression: Code: ( Regex.Match(player.Name, @"^[0-9]+$").Success )Set the action specific settings to something like the following. This shows the settings for limit_1, but if your limit is a different number, for example "3", look for "limit_3_kick_message", etc. Code: limit_1_say_message %p_fn% kicked for bad player name, all digits! limit_1_say_audience All limit_1_say_delay 0 limit_1_procon_chat True limit_1_procon_event_text Attempting to kick %p_fn% for bad player name, all digits limit_1_procon_event_player Insane Limits limit_1_log_destination Plugin limit_1_log_message [%date% %time%] %p_fn% kicked for bad name: all digits limit_1_kick_message bad player name: all digits * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted April 30, 2014 Author Share Posted April 30, 2014 Originally Posted by PapaCharlie9*: '' Can you plz create 1 more rule. When player say !n - Its will confirm that "You sad : Side shot [killernama] Can you ask for everything all in one post? It's more work for me to do this over and over again. It's best to think through all of your requirements and make them all in one request. Something I decide to do for your first request might need to be totally rewritten when I get your 2nd, 3rd, 4th and 5th requests. So, try again. Write one post with everything you need and save the me the effort of having to figure that out for myself. * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted April 30, 2014 Author Share Posted April 30, 2014 Originally Posted by PapaCharlie9*: Hey papa!This code not works for me,can you help me to found whats problem are__This action when player use only digits not works for me.Nothing happens/not works correct Blaze Set limit to evaluate OnJoin, set action to Say | PRoConEvent | Log | Kick. Set first_check to this Expression: Code: ( Regex.Match(player.Name, @"^[0-9]+$").Success )Set the action specific settings to something like the following. This shows the settings for limit_1, but if your limit is a different number, for example "3", look for "limit_3_kick_message", etc. Code: limit_1_say_message %p_fn% kicked for bad player name, all digits! limit_1_say_audience All limit_1_say_delay 0 limit_1_procon_chat True limit_1_procon_event_text Attempting to kick %p_fn% for bad player name, all digits limit_1_procon_event_player Insane Limits limit_1_log_destination Plugin limit_1_log_message [%date% %time%] %p_fn% kicked for bad name: all digits limit_1_kick_message bad player name: all digits What is in your plugin log (plugin.log)? Does it say anything about being "virtual"? Are you trying to use this on a game server set to Official mode? It won't work on Official. This limit only works if all of the name characters are digits. If the name is 988394858009A, it won't work, because of the A. * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted April 30, 2014 Author Share Posted April 30, 2014 Originally Posted by HARDCOREBF*: Can you ask for everything all in one post? It's more work for me to do this over and over again. It's best to think through all of your requirements and make them all in one request. Something I decide to do for your first request might need to be totally rewritten when I get your 2nd, 3rd, 4th and 5th requests. So, try again. Write one post with everything you need and save the me the effort of having to figure that out for myself. Yes i understand , iam very sorry , i created limit and only then figured confirmation would be needed .. If its take lot of affort , its ok man , you helped me as is alot ! I new here , plz accept my apologies. Iam learning IL codes so i can make rules myself * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted May 1, 2014 Author Share Posted May 1, 2014 Originally Posted by tarreltje*: Im looking for a simple knive announcer. In the yell it should contain the knive scores between the killer and the victim. The yell should look like as the new service star annouc limit , so llike this: [ADMIN] -- PLAYER1 knived PLAYER 2 -- 20 - 4 I dont know if insane limits can extract the score from a MYSQL database? Or maby keep it more simple and just track the score in a txt file? # I ask this because currently im using proconrulz, the score is tracked in a simple txt file, that part works. The only problem is, that i cant get it to work, to get the announce right , like above. * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted May 1, 2014 Author Share Posted May 1, 2014 Originally Posted by p19blo*: I'm pretty sure you could use TMiland's code, just change this line in the first_check: Code: /* CODE */ if (!isHELI) return false;change to: Code: /* CODE */ if (isHELI) return false;Also you'll need to go through and change the outputted messages a little.Thank you and TMiland. Second request is... Can a !votechopper xxx be done for all types of choppers for the next round. Or would it be vote faction but use RU US CN ? * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted May 1, 2014 Author Share Posted May 1, 2014 Originally Posted by p19blo*: Im looking for a simple knive announcer. In the yell it should contain the knive scores between the killer and the victim. The yell should look like as the new service star annouc limit , so llike this: [ADMIN] -- PLAYER1 knived PLAYER 2 -- 20 - 4 I dont know if insane limits can extract the score from a MYSQL database? Or maby keep it more simple and just track the score in a txt file? # I ask this because currently im using proconrulz, the score is tracked in a simple txt file, that part works. The only problem is, that i cant get it to work, to get the announce right , like above. Tried this ? myrcon.net/.../insane-limits-v08r2-meleeknife-death-shame-from-message-list * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted May 1, 2014 Author Share Posted May 1, 2014 Originally Posted by tarreltje*: Nope ,that limit is something completely different! Verstuurd vanaf mijn Nexus 4 met Tapatalk * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted May 2, 2014 Author Share Posted May 2, 2014 Originally Posted by HARDCOREBF*: Hello , i cant find this limit , if its there plz point me ... End of Round Stats Last Blood Most Kills Most Deaths Most Knife Kills Best Kill Streak I kow there is one for Proconrulez , but we dont wont use this plugin and need only IL Thank you in advance * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted May 2, 2014 Author Share Posted May 2, 2014 Originally Posted by TMiland*: Hello , i cant find this limit , if its there plz point me ... End of Round Stats Last Blood Most Kills Most Deaths Most Knife Kills Best Kill Streak I kow there is one for Proconrulez , but we dont wont use this plugin and need only IL Thank you in advance Have you tried this plugin_: showthread....6-14-2012)-BF3* * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted May 2, 2014 Author Share Posted May 2, 2014 Originally Posted by PapaCharlie9*: Im looking for a simple knive announcer. In the yell it should contain the knive scores between the killer and the victim. The yell should look like as the new service star annouc limit , so llike this: [ADMIN] -- PLAYER1 knived PLAYER 2 -- 20 - 4 I dont know if insane limits can extract the score from a MYSQL database? Or maby keep it more simple and just track the score in a txt file? # I ask this because currently im using proconrulz, the score is tracked in a simple txt file, that part works. The only problem is, that i cant get it to work, to get the announce right , like above. Insane Limits won't do any better, if what you are going for is the formatting of centered text. There's nothing extra in IL that makes that work better, both PR and IL use the same admin.yell command with the same limitations. * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted May 2, 2014 Author Share Posted May 2, 2014 Originally Posted by PapaCharlie9*: Hello , i cant find this limit , if its there plz point me ... End of Round Stats Last Blood Most Kills Most Deaths Most Knife Kills Best Kill Streak I kow there is one for Proconrulez , but we dont wont use this plugin and need only IL Thank you in advance I'm not aware of an Insane Limit that does that. It's a cool idea, I'd like to see someone do it. I'm too lazy myself. I think I'd replace Most Deaths with Best Squad (per team, by kills or score). Why be negative? EDIT: If I were to do it, I would: * Use OnRoundOver * Put all the players from team1.players and team2.players in a list (all) * Write a search loop and have variables for each of the "Most" and "Bests" in the list, one for the number, one for the player object. For example, Most Kills would be: Code: double maxKills = 0; PlayerInfoInterface mostKills = null; ... foreach (PlayerInfoInterface p in all) { ... if (p.Kills > maxKills) { mostKills = p; maxKills = p.Kills; } ... }* Try to format all the stats into one chat line, but repeat it once or twice with a few seconds in between, to allow for all the "gg" and "easy" messages that players tend to type at the end. That might need a second limit for the timing. * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted May 2, 2014 Author Share Posted May 2, 2014 Originally Posted by HARDCOREBF*: I'm not aware of an Insane Limit that does that. It's a cool idea, I'd like to see someone do it. I'm too lazy myself. I think I'd replace Most Deaths with Best Squad (per team, by kills or score). Why be negative? thats true Papa , well , there i plugins that does that , but we want eliminate bunch of plugins running on server , and have several that legit and work great. I hope some one do it ... * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted May 2, 2014 Author Share Posted May 2, 2014 Originally Posted by HARDCOREBF*: Have you tried this plugin_: showthread....6-14-2012)-BF3* Yes , thank you , there is few plugin that dos that , but , we want runs only IL for stuff like this . We already have many as is , ishare my list adkats , xlogger,InsainLimits, metabans, cheatdetector, Spambot, Pinglimiter, xvotemap We dont really want add even more you know * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted May 2, 2014 Author Share Posted May 2, 2014 Originally Posted by tarreltje*: Ah ok thnx, well i got problems centering the message out. Sometime its even wont show the yell because i think the playernames are to long. Any tips for get this right? Verstuurd vanaf mijn Nexus 4 met Tapatalk * Restored post. It could be that the author is no longer active. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.