Jump to content

Insane Limits Requests


ImportBot

Recommended Posts

Originally Posted by PapaCharlie9*:

 

Wow, that was a crazy lucid dream then. Do you think something like this could be possible with insane limits?

Sure, that's easy. I'll post it (untested) in a new thread in a few minutes.
* Restored post. It could be that the author is no longer active.
Link to comment
  • Replies 3.2k
  • Created
  • Last Reply

Originally Posted by HexaCanon*:

 

If you are sure that is the correct limit code (and not some other limit that did it), I will need to see the console.log around the time of that ban to understand what is going on. Find the log for that day and search for "pb_sv_kick" and either the 5haftoe or the peterf83 name. I'll need to see everything around that line, before and after.

 

I looked in the Insane Limits code and everything seems correct. There's no place where killer.Name gets switched with some other name that I can see.

happened again

 

Code:

chiliper4ikmd chiliper4ikmd 1SeibeI1 30 minutes ban for using M67(Temporary:30) | BC2!
Code:
Playerlist	11/13/2012 10:22:22		PlayerKilled	1SeibeI1 killed VampirugAmbal [M67 Grenade]
Playerlist	11/13/2012 10:22:23	SYSOP	PlayerKickedByAdmin	1SeibeI1 was kicked from the server by an admin
Playerlist	11/13/2012 10:22:23		PlayerLeave	1SeibeI1 left the server
Playerlist	11/13/2012 10:22:24		PlayerJoin	rokfor60rus joined the server
Playerlist	11/13/2012 10:22:24		PlayerKilled	DangerousBambi killed aurelius_nl [KH2002 Assault Rifle]
Playerlist	11/13/2012 10:22:25		PlayerKilled	Warpinate killed K4psel [M417 Sniper Rifle | -HEADSHOT-]
Playerlist	11/13/2012 10:22:29		PlayerLeave	chiliper4ikmd left the server
i dont know why the plugin console is not recording. i checked log files but there is no log for plugin console.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by PapaCharlie9*:

 

happened again

 

Code:

chiliper4ikmd chiliper4ikmd 1SeibeI1 30 minutes ban for using M67(Temporary:30) | BC2!
Code:
Playerlist	11/13/2012 10:22:22		PlayerKilled	1SeibeI1 killed VampirugAmbal [M67 Grenade]
Playerlist	11/13/2012 10:22:23	SYSOP	PlayerKickedByAdmin	1SeibeI1 was kicked from the server by an admin
Playerlist	11/13/2012 10:22:23		PlayerLeave	1SeibeI1 left the server
Playerlist	11/13/2012 10:22:24		PlayerJoin	rokfor60rus joined the server
Playerlist	11/13/2012 10:22:24		PlayerKilled	DangerousBambi killed aurelius_nl [KH2002 Assault Rifle]
Playerlist	11/13/2012 10:22:25		PlayerKilled	Warpinate killed K4psel [M417 Sniper Rifle | -HEADSHOT-]
Playerlist	11/13/2012 10:22:29		PlayerLeave	chiliper4ikmd left the server
i dont know why the plugin console is not recording. i checked log files but there is no log for plugin console.
I need the console.log, not the plugin.log. There is a separate checkbox option in Tools>Options for logging each one. If those options are not checked, you don't get the log.

 

The console.log has all of the commands sent to the game server. I need to see what commands are being sent. If the command is correct, it means PRoCon or the game server it the problem. If the command is incorrect, it means the limit code, Insane limits or ProCon is the problem. The way in which the command is incorrect might enable me to narrow it down further.

 

The contents of a console.log file looks like this:

 

Code:

[00:17:34] admin.movePlayer SCHLECKvonED83 2 1 false
[00:17:34] OK
[00:17:34] admin.yell Moved you for balance, please stay with your new squad! 30 player SCHLECKvonED83
[00:17:34] OK
[00:17:34] admin.say SCHLECKvonED83: Moved you for balance, please stay with your new squad! player SCHLECKvonED83
[00:17:34] OK
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by HexaCanon*:

 

yeah but i am using punkbuster for the weapon kicks and the console does not record pb commands ?

 

Code:

[10:22:06] serverInfo
[10:22:06] admin.listPlayers all
[10:22:07] OK Layer[xtracommunity.com [64 : 2nd no-frag METRO]] 61 64 ConquestLarge0 MP_Subway 1 2 2 1653.89453 1843 0  true true false 10632 722 173.199.105.65:25240 v1.863 | A1386 C2.317 true EU ams DE true
[10:22:08] OK 7 name guid teamId squadId kills deaths score 61 (deleted EA_GUID)
[10:22:37] serverInfo
[10:22:37] admin.listPlayers all
[10:22:37] mapList.getMapIndices
[10:22:37] punkBuster.pb_sv_command pb_sv_plist
[10:22:38] OK Layer[xtracommunity.com [64 : 2nd no-frag METRO]] 59 64 ConquestLarge0 MP_Subway 1 2 2 1639.15125 1834 0  true true false 10664 754 173.199.105.65:25240 v1.863 | A1386 C2.317 true EU ams DE true
[10:22:39] OK 7 name guid teamId squadId kills deaths score 59 (deleted EA_GUID)  0 0 0 0 0
[10:22:39] OK 0 0
[10:22:39] OK
Edit : hm .. no record from 10:22:09 till 10:22:36 . could it be lag ?

 

edit 2 : lag happened after "admin.listPlayers all" command

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Tomgun*:

 

ok guys heres a special request

 

can someone right a script that I am able to put in a list what weapons are not allowed and if a team kills with any of the weapons in that list I can use either options to:

 

1) kill that player

2) kick that player

3) kill that team

