Jump to content

Insane Limits Requests


ImportBot

Recommended Posts

  • Replies 3.2k
  • Created
  • Last Reply

Originally Posted by BFVN-Server*:

 

Well something was lost in translation, since what it sounds like you are asking for is a script to do what the server already does automatically, start the next round after the current round ends.

But it take ~60 sec to load new map. I need it run next round after 10 sec only. I have to type !nextlevel and !yes to do it. Pls
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by PapaCharlie9*:

 

But it take ~60 sec to load new map. I need it run next round after 10 sec only. I have to type !nextlevel and !yes to do it. Pls

showthread....-of-each-round*
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by TMiland*:

 

But it take ~60 sec to load new map. I need it run next round after 10 sec only. I have to type !nextlevel and !yes to do it. Pls

Does that have anything to do with Code:
vars.roundLockdownCountdown 10
in startup.txt?

 

*edit

10 is delay in seconds

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

Originally Posted by virusdead*:

 

Code:

int MaxTeamDiff = 4; // X - CHANGE
double SecsTeamIsDown = 120; // Y - CHANGE
double DelaySecsFromRoundStart = 600; // Z - CHANGE

int level = 2;

try {
    level = Convert.ToInt32(plugin.getPluginVarValue("debug_level"));
} catch (Exception e) {}

String key = "StartTimeTeamDownByX";

if (server.TimeRound < DelaySecsFromRoundStart)
    return false;
if (!server.RoundData.issetBool(key)) {
    plugin.ConsoleWrite("^b[Exodus End]^n: Delay of " + DelaySecsFromRoundStart + " secs ended, limit is now armed!");
    server.RoundData.setBool(key, true);
}

DateTime start = DateTime.MinValue;
bool timerStarted = false;
if (plugin.RoundData.issetObject(key)) {
    start = (DateTime)plugin.RoundData.getObject(key);
    timerStarted = true;
}

int diff = Math.Abs(team1.players.Count - team2.players.Count);
if (diff < MaxTeamDiff) {
    if (timerStarted) {
        if (level >= 3) {
            plugin.ConsoleWrite("^b[Exodus End]^n: team difference declining, countdown aborted!");
        }
        plugin.RoundData.unsetObject(key);
    }
    return false;
}
if (!timerStarted) {
    start = DateTime.Now;
    plugin.RoundData.setObject(key, start);
    timerStarted = true;
}

double elapsed = DateTime.Now.Subtract(start).TotalSeconds;

if (elapsed < SecsTeamIsDown) {
    return false;


// If we get here, it's time to end the round

String[] factionName = new String[]{"US", "RU", "CN"};
int winTeam = (team1.RemainTickets > team2.RemainTickets) _ 1 : 2;
int loseTeam = (winTeam == 1) _ 2 : 1;
int winFaction = (winTeam == 1) _ team1.Faction : team2.Faction;
int loseFaction = (loseTeam == 1) _ team1.Faction : team2.Faction;

plugin.ConsoleWrite("^b[Exodus End]^n: ***** ^3ENDING ROUND with winning team " + factionName[winFaction] + " (" + server.RemainTickets(winTeam).ToString("F0") + " tickets) and losing team " + factionName[loseFaction] + " (" + server.RemainTickets(loseTeam).ToString("F0") + " tickets)");

plugin.ServerCommand("mapList.endRound", winTeam.ToString());

return false;
hi I have a mistake in putting this code

 

Insane Limits] ERROR: 1 error compiling Code

[20:57:18 39] [insane Limits] ERROR: (CS1513, line: 96, column: 10): ) erwartet.

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

Originally Posted by IAF-SDS*:

 

I encountered the same compiling error:

 

[16:45:12 05] [insane Limits] Thread(settings): Compiling Limit #7 - Exodus End - OnKill

[16:45:12 08] [insane Limits] Thread(settings): ERROR: 1 error compiling Code

[16:45:12 08] [insane Limits] Thread(settings): ERROR: (CS1513, line: 96, column: 10): ) expected

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

Originally Posted by PapaCharlie9*:

 

I encountered the same compiling error:

 

[16:45:12 05] [insane Limits] Thread(settings): Compiling Limit #7 - Exodus End - OnKill

[16:45:12 08] [insane Limits] Thread(settings): ERROR: 1 error compiling Code

[16:45:12 08] [insane Limits] Thread(settings): ERROR: (CS1513, line: 96, column: 10): ) expected

Sorry about that, just a copy/paste error on my part. I corrected the original post:

 

myrcon.net/...insane-limits-requests#entry27523

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

