Posts: 235
Threads: 23
Joined: Nov 2011
Reputation:
0
I will see if the new version of the addon fixed it...its kind of an odd thing...lol also, PLEASE PLEASE PLEASE make the MOAB visual effect an OPTION. Lots of people hate it and we have to restart our game every time we want to do multiplayer....and its really dark lol
Posts: 502
Threads: 13
Joined: Feb 2012
Reputation:
42
@Pollarpart, ive just set all prices for shop items to 10% of their original prize since points dont stay after a crash.
also added serverdoc to autorestart the server (happens about once or twice a day)
as for the settings, i can look into making a small plugin that sets all client side settings back to default and kicks the player. Like the !leave command in Roll the Dice
But you also have to understand most ppl here have a life beside itsmods/game ;-)
Had a life, Got a modem..
Posts: 235
Threads: 23
Joined: Nov 2011
Reputation:
0
I know...I do too. I just get questioned all the time by my clan and it would be really great if you could just send me a version without the Moab effect
Posts: 502
Threads: 13
Joined: Feb 2012
Reputation:
42
I'm not modifying other ppl's mods but i can look into a small onchat !stopplaying that reverts all settings
Had a life, Got a modem..
Posts: 502
Threads: 13
Joined: Feb 2012
Reputation:
42
!endgame plugin for xZombie-MOD
Resets all Client settings i could think of back to normal, then kicks the player
CSHARP Code
using Addon;
using System;
namespace MW3resetSettings
{
public class mw3resetsettings : CPlugin
{
public override ChatType OnSay(string Message, ServerClient Client)
{
if (Message == "!endgame")
{
SetClientDvar(Client.ClientNum, "cg_scoreboardfont \"5\"");
SetClientDvar(Client.ClientNum, "r_drawsun \"1\"");
SetClientDvar(Client.ClientNum, "sm_sunenable \"1\"");
SetClientDvar(Client.ClientNum, "ui_allow_teamchange \"1\"");
SetClientDvar(Client.ClientNum, "scr_maxPerPlayerExplosives \"99\"");
SetClientDvar(Client.ClientNum, "scr_diehard \"0\"");
SetClientDvar(Client.ClientNum, "g_TeamName_Allies \"Allies\"");
SetClientDvar(Client.ClientNum, "g_TeamName_Axis \"Axis\"");
SetClientDvar(Client.ClientNum, "scr_player_sprinttime \"30\"");
SetClientDvar(Client.ClientNum, "didyouknow \"^2Visit itsmods.com!\"");
SetClientDvar(Client.ClientNum, "r_colormap \"1\"");
SetClientDvar(Client.ClientNum, "r_filmTweakInvert \"0\"");
SetClientDvar(Client.ClientNum, "r_filmUseTweaks \"0\"");
SetClientDvar(Client.ClientNum, "r_filmTweakEnable \"0\"");
SetClientDvar(Client.ClientNum, "r_filmTweakLightTint \"1 1 1\"");
SetClientDvar(Client.ClientNum, "r_filmTweakSaturation \"1 1 1\"");
SetClientDvar(Client.ClientNum, "r_filmTweakHue \"0 0 0\"");
SetClientDvar(Client.ClientNum, "r_brightness \"0\"");
SetClientDvar(Client.ClientNum, "r_blur \"0\"");
ServerCommand("kick " + Client.ClientNum + "\" Thanks for playing, ^1CU Next time!\"");
return ChatType.ChatContinue;
}
return ChatType.ChatContinue;
}
public void OnPlayerConnect(ServerClient Client)
{
iPrintLn("^7If you are done playing, use ^1!endgame ^7 in chat! ^3(restores your settings)", Client);
TellClient(Client.ClientNum, "^7If you are done playing, use ^1!endgame ^7 in chat to exit this game!", true);
TellClient(Client.ClientNum, "^7The ^1!endgame ^7 command restores your settings, then kicks you!", true);
}
}
}
Download
xZombieReset.zip (Size: 2.49 KB / Downloads: 17)
I cannot ensure this resets everything, because i have not looked into the sources of latest versions yet (no time)
However it should cover most of it
Had a life, Got a modem..
Posts: 5,320
Threads: 300
Joined: Feb 2011
Reputation:
149
@pieter repped.
Very dissappointed se7en didn't add this himself
Posts: 235
Threads: 23
Joined: Nov 2011
Reputation:
0
04-23-2012, 00:41
(This post was last modified: 04-23-2012, 00:42 by pollarpart.)
So before they leave they type !endgame and it resets it back to normal for them? could you just disable the moab texture all together pleease?
I have asked opinions of the moab texture and not a SINGLE person said they liked it ;(