4) kick that team

 

each rule break will display a message on the screen who broke the rule and the kick message will display there name to everyone who broke the rule

 

This is purely for private matches and teams in the match break the rules!!

 

scenario A:

 

A player in team A kills with RPG, he gets kicked, a kick message to him gets displayed and everyone in the server gets the meassage why he was kicked

 

scenario B:

 

A player in team A kills with RPG, he gets killed, his whole team gets killed also and everyone in the server gets the meassage the team was killed and with the players name

 

scenario C: you get the idea

 

If possible have options to create the different scenario in the script for easy rule change like

 

kill player with message to server and offender: YES

kill team with message to server and offender: YES

kick team with message to kicked team and server including the offenders name: YES

 

if possible in chat,yell and both options

 

if someone could have a crack at this it would be great

 

if you could pm me it or post it on here it, thanks

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by PapaCharlie9*:

 

yeah but i am using punkbuster for the weapon kicks and the console does not record pb commands ?

 

Code:

[10:22:37] punkBuster.pb_sv_command pb_sv_plist
The punkbuster commands sent by Insane Limits will be in the console.log, just like the line above.

 

No idea why you have a gap in your logging, I've never seen that before. That could also explain why the wrong ban happened. If the player list in Insane Limits wasn't getting updated properly due to lag, it could create the problem you are seeing.

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Tomgun*:

 

Can a script be made to just display the time of day (am and pm) in the server depending on the server location and/or procon hosted location (mines both hosted in UK)

 

please

 

cheers

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by HexaCanon*:

 

happened again

 

Code:

chiliper4ikmd chiliper4ikmd 1SeibeI1 30 minutes ban for using M67(Temporary:30) | BC2!
Code:
Playerlist	11/13/2012 10:22:22		PlayerKilled	1SeibeI1 killed VampirugAmbal [M67 Grenade]
Playerlist	11/13/2012 10:22:23	SYSOP	PlayerKickedByAdmin	1SeibeI1 was kicked from the server by an admin
Playerlist	11/13/2012 10:22:23		PlayerLeave	1SeibeI1 left the server
Playerlist	11/13/2012 10:22:24		PlayerJoin	rokfor60rus joined the server
Playerlist	11/13/2012 10:22:24		PlayerKilled	DangerousBambi killed aurelius_nl [KH2002 Assault Rifle]
Playerlist	11/13/2012 10:22:25		PlayerKilled	Warpinate killed K4psel [M417 Sniper Rifle | -HEADSHOT-]
Playerlist	11/13/2012 10:22:29		PlayerLeave	chiliper4ikmd left the server
i dont know why the plugin console is not recording. i checked log files but there is no log for plugin console.
on the same issue

 

Posted Image

 

Code:

Playerlist	11/23/2012 16:34:06		PlayerKilled	12SOLODAT killed elvismedia [M67 Grenade]
Playerlist	11/23/2012 16:34:07		PlayerKilled	ANTILOOP695 killed Torso83 [M16A4 Assault Rifle | -HEADSHOT-]
Playerlist	11/23/2012 16:34:07		PlayerKilled	DigitalDesigned killed prakomarko [M27 IAR  | -HEADSHOT-]
Playerlist	11/23/2012 16:34:07		PlayerKilled	trololong killed pueblo137 [L85A2/SA80 Assault Rifle]
Playerlist	11/23/2012 16:34:08	SYSOP	PlayerKickedByAdmin	12SOLODAT was kicked from the server by an admin
Playerlist	11/23/2012 16:34:08		PlayerLeave	12SOLODAT left the server
[b]Playerlist	11/23/2012 16:34:08		PlayerKilled	 killed Uk-IceMan-1 [M67 Grenade][/b]
Playerlist	11/23/2012 16:34:10		PlayerKilled	unexpectedeath killed CA30H [M5K Submachine Gun]
Playerlist	11/23/2012 16:34:10		PlayerKilled	aupa78 killed S1eB [Pecheneg Maschine Gun]
Playerlist	11/23/2012 16:34:11		PlayerKilled	majci88 killed zaiman106 [AN-94 Abakan Assault Rifle]
Playerlist	11/23/2012 16:34:12		PlayerKilled	aupa78 killed S1eB [Pecheneg Maschine Gun]
Playerlist	11/23/2012 16:34:13		PlayerKilled	JaCkoKilLYou killed ZeeArtius [M27 IAR ]
Playerlist	11/23/2012 16:34:13		PlayerLeave	ArcadeGannon88 left the server
this is what i have on console

 

Code:

[16:34:05] punkBuster.pb_sv_command pb_sv_plist
[16:34:05] OK
[16:34:35] serverInfo
[16:34:35] admin.listPlayers all
[16:34:35] mapList.getMapIndices
can there be some sort of a check that takes the name from the String message and match it to the player who will be kicked. or any kind of safety check.

 

Edit : notice the bold part , it says some got killed by grenade but the killer is not there ?

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by PapaCharlie9*:

 

this is what i have on console

 

Code:

[16:34:05] punkBuster.pb_sv_command pb_sv_plist
[16:34:05] OK
[16:34:35] serverInfo
[16:34:35] admin.listPlayers all
[16:34:35] mapList.getMapIndices
Hmm, very mysterious. Where is the pb_sv_kick command that should be there? You sure that was from the same server? Did you edit the log or is that everything that was in it?

 

It would be helpful if, on your layer, you enabled Events in your console log. Don't enable Debug, just Output, Scrolling and Events. Then we would see the player.onKill events interleaved with the client commands.

 

As a quick fix, you could switch to EA banning instead of PB banning. I suspect the problem is in the PB banning code in Insane Limits and/or PRoCon itself.

 