Originally Posted by Level*:

 

Looking for a limit where players can type "nextmap" to see what the next map will be. Any ideas?

Here is what you are looking for ^^

 

showthread....light=!nextmap*

 

LG Level

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

Originally Posted by Level*:

 

I am also in search of a limit:

 

Example: Round Ends with winning team CN (416 tickets) and losing team US (0 tickets).

 

The round will not be completed! Only show how it ended!

 

I use the TrueBalancer, unfortunately this does not show the result

 

THX Level

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

Originally Posted by a3kalle83*:

 

sorry my english is not so good, I have a problem with insame limits.

I have a Bf4 server, and there was the Kd kicker entered it worked also meet two months since only a few are all on our server .what does not work now .I do not know.

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

Originally Posted by PapaCharlie9*:

 

I am also in search of a limit:

 

Example: Round Ends with winning team CN (416 tickets) and losing team US (0 tickets).

 

The round will not be completed! Only show how it ended!

 

I use the TrueBalancer, unfortunately this does not show the result

 

THX Level

I don't understand, sorry.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by PapaCharlie9*:

 

sorry my english is not so good, I have a problem with insame limits.

I have a Bf4 server, and there was the Kd kicker entered it worked also meet two months since only a few are all on our server .what does not work now .I do not know.

Post all of the Kd kicker code and settings you use.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by _gp_*:

 

PapaCharlie9,

 

if you have some time

 

Had a thought for a new twist for GuMmaster, make it a little harder and perhaps more interesting...(might work with other modes as well)...

 

I run and maintain -WalkInDead- GunMaster server. Would be able to give you what ever access to it you might need.

 

Not sure if this can be done with an Insane Limit or better as a stand alone plug-in.

In time I might be able to figure out how to code it, but do not think I would do it justice.

 

Main thought:

Anytime a player is killed by a knife, would need to get a knife kill before getting a kill with any other weapon...

 

 

Explanation:

When player is killed by a knife, he would be added to an 'IT' list.

Player would be given a YELL warning "You are 'IT'... You must get Knife Kill..."

 

Player would remain on 'IT' list until he got a Knife Kill...

 

If 'IT' player kills with any other weapon he would be admin killed with same Yell warning...

"You are 'IT'... You must get Knife Kill..."

 

When 'IT' player gets knife kill, he would be removed from 'IT' list with Yell

"You are Free to Kill with All Weapons"

 

At end of Round 'IT' list would be reset...

 

Not sure what would be best way for this to be enabled , by vote or by admin in game...

My thinking is by admin in game, so it can be shut off again if needed...

 

The biggest draw back is this might turn server into a knife only server,

but I am sure there will be players trying to win.

 

_gp?

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

Originally Posted by PapaCharlie9*:

 

PapaCharlie9,

 

if you have some time

 

Had a thought for a new twist for GuMmaster, make it a little harder and perhaps more interesting...(might work with other modes as well)...

 

I run and maintain -WalkInDead- GunMaster server. Would be able to give you what ever access to it you might need.

 

Not sure if this can be done with an Insane Limit or better as a stand alone plug-in.

In time I might be able to figure out how to code it, but do not think I would do it justice.

 

Main thought:

Anytime a player is killed by a knife, would need to get a knife kill before getting a kill with any other weapon...

 

 

Explanation:

When player is killed by a knife, he would be added to an 'IT' list.

Player would be given a YELL warning "You are 'IT'... You must get Knife Kill..."

 

Player would remain on 'IT' list until he got a Knife Kill...

 

If 'IT' player kills with any other weapon he would be admin killed with same Yell warning...

"You are 'IT'... You must get Knife Kill..."

 

When 'IT' player gets knife kill, he would be removed from 'IT' list with Yell

"You are Free to Kill with All Weapons"

 

At end of Round 'IT' list would be reset...

 

Not sure what would be best way for this to be enabled , by vote or by admin in game...

My thinking is by admin in game, so it can be shut off again if needed...

 

The biggest draw back is this might turn server into a knife only server,

but I am sure there will be players trying to win.

 

_gp?

I don't think admin kill is a sufficient deterrent. There's no penalty for dying, as I understand GM. Well, there is an indirect penalty if you in the top 3 racing for the final weapon kills. Any delay could cost you the win. But other than that, I'd just ignore the admin kills as an annoyance. As long as I'm advancing to the next weapon after every "not it" kill, why would I care?
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by _gp_*:

 