EDIT: What we are looking for in the console.log is a line that will look like this, if I were the player being banned.

 

Code:

punkBuster.pb_sv_command pb_sv_kick PapaCharlie9 30 PapaCharlie9 30 minutes ban for using M67 | BC2!
If you find a line where the name doesn't match the message, that's our problem. From that we can start designing some test code to isolate the problem and fix it.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by pharbehind*:

 

Can I request a command to show the current map rotation, triggered by "!rotation"?

 

Can either display in a list, 1 by 1, or in a way similar to map options in xVoteMap plugin.

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by PapaCharlie9*:

 

Can I request a command to show the current map rotation, triggered by "!rotation"?

 

Can either display in a list, 1 by 1, or in a way similar to map options in xVoteMap plugin.

Sorry bud, not with Insane Limits. It has no clue what the current map rotation is. All it can tell you is what the current map is and what the next map is.

 

It's on the wish list to add the full map rotation. It wouldn't be that hard to add, but we just did a major update and I'm having a hard enough time getting people to get off of 0.8.

 

EDIT: you are in luck. I have to fix a bug in 0.0.9.0 anyway, so I'll add this.

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by PapaCharlie9*:

 

double wrong ban :biggrin:

 

Posted Image

Try making the following changes to your code:

 

Code:

if (warnings == 1) {
	String Second = plugin.R("%k_n% 30 minutes ban for using " + wn);
	plugin.PBBanPlayerWithMessage(PBBanDuration.Temporary, killer.Name, 30, Second);
        plugin.ConsoleWrite("^b[BAN]^n Temporary: " + killer.Name + " (" + Second + ")");
        plugin.PRoConEvent("Temporary: " + killer.Name + " (" + Second + ")", "Insane Limits");
	plugin.SendGlobalMessage (Second);
} else if (warnings > 2) {
	String Third = plugin.R("%k_n% permanent ban for using " + wn);
	plugin.PBBanPlayerWithMessage(PBBanDuration.Permanent, killer.Name, 0, Third);
        plugin.ConsoleWrite("^b[BAN]^n Permanent: " + killer.Name + " (" + Third + ")");
        plugin.PRoConEvent("Permanent: " + killer.Name + " (" + Third + ")", "Insane Limits");
	plugin.SendGlobalMessage (Third);
}
Then post a section of the plugin.log or event.log that has the ban in it. That will help us see what the value of killer.Name and %k_n% are.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by PapaCharlie9*:

 

Copied from the other thread.

 

I remember reading a while back someone saying that insane limits was kicking the wrong person but not actually. What I mean is it was posting in the plugin log that it was the incorrect person but in actual fact kicking the correct person. I had a similar situation where my admin announcer announced to all and the correct name but the log shows it as the previous person to have been named by %p_n% simple replacement. I am assuming it is carrying out the action command before the %p_n% gets updated.

 

first part

 

Code:

plugin.isInList(player.Name, "Friend") || plugin.isInList(player.Tag, "Friend_Clans")
second part of the code

 

Code:

/* Version 0.8/R3 */


ThreadStart AdminYell = delegate {
    double count = limit.Activations(player.Name);

    if (count == 1)
{	Thread.Sleep(5*1000);
if (player.Tag == "SLAG")
{
switch (player.Name)
            {
                case "Supermillhouse":
                      plugin.ConsoleWrite(plugin.R("%p_n% Admin is on"));
                      plugin.ServerCommand("admin.yell", "Super =[SLAG]= Admin Supermillhouse has joined the server, everybody behave!!", "5");               
                    break;
                case "stellatooth1":
                      plugin.ConsoleWrite(plugin.R("%p_n% Admin is on"));
                      plugin.ServerCommand("admin.yell", "Super =[SLAG]= Admin Stellatooth1 has joined, **WARNING** everybody run & hide..or be teamkilled!!", "5");
                    break;
                case "ChalkieDog":
                      plugin.ConsoleWrite(plugin.R("%p_n% Admin is on"));
                      plugin.ServerCommand("admin.yell", "Super =[SLAG]= Admin ChalkieDog has joined the server, everybody behave!!", "5");               
                    break;
                case "Madscouser":
                      plugin.ConsoleWrite(plugin.R("%p_n% Admin is on"));
                      plugin.ServerCommand("admin.yell", "Super =[SLAG]= Admin Madscouser has joined the server, everybody behave!!", "5");               
                    break;
                case "psychogerker":
                      plugin.ConsoleWrite(plugin.R("%p_n% Admin is on"));
                      plugin.ServerCommand("admin.yell", "=[SLAG]= Admin Psychogerker has joined the server, everybody behave!!", "5");               
                    break;
                case "viin1":
                      plugin.ConsoleWrite(plugin.R("%p_n% Admin is on"));
                      plugin.ServerCommand("admin.yell", "=[SLAG]= Admin Viin1 has joined the server, everybody behave!!", "5");               
                    break;
                case "Armadildo":
                      plugin.ConsoleWrite(plugin.R("%p_n% Admin is on"));
                      plugin.ServerCommand("admin.yell", "=[SLAG]= Admin Armadilo has joined the server, everybody behave!!", "5");               
                    break;
                case "Northumbrian":
                      plugin.ConsoleWrite(plugin.R("%p_n% Admin is on"));
                      plugin.ServerCommand("admin.yell", "=[SLAG]= Admin Northumbrian A.K.A. \"Bwian!!!\" has joined the server, everybody say hello to Bwian!!", "5");               
                    break;
                case "roflcoptrattck":
                      plugin.ConsoleWrite(plugin.R("%p_n% Admin is on"));
                      plugin.ServerCommand("admin.yell", "=[SLAG]= Admin Roflcoptrattck has joined the server, everybody behave!!", "5");               
                    break;
                case "909303":
                      plugin.ConsoleWrite(plugin.R("%p_n% SLAG is on"));
                      plugin.ServerCommand("admin.yell", "=[SLAG]= SLAG 909303 A.K.A. \"Riccccckkkkaaaaaayyy!!!\" has joined the server, everybody say hello to Riccccckkkkaaaaaayyy!!!!!", "5");               
                    break;
                default:
                      plugin.ConsoleWrite(plugin.R("%p_n% SLAG is on"));
                      plugin.ServerCommand("admin.yell", "=[SLAG]=  " + player.Name + " has joined the server, everybody behave!!", "5");               
                    break;
             }
}
else
             {  
                      plugin.ConsoleWrite(plugin.R("%p_n% is on"));
                      plugin.ServerCommand("admin.yell", "=[SLAG]= Friend " +player.Name+ " has joined the server, everybody behave!!", "5");  
                      plugin.Log("Logs\\InsaneLimits\\Friend1-8-12.log", plugin.R("[%date% %time%] [%p_ct% - %p_n%]    >>EA GUID:    %p_eg%<<         and         >>PB GUID:    %p_pg%<<     and      >>IP:    %p_ip%<<"));

}
}



};

	Thread t = new Thread(AdminYell);
	t.Start();
	Thread.Sleep(10);
return false;
it was case "909303": that was incorrect, the log showed it up as another player that falls in to the case default
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by PapaCharlie9*:

 

@supermillhouse

 

I'll continue to investigate replacements as the possible source of problems (HexaCanon's example also uses replacements), but that aside, you need to change your code. You should refactor your code so that the switch statement is in the main thread. The only part that should be in the new thread is the yell and the 5 second sleep. In general, you want as little code as possible to run in the thread and you want to pass as much data to it through local variables as possible. In this way, you minimize race conditions with references passed into the limit, like player, killer, victim, etc.

 

Something like this:

 

Code:

if (limit.Activations(player.Name) > 1) return false; // don't even bother with the rest!

// Closure bindings for the delegate
String consoleMsg = null;
String yellMsg = null;
String logMsg = null;

// Switch statement

if (player.Tag == "SLAG") {
    switch (player.Name) {
        case "Supermillhouse":
            consoleMsg = plugin.R("%p_n% Admin is on");
            yellMsg = "Super =[SLAG]= Admin Supermillhouse has joined the server, everybody behave!!";
            break;
        case "stellatooth1":
            ..., etc.
     }
} else {
    consoleMsg = plugin.R("%p_n% is on");
    yellMsg = "=[SLAG]= Friend " +player.Name+ " has joined the server, everybody behave!!";
    logMsg = plugin.R("[%date% %time%] [%p_ct% - %p_n%]    >>EA GUID:    %p_eg%<<         and         >>PB GUID:    %p_pg%<<     and      >>IP:    %p_ip%<<");
}

// Thread delegate
ThreadStart AdminYell = delegate {
        plugin.ConsoleWrite(consoleMsg);
        if (logMsg != null) plugin.Log("Logs\\InsaneLimits\\Friend1-8-12.log", logMsg);
        Thread.Sleep(5*1000);
        plugin.ServerCommand("admin.yell", yellMsg, "5");  
};

// Main thread code
Thread t = new Thread(AdminYell);
t.Start();
Thread.Sleep(10);
return false;
Written this way, the only reference that is a potential race condition is the plugin object. Everything else is a local copy.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by EBassie*:

 

for sound notification action, do i need the sound file to be on the layer or in the local file ?

 

and what are the limitations of the sound file ?

Sound Notifications can only be on a local install. So you need to run a local version of InsaneLimits.

The soundfiles to be wave files and put in the media-folder on the Procon install

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by HexaCanon*:

 

Code:

[16:39:10 69] [Insane Limits] Thread(fetch): getting battlelog stats for Jeka879, 55 more players in queue
[16:44:27 77] [Insane Limits] Thread(fetch): getting battlelog stats for stas150102, 55 more players in queue
5 minutes, still no progress.

 

full plugin log here log.zip

 

 

Edit :

 

also can someone tell me if i am doing something wrong with this code

 

Code:

if (player.LastChat.StartsWith("!teamspeak") || player.LastChat.StartsWith("!ts")) {
	TimeSpan time = TimeSpan.FromSeconds(server.TimeRound);
	String winner = "US";
	if (server.WinTeamId == 2) winner = "RU";
	String msg = "Round has been running for: " + time.Hours + "h " + time.Minutes + "m";
	plugin.ServerCommand("admin.say", msg, "player", player.Name);
	msg = "Last round, the " + winner + " team won.";
	plugin.ServerCommand("admin.say", msg, "player", player.Name);
	msg = "Join our TeamSpeak server at this address ts.xtracommunity.com:4484";
	plugin.ServerCommand("admin.say", msg, "player", player.Name);
	return false;
}
it is not working for me

 

 

Edit 2 :

 

more logs

 

Code:

[17:11:54 27] [Insane Limits] Looks like V1P3R_EU left the server, removing him from stats queue
[17:11:55 33] [Insane Limits] Thread(fetch): System.Net.WebException: Unable to connect to the remote server
[17:11:55 33] [Insane Limits] Thread(fetch): Retry 3 for kila37
[17:11:55 33] [Insane Limits] Thread(fetch): ERROR: Fetching stats for kila37: Unable to connect to the remote server
[17:11:55 33] [Insane Limits] Thread(fetch): Unable to fetch stats for kila37
[17:11:55 33] [Insane Limits] Thread(fetch): done fetching stats, 1 player in new batch, updating player's list
[17:11:55 33] [Insane Limits] Thread(fetch): Will insert a batch of 1 player
[17:11:55 33] [Insane Limits] Thread(fetch): For 1 new players, evaluate OnJoin limits
[17:11:55 77] [Insane Limits] Queueing Sniper-6713 for stats fetching
[17:11:59 77] [Insane Limits] Thread(fetch): Evaluating Limit #8 - OnJoin, for kila37
[17:11:59 77] [Insane Limits] Thread(fetch): done inserting 1 new players, took 26 secs
[17:11:59 77] [Insane Limits] Thread(fetch): getting battlelog stats for ToryTorsun, 45 more players in queue
[17:12:14 59] [Insane Limits] Queueing dmitryartamonov for stats fetching
[17:12:20 80] [Insane Limits] Thread(fetch): System.Net.WebException: Unable to connect to the remote server
[17:12:20 80] [Insane Limits] Thread(fetch): ToryTorsun is one of 13 players in the retry queue
[17:12:20 80] [Insane Limits] Thread(fetch): getting battlelog stats for dmitryartamonov, 45 more players in queue
[17:12:26 00] [Insane Limits] Queueing sergino1973 for stats fetching
[17:12:41 73] [Insane Limits] Queueing arvel2000 for stats fetching
[17:12:42 13] [Insane Limits] Thread(fetch): System.Net.WebException: Unable to connect to the remote server
[17:12:42 13] [Insane Limits] Thread(fetch): dmitryartamonov is one of 14 players in the retry queue
[17:12:42 13] [Insane Limits] Thread(fetch): getting battlelog stats for sergino1973, 46 more players in queue
[17:12:44 58] [Insane Limits] Thread(settings): 15 limits and 3 lists loaded from Plugins\BF3\InsaneLimits_173.199.105.62_25230.conf
[17:12:53 20] [Insane Limits] Queueing ToryTorsun for stats fetching
[17:12:53 20] [Insane Limits] Queueing dmitryartamonov for stats fetching
[17:13:01 89] [Insane Limits] Queueing deaddog01 for stats fetching
[17:13:03 13] [Insane Limits] Thread(fetch): System.Net.WebException: Unable to connect to the remote server
[17:13:03 14] [Insane Limits] Thread(fetch): sergino1973 is one of 15 players in the retry queue
[17:13:03 14] [Insane Limits] Thread(fetch): getting battlelog stats for ToryTorsun, 48 more players in queue
[17:13:17 97] [Insane Limits] Looks like Rambo1970 left the server, removing him from stats queue
[17:13:17 97] [Insane Limits] Looks like ArcadeGannon88 left the server, removing him from stats queue
[17:13:24 23] [Insane Limits] Thread(fetch): System.Net.WebException: Unable to connect to the remote server
[17:13:24 23] [Insane Limits] Thread(fetch): Retry 1 for ToryTorsun
[17:13:24 23] [Insane Limits] Thread(fetch): getting battlelog stats for kulollenodeplomo, 45 more players in queue
[17:13:26 39] [Insane Limits] Queueing ToryTorsun for stats fetching
[17:13:26 39] [Insane Limits] Queueing sergino1973 for stats fetching
[17:13:32 58] [Insane Limits] Looks like dmitryartamonov left the server, removing him from stats queue
[17:13:32 58] [Insane Limits] Looks like EoD_BlacklI left the server, removing him from stats queue
[17:13:45 23] [Insane Limits] Thread(fetch): System.Net.WebException: Unable to connect to the remote server
[17:13:45 23] [Insane Limits] Thread(fetch): Retry 1 for kulollenodeplomo
[17:13:45 23] [Insane Limits] Thread(fetch): getting battlelog stats for ToryTorsun, 44 more players in queue
[17:13:45 77] [Insane Limits] Queueing Arbartur for stats fetching
[17:13:48 20] [Insane Limits] Looks like pollo111 left the server, removing him from stats queue
[17:14:06 23] [Insane Limits] Thread(fetch): System.Net.WebException: Unable to connect to the remote server
[17:14:06 23] [Insane Limits] Thread(fetch): Retry 2 for ToryTorsun
[17:14:06 23] [Insane Limits] Thread(fetch): getting battlelog stats for Arbartur, 43 more players in queue
[17:14:06 59] [Insane Limits] Queueing Lord_Of_Cow for stats fetching
[17:14:08 13] [Insane Limits] Queueing OperatorDNG for stats fetching
[17:14:10 39] [Insane Limits] Queueing LITHUANIAN63 for stats fetching
[17:14:18 81] [Insane Limits] Queueing kulollenodeplomo for stats fetching
[17:14:18 84] [Insane Limits] Queueing ToryTorsun for stats fetching
[17:14:22 27] [Insane Limits] Queueing Systemx1337 for stats fetching
[17:14:27 45] [Insane Limits] Thread(fetch): System.Net.WebException: Unable to connect to the remote server
[17:14:27 45] [Insane Limits] Thread(fetch): Arbartur is one of 16 players in the retry queue
[17:14:27 45] [Insane Limits] Thread(fetch): getting battlelog stats for Systemx1337, 48 more players in queue
[17:14:36 06] [Insane Limits] Queueing dmitryartamonov for stats fetching
[17:14:45 38] [Insane Limits] Thread(settings): 15 limits and 3 lists loaded from Plugins\BF3\InsaneLimits_173.199.105.62_25230.conf
[17:14:48 45] [Insane Limits] Thread(fetch): System.Net.WebException: Unable to connect to the remote server
[17:14:48 45] [Insane Limits] Thread(fetch): Systemx1337 is one of 17 players in the retry queue
[17:14:48 45] [Insane Limits] Thread(fetch): getting battlelog stats for dmitryartamonov, 48 more players in queue
[17:14:57 83] [Insane Limits] Queueing Arbartur for stats fetching
[17:14:57 84] [Insane Limits] Queueing Systemx1337 for stats fetching
[17:15:09 56] [Insane Limits] Thread(fetch): System.Net.WebException: Unable to connect to the remote server
[17:15:09 56] [Insane Limits] Thread(fetch): Retry 1 for dmitryartamonov
[17:15:09 56] [Insane Limits] Thread(fetch): getting battlelog stats for Arbartur, 49 more players in queue
[17:15:28 05] [Insane Limits] Looks like Jeka_3BePb left the server, removing him from stats queue
[17:15:30 67] [Insane Limits] Thread(fetch): System.Net.WebException: Unable to connect to the remote server
[17:15:30 67] [Insane Limits] Thread(fetch): Retry 1 for Arbartur
[17:15:30 67] [Insane Limits] Thread(fetch): getting battlelog stats for Lord_Of_Cow, 47 more players in queue
[17:15:44 89] [Insane Limits] Queueing Arbartur for stats fetching
[17:15:44 91] [Insane Limits] Queueing dmitryartamonov for stats fetching
[17:15:46 25] [Insane Limits] Queueing feelingX for stats fetching
[17:15:51 67] [Insane Limits] Thread(fetch): System.Net.WebException: Unable to connect to the remote server
[17:15:51 67] [Insane Limits] Thread(fetch): Lord_Of_Cow is one of 18 players in the retry queue
[17:15:51 67] [Insane Limits] Thread(fetch): getting battlelog stats for feelingX, 49 more players in queue
[17:15:53 92] [Insane Limits] Queueing Sc4mpiJ0e for stats fetching
[17:15:55 27] [Insane Limits] Queueing Lord_Of_Cow for stats fetching
[17:16:12 78] [Insane Limits] Thread(fetch): System.Net.WebException: Unable to connect to the remote server
[17:16:12 78] [Insane Limits] Thread(fetch): aborting fetch, looks like player feelingX left the game!
[17:16:12 78] [Insane Limits] Thread(fetch): getting battlelog stats for Sc4mpiJ0e, 50 more players in queue
[17:16:19 06] [Insane Limits] Queueing iwoasanixmann for stats fetching
[17:16:31 66] [Insane Limits] Queueing Marisol_b for stats fetching
[17:16:32 78] [Insane Limits] Queueing Bowdead for stats fetching
[17:16:33 89] [Insane Limits] Thread(fetch): System.Net.WebException: Unable to connect to the remote server
[17:16:34 45] [Insane Limits] Thread(fetch): Sc4mpiJ0e is one of 19 players in the retry queue
[17:16:34 45] [Insane Limits] Thread(fetch): getting battlelog stats for Marisol_b, 52 more players in queue
[17:16:46 98] [Insane Limits] Queueing cmpank14 for stats fetching
[17:16:50 31] [Insane Limits] Queueing antrax-thor for stats fetching
[17:16:53 73] [Insane Limits] Thread(settings): 15 limits and 3 lists loaded from Plugins\BF3\InsaneLimits_173.199.105.62_25230.conf
[17:16:54 48] [Insane Limits] Queueing d33pTrip for stats fetching
[17:16:55 47] [Insane Limits] Thread(fetch): System.Net.WebException: Unable to connect to the remote server
[17:16:56 05] [Insane Limits] Thread(fetch): Marisol_b is one of 20 players in the retry queue
[17:16:56 05] [Insane Limits] Thread(fetch): getting battlelog stats for cmpank14, 54 more players in queue
[17:16:58 70] [Insane Limits] Queueing La_Manta_CS for stats fetching
[17:17:00 39] [Insane Limits] Queueing AnGrY_BarACudA for stats fetching
[17:17:05 61] [Insane Limits] Queueing Sc4mpiJ0e for stats fetching
[17:17:05 61] [Insane Limits] Queueing Marisol_b for stats fetching
[17:17:17 13] [Insane Limits] Thread(fetch): System.Net.WebException: Unable to connect to the remote server
[17:17:17 13] [Insane Limits] Thread(fetch): cmpank14 is one of 21 players in the retry queue
[17:17:17 13] [Insane Limits] Thread(fetch): getting battlelog stats for La_Manta_CS, 57 more players in queue
[17:17:21 19] [Insane Limits] Looks like Lord_Of_Cow left the server, removing him from stats queue
[17:17:26 56] [Insane Limits] Queueing cmpank14 for stats fetching
[17:17:30 33] [Insane Limits] Queueing kilike for stats fetching
[17:17:38 23] [Insane Limits] Thread(fetch): System.Net.WebException: Unable to connect to the remote server
[17:17:38 23] [Insane Limits] Thread(fetch): aborting fetch, looks like player La_Manta_CS left the game!
[17:17:38 23] [Insane Limits] Thread(fetch): getting battlelog stats for kilike, 57 more players in queue
it feels like my layer is totally blocked from battlelog .....

 