I don't think admin kill is a sufficient deterrent. There's no penalty for dying, as I understand GM. Well, there is an indirect penalty if you in the top 3 racing for the final weapon kills. Any delay could cost you the win. But other than that, I'd just ignore the admin kills as an annoyance. As long as I'm advancing to the next weapon after every "not it" kill, why would I care?

it is to bad 'it' player would not lose weapon for non knife kill.

 

Will speak to some of regulars on server, admin kill might be enough to cause rage quits also...

 

pc9 thx for quick response.

_gp?

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

Originally Posted by _gp_*:

 

I don't think admin kill is a sufficient deterrent. There's no penalty for dying, as I understand GM. Well, there is an indirect penalty if you in the top 3 racing for the final weapon kills. Any delay could cost you the win. But other than that, I'd just ignore the admin kills as an annoyance. As long as I'm advancing to the next weapon after every "not it" kill, why would I care?

PC9,

 

talked this over with a few of the regulars on server that would like to try this.

 

what we came up with for punishment for "IT" player :

 

1st non knife kill would be warning message "knife kill needed"

2nd non knife kill would be warning "knife kill needed or be kicked"

3rd non knife kill would be round ban or kick with message stating "knife kill was needed"

 

_gp?

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

Originally Posted by PapaCharlie9*:

 

PC9,

 

talked this over with a few of the regulars on server that would like to try this.

 

what we came up with for punishment for "IT" player :

 

1st non knife kill would be warning message "knife kill needed"

2nd non knife kill would be warning "knife kill needed or be kicked"

3rd non knife kill would be round ban or kick with message stating "knife kill was needed"

 

_gp?

That would work. This is for BF4, right?

 

Create a new limit to evaluate OnKill, call it Knife-Only Warning.

 

Set first_check to this Expression:

 

Code:

(kill.Weapon == "Melee")
Set second_check to this Code:

 

Code:

double count = limit.Activations(killer.Name);

String msg = null;
if (count == 1) {
    msg = "Must use knife only!";
    plugin.SendPlayerMessage(killer.Name, msg);
    plugin.SendPlayerYell(killer.Name, msg, 10);
} else if (count == 2) {
    msg = "Must use knife only OR BE KICKED!";
    plugin.SendPlayerMessage(killer.Name, msg);
    plugin.SendPlayerYell(killer.Name, msg, 10);
} else if (count > 2) {
    msg = killer.FullName + " kicked for ignoring knife-only warnings!";
    plugin.SendGlobalMessage(msg);
    plugin.PRoConChat(msg);
    plugin.EABanPlayerWithMessage(EABanType.Name, EABanDuration.Round, killer.Name, 0, "Banned until next round for ignoring knife-only warnings");
}
return false;
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by _gp_*:

 

That would work. This is for BF4, right?

 

Create a new limit to evaluate OnKill, call it Knife-Only Warning.

 

Set first_check to this Expression:

 

Code:

(kill.Weapon == "Melee")
Set second_check to this Code:

 

Code:

double count = limit.Activations(killer.Name);

String msg = null;
if (count == 1) {
    msg = "Must use knife only!";
    plugin.SendPlayerMessage(killer.Name, msg);
    plugin.SendPlayerYell(killer.Name, msg, 10);
} else if (count == 2) {
    msg = "Must use knife only OR BE KICKED!";
    plugin.SendPlayerMessage(killer.Name, msg);
    plugin.SendPlayerYell(killer.Name, msg, 10);
} else if (count > 2) {
    msg = killer.FullName + " kicked for ignoring knife-only warnings!";
    plugin.SendGlobalMessage(msg);
    plugin.PRoConChat(msg);
    plugin.EABanPlayerWithMessage(EABanType.Name, EABanDuration.Round, killer.Name, 0, "Banned until next round for ignoring knife-only warnings");
}
return false;
This is for a BF3 Gunmaster server...

 

was the punishment in reference to post #2178

 

trying to make a new twist for gm game mode,

which could work for all modes ...

 

thx

 

_gp?

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

Originally Posted by Level*:

 

I don't understand, sorry.

#2176

 

Hey PC9,

 

I mean something like:

 

MULTIbalancer > All: Winner was team 1 (US)

MULTIbalancer > All: Map = Lost Islands, mode = Conquest Large, time in round = 00:19:47, tickets = 329/0

 

 

with Insane limits without MULTIbalancer.

 

THX

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

Originally Posted by dyn*:

 

Any change of getting knife and Phantom/Bow only?

I do not know the weapon code but you could modify myrcon.net/...insane-limits-knife-and-pistols-only#entry46666 limit once you figure out the bow's code. Just replace the first check code with your the bow's and I would think it would work.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by dyn*:

 