Edit 3 : restarting the whole server, maybe emptying the server and refilling it will make it easier for insanelimits to fetch stats. instead of having a long queue.

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Singh400*:

 

See all those "System.Net.WebException: Unable to connect to the remote server"? That's your problem. The queue doesn't move down, because it hasn't finished with the current player. Unfortunately, this is not ILs fault. It's down to two things:-

 

  • BattleLog being down
  • Network congestion on your layer provider
I get the latter a lot with my provider.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by HexaCanon*:

 

3rd server running 0.0.9.2

 

Code:

[17:32:56 22] [Insane Limits] Thread(fetch): ERROR: Fetching stats for Po2noBaeRchen: Unable to connect to the remote server
[17:40:08 81] [Insane Limits] Thread(fetch): ERROR: Fetching stats for ilulu33: Unable to connect to the remote server
[17:42:21 17] [Insane Limits] Thread(fetch): ERROR: Fetching stats for Simppua: Unable to connect to the remote server
[17:43:49 20] [Insane Limits] Thread(fetch): ERROR: Fetching stats for benitokilledyou: Unable to connect to the remote server
[17:44:35 23] [Insane Limits] Thread(fetch): ERROR: Fetching stats for Perkilaattori: Unable to connect to the remote server
Edit : ok just restarted one of the servers, lets hope it fix the issue.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by EBassie*:

 

  • BattleLog being down
  • Network congestion on your layer provider