Have a limit request:

 

Enable spam message if specific player conditions are met.

 

Looking for a way to allow listed individuals to type a command in game, !stream, and then about once every 30 minutes a message will be sent to the entire server stating that 'XYZ dyn is streaming' (each person in the list would have the same message, except their name would be changed based on who from the list typed !here).

 

The only individuals that should have access to the !here command would be listed in a custom list and also all have a known / specific clan tag of, for example, XYZ. If that person leaves the server their custom spam message would be disabled. If they type !nostream the spam message would also stop.

 

Concerns:

 

Don't know how to handle the situation if multiple people are !here at the same time? It doesn't seem like a good idea to spam the entire server with 5 messages every 30 minutes should there be 5 people !here.

 

The limit is meant to allow server streamers (Twitch streamers) the ability to advertize that they are 'streaming in the server' as a way of getting them more exposure.

 

Would anyone be able to assist with something like this?

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

Originally Posted by PapaCharlie9*:

 

#2176

 

Hey PC9,

 

I mean something like:

 

MULTIbalancer > All: Winner was team 1 (US)

MULTIbalancer > All: Map = Lost Islands, mode = Conquest Large, time in round = 00:19:47, tickets = 329/0

 

 

with Insane limits without MULTIbalancer.

 

THX

And you want that in plugin log or in chat?
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by PapaCharlie9*:

 

Have a limit request:

 

Enable spam message if specific player conditions are met.

 

Looking for a way to allow listed individuals to type a command in game, !stream, and then about once every 30 minutes a message will be sent to the entire server stating that 'XYZ dyn is streaming' (each person in the list would have the same message, except their name would be changed based on who from the list typed !here).

 

The only individuals that should have access to the !here command would be listed in a custom list and also all have a known / specific clan tag of, for example, XYZ. If that person leaves the server their custom spam message would be disabled. If they type !nostream the spam message would also stop.

 

Concerns:

 

Don't know how to handle the situation if multiple people are !here at the same time? It doesn't seem like a good idea to spam the entire server with 5 messages every 30 minutes should there be 5 people !here.

 

The limit is meant to allow server streamers (Twitch streamers) the ability to advertize that they are 'streaming in the server' as a way of getting them more exposure.

 

Would anyone be able to assist with something like this?

I understand the overall goal, but I'm not sure I understand the details. What is the purpose of the !here command?

 

Wouldn't it be better to spam everyone and allow an opt-out command, like !mute or !stfu? :smile:

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

Originally Posted by _gp_*:

 

PC9,

 

This is an edit of post #2178 with new punishments added...

appears there was a little confusion, as I do not know how to use multiple quotes ...yet...

 

Thanks for "knife only" server code you did do. Will save it for future use.

 

""...This Code would be for BF3 GunMaster with a little SQDM and Scavenger played also ...""

 

_gp?

 

PapaCharlie9,

 

if you have some time

 

Had a thought for a new twist for GunMaster, make it a little harder and perhaps more interesting...(might work with other modes as well)...

 

I run and maintain -WalkInDead- GunMaster server. Would be able to give you what ever access to it you might need.

 

Not sure if this can be done with an Insane Limit or better as a stand alone plug-in.

In time I might be able to figure out how to code it, but do not think I would do it justice.

 

Main thought:

 

Anytime a player is killed by a knife, would need to get a knife kill before getting a kill with any other weapon...

 

 

Explanation:

 

When player is killed by a knife, he would be added to an 'IT' list.

 

Player would be given a YELL warning "You are 'IT'... You must get Knife Kill..."

 

Player would remain on 'IT' list until he got a Knife Kill...

 

If 'IT' player kills with any other weapon punishments would be ...

 

1st non knife kill would be admin killed with Yell warning message "You are 'IT'...knife kill needed"

2nd non knife kill would be admin killed with Yell warning "You are 'IT'...knife kill needed or be kicked"

3rd non knife kill would be round banned with message stating "You were 'IT'...knife kill was needed"

 

When 'IT' player gets knife kill, he would be removed from 'IT' list with Yell

"You are Free to Kill with All Weapons"

 

At end of Round 'IT' list would be reset...

 

Not sure what would be best way for this to be enabled , by vote or by admin in game...

My thinking is by admin in game, so it can be shut off again if needed...

 

The biggest draw back is this might turn server into a knife only server,

but I am sure there will be players still trying to win with all weapons...

 

_gp?

* 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.




×
×
  • 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.