I get the latter a lot with my provider.
Yeah, this is going to be a big problem if your layerprovider has several customers on the same box / IP address all running InsaneLimits and other plugins querying Battlelog.

 

Not good business for Layerproviders, but it might be better to host Procon yourself these days... :sad:

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by HexaCanon*:

 

i wonder if 0.0.9.2 is causing the issue. i just upgraded all layers today. and this is happening now.

 

i have 8 layers on the same machine. all using 0.0.9.2 now.

 

 

i think i will revert back to 0.0.8.6 if it keeps happening.

 

 

Edit : 2 minutes after starting layer with 0.0.8.6 , rules are working.

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by PapaCharlie9*:

 

i wonder if 0.0.9.2 is causing the issue. i just upgraded all layers today. and this is happening now.

 

i have 8 layers on the same machine. all using 0.0.9.2 now.

 

 

i think i will revert back to 0.0.8.6 if it keeps happening.

 

 

Edit : 2 minutes after starting layer with 0.0.8.6 , rules are working.

Is it possible to upgrade just one server, or do you have to do all of your servers at the same time? I want to try to isolate the problem.

 

I can't tell if this is just bad timing/bad luck, or a real problem with 9.2.

 

0.0.8.6 appearing to work doesn't prove anything, since it won't show the exception message unless debug_level is 4 or more. They are probably still happening, you just don't see them.

 

I personally am not seeing this problem on my server with 9.2, but I don't use a layer. Singh saw the problem with 9.2 and using layer, but then it went away. That suggests to me that maybe you just has some temporary bad luck, Hex, and it will eventually go away.

 

Also, it would be great if you could post problem reports on the 0.0.9.2 FULL UPDATE thread, and put requests here. I get all confused about which request/complaint came from where when they are all mixed together.

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by blademaster*:

 

hello PapaCharlie9,

 

posting here following your advice,

 

I would like to have a limit which can store all the bans and kicks which were executed on the server in a separate log file with all the information like: PLAYERNAME / IP / GUID / BANED or KICKED / REASON. I'm streaming to Pbbans, GGC and Metabans and all of them has their own list plus my server ban list which is also separate and i'm losing many info on kicks and bans done by GGC and PBbans after procon restart as its doesn't stored anywhere.

 

thanks and regards

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by HexaCanon*:

 

hello PapaCharlie9,

 

posting here following your advice,

 

I would like to have a limit which can store all the bans and kicks which were executed on the server in a separate log file with all the information like: PLAYERNAME / IP / GUID / BANED or KICKED / REASON. I'm streaming to Pbbans, GGC and Metabans and all of them has their own list plus my server ban list which is also separate and i'm losing many info on kicks and bans done by GGC and PBbans after procon restart as its doesn't stored anywhere.

 

thanks and regards

i dunno if it is really possible, ggc and pbbans can announce their own bans, and they are stored in their index.

 

so if they ban someone and you are streaming to them, those players will never be able to join your server. so there is no need to store their information.

 

all ggc and pbbans bans are only handled by their teams, there is nothing you can do about them.

 

for metabans, these bans are issued by YOU.

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by blademaster*:

 

thanks for reply HexaCanon,

 

but how could they ban or kick from my server without sending ban or kick command to it ? so if the command executed on my server most probably it could be logged, also I could see for example GGC ban in my procon ban list : """"PlayerName 2.94.34.199:3659 8646386fbdd7799c2a5d7a2c27ca4c47 PB Guid Unbanned Cheater banned by GGC-Stream.com. Ban on GUID 8646386fbdd7799c2a5d7a2c27ca4c47. Contact GGC-Stream.com for details. [Admin Decision]"""" but it's written "unbaned" and the ban disappearing after procon restart

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by supermillhouse*:

 

@supermillhouse

 

I'll continue to investigate replacements as the possible source of problems (HexaCanon's example also uses replacements), but that aside, you need to change your code. You should refactor your code so that the switch statement is in the main thread. The only part that should be in the new thread is the yell and the 5 second sleep. In general, you want as little code as possible to run in the thread and you want to pass as much data to it through local variables as possible. In this way, you minimize race conditions with references passed into the limit, like player, killer, victim, etc.

 

Something like this:

 

Code:

if (limit.Activations(player.Name) > 1) return false; // don't even bother with the rest!

// Closure bindings for the delegate
String consoleMsg = null;
String yellMsg = null;
String logMsg = null;

// Switch statement

if (player.Tag == "SLAG") {
    switch (player.Name) {
        case "Supermillhouse":
            consoleMsg = plugin.R("%p_n% Admin is on");
            yellMsg = "Super =[SLAG]= Admin Supermillhouse has joined the server, everybody behave!!";
            break;
        case "stellatooth1":
            ..., etc.
     }
} else {
    consoleMsg = plugin.R("%p_n% is on");
    yellMsg = "=[SLAG]= Friend " +player.Name+ " has joined the server, everybody behave!!";
    logMsg = plugin.R("[%date% %time%] [%p_ct% - %p_n%]    >>EA GUID:    %p_eg%<<         and         >>PB GUID:    %p_pg%<<     and      >>IP:    %p_ip%<<");
}

// Thread delegate
ThreadStart AdminYell = delegate {
        plugin.ConsoleWrite(consoleMsg);
        if (logMsg != null) plugin.Log("Logs\\InsaneLimits\\Friend1-8-12.log", logMsg);
        Thread.Sleep(5*1000);
        plugin.ServerCommand("admin.yell", yellMsg, "5");  
};

// Main thread code
Thread t = new Thread(AdminYell);
t.Start();
Thread.Sleep(10);
return false;
Written this way, the only reference that is a potential race condition is the plugin object. Everything else is a local copy.
cool thanx for you advice, i have re written my admin announcer, i will use the same techneque for my !rules announcer
* Restored post. It could be that the author is no longer active.
Link to comment

Archived

This topic is now archived and is closed to further replies.




  • Our picks

    • Game Server Hosting:

      We're happy to announce that EZRCON will branch out into the game server provider scene. This is a big step for us so please having patience if something doesn't go right in this area. Now, what makes us different compared to other providers? Well, we're going with the idea of having a scaleable server hosting and providing more control in how you set up your server. For example, in Minecraft, you have the ability to control how many CPU cores you wish your server to have access to, how much RAM you want to use, how much disk space you want to use. This type of control can't be offered in a single service package so you're able to configure a custom package the way you want it.

      You can see all the available games here. Currently, we have the following games available.

      Valheim (From $1.50 USD)


      Rust (From $3.20 USD)


      Minecraft (Basic) (From $4.00 USD)


      Call of Duty 4X (From $7.00 USD)


      OpenTTD (From $4.00 USD)


      Squad (From $9.00 USD)


      Insurgency: Sandstorm (From $6.40 USD)


      Changes to US-East:

      Starting in January 2022, we will be moving to a different provider that has better support, better infrastructure, and better connectivity. We've noticed that the connection/routes to this location are not ideal and it's been hard getting support to correct this. Our contract for our two servers ends in March/April respectively. If you currently have servers in this location you will be migrated over to the new provider. We'll have more details when the time comes closer to January. The new location for this change will be based out of Atlanta, GA. If you have any questions/concerns please open a ticket and we'll do our best to answer them.
      • 5 replies
    • Hello All,

      I wanted to give an update to how EZRCON is doing. As of today we have 56 active customers using the services offered. I'm glad its doing so well and it hasn't been 1 year yet. To those that have services with EZRCON, I hope the service is doing well and if not please let us know so that we can improve it where possible. We've done quite a few changes behind the scenes to improve the performance hopefully. 

      We'll be launching a new location for hosting procon layers in either Los Angeles, USA or Chicago, IL. Still being decided on where the placement should be but these two locations are not set in stone yet. We would like to get feedback on where we should have a new location for hosting the Procon Layers, which you can do by replying to this topic. A poll will be created where people can vote on which location they would like to see.

      We're also looking for some suggestions on what else you would like to see for hosting provider options. So please let us know your thoughts on this matter.
      • 4 replies
    • Added ability to disable the new API check for player country info


      Updated GeoIP database file


      Removed usage sending stats


      Added EZRCON ad banner



      If you are upgrading then you may need to add these two lines to your existing installation in the file procon.cfg. To enable these options just change False to True.

      procon.private.options.UseGeoIpFileOnly False
      procon.private.options.BlockRssFeedNews False



       
      • 2 replies
    • I wanted I let you know that I am starting to build out the foundation for the hosting services that I talked about here. The pricing model I was originally going for wasn't going to be suitable for how I want to build it. So instead I decided to offer each service as it's own product instead of a package deal. In the future, hopefully, I will be able to do this and offer discounts to those that choose it.

      Here is how the pricing is laid out for each service as well as information about each. This is as of 7/12/2020.

      Single MySQL database (up to 30 GB) is $10 USD per month.



      If you go over the 30 GB usage for the database then each additional gigabyte is charged at $0.10 USD each billing cycle. If you're under 30GB you don't need to worry about this.


      Databases are replicated across 3 zones (regions) for redundancy. One (1) on the east coast of the USA, One (1) in Frankfurt, and One (1) in Singapore. Depending on the demand, this would grow to more regions.


      Databases will also be backed up daily and retained for 7 days.




      Procon Layer will be $2 USD per month.


      Each layer will only allow one (1) game server connection. The reason behind this is for performance.


      Each layer will also come with all available plugins installed by default. This is to help facilitate faster deployments and get you up and running quickly.


      Each layer will automatically restart if Procon crashes. 


      Each layer will also automatically restart daily at midnight to make sure it stays in tip-top shape.


      Custom plugins can be installed by submitting a support ticket.




      Battlefield Admin Control Panel (BFACP) will be $5 USD per month


      As I am still working on building version 3 of the software, I will be installing the last version I did. Once I complete version 3 it will automatically be upgraded for you.





      All these services will be managed by me so you don't have to worry about the technical side of things to get up and going.

      If you would like to see how much it would cost for the services, I made a calculator that you can use. It can be found here https://ezrcon.com/calculator.html

       
      • 11 replies
    • I have pushed out a new minor release which updates the geodata pull (flags in the playerlisting). This should be way more accurate now. As always, please let me know if any problems show up.

       
      • 9 replies
×
×
  • Create New...

Important Information

Please review our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.