/**
* Copyright ( C ) 2014 - 2016 Jessica James .
*
* Permission to use , copy , modify , and / or distribute this software for any
* purpose with or without fee is hereby granted , provided that the above
* copyright notice and this permission notice appear in all copies .
*
* THE SOFTWARE IS PROVIDED " AS IS " AND THE AUTHOR DISCLAIMS ALL WARRANTIES
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS . IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
* SPECIAL , DIRECT , INDIRECT , OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
* WHATSOEVER RESULTING FROM LOSS OF USE , DATA OR PROFITS , WHETHER IN AN ACTION
* OF CONTRACT , NEGLIGENCE OR OTHER TORTIOUS ACTION , ARISING OUT OF OR IN
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE .
*
* Written by Jessica James < jessica . aj @ outlook . com >
*/
# include "Jupiter/INIFile.h"
# include "IRC_Bot.h"
# include "RenX_Logging.h"
# include "RenX_Core.h"
# include "RenX_PlayerInfo.h"
# include "RenX_Functions.h"
# include "RenX_Server.h"
# include "RenX_Tags.h"
using namespace Jupiter : : literals ;
void RenX_LoggingPlugin : : init ( )
{
RenX_LoggingPlugin : : muteOwnExecute = Jupiter : : IRC : : Client : : Config - > getBool ( RenX_LoggingPlugin : : getName ( ) , " MuteOwnExecute " _jrs , true ) ;
RenX_LoggingPlugin : : joinPublic = Jupiter : : IRC : : Client : : Config - > getBool ( RenX_LoggingPlugin : : getName ( ) , " JoinPublic " _jrs , true ) ;
RenX_LoggingPlugin : : partPublic = Jupiter : : IRC : : Client : : Config - > getBool ( RenX_LoggingPlugin : : getName ( ) , " PartPublic " _jrs , true ) ;
RenX_LoggingPlugin : : kickPublic = Jupiter : : IRC : : Client : : Config - > getBool ( RenX_LoggingPlugin : : getName ( ) , " KickPublic " _jrs , true ) ;
RenX_LoggingPlugin : : nameChangePublic = Jupiter : : IRC : : Client : : Config - > getBool ( RenX_LoggingPlugin : : getName ( ) , " NameChangePublic " _jrs , true ) ;
RenX_LoggingPlugin : : teamChangePublic = Jupiter : : IRC : : Client : : Config - > getBool ( RenX_LoggingPlugin : : getName ( ) , " TeamChangePublic " _jrs , true ) ;
RenX_LoggingPlugin : : playerPublic = Jupiter : : IRC : : Client : : Config - > getBool ( RenX_LoggingPlugin : : getName ( ) , " PlayerPublic " _jrs , false ) ;
RenX_LoggingPlugin : : chatPublic = Jupiter : : IRC : : Client : : Config - > getBool ( RenX_LoggingPlugin : : getName ( ) , " ChatPublic " _jrs , true ) ;
RenX_LoggingPlugin : : teamChatPublic = Jupiter : : IRC : : Client : : Config - > getBool ( RenX_LoggingPlugin : : getName ( ) , " TeamChatPublic " _jrs , false ) ;
RenX_LoggingPlugin : : radioChatPublic = Jupiter : : IRC : : Client : : Config - > getBool ( RenX_LoggingPlugin : : getName ( ) , " RadioChatPublic " _jrs , false ) ;
RenX_LoggingPlugin : : hostChatPublic = Jupiter : : IRC : : Client : : Config - > getBool ( RenX_LoggingPlugin : : getName ( ) , " HostChatPublic " _jrs , true ) ;
RenX_LoggingPlugin : : hostPagePublic = Jupiter : : IRC : : Client : : Config - > getBool ( RenX_LoggingPlugin : : getName ( ) , " HostPagePublic " _jrs , false ) ;
RenX_LoggingPlugin : : otherChatPublic = Jupiter : : IRC : : Client : : Config - > getBool ( RenX_LoggingPlugin : : getName ( ) , " OtherChatPublic " _jrs , false ) ;
RenX_LoggingPlugin : : deployPublic = Jupiter : : IRC : : Client : : Config - > getBool ( RenX_LoggingPlugin : : getName ( ) , " DeployPublic " _jrs , true ) ;
RenX_LoggingPlugin : : mineDeployPublic = Jupiter : : IRC : : Client : : Config - > getBool ( RenX_LoggingPlugin : : getName ( ) , " MineDeployPublic " _jrs , false ) ;
RenX_LoggingPlugin : : disarmPublic = Jupiter : : IRC : : Client : : Config - > getBool ( RenX_LoggingPlugin : : getName ( ) , " DisarmPublic " _jrs , true ) ;
RenX_LoggingPlugin : : mineDisarmPublic = Jupiter : : IRC : : Client : : Config - > getBool ( RenX_LoggingPlugin : : getName ( ) , " MineDisarmPublic " _jrs , false ) ;
RenX_LoggingPlugin : : explodePublic = Jupiter : : IRC : : Client : : Config - > getBool ( RenX_LoggingPlugin : : getName ( ) , " ExplodePublic " _jrs , false ) ;
RenX_LoggingPlugin : : suicidePublic = Jupiter : : IRC : : Client : : Config - > getBool ( RenX_LoggingPlugin : : getName ( ) , " SuicidePublic " _jrs , true ) ;
RenX_LoggingPlugin : : killPublic = Jupiter : : IRC : : Client : : Config - > getBool ( RenX_LoggingPlugin : : getName ( ) , " KillPublic " _jrs , true ) ;
RenX_LoggingPlugin : : diePublic = Jupiter : : IRC : : Client : : Config - > getBool ( RenX_LoggingPlugin : : getName ( ) , " DiePublic " _jrs , true ) ;
RenX_LoggingPlugin : : destroyPublic = Jupiter : : IRC : : Client : : Config - > getBool ( RenX_LoggingPlugin : : getName ( ) , " DestroyPublic " _jrs , true ) ;
RenX_LoggingPlugin : : capturePublic = Jupiter : : IRC : : Client : : Config - > getBool ( RenX_LoggingPlugin : : getName ( ) , " CapturePublic " _jrs , true ) ;
RenX_LoggingPlugin : : neutralizePublic = Jupiter : : IRC : : Client : : Config - > getBool ( RenX_LoggingPlugin : : getName ( ) , " NeutralizePublic " _jrs , true ) ;
RenX_LoggingPlugin : : characterPurchasePublic = Jupiter : : IRC : : Client : : Config - > getBool ( RenX_LoggingPlugin : : getName ( ) , " CharacterPurchasePublic " _jrs , false ) ;
RenX_LoggingPlugin : : itemPurchasePublic = Jupiter : : IRC : : Client : : Config - > getBool ( RenX_LoggingPlugin : : getName ( ) , " ItemPurchasePublic " _jrs , false ) ;
RenX_LoggingPlugin : : weaponPurchasePublic = Jupiter : : IRC : : Client : : Config - > getBool ( RenX_LoggingPlugin : : getName ( ) , " WeaponPurchasePublic " _jrs , false ) ;
RenX_LoggingPlugin : : refillPurchasePublic = Jupiter : : IRC : : Client : : Config - > getBool ( RenX_LoggingPlugin : : getName ( ) , " RefillPurchasePublic " _jrs , false ) ;
RenX_LoggingPlugin : : vehiclePurchasePublic = Jupiter : : IRC : : Client : : Config - > getBool ( RenX_LoggingPlugin : : getName ( ) , " VehiclePurchasePublic " _jrs , false ) ;
RenX_LoggingPlugin : : vehicleSpawnPublic = Jupiter : : IRC : : Client : : Config - > getBool ( RenX_LoggingPlugin : : getName ( ) , " VehicleSpawnPublic " _jrs , true ) ;
RenX_LoggingPlugin : : spawnPublic = Jupiter : : IRC : : Client : : Config - > getBool ( RenX_LoggingPlugin : : getName ( ) , " SpawnPublic " _jrs , true ) ;
RenX_LoggingPlugin : : botJoinPublic = Jupiter : : IRC : : Client : : Config - > getBool ( RenX_LoggingPlugin : : getName ( ) , " BotJoinPublic " _jrs , true ) ;
RenX_LoggingPlugin : : vehicleCratePublic = Jupiter : : IRC : : Client : : Config - > getBool ( RenX_LoggingPlugin : : getName ( ) , " VehicleCratePublic " _jrs , false ) ;
RenX_LoggingPlugin : : TSVehicleCratePublic = Jupiter : : IRC : : Client : : Config - > getBool ( RenX_LoggingPlugin : : getName ( ) , " TSVehicleCratePublic " _jrs , RenX_LoggingPlugin : : vehicleCratePublic ) ;
RenX_LoggingPlugin : : RAVehicleCratePublic = Jupiter : : IRC : : Client : : Config - > getBool ( RenX_LoggingPlugin : : getName ( ) , " RAVehicleCratePublic " _jrs , RenX_LoggingPlugin : : vehicleCratePublic ) ;
RenX_LoggingPlugin : : deathCratePublic = Jupiter : : IRC : : Client : : Config - > getBool ( RenX_LoggingPlugin : : getName ( ) , " DeathCratePublic " _jrs , true ) ;
RenX_LoggingPlugin : : moneyCratePublic = Jupiter : : IRC : : Client : : Config - > getBool ( RenX_LoggingPlugin : : getName ( ) , " MoneyCratePublic " _jrs , false ) ;
RenX_LoggingPlugin : : characterCratePublic = Jupiter : : IRC : : Client : : Config - > getBool ( RenX_LoggingPlugin : : getName ( ) , " CharacterCratePublic " _jrs , false ) ;
RenX_LoggingPlugin : : spyCratePublic = Jupiter : : IRC : : Client : : Config - > getBool ( RenX_LoggingPlugin : : getName ( ) , " SpyCratePublic " _jrs , false ) ;
RenX_LoggingPlugin : : refillCratePublic = Jupiter : : IRC : : Client : : Config - > getBool ( RenX_LoggingPlugin : : getName ( ) , " RefillCratePublic " _jrs , false ) ;
RenX_LoggingPlugin : : timeBombCratePublic = Jupiter : : IRC : : Client : : Config - > getBool ( RenX_LoggingPlugin : : getName ( ) , " TimeBombCratePublic " _jrs , false ) ;
RenX_LoggingPlugin : : speedCratePublic = Jupiter : : IRC : : Client : : Config - > getBool ( RenX_LoggingPlugin : : getName ( ) , " SpeedCratePublic " _jrs , false ) ;
RenX_LoggingPlugin : : nukeCratePublic = Jupiter : : IRC : : Client : : Config - > getBool ( RenX_LoggingPlugin : : getName ( ) , " NukeCratePublic " _jrs , true ) ;
RenX_LoggingPlugin : : abductionCratePublic = Jupiter : : IRC : : Client : : Config - > getBool ( RenX_LoggingPlugin : : getName ( ) , " AbductionCratePublic " _jrs , true ) ;
RenX_LoggingPlugin : : unspecifiedCratePublic = Jupiter : : IRC : : Client : : Config - > getBool ( RenX_LoggingPlugin : : getName ( ) , " UnspecifiedCratePublic " _jrs , false ) ;
RenX_LoggingPlugin : : otherCratePublic = Jupiter : : IRC : : Client : : Config - > getBool ( RenX_LoggingPlugin : : getName ( ) , " OtherCratePublic " _jrs , false ) ;
RenX_LoggingPlugin : : stealPublic = Jupiter : : IRC : : Client : : Config - > getBool ( RenX_LoggingPlugin : : getName ( ) , " StealPublic " _jrs , true ) ;
RenX_LoggingPlugin : : donatePublic = Jupiter : : IRC : : Client : : Config - > getBool ( RenX_LoggingPlugin : : getName ( ) , " DonatePublic " _jrs , true ) ;
RenX_LoggingPlugin : : gamePublic = Jupiter : : IRC : : Client : : Config - > getBool ( RenX_LoggingPlugin : : getName ( ) , " GamePublic " _jrs , true ) ;
RenX_LoggingPlugin : : gameOverPublic = Jupiter : : IRC : : Client : : Config - > getBool ( RenX_LoggingPlugin : : getName ( ) , " GameOverPublic " _jrs , true ) ;
RenX_LoggingPlugin : : executePublic = Jupiter : : IRC : : Client : : Config - > getBool ( RenX_LoggingPlugin : : getName ( ) , " ExecutePublic " _jrs , false ) ;
RenX_LoggingPlugin : : subscribePublic = Jupiter : : IRC : : Client : : Config - > getBool ( RenX_LoggingPlugin : : getName ( ) , " SubscribePublic " _jrs , false ) ;
RenX_LoggingPlugin : : RCONPublic = Jupiter : : IRC : : Client : : Config - > getBool ( RenX_LoggingPlugin : : getName ( ) , " RCONPublic " _jrs , false ) ;
RenX_LoggingPlugin : : adminLoginPublic = Jupiter : : IRC : : Client : : Config - > getBool ( RenX_LoggingPlugin : : getName ( ) , " AdminLoginPublic " _jrs , true ) ;
RenX_LoggingPlugin : : adminGrantPublic = Jupiter : : IRC : : Client : : Config - > getBool ( RenX_LoggingPlugin : : getName ( ) , " AdminGrantPublic " _jrs , true ) ;
RenX_LoggingPlugin : : adminLogoutPublic = Jupiter : : IRC : : Client : : Config - > getBool ( RenX_LoggingPlugin : : getName ( ) , " AdminLogoutPublic " _jrs , true ) ;
RenX_LoggingPlugin : : adminPublic = Jupiter : : IRC : : Client : : Config - > getBool ( RenX_LoggingPlugin : : getName ( ) , " AdminPublic " _jrs , false ) ;
RenX_LoggingPlugin : : voteCallPublic = Jupiter : : IRC : : Client : : Config - > getBool ( RenX_LoggingPlugin : : getName ( ) , " VoteCallPublic " _jrs , true ) ;
RenX_LoggingPlugin : : voteOverPublic = Jupiter : : IRC : : Client : : Config - > getBool ( RenX_LoggingPlugin : : getName ( ) , " VoteOverPublic " _jrs , true ) ;
RenX_LoggingPlugin : : voteCancelPublic = Jupiter : : IRC : : Client : : Config - > getBool ( RenX_LoggingPlugin : : getName ( ) , " VoteCancelPublic " _jrs , true ) ;
RenX_LoggingPlugin : : votePublic = Jupiter : : IRC : : Client : : Config - > getBool ( RenX_LoggingPlugin : : getName ( ) , " VotePublic " _jrs , false ) ;
RenX_LoggingPlugin : : mapChangePublic = Jupiter : : IRC : : Client : : Config - > getBool ( RenX_LoggingPlugin : : getName ( ) , " MapChangePublic " _jrs , true ) ;
RenX_LoggingPlugin : : mapLoadPublic = Jupiter : : IRC : : Client : : Config - > getBool ( RenX_LoggingPlugin : : getName ( ) , " MapLoadPublic " _jrs , true ) ;
RenX_LoggingPlugin : : mapStartPublic = Jupiter : : IRC : : Client : : Config - > getBool ( RenX_LoggingPlugin : : getName ( ) , " MapStartPublic " _jrs , true ) ;
RenX_LoggingPlugin : : mapPublic = Jupiter : : IRC : : Client : : Config - > getBool ( RenX_LoggingPlugin : : getName ( ) , " MapPublic " _jrs , false ) ;
RenX_LoggingPlugin : : demoRecordPublic = Jupiter : : IRC : : Client : : Config - > getBool ( RenX_LoggingPlugin : : getName ( ) , " DemoRecordPublic " _jrs , true ) ;
RenX_LoggingPlugin : : demoRecordStopPublic = Jupiter : : IRC : : Client : : Config - > getBool ( RenX_LoggingPlugin : : getName ( ) , " DemoRecordStopPublic " _jrs , true ) ;
RenX_LoggingPlugin : : demoPublic = Jupiter : : IRC : : Client : : Config - > getBool ( RenX_LoggingPlugin : : getName ( ) , " DemoPublic " _jrs , false ) ;
RenX_LoggingPlugin : : logPublic = Jupiter : : IRC : : Client : : Config - > getBool ( RenX_LoggingPlugin : : getName ( ) , " LogPublic " _jrs , false ) ;
RenX_LoggingPlugin : : commandPublic = Jupiter : : IRC : : Client : : Config - > getBool ( RenX_LoggingPlugin : : getName ( ) , " CommandPublic " _jrs , false ) ;
RenX_LoggingPlugin : : errorPublic = Jupiter : : IRC : : Client : : Config - > getBool ( RenX_LoggingPlugin : : getName ( ) , " ErrorPublic " _jrs , false ) ;
RenX_LoggingPlugin : : versionPublic = Jupiter : : IRC : : Client : : Config - > getBool ( RenX_LoggingPlugin : : getName ( ) , " VersionPublic " _jrs , true ) ;
RenX_LoggingPlugin : : authorizedPublic = Jupiter : : IRC : : Client : : Config - > getBool ( RenX_LoggingPlugin : : getName ( ) , " AuthorizedPublic " _jrs , true ) ;
RenX_LoggingPlugin : : otherPublic = Jupiter : : IRC : : Client : : Config - > getBool ( RenX_LoggingPlugin : : getName ( ) , " OtherPublic " _jrs , false ) ;
/** Event formats */
RenX_LoggingPlugin : : joinPublicFmt = Jupiter : : IRC : : Client : : Config - > get ( this - > getName ( ) , " JoinPublicFormat " _jrs ,
Jupiter : : StringS : : Format ( IRCCOLOR " 12[Join] " IRCBOLD " %.*s " IRCBOLD " joined the game fighting for the %.*s! " , RenX : : tags - > nameTag . size ( ) , RenX : : tags - > nameTag . ptr ( ) , RenX : : tags - > teamLongTag . size ( ) , RenX : : tags - > teamLongTag . ptr ( ) ) ) ;
RenX_LoggingPlugin : : joinAdminFmt = Jupiter : : IRC : : Client : : Config - > get ( this - > getName ( ) , " JoinAdminFormat " _jrs ,
Jupiter : : StringS : : Format ( IRCCOLOR " 12[Join] " IRCBOLD " %.*s " IRCBOLD " joined the game fighting for the %.*s from " IRCBOLD " %.*s " IRCBOLD " using Steam ID " IRCBOLD " %.*s " IRCBOLD " . Their hostname is: " IRCBOLD " %.*s " , RenX : : tags - > nameTag . size ( ) , RenX : : tags - > nameTag . ptr ( ) , RenX : : tags - > teamLongTag . size ( ) , RenX : : tags - > teamLongTag . ptr ( ) , RenX : : tags - > ipTag . size ( ) , RenX : : tags - > ipTag . ptr ( ) , RenX : : tags - > steamTag . size ( ) , RenX : : tags - > steamTag . ptr ( ) , RenX : : tags - > rdnsTag . size ( ) , RenX : : tags - > rdnsTag . ptr ( ) ) ) ;
RenX_LoggingPlugin : : joinNoSteamAdminFmt = Jupiter : : IRC : : Client : : Config - > get ( this - > getName ( ) , " JoinNoSteamAdminFormat " _jrs ,
Jupiter : : StringS : : Format ( IRCCOLOR " 12[Join] " IRCBOLD " %.*s " IRCBOLD " joined the game fighting for the %.*s from " IRCBOLD " %.*s " IRCBOLD " , but is " IRCBOLD " not " IRCBOLD " using Steam. Their hostname is: " IRCBOLD " %.*s " , RenX : : tags - > nameTag . size ( ) , RenX : : tags - > nameTag . ptr ( ) , RenX : : tags - > teamLongTag . size ( ) , RenX : : tags - > teamLongTag . ptr ( ) , RenX : : tags - > ipTag . size ( ) , RenX : : tags - > ipTag . ptr ( ) , RenX : : tags - > rdnsTag . size ( ) , RenX : : tags - > rdnsTag . ptr ( ) ) ) ;
RenX_LoggingPlugin : : partFmt = Jupiter : : IRC : : Client : : Config - > get ( this - > getName ( ) , " PartFormat " _jrs ,
Jupiter : : StringS : : Format ( IRCCOLOR " 12[Part] " IRCBOLD " %.*s " IRCBOLD " left the %.*s. " , RenX : : tags - > nameTag . size ( ) , RenX : : tags - > nameTag . ptr ( ) , RenX : : tags - > teamLongTag . size ( ) , RenX : : tags - > teamLongTag . ptr ( ) ) ) ;
RenX_LoggingPlugin : : kickFmt = Jupiter : : IRC : : Client : : Config - > get ( this - > getName ( ) , " KickFormat " _jrs ,
Jupiter : : StringS : : Format ( IRCCOLOR " 04[Kick] " IRCBOLD " %.*s " IRCCOLOR IRCBOLD " was " IRCBOLD IRCCOLOR " 04kicked " IRCCOLOR IRCBOLD " ( " IRCCOLOR " 04%.*s " IRCCOLOR " ) " , RenX : : tags - > nameTag . size ( ) , RenX : : tags - > nameTag . ptr ( ) , RenX : : tags - > messageTag . size ( ) , RenX : : tags - > messageTag . ptr ( ) ) ) ;
RenX_LoggingPlugin : : playerExecuteFmt = Jupiter : : IRC : : Client : : Config - > get ( this - > getName ( ) , " PlayerExecuteFormat " _jrs ,
Updated to support most of RCONv3; updated Jupiter; Map now tracked; Tags added for: RCON User, Server Name, Map; Internal tags are now generated at runtime, and guaranteed to be unique for up to 65k tags; Added events to RenX::Plugin: OnExecute (player), OnPlayer, OnHostChat, OnHostPage, OnOtherChat, OnDisarm, OnCapture, OnNeutralize, OnSteal, OnUnsubscribe, OnVoteCall, OnVoteOver, OnVoteCancel, OnVote, OnMapChange, OnMapLoad, OnMap, OnDemoRecord, OnDemo; various optimizations
10 years ago
Jupiter : : StringS : : Format ( " %.*s " IRCCOLOR " 07 executed: %.*s " , RenX : : tags - > nameTag . size ( ) , RenX : : tags - > nameTag . ptr ( ) , RenX : : tags - > messageTag . size ( ) , RenX : : tags - > messageTag . ptr ( ) ) ) ;
RenX_LoggingPlugin : : playerFmt = Jupiter : : IRC : : Client : : Config - > get ( this - > getName ( ) , " PlayerFormat " _jrs ,
Updated to support most of RCONv3; updated Jupiter; Map now tracked; Tags added for: RCON User, Server Name, Map; Internal tags are now generated at runtime, and guaranteed to be unique for up to 65k tags; Added events to RenX::Plugin: OnExecute (player), OnPlayer, OnHostChat, OnHostPage, OnOtherChat, OnDisarm, OnCapture, OnNeutralize, OnSteal, OnUnsubscribe, OnVoteCall, OnVoteOver, OnVoteCancel, OnVote, OnMapChange, OnMapLoad, OnMap, OnDemoRecord, OnDemo; various optimizations
10 years ago
Jupiter : : StringS : : Format ( IRCCOLOR " 12[Player] " IRCCOLOR " %.*s " , RenX : : tags - > messageTag . size ( ) , RenX : : tags - > messageTag . ptr ( ) ) ) ;
RenX_LoggingPlugin : : nameChangeFmt = Jupiter : : IRC : : Client : : Config - > get ( this - > getName ( ) , " NameChangeFormat " _jrs ,
Jupiter : : StringS : : Format ( IRCBOLD " %.*s " IRCBOLD " changed their name to " IRCBOLD " %.*s " IRCBOLD " . " , RenX : : tags - > nameTag . size ( ) , RenX : : tags - > nameTag . ptr ( ) , RenX : : tags - > newNameTag . size ( ) , RenX : : tags - > newNameTag . ptr ( ) ) ) ;
RenX_LoggingPlugin : : teamChangeFmt = Jupiter : : IRC : : Client : : Config - > get ( this - > getName ( ) , " TeamChangeFormat " _jrs ,
Jupiter : : StringS : : Format ( " %.*s " IRCCOLOR " switched teams! " , RenX : : tags - > nameTag . size ( ) , RenX : : tags - > nameTag . ptr ( ) ) ) ;
RenX_LoggingPlugin : : chatFmt = Jupiter : : IRC : : Client : : Config - > get ( this - > getName ( ) , " ChatFormat " _jrs ,
Jupiter : : StringS : : Format ( IRCBOLD " %.*s " IRCCOLOR IRCBOLD " : %.*s " , RenX : : tags - > nameTag . size ( ) , RenX : : tags - > nameTag . ptr ( ) , RenX : : tags - > messageTag . size ( ) , RenX : : tags - > messageTag . ptr ( ) ) ) ;
RenX_LoggingPlugin : : teamChatFmt = Jupiter : : IRC : : Client : : Config - > get ( this - > getName ( ) , " TeamChatFormat " _jrs ,
Jupiter : : StringS : : Format ( IRCBOLD " %.*s " IRCBOLD " : %.*s " , RenX : : tags - > nameTag . size ( ) , RenX : : tags - > nameTag . ptr ( ) , RenX : : tags - > messageTag . size ( ) , RenX : : tags - > messageTag . ptr ( ) ) ) ;
RenX_LoggingPlugin : : radioChatFmt = Jupiter : : IRC : : Client : : Config - > get ( this - > getName ( ) , " RadioChatFormat " _jrs ,
Jupiter : : StringS : : Format ( IRCBOLD " %.*s " IRCBOLD " : \x1D %.*s " , RenX : : tags - > nameTag . size ( ) , RenX : : tags - > nameTag . ptr ( ) , RenX : : tags - > messageTag . size ( ) , RenX : : tags - > messageTag . ptr ( ) ) ) ;
RenX_LoggingPlugin : : hostChatFmt = Jupiter : : IRC : : Client : : Config - > get ( this - > getName ( ) , " HostChatFormat " _jrs ,
Updated to support most of RCONv3; updated Jupiter; Map now tracked; Tags added for: RCON User, Server Name, Map; Internal tags are now generated at runtime, and guaranteed to be unique for up to 65k tags; Added events to RenX::Plugin: OnExecute (player), OnPlayer, OnHostChat, OnHostPage, OnOtherChat, OnDisarm, OnCapture, OnNeutralize, OnSteal, OnUnsubscribe, OnVoteCall, OnVoteOver, OnVoteCancel, OnVote, OnMapChange, OnMapLoad, OnMap, OnDemoRecord, OnDemo; various optimizations
10 years ago
Jupiter : : StringS : : Format ( IRCCOLOR " 12Host " IRCCOLOR " 0: %.*s " , RenX : : tags - > messageTag . size ( ) , RenX : : tags - > messageTag . ptr ( ) ) ) ;
RenX_LoggingPlugin : : hostPageFmt = Jupiter : : IRC : : Client : : Config - > get ( this - > getName ( ) , " HostPageFormat " _jrs ,
Updated to support most of RCONv3; updated Jupiter; Map now tracked; Tags added for: RCON User, Server Name, Map; Internal tags are now generated at runtime, and guaranteed to be unique for up to 65k tags; Added events to RenX::Plugin: OnExecute (player), OnPlayer, OnHostChat, OnHostPage, OnOtherChat, OnDisarm, OnCapture, OnNeutralize, OnSteal, OnUnsubscribe, OnVoteCall, OnVoteOver, OnVoteCancel, OnVote, OnMapChange, OnMapLoad, OnMap, OnDemoRecord, OnDemo; various optimizations
10 years ago
Jupiter : : StringS : : Format ( IRCCOLOR " 12(Host -> %.*s): %.*s " , RenX : : tags - > rawNameTag . size ( ) , RenX : : tags - > rawNameTag . ptr ( ) , RenX : : tags - > messageTag . size ( ) , RenX : : tags - > messageTag . ptr ( ) ) ) ;
RenX_LoggingPlugin : : otherChatFmt = Jupiter : : IRC : : Client : : Config - > get ( this - > getName ( ) , " OtherChatFormat " _jrs ,
Updated to support most of RCONv3; updated Jupiter; Map now tracked; Tags added for: RCON User, Server Name, Map; Internal tags are now generated at runtime, and guaranteed to be unique for up to 65k tags; Added events to RenX::Plugin: OnExecute (player), OnPlayer, OnHostChat, OnHostPage, OnOtherChat, OnDisarm, OnCapture, OnNeutralize, OnSteal, OnUnsubscribe, OnVoteCall, OnVoteOver, OnVoteCancel, OnVote, OnMapChange, OnMapLoad, OnMap, OnDemoRecord, OnDemo; various optimizations
10 years ago
Jupiter : : StringS : : Format ( IRCCOLOR " 06[Other Chat] " IRCCOLOR " %.*s " , RenX : : tags - > messageTag . size ( ) , RenX : : tags - > messageTag . ptr ( ) ) ) ;
RenX_LoggingPlugin : : deployFmt = Jupiter : : IRC : : Client : : Config - > get ( this - > getName ( ) , " DeployFormat " _jrs ,
* Removed redundant RenX::Core::send()
* Added additional weapon translations
* Added some projectile translations
* Added Silo translation
* Replaced RenX::getTeam() with 2 different getTeam() functions
* Removed RenX::sanitizeString() for C-style Strings.
* Added events: OnDisarm, OnExplode, OnCharacterPurchase, OnItemPurchase, OnWeaponPurchase, OnRefillPurchase, OnVehiclePurchase, OnVehicleSpawn, OnSpawn,
OnBotJoin, OnVehicleCrate, OnDeathCrate, OnMoneyCrate, OnCharacterCrate, OnSpyCrate, OnRefillCrate, OnDonate, OnDemoRecordStop
* Added functions to RenX::Server: isSeamless(), gameover(), setMap(), loadMutator(), unloadMutator(), cancelVote(), swapTeams(), recordDemo(), mute(), unmute().
Replaced RenX::Server::changeTeam() parameter "options" with "resetCredits".
* Server profile added for Open Beta 4.
* Updated Jupiter
* Updated plugins according to the above changes.
10 years ago
Jupiter : : StringS : : Format ( IRCBOLD " %.*s " IRCCOLOR IRCBOLD " deployed a " IRCBOLD IRCCOLOR " 12%.*s " IRCBOLD , RenX : : tags - > nameTag . size ( ) , RenX : : tags - > nameTag . ptr ( ) , RenX : : tags - > objectTag . size ( ) , RenX : : tags - > objectTag . ptr ( ) ) ) ;
RenX_LoggingPlugin : : mineDeployFmt = Jupiter : : IRC : : Client : : Config - > get ( this - > getName ( ) , " MineDeployFormat " _jrs ,
* Removed redundant RenX::Core::send()
* Added additional weapon translations
* Added some projectile translations
* Added Silo translation
* Replaced RenX::getTeam() with 2 different getTeam() functions
* Removed RenX::sanitizeString() for C-style Strings.
* Added events: OnDisarm, OnExplode, OnCharacterPurchase, OnItemPurchase, OnWeaponPurchase, OnRefillPurchase, OnVehiclePurchase, OnVehicleSpawn, OnSpawn,
OnBotJoin, OnVehicleCrate, OnDeathCrate, OnMoneyCrate, OnCharacterCrate, OnSpyCrate, OnRefillCrate, OnDonate, OnDemoRecordStop
* Added functions to RenX::Server: isSeamless(), gameover(), setMap(), loadMutator(), unloadMutator(), cancelVote(), swapTeams(), recordDemo(), mute(), unmute().
Replaced RenX::Server::changeTeam() parameter "options" with "resetCredits".
* Server profile added for Open Beta 4.
* Updated Jupiter
* Updated plugins according to the above changes.
10 years ago
RenX_LoggingPlugin : : deployFmt ) ;
RenX_LoggingPlugin : : disarmFmt = Jupiter : : IRC : : Client : : Config - > get ( this - > getName ( ) , " DisarmFormat " _jrs ,
Jupiter : : StringS : : Format ( IRCBOLD " %.*s " IRCCOLOR IRCBOLD " disarmed %.*s " IRCBOLD IRCCOLOR " 's " IRCCOLOR " 12%.*s " IRCBOLD , RenX : : tags - > nameTag . size ( ) , RenX : : tags - > nameTag . ptr ( ) , RenX : : tags - > victimNameTag . size ( ) , RenX : : tags - > victimNameTag . ptr ( ) , RenX : : tags - > objectTag . size ( ) , RenX : : tags - > objectTag . ptr ( ) ) ) ;
* Removed redundant RenX::Core::send()
* Added additional weapon translations
* Added some projectile translations
* Added Silo translation
* Replaced RenX::getTeam() with 2 different getTeam() functions
* Removed RenX::sanitizeString() for C-style Strings.
* Added events: OnDisarm, OnExplode, OnCharacterPurchase, OnItemPurchase, OnWeaponPurchase, OnRefillPurchase, OnVehiclePurchase, OnVehicleSpawn, OnSpawn,
OnBotJoin, OnVehicleCrate, OnDeathCrate, OnMoneyCrate, OnCharacterCrate, OnSpyCrate, OnRefillCrate, OnDonate, OnDemoRecordStop
* Added functions to RenX::Server: isSeamless(), gameover(), setMap(), loadMutator(), unloadMutator(), cancelVote(), swapTeams(), recordDemo(), mute(), unmute().
Replaced RenX::Server::changeTeam() parameter "options" with "resetCredits".
* Server profile added for Open Beta 4.
* Updated Jupiter
* Updated plugins according to the above changes.
10 years ago
RenX_LoggingPlugin : : mineDisarmFmt = Jupiter : : IRC : : Client : : Config - > get ( this - > getName ( ) , " MineDisarmFormat " _jrs ,
* Removed redundant RenX::Core::send()
* Added additional weapon translations
* Added some projectile translations
* Added Silo translation
* Replaced RenX::getTeam() with 2 different getTeam() functions
* Removed RenX::sanitizeString() for C-style Strings.
* Added events: OnDisarm, OnExplode, OnCharacterPurchase, OnItemPurchase, OnWeaponPurchase, OnRefillPurchase, OnVehiclePurchase, OnVehicleSpawn, OnSpawn,
OnBotJoin, OnVehicleCrate, OnDeathCrate, OnMoneyCrate, OnCharacterCrate, OnSpyCrate, OnRefillCrate, OnDonate, OnDemoRecordStop
* Added functions to RenX::Server: isSeamless(), gameover(), setMap(), loadMutator(), unloadMutator(), cancelVote(), swapTeams(), recordDemo(), mute(), unmute().
Replaced RenX::Server::changeTeam() parameter "options" with "resetCredits".
* Server profile added for Open Beta 4.
* Updated Jupiter
* Updated plugins according to the above changes.
10 years ago
RenX_LoggingPlugin : : disarmFmt ) ;
RenX_LoggingPlugin : : disarmNoOwnerFmt = Jupiter : : IRC : : Client : : Config - > get ( this - > getName ( ) , " DisarmNoOwnerFormat " _jrs ,
Updated to support most of RCONv3; updated Jupiter; Map now tracked; Tags added for: RCON User, Server Name, Map; Internal tags are now generated at runtime, and guaranteed to be unique for up to 65k tags; Added events to RenX::Plugin: OnExecute (player), OnPlayer, OnHostChat, OnHostPage, OnOtherChat, OnDisarm, OnCapture, OnNeutralize, OnSteal, OnUnsubscribe, OnVoteCall, OnVoteOver, OnVoteCancel, OnVote, OnMapChange, OnMapLoad, OnMap, OnDemoRecord, OnDemo; various optimizations
10 years ago
Jupiter : : StringS : : Format ( IRCBOLD " %.*s " IRCBOLD " disarmed a " IRCBOLD " %.*s " IRCBOLD , RenX : : tags - > nameTag . size ( ) , RenX : : tags - > nameTag . ptr ( ) , RenX : : tags - > objectTag . size ( ) , RenX : : tags - > objectTag . ptr ( ) ) ) ;
RenX_LoggingPlugin : : mineDisarmNoOwnerFmt = Jupiter : : IRC : : Client : : Config - > get ( this - > getName ( ) , " MineDisarmNoOwnerFormat " _jrs ,
* Removed redundant RenX::Core::send()
* Added additional weapon translations
* Added some projectile translations
* Added Silo translation
* Replaced RenX::getTeam() with 2 different getTeam() functions
* Removed RenX::sanitizeString() for C-style Strings.
* Added events: OnDisarm, OnExplode, OnCharacterPurchase, OnItemPurchase, OnWeaponPurchase, OnRefillPurchase, OnVehiclePurchase, OnVehicleSpawn, OnSpawn,
OnBotJoin, OnVehicleCrate, OnDeathCrate, OnMoneyCrate, OnCharacterCrate, OnSpyCrate, OnRefillCrate, OnDonate, OnDemoRecordStop
* Added functions to RenX::Server: isSeamless(), gameover(), setMap(), loadMutator(), unloadMutator(), cancelVote(), swapTeams(), recordDemo(), mute(), unmute().
Replaced RenX::Server::changeTeam() parameter "options" with "resetCredits".
* Server profile added for Open Beta 4.
* Updated Jupiter
* Updated plugins according to the above changes.
10 years ago
RenX_LoggingPlugin : : disarmNoOwnerFmt ) ;
RenX_LoggingPlugin : : explodeFmt = Jupiter : : IRC : : Client : : Config - > get ( this - > getName ( ) , " ExplodeFormat " _jrs ,
* Removed redundant RenX::Core::send()
* Added additional weapon translations
* Added some projectile translations
* Added Silo translation
* Replaced RenX::getTeam() with 2 different getTeam() functions
* Removed RenX::sanitizeString() for C-style Strings.
* Added events: OnDisarm, OnExplode, OnCharacterPurchase, OnItemPurchase, OnWeaponPurchase, OnRefillPurchase, OnVehiclePurchase, OnVehicleSpawn, OnSpawn,
OnBotJoin, OnVehicleCrate, OnDeathCrate, OnMoneyCrate, OnCharacterCrate, OnSpyCrate, OnRefillCrate, OnDonate, OnDemoRecordStop
* Added functions to RenX::Server: isSeamless(), gameover(), setMap(), loadMutator(), unloadMutator(), cancelVote(), swapTeams(), recordDemo(), mute(), unmute().
Replaced RenX::Server::changeTeam() parameter "options" with "resetCredits".
* Server profile added for Open Beta 4.
* Updated Jupiter
* Updated plugins according to the above changes.
10 years ago
Jupiter : : StringS : : Format ( " %.*s " IRCCOLOR " detonated a " IRCCOLOR " 07%.*s " IRCCOLOR " . " , RenX : : tags - > nameTag . size ( ) , RenX : : tags - > nameTag . ptr ( ) , RenX : : tags - > weaponTag . size ( ) , RenX : : tags - > weaponTag . ptr ( ) ) ) ;
RenX_LoggingPlugin : : explodeNoOwnerFmt = Jupiter : : IRC : : Client : : Config - > get ( this - > getName ( ) , " ExplodeMoOwnerFormat " _jrs ,
* Removed redundant RenX::Core::send()
* Added additional weapon translations
* Added some projectile translations
* Added Silo translation
* Replaced RenX::getTeam() with 2 different getTeam() functions
* Removed RenX::sanitizeString() for C-style Strings.
* Added events: OnDisarm, OnExplode, OnCharacterPurchase, OnItemPurchase, OnWeaponPurchase, OnRefillPurchase, OnVehiclePurchase, OnVehicleSpawn, OnSpawn,
OnBotJoin, OnVehicleCrate, OnDeathCrate, OnMoneyCrate, OnCharacterCrate, OnSpyCrate, OnRefillCrate, OnDonate, OnDemoRecordStop
* Added functions to RenX::Server: isSeamless(), gameover(), setMap(), loadMutator(), unloadMutator(), cancelVote(), swapTeams(), recordDemo(), mute(), unmute().
Replaced RenX::Server::changeTeam() parameter "options" with "resetCredits".
* Server profile added for Open Beta 4.
* Updated Jupiter
* Updated plugins according to the above changes.
10 years ago
Jupiter : : StringS : : Format ( " A " IRCCOLOR " 07%.*s " IRCCOLOR " detonated. " , RenX : : tags - > weaponTag . size ( ) , RenX : : tags - > weaponTag . ptr ( ) ) ) ;
RenX_LoggingPlugin : : suicideFmt = Jupiter : : IRC : : Client : : Config - > get ( this - > getName ( ) , " SuicideFormat " _jrs ,
* Removed redundant RenX::Core::send()
* Added additional weapon translations
* Added some projectile translations
* Added Silo translation
* Replaced RenX::getTeam() with 2 different getTeam() functions
* Removed RenX::sanitizeString() for C-style Strings.
* Added events: OnDisarm, OnExplode, OnCharacterPurchase, OnItemPurchase, OnWeaponPurchase, OnRefillPurchase, OnVehiclePurchase, OnVehicleSpawn, OnSpawn,
OnBotJoin, OnVehicleCrate, OnDeathCrate, OnMoneyCrate, OnCharacterCrate, OnSpyCrate, OnRefillCrate, OnDonate, OnDemoRecordStop
* Added functions to RenX::Server: isSeamless(), gameover(), setMap(), loadMutator(), unloadMutator(), cancelVote(), swapTeams(), recordDemo(), mute(), unmute().
Replaced RenX::Server::changeTeam() parameter "options" with "resetCredits".
* Server profile added for Open Beta 4.
* Updated Jupiter
* Updated plugins according to the above changes.
10 years ago
Jupiter : : StringS : : Format ( " %.*s " IRCCOLOR " suicided ( " IRCCOLOR " 12%.*s " IRCCOLOR " ). " , RenX : : tags - > nameTag . size ( ) , RenX : : tags - > nameTag . ptr ( ) , RenX : : tags - > weaponTag . size ( ) , RenX : : tags - > weaponTag . ptr ( ) ) ) ;
RenX_LoggingPlugin : : killFmt = Jupiter : : IRC : : Client : : Config - > get ( this - > getName ( ) , " KillFormat " _jrs ,
Jupiter : : StringS : : Format ( " %.*s " IRCCOLOR " killed %.*s " IRCCOLOR " ( " IRCCOLOR " %.*s%.*s/%.*s " IRCCOLOR " vs " IRCCOLOR " %.*s%.*s " IRCCOLOR " ). " , RenX : : tags - > nameTag . size ( ) , RenX : : tags - > nameTag . ptr ( ) , RenX : : tags - > victimNameTag . size ( ) , RenX : : tags - > victimNameTag . ptr ( ) , RenX : : tags - > teamColorTag . size ( ) , RenX : : tags - > teamColorTag . ptr ( ) , RenX : : tags - > characterTag . size ( ) , RenX : : tags - > characterTag . ptr ( ) , RenX : : tags - > weaponTag . size ( ) , RenX : : tags - > weaponTag . ptr ( ) , RenX : : tags - > victimTeamColorTag . size ( ) , RenX : : tags - > victimTeamColorTag . ptr ( ) , RenX : : tags - > victimCharacterTag . size ( ) , RenX : : tags - > victimCharacterTag . ptr ( ) ) ) ;
RenX_LoggingPlugin : : killFmt2 = Jupiter : : IRC : : Client : : Config - > get ( this - > getName ( ) , " KillFormat2 " _jrs ,
Jupiter : : StringS : : Format ( IRCCOLOR " %.*s%.*s " IRCCOLOR " killed %.*s " IRCCOLOR " ( " IRCCOLOR " 12%.*s " IRCCOLOR " ). " , RenX : : tags - > teamColorTag . size ( ) , RenX : : tags - > teamColorTag . ptr ( ) , RenX : : tags - > nameTag . size ( ) , RenX : : tags - > nameTag . ptr ( ) , RenX : : tags - > victimNameTag . size ( ) , RenX : : tags - > victimNameTag . ptr ( ) , RenX : : tags - > weaponTag . size ( ) , RenX : : tags - > weaponTag . ptr ( ) ) ) ;
RenX_LoggingPlugin : : dieFmt = Jupiter : : IRC : : Client : : Config - > get ( this - > getName ( ) , " DieFormat " _jrs ,
Jupiter : : StringS : : Format ( " %.*s " IRCCOLOR " died ( " IRCCOLOR " 12%.*s " IRCCOLOR " ). " , RenX : : tags - > nameTag . size ( ) , RenX : : tags - > nameTag . ptr ( ) , RenX : : tags - > weaponTag . size ( ) , RenX : : tags - > weaponTag . ptr ( ) ) ) ;
RenX_LoggingPlugin : : dieFmt2 = Jupiter : : IRC : : Client : : Config - > get ( this - > getName ( ) , " DieFormat2 " _jrs ,
Jupiter : : StringS : : Format ( IRCCOLOR " %.*s%.*s " IRCCOLOR " died ( " IRCCOLOR " 12%.*s " IRCCOLOR " ). " , RenX : : tags - > teamColorTag . size ( ) , RenX : : tags - > teamColorTag . ptr ( ) , RenX : : tags - > nameTag . size ( ) , RenX : : tags - > nameTag . ptr ( ) , RenX : : tags - > weaponTag . size ( ) , RenX : : tags - > weaponTag . ptr ( ) ) ) ;
RenX_LoggingPlugin : : destroyBuildingFmt = Jupiter : : IRC : : Client : : Config - > get ( this - > getName ( ) , " DestroyBuildingFormat " _jrs ,
Jupiter : : StringS : : Format ( " %.*s " IRCCOLOR " destroyed the " IRCCOLOR " %.*s%.*s " IRCCOLOR " ( " IRCCOLOR " 12%.*s " IRCCOLOR " ). " , RenX : : tags - > nameTag . size ( ) , RenX : : tags - > nameTag . ptr ( ) , RenX : : tags - > victimTeamColorTag . size ( ) , RenX : : tags - > victimTeamColorTag . ptr ( ) , RenX : : tags - > objectTag . size ( ) , RenX : : tags - > objectTag . ptr ( ) , RenX : : tags - > weaponTag . size ( ) , RenX : : tags - > weaponTag . ptr ( ) ) ) ;
RenX_LoggingPlugin : : destroyBuildingFmt2 = Jupiter : : IRC : : Client : : Config - > get ( this - > getName ( ) , " DestroyBuildingFormat2 " _jrs ,
Jupiter : : StringS : : Format ( IRCCOLOR " %.*s%.*s " IRCCOLOR " destroyed the " IRCCOLOR " %.*s%.*s " IRCCOLOR " ( " IRCCOLOR " 12%.*s " IRCCOLOR " ). " , RenX : : tags - > teamColorTag . size ( ) , RenX : : tags - > teamColorTag . ptr ( ) , RenX : : tags - > nameTag . size ( ) , RenX : : tags - > nameTag . ptr ( ) , RenX : : tags - > victimTeamColorTag . size ( ) , RenX : : tags - > victimTeamColorTag . ptr ( ) , RenX : : tags - > objectTag . size ( ) , RenX : : tags - > objectTag . ptr ( ) , RenX : : tags - > weaponTag . size ( ) , RenX : : tags - > weaponTag . ptr ( ) ) ) ;
RenX_LoggingPlugin : : destroyDefenceFmt = Jupiter : : IRC : : Client : : Config - > get ( this - > getName ( ) , " DestroyDefenceFormat " _jrs ,
Jupiter : : StringS : : Format ( " %.*s " IRCCOLOR " destroyed a " IRCCOLOR " %.*s%.*s " IRCCOLOR " ( " IRCCOLOR " 12%.*s " IRCCOLOR " ). " , RenX : : tags - > nameTag . size ( ) , RenX : : tags - > nameTag . ptr ( ) , RenX : : tags - > victimTeamColorTag . size ( ) , RenX : : tags - > victimTeamColorTag . ptr ( ) , RenX : : tags - > objectTag . size ( ) , RenX : : tags - > objectTag . ptr ( ) , RenX : : tags - > weaponTag . size ( ) , RenX : : tags - > weaponTag . ptr ( ) ) ) ;
RenX_LoggingPlugin : : destroyDefenceFmt2 = Jupiter : : IRC : : Client : : Config - > get ( this - > getName ( ) , " DestroyDefenceFormat2 " _jrs ,
Jupiter : : StringS : : Format ( IRCCOLOR " %.*s%.*s " IRCCOLOR " destroyed a " IRCCOLOR " %.*s%.*s " IRCCOLOR " ( " IRCCOLOR " 12%.*s " IRCCOLOR " ). " , RenX : : tags - > teamColorTag . size ( ) , RenX : : tags - > teamColorTag . ptr ( ) , RenX : : tags - > nameTag . size ( ) , RenX : : tags - > nameTag . ptr ( ) , RenX : : tags - > victimTeamColorTag . size ( ) , RenX : : tags - > victimTeamColorTag . ptr ( ) , RenX : : tags - > objectTag . size ( ) , RenX : : tags - > objectTag . ptr ( ) , RenX : : tags - > weaponTag . size ( ) , RenX : : tags - > weaponTag . ptr ( ) ) ) ;
RenX_LoggingPlugin : : destroyVehicleFmt = Jupiter : : IRC : : Client : : Config - > get ( this - > getName ( ) , " DestroyVehicleFormat " _jrs ,
Jupiter : : StringS : : Format ( " %.*s " IRCCOLOR " destroyed a " IRCCOLOR " %.*s%.*s " IRCCOLOR " ( " IRCCOLOR " 12%.*s " IRCCOLOR " ). " , RenX : : tags - > nameTag . size ( ) , RenX : : tags - > nameTag . ptr ( ) , RenX : : tags - > victimTeamColorTag . size ( ) , RenX : : tags - > victimTeamColorTag . ptr ( ) , RenX : : tags - > objectTag . size ( ) , RenX : : tags - > objectTag . ptr ( ) , RenX : : tags - > weaponTag . size ( ) , RenX : : tags - > weaponTag . ptr ( ) ) ) ;
RenX_LoggingPlugin : : destroyVehicleFmt2 = Jupiter : : IRC : : Client : : Config - > get ( this - > getName ( ) , " DestroyVehicleFormat2 " _jrs ,
Jupiter : : StringS : : Format ( IRCCOLOR " %.*s%.*s " IRCCOLOR " destroyed a " IRCCOLOR " %.*s%.*s " IRCCOLOR " ( " IRCCOLOR " 12%.*s " IRCCOLOR " ). " , RenX : : tags - > teamColorTag . size ( ) , RenX : : tags - > teamColorTag . ptr ( ) , RenX : : tags - > nameTag . size ( ) , RenX : : tags - > nameTag . ptr ( ) , RenX : : tags - > victimTeamColorTag . size ( ) , RenX : : tags - > victimTeamColorTag . ptr ( ) , RenX : : tags - > objectTag . size ( ) , RenX : : tags - > objectTag . ptr ( ) , RenX : : tags - > weaponTag . size ( ) , RenX : : tags - > weaponTag . ptr ( ) ) ) ;
RenX_LoggingPlugin : : captureFmt = Jupiter : : IRC : : Client : : Config - > get ( this - > getName ( ) , " CaptureFormat " _jrs ,
* Removed redundant RenX::Core::send()
* Added additional weapon translations
* Added some projectile translations
* Added Silo translation
* Replaced RenX::getTeam() with 2 different getTeam() functions
* Removed RenX::sanitizeString() for C-style Strings.
* Added events: OnDisarm, OnExplode, OnCharacterPurchase, OnItemPurchase, OnWeaponPurchase, OnRefillPurchase, OnVehiclePurchase, OnVehicleSpawn, OnSpawn,
OnBotJoin, OnVehicleCrate, OnDeathCrate, OnMoneyCrate, OnCharacterCrate, OnSpyCrate, OnRefillCrate, OnDonate, OnDemoRecordStop
* Added functions to RenX::Server: isSeamless(), gameover(), setMap(), loadMutator(), unloadMutator(), cancelVote(), swapTeams(), recordDemo(), mute(), unmute().
Replaced RenX::Server::changeTeam() parameter "options" with "resetCredits".
* Server profile added for Open Beta 4.
* Updated Jupiter
* Updated plugins according to the above changes.
10 years ago
Jupiter : : StringS : : Format ( IRCBOLD " %.*s " IRCCOLOR IRCBOLD " captured the " IRCBOLD IRCCOLOR " %.*s%.*s " IRCCOLOR IRCBOLD " . " , RenX : : tags - > nameTag . size ( ) , RenX : : tags - > nameTag . ptr ( ) , RenX : : tags - > victimTeamColorTag . size ( ) , RenX : : tags - > victimTeamColorTag . ptr ( ) , RenX : : tags - > objectTag . size ( ) , RenX : : tags - > objectTag . ptr ( ) ) ) ;
Updated to support most of RCONv3; updated Jupiter; Map now tracked; Tags added for: RCON User, Server Name, Map; Internal tags are now generated at runtime, and guaranteed to be unique for up to 65k tags; Added events to RenX::Plugin: OnExecute (player), OnPlayer, OnHostChat, OnHostPage, OnOtherChat, OnDisarm, OnCapture, OnNeutralize, OnSteal, OnUnsubscribe, OnVoteCall, OnVoteOver, OnVoteCancel, OnVote, OnMapChange, OnMapLoad, OnMap, OnDemoRecord, OnDemo; various optimizations
10 years ago
RenX_LoggingPlugin : : neutralizeFmt = Jupiter : : IRC : : Client : : Config - > get ( this - > getName ( ) , " NeutralizeFormat " _jrs ,
* Removed redundant RenX::Core::send()
* Added additional weapon translations
* Added some projectile translations
* Added Silo translation
* Replaced RenX::getTeam() with 2 different getTeam() functions
* Removed RenX::sanitizeString() for C-style Strings.
* Added events: OnDisarm, OnExplode, OnCharacterPurchase, OnItemPurchase, OnWeaponPurchase, OnRefillPurchase, OnVehiclePurchase, OnVehicleSpawn, OnSpawn,
OnBotJoin, OnVehicleCrate, OnDeathCrate, OnMoneyCrate, OnCharacterCrate, OnSpyCrate, OnRefillCrate, OnDonate, OnDemoRecordStop
* Added functions to RenX::Server: isSeamless(), gameover(), setMap(), loadMutator(), unloadMutator(), cancelVote(), swapTeams(), recordDemo(), mute(), unmute().
Replaced RenX::Server::changeTeam() parameter "options" with "resetCredits".
* Server profile added for Open Beta 4.
* Updated Jupiter
* Updated plugins according to the above changes.
10 years ago
Jupiter : : StringS : : Format ( IRCBOLD " %.*s " IRCCOLOR IRCBOLD " neutralized the " IRCBOLD IRCCOLOR " %.*s%.*s " IRCCOLOR IRCBOLD " . " , RenX : : tags - > nameTag . size ( ) , RenX : : tags - > nameTag . ptr ( ) , RenX : : tags - > victimTeamColorTag . size ( ) , RenX : : tags - > victimTeamColorTag . ptr ( ) , RenX : : tags - > objectTag . size ( ) , RenX : : tags - > objectTag . ptr ( ) ) ) ;
RenX_LoggingPlugin : : characterPurchaseFmt = Jupiter : : IRC : : Client : : Config - > get ( this - > getName ( ) , " CharacterPurchaseFormat " _jrs ,
* Removed redundant RenX::Core::send()
* Added additional weapon translations
* Added some projectile translations
* Added Silo translation
* Replaced RenX::getTeam() with 2 different getTeam() functions
* Removed RenX::sanitizeString() for C-style Strings.
* Added events: OnDisarm, OnExplode, OnCharacterPurchase, OnItemPurchase, OnWeaponPurchase, OnRefillPurchase, OnVehiclePurchase, OnVehicleSpawn, OnSpawn,
OnBotJoin, OnVehicleCrate, OnDeathCrate, OnMoneyCrate, OnCharacterCrate, OnSpyCrate, OnRefillCrate, OnDonate, OnDemoRecordStop
* Added functions to RenX::Server: isSeamless(), gameover(), setMap(), loadMutator(), unloadMutator(), cancelVote(), swapTeams(), recordDemo(), mute(), unmute().
Replaced RenX::Server::changeTeam() parameter "options" with "resetCredits".
* Server profile added for Open Beta 4.
* Updated Jupiter
* Updated plugins according to the above changes.
10 years ago
Jupiter : : StringS : : Format ( IRCBOLD " %.*s " IRCCOLOR IRCBOLD " purchased a " IRCBOLD IRCCOLOR " %.*s%.*s " IRCCOLOR IRCBOLD " . " , RenX : : tags - > nameTag . size ( ) , RenX : : tags - > nameTag . ptr ( ) , RenX : : tags - > teamColorTag . size ( ) , RenX : : tags - > teamColorTag . ptr ( ) , RenX : : tags - > victimCharacterTag . size ( ) , RenX : : tags - > victimCharacterTag . ptr ( ) ) ) ;
RenX_LoggingPlugin : : itemPurchaseFmt = Jupiter : : IRC : : Client : : Config - > get ( this - > getName ( ) , " ItemPurchaseFormat " _jrs ,
* Removed redundant RenX::Core::send()
* Added additional weapon translations
* Added some projectile translations
* Added Silo translation
* Replaced RenX::getTeam() with 2 different getTeam() functions
* Removed RenX::sanitizeString() for C-style Strings.
* Added events: OnDisarm, OnExplode, OnCharacterPurchase, OnItemPurchase, OnWeaponPurchase, OnRefillPurchase, OnVehiclePurchase, OnVehicleSpawn, OnSpawn,
OnBotJoin, OnVehicleCrate, OnDeathCrate, OnMoneyCrate, OnCharacterCrate, OnSpyCrate, OnRefillCrate, OnDonate, OnDemoRecordStop
* Added functions to RenX::Server: isSeamless(), gameover(), setMap(), loadMutator(), unloadMutator(), cancelVote(), swapTeams(), recordDemo(), mute(), unmute().
Replaced RenX::Server::changeTeam() parameter "options" with "resetCredits".
* Server profile added for Open Beta 4.
* Updated Jupiter
* Updated plugins according to the above changes.
10 years ago
Jupiter : : StringS : : Format ( IRCBOLD " %.*s " IRCCOLOR IRCBOLD " purchased a " IRCBOLD IRCCOLOR " %.*s%.*s " IRCCOLOR IRCBOLD " . " , RenX : : tags - > nameTag . size ( ) , RenX : : tags - > nameTag . ptr ( ) , RenX : : tags - > teamColorTag . size ( ) , RenX : : tags - > teamColorTag . ptr ( ) , RenX : : tags - > objectTag . size ( ) , RenX : : tags - > objectTag . ptr ( ) ) ) ;
RenX_LoggingPlugin : : weaponPurchaseFmt = Jupiter : : IRC : : Client : : Config - > get ( this - > getName ( ) , " WeaponPurchaseFormat " _jrs ,
* Removed redundant RenX::Core::send()
* Added additional weapon translations
* Added some projectile translations
* Added Silo translation
* Replaced RenX::getTeam() with 2 different getTeam() functions
* Removed RenX::sanitizeString() for C-style Strings.
* Added events: OnDisarm, OnExplode, OnCharacterPurchase, OnItemPurchase, OnWeaponPurchase, OnRefillPurchase, OnVehiclePurchase, OnVehicleSpawn, OnSpawn,
OnBotJoin, OnVehicleCrate, OnDeathCrate, OnMoneyCrate, OnCharacterCrate, OnSpyCrate, OnRefillCrate, OnDonate, OnDemoRecordStop
* Added functions to RenX::Server: isSeamless(), gameover(), setMap(), loadMutator(), unloadMutator(), cancelVote(), swapTeams(), recordDemo(), mute(), unmute().
Replaced RenX::Server::changeTeam() parameter "options" with "resetCredits".
* Server profile added for Open Beta 4.
* Updated Jupiter
* Updated plugins according to the above changes.
10 years ago
Jupiter : : StringS : : Format ( IRCBOLD " %.*s " IRCCOLOR IRCBOLD " purchased a " IRCBOLD IRCCOLOR " %.*s%.*s " IRCCOLOR IRCBOLD " . " , RenX : : tags - > nameTag . size ( ) , RenX : : tags - > nameTag . ptr ( ) , RenX : : tags - > teamColorTag . size ( ) , RenX : : tags - > teamColorTag . ptr ( ) , RenX : : tags - > weaponTag . size ( ) , RenX : : tags - > weaponTag . ptr ( ) ) ) ;
RenX_LoggingPlugin : : refillPurchaseFmt = Jupiter : : IRC : : Client : : Config - > get ( this - > getName ( ) , " RefillPurchaseFormat " _jrs ,
* Removed redundant RenX::Core::send()
* Added additional weapon translations
* Added some projectile translations
* Added Silo translation
* Replaced RenX::getTeam() with 2 different getTeam() functions
* Removed RenX::sanitizeString() for C-style Strings.
* Added events: OnDisarm, OnExplode, OnCharacterPurchase, OnItemPurchase, OnWeaponPurchase, OnRefillPurchase, OnVehiclePurchase, OnVehicleSpawn, OnSpawn,
OnBotJoin, OnVehicleCrate, OnDeathCrate, OnMoneyCrate, OnCharacterCrate, OnSpyCrate, OnRefillCrate, OnDonate, OnDemoRecordStop
* Added functions to RenX::Server: isSeamless(), gameover(), setMap(), loadMutator(), unloadMutator(), cancelVote(), swapTeams(), recordDemo(), mute(), unmute().
Replaced RenX::Server::changeTeam() parameter "options" with "resetCredits".
* Server profile added for Open Beta 4.
* Updated Jupiter
* Updated plugins according to the above changes.
10 years ago
Jupiter : : StringS : : Format ( IRCBOLD " %.*s " IRCCOLOR IRCBOLD " purchased a " IRCBOLD IRCCOLOR " %.*srefill " IRCCOLOR IRCBOLD " . " , RenX : : tags - > nameTag . size ( ) , RenX : : tags - > nameTag . ptr ( ) , RenX : : tags - > teamColorTag . size ( ) , RenX : : tags - > teamColorTag . ptr ( ) ) ) ;
RenX_LoggingPlugin : : vehiclePurchaseFmt = Jupiter : : IRC : : Client : : Config - > get ( this - > getName ( ) , " VehiclePurchaseFormat " _jrs ,
* Removed redundant RenX::Core::send()
* Added additional weapon translations
* Added some projectile translations
* Added Silo translation
* Replaced RenX::getTeam() with 2 different getTeam() functions
* Removed RenX::sanitizeString() for C-style Strings.
* Added events: OnDisarm, OnExplode, OnCharacterPurchase, OnItemPurchase, OnWeaponPurchase, OnRefillPurchase, OnVehiclePurchase, OnVehicleSpawn, OnSpawn,
OnBotJoin, OnVehicleCrate, OnDeathCrate, OnMoneyCrate, OnCharacterCrate, OnSpyCrate, OnRefillCrate, OnDonate, OnDemoRecordStop
* Added functions to RenX::Server: isSeamless(), gameover(), setMap(), loadMutator(), unloadMutator(), cancelVote(), swapTeams(), recordDemo(), mute(), unmute().
Replaced RenX::Server::changeTeam() parameter "options" with "resetCredits".
* Server profile added for Open Beta 4.
* Updated Jupiter
* Updated plugins according to the above changes.
10 years ago
Jupiter : : StringS : : Format ( IRCBOLD " %.*s " IRCCOLOR IRCBOLD " purchased a " IRCBOLD IRCCOLOR " %.*s%.*s " IRCCOLOR IRCBOLD " . " , RenX : : tags - > nameTag . size ( ) , RenX : : tags - > nameTag . ptr ( ) , RenX : : tags - > teamColorTag . size ( ) , RenX : : tags - > teamColorTag . ptr ( ) , RenX : : tags - > victimVehicleTag . size ( ) , RenX : : tags - > victimVehicleTag . ptr ( ) ) ) ;
RenX_LoggingPlugin : : vehicleSpawnFmt = Jupiter : : IRC : : Client : : Config - > get ( this - > getName ( ) , " VehicleSpawnFormat " _jrs ,
* Removed redundant RenX::Core::send()
* Added additional weapon translations
* Added some projectile translations
* Added Silo translation
* Replaced RenX::getTeam() with 2 different getTeam() functions
* Removed RenX::sanitizeString() for C-style Strings.
* Added events: OnDisarm, OnExplode, OnCharacterPurchase, OnItemPurchase, OnWeaponPurchase, OnRefillPurchase, OnVehiclePurchase, OnVehicleSpawn, OnSpawn,
OnBotJoin, OnVehicleCrate, OnDeathCrate, OnMoneyCrate, OnCharacterCrate, OnSpyCrate, OnRefillCrate, OnDonate, OnDemoRecordStop
* Added functions to RenX::Server: isSeamless(), gameover(), setMap(), loadMutator(), unloadMutator(), cancelVote(), swapTeams(), recordDemo(), mute(), unmute().
Replaced RenX::Server::changeTeam() parameter "options" with "resetCredits".
* Server profile added for Open Beta 4.
* Updated Jupiter
* Updated plugins according to the above changes.
10 years ago
Jupiter : : StringS : : Format ( " A " IRCBOLD IRCCOLOR " %.*s%.*s " IRCCOLOR IRCBOLD " has spawned. " , RenX : : tags - > teamColorTag . size ( ) , RenX : : tags - > teamColorTag . ptr ( ) , RenX : : tags - > vehicleTag . size ( ) , RenX : : tags - > vehicleTag . ptr ( ) ) ) ;
RenX_LoggingPlugin : : spawnFmt = Jupiter : : IRC : : Client : : Config - > get ( this - > getName ( ) , " SpawnFormat " _jrs ,
* Removed redundant RenX::Core::send()
* Added additional weapon translations
* Added some projectile translations
* Added Silo translation
* Replaced RenX::getTeam() with 2 different getTeam() functions
* Removed RenX::sanitizeString() for C-style Strings.
* Added events: OnDisarm, OnExplode, OnCharacterPurchase, OnItemPurchase, OnWeaponPurchase, OnRefillPurchase, OnVehiclePurchase, OnVehicleSpawn, OnSpawn,
OnBotJoin, OnVehicleCrate, OnDeathCrate, OnMoneyCrate, OnCharacterCrate, OnSpyCrate, OnRefillCrate, OnDonate, OnDemoRecordStop
* Added functions to RenX::Server: isSeamless(), gameover(), setMap(), loadMutator(), unloadMutator(), cancelVote(), swapTeams(), recordDemo(), mute(), unmute().
Replaced RenX::Server::changeTeam() parameter "options" with "resetCredits".
* Server profile added for Open Beta 4.
* Updated Jupiter
* Updated plugins according to the above changes.
10 years ago
Jupiter : : StringS : : Format ( IRCBOLD " %.*s " IRCCOLOR IRCBOLD " spawned as a " IRCCOLOR " %.*s%.*s. " , RenX : : tags - > nameTag . size ( ) , RenX : : tags - > nameTag . ptr ( ) , RenX : : tags - > teamColorTag . size ( ) , RenX : : tags - > teamColorTag . ptr ( ) , RenX : : tags - > victimCharacterTag . size ( ) , RenX : : tags - > victimCharacterTag . ptr ( ) ) ) ;
RenX_LoggingPlugin : : botJoinFmt = Jupiter : : IRC : : Client : : Config - > get ( this - > getName ( ) , " BotJoinFormat " _jrs ,
* Removed redundant RenX::Core::send()
* Added additional weapon translations
* Added some projectile translations
* Added Silo translation
* Replaced RenX::getTeam() with 2 different getTeam() functions
* Removed RenX::sanitizeString() for C-style Strings.
* Added events: OnDisarm, OnExplode, OnCharacterPurchase, OnItemPurchase, OnWeaponPurchase, OnRefillPurchase, OnVehiclePurchase, OnVehicleSpawn, OnSpawn,
OnBotJoin, OnVehicleCrate, OnDeathCrate, OnMoneyCrate, OnCharacterCrate, OnSpyCrate, OnRefillCrate, OnDonate, OnDemoRecordStop
* Added functions to RenX::Server: isSeamless(), gameover(), setMap(), loadMutator(), unloadMutator(), cancelVote(), swapTeams(), recordDemo(), mute(), unmute().
Replaced RenX::Server::changeTeam() parameter "options" with "resetCredits".
* Server profile added for Open Beta 4.
* Updated Jupiter
* Updated plugins according to the above changes.
10 years ago
Jupiter : : StringS : : Format ( IRCBOLD " %.*s " IRCCOLOR IRCBOLD " online. " , RenX : : tags - > nameTag . size ( ) , RenX : : tags - > nameTag . ptr ( ) ) ) ;
RenX_LoggingPlugin : : vehicleCrateFmt = Jupiter : : IRC : : Client : : Config - > get ( this - > getName ( ) , " VehicleCrateFormat " _jrs ,
* Removed redundant RenX::Core::send()
* Added additional weapon translations
* Added some projectile translations
* Added Silo translation
* Replaced RenX::getTeam() with 2 different getTeam() functions
* Removed RenX::sanitizeString() for C-style Strings.
* Added events: OnDisarm, OnExplode, OnCharacterPurchase, OnItemPurchase, OnWeaponPurchase, OnRefillPurchase, OnVehiclePurchase, OnVehicleSpawn, OnSpawn,
OnBotJoin, OnVehicleCrate, OnDeathCrate, OnMoneyCrate, OnCharacterCrate, OnSpyCrate, OnRefillCrate, OnDonate, OnDemoRecordStop
* Added functions to RenX::Server: isSeamless(), gameover(), setMap(), loadMutator(), unloadMutator(), cancelVote(), swapTeams(), recordDemo(), mute(), unmute().
Replaced RenX::Server::changeTeam() parameter "options" with "resetCredits".
* Server profile added for Open Beta 4.
* Updated Jupiter
* Updated plugins according to the above changes.
10 years ago
Jupiter : : StringS : : Format ( IRCBOLD " %.*s " IRCCOLOR IRCBOLD " picked up a %.*s vehicle crate. " , RenX : : tags - > nameTag . size ( ) , RenX : : tags - > nameTag . ptr ( ) , RenX : : tags - > objectTag . size ( ) , RenX : : tags - > objectTag . ptr ( ) ) ) ;
RenX_LoggingPlugin : : TSVehicleCrateFmt = Jupiter : : IRC : : Client : : Config - > get ( this - > getName ( ) , " TSVehicleCrateFormat " _jrs ,
RenX_LoggingPlugin : : vehicleCrateFmt ) ;
RenX_LoggingPlugin : : RAVehicleCrateFmt = Jupiter : : IRC : : Client : : Config - > get ( this - > getName ( ) , " RAVehicleCrateFormat " _jrs ,
RenX_LoggingPlugin : : vehicleCrateFmt ) ;
RenX_LoggingPlugin : : deathCrateFmt = Jupiter : : IRC : : Client : : Config - > get ( this - > getName ( ) , " DeathCrateFormat " _jrs ,
* Removed redundant RenX::Core::send()
* Added additional weapon translations
* Added some projectile translations
* Added Silo translation
* Replaced RenX::getTeam() with 2 different getTeam() functions
* Removed RenX::sanitizeString() for C-style Strings.
* Added events: OnDisarm, OnExplode, OnCharacterPurchase, OnItemPurchase, OnWeaponPurchase, OnRefillPurchase, OnVehiclePurchase, OnVehicleSpawn, OnSpawn,
OnBotJoin, OnVehicleCrate, OnDeathCrate, OnMoneyCrate, OnCharacterCrate, OnSpyCrate, OnRefillCrate, OnDonate, OnDemoRecordStop
* Added functions to RenX::Server: isSeamless(), gameover(), setMap(), loadMutator(), unloadMutator(), cancelVote(), swapTeams(), recordDemo(), mute(), unmute().
Replaced RenX::Server::changeTeam() parameter "options" with "resetCredits".
* Server profile added for Open Beta 4.
* Updated Jupiter
* Updated plugins according to the above changes.
10 years ago
Jupiter : : StringS : : Format ( IRCBOLD " %.*s " IRCCOLOR IRCBOLD " picked up a " IRCCOLOR " 12death " IRCCOLOR " crate. " , RenX : : tags - > nameTag . size ( ) , RenX : : tags - > nameTag . ptr ( ) ) ) ;
RenX_LoggingPlugin : : moneyCrateFmt = Jupiter : : IRC : : Client : : Config - > get ( this - > getName ( ) , " MoneyCrateFormat " _jrs ,
* Removed redundant RenX::Core::send()
* Added additional weapon translations
* Added some projectile translations
* Added Silo translation
* Replaced RenX::getTeam() with 2 different getTeam() functions
* Removed RenX::sanitizeString() for C-style Strings.
* Added events: OnDisarm, OnExplode, OnCharacterPurchase, OnItemPurchase, OnWeaponPurchase, OnRefillPurchase, OnVehiclePurchase, OnVehicleSpawn, OnSpawn,
OnBotJoin, OnVehicleCrate, OnDeathCrate, OnMoneyCrate, OnCharacterCrate, OnSpyCrate, OnRefillCrate, OnDonate, OnDemoRecordStop
* Added functions to RenX::Server: isSeamless(), gameover(), setMap(), loadMutator(), unloadMutator(), cancelVote(), swapTeams(), recordDemo(), mute(), unmute().
Replaced RenX::Server::changeTeam() parameter "options" with "resetCredits".
* Server profile added for Open Beta 4.
* Updated Jupiter
* Updated plugins according to the above changes.
10 years ago
Jupiter : : StringS : : Format ( IRCBOLD " %.*s " IRCCOLOR IRCBOLD " picked up " IRCCOLOR " 09%.*s credits " IRCCOLOR " from a " IRCCOLOR " 12money " IRCCOLOR " crate. " , RenX : : tags - > nameTag . size ( ) , RenX : : tags - > nameTag . ptr ( ) , RenX : : tags - > objectTag . size ( ) , RenX : : tags - > objectTag . ptr ( ) ) ) ;
RenX_LoggingPlugin : : characterCrateFmt = Jupiter : : IRC : : Client : : Config - > get ( this - > getName ( ) , " CharacterCrateFormat " _jrs ,
* Removed redundant RenX::Core::send()
* Added additional weapon translations
* Added some projectile translations
* Added Silo translation
* Replaced RenX::getTeam() with 2 different getTeam() functions
* Removed RenX::sanitizeString() for C-style Strings.
* Added events: OnDisarm, OnExplode, OnCharacterPurchase, OnItemPurchase, OnWeaponPurchase, OnRefillPurchase, OnVehiclePurchase, OnVehicleSpawn, OnSpawn,
OnBotJoin, OnVehicleCrate, OnDeathCrate, OnMoneyCrate, OnCharacterCrate, OnSpyCrate, OnRefillCrate, OnDonate, OnDemoRecordStop
* Added functions to RenX::Server: isSeamless(), gameover(), setMap(), loadMutator(), unloadMutator(), cancelVote(), swapTeams(), recordDemo(), mute(), unmute().
Replaced RenX::Server::changeTeam() parameter "options" with "resetCredits".
* Server profile added for Open Beta 4.
* Updated Jupiter
* Updated plugins according to the above changes.
10 years ago
Jupiter : : StringS : : Format ( IRCBOLD " %.*s " IRCCOLOR IRCBOLD " picked up a " IRCCOLOR " %.*s%.*s " IRCCOLOR " " IRCCOLOR " 12character " IRCCOLOR " crate. " , RenX : : tags - > nameTag . size ( ) , RenX : : tags - > nameTag . ptr ( ) , RenX : : tags - > teamColorTag . size ( ) , RenX : : tags - > teamColorTag . ptr ( ) , RenX : : tags - > victimCharacterTag . size ( ) , RenX : : tags - > victimCharacterTag . ptr ( ) ) ) ;
RenX_LoggingPlugin : : spyCrateFmt = Jupiter : : IRC : : Client : : Config - > get ( this - > getName ( ) , " SpyCrateFormat " _jrs ,
* Removed redundant RenX::Core::send()
* Added additional weapon translations
* Added some projectile translations
* Added Silo translation
* Replaced RenX::getTeam() with 2 different getTeam() functions
* Removed RenX::sanitizeString() for C-style Strings.
* Added events: OnDisarm, OnExplode, OnCharacterPurchase, OnItemPurchase, OnWeaponPurchase, OnRefillPurchase, OnVehiclePurchase, OnVehicleSpawn, OnSpawn,
OnBotJoin, OnVehicleCrate, OnDeathCrate, OnMoneyCrate, OnCharacterCrate, OnSpyCrate, OnRefillCrate, OnDonate, OnDemoRecordStop
* Added functions to RenX::Server: isSeamless(), gameover(), setMap(), loadMutator(), unloadMutator(), cancelVote(), swapTeams(), recordDemo(), mute(), unmute().
Replaced RenX::Server::changeTeam() parameter "options" with "resetCredits".
* Server profile added for Open Beta 4.
* Updated Jupiter
* Updated plugins according to the above changes.
10 years ago
Jupiter : : StringS : : Format ( IRCBOLD " %.*s " IRCCOLOR IRCBOLD " picked up a " IRCCOLOR " %.*s%.*s " IRCCOLOR " " IRCCOLOR " 12spy " IRCCOLOR " crate. " , RenX : : tags - > nameTag . size ( ) , RenX : : tags - > nameTag . ptr ( ) , RenX : : tags - > victimTeamColorTag . size ( ) , RenX : : tags - > victimTeamColorTag . ptr ( ) , RenX : : tags - > victimCharacterTag . size ( ) , RenX : : tags - > victimCharacterTag . ptr ( ) ) ) ;
RenX_LoggingPlugin : : refillCrateFmt = Jupiter : : IRC : : Client : : Config - > get ( this - > getName ( ) , " RefillCrateFormat " _jrs ,
* Removed redundant RenX::Core::send()
* Added additional weapon translations
* Added some projectile translations
* Added Silo translation
* Replaced RenX::getTeam() with 2 different getTeam() functions
* Removed RenX::sanitizeString() for C-style Strings.
* Added events: OnDisarm, OnExplode, OnCharacterPurchase, OnItemPurchase, OnWeaponPurchase, OnRefillPurchase, OnVehiclePurchase, OnVehicleSpawn, OnSpawn,
OnBotJoin, OnVehicleCrate, OnDeathCrate, OnMoneyCrate, OnCharacterCrate, OnSpyCrate, OnRefillCrate, OnDonate, OnDemoRecordStop
* Added functions to RenX::Server: isSeamless(), gameover(), setMap(), loadMutator(), unloadMutator(), cancelVote(), swapTeams(), recordDemo(), mute(), unmute().
Replaced RenX::Server::changeTeam() parameter "options" with "resetCredits".
* Server profile added for Open Beta 4.
* Updated Jupiter
* Updated plugins according to the above changes.
10 years ago
Jupiter : : StringS : : Format ( IRCBOLD " %.*s " IRCCOLOR IRCBOLD " picked up a " IRCCOLOR " %.*srefill " IRCCOLOR " crate. " , RenX : : tags - > nameTag . size ( ) , RenX : : tags - > nameTag . ptr ( ) , RenX : : tags - > teamColorTag . size ( ) , RenX : : tags - > teamColorTag . ptr ( ) ) ) ;
Updated to support most of RCONv3; updated Jupiter; Map now tracked; Tags added for: RCON User, Server Name, Map; Internal tags are now generated at runtime, and guaranteed to be unique for up to 65k tags; Added events to RenX::Plugin: OnExecute (player), OnPlayer, OnHostChat, OnHostPage, OnOtherChat, OnDisarm, OnCapture, OnNeutralize, OnSteal, OnUnsubscribe, OnVoteCall, OnVoteOver, OnVoteCancel, OnVote, OnMapChange, OnMapLoad, OnMap, OnDemoRecord, OnDemo; various optimizations
10 years ago
RenX_LoggingPlugin : : timeBombCrateFmt = Jupiter : : IRC : : Client : : Config - > get ( this - > getName ( ) , " TimeBombCrateFormat " _jrs ,
Jupiter : : StringS : : Format ( IRCBOLD " %.*s " IRCCOLOR IRCBOLD " picked up a " IRCCOLOR " 11time-bomb " IRCCOLOR " crate. " , RenX : : tags - > nameTag . size ( ) , RenX : : tags - > nameTag . ptr ( ) ) ) ;
RenX_LoggingPlugin : : speedCrateFmt = Jupiter : : IRC : : Client : : Config - > get ( this - > getName ( ) , " SpeedCrateFormat " _jrs ,
Jupiter : : StringS : : Format ( IRCBOLD " %.*s " IRCCOLOR IRCBOLD " picked up a " IRCCOLOR " 11speed " IRCCOLOR " crate. " , RenX : : tags - > nameTag . size ( ) , RenX : : tags - > nameTag . ptr ( ) ) ) ;
RenX_LoggingPlugin : : nukeCrateFmt = Jupiter : : IRC : : Client : : Config - > get ( this - > getName ( ) , " NukeCrateFormat " _jrs ,
Jupiter : : StringS : : Format ( IRCBOLD " %.*s " IRCCOLOR IRCBOLD " picked up a " IRCCOLOR " 04nuke " IRCCOLOR " crate. " , RenX : : tags - > nameTag . size ( ) , RenX : : tags - > nameTag . ptr ( ) ) ) ;
RenX_LoggingPlugin : : abductionCrateFmt = Jupiter : : IRC : : Client : : Config - > get ( this - > getName ( ) , " AbductionCrateFormat " _jrs ,
Jupiter : : StringS : : Format ( IRCBOLD " %.*s " IRCCOLOR IRCBOLD " has been " IRCBOLD IRCCOLOR " 06abducted " IRCCOLOR IRCBOLD " by the " IRCBOLD IRCCOLOR " 06Scrin " IRCCOLOR IRCBOLD " ! " , RenX : : tags - > nameTag . size ( ) , RenX : : tags - > nameTag . ptr ( ) ) ) ;
RenX_LoggingPlugin : : unspecifiedCrateFmt = Jupiter : : IRC : : Client : : Config - > get ( this - > getName ( ) , " UnspecifiedCrateFormat " _jrs ,
Jupiter : : StringS : : Format ( IRCBOLD " %.*s " IRCCOLOR IRCBOLD " picked up an " IRCCOLOR " 13unspecified " IRCCOLOR " crate. " , RenX : : tags - > nameTag . size ( ) , RenX : : tags - > nameTag . ptr ( ) ) ) ;
RenX_LoggingPlugin : : otherCrateFmt = Jupiter : : IRC : : Client : : Config - > get ( this - > getName ( ) , " OtherCrateFormat " _jrs ,
Jupiter : : StringS : : Format ( IRCBOLD " %.*s " IRCCOLOR IRCBOLD " picked up a " IRCCOLOR " 13%.*s " IRCCOLOR " crate. " , RenX : : tags - > nameTag . size ( ) , RenX : : tags - > nameTag . ptr ( ) , RenX : : tags - > objectTag . size ( ) , RenX : : tags - > objectTag . ptr ( ) ) ) ;
RenX_LoggingPlugin : : stealFmt = Jupiter : : IRC : : Client : : Config - > get ( this - > getName ( ) , " StealFormat " _jrs ,
* Removed redundant RenX::Core::send()
* Added additional weapon translations
* Added some projectile translations
* Added Silo translation
* Replaced RenX::getTeam() with 2 different getTeam() functions
* Removed RenX::sanitizeString() for C-style Strings.
* Added events: OnDisarm, OnExplode, OnCharacterPurchase, OnItemPurchase, OnWeaponPurchase, OnRefillPurchase, OnVehiclePurchase, OnVehicleSpawn, OnSpawn,
OnBotJoin, OnVehicleCrate, OnDeathCrate, OnMoneyCrate, OnCharacterCrate, OnSpyCrate, OnRefillCrate, OnDonate, OnDemoRecordStop
* Added functions to RenX::Server: isSeamless(), gameover(), setMap(), loadMutator(), unloadMutator(), cancelVote(), swapTeams(), recordDemo(), mute(), unmute().
Replaced RenX::Server::changeTeam() parameter "options" with "resetCredits".
* Server profile added for Open Beta 4.
* Updated Jupiter
* Updated plugins according to the above changes.
10 years ago
Jupiter : : StringS : : Format ( IRCBOLD " %.*s " IRCCOLOR IRCBOLD " stole " IRCBOLD " %.*s " IRCBOLD " 's " IRCBOLD " %.*s " IRCBOLD " ! " , RenX : : tags - > nameTag . size ( ) , RenX : : tags - > nameTag . ptr ( ) , RenX : : tags - > victimNameTag . size ( ) , RenX : : tags - > victimNameTag . ptr ( ) , RenX : : tags - > objectTag . size ( ) , RenX : : tags - > objectTag . ptr ( ) ) ) ;
Updated to support most of RCONv3; updated Jupiter; Map now tracked; Tags added for: RCON User, Server Name, Map; Internal tags are now generated at runtime, and guaranteed to be unique for up to 65k tags; Added events to RenX::Plugin: OnExecute (player), OnPlayer, OnHostChat, OnHostPage, OnOtherChat, OnDisarm, OnCapture, OnNeutralize, OnSteal, OnUnsubscribe, OnVoteCall, OnVoteOver, OnVoteCancel, OnVote, OnMapChange, OnMapLoad, OnMap, OnDemoRecord, OnDemo; various optimizations
10 years ago
RenX_LoggingPlugin : : stealNoOwnerFmt = Jupiter : : IRC : : Client : : Config - > get ( this - > getName ( ) , " StealNoOwnerFormat " _jrs ,
* Removed redundant RenX::Core::send()
* Added additional weapon translations
* Added some projectile translations
* Added Silo translation
* Replaced RenX::getTeam() with 2 different getTeam() functions
* Removed RenX::sanitizeString() for C-style Strings.
* Added events: OnDisarm, OnExplode, OnCharacterPurchase, OnItemPurchase, OnWeaponPurchase, OnRefillPurchase, OnVehiclePurchase, OnVehicleSpawn, OnSpawn,
OnBotJoin, OnVehicleCrate, OnDeathCrate, OnMoneyCrate, OnCharacterCrate, OnSpyCrate, OnRefillCrate, OnDonate, OnDemoRecordStop
* Added functions to RenX::Server: isSeamless(), gameover(), setMap(), loadMutator(), unloadMutator(), cancelVote(), swapTeams(), recordDemo(), mute(), unmute().
Replaced RenX::Server::changeTeam() parameter "options" with "resetCredits".
* Server profile added for Open Beta 4.
* Updated Jupiter
* Updated plugins according to the above changes.
10 years ago
Jupiter : : StringS : : Format ( IRCBOLD " %.*s " IRCCOLOR IRCBOLD " stole a " IRCBOLD IRCCOLOR " 12%.*s " IRCBOLD " ! " , RenX : : tags - > nameTag . size ( ) , RenX : : tags - > nameTag . ptr ( ) , RenX : : tags - > objectTag . size ( ) , RenX : : tags - > objectTag . ptr ( ) ) ) ;
RenX_LoggingPlugin : : donateFmt = Jupiter : : IRC : : Client : : Config - > get ( this - > getName ( ) , " DonateFormat " _jrs ,
* Removed redundant RenX::Core::send()
* Added additional weapon translations
* Added some projectile translations
* Added Silo translation
* Replaced RenX::getTeam() with 2 different getTeam() functions
* Removed RenX::sanitizeString() for C-style Strings.
* Added events: OnDisarm, OnExplode, OnCharacterPurchase, OnItemPurchase, OnWeaponPurchase, OnRefillPurchase, OnVehiclePurchase, OnVehicleSpawn, OnSpawn,
OnBotJoin, OnVehicleCrate, OnDeathCrate, OnMoneyCrate, OnCharacterCrate, OnSpyCrate, OnRefillCrate, OnDonate, OnDemoRecordStop
* Added functions to RenX::Server: isSeamless(), gameover(), setMap(), loadMutator(), unloadMutator(), cancelVote(), swapTeams(), recordDemo(), mute(), unmute().
Replaced RenX::Server::changeTeam() parameter "options" with "resetCredits".
* Server profile added for Open Beta 4.
* Updated Jupiter
* Updated plugins according to the above changes.
10 years ago
Jupiter : : StringS : : Format ( IRCBOLD " %.*s " IRCCOLOR IRCBOLD " donated " IRCCOLOR " 09%.*s credits " IRCCOLOR " to " IRCBOLD " %.*s " IRCBOLD " . " , RenX : : tags - > nameTag . size ( ) , RenX : : tags - > nameTag . ptr ( ) , RenX : : tags - > objectTag . size ( ) , RenX : : tags - > objectTag . ptr ( ) , RenX : : tags - > victimNameTag . size ( ) , RenX : : tags - > victimNameTag . ptr ( ) ) ) ;
Updated to support most of RCONv3; updated Jupiter; Map now tracked; Tags added for: RCON User, Server Name, Map; Internal tags are now generated at runtime, and guaranteed to be unique for up to 65k tags; Added events to RenX::Plugin: OnExecute (player), OnPlayer, OnHostChat, OnHostPage, OnOtherChat, OnDisarm, OnCapture, OnNeutralize, OnSteal, OnUnsubscribe, OnVoteCall, OnVoteOver, OnVoteCancel, OnVote, OnMapChange, OnMapLoad, OnMap, OnDemoRecord, OnDemo; various optimizations
10 years ago
RenX_LoggingPlugin : : gameOverFmt = Jupiter : : IRC : : Client : : Config - > get ( this - > getName ( ) , " GameOverFormat " _jrs ,
Jupiter : : StringS : : Format ( IRCCOLOR " 03[Game] " IRCCOLOR " %.*s The " IRCBOLD " %.*s " IRCBOLD " won by " IRCBOLD " %.*s " IRCBOLD , RenX : : tags - > teamColorTag . size ( ) , RenX : : tags - > teamColorTag . ptr ( ) , RenX : : tags - > teamLongTag . size ( ) , RenX : : tags - > teamLongTag . ptr ( ) , RenX : : tags - > messageTag . size ( ) , RenX : : tags - > messageTag . ptr ( ) ) ) ;
RenX_LoggingPlugin : : gameOverTieFmt = Jupiter : : IRC : : Client : : Config - > get ( this - > getName ( ) , " GameOverTieNoWinFormat " _jrs ,
Jupiter : : StringS : : Format ( IRCCOLOR " 03[Game] " IRCCOLOR " 10 The battle ended in a " IRCBOLD " %.*s " IRCBOLD " - Victory handed to " IRCBOLD IRCCOLOR " %.*s%.*s " IRCBOLD , RenX : : tags - > messageTag . size ( ) , RenX : : tags - > messageTag . ptr ( ) , RenX : : tags - > teamColorTag . size ( ) , RenX : : tags - > teamColorTag . ptr ( ) , RenX : : tags - > teamLongTag . size ( ) , RenX : : tags - > teamLongTag . ptr ( ) ) ) ;
RenX_LoggingPlugin : : gameOverTieNoWinFmt = Jupiter : : IRC : : Client : : Config - > get ( this - > getName ( ) , " GameOverTieFormat " _jrs ,
Jupiter : : StringS : : Format ( IRCCOLOR " 03[Game] " IRCCOLOR " 10 The battle ended in a " IRCBOLD " %.*s " IRCBOLD , RenX : : tags - > messageTag . size ( ) , RenX : : tags - > messageTag . ptr ( ) ) ) ;
RenX_LoggingPlugin : : gameOverScoreFmt = Jupiter : : IRC : : Client : : Config - > get ( this - > getName ( ) , " GameOverScoreFormat " _jrs ,
Jupiter : : StringS : : Format ( IRCCOLOR " 03[Game] " IRCCOLOR " %.*s %.*s " IRCCOLOR " : %.*s | " IRCCOLOR " %.*s%.*s " IRCCOLOR " : %.*s " , RenX : : tags - > teamColorTag . size ( ) , RenX : : tags - > teamColorTag . ptr ( ) , RenX : : tags - > teamLongTag . size ( ) , RenX : : tags - > teamLongTag . ptr ( ) , RenX : : tags - > winScoreTag . size ( ) , RenX : : tags - > winScoreTag . ptr ( ) , RenX : : tags - > victimTeamColorTag . size ( ) , RenX : : tags - > victimTeamColorTag . ptr ( ) , RenX : : tags - > victimTeamLongTag . size ( ) , RenX : : tags - > victimTeamLongTag . ptr ( ) , RenX : : tags - > loseScoreTag . size ( ) , RenX : : tags - > loseScoreTag . ptr ( ) ) ) ;
RenX_LoggingPlugin : : gameFmt = Jupiter : : IRC : : Client : : Config - > get ( this - > getName ( ) , " GameFormat " _jrs ,
Jupiter : : StringS : : Format ( IRCCOLOR " 03[Game] " IRCCOLOR " %.*s " , RenX : : tags - > messageTag . size ( ) , RenX : : tags - > messageTag . ptr ( ) ) ) ;
RenX_LoggingPlugin : : executeFmt = Jupiter : : IRC : : Client : : Config - > get ( this - > getName ( ) , " ExecuteFormat " _jrs ,
Jupiter : : StringS : : Format ( IRCCOLOR " 07%.*s executed: %.*s " , RenX : : tags - > nameTag . size ( ) , RenX : : tags - > nameTag . ptr ( ) , RenX : : tags - > messageTag . size ( ) , RenX : : tags - > messageTag . ptr ( ) ) ) ;
RenX_LoggingPlugin : : devBotExecuteFmt = Jupiter : : IRC : : Client : : Config - > get ( this - > getName ( ) , " DevBotExecuteFormat " _jrs ) ;
RenX_LoggingPlugin : : subscribeFmt = Jupiter : : IRC : : Client : : Config - > get ( this - > getName ( ) , " SubscribeFormat " _jrs ,
Jupiter : : StringS : : Format ( IRCCOLOR " 03%.*s subscribed to the RCON data stream. " , RenX : : tags - > nameTag . size ( ) , RenX : : tags - > nameTag . ptr ( ) ) ) ;
RenX_LoggingPlugin : : rconFmt = Jupiter : : IRC : : Client : : Config - > get ( this - > getName ( ) , " RCONFormat " _jrs ,
Jupiter : : StringS : : Format ( IRCCOLOR " 05[RCON] " IRCCOLOR " %.*s " , RenX : : tags - > messageTag . size ( ) , RenX : : tags - > messageTag . ptr ( ) ) ) ;
RenX_LoggingPlugin : : adminLoginFmt = Jupiter : : IRC : : Client : : Config - > get ( this - > getName ( ) , " AdminLoginFormat " _jrs ,
Jupiter : : StringS : : Format ( IRCCOLOR " 07[Admin] " IRCBOLD " %.*s " IRCBOLD IRCCOLOR " logged in with " IRCCOLOR " 07 " IRCBOLD " %.*s " IRCBOLD IRCNORMAL " privledges. " , RenX : : tags - > nameTag . size ( ) , RenX : : tags - > nameTag . ptr ( ) , RenX : : tags - > adminTag . size ( ) , RenX : : tags - > adminTag . ptr ( ) ) ) ;
RenX_LoggingPlugin : : adminGrantFmt = Jupiter : : IRC : : Client : : Config - > get ( this - > getName ( ) , " AdminGrantFormat " _jrs ,
Jupiter : : StringS : : Format ( IRCCOLOR " 07[Admin] " IRCBOLD " %.*s " IRCBOLD IRCCOLOR " was granted " IRCCOLOR " 07 " IRCBOLD " %.*s " IRCBOLD IRCNORMAL " privledges. " , RenX : : tags - > nameTag . size ( ) , RenX : : tags - > nameTag . ptr ( ) , RenX : : tags - > adminTag . size ( ) , RenX : : tags - > adminTag . ptr ( ) ) ) ;
RenX_LoggingPlugin : : adminLogoutFmt = Jupiter : : IRC : : Client : : Config - > get ( this - > getName ( ) , " AdminLogoutFormat " _jrs ,
Jupiter : : StringS : : Format ( IRCCOLOR " 07[Admin] " IRCBOLD " %.*s " IRCBOLD IRCCOLOR " logged out of their " IRCCOLOR " 07 " IRCBOLD " %.*s " IRCBOLD IRCNORMAL " privledges. " , RenX : : tags - > nameTag . size ( ) , RenX : : tags - > nameTag . ptr ( ) , RenX : : tags - > adminTag . size ( ) , RenX : : tags - > adminTag . ptr ( ) ) ) ;
RenX_LoggingPlugin : : adminFmt = Jupiter : : IRC : : Client : : Config - > get ( this - > getName ( ) , " AdminFormat " _jrs ,
Jupiter : : StringS : : Format ( IRCCOLOR " 07[Admin] " IRCCOLOR " %.*s " , RenX : : tags - > messageTag . size ( ) , RenX : : tags - > messageTag . ptr ( ) ) ) ;
RenX_LoggingPlugin : : voteCallFmt = Jupiter : : IRC : : Client : : Config - > get ( this - > getName ( ) , " VoteCallFormat " _jrs ,
Updated to support most of RCONv3; updated Jupiter; Map now tracked; Tags added for: RCON User, Server Name, Map; Internal tags are now generated at runtime, and guaranteed to be unique for up to 65k tags; Added events to RenX::Plugin: OnExecute (player), OnPlayer, OnHostChat, OnHostPage, OnOtherChat, OnDisarm, OnCapture, OnNeutralize, OnSteal, OnUnsubscribe, OnVoteCall, OnVoteOver, OnVoteCancel, OnVote, OnMapChange, OnMapLoad, OnMap, OnDemoRecord, OnDemo; various optimizations
10 years ago
Jupiter : : StringS : : Format ( IRCCOLOR " %.*s[Vote] " IRCBOLD " %.*s " IRCBOLD " has called a \" %.*s \" vote. " , RenX : : tags - > victimTeamColorTag . size ( ) , RenX : : tags - > victimTeamColorTag . ptr ( ) , RenX : : tags - > nameTag . size ( ) , RenX : : tags - > nameTag . ptr ( ) , RenX : : tags - > objectTag . size ( ) , RenX : : tags - > objectTag . ptr ( ) , RenX : : tags - > victimTeamColorTag . size ( ) , RenX : : tags - > victimTeamColorTag . ptr ( ) ) ) ;
RenX_LoggingPlugin : : voteOverSuccessFmt = Jupiter : : IRC : : Client : : Config - > get ( this - > getName ( ) , " VoteOverSuccessFormat " _jrs ,
Updated to support most of RCONv3; updated Jupiter; Map now tracked; Tags added for: RCON User, Server Name, Map; Internal tags are now generated at runtime, and guaranteed to be unique for up to 65k tags; Added events to RenX::Plugin: OnExecute (player), OnPlayer, OnHostChat, OnHostPage, OnOtherChat, OnDisarm, OnCapture, OnNeutralize, OnSteal, OnUnsubscribe, OnVoteCall, OnVoteOver, OnVoteCancel, OnVote, OnMapChange, OnMapLoad, OnMap, OnDemoRecord, OnDemo; various optimizations
10 years ago
Jupiter : : StringS : : Format ( IRCCOLOR " %.*s[Vote] A vote for \" %.*s \" " IRCBOLD IRCCOLOR " 09passed " IRCBOLD IRCCOLOR " %.*s (Votes Yes: %.*s | Votes No: %.*s). " , RenX : : tags - > victimTeamColorTag . size ( ) , RenX : : tags - > victimTeamColorTag . ptr ( ) , RenX : : tags - > objectTag . size ( ) , RenX : : tags - > objectTag . ptr ( ) , RenX : : tags - > victimTeamColorTag . size ( ) , RenX : : tags - > victimTeamColorTag . ptr ( ) , RenX : : tags - > winScoreTag . size ( ) , RenX : : tags - > winScoreTag . ptr ( ) , RenX : : tags - > loseScoreTag . size ( ) , RenX : : tags - > loseScoreTag . ptr ( ) ) ) ;
RenX_LoggingPlugin : : voteOverFailFmt = Jupiter : : IRC : : Client : : Config - > get ( this - > getName ( ) , " VoteOverFailFormat " _jrs ,
Updated to support most of RCONv3; updated Jupiter; Map now tracked; Tags added for: RCON User, Server Name, Map; Internal tags are now generated at runtime, and guaranteed to be unique for up to 65k tags; Added events to RenX::Plugin: OnExecute (player), OnPlayer, OnHostChat, OnHostPage, OnOtherChat, OnDisarm, OnCapture, OnNeutralize, OnSteal, OnUnsubscribe, OnVoteCall, OnVoteOver, OnVoteCancel, OnVote, OnMapChange, OnMapLoad, OnMap, OnDemoRecord, OnDemo; various optimizations
10 years ago
Jupiter : : StringS : : Format ( IRCCOLOR " %.*s[Vote] A vote for \" %.*s \" " IRCBOLD IRCCOLOR " 04failed " IRCBOLD IRCCOLOR " %.*s (Votes Yes: %.*s | Votes No: %.*s). " , RenX : : tags - > victimTeamColorTag . size ( ) , RenX : : tags - > victimTeamColorTag . ptr ( ) , RenX : : tags - > objectTag . size ( ) , RenX : : tags - > objectTag . ptr ( ) , RenX : : tags - > victimTeamColorTag . size ( ) , RenX : : tags - > victimTeamColorTag . ptr ( ) , RenX : : tags - > winScoreTag . size ( ) , RenX : : tags - > winScoreTag . ptr ( ) , RenX : : tags - > loseScoreTag . size ( ) , RenX : : tags - > loseScoreTag . ptr ( ) ) ) ;
RenX_LoggingPlugin : : voteCancelFmt = Jupiter : : IRC : : Client : : Config - > get ( this - > getName ( ) , " VoteCancelFormat " _jrs ,
Updated to support most of RCONv3; updated Jupiter; Map now tracked; Tags added for: RCON User, Server Name, Map; Internal tags are now generated at runtime, and guaranteed to be unique for up to 65k tags; Added events to RenX::Plugin: OnExecute (player), OnPlayer, OnHostChat, OnHostPage, OnOtherChat, OnDisarm, OnCapture, OnNeutralize, OnSteal, OnUnsubscribe, OnVoteCall, OnVoteOver, OnVoteCancel, OnVote, OnMapChange, OnMapLoad, OnMap, OnDemoRecord, OnDemo; various optimizations
10 years ago
Jupiter : : StringS : : Format ( IRCCOLOR " %.*s[Vote] A vote for \" %.*s \" was " IRCBOLD IRCCOLOR " 07cancelled " IRCCOLOR IRCBOLD " . " , RenX : : tags - > victimTeamColorTag . size ( ) , RenX : : tags - > victimTeamColorTag . ptr ( ) , RenX : : tags - > objectTag . size ( ) , RenX : : tags - > objectTag . ptr ( ) ) ) ;
RenX_LoggingPlugin : : voteFmt = Jupiter : : IRC : : Client : : Config - > get ( this - > getName ( ) , " VoteFormat " _jrs ,
Updated to support most of RCONv3; updated Jupiter; Map now tracked; Tags added for: RCON User, Server Name, Map; Internal tags are now generated at runtime, and guaranteed to be unique for up to 65k tags; Added events to RenX::Plugin: OnExecute (player), OnPlayer, OnHostChat, OnHostPage, OnOtherChat, OnDisarm, OnCapture, OnNeutralize, OnSteal, OnUnsubscribe, OnVoteCall, OnVoteOver, OnVoteCancel, OnVote, OnMapChange, OnMapLoad, OnMap, OnDemoRecord, OnDemo; various optimizations
10 years ago
Jupiter : : StringS : : Format ( IRCCOLOR " 06[Vote] " IRCCOLOR " %.*s " , RenX : : tags - > messageTag . size ( ) , RenX : : tags - > messageTag . ptr ( ) ) ) ;
RenX_LoggingPlugin : : mapChangeFmt = Jupiter : : IRC : : Client : : Config - > get ( this - > getName ( ) , " MapChangeFormat " _jrs ,
Updated to support most of RCONv3; updated Jupiter; Map now tracked; Tags added for: RCON User, Server Name, Map; Internal tags are now generated at runtime, and guaranteed to be unique for up to 65k tags; Added events to RenX::Plugin: OnExecute (player), OnPlayer, OnHostChat, OnHostPage, OnOtherChat, OnDisarm, OnCapture, OnNeutralize, OnSteal, OnUnsubscribe, OnVoteCall, OnVoteOver, OnVoteCancel, OnVote, OnMapChange, OnMapLoad, OnMap, OnDemoRecord, OnDemo; various optimizations
10 years ago
Jupiter : : StringS : : Format ( IRCCOLOR " 03Loading %.*s... " , RenX : : tags - > messageTag . size ( ) , RenX : : tags - > messageTag . ptr ( ) ) ) ;
RenX_LoggingPlugin : : mapLoadFmt = Jupiter : : IRC : : Client : : Config - > get ( this - > getName ( ) , " MapLoadFormat " _jrs ,
Updated to support most of RCONv3; updated Jupiter; Map now tracked; Tags added for: RCON User, Server Name, Map; Internal tags are now generated at runtime, and guaranteed to be unique for up to 65k tags; Added events to RenX::Plugin: OnExecute (player), OnPlayer, OnHostChat, OnHostPage, OnOtherChat, OnDisarm, OnCapture, OnNeutralize, OnSteal, OnUnsubscribe, OnVoteCall, OnVoteOver, OnVoteCancel, OnVote, OnMapChange, OnMapLoad, OnMap, OnDemoRecord, OnDemo; various optimizations
10 years ago
Jupiter : : StringS : : Format ( IRCCOLOR " 03%.*s loaded. " , RenX : : tags - > messageTag . size ( ) , RenX : : tags - > messageTag . ptr ( ) ) ) ;
RenX_LoggingPlugin : : mapStartFmt = Jupiter : : IRC : : Client : : Config - > get ( this - > getName ( ) , " MapStartFormat " _jrs ,
Jupiter : : StringS : : Format ( IRCCOLOR " 03%.*s started. " , RenX : : tags - > messageTag . size ( ) , RenX : : tags - > messageTag . ptr ( ) ) ) ;
RenX_LoggingPlugin : : mapFmt = Jupiter : : IRC : : Client : : Config - > get ( this - > getName ( ) , " MapFormat " _jrs ,
Updated to support most of RCONv3; updated Jupiter; Map now tracked; Tags added for: RCON User, Server Name, Map; Internal tags are now generated at runtime, and guaranteed to be unique for up to 65k tags; Added events to RenX::Plugin: OnExecute (player), OnPlayer, OnHostChat, OnHostPage, OnOtherChat, OnDisarm, OnCapture, OnNeutralize, OnSteal, OnUnsubscribe, OnVoteCall, OnVoteOver, OnVoteCancel, OnVote, OnMapChange, OnMapLoad, OnMap, OnDemoRecord, OnDemo; various optimizations
10 years ago
Jupiter : : StringS : : Format ( IRCCOLOR " 06[Map] " IRCCOLOR " %.*s " , RenX : : tags - > messageTag . size ( ) , RenX : : tags - > messageTag . ptr ( ) ) ) ;
RenX_LoggingPlugin : : demoRecordFmt = Jupiter : : IRC : : Client : : Config - > get ( this - > getName ( ) , " DemoRecordFormat " _jrs ,
Updated to support most of RCONv3; updated Jupiter; Map now tracked; Tags added for: RCON User, Server Name, Map; Internal tags are now generated at runtime, and guaranteed to be unique for up to 65k tags; Added events to RenX::Plugin: OnExecute (player), OnPlayer, OnHostChat, OnHostPage, OnOtherChat, OnDisarm, OnCapture, OnNeutralize, OnSteal, OnUnsubscribe, OnVoteCall, OnVoteOver, OnVoteCancel, OnVote, OnMapChange, OnMapLoad, OnMap, OnDemoRecord, OnDemo; various optimizations
10 years ago
Jupiter : : StringS : : Format ( " %.*s has started a demo recording. " , RenX : : tags - > nameTag . size ( ) , RenX : : tags - > nameTag . ptr ( ) ) ) ;
RenX_LoggingPlugin : : rconDemoRecordFmt = Jupiter : : IRC : : Client : : Config - > get ( this - > getName ( ) , " RCONDemoRecordFormat " _jrs ,
IRCCOLOR " 07A demo recording has started. " _jrs ) ;
Updated to support most of RCONv3; updated Jupiter; Map now tracked; Tags added for: RCON User, Server Name, Map; Internal tags are now generated at runtime, and guaranteed to be unique for up to 65k tags; Added events to RenX::Plugin: OnExecute (player), OnPlayer, OnHostChat, OnHostPage, OnOtherChat, OnDisarm, OnCapture, OnNeutralize, OnSteal, OnUnsubscribe, OnVoteCall, OnVoteOver, OnVoteCancel, OnVote, OnMapChange, OnMapLoad, OnMap, OnDemoRecord, OnDemo; various optimizations
10 years ago
RenX_LoggingPlugin : : demoRecordStopFmt = Jupiter : : IRC : : Client : : Config - > get ( this - > getName ( ) , " DemoRecordStopFormat " _jrs ,
IRCCOLOR " 07The demo recording has stopped. " _jrs ) ;
* Removed redundant RenX::Core::send()
* Added additional weapon translations
* Added some projectile translations
* Added Silo translation
* Replaced RenX::getTeam() with 2 different getTeam() functions
* Removed RenX::sanitizeString() for C-style Strings.
* Added events: OnDisarm, OnExplode, OnCharacterPurchase, OnItemPurchase, OnWeaponPurchase, OnRefillPurchase, OnVehiclePurchase, OnVehicleSpawn, OnSpawn,
OnBotJoin, OnVehicleCrate, OnDeathCrate, OnMoneyCrate, OnCharacterCrate, OnSpyCrate, OnRefillCrate, OnDonate, OnDemoRecordStop
* Added functions to RenX::Server: isSeamless(), gameover(), setMap(), loadMutator(), unloadMutator(), cancelVote(), swapTeams(), recordDemo(), mute(), unmute().
Replaced RenX::Server::changeTeam() parameter "options" with "resetCredits".
* Server profile added for Open Beta 4.
* Updated Jupiter
* Updated plugins according to the above changes.
10 years ago
RenX_LoggingPlugin : : demoFmt = Jupiter : : IRC : : Client : : Config - > get ( this - > getName ( ) , " DemoFormat " _jrs ,
Updated to support most of RCONv3; updated Jupiter; Map now tracked; Tags added for: RCON User, Server Name, Map; Internal tags are now generated at runtime, and guaranteed to be unique for up to 65k tags; Added events to RenX::Plugin: OnExecute (player), OnPlayer, OnHostChat, OnHostPage, OnOtherChat, OnDisarm, OnCapture, OnNeutralize, OnSteal, OnUnsubscribe, OnVoteCall, OnVoteOver, OnVoteCancel, OnVote, OnMapChange, OnMapLoad, OnMap, OnDemoRecord, OnDemo; various optimizations
10 years ago
Jupiter : : StringS : : Format ( IRCCOLOR " 06[Demo] " IRCCOLOR " %.*s " , RenX : : tags - > messageTag . size ( ) , RenX : : tags - > messageTag . ptr ( ) ) ) ;
RenX_LoggingPlugin : : logFmt = Jupiter : : IRC : : Client : : Config - > get ( this - > getName ( ) , " LogFormat " _jrs ,
Jupiter : : StringS : : Format ( IRCCOLOR " 07[Log] " IRCCOLOR " %.*s " , RenX : : tags - > messageTag . size ( ) , RenX : : tags - > messageTag . ptr ( ) ) ) ;
RenX_LoggingPlugin : : commandFmt = Jupiter : : IRC : : Client : : Config - > get ( this - > getName ( ) , " CommandFormat " _jrs ,
Jupiter : : StringS : : Format ( " " ) ) ; // Disabled by default.
RenX_LoggingPlugin : : errorFmt = Jupiter : : IRC : : Client : : Config - > get ( this - > getName ( ) , " ErrorFormat " _jrs ,
Jupiter : : StringS : : Format ( IRCCOLOR " 04[Error] " IRCCOLOR " %.*s " , RenX : : tags - > messageTag . size ( ) , RenX : : tags - > messageTag . ptr ( ) ) ) ;
RenX_LoggingPlugin : : versionFmt = Jupiter : : IRC : : Client : : Config - > get ( this - > getName ( ) , " VersionFormat " _jrs ,
Jupiter : : StringS : : Format ( IRCCOLOR " 03Renegade X RCON connection established; using RCON verison " IRCBOLD " %.*s " IRCBOLD " for game version " IRCBOLD " %.*s " IRCBOLD , RenX : : tags - > rconVersionTag . size ( ) , RenX : : tags - > rconVersionTag . ptr ( ) , RenX : : tags - > gameVersionTag . size ( ) , RenX : : tags - > gameVersionTag . ptr ( ) ) ) ;
RenX_LoggingPlugin : : authorizedFmt = Jupiter : : IRC : : Client : : Config - > get ( this - > getName ( ) , " AuthorizedFormat " _jrs ,
Jupiter : : StringS : : Format ( IRCCOLOR " 03RCON authorization completed. " ) ) ;
RenX_LoggingPlugin : : otherFmt = Jupiter : : IRC : : Client : : Config - > get ( this - > getName ( ) , " OtherFormat " _jrs ,
Jupiter : : StringS : : Format ( IRCCOLOR " 06[Other] " IRCCOLOR " %.*s " , RenX : : tags - > messageTag . size ( ) , RenX : : tags - > messageTag . ptr ( ) ) ) ;
Updated to support most of RCONv3; updated Jupiter; Map now tracked; Tags added for: RCON User, Server Name, Map; Internal tags are now generated at runtime, and guaranteed to be unique for up to 65k tags; Added events to RenX::Plugin: OnExecute (player), OnPlayer, OnHostChat, OnHostPage, OnOtherChat, OnDisarm, OnCapture, OnNeutralize, OnSteal, OnUnsubscribe, OnVoteCall, OnVoteOver, OnVoteCancel, OnVote, OnMapChange, OnMapLoad, OnMap, OnDemoRecord, OnDemo; various optimizations
10 years ago
/** Sanitize tags */
RenX : : sanitizeTags ( joinPublicFmt ) ;
RenX : : sanitizeTags ( joinAdminFmt ) ;
RenX : : sanitizeTags ( joinNoSteamAdminFmt ) ;
RenX : : sanitizeTags ( partFmt ) ;
RenX : : sanitizeTags ( kickFmt ) ;
RenX : : sanitizeTags ( nameChangeFmt ) ;
RenX : : sanitizeTags ( teamChangeFmt ) ;
Updated to support most of RCONv3; updated Jupiter; Map now tracked; Tags added for: RCON User, Server Name, Map; Internal tags are now generated at runtime, and guaranteed to be unique for up to 65k tags; Added events to RenX::Plugin: OnExecute (player), OnPlayer, OnHostChat, OnHostPage, OnOtherChat, OnDisarm, OnCapture, OnNeutralize, OnSteal, OnUnsubscribe, OnVoteCall, OnVoteOver, OnVoteCancel, OnVote, OnMapChange, OnMapLoad, OnMap, OnDemoRecord, OnDemo; various optimizations
10 years ago
RenX : : sanitizeTags ( playerFmt ) ;
RenX : : sanitizeTags ( chatFmt ) ;
RenX : : sanitizeTags ( teamChatFmt ) ;
RenX : : sanitizeTags ( radioChatFmt ) ;
Updated to support most of RCONv3; updated Jupiter; Map now tracked; Tags added for: RCON User, Server Name, Map; Internal tags are now generated at runtime, and guaranteed to be unique for up to 65k tags; Added events to RenX::Plugin: OnExecute (player), OnPlayer, OnHostChat, OnHostPage, OnOtherChat, OnDisarm, OnCapture, OnNeutralize, OnSteal, OnUnsubscribe, OnVoteCall, OnVoteOver, OnVoteCancel, OnVote, OnMapChange, OnMapLoad, OnMap, OnDemoRecord, OnDemo; various optimizations
10 years ago
RenX : : sanitizeTags ( otherChatFmt ) ;
RenX : : sanitizeTags ( deployFmt ) ;
* Removed redundant RenX::Core::send()
* Added additional weapon translations
* Added some projectile translations
* Added Silo translation
* Replaced RenX::getTeam() with 2 different getTeam() functions
* Removed RenX::sanitizeString() for C-style Strings.
* Added events: OnDisarm, OnExplode, OnCharacterPurchase, OnItemPurchase, OnWeaponPurchase, OnRefillPurchase, OnVehiclePurchase, OnVehicleSpawn, OnSpawn,
OnBotJoin, OnVehicleCrate, OnDeathCrate, OnMoneyCrate, OnCharacterCrate, OnSpyCrate, OnRefillCrate, OnDonate, OnDemoRecordStop
* Added functions to RenX::Server: isSeamless(), gameover(), setMap(), loadMutator(), unloadMutator(), cancelVote(), swapTeams(), recordDemo(), mute(), unmute().
Replaced RenX::Server::changeTeam() parameter "options" with "resetCredits".
* Server profile added for Open Beta 4.
* Updated Jupiter
* Updated plugins according to the above changes.
10 years ago
RenX : : sanitizeTags ( mineDeployFmt ) ;
Updated to support most of RCONv3; updated Jupiter; Map now tracked; Tags added for: RCON User, Server Name, Map; Internal tags are now generated at runtime, and guaranteed to be unique for up to 65k tags; Added events to RenX::Plugin: OnExecute (player), OnPlayer, OnHostChat, OnHostPage, OnOtherChat, OnDisarm, OnCapture, OnNeutralize, OnSteal, OnUnsubscribe, OnVoteCall, OnVoteOver, OnVoteCancel, OnVote, OnMapChange, OnMapLoad, OnMap, OnDemoRecord, OnDemo; various optimizations
10 years ago
RenX : : sanitizeTags ( disarmFmt ) ;
* Removed redundant RenX::Core::send()
* Added additional weapon translations
* Added some projectile translations
* Added Silo translation
* Replaced RenX::getTeam() with 2 different getTeam() functions
* Removed RenX::sanitizeString() for C-style Strings.
* Added events: OnDisarm, OnExplode, OnCharacterPurchase, OnItemPurchase, OnWeaponPurchase, OnRefillPurchase, OnVehiclePurchase, OnVehicleSpawn, OnSpawn,
OnBotJoin, OnVehicleCrate, OnDeathCrate, OnMoneyCrate, OnCharacterCrate, OnSpyCrate, OnRefillCrate, OnDonate, OnDemoRecordStop
* Added functions to RenX::Server: isSeamless(), gameover(), setMap(), loadMutator(), unloadMutator(), cancelVote(), swapTeams(), recordDemo(), mute(), unmute().
Replaced RenX::Server::changeTeam() parameter "options" with "resetCredits".
* Server profile added for Open Beta 4.
* Updated Jupiter
* Updated plugins according to the above changes.
10 years ago
RenX : : sanitizeTags ( mineDisarmFmt ) ;
RenX : : sanitizeTags ( disarmNoOwnerFmt ) ;
RenX : : sanitizeTags ( mineDisarmNoOwnerFmt ) ;
RenX : : sanitizeTags ( explodeFmt ) ;
RenX : : sanitizeTags ( explodeNoOwnerFmt ) ;
RenX : : sanitizeTags ( suicideFmt ) ;
RenX : : sanitizeTags ( dieFmt ) ;
RenX : : sanitizeTags ( dieFmt2 ) ;
RenX : : sanitizeTags ( killFmt ) ;
RenX : : sanitizeTags ( killFmt2 ) ;
RenX : : sanitizeTags ( destroyBuildingFmt ) ;
RenX : : sanitizeTags ( destroyBuildingFmt2 ) ;
RenX : : sanitizeTags ( destroyDefenceFmt ) ;
RenX : : sanitizeTags ( destroyDefenceFmt2 ) ;
RenX : : sanitizeTags ( destroyVehicleFmt ) ;
RenX : : sanitizeTags ( destroyVehicleFmt2 ) ;
Updated to support most of RCONv3; updated Jupiter; Map now tracked; Tags added for: RCON User, Server Name, Map; Internal tags are now generated at runtime, and guaranteed to be unique for up to 65k tags; Added events to RenX::Plugin: OnExecute (player), OnPlayer, OnHostChat, OnHostPage, OnOtherChat, OnDisarm, OnCapture, OnNeutralize, OnSteal, OnUnsubscribe, OnVoteCall, OnVoteOver, OnVoteCancel, OnVote, OnMapChange, OnMapLoad, OnMap, OnDemoRecord, OnDemo; various optimizations
10 years ago
RenX : : sanitizeTags ( captureFmt ) ;
RenX : : sanitizeTags ( neutralizeFmt ) ;
* Removed redundant RenX::Core::send()
* Added additional weapon translations
* Added some projectile translations
* Added Silo translation
* Replaced RenX::getTeam() with 2 different getTeam() functions
* Removed RenX::sanitizeString() for C-style Strings.
* Added events: OnDisarm, OnExplode, OnCharacterPurchase, OnItemPurchase, OnWeaponPurchase, OnRefillPurchase, OnVehiclePurchase, OnVehicleSpawn, OnSpawn,
OnBotJoin, OnVehicleCrate, OnDeathCrate, OnMoneyCrate, OnCharacterCrate, OnSpyCrate, OnRefillCrate, OnDonate, OnDemoRecordStop
* Added functions to RenX::Server: isSeamless(), gameover(), setMap(), loadMutator(), unloadMutator(), cancelVote(), swapTeams(), recordDemo(), mute(), unmute().
Replaced RenX::Server::changeTeam() parameter "options" with "resetCredits".
* Server profile added for Open Beta 4.
* Updated Jupiter
* Updated plugins according to the above changes.
10 years ago
RenX : : sanitizeTags ( characterPurchaseFmt ) ;
RenX : : sanitizeTags ( itemPurchaseFmt ) ;
RenX : : sanitizeTags ( weaponPurchaseFmt ) ;
RenX : : sanitizeTags ( refillPurchaseFmt ) ;
RenX : : sanitizeTags ( vehiclePurchaseFmt ) ;
RenX : : sanitizeTags ( vehicleSpawnFmt ) ;
RenX : : sanitizeTags ( spawnFmt ) ;
RenX : : sanitizeTags ( botJoinFmt ) ;
RenX : : sanitizeTags ( vehicleCrateFmt ) ;
RenX : : sanitizeTags ( TSVehicleCrateFmt ) ;
RenX : : sanitizeTags ( RAVehicleCrateFmt ) ;
* Removed redundant RenX::Core::send()
* Added additional weapon translations
* Added some projectile translations
* Added Silo translation
* Replaced RenX::getTeam() with 2 different getTeam() functions
* Removed RenX::sanitizeString() for C-style Strings.
* Added events: OnDisarm, OnExplode, OnCharacterPurchase, OnItemPurchase, OnWeaponPurchase, OnRefillPurchase, OnVehiclePurchase, OnVehicleSpawn, OnSpawn,
OnBotJoin, OnVehicleCrate, OnDeathCrate, OnMoneyCrate, OnCharacterCrate, OnSpyCrate, OnRefillCrate, OnDonate, OnDemoRecordStop
* Added functions to RenX::Server: isSeamless(), gameover(), setMap(), loadMutator(), unloadMutator(), cancelVote(), swapTeams(), recordDemo(), mute(), unmute().
Replaced RenX::Server::changeTeam() parameter "options" with "resetCredits".
* Server profile added for Open Beta 4.
* Updated Jupiter
* Updated plugins according to the above changes.
10 years ago
RenX : : sanitizeTags ( deathCrateFmt ) ;
RenX : : sanitizeTags ( moneyCrateFmt ) ;
RenX : : sanitizeTags ( characterCrateFmt ) ;
RenX : : sanitizeTags ( spyCrateFmt ) ;
RenX : : sanitizeTags ( refillCrateFmt ) ;
RenX : : sanitizeTags ( timeBombCrateFmt ) ;
RenX : : sanitizeTags ( speedCrateFmt ) ;
RenX : : sanitizeTags ( nukeCrateFmt ) ;
RenX : : sanitizeTags ( abductionCrateFmt ) ;
RenX : : sanitizeTags ( unspecifiedCrateFmt ) ;
RenX : : sanitizeTags ( otherCrateFmt ) ;
Updated to support most of RCONv3; updated Jupiter; Map now tracked; Tags added for: RCON User, Server Name, Map; Internal tags are now generated at runtime, and guaranteed to be unique for up to 65k tags; Added events to RenX::Plugin: OnExecute (player), OnPlayer, OnHostChat, OnHostPage, OnOtherChat, OnDisarm, OnCapture, OnNeutralize, OnSteal, OnUnsubscribe, OnVoteCall, OnVoteOver, OnVoteCancel, OnVote, OnMapChange, OnMapLoad, OnMap, OnDemoRecord, OnDemo; various optimizations
10 years ago
RenX : : sanitizeTags ( stealFmt ) ;
RenX : : sanitizeTags ( stealNoOwnerFmt ) ;
* Removed redundant RenX::Core::send()
* Added additional weapon translations
* Added some projectile translations
* Added Silo translation
* Replaced RenX::getTeam() with 2 different getTeam() functions
* Removed RenX::sanitizeString() for C-style Strings.
* Added events: OnDisarm, OnExplode, OnCharacterPurchase, OnItemPurchase, OnWeaponPurchase, OnRefillPurchase, OnVehiclePurchase, OnVehicleSpawn, OnSpawn,
OnBotJoin, OnVehicleCrate, OnDeathCrate, OnMoneyCrate, OnCharacterCrate, OnSpyCrate, OnRefillCrate, OnDonate, OnDemoRecordStop
* Added functions to RenX::Server: isSeamless(), gameover(), setMap(), loadMutator(), unloadMutator(), cancelVote(), swapTeams(), recordDemo(), mute(), unmute().
Replaced RenX::Server::changeTeam() parameter "options" with "resetCredits".
* Server profile added for Open Beta 4.
* Updated Jupiter
* Updated plugins according to the above changes.
10 years ago
RenX : : sanitizeTags ( donateFmt ) ;
RenX : : sanitizeTags ( gameOverFmt ) ;
RenX : : sanitizeTags ( gameOverTieFmt ) ;
RenX : : sanitizeTags ( gameOverTieNoWinFmt ) ;
RenX : : sanitizeTags ( gameOverScoreFmt ) ;
RenX : : sanitizeTags ( gameFmt ) ;
RenX : : sanitizeTags ( executeFmt ) ;
Updated to support most of RCONv3; updated Jupiter; Map now tracked; Tags added for: RCON User, Server Name, Map; Internal tags are now generated at runtime, and guaranteed to be unique for up to 65k tags; Added events to RenX::Plugin: OnExecute (player), OnPlayer, OnHostChat, OnHostPage, OnOtherChat, OnDisarm, OnCapture, OnNeutralize, OnSteal, OnUnsubscribe, OnVoteCall, OnVoteOver, OnVoteCancel, OnVote, OnMapChange, OnMapLoad, OnMap, OnDemoRecord, OnDemo; various optimizations
10 years ago
RenX : : sanitizeTags ( playerExecuteFmt ) ;
RenX : : sanitizeTags ( devBotExecuteFmt ) ;
Updated to support most of RCONv3; updated Jupiter; Map now tracked; Tags added for: RCON User, Server Name, Map; Internal tags are now generated at runtime, and guaranteed to be unique for up to 65k tags; Added events to RenX::Plugin: OnExecute (player), OnPlayer, OnHostChat, OnHostPage, OnOtherChat, OnDisarm, OnCapture, OnNeutralize, OnSteal, OnUnsubscribe, OnVoteCall, OnVoteOver, OnVoteCancel, OnVote, OnMapChange, OnMapLoad, OnMap, OnDemoRecord, OnDemo; various optimizations
10 years ago
RenX : : sanitizeTags ( hostChatFmt ) ;
RenX : : sanitizeTags ( hostPageFmt ) ;
RenX : : sanitizeTags ( subscribeFmt ) ;
RenX : : sanitizeTags ( rconFmt ) ;
RenX : : sanitizeTags ( adminLoginFmt ) ;
RenX : : sanitizeTags ( adminGrantFmt ) ;
RenX : : sanitizeTags ( adminLogoutFmt ) ;
RenX : : sanitizeTags ( adminFmt ) ;
Updated to support most of RCONv3; updated Jupiter; Map now tracked; Tags added for: RCON User, Server Name, Map; Internal tags are now generated at runtime, and guaranteed to be unique for up to 65k tags; Added events to RenX::Plugin: OnExecute (player), OnPlayer, OnHostChat, OnHostPage, OnOtherChat, OnDisarm, OnCapture, OnNeutralize, OnSteal, OnUnsubscribe, OnVoteCall, OnVoteOver, OnVoteCancel, OnVote, OnMapChange, OnMapLoad, OnMap, OnDemoRecord, OnDemo; various optimizations
10 years ago
RenX : : sanitizeTags ( voteCallFmt ) ;
RenX : : sanitizeTags ( voteOverSuccessFmt ) ;
RenX : : sanitizeTags ( voteOverFailFmt ) ;
RenX : : sanitizeTags ( voteCancelFmt ) ;
RenX : : sanitizeTags ( voteFmt ) ;
RenX : : sanitizeTags ( mapChangeFmt ) ;
RenX : : sanitizeTags ( mapLoadFmt ) ;
RenX : : sanitizeTags ( mapStartFmt ) ;
Updated to support most of RCONv3; updated Jupiter; Map now tracked; Tags added for: RCON User, Server Name, Map; Internal tags are now generated at runtime, and guaranteed to be unique for up to 65k tags; Added events to RenX::Plugin: OnExecute (player), OnPlayer, OnHostChat, OnHostPage, OnOtherChat, OnDisarm, OnCapture, OnNeutralize, OnSteal, OnUnsubscribe, OnVoteCall, OnVoteOver, OnVoteCancel, OnVote, OnMapChange, OnMapLoad, OnMap, OnDemoRecord, OnDemo; various optimizations
10 years ago
RenX : : sanitizeTags ( mapFmt ) ;
RenX : : sanitizeTags ( demoRecordFmt ) ;
RenX : : sanitizeTags ( rconDemoRecordFmt ) ;
* Removed redundant RenX::Core::send()
* Added additional weapon translations
* Added some projectile translations
* Added Silo translation
* Replaced RenX::getTeam() with 2 different getTeam() functions
* Removed RenX::sanitizeString() for C-style Strings.
* Added events: OnDisarm, OnExplode, OnCharacterPurchase, OnItemPurchase, OnWeaponPurchase, OnRefillPurchase, OnVehiclePurchase, OnVehicleSpawn, OnSpawn,
OnBotJoin, OnVehicleCrate, OnDeathCrate, OnMoneyCrate, OnCharacterCrate, OnSpyCrate, OnRefillCrate, OnDonate, OnDemoRecordStop
* Added functions to RenX::Server: isSeamless(), gameover(), setMap(), loadMutator(), unloadMutator(), cancelVote(), swapTeams(), recordDemo(), mute(), unmute().
Replaced RenX::Server::changeTeam() parameter "options" with "resetCredits".
* Server profile added for Open Beta 4.
* Updated Jupiter
* Updated plugins according to the above changes.
10 years ago
RenX : : sanitizeTags ( demoRecordStopFmt ) ;
Updated to support most of RCONv3; updated Jupiter; Map now tracked; Tags added for: RCON User, Server Name, Map; Internal tags are now generated at runtime, and guaranteed to be unique for up to 65k tags; Added events to RenX::Plugin: OnExecute (player), OnPlayer, OnHostChat, OnHostPage, OnOtherChat, OnDisarm, OnCapture, OnNeutralize, OnSteal, OnUnsubscribe, OnVoteCall, OnVoteOver, OnVoteCancel, OnVote, OnMapChange, OnMapLoad, OnMap, OnDemoRecord, OnDemo; various optimizations
10 years ago
RenX : : sanitizeTags ( demoFmt ) ;
RenX : : sanitizeTags ( logFmt ) ;
RenX : : sanitizeTags ( commandFmt ) ;
RenX : : sanitizeTags ( errorFmt ) ;
RenX : : sanitizeTags ( versionFmt ) ;
RenX : : sanitizeTags ( authorizedFmt ) ;
RenX : : sanitizeTags ( otherFmt ) ;
}
typedef void ( RenX : : Server : : * logFuncType ) ( const Jupiter : : ReadableString & msg ) const ;
void RenX_LoggingPlugin : : RenX_OnJoin ( RenX : : Server * server , const RenX : : PlayerInfo * player )
{
Jupiter : : String msg ;
if ( RenX_LoggingPlugin : : joinPublic )
{
msg = this - > joinPublicFmt ;
if ( msg . isNotEmpty ( ) )
{
RenX : : processTags ( msg , server , player ) ;
server - > sendPubChan ( msg ) ;
}
}
if ( player - > steamid = = 0 )
msg = this - > joinNoSteamAdminFmt ;
else
msg = this - > joinAdminFmt ;
if ( msg . isNotEmpty ( ) )
{
RenX : : processTags ( msg , server , player ) ;
server - > sendAdmChan ( msg ) ;
}
}
void RenX_LoggingPlugin : : RenX_OnPart ( RenX : : Server * server , const RenX : : PlayerInfo * player )
{
logFuncType func ;
if ( RenX_LoggingPlugin : : partPublic )
func = & RenX : : Server : : sendLogChan ;
else
func = & RenX : : Server : : sendAdmChan ;
Jupiter : : String msg = this - > partFmt ;
if ( msg . isNotEmpty ( ) )
{
RenX : : processTags ( msg , server , player ) ;
( server - > * func ) ( msg ) ;
}
}
void RenX_LoggingPlugin : : RenX_OnKick ( RenX : : Server * server , const RenX : : PlayerInfo * player , const Jupiter : : ReadableString & reason )
{
logFuncType func ;
if ( RenX_LoggingPlugin : : kickPublic )
func = & RenX : : Server : : sendLogChan ;
else
func = & RenX : : Server : : sendAdmChan ;
Jupiter : : String msg = this - > kickFmt ;
if ( msg . isNotEmpty ( ) )
{
RenX : : processTags ( msg , server , player ) ;
msg . replace ( RenX : : tags - > INTERNAL_MESSAGE_TAG , reason ) ;
( server - > * func ) ( msg ) ;
}
}
void RenX_LoggingPlugin : : RenX_OnNameChange ( RenX : : Server * server , const RenX : : PlayerInfo * player , const Jupiter : : ReadableString & newPlayerName )
{
logFuncType func ;
if ( RenX_LoggingPlugin : : nameChangePublic )
func = & RenX : : Server : : sendLogChan ;
else
func = & RenX : : Server : : sendAdmChan ;
Jupiter : : String msg = this - > nameChangeFmt ;
if ( msg . isNotEmpty ( ) )
{
RenX : : processTags ( msg , server , player ) ;
msg . replace ( RenX : : tags - > INTERNAL_NEW_NAME_TAG , newPlayerName ) ;
( server - > * func ) ( msg ) ;
}
}
Updated to support most of RCONv3; updated Jupiter; Map now tracked; Tags added for: RCON User, Server Name, Map; Internal tags are now generated at runtime, and guaranteed to be unique for up to 65k tags; Added events to RenX::Plugin: OnExecute (player), OnPlayer, OnHostChat, OnHostPage, OnOtherChat, OnDisarm, OnCapture, OnNeutralize, OnSteal, OnUnsubscribe, OnVoteCall, OnVoteOver, OnVoteCancel, OnVote, OnMapChange, OnMapLoad, OnMap, OnDemoRecord, OnDemo; various optimizations
10 years ago
void RenX_LoggingPlugin : : RenX_OnTeamChange ( RenX : : Server * server , const RenX : : PlayerInfo * player , const RenX : : TeamType & oldTeam )
{
logFuncType func ;
if ( RenX_LoggingPlugin : : teamChangePublic )
func = & RenX : : Server : : sendLogChan ;
else
func = & RenX : : Server : : sendAdmChan ;
Jupiter : : String msg = this - > teamChangeFmt ;
if ( msg . isNotEmpty ( ) )
{
RenX : : processTags ( msg , server , player ) ;
( server - > * func ) ( msg ) ;
}
}
Updated to support most of RCONv3; updated Jupiter; Map now tracked; Tags added for: RCON User, Server Name, Map; Internal tags are now generated at runtime, and guaranteed to be unique for up to 65k tags; Added events to RenX::Plugin: OnExecute (player), OnPlayer, OnHostChat, OnHostPage, OnOtherChat, OnDisarm, OnCapture, OnNeutralize, OnSteal, OnUnsubscribe, OnVoteCall, OnVoteOver, OnVoteCancel, OnVote, OnMapChange, OnMapLoad, OnMap, OnDemoRecord, OnDemo; various optimizations
10 years ago
void RenX_LoggingPlugin : : RenX_OnExecute ( RenX : : Server * server , const RenX : : PlayerInfo * player , const Jupiter : : ReadableString & command )
{
logFuncType func ;
if ( RenX_LoggingPlugin : : executePublic )
func = & RenX : : Server : : sendLogChan ;
else
func = & RenX : : Server : : sendAdmChan ;
Jupiter : : String msg = this - > playerExecuteFmt ;
if ( msg . isNotEmpty ( ) )
Updated to support most of RCONv3; updated Jupiter; Map now tracked; Tags added for: RCON User, Server Name, Map; Internal tags are now generated at runtime, and guaranteed to be unique for up to 65k tags; Added events to RenX::Plugin: OnExecute (player), OnPlayer, OnHostChat, OnHostPage, OnOtherChat, OnDisarm, OnCapture, OnNeutralize, OnSteal, OnUnsubscribe, OnVoteCall, OnVoteOver, OnVoteCancel, OnVote, OnMapChange, OnMapLoad, OnMap, OnDemoRecord, OnDemo; various optimizations
10 years ago
{
processTags ( msg , server , player ) ;
msg . replace ( RenX : : tags - > INTERNAL_MESSAGE_TAG , command ) ;
( server - > * func ) ( msg ) ;
}
}
void RenX_LoggingPlugin : : RenX_OnPlayer ( RenX : : Server * server , const Jupiter : : ReadableString & raw )
{
logFuncType func ;
if ( RenX_LoggingPlugin : : playerPublic )
func = & RenX : : Server : : sendLogChan ;
else
func = & RenX : : Server : : sendAdmChan ;
Jupiter : : String msg = this - > playerFmt ;
if ( msg . isNotEmpty ( ) )
Updated to support most of RCONv3; updated Jupiter; Map now tracked; Tags added for: RCON User, Server Name, Map; Internal tags are now generated at runtime, and guaranteed to be unique for up to 65k tags; Added events to RenX::Plugin: OnExecute (player), OnPlayer, OnHostChat, OnHostPage, OnOtherChat, OnDisarm, OnCapture, OnNeutralize, OnSteal, OnUnsubscribe, OnVoteCall, OnVoteOver, OnVoteCancel, OnVote, OnMapChange, OnMapLoad, OnMap, OnDemoRecord, OnDemo; various optimizations
10 years ago
{
RenX : : processTags ( msg , server ) ;
msg . replace ( RenX : : tags - > INTERNAL_MESSAGE_TAG , raw ) ;
( server - > * func ) ( msg ) ;
}
}
void RenX_LoggingPlugin : : RenX_OnChat ( RenX : : Server * server , const RenX : : PlayerInfo * player , const Jupiter : : ReadableString & message )
{
logFuncType func ;
if ( RenX_LoggingPlugin : : chatPublic )
func = & RenX : : Server : : sendLogChan ;
else
func = & RenX : : Server : : sendAdmChan ;
Jupiter : : String msg = this - > chatFmt ;
if ( msg . isNotEmpty ( ) )
{
RenX : : processTags ( msg , server , player ) ;
msg . replace ( RenX : : tags - > INTERNAL_MESSAGE_TAG , message ) ;
( server - > * func ) ( msg ) ;
}
}
void RenX_LoggingPlugin : : RenX_OnTeamChat ( RenX : : Server * server , const RenX : : PlayerInfo * player , const Jupiter : : ReadableString & message )
{
logFuncType func ;
if ( RenX_LoggingPlugin : : teamChatPublic )
func = & RenX : : Server : : sendLogChan ;
else
func = & RenX : : Server : : sendAdmChan ;
Jupiter : : String msg = this - > teamChatFmt ;
if ( msg . isNotEmpty ( ) )
{
RenX : : processTags ( msg , server , player ) ;
msg . replace ( RenX : : tags - > INTERNAL_MESSAGE_TAG , message ) ;
( server - > * func ) ( msg ) ;
}
}
void RenX_LoggingPlugin : : RenX_OnRadioChat ( RenX : : Server * server , const RenX : : PlayerInfo * player , const Jupiter : : ReadableString & message )
{
logFuncType func ;
if ( RenX_LoggingPlugin : : radioChatPublic )
func = & RenX : : Server : : sendLogChan ;
else
func = & RenX : : Server : : sendAdmChan ;
Jupiter : : String msg = this - > radioChatFmt ;
if ( msg . isNotEmpty ( ) )
{
RenX : : processTags ( msg , server , player ) ;
msg . replace ( RenX : : tags - > INTERNAL_MESSAGE_TAG , message ) ;
( server - > * func ) ( msg ) ;
}
}
Updated to support most of RCONv3; updated Jupiter; Map now tracked; Tags added for: RCON User, Server Name, Map; Internal tags are now generated at runtime, and guaranteed to be unique for up to 65k tags; Added events to RenX::Plugin: OnExecute (player), OnPlayer, OnHostChat, OnHostPage, OnOtherChat, OnDisarm, OnCapture, OnNeutralize, OnSteal, OnUnsubscribe, OnVoteCall, OnVoteOver, OnVoteCancel, OnVote, OnMapChange, OnMapLoad, OnMap, OnDemoRecord, OnDemo; various optimizations
10 years ago
void RenX_LoggingPlugin : : RenX_OnHostChat ( RenX : : Server * server , const Jupiter : : ReadableString & message )
{
logFuncType func ;
if ( RenX_LoggingPlugin : : hostChatPublic )
func = & RenX : : Server : : sendLogChan ;
else
func = & RenX : : Server : : sendAdmChan ;
Jupiter : : String msg = this - > hostChatFmt ;
if ( msg . isNotEmpty ( ) )
Updated to support most of RCONv3; updated Jupiter; Map now tracked; Tags added for: RCON User, Server Name, Map; Internal tags are now generated at runtime, and guaranteed to be unique for up to 65k tags; Added events to RenX::Plugin: OnExecute (player), OnPlayer, OnHostChat, OnHostPage, OnOtherChat, OnDisarm, OnCapture, OnNeutralize, OnSteal, OnUnsubscribe, OnVoteCall, OnVoteOver, OnVoteCancel, OnVote, OnMapChange, OnMapLoad, OnMap, OnDemoRecord, OnDemo; various optimizations
10 years ago
{
RenX : : processTags ( msg , server ) ;
msg . replace ( RenX : : tags - > INTERNAL_MESSAGE_TAG , message ) ;
( server - > * func ) ( msg ) ;
}
}
void RenX_LoggingPlugin : : RenX_OnHostPage ( RenX : : Server * server , const RenX : : PlayerInfo * player , const Jupiter : : ReadableString & message )
{
logFuncType func ;
if ( RenX_LoggingPlugin : : hostPagePublic )
func = & RenX : : Server : : sendLogChan ;
else
func = & RenX : : Server : : sendAdmChan ;
Jupiter : : String msg = this - > hostPageFmt ;
if ( msg . isNotEmpty ( ) )
Updated to support most of RCONv3; updated Jupiter; Map now tracked; Tags added for: RCON User, Server Name, Map; Internal tags are now generated at runtime, and guaranteed to be unique for up to 65k tags; Added events to RenX::Plugin: OnExecute (player), OnPlayer, OnHostChat, OnHostPage, OnOtherChat, OnDisarm, OnCapture, OnNeutralize, OnSteal, OnUnsubscribe, OnVoteCall, OnVoteOver, OnVoteCancel, OnVote, OnMapChange, OnMapLoad, OnMap, OnDemoRecord, OnDemo; various optimizations
10 years ago
{
RenX : : processTags ( msg , server , player ) ;
msg . replace ( RenX : : tags - > INTERNAL_MESSAGE_TAG , message ) ;
( server - > * func ) ( msg ) ;
}
}
void RenX_LoggingPlugin : : RenX_OnOtherChat ( RenX : : Server * server , const Jupiter : : ReadableString & raw )
{
logFuncType func ;
if ( RenX_LoggingPlugin : : otherChatPublic )
func = & RenX : : Server : : sendLogChan ;
else
func = & RenX : : Server : : sendAdmChan ;
Jupiter : : String msg = this - > otherChatFmt ;
if ( msg . isNotEmpty ( ) )
Updated to support most of RCONv3; updated Jupiter; Map now tracked; Tags added for: RCON User, Server Name, Map; Internal tags are now generated at runtime, and guaranteed to be unique for up to 65k tags; Added events to RenX::Plugin: OnExecute (player), OnPlayer, OnHostChat, OnHostPage, OnOtherChat, OnDisarm, OnCapture, OnNeutralize, OnSteal, OnUnsubscribe, OnVoteCall, OnVoteOver, OnVoteCancel, OnVote, OnMapChange, OnMapLoad, OnMap, OnDemoRecord, OnDemo; various optimizations
10 years ago
{
RenX : : processTags ( msg , server ) ;
msg . replace ( RenX : : tags - > INTERNAL_MESSAGE_TAG , raw ) ;
( server - > * func ) ( msg ) ;
}
}
void RenX_LoggingPlugin : : RenX_OnDeploy ( RenX : : Server * server , const RenX : : PlayerInfo * player , const Jupiter : : ReadableString & object )
{
logFuncType func ;
* Removed redundant RenX::Core::send()
* Added additional weapon translations
* Added some projectile translations
* Added Silo translation
* Replaced RenX::getTeam() with 2 different getTeam() functions
* Removed RenX::sanitizeString() for C-style Strings.
* Added events: OnDisarm, OnExplode, OnCharacterPurchase, OnItemPurchase, OnWeaponPurchase, OnRefillPurchase, OnVehiclePurchase, OnVehicleSpawn, OnSpawn,
OnBotJoin, OnVehicleCrate, OnDeathCrate, OnMoneyCrate, OnCharacterCrate, OnSpyCrate, OnRefillCrate, OnDonate, OnDemoRecordStop
* Added functions to RenX::Server: isSeamless(), gameover(), setMap(), loadMutator(), unloadMutator(), cancelVote(), swapTeams(), recordDemo(), mute(), unmute().
Replaced RenX::Server::changeTeam() parameter "options" with "resetCredits".
* Server profile added for Open Beta 4.
* Updated Jupiter
* Updated plugins according to the above changes.
10 years ago
Jupiter : : String msg ;
if ( object . match ( " *Beacon " ) )
{
if ( RenX_LoggingPlugin : : deployPublic )
func = & RenX : : Server : : sendLogChan ;
else
func = & RenX : : Server : : sendAdmChan ;
msg = this - > deployFmt ;
}
else
* Removed redundant RenX::Core::send()
* Added additional weapon translations
* Added some projectile translations
* Added Silo translation
* Replaced RenX::getTeam() with 2 different getTeam() functions
* Removed RenX::sanitizeString() for C-style Strings.
* Added events: OnDisarm, OnExplode, OnCharacterPurchase, OnItemPurchase, OnWeaponPurchase, OnRefillPurchase, OnVehiclePurchase, OnVehicleSpawn, OnSpawn,
OnBotJoin, OnVehicleCrate, OnDeathCrate, OnMoneyCrate, OnCharacterCrate, OnSpyCrate, OnRefillCrate, OnDonate, OnDemoRecordStop
* Added functions to RenX::Server: isSeamless(), gameover(), setMap(), loadMutator(), unloadMutator(), cancelVote(), swapTeams(), recordDemo(), mute(), unmute().
Replaced RenX::Server::changeTeam() parameter "options" with "resetCredits".
* Server profile added for Open Beta 4.
* Updated Jupiter
* Updated plugins according to the above changes.
10 years ago
{
if ( RenX_LoggingPlugin : : mineDeployPublic )
func = & RenX : : Server : : sendLogChan ;
else
func = & RenX : : Server : : sendAdmChan ;
msg = this - > mineDeployFmt ;
}
if ( msg . isNotEmpty ( ) )
{
RenX : : processTags ( msg , server , player ) ;
msg . replace ( RenX : : tags - > INTERNAL_OBJECT_TAG , RenX : : translateName ( object ) ) ;
( server - > * func ) ( msg ) ;
}
}
* Removed redundant RenX::Core::send()
* Added additional weapon translations
* Added some projectile translations
* Added Silo translation
* Replaced RenX::getTeam() with 2 different getTeam() functions
* Removed RenX::sanitizeString() for C-style Strings.
* Added events: OnDisarm, OnExplode, OnCharacterPurchase, OnItemPurchase, OnWeaponPurchase, OnRefillPurchase, OnVehiclePurchase, OnVehicleSpawn, OnSpawn,
OnBotJoin, OnVehicleCrate, OnDeathCrate, OnMoneyCrate, OnCharacterCrate, OnSpyCrate, OnRefillCrate, OnDonate, OnDemoRecordStop
* Added functions to RenX::Server: isSeamless(), gameover(), setMap(), loadMutator(), unloadMutator(), cancelVote(), swapTeams(), recordDemo(), mute(), unmute().
Replaced RenX::Server::changeTeam() parameter "options" with "resetCredits".
* Server profile added for Open Beta 4.
* Updated Jupiter
* Updated plugins according to the above changes.
10 years ago
void RenX_LoggingPlugin : : RenX_OnDisarm ( RenX : : Server * server , const RenX : : PlayerInfo * player , const Jupiter : : ReadableString & object , const RenX : : PlayerInfo * victim )
{
logFuncType func ;
Jupiter : : String msg ;
if ( object . match ( " *Beacon " ) )
{
if ( RenX_LoggingPlugin : : disarmPublic )
func = & RenX : : Server : : sendLogChan ;
else
func = & RenX : : Server : : sendAdmChan ;
msg = this - > disarmFmt ;
}
else
{
if ( RenX_LoggingPlugin : : mineDisarmPublic )
func = & RenX : : Server : : sendLogChan ;
else
func = & RenX : : Server : : sendAdmChan ;
msg = this - > mineDisarmFmt ;
}
if ( msg . isNotEmpty ( ) )
* Removed redundant RenX::Core::send()
* Added additional weapon translations
* Added some projectile translations
* Added Silo translation
* Replaced RenX::getTeam() with 2 different getTeam() functions
* Removed RenX::sanitizeString() for C-style Strings.
* Added events: OnDisarm, OnExplode, OnCharacterPurchase, OnItemPurchase, OnWeaponPurchase, OnRefillPurchase, OnVehiclePurchase, OnVehicleSpawn, OnSpawn,
OnBotJoin, OnVehicleCrate, OnDeathCrate, OnMoneyCrate, OnCharacterCrate, OnSpyCrate, OnRefillCrate, OnDonate, OnDemoRecordStop
* Added functions to RenX::Server: isSeamless(), gameover(), setMap(), loadMutator(), unloadMutator(), cancelVote(), swapTeams(), recordDemo(), mute(), unmute().
Replaced RenX::Server::changeTeam() parameter "options" with "resetCredits".
* Server profile added for Open Beta 4.
* Updated Jupiter
* Updated plugins according to the above changes.
10 years ago
{
RenX : : processTags ( msg , server , player , victim ) ;
msg . replace ( RenX : : tags - > INTERNAL_OBJECT_TAG , RenX : : translateName ( object ) ) ;
( server - > * func ) ( msg ) ;
}
}
Updated to support most of RCONv3; updated Jupiter; Map now tracked; Tags added for: RCON User, Server Name, Map; Internal tags are now generated at runtime, and guaranteed to be unique for up to 65k tags; Added events to RenX::Plugin: OnExecute (player), OnPlayer, OnHostChat, OnHostPage, OnOtherChat, OnDisarm, OnCapture, OnNeutralize, OnSteal, OnUnsubscribe, OnVoteCall, OnVoteOver, OnVoteCancel, OnVote, OnMapChange, OnMapLoad, OnMap, OnDemoRecord, OnDemo; various optimizations
10 years ago
void RenX_LoggingPlugin : : RenX_OnDisarm ( RenX : : Server * server , const RenX : : PlayerInfo * player , const Jupiter : : ReadableString & object )
{
logFuncType func ;
* Removed redundant RenX::Core::send()
* Added additional weapon translations
* Added some projectile translations
* Added Silo translation
* Replaced RenX::getTeam() with 2 different getTeam() functions
* Removed RenX::sanitizeString() for C-style Strings.
* Added events: OnDisarm, OnExplode, OnCharacterPurchase, OnItemPurchase, OnWeaponPurchase, OnRefillPurchase, OnVehiclePurchase, OnVehicleSpawn, OnSpawn,
OnBotJoin, OnVehicleCrate, OnDeathCrate, OnMoneyCrate, OnCharacterCrate, OnSpyCrate, OnRefillCrate, OnDonate, OnDemoRecordStop
* Added functions to RenX::Server: isSeamless(), gameover(), setMap(), loadMutator(), unloadMutator(), cancelVote(), swapTeams(), recordDemo(), mute(), unmute().
Replaced RenX::Server::changeTeam() parameter "options" with "resetCredits".
* Server profile added for Open Beta 4.
* Updated Jupiter
* Updated plugins according to the above changes.
10 years ago
Jupiter : : String msg ;
if ( object . match ( " *Beacon " ) )
{
if ( RenX_LoggingPlugin : : disarmPublic )
func = & RenX : : Server : : sendLogChan ;
else
func = & RenX : : Server : : sendAdmChan ;
msg = this - > disarmNoOwnerFmt ;
}
else
{
if ( RenX_LoggingPlugin : : mineDisarmPublic )
func = & RenX : : Server : : sendLogChan ;
else
func = & RenX : : Server : : sendAdmChan ;
msg = this - > mineDisarmNoOwnerFmt ;
}
if ( msg . isNotEmpty ( ) )
* Removed redundant RenX::Core::send()
* Added additional weapon translations
* Added some projectile translations
* Added Silo translation
* Replaced RenX::getTeam() with 2 different getTeam() functions
* Removed RenX::sanitizeString() for C-style Strings.
* Added events: OnDisarm, OnExplode, OnCharacterPurchase, OnItemPurchase, OnWeaponPurchase, OnRefillPurchase, OnVehiclePurchase, OnVehicleSpawn, OnSpawn,
OnBotJoin, OnVehicleCrate, OnDeathCrate, OnMoneyCrate, OnCharacterCrate, OnSpyCrate, OnRefillCrate, OnDonate, OnDemoRecordStop
* Added functions to RenX::Server: isSeamless(), gameover(), setMap(), loadMutator(), unloadMutator(), cancelVote(), swapTeams(), recordDemo(), mute(), unmute().
Replaced RenX::Server::changeTeam() parameter "options" with "resetCredits".
* Server profile added for Open Beta 4.
* Updated Jupiter
* Updated plugins according to the above changes.
10 years ago
{
RenX : : processTags ( msg , server , player ) ;
msg . replace ( RenX : : tags - > INTERNAL_OBJECT_TAG , RenX : : translateName ( object ) ) ;
( server - > * func ) ( msg ) ;
}
}
void RenX_LoggingPlugin : : RenX_OnExplode ( RenX : : Server * server , const RenX : : PlayerInfo * player , const Jupiter : : ReadableString & object )
{
logFuncType func ;
if ( RenX_LoggingPlugin : : explodePublic )
Updated to support most of RCONv3; updated Jupiter; Map now tracked; Tags added for: RCON User, Server Name, Map; Internal tags are now generated at runtime, and guaranteed to be unique for up to 65k tags; Added events to RenX::Plugin: OnExecute (player), OnPlayer, OnHostChat, OnHostPage, OnOtherChat, OnDisarm, OnCapture, OnNeutralize, OnSteal, OnUnsubscribe, OnVoteCall, OnVoteOver, OnVoteCancel, OnVote, OnMapChange, OnMapLoad, OnMap, OnDemoRecord, OnDemo; various optimizations
10 years ago
func = & RenX : : Server : : sendLogChan ;
else
func = & RenX : : Server : : sendAdmChan ;
* Removed redundant RenX::Core::send()
* Added additional weapon translations
* Added some projectile translations
* Added Silo translation
* Replaced RenX::getTeam() with 2 different getTeam() functions
* Removed RenX::sanitizeString() for C-style Strings.
* Added events: OnDisarm, OnExplode, OnCharacterPurchase, OnItemPurchase, OnWeaponPurchase, OnRefillPurchase, OnVehiclePurchase, OnVehicleSpawn, OnSpawn,
OnBotJoin, OnVehicleCrate, OnDeathCrate, OnMoneyCrate, OnCharacterCrate, OnSpyCrate, OnRefillCrate, OnDonate, OnDemoRecordStop
* Added functions to RenX::Server: isSeamless(), gameover(), setMap(), loadMutator(), unloadMutator(), cancelVote(), swapTeams(), recordDemo(), mute(), unmute().
Replaced RenX::Server::changeTeam() parameter "options" with "resetCredits".
* Server profile added for Open Beta 4.
* Updated Jupiter
* Updated plugins according to the above changes.
10 years ago
Jupiter : : String msg = this - > explodeFmt ;
if ( msg . isNotEmpty ( ) )
Updated to support most of RCONv3; updated Jupiter; Map now tracked; Tags added for: RCON User, Server Name, Map; Internal tags are now generated at runtime, and guaranteed to be unique for up to 65k tags; Added events to RenX::Plugin: OnExecute (player), OnPlayer, OnHostChat, OnHostPage, OnOtherChat, OnDisarm, OnCapture, OnNeutralize, OnSteal, OnUnsubscribe, OnVoteCall, OnVoteOver, OnVoteCancel, OnVote, OnMapChange, OnMapLoad, OnMap, OnDemoRecord, OnDemo; various optimizations
10 years ago
{
RenX : : processTags ( msg , server , player ) ;
* Removed redundant RenX::Core::send()
* Added additional weapon translations
* Added some projectile translations
* Added Silo translation
* Replaced RenX::getTeam() with 2 different getTeam() functions
* Removed RenX::sanitizeString() for C-style Strings.
* Added events: OnDisarm, OnExplode, OnCharacterPurchase, OnItemPurchase, OnWeaponPurchase, OnRefillPurchase, OnVehiclePurchase, OnVehicleSpawn, OnSpawn,
OnBotJoin, OnVehicleCrate, OnDeathCrate, OnMoneyCrate, OnCharacterCrate, OnSpyCrate, OnRefillCrate, OnDonate, OnDemoRecordStop
* Added functions to RenX::Server: isSeamless(), gameover(), setMap(), loadMutator(), unloadMutator(), cancelVote(), swapTeams(), recordDemo(), mute(), unmute().
Replaced RenX::Server::changeTeam() parameter "options" with "resetCredits".
* Server profile added for Open Beta 4.
* Updated Jupiter
* Updated plugins according to the above changes.
10 years ago
msg . replace ( RenX : : tags - > INTERNAL_WEAPON_TAG , RenX : : translateName ( object ) ) ;
msg . replace ( RenX : : tags - > INTERNAL_OBJECT_TAG , RenX : : translateName ( object ) ) ;
( server - > * func ) ( msg ) ;
}
}
void RenX_LoggingPlugin : : RenX_OnExplode ( RenX : : Server * server , const Jupiter : : ReadableString & object )
{
logFuncType func ;
if ( RenX_LoggingPlugin : : explodePublic )
func = & RenX : : Server : : sendLogChan ;
else
func = & RenX : : Server : : sendAdmChan ;
Jupiter : : String msg = this - > explodeNoOwnerFmt ;
if ( msg . isNotEmpty ( ) )
* Removed redundant RenX::Core::send()
* Added additional weapon translations
* Added some projectile translations
* Added Silo translation
* Replaced RenX::getTeam() with 2 different getTeam() functions
* Removed RenX::sanitizeString() for C-style Strings.
* Added events: OnDisarm, OnExplode, OnCharacterPurchase, OnItemPurchase, OnWeaponPurchase, OnRefillPurchase, OnVehiclePurchase, OnVehicleSpawn, OnSpawn,
OnBotJoin, OnVehicleCrate, OnDeathCrate, OnMoneyCrate, OnCharacterCrate, OnSpyCrate, OnRefillCrate, OnDonate, OnDemoRecordStop
* Added functions to RenX::Server: isSeamless(), gameover(), setMap(), loadMutator(), unloadMutator(), cancelVote(), swapTeams(), recordDemo(), mute(), unmute().
Replaced RenX::Server::changeTeam() parameter "options" with "resetCredits".
* Server profile added for Open Beta 4.
* Updated Jupiter
* Updated plugins according to the above changes.
10 years ago
{
RenX : : processTags ( msg , server ) ;
msg . replace ( RenX : : tags - > INTERNAL_WEAPON_TAG , RenX : : translateName ( object ) ) ;
Updated to support most of RCONv3; updated Jupiter; Map now tracked; Tags added for: RCON User, Server Name, Map; Internal tags are now generated at runtime, and guaranteed to be unique for up to 65k tags; Added events to RenX::Plugin: OnExecute (player), OnPlayer, OnHostChat, OnHostPage, OnOtherChat, OnDisarm, OnCapture, OnNeutralize, OnSteal, OnUnsubscribe, OnVoteCall, OnVoteOver, OnVoteCancel, OnVote, OnMapChange, OnMapLoad, OnMap, OnDemoRecord, OnDemo; various optimizations
10 years ago
msg . replace ( RenX : : tags - > INTERNAL_OBJECT_TAG , RenX : : translateName ( object ) ) ;
( server - > * func ) ( msg ) ;
}
}
void RenX_LoggingPlugin : : RenX_OnSuicide ( RenX : : Server * server , const RenX : : PlayerInfo * player , const Jupiter : : ReadableString & damageType )
{
logFuncType func ;
if ( RenX_LoggingPlugin : : suicidePublic )
func = & RenX : : Server : : sendLogChan ;
else
func = & RenX : : Server : : sendAdmChan ;
Jupiter : : String msg = this - > suicideFmt ;
if ( msg . isNotEmpty ( ) )
{
RenX : : processTags ( msg , server , player ) ;
msg . replace ( RenX : : tags - > INTERNAL_WEAPON_TAG , RenX : : translateName ( damageType ) ) ;
( server - > * func ) ( msg ) ;
}
}
void RenX_LoggingPlugin : : RenX_OnKill ( RenX : : Server * server , const RenX : : PlayerInfo * player , const RenX : : PlayerInfo * victim , const Jupiter : : ReadableString & damageType )
{
logFuncType func ;
if ( RenX_LoggingPlugin : : killPublic )
func = & RenX : : Server : : sendLogChan ;
else
func = & RenX : : Server : : sendAdmChan ;
Jupiter : : String msg = this - > killFmt ;
if ( msg . isNotEmpty ( ) )
{
RenX : : processTags ( msg , server , player , victim ) ;
msg . replace ( RenX : : tags - > INTERNAL_WEAPON_TAG , RenX : : translateName ( damageType ) ) ;
( server - > * func ) ( msg ) ;
}
}
Updated to support most of RCONv3; updated Jupiter; Map now tracked; Tags added for: RCON User, Server Name, Map; Internal tags are now generated at runtime, and guaranteed to be unique for up to 65k tags; Added events to RenX::Plugin: OnExecute (player), OnPlayer, OnHostChat, OnHostPage, OnOtherChat, OnDisarm, OnCapture, OnNeutralize, OnSteal, OnUnsubscribe, OnVoteCall, OnVoteOver, OnVoteCancel, OnVote, OnMapChange, OnMapLoad, OnMap, OnDemoRecord, OnDemo; various optimizations
10 years ago
void RenX_LoggingPlugin : : RenX_OnKill ( RenX : : Server * server , const Jupiter : : ReadableString & killer , const RenX : : TeamType & killerTeam , const RenX : : PlayerInfo * victim , const Jupiter : : ReadableString & damageType )
{
logFuncType func ;
if ( RenX_LoggingPlugin : : killPublic )
func = & RenX : : Server : : sendLogChan ;
else
func = & RenX : : Server : : sendAdmChan ;
Jupiter : : String msg = this - > killFmt2 ;
if ( msg . isNotEmpty ( ) )
{
RenX : : processTags ( msg , server , nullptr , victim ) ;
msg . replace ( RenX : : tags - > INTERNAL_NAME_TAG , RenX : : translateName ( killer ) ) ;
msg . replace ( RenX : : tags - > INTERNAL_TEAM_COLOR_TAG , RenX : : getTeamColor ( killerTeam ) ) ;
msg . replace ( RenX : : tags - > INTERNAL_TEAM_SHORT_TAG , RenX : : getTeamName ( killerTeam ) ) ;
msg . replace ( RenX : : tags - > INTERNAL_TEAM_LONG_TAG , RenX : : getFullTeamName ( killerTeam ) ) ;
msg . replace ( RenX : : tags - > INTERNAL_WEAPON_TAG , RenX : : translateName ( damageType ) ) ;
( server - > * func ) ( msg ) ;
}
}
void RenX_LoggingPlugin : : RenX_OnDie ( RenX : : Server * server , const RenX : : PlayerInfo * player , const Jupiter : : ReadableString & damageType )
{
logFuncType func ;
if ( RenX_LoggingPlugin : : diePublic )
func = & RenX : : Server : : sendLogChan ;
else
func = & RenX : : Server : : sendAdmChan ;
Jupiter : : String msg = this - > dieFmt ;
if ( msg . isNotEmpty ( ) )
{
RenX : : processTags ( msg , server , player ) ;
msg . replace ( RenX : : tags - > INTERNAL_WEAPON_TAG , RenX : : translateName ( damageType ) ) ;
( server - > * func ) ( msg ) ;
}
}
Updated to support most of RCONv3; updated Jupiter; Map now tracked; Tags added for: RCON User, Server Name, Map; Internal tags are now generated at runtime, and guaranteed to be unique for up to 65k tags; Added events to RenX::Plugin: OnExecute (player), OnPlayer, OnHostChat, OnHostPage, OnOtherChat, OnDisarm, OnCapture, OnNeutralize, OnSteal, OnUnsubscribe, OnVoteCall, OnVoteOver, OnVoteCancel, OnVote, OnMapChange, OnMapLoad, OnMap, OnDemoRecord, OnDemo; various optimizations
10 years ago
void RenX_LoggingPlugin : : RenX_OnDie ( RenX : : Server * server , const Jupiter : : ReadableString & object , const RenX : : TeamType & objectTeam , const Jupiter : : ReadableString & damageType )
{
logFuncType func ;
if ( RenX_LoggingPlugin : : diePublic )
func = & RenX : : Server : : sendLogChan ;
else
func = & RenX : : Server : : sendAdmChan ;
Jupiter : : String msg = this - > dieFmt2 ;
if ( msg . isNotEmpty ( ) )
{
RenX : : processTags ( msg , server ) ;
msg . replace ( RenX : : tags - > INTERNAL_NAME_TAG , RenX : : translateName ( object ) ) ;
msg . replace ( RenX : : tags - > INTERNAL_TEAM_COLOR_TAG , RenX : : getTeamColor ( objectTeam ) ) ;
msg . replace ( RenX : : tags - > INTERNAL_TEAM_SHORT_TAG , RenX : : getTeamName ( objectTeam ) ) ;
msg . replace ( RenX : : tags - > INTERNAL_TEAM_LONG_TAG , RenX : : getFullTeamName ( objectTeam ) ) ;
msg . replace ( RenX : : tags - > INTERNAL_WEAPON_TAG , RenX : : translateName ( damageType ) ) ;
( server - > * func ) ( msg ) ;
}
}
* Removed redundant RenX::Core::send()
* Added additional weapon translations
* Added some projectile translations
* Added Silo translation
* Replaced RenX::getTeam() with 2 different getTeam() functions
* Removed RenX::sanitizeString() for C-style Strings.
* Added events: OnDisarm, OnExplode, OnCharacterPurchase, OnItemPurchase, OnWeaponPurchase, OnRefillPurchase, OnVehiclePurchase, OnVehicleSpawn, OnSpawn,
OnBotJoin, OnVehicleCrate, OnDeathCrate, OnMoneyCrate, OnCharacterCrate, OnSpyCrate, OnRefillCrate, OnDonate, OnDemoRecordStop
* Added functions to RenX::Server: isSeamless(), gameover(), setMap(), loadMutator(), unloadMutator(), cancelVote(), swapTeams(), recordDemo(), mute(), unmute().
Replaced RenX::Server::changeTeam() parameter "options" with "resetCredits".
* Server profile added for Open Beta 4.
* Updated Jupiter
* Updated plugins according to the above changes.
10 years ago
void RenX_LoggingPlugin : : RenX_OnDestroy ( RenX : : Server * server , const RenX : : PlayerInfo * player , const Jupiter : : ReadableString & objectName , const RenX : : TeamType & objectTeam , const Jupiter : : ReadableString & damageType , RenX : : ObjectType type )
{
logFuncType func ;
if ( RenX_LoggingPlugin : : destroyPublic )
func = & RenX : : Server : : sendLogChan ;
else
func = & RenX : : Server : : sendAdmChan ;
Jupiter : : String msg ;
switch ( type )
{
case RenX : : ObjectType : : Building :
msg = this - > destroyBuildingFmt ;
break ;
case RenX : : ObjectType : : Defence :
msg = this - > destroyDefenceFmt ;
break ;
default :
msg = this - > destroyVehicleFmt ;
break ;
}
if ( msg . isNotEmpty ( ) )
{
RenX : : processTags ( msg , server , player ) ;
* Removed redundant RenX::Core::send()
* Added additional weapon translations
* Added some projectile translations
* Added Silo translation
* Replaced RenX::getTeam() with 2 different getTeam() functions
* Removed RenX::sanitizeString() for C-style Strings.
* Added events: OnDisarm, OnExplode, OnCharacterPurchase, OnItemPurchase, OnWeaponPurchase, OnRefillPurchase, OnVehiclePurchase, OnVehicleSpawn, OnSpawn,
OnBotJoin, OnVehicleCrate, OnDeathCrate, OnMoneyCrate, OnCharacterCrate, OnSpyCrate, OnRefillCrate, OnDonate, OnDemoRecordStop
* Added functions to RenX::Server: isSeamless(), gameover(), setMap(), loadMutator(), unloadMutator(), cancelVote(), swapTeams(), recordDemo(), mute(), unmute().
Replaced RenX::Server::changeTeam() parameter "options" with "resetCredits".
* Server profile added for Open Beta 4.
* Updated Jupiter
* Updated plugins according to the above changes.
10 years ago
msg . replace ( RenX : : tags - > INTERNAL_VICTIM_TEAM_COLOR_TAG , RenX : : getTeamColor ( objectTeam ) ) ;
msg . replace ( RenX : : tags - > INTERNAL_VICTIM_TEAM_SHORT_TAG , RenX : : getTeamName ( objectTeam ) ) ;
msg . replace ( RenX : : tags - > INTERNAL_VICTIM_TEAM_LONG_TAG , RenX : : getFullTeamName ( objectTeam ) ) ;
msg . replace ( RenX : : tags - > INTERNAL_OBJECT_TAG , RenX : : translateName ( objectName ) ) ;
msg . replace ( RenX : : tags - > INTERNAL_WEAPON_TAG , RenX : : translateName ( damageType ) ) ;
( server - > * func ) ( msg ) ;
}
}
Updated to support most of RCONv3; updated Jupiter; Map now tracked; Tags added for: RCON User, Server Name, Map; Internal tags are now generated at runtime, and guaranteed to be unique for up to 65k tags; Added events to RenX::Plugin: OnExecute (player), OnPlayer, OnHostChat, OnHostPage, OnOtherChat, OnDisarm, OnCapture, OnNeutralize, OnSteal, OnUnsubscribe, OnVoteCall, OnVoteOver, OnVoteCancel, OnVote, OnMapChange, OnMapLoad, OnMap, OnDemoRecord, OnDemo; various optimizations
10 years ago
void RenX_LoggingPlugin : : RenX_OnCapture ( RenX : : Server * server , const RenX : : PlayerInfo * player , const Jupiter : : ReadableString & building , const RenX : : TeamType & oldTeam )
{
logFuncType func ;
if ( RenX_LoggingPlugin : : capturePublic )
func = & RenX : : Server : : sendLogChan ;
else
func = & RenX : : Server : : sendAdmChan ;
Jupiter : : String msg = this - > captureFmt ;
if ( msg . isNotEmpty ( ) )
Updated to support most of RCONv3; updated Jupiter; Map now tracked; Tags added for: RCON User, Server Name, Map; Internal tags are now generated at runtime, and guaranteed to be unique for up to 65k tags; Added events to RenX::Plugin: OnExecute (player), OnPlayer, OnHostChat, OnHostPage, OnOtherChat, OnDisarm, OnCapture, OnNeutralize, OnSteal, OnUnsubscribe, OnVoteCall, OnVoteOver, OnVoteCancel, OnVote, OnMapChange, OnMapLoad, OnMap, OnDemoRecord, OnDemo; various optimizations
10 years ago
{
RenX : : processTags ( msg , server , player ) ;
msg . replace ( RenX : : tags - > INTERNAL_OBJECT_TAG , RenX : : translateName ( building ) ) ;
msg . replace ( RenX : : tags - > INTERNAL_VICTIM_TEAM_COLOR_TAG , RenX : : getTeamColor ( oldTeam ) ) ;
msg . replace ( RenX : : tags - > INTERNAL_VICTIM_TEAM_SHORT_TAG , RenX : : getTeamName ( oldTeam ) ) ;
msg . replace ( RenX : : tags - > INTERNAL_VICTIM_TEAM_LONG_TAG , RenX : : getFullTeamName ( oldTeam ) ) ;
( server - > * func ) ( msg ) ;
}
}
void RenX_LoggingPlugin : : RenX_OnNeutralize ( RenX : : Server * server , const RenX : : PlayerInfo * player , const Jupiter : : ReadableString & building , const RenX : : TeamType & oldTeam )
{
logFuncType func ;
if ( RenX_LoggingPlugin : : neutralizePublic )
func = & RenX : : Server : : sendLogChan ;
else
func = & RenX : : Server : : sendAdmChan ;
Jupiter : : String msg = this - > neutralizeFmt ;
if ( msg . isNotEmpty ( ) )
Updated to support most of RCONv3; updated Jupiter; Map now tracked; Tags added for: RCON User, Server Name, Map; Internal tags are now generated at runtime, and guaranteed to be unique for up to 65k tags; Added events to RenX::Plugin: OnExecute (player), OnPlayer, OnHostChat, OnHostPage, OnOtherChat, OnDisarm, OnCapture, OnNeutralize, OnSteal, OnUnsubscribe, OnVoteCall, OnVoteOver, OnVoteCancel, OnVote, OnMapChange, OnMapLoad, OnMap, OnDemoRecord, OnDemo; various optimizations
10 years ago
{
RenX : : processTags ( msg , server , player ) ;
msg . replace ( RenX : : tags - > INTERNAL_OBJECT_TAG , RenX : : translateName ( building ) ) ;
msg . replace ( RenX : : tags - > INTERNAL_VICTIM_TEAM_COLOR_TAG , RenX : : getTeamColor ( oldTeam ) ) ;
msg . replace ( RenX : : tags - > INTERNAL_VICTIM_TEAM_SHORT_TAG , RenX : : getTeamName ( oldTeam ) ) ;
msg . replace ( RenX : : tags - > INTERNAL_VICTIM_TEAM_LONG_TAG , RenX : : getFullTeamName ( oldTeam ) ) ;
( server - > * func ) ( msg ) ;
}
}
* Removed redundant RenX::Core::send()
* Added additional weapon translations
* Added some projectile translations
* Added Silo translation
* Replaced RenX::getTeam() with 2 different getTeam() functions
* Removed RenX::sanitizeString() for C-style Strings.
* Added events: OnDisarm, OnExplode, OnCharacterPurchase, OnItemPurchase, OnWeaponPurchase, OnRefillPurchase, OnVehiclePurchase, OnVehicleSpawn, OnSpawn,
OnBotJoin, OnVehicleCrate, OnDeathCrate, OnMoneyCrate, OnCharacterCrate, OnSpyCrate, OnRefillCrate, OnDonate, OnDemoRecordStop
* Added functions to RenX::Server: isSeamless(), gameover(), setMap(), loadMutator(), unloadMutator(), cancelVote(), swapTeams(), recordDemo(), mute(), unmute().
Replaced RenX::Server::changeTeam() parameter "options" with "resetCredits".
* Server profile added for Open Beta 4.
* Updated Jupiter
* Updated plugins according to the above changes.
10 years ago
void RenX_LoggingPlugin : : RenX_OnCharacterPurchase ( RenX : : Server * server , const RenX : : PlayerInfo * player , const Jupiter : : ReadableString & character )
{
logFuncType func ;
if ( RenX_LoggingPlugin : : characterPurchasePublic )
func = & RenX : : Server : : sendLogChan ;
else
func = & RenX : : Server : : sendAdmChan ;
Jupiter : : String msg = this - > characterPurchaseFmt ;
if ( msg . isNotEmpty ( ) )
* Removed redundant RenX::Core::send()
* Added additional weapon translations
* Added some projectile translations
* Added Silo translation
* Replaced RenX::getTeam() with 2 different getTeam() functions
* Removed RenX::sanitizeString() for C-style Strings.
* Added events: OnDisarm, OnExplode, OnCharacterPurchase, OnItemPurchase, OnWeaponPurchase, OnRefillPurchase, OnVehiclePurchase, OnVehicleSpawn, OnSpawn,
OnBotJoin, OnVehicleCrate, OnDeathCrate, OnMoneyCrate, OnCharacterCrate, OnSpyCrate, OnRefillCrate, OnDonate, OnDemoRecordStop
* Added functions to RenX::Server: isSeamless(), gameover(), setMap(), loadMutator(), unloadMutator(), cancelVote(), swapTeams(), recordDemo(), mute(), unmute().
Replaced RenX::Server::changeTeam() parameter "options" with "resetCredits".
* Server profile added for Open Beta 4.
* Updated Jupiter
* Updated plugins according to the above changes.
10 years ago
{
RenX : : processTags ( msg , server , player ) ;
msg . replace ( RenX : : tags - > INTERNAL_VICTIM_CHARACTER_TAG , RenX : : translateName ( character ) ) ;
( server - > * func ) ( msg ) ;
}
}
void RenX_LoggingPlugin : : RenX_OnItemPurchase ( RenX : : Server * server , const RenX : : PlayerInfo * player , const Jupiter : : ReadableString & item )
{
logFuncType func ;
if ( RenX_LoggingPlugin : : itemPurchasePublic )
func = & RenX : : Server : : sendLogChan ;
else
func = & RenX : : Server : : sendAdmChan ;
Jupiter : : String msg = this - > itemPurchaseFmt ;
if ( msg . isNotEmpty ( ) )
* Removed redundant RenX::Core::send()
* Added additional weapon translations
* Added some projectile translations
* Added Silo translation
* Replaced RenX::getTeam() with 2 different getTeam() functions
* Removed RenX::sanitizeString() for C-style Strings.
* Added events: OnDisarm, OnExplode, OnCharacterPurchase, OnItemPurchase, OnWeaponPurchase, OnRefillPurchase, OnVehiclePurchase, OnVehicleSpawn, OnSpawn,
OnBotJoin, OnVehicleCrate, OnDeathCrate, OnMoneyCrate, OnCharacterCrate, OnSpyCrate, OnRefillCrate, OnDonate, OnDemoRecordStop
* Added functions to RenX::Server: isSeamless(), gameover(), setMap(), loadMutator(), unloadMutator(), cancelVote(), swapTeams(), recordDemo(), mute(), unmute().
Replaced RenX::Server::changeTeam() parameter "options" with "resetCredits".
* Server profile added for Open Beta 4.
* Updated Jupiter
* Updated plugins according to the above changes.
10 years ago
{
RenX : : processTags ( msg , server , player ) ;
msg . replace ( RenX : : tags - > INTERNAL_OBJECT_TAG , RenX : : translateName ( item ) ) ;
( server - > * func ) ( msg ) ;
}
}
void RenX_LoggingPlugin : : RenX_OnWeaponPurchase ( RenX : : Server * server , const RenX : : PlayerInfo * player , const Jupiter : : ReadableString & weapon )
{
logFuncType func ;
if ( RenX_LoggingPlugin : : weaponPurchasePublic )
func = & RenX : : Server : : sendLogChan ;
else
func = & RenX : : Server : : sendAdmChan ;
Jupiter : : String msg = this - > weaponPurchaseFmt ;
if ( msg . isNotEmpty ( ) )
* Removed redundant RenX::Core::send()
* Added additional weapon translations
* Added some projectile translations
* Added Silo translation
* Replaced RenX::getTeam() with 2 different getTeam() functions
* Removed RenX::sanitizeString() for C-style Strings.
* Added events: OnDisarm, OnExplode, OnCharacterPurchase, OnItemPurchase, OnWeaponPurchase, OnRefillPurchase, OnVehiclePurchase, OnVehicleSpawn, OnSpawn,
OnBotJoin, OnVehicleCrate, OnDeathCrate, OnMoneyCrate, OnCharacterCrate, OnSpyCrate, OnRefillCrate, OnDonate, OnDemoRecordStop
* Added functions to RenX::Server: isSeamless(), gameover(), setMap(), loadMutator(), unloadMutator(), cancelVote(), swapTeams(), recordDemo(), mute(), unmute().
Replaced RenX::Server::changeTeam() parameter "options" with "resetCredits".
* Server profile added for Open Beta 4.
* Updated Jupiter
* Updated plugins according to the above changes.
10 years ago
{
RenX : : processTags ( msg , server , player ) ;
msg . replace ( RenX : : tags - > INTERNAL_WEAPON_TAG , RenX : : translateName ( weapon ) ) ;
( server - > * func ) ( msg ) ;
}
}
void RenX_LoggingPlugin : : RenX_OnRefillPurchase ( RenX : : Server * server , const RenX : : PlayerInfo * player )
{
logFuncType func ;
if ( RenX_LoggingPlugin : : refillPurchasePublic )
func = & RenX : : Server : : sendLogChan ;
else
func = & RenX : : Server : : sendAdmChan ;
Jupiter : : String msg = this - > refillPurchaseFmt ;
if ( msg . isNotEmpty ( ) )
* Removed redundant RenX::Core::send()
* Added additional weapon translations
* Added some projectile translations
* Added Silo translation
* Replaced RenX::getTeam() with 2 different getTeam() functions
* Removed RenX::sanitizeString() for C-style Strings.
* Added events: OnDisarm, OnExplode, OnCharacterPurchase, OnItemPurchase, OnWeaponPurchase, OnRefillPurchase, OnVehiclePurchase, OnVehicleSpawn, OnSpawn,
OnBotJoin, OnVehicleCrate, OnDeathCrate, OnMoneyCrate, OnCharacterCrate, OnSpyCrate, OnRefillCrate, OnDonate, OnDemoRecordStop
* Added functions to RenX::Server: isSeamless(), gameover(), setMap(), loadMutator(), unloadMutator(), cancelVote(), swapTeams(), recordDemo(), mute(), unmute().
Replaced RenX::Server::changeTeam() parameter "options" with "resetCredits".
* Server profile added for Open Beta 4.
* Updated Jupiter
* Updated plugins according to the above changes.
10 years ago
{
RenX : : processTags ( msg , server , player ) ;
( server - > * func ) ( msg ) ;
}
}
void RenX_LoggingPlugin : : RenX_OnVehiclePurchase ( RenX : : Server * server , const RenX : : PlayerInfo * owner , const Jupiter : : ReadableString & vehicle )
{
logFuncType func ;
if ( RenX_LoggingPlugin : : vehiclePurchasePublic )
func = & RenX : : Server : : sendLogChan ;
else
func = & RenX : : Server : : sendAdmChan ;
Jupiter : : String msg = this - > vehiclePurchaseFmt ;
if ( msg . isNotEmpty ( ) )
* Removed redundant RenX::Core::send()
* Added additional weapon translations
* Added some projectile translations
* Added Silo translation
* Replaced RenX::getTeam() with 2 different getTeam() functions
* Removed RenX::sanitizeString() for C-style Strings.
* Added events: OnDisarm, OnExplode, OnCharacterPurchase, OnItemPurchase, OnWeaponPurchase, OnRefillPurchase, OnVehiclePurchase, OnVehicleSpawn, OnSpawn,
OnBotJoin, OnVehicleCrate, OnDeathCrate, OnMoneyCrate, OnCharacterCrate, OnSpyCrate, OnRefillCrate, OnDonate, OnDemoRecordStop
* Added functions to RenX::Server: isSeamless(), gameover(), setMap(), loadMutator(), unloadMutator(), cancelVote(), swapTeams(), recordDemo(), mute(), unmute().
Replaced RenX::Server::changeTeam() parameter "options" with "resetCredits".
* Server profile added for Open Beta 4.
* Updated Jupiter
* Updated plugins according to the above changes.
10 years ago
{
RenX : : processTags ( msg , server , owner ) ;
msg . replace ( RenX : : tags - > INTERNAL_VICTIM_VEHICLE_TAG , RenX : : translateName ( vehicle ) ) ;
( server - > * func ) ( msg ) ;
}
}
void RenX_LoggingPlugin : : RenX_OnVehicleSpawn ( RenX : : Server * server , const RenX : : TeamType & team , const Jupiter : : ReadableString & vehicle )
{
logFuncType func ;
if ( RenX_LoggingPlugin : : vehicleSpawnPublic )
func = & RenX : : Server : : sendLogChan ;
else
func = & RenX : : Server : : sendAdmChan ;
Jupiter : : String msg = this - > vehicleSpawnFmt ;
if ( msg . isNotEmpty ( ) )
* Removed redundant RenX::Core::send()
* Added additional weapon translations
* Added some projectile translations
* Added Silo translation
* Replaced RenX::getTeam() with 2 different getTeam() functions
* Removed RenX::sanitizeString() for C-style Strings.
* Added events: OnDisarm, OnExplode, OnCharacterPurchase, OnItemPurchase, OnWeaponPurchase, OnRefillPurchase, OnVehiclePurchase, OnVehicleSpawn, OnSpawn,
OnBotJoin, OnVehicleCrate, OnDeathCrate, OnMoneyCrate, OnCharacterCrate, OnSpyCrate, OnRefillCrate, OnDonate, OnDemoRecordStop
* Added functions to RenX::Server: isSeamless(), gameover(), setMap(), loadMutator(), unloadMutator(), cancelVote(), swapTeams(), recordDemo(), mute(), unmute().
Replaced RenX::Server::changeTeam() parameter "options" with "resetCredits".
* Server profile added for Open Beta 4.
* Updated Jupiter
* Updated plugins according to the above changes.
10 years ago
{
RenX : : TeamType otherTeam = RenX : : getEnemy ( team ) ;
RenX : : processTags ( msg , server ) ;
msg . replace ( RenX : : tags - > INTERNAL_TEAM_COLOR_TAG , RenX : : getTeamColor ( team ) ) ;
msg . replace ( RenX : : tags - > INTERNAL_TEAM_SHORT_TAG , RenX : : getTeamName ( team ) ) ;
msg . replace ( RenX : : tags - > INTERNAL_TEAM_LONG_TAG , RenX : : getFullTeamName ( team ) ) ;
msg . replace ( RenX : : tags - > INTERNAL_VICTIM_TEAM_COLOR_TAG , RenX : : getTeamColor ( otherTeam ) ) ;
msg . replace ( RenX : : tags - > INTERNAL_VICTIM_TEAM_SHORT_TAG , RenX : : getTeamName ( otherTeam ) ) ;
msg . replace ( RenX : : tags - > INTERNAL_VICTIM_TEAM_LONG_TAG , RenX : : getFullTeamName ( otherTeam ) ) ;
msg . replace ( RenX : : tags - > INTERNAL_VEHICLE_TAG , RenX : : translateName ( vehicle ) ) ;
( server - > * func ) ( msg ) ;
}
}
void RenX_LoggingPlugin : : RenX_OnSpawn ( RenX : : Server * server , const RenX : : PlayerInfo * player , const Jupiter : : ReadableString & character )
{
logFuncType func ;
if ( RenX_LoggingPlugin : : spawnPublic )
func = & RenX : : Server : : sendLogChan ;
else
func = & RenX : : Server : : sendAdmChan ;
Jupiter : : String msg = this - > spawnFmt ;
if ( msg . isNotEmpty ( ) )
* Removed redundant RenX::Core::send()
* Added additional weapon translations
* Added some projectile translations
* Added Silo translation
* Replaced RenX::getTeam() with 2 different getTeam() functions
* Removed RenX::sanitizeString() for C-style Strings.
* Added events: OnDisarm, OnExplode, OnCharacterPurchase, OnItemPurchase, OnWeaponPurchase, OnRefillPurchase, OnVehiclePurchase, OnVehicleSpawn, OnSpawn,
OnBotJoin, OnVehicleCrate, OnDeathCrate, OnMoneyCrate, OnCharacterCrate, OnSpyCrate, OnRefillCrate, OnDonate, OnDemoRecordStop
* Added functions to RenX::Server: isSeamless(), gameover(), setMap(), loadMutator(), unloadMutator(), cancelVote(), swapTeams(), recordDemo(), mute(), unmute().
Replaced RenX::Server::changeTeam() parameter "options" with "resetCredits".
* Server profile added for Open Beta 4.
* Updated Jupiter
* Updated plugins according to the above changes.
10 years ago
{
RenX : : processTags ( msg , server , player ) ;
msg . replace ( RenX : : tags - > INTERNAL_VICTIM_CHARACTER_TAG , RenX : : translateName ( character ) ) ;
( server - > * func ) ( msg ) ;
}
}
void RenX_LoggingPlugin : : RenX_OnBotJoin ( RenX : : Server * server , const RenX : : PlayerInfo * player )
{
logFuncType func ;
if ( RenX_LoggingPlugin : : botJoinPublic )
func = & RenX : : Server : : sendLogChan ;
else
func = & RenX : : Server : : sendAdmChan ;
Jupiter : : String msg = this - > botJoinFmt ;
if ( msg . isNotEmpty ( ) )
* Removed redundant RenX::Core::send()
* Added additional weapon translations
* Added some projectile translations
* Added Silo translation
* Replaced RenX::getTeam() with 2 different getTeam() functions
* Removed RenX::sanitizeString() for C-style Strings.
* Added events: OnDisarm, OnExplode, OnCharacterPurchase, OnItemPurchase, OnWeaponPurchase, OnRefillPurchase, OnVehiclePurchase, OnVehicleSpawn, OnSpawn,
OnBotJoin, OnVehicleCrate, OnDeathCrate, OnMoneyCrate, OnCharacterCrate, OnSpyCrate, OnRefillCrate, OnDonate, OnDemoRecordStop
* Added functions to RenX::Server: isSeamless(), gameover(), setMap(), loadMutator(), unloadMutator(), cancelVote(), swapTeams(), recordDemo(), mute(), unmute().
Replaced RenX::Server::changeTeam() parameter "options" with "resetCredits".
* Server profile added for Open Beta 4.
* Updated Jupiter
* Updated plugins according to the above changes.
10 years ago
{
RenX : : processTags ( msg , server , player ) ;
( server - > * func ) ( msg ) ;
}
}
void RenX_LoggingPlugin : : RenX_OnVehicleCrate ( RenX : : Server * server , const RenX : : PlayerInfo * player , const Jupiter : : ReadableString & vehicle )
{
logFuncType func ;
if ( RenX_LoggingPlugin : : vehicleCratePublic )
func = & RenX : : Server : : sendLogChan ;
else
func = & RenX : : Server : : sendAdmChan ;
Jupiter : : String msg = this - > vehicleCrateFmt ;
if ( msg . isNotEmpty ( ) )
* Removed redundant RenX::Core::send()
* Added additional weapon translations
* Added some projectile translations
* Added Silo translation
* Replaced RenX::getTeam() with 2 different getTeam() functions
* Removed RenX::sanitizeString() for C-style Strings.
* Added events: OnDisarm, OnExplode, OnCharacterPurchase, OnItemPurchase, OnWeaponPurchase, OnRefillPurchase, OnVehiclePurchase, OnVehicleSpawn, OnSpawn,
OnBotJoin, OnVehicleCrate, OnDeathCrate, OnMoneyCrate, OnCharacterCrate, OnSpyCrate, OnRefillCrate, OnDonate, OnDemoRecordStop
* Added functions to RenX::Server: isSeamless(), gameover(), setMap(), loadMutator(), unloadMutator(), cancelVote(), swapTeams(), recordDemo(), mute(), unmute().
Replaced RenX::Server::changeTeam() parameter "options" with "resetCredits".
* Server profile added for Open Beta 4.
* Updated Jupiter
* Updated plugins according to the above changes.
10 years ago
{
RenX : : processTags ( msg , server , player ) ;
msg . replace ( RenX : : tags - > INTERNAL_OBJECT_TAG , RenX : : translateName ( vehicle ) ) ;
( server - > * func ) ( msg ) ;
}
}
void RenX_LoggingPlugin : : RenX_OnTSVehicleCrate ( RenX : : Server * server , const RenX : : PlayerInfo * player , const Jupiter : : ReadableString & vehicle )
{
logFuncType func ;
if ( RenX_LoggingPlugin : : TSVehicleCratePublic )
func = & RenX : : Server : : sendLogChan ;
else
func = & RenX : : Server : : sendAdmChan ;
Jupiter : : String msg = this - > TSVehicleCrateFmt ;
if ( msg . isNotEmpty ( ) )
{
RenX : : processTags ( msg , server , player ) ;
msg . replace ( RenX : : tags - > INTERNAL_OBJECT_TAG , RenX : : translateName ( vehicle ) ) ;
( server - > * func ) ( msg ) ;
}
}
void RenX_LoggingPlugin : : RenX_OnRAVehicleCrate ( RenX : : Server * server , const RenX : : PlayerInfo * player , const Jupiter : : ReadableString & vehicle )
{
logFuncType func ;
if ( RenX_LoggingPlugin : : RAVehicleCratePublic )
func = & RenX : : Server : : sendLogChan ;
else
func = & RenX : : Server : : sendAdmChan ;
Jupiter : : String msg = this - > RAVehicleCrateFmt ;
if ( msg . isNotEmpty ( ) )
{
RenX : : processTags ( msg , server , player ) ;
msg . replace ( RenX : : tags - > INTERNAL_OBJECT_TAG , RenX : : translateName ( vehicle ) ) ;
( server - > * func ) ( msg ) ;
}
}
* Removed redundant RenX::Core::send()
* Added additional weapon translations
* Added some projectile translations
* Added Silo translation
* Replaced RenX::getTeam() with 2 different getTeam() functions
* Removed RenX::sanitizeString() for C-style Strings.
* Added events: OnDisarm, OnExplode, OnCharacterPurchase, OnItemPurchase, OnWeaponPurchase, OnRefillPurchase, OnVehiclePurchase, OnVehicleSpawn, OnSpawn,
OnBotJoin, OnVehicleCrate, OnDeathCrate, OnMoneyCrate, OnCharacterCrate, OnSpyCrate, OnRefillCrate, OnDonate, OnDemoRecordStop
* Added functions to RenX::Server: isSeamless(), gameover(), setMap(), loadMutator(), unloadMutator(), cancelVote(), swapTeams(), recordDemo(), mute(), unmute().
Replaced RenX::Server::changeTeam() parameter "options" with "resetCredits".
* Server profile added for Open Beta 4.
* Updated Jupiter
* Updated plugins according to the above changes.
10 years ago
void RenX_LoggingPlugin : : RenX_OnDeathCrate ( RenX : : Server * server , const RenX : : PlayerInfo * player )
{
logFuncType func ;
if ( RenX_LoggingPlugin : : deathCratePublic )
func = & RenX : : Server : : sendLogChan ;
else
func = & RenX : : Server : : sendAdmChan ;
Jupiter : : String msg = this - > deathCrateFmt ;
if ( msg . isNotEmpty ( ) )
* Removed redundant RenX::Core::send()
* Added additional weapon translations
* Added some projectile translations
* Added Silo translation
* Replaced RenX::getTeam() with 2 different getTeam() functions
* Removed RenX::sanitizeString() for C-style Strings.
* Added events: OnDisarm, OnExplode, OnCharacterPurchase, OnItemPurchase, OnWeaponPurchase, OnRefillPurchase, OnVehiclePurchase, OnVehicleSpawn, OnSpawn,
OnBotJoin, OnVehicleCrate, OnDeathCrate, OnMoneyCrate, OnCharacterCrate, OnSpyCrate, OnRefillCrate, OnDonate, OnDemoRecordStop
* Added functions to RenX::Server: isSeamless(), gameover(), setMap(), loadMutator(), unloadMutator(), cancelVote(), swapTeams(), recordDemo(), mute(), unmute().
Replaced RenX::Server::changeTeam() parameter "options" with "resetCredits".
* Server profile added for Open Beta 4.
* Updated Jupiter
* Updated plugins according to the above changes.
10 years ago
{
RenX : : processTags ( msg , server , player ) ;
( server - > * func ) ( msg ) ;
}
}
void RenX_LoggingPlugin : : RenX_OnMoneyCrate ( RenX : : Server * server , const RenX : : PlayerInfo * player , int amount )
{
logFuncType func ;
if ( RenX_LoggingPlugin : : moneyCratePublic )
func = & RenX : : Server : : sendLogChan ;
else
func = & RenX : : Server : : sendAdmChan ;
Jupiter : : String msg = this - > moneyCrateFmt ;
if ( msg . isNotEmpty ( ) )
* Removed redundant RenX::Core::send()
* Added additional weapon translations
* Added some projectile translations
* Added Silo translation
* Replaced RenX::getTeam() with 2 different getTeam() functions
* Removed RenX::sanitizeString() for C-style Strings.
* Added events: OnDisarm, OnExplode, OnCharacterPurchase, OnItemPurchase, OnWeaponPurchase, OnRefillPurchase, OnVehiclePurchase, OnVehicleSpawn, OnSpawn,
OnBotJoin, OnVehicleCrate, OnDeathCrate, OnMoneyCrate, OnCharacterCrate, OnSpyCrate, OnRefillCrate, OnDonate, OnDemoRecordStop
* Added functions to RenX::Server: isSeamless(), gameover(), setMap(), loadMutator(), unloadMutator(), cancelVote(), swapTeams(), recordDemo(), mute(), unmute().
Replaced RenX::Server::changeTeam() parameter "options" with "resetCredits".
* Server profile added for Open Beta 4.
* Updated Jupiter
* Updated plugins according to the above changes.
10 years ago
{
RenX : : processTags ( msg , server , player ) ;
msg . replace ( RenX : : tags - > INTERNAL_OBJECT_TAG , Jupiter : : StringS : : Format ( " %d " , amount ) ) ;
( server - > * func ) ( msg ) ;
}
}
void RenX_LoggingPlugin : : RenX_OnCharacterCrate ( RenX : : Server * server , const RenX : : PlayerInfo * player , const Jupiter : : ReadableString & character )
{
logFuncType func ;
if ( RenX_LoggingPlugin : : characterCratePublic )
func = & RenX : : Server : : sendLogChan ;
else
func = & RenX : : Server : : sendAdmChan ;
Jupiter : : String msg = this - > characterCrateFmt ;
if ( msg . isNotEmpty ( ) )
* Removed redundant RenX::Core::send()
* Added additional weapon translations
* Added some projectile translations
* Added Silo translation
* Replaced RenX::getTeam() with 2 different getTeam() functions
* Removed RenX::sanitizeString() for C-style Strings.
* Added events: OnDisarm, OnExplode, OnCharacterPurchase, OnItemPurchase, OnWeaponPurchase, OnRefillPurchase, OnVehiclePurchase, OnVehicleSpawn, OnSpawn,
OnBotJoin, OnVehicleCrate, OnDeathCrate, OnMoneyCrate, OnCharacterCrate, OnSpyCrate, OnRefillCrate, OnDonate, OnDemoRecordStop
* Added functions to RenX::Server: isSeamless(), gameover(), setMap(), loadMutator(), unloadMutator(), cancelVote(), swapTeams(), recordDemo(), mute(), unmute().
Replaced RenX::Server::changeTeam() parameter "options" with "resetCredits".
* Server profile added for Open Beta 4.
* Updated Jupiter
* Updated plugins according to the above changes.
10 years ago
{
RenX : : processTags ( msg , server , player ) ;
msg . replace ( RenX : : tags - > INTERNAL_VICTIM_CHARACTER_TAG , RenX : : translateName ( character ) ) ;
( server - > * func ) ( msg ) ;
}
}
void RenX_LoggingPlugin : : RenX_OnSpyCrate ( RenX : : Server * server , const RenX : : PlayerInfo * player , const Jupiter : : ReadableString & character )
{
logFuncType func ;
if ( RenX_LoggingPlugin : : spyCratePublic )
func = & RenX : : Server : : sendLogChan ;
else
func = & RenX : : Server : : sendAdmChan ;
Jupiter : : String msg = this - > spyCrateFmt ;
if ( msg . isNotEmpty ( ) )
* Removed redundant RenX::Core::send()
* Added additional weapon translations
* Added some projectile translations
* Added Silo translation
* Replaced RenX::getTeam() with 2 different getTeam() functions
* Removed RenX::sanitizeString() for C-style Strings.
* Added events: OnDisarm, OnExplode, OnCharacterPurchase, OnItemPurchase, OnWeaponPurchase, OnRefillPurchase, OnVehiclePurchase, OnVehicleSpawn, OnSpawn,
OnBotJoin, OnVehicleCrate, OnDeathCrate, OnMoneyCrate, OnCharacterCrate, OnSpyCrate, OnRefillCrate, OnDonate, OnDemoRecordStop
* Added functions to RenX::Server: isSeamless(), gameover(), setMap(), loadMutator(), unloadMutator(), cancelVote(), swapTeams(), recordDemo(), mute(), unmute().
Replaced RenX::Server::changeTeam() parameter "options" with "resetCredits".
* Server profile added for Open Beta 4.
* Updated Jupiter
* Updated plugins according to the above changes.
10 years ago
{
RenX : : processTags ( msg , server , player ) ;
msg . replace ( RenX : : tags - > INTERNAL_VICTIM_TEAM_COLOR_TAG , RenX : : getTeamColor ( RenX : : getEnemy ( player - > team ) ) ) ;
* Removed redundant RenX::Core::send()
* Added additional weapon translations
* Added some projectile translations
* Added Silo translation
* Replaced RenX::getTeam() with 2 different getTeam() functions
* Removed RenX::sanitizeString() for C-style Strings.
* Added events: OnDisarm, OnExplode, OnCharacterPurchase, OnItemPurchase, OnWeaponPurchase, OnRefillPurchase, OnVehiclePurchase, OnVehicleSpawn, OnSpawn,
OnBotJoin, OnVehicleCrate, OnDeathCrate, OnMoneyCrate, OnCharacterCrate, OnSpyCrate, OnRefillCrate, OnDonate, OnDemoRecordStop
* Added functions to RenX::Server: isSeamless(), gameover(), setMap(), loadMutator(), unloadMutator(), cancelVote(), swapTeams(), recordDemo(), mute(), unmute().
Replaced RenX::Server::changeTeam() parameter "options" with "resetCredits".
* Server profile added for Open Beta 4.
* Updated Jupiter
* Updated plugins according to the above changes.
10 years ago
msg . replace ( RenX : : tags - > INTERNAL_VICTIM_CHARACTER_TAG , RenX : : translateName ( character ) ) ;
( server - > * func ) ( msg ) ;
}
}
void RenX_LoggingPlugin : : RenX_OnRefillCrate ( RenX : : Server * server , const RenX : : PlayerInfo * player )
{
logFuncType func ;
if ( RenX_LoggingPlugin : : refillCratePublic )
func = & RenX : : Server : : sendLogChan ;
else
func = & RenX : : Server : : sendAdmChan ;
Jupiter : : String msg = this - > refillCrateFmt ;
if ( msg . isNotEmpty ( ) )
* Removed redundant RenX::Core::send()
* Added additional weapon translations
* Added some projectile translations
* Added Silo translation
* Replaced RenX::getTeam() with 2 different getTeam() functions
* Removed RenX::sanitizeString() for C-style Strings.
* Added events: OnDisarm, OnExplode, OnCharacterPurchase, OnItemPurchase, OnWeaponPurchase, OnRefillPurchase, OnVehiclePurchase, OnVehicleSpawn, OnSpawn,
OnBotJoin, OnVehicleCrate, OnDeathCrate, OnMoneyCrate, OnCharacterCrate, OnSpyCrate, OnRefillCrate, OnDonate, OnDemoRecordStop
* Added functions to RenX::Server: isSeamless(), gameover(), setMap(), loadMutator(), unloadMutator(), cancelVote(), swapTeams(), recordDemo(), mute(), unmute().
Replaced RenX::Server::changeTeam() parameter "options" with "resetCredits".
* Server profile added for Open Beta 4.
* Updated Jupiter
* Updated plugins according to the above changes.
10 years ago
{
RenX : : processTags ( msg , server , player ) ;
( server - > * func ) ( msg ) ;
}
}
void RenX_LoggingPlugin : : RenX_OnTimeBombCrate ( RenX : : Server * server , const RenX : : PlayerInfo * player )
{
logFuncType func ;
if ( RenX_LoggingPlugin : : timeBombCratePublic )
func = & RenX : : Server : : sendLogChan ;
else
func = & RenX : : Server : : sendAdmChan ;
Jupiter : : String msg = this - > timeBombCrateFmt ;
if ( msg . isNotEmpty ( ) )
{
RenX : : processTags ( msg , server , player ) ;
( server - > * func ) ( msg ) ;
}
}
void RenX_LoggingPlugin : : RenX_OnSpeedCrate ( RenX : : Server * server , const RenX : : PlayerInfo * player )
{
logFuncType func ;
if ( RenX_LoggingPlugin : : speedCratePublic )
func = & RenX : : Server : : sendLogChan ;
else
func = & RenX : : Server : : sendAdmChan ;
Jupiter : : String msg = this - > speedCrateFmt ;
if ( msg . isNotEmpty ( ) )
{
RenX : : processTags ( msg , server , player ) ;
( server - > * func ) ( msg ) ;
}
}
void RenX_LoggingPlugin : : RenX_OnNukeCrate ( RenX : : Server * server , const RenX : : PlayerInfo * player )
{
logFuncType func ;
if ( RenX_LoggingPlugin : : nukeCratePublic )
func = & RenX : : Server : : sendLogChan ;
else
func = & RenX : : Server : : sendAdmChan ;
Jupiter : : String msg = this - > nukeCrateFmt ;
if ( msg . isNotEmpty ( ) )
{
RenX : : processTags ( msg , server , player ) ;
( server - > * func ) ( msg ) ;
}
}
void RenX_LoggingPlugin : : RenX_OnAbductionCrate ( RenX : : Server * server , const RenX : : PlayerInfo * player )
{
logFuncType func ;
if ( RenX_LoggingPlugin : : abductionCratePublic )
func = & RenX : : Server : : sendLogChan ;
else
func = & RenX : : Server : : sendAdmChan ;
Jupiter : : String msg = this - > abductionCrateFmt ;
if ( msg . isNotEmpty ( ) )
{
RenX : : processTags ( msg , server , player ) ;
( server - > * func ) ( msg ) ;
}
}
void RenX_LoggingPlugin : : RenX_OnUnspecifiedCrate ( RenX : : Server * server , const RenX : : PlayerInfo * player )
{
logFuncType func ;
if ( RenX_LoggingPlugin : : unspecifiedCratePublic )
func = & RenX : : Server : : sendLogChan ;
else
func = & RenX : : Server : : sendAdmChan ;
Jupiter : : String msg = this - > unspecifiedCrateFmt ;
if ( msg . isNotEmpty ( ) )
{
RenX : : processTags ( msg , server , player ) ;
( server - > * func ) ( msg ) ;
}
}
void RenX_LoggingPlugin : : RenX_OnOtherCrate ( RenX : : Server * server , const RenX : : PlayerInfo * player , const Jupiter : : ReadableString & type )
{
logFuncType func ;
if ( RenX_LoggingPlugin : : otherCratePublic )
func = & RenX : : Server : : sendLogChan ;
else
func = & RenX : : Server : : sendAdmChan ;
Jupiter : : String msg = this - > otherCrateFmt ;
if ( msg . isNotEmpty ( ) )
{
RenX : : processTags ( msg , server , player ) ;
msg . replace ( RenX : : tags - > INTERNAL_OBJECT_TAG , type ) ;
( server - > * func ) ( msg ) ;
}
}
Updated to support most of RCONv3; updated Jupiter; Map now tracked; Tags added for: RCON User, Server Name, Map; Internal tags are now generated at runtime, and guaranteed to be unique for up to 65k tags; Added events to RenX::Plugin: OnExecute (player), OnPlayer, OnHostChat, OnHostPage, OnOtherChat, OnDisarm, OnCapture, OnNeutralize, OnSteal, OnUnsubscribe, OnVoteCall, OnVoteOver, OnVoteCancel, OnVote, OnMapChange, OnMapLoad, OnMap, OnDemoRecord, OnDemo; various optimizations
10 years ago
void RenX_LoggingPlugin : : RenX_OnSteal ( RenX : : Server * server , const RenX : : PlayerInfo * player , const Jupiter : : ReadableString & vehicle )
{
logFuncType func ;
if ( RenX_LoggingPlugin : : stealPublic )
func = & RenX : : Server : : sendLogChan ;
else
func = & RenX : : Server : : sendAdmChan ;
Jupiter : : String msg = this - > stealNoOwnerFmt ;
if ( msg . isNotEmpty ( ) )
Updated to support most of RCONv3; updated Jupiter; Map now tracked; Tags added for: RCON User, Server Name, Map; Internal tags are now generated at runtime, and guaranteed to be unique for up to 65k tags; Added events to RenX::Plugin: OnExecute (player), OnPlayer, OnHostChat, OnHostPage, OnOtherChat, OnDisarm, OnCapture, OnNeutralize, OnSteal, OnUnsubscribe, OnVoteCall, OnVoteOver, OnVoteCancel, OnVote, OnMapChange, OnMapLoad, OnMap, OnDemoRecord, OnDemo; various optimizations
10 years ago
{
RenX : : processTags ( msg , server , player ) ;
msg . replace ( RenX : : tags - > INTERNAL_OBJECT_TAG , RenX : : translateName ( vehicle ) ) ;
( server - > * func ) ( msg ) ;
}
}
void RenX_LoggingPlugin : : RenX_OnSteal ( RenX : : Server * server , const RenX : : PlayerInfo * player , const Jupiter : : ReadableString & vehicle , const RenX : : PlayerInfo * victim )
{
logFuncType func ;
if ( RenX_LoggingPlugin : : stealPublic )
func = & RenX : : Server : : sendLogChan ;
else
func = & RenX : : Server : : sendAdmChan ;
Jupiter : : String msg = this - > stealFmt ;
if ( msg . isNotEmpty ( ) )
Updated to support most of RCONv3; updated Jupiter; Map now tracked; Tags added for: RCON User, Server Name, Map; Internal tags are now generated at runtime, and guaranteed to be unique for up to 65k tags; Added events to RenX::Plugin: OnExecute (player), OnPlayer, OnHostChat, OnHostPage, OnOtherChat, OnDisarm, OnCapture, OnNeutralize, OnSteal, OnUnsubscribe, OnVoteCall, OnVoteOver, OnVoteCancel, OnVote, OnMapChange, OnMapLoad, OnMap, OnDemoRecord, OnDemo; various optimizations
10 years ago
{
RenX : : processTags ( msg , server , player , victim ) ;
msg . replace ( RenX : : tags - > INTERNAL_OBJECT_TAG , RenX : : translateName ( vehicle ) ) ;
( server - > * func ) ( msg ) ;
}
}
* Removed redundant RenX::Core::send()
* Added additional weapon translations
* Added some projectile translations
* Added Silo translation
* Replaced RenX::getTeam() with 2 different getTeam() functions
* Removed RenX::sanitizeString() for C-style Strings.
* Added events: OnDisarm, OnExplode, OnCharacterPurchase, OnItemPurchase, OnWeaponPurchase, OnRefillPurchase, OnVehiclePurchase, OnVehicleSpawn, OnSpawn,
OnBotJoin, OnVehicleCrate, OnDeathCrate, OnMoneyCrate, OnCharacterCrate, OnSpyCrate, OnRefillCrate, OnDonate, OnDemoRecordStop
* Added functions to RenX::Server: isSeamless(), gameover(), setMap(), loadMutator(), unloadMutator(), cancelVote(), swapTeams(), recordDemo(), mute(), unmute().
Replaced RenX::Server::changeTeam() parameter "options" with "resetCredits".
* Server profile added for Open Beta 4.
* Updated Jupiter
* Updated plugins according to the above changes.
10 years ago
void RenX_LoggingPlugin : : RenX_OnDonate ( RenX : : Server * server , const RenX : : PlayerInfo * donor , const RenX : : PlayerInfo * player , double amount )
{
logFuncType func ;
if ( RenX_LoggingPlugin : : donatePublic )
func = & RenX : : Server : : sendLogChan ;
else
func = & RenX : : Server : : sendAdmChan ;
Jupiter : : String msg = this - > donateFmt ;
if ( msg . isNotEmpty ( ) )
* Removed redundant RenX::Core::send()
* Added additional weapon translations
* Added some projectile translations
* Added Silo translation
* Replaced RenX::getTeam() with 2 different getTeam() functions
* Removed RenX::sanitizeString() for C-style Strings.
* Added events: OnDisarm, OnExplode, OnCharacterPurchase, OnItemPurchase, OnWeaponPurchase, OnRefillPurchase, OnVehiclePurchase, OnVehicleSpawn, OnSpawn,
OnBotJoin, OnVehicleCrate, OnDeathCrate, OnMoneyCrate, OnCharacterCrate, OnSpyCrate, OnRefillCrate, OnDonate, OnDemoRecordStop
* Added functions to RenX::Server: isSeamless(), gameover(), setMap(), loadMutator(), unloadMutator(), cancelVote(), swapTeams(), recordDemo(), mute(), unmute().
Replaced RenX::Server::changeTeam() parameter "options" with "resetCredits".
* Server profile added for Open Beta 4.
* Updated Jupiter
* Updated plugins according to the above changes.
10 years ago
{
RenX : : processTags ( msg , server , donor , player ) ;
msg . replace ( RenX : : tags - > INTERNAL_OBJECT_TAG , Jupiter : : StringS : : Format ( " %.0f " , amount ) ) ;
( server - > * func ) ( msg ) ;
}
}
Updated to support most of RCONv3; updated Jupiter; Map now tracked; Tags added for: RCON User, Server Name, Map; Internal tags are now generated at runtime, and guaranteed to be unique for up to 65k tags; Added events to RenX::Plugin: OnExecute (player), OnPlayer, OnHostChat, OnHostPage, OnOtherChat, OnDisarm, OnCapture, OnNeutralize, OnSteal, OnUnsubscribe, OnVoteCall, OnVoteOver, OnVoteCancel, OnVote, OnMapChange, OnMapLoad, OnMap, OnDemoRecord, OnDemo; various optimizations
10 years ago
void RenX_LoggingPlugin : : RenX_OnDestroy ( RenX : : Server * server , const Jupiter : : ReadableString & killer , const RenX : : TeamType & killerTeam , const Jupiter : : ReadableString & objectName , const RenX : : TeamType & objectTeam , const Jupiter : : ReadableString & damageType , RenX : : ObjectType type )
{
logFuncType func ;
if ( RenX_LoggingPlugin : : destroyPublic )
func = & RenX : : Server : : sendLogChan ;
else
func = & RenX : : Server : : sendAdmChan ;
Jupiter : : String msg ;
switch ( type )
{
case RenX : : ObjectType : : Building :
msg = this - > destroyBuildingFmt2 ;
break ;
case RenX : : ObjectType : : Defence :
msg = this - > destroyDefenceFmt2 ;
break ;
default :
msg = this - > destroyVehicleFmt2 ;
break ;
}
if ( msg . isNotEmpty ( ) )
{
RenX : : processTags ( msg , server ) ;
msg . replace ( RenX : : tags - > INTERNAL_NAME_TAG , RenX : : translateName ( killer ) ) ;
msg . replace ( RenX : : tags - > INTERNAL_TEAM_COLOR_TAG , RenX : : getTeamColor ( killerTeam ) ) ;
msg . replace ( RenX : : tags - > INTERNAL_TEAM_SHORT_TAG , RenX : : getTeamName ( killerTeam ) ) ;
msg . replace ( RenX : : tags - > INTERNAL_TEAM_LONG_TAG , RenX : : getFullTeamName ( killerTeam ) ) ;
msg . replace ( RenX : : tags - > INTERNAL_VICTIM_TEAM_COLOR_TAG , RenX : : getTeamColor ( objectTeam ) ) ;
msg . replace ( RenX : : tags - > INTERNAL_VICTIM_TEAM_SHORT_TAG , RenX : : getTeamName ( objectTeam ) ) ;
msg . replace ( RenX : : tags - > INTERNAL_VICTIM_TEAM_LONG_TAG , RenX : : getFullTeamName ( objectTeam ) ) ;
msg . replace ( RenX : : tags - > INTERNAL_OBJECT_TAG , RenX : : translateName ( objectName ) ) ;
msg . replace ( RenX : : tags - > INTERNAL_WEAPON_TAG , RenX : : translateName ( damageType ) ) ;
( server - > * func ) ( msg ) ;
}
}
Updated to support most of RCONv3; updated Jupiter; Map now tracked; Tags added for: RCON User, Server Name, Map; Internal tags are now generated at runtime, and guaranteed to be unique for up to 65k tags; Added events to RenX::Plugin: OnExecute (player), OnPlayer, OnHostChat, OnHostPage, OnOtherChat, OnDisarm, OnCapture, OnNeutralize, OnSteal, OnUnsubscribe, OnVoteCall, OnVoteOver, OnVoteCancel, OnVote, OnMapChange, OnMapLoad, OnMap, OnDemoRecord, OnDemo; various optimizations
10 years ago
void RenX_LoggingPlugin : : RenX_OnGameOver ( RenX : : Server * server , RenX : : WinType winType , const RenX : : TeamType & team , int gScore , int nScore )
{
RenX : : TeamType loserTeam = RenX : : getEnemy ( team ) ;
int winScore ;
int loseScore ;
switch ( team )
{
default :
case RenX : : TeamType : : GDI :
winScore = gScore ;
loseScore = nScore ;
break ;
case RenX : : TeamType : : Nod :
winScore = nScore ;
loseScore = gScore ;
break ;
}
logFuncType func ;
if ( RenX_LoggingPlugin : : gameOverPublic )
func = & RenX : : Server : : sendLogChan ;
else
func = & RenX : : Server : : sendAdmChan ;
Jupiter : : String msg ;
if ( winType = = RenX : : WinType : : Tie )
{
Updated to support most of RCONv3; updated Jupiter; Map now tracked; Tags added for: RCON User, Server Name, Map; Internal tags are now generated at runtime, and guaranteed to be unique for up to 65k tags; Added events to RenX::Plugin: OnExecute (player), OnPlayer, OnHostChat, OnHostPage, OnOtherChat, OnDisarm, OnCapture, OnNeutralize, OnSteal, OnUnsubscribe, OnVoteCall, OnVoteOver, OnVoteCancel, OnVote, OnMapChange, OnMapLoad, OnMap, OnDemoRecord, OnDemo; various optimizations
10 years ago
if ( team = = RenX : : TeamType : : None )
msg = this - > gameOverTieNoWinFmt ;
else
msg = this - > gameOverTieFmt ;
}
else
msg = this - > gameOverFmt ;
if ( msg . isNotEmpty ( ) & & team ! = RenX : : TeamType : : None )
{
msg . replace ( RenX : : tags - > INTERNAL_TEAM_COLOR_TAG , RenX : : getTeamColor ( team ) ) ;
msg . replace ( RenX : : tags - > INTERNAL_TEAM_SHORT_TAG , RenX : : getTeamName ( team ) ) ;
msg . replace ( RenX : : tags - > INTERNAL_TEAM_LONG_TAG , RenX : : getFullTeamName ( team ) ) ;
msg . replace ( RenX : : tags - > INTERNAL_WIN_SCORE_TAG , Jupiter : : StringS : : Format ( " %d " , winScore ) ) ;
msg . replace ( RenX : : tags - > INTERNAL_LOSE_SCORE_TAG , Jupiter : : StringS : : Format ( " %d " , loseScore ) ) ;
msg . replace ( RenX : : tags - > INTERNAL_VICTIM_TEAM_COLOR_TAG , RenX : : getTeamColor ( loserTeam ) ) ;
msg . replace ( RenX : : tags - > INTERNAL_VICTIM_TEAM_SHORT_TAG , RenX : : getTeamName ( loserTeam ) ) ;
msg . replace ( RenX : : tags - > INTERNAL_VICTIM_TEAM_LONG_TAG , RenX : : getFullTeamName ( loserTeam ) ) ;
msg . replace ( RenX : : tags - > INTERNAL_MESSAGE_TAG , RenX : : translateWinType ( winType ) ) ;
( server - > * func ) ( msg ) ;
}
msg = this - > gameOverScoreFmt ;
Updated to support most of RCONv3; updated Jupiter; Map now tracked; Tags added for: RCON User, Server Name, Map; Internal tags are now generated at runtime, and guaranteed to be unique for up to 65k tags; Added events to RenX::Plugin: OnExecute (player), OnPlayer, OnHostChat, OnHostPage, OnOtherChat, OnDisarm, OnCapture, OnNeutralize, OnSteal, OnUnsubscribe, OnVoteCall, OnVoteOver, OnVoteCancel, OnVote, OnMapChange, OnMapLoad, OnMap, OnDemoRecord, OnDemo; various optimizations
10 years ago
if ( team = = RenX : : TeamType : : None )
{
if ( msg . isNotEmpty ( ) )
Updated to support most of RCONv3; updated Jupiter; Map now tracked; Tags added for: RCON User, Server Name, Map; Internal tags are now generated at runtime, and guaranteed to be unique for up to 65k tags; Added events to RenX::Plugin: OnExecute (player), OnPlayer, OnHostChat, OnHostPage, OnOtherChat, OnDisarm, OnCapture, OnNeutralize, OnSteal, OnUnsubscribe, OnVoteCall, OnVoteOver, OnVoteCancel, OnVote, OnMapChange, OnMapLoad, OnMap, OnDemoRecord, OnDemo; various optimizations
10 years ago
{
msg . replace ( RenX : : tags - > INTERNAL_TEAM_COLOR_TAG , RenX : : getTeamColor ( RenX : : TeamType : : GDI ) ) ;
msg . replace ( RenX : : tags - > INTERNAL_TEAM_SHORT_TAG , RenX : : getTeamName ( RenX : : TeamType : : GDI ) ) ;
msg . replace ( RenX : : tags - > INTERNAL_TEAM_LONG_TAG , RenX : : getFullTeamName ( RenX : : TeamType : : GDI ) ) ;
msg . replace ( RenX : : tags - > INTERNAL_WIN_SCORE_TAG , Jupiter : : StringS : : Format ( " %d " , winScore ) ) ;
msg . replace ( RenX : : tags - > INTERNAL_LOSE_SCORE_TAG , Jupiter : : StringS : : Format ( " %d " , loseScore ) ) ;
msg . replace ( RenX : : tags - > INTERNAL_VICTIM_TEAM_COLOR_TAG , RenX : : getTeamColor ( RenX : : TeamType : : Nod ) ) ;
msg . replace ( RenX : : tags - > INTERNAL_VICTIM_TEAM_SHORT_TAG , RenX : : getTeamName ( RenX : : TeamType : : Nod ) ) ;
msg . replace ( RenX : : tags - > INTERNAL_VICTIM_TEAM_LONG_TAG , RenX : : getFullTeamName ( RenX : : TeamType : : Nod ) ) ;
msg . replace ( RenX : : tags - > INTERNAL_MESSAGE_TAG , RenX : : translateWinType ( winType ) ) ;
( server - > * func ) ( msg ) ;
}
}
else if ( msg . isNotEmpty ( ) )
{
msg . replace ( RenX : : tags - > INTERNAL_TEAM_COLOR_TAG , RenX : : getTeamColor ( team ) ) ;
msg . replace ( RenX : : tags - > INTERNAL_TEAM_SHORT_TAG , RenX : : getTeamName ( team ) ) ;
msg . replace ( RenX : : tags - > INTERNAL_TEAM_LONG_TAG , RenX : : getFullTeamName ( team ) ) ;
msg . replace ( RenX : : tags - > INTERNAL_WIN_SCORE_TAG , Jupiter : : StringS : : Format ( " %d " , winScore ) ) ;
msg . replace ( RenX : : tags - > INTERNAL_LOSE_SCORE_TAG , Jupiter : : StringS : : Format ( " %d " , loseScore ) ) ;
msg . replace ( RenX : : tags - > INTERNAL_VICTIM_TEAM_COLOR_TAG , RenX : : getTeamColor ( loserTeam ) ) ;
msg . replace ( RenX : : tags - > INTERNAL_VICTIM_TEAM_SHORT_TAG , RenX : : getTeamName ( loserTeam ) ) ;
msg . replace ( RenX : : tags - > INTERNAL_VICTIM_TEAM_LONG_TAG , RenX : : getFullTeamName ( loserTeam ) ) ;
msg . replace ( RenX : : tags - > INTERNAL_MESSAGE_TAG , RenX : : translateWinType ( winType ) ) ;
( server - > * func ) ( msg ) ;
}
}
void RenX_LoggingPlugin : : RenX_OnGame ( RenX : : Server * server , const Jupiter : : ReadableString & raw )
{
logFuncType func ;
if ( RenX_LoggingPlugin : : gamePublic )
func = & RenX : : Server : : sendLogChan ;
else
func = & RenX : : Server : : sendAdmChan ;
Jupiter : : String msg = this - > gameFmt ;
if ( msg . isNotEmpty ( ) )
{
RenX : : processTags ( msg , server ) ;
msg . replace ( RenX : : tags - > INTERNAL_MESSAGE_TAG , raw ) ;
( server - > * func ) ( msg ) ;
}
}
void RenX_LoggingPlugin : : RenX_OnExecute ( RenX : : Server * server , const Jupiter : : ReadableString & user , const Jupiter : : ReadableString & command )
{
if ( RenX_LoggingPlugin : : muteOwnExecute = = false | | server - > getUser ( ) . equals ( user ) = = false )
{
logFuncType func ;
if ( RenX_LoggingPlugin : : executePublic )
func = & RenX : : Server : : sendLogChan ;
else
func = & RenX : : Server : : sendAdmChan ;
Jupiter : : String msg ;
if ( user . equals ( RenX : : DevBotName ) )
msg = this - > devBotExecuteFmt ;
else
msg = this - > executeFmt ;
if ( msg . isNotEmpty ( ) )
{
processTags ( msg , server ) ;
msg . replace ( RenX : : tags - > INTERNAL_NAME_TAG , user ) ;
msg . replace ( RenX : : tags - > INTERNAL_MESSAGE_TAG , command ) ;
( server - > * func ) ( msg ) ;
}
}
}
void RenX_LoggingPlugin : : RenX_OnSubscribe ( RenX : : Server * server , const Jupiter : : ReadableString & user )
{
logFuncType func ;
if ( RenX_LoggingPlugin : : subscribePublic )
func = & RenX : : Server : : sendLogChan ;
else
func = & RenX : : Server : : sendAdmChan ;
Jupiter : : String msg = this - > subscribeFmt ;
if ( msg . isNotEmpty ( ) )
{
RenX : : processTags ( msg , server ) ;
msg . replace ( RenX : : tags - > INTERNAL_NAME_TAG , user ) ;
( server - > * func ) ( msg ) ;
}
}
void RenX_LoggingPlugin : : RenX_OnRCON ( RenX : : Server * server , const Jupiter : : ReadableString & raw )
{
logFuncType func ;
if ( RenX_LoggingPlugin : : RCONPublic )
func = & RenX : : Server : : sendLogChan ;
else
func = & RenX : : Server : : sendAdmChan ;
Jupiter : : String msg = this - > rconFmt ;
if ( msg . isNotEmpty ( ) )
{
RenX : : processTags ( msg , server ) ;
msg . replace ( RenX : : tags - > INTERNAL_MESSAGE_TAG , raw ) ;
( server - > * func ) ( msg ) ;
}
}
void RenX_LoggingPlugin : : RenX_OnAdminLogin ( RenX : : Server * server , const RenX : : PlayerInfo * player )
{
logFuncType func ;
if ( RenX_LoggingPlugin : : adminLoginPublic )
func = & RenX : : Server : : sendLogChan ;
else
func = & RenX : : Server : : sendAdmChan ;
Jupiter : : String msg = this - > adminLoginFmt ;
if ( msg . isNotEmpty ( ) )
{
RenX : : processTags ( msg , server , player ) ;
( server - > * func ) ( msg ) ;
}
}
void RenX_LoggingPlugin : : RenX_OnAdminGrant ( RenX : : Server * server , const RenX : : PlayerInfo * player )
{
logFuncType func ;
if ( RenX_LoggingPlugin : : adminGrantPublic )
func = & RenX : : Server : : sendLogChan ;
else
func = & RenX : : Server : : sendAdmChan ;
Jupiter : : String msg = this - > adminGrantFmt ;
if ( msg . isNotEmpty ( ) )
{
RenX : : processTags ( msg , server , player ) ;
( server - > * func ) ( msg ) ;
}
}
void RenX_LoggingPlugin : : RenX_OnAdminLogout ( RenX : : Server * server , const RenX : : PlayerInfo * player )
{
logFuncType func ;
if ( RenX_LoggingPlugin : : adminLogoutPublic )
func = & RenX : : Server : : sendLogChan ;
else
func = & RenX : : Server : : sendAdmChan ;
Jupiter : : String msg = this - > adminLogoutFmt ;
if ( msg . isNotEmpty ( ) )
{
RenX : : processTags ( msg , server , player ) ;
( server - > * func ) ( msg ) ;
}
}
void RenX_LoggingPlugin : : RenX_OnAdmin ( RenX : : Server * server , const Jupiter : : ReadableString & raw )
{
logFuncType func ;
if ( RenX_LoggingPlugin : : adminPublic )
func = & RenX : : Server : : sendLogChan ;
else
func = & RenX : : Server : : sendAdmChan ;
Jupiter : : String msg = this - > adminFmt ;
if ( msg . isNotEmpty ( ) )
{
RenX : : processTags ( msg , server ) ;
msg . replace ( RenX : : tags - > INTERNAL_MESSAGE_TAG , raw ) ;
( server - > * func ) ( msg ) ;
}
}
Updated to support most of RCONv3; updated Jupiter; Map now tracked; Tags added for: RCON User, Server Name, Map; Internal tags are now generated at runtime, and guaranteed to be unique for up to 65k tags; Added events to RenX::Plugin: OnExecute (player), OnPlayer, OnHostChat, OnHostPage, OnOtherChat, OnDisarm, OnCapture, OnNeutralize, OnSteal, OnUnsubscribe, OnVoteCall, OnVoteOver, OnVoteCancel, OnVote, OnMapChange, OnMapLoad, OnMap, OnDemoRecord, OnDemo; various optimizations
10 years ago
void RenX_LoggingPlugin : : RenX_OnVoteCall ( RenX : : Server * server , const RenX : : TeamType & team , const Jupiter : : ReadableString & type , const RenX : : PlayerInfo * player , const Jupiter : : ReadableString & parameters )
{
logFuncType func ;
if ( RenX_LoggingPlugin : : voteCallPublic )
func = & RenX : : Server : : sendLogChan ;
else
func = & RenX : : Server : : sendAdmChan ;
Jupiter : : String msg = this - > voteCallFmt ;
if ( msg . isNotEmpty ( ) )
Updated to support most of RCONv3; updated Jupiter; Map now tracked; Tags added for: RCON User, Server Name, Map; Internal tags are now generated at runtime, and guaranteed to be unique for up to 65k tags; Added events to RenX::Plugin: OnExecute (player), OnPlayer, OnHostChat, OnHostPage, OnOtherChat, OnDisarm, OnCapture, OnNeutralize, OnSteal, OnUnsubscribe, OnVoteCall, OnVoteOver, OnVoteCancel, OnVote, OnMapChange, OnMapLoad, OnMap, OnDemoRecord, OnDemo; various optimizations
10 years ago
{
RenX : : processTags ( msg , server , player ) ;
msg . replace ( RenX : : tags - > INTERNAL_VICTIM_TEAM_COLOR_TAG , RenX : : getTeamColor ( team ) ) ;
msg . replace ( RenX : : tags - > INTERNAL_VICTIM_TEAM_SHORT_TAG , RenX : : getTeamName ( team ) ) ;
msg . replace ( RenX : : tags - > INTERNAL_VICTIM_TEAM_LONG_TAG , RenX : : getFullTeamName ( team ) ) ;
msg . replace ( RenX : : tags - > INTERNAL_OBJECT_TAG , RenX : : translateName ( type ) ) ;
( server - > * func ) ( msg ) ;
}
}
void RenX_LoggingPlugin : : RenX_OnVoteOver ( RenX : : Server * server , const RenX : : TeamType & team , const Jupiter : : ReadableString & type , bool success , int yesVotes , int noVotes )
{
logFuncType func ;
if ( RenX_LoggingPlugin : : voteOverPublic )
func = & RenX : : Server : : sendLogChan ;
else
func = & RenX : : Server : : sendAdmChan ;
Jupiter : : String msg = success ? this - > voteOverSuccessFmt : this - > voteOverFailFmt ;
if ( msg . isNotEmpty ( ) )
Updated to support most of RCONv3; updated Jupiter; Map now tracked; Tags added for: RCON User, Server Name, Map; Internal tags are now generated at runtime, and guaranteed to be unique for up to 65k tags; Added events to RenX::Plugin: OnExecute (player), OnPlayer, OnHostChat, OnHostPage, OnOtherChat, OnDisarm, OnCapture, OnNeutralize, OnSteal, OnUnsubscribe, OnVoteCall, OnVoteOver, OnVoteCancel, OnVote, OnMapChange, OnMapLoad, OnMap, OnDemoRecord, OnDemo; various optimizations
10 years ago
{
RenX : : processTags ( msg , server ) ;
msg . replace ( RenX : : tags - > INTERNAL_OBJECT_TAG , RenX : : translateName ( type ) ) ;
msg . replace ( RenX : : tags - > INTERNAL_TEAM_COLOR_TAG , RenX : : getTeamColor ( team ) ) ;
msg . replace ( RenX : : tags - > INTERNAL_TEAM_SHORT_TAG , RenX : : getTeamName ( team ) ) ;
msg . replace ( RenX : : tags - > INTERNAL_TEAM_LONG_TAG , RenX : : getFullTeamName ( team ) ) ;
msg . replace ( RenX : : tags - > INTERNAL_VICTIM_TEAM_COLOR_TAG , RenX : : getTeamColor ( team ) ) ;
msg . replace ( RenX : : tags - > INTERNAL_VICTIM_TEAM_SHORT_TAG , RenX : : getTeamName ( team ) ) ;
msg . replace ( RenX : : tags - > INTERNAL_VICTIM_TEAM_LONG_TAG , RenX : : getFullTeamName ( team ) ) ;
msg . replace ( RenX : : tags - > INTERNAL_WIN_SCORE_TAG , Jupiter : : StringS : : Format ( " %d " , yesVotes ) ) ;
msg . replace ( RenX : : tags - > INTERNAL_LOSE_SCORE_TAG , Jupiter : : StringS : : Format ( " %d " , noVotes ) ) ;
( server - > * func ) ( msg ) ;
}
}
void RenX_LoggingPlugin : : RenX_OnVoteCancel ( RenX : : Server * server , const RenX : : TeamType & team , const Jupiter : : ReadableString & type )
{
logFuncType func ;
if ( RenX_LoggingPlugin : : voteCancelPublic )
func = & RenX : : Server : : sendLogChan ;
else
func = & RenX : : Server : : sendAdmChan ;
Jupiter : : String msg = this - > voteCancelFmt ;
if ( msg . isNotEmpty ( ) )
Updated to support most of RCONv3; updated Jupiter; Map now tracked; Tags added for: RCON User, Server Name, Map; Internal tags are now generated at runtime, and guaranteed to be unique for up to 65k tags; Added events to RenX::Plugin: OnExecute (player), OnPlayer, OnHostChat, OnHostPage, OnOtherChat, OnDisarm, OnCapture, OnNeutralize, OnSteal, OnUnsubscribe, OnVoteCall, OnVoteOver, OnVoteCancel, OnVote, OnMapChange, OnMapLoad, OnMap, OnDemoRecord, OnDemo; various optimizations
10 years ago
{
RenX : : processTags ( msg , server ) ;
msg . replace ( RenX : : tags - > INTERNAL_OBJECT_TAG , RenX : : translateName ( type ) ) ;
msg . replace ( RenX : : tags - > INTERNAL_TEAM_COLOR_TAG , RenX : : getTeamColor ( team ) ) ;
msg . replace ( RenX : : tags - > INTERNAL_TEAM_SHORT_TAG , RenX : : getTeamName ( team ) ) ;
msg . replace ( RenX : : tags - > INTERNAL_TEAM_LONG_TAG , RenX : : getFullTeamName ( team ) ) ;
msg . replace ( RenX : : tags - > INTERNAL_VICTIM_TEAM_COLOR_TAG , RenX : : getTeamColor ( team ) ) ;
msg . replace ( RenX : : tags - > INTERNAL_VICTIM_TEAM_SHORT_TAG , RenX : : getTeamName ( team ) ) ;
msg . replace ( RenX : : tags - > INTERNAL_VICTIM_TEAM_LONG_TAG , RenX : : getFullTeamName ( team ) ) ;
( server - > * func ) ( msg ) ;
}
}
void RenX_LoggingPlugin : : RenX_OnVote ( RenX : : Server * server , const Jupiter : : ReadableString & raw )
{
logFuncType func ;
if ( RenX_LoggingPlugin : : votePublic )
func = & RenX : : Server : : sendLogChan ;
else
func = & RenX : : Server : : sendAdmChan ;
Jupiter : : String msg = this - > voteFmt ;
if ( msg . isNotEmpty ( ) )
Updated to support most of RCONv3; updated Jupiter; Map now tracked; Tags added for: RCON User, Server Name, Map; Internal tags are now generated at runtime, and guaranteed to be unique for up to 65k tags; Added events to RenX::Plugin: OnExecute (player), OnPlayer, OnHostChat, OnHostPage, OnOtherChat, OnDisarm, OnCapture, OnNeutralize, OnSteal, OnUnsubscribe, OnVoteCall, OnVoteOver, OnVoteCancel, OnVote, OnMapChange, OnMapLoad, OnMap, OnDemoRecord, OnDemo; various optimizations
10 years ago
{
RenX : : processTags ( msg , server ) ;
msg . replace ( RenX : : tags - > INTERNAL_MESSAGE_TAG , raw ) ;
( server - > * func ) ( msg ) ;
}
}
void RenX_LoggingPlugin : : RenX_OnMapChange ( RenX : : Server * server , const Jupiter : : ReadableString & map , bool seamless )
{
logFuncType func ;
if ( RenX_LoggingPlugin : : mapChangePublic )
func = & RenX : : Server : : sendLogChan ;
else
func = & RenX : : Server : : sendAdmChan ;
Jupiter : : String msg = this - > mapChangeFmt ;
if ( msg . isNotEmpty ( ) )
Updated to support most of RCONv3; updated Jupiter; Map now tracked; Tags added for: RCON User, Server Name, Map; Internal tags are now generated at runtime, and guaranteed to be unique for up to 65k tags; Added events to RenX::Plugin: OnExecute (player), OnPlayer, OnHostChat, OnHostPage, OnOtherChat, OnDisarm, OnCapture, OnNeutralize, OnSteal, OnUnsubscribe, OnVoteCall, OnVoteOver, OnVoteCancel, OnVote, OnMapChange, OnMapLoad, OnMap, OnDemoRecord, OnDemo; various optimizations
10 years ago
{
RenX : : processTags ( msg , server ) ;
msg . replace ( RenX : : tags - > INTERNAL_MESSAGE_TAG , map ) ;
( server - > * func ) ( msg ) ;
}
* Removed redundant RenX::Core::send()
* Added additional weapon translations
* Added some projectile translations
* Added Silo translation
* Replaced RenX::getTeam() with 2 different getTeam() functions
* Removed RenX::sanitizeString() for C-style Strings.
* Added events: OnDisarm, OnExplode, OnCharacterPurchase, OnItemPurchase, OnWeaponPurchase, OnRefillPurchase, OnVehiclePurchase, OnVehicleSpawn, OnSpawn,
OnBotJoin, OnVehicleCrate, OnDeathCrate, OnMoneyCrate, OnCharacterCrate, OnSpyCrate, OnRefillCrate, OnDonate, OnDemoRecordStop
* Added functions to RenX::Server: isSeamless(), gameover(), setMap(), loadMutator(), unloadMutator(), cancelVote(), swapTeams(), recordDemo(), mute(), unmute().
Replaced RenX::Server::changeTeam() parameter "options" with "resetCredits".
* Server profile added for Open Beta 4.
* Updated Jupiter
* Updated plugins according to the above changes.
10 years ago
if ( server - > isSeamless ( ) = = false )
server - > sendLogChan ( IRCCOLOR " 07[Warning] " IRCCOLOR " This server is using non-seamless server travel; this bot will be disconnected. " ) ;
Updated to support most of RCONv3; updated Jupiter; Map now tracked; Tags added for: RCON User, Server Name, Map; Internal tags are now generated at runtime, and guaranteed to be unique for up to 65k tags; Added events to RenX::Plugin: OnExecute (player), OnPlayer, OnHostChat, OnHostPage, OnOtherChat, OnDisarm, OnCapture, OnNeutralize, OnSteal, OnUnsubscribe, OnVoteCall, OnVoteOver, OnVoteCancel, OnVote, OnMapChange, OnMapLoad, OnMap, OnDemoRecord, OnDemo; various optimizations
10 years ago
}
void RenX_LoggingPlugin : : RenX_OnMapLoad ( RenX : : Server * server , const Jupiter : : ReadableString & map )
{
logFuncType func ;
if ( RenX_LoggingPlugin : : mapLoadPublic )
func = & RenX : : Server : : sendLogChan ;
else
func = & RenX : : Server : : sendAdmChan ;
Jupiter : : String msg = this - > mapLoadFmt ;
if ( msg . isNotEmpty ( ) )
Updated to support most of RCONv3; updated Jupiter; Map now tracked; Tags added for: RCON User, Server Name, Map; Internal tags are now generated at runtime, and guaranteed to be unique for up to 65k tags; Added events to RenX::Plugin: OnExecute (player), OnPlayer, OnHostChat, OnHostPage, OnOtherChat, OnDisarm, OnCapture, OnNeutralize, OnSteal, OnUnsubscribe, OnVoteCall, OnVoteOver, OnVoteCancel, OnVote, OnMapChange, OnMapLoad, OnMap, OnDemoRecord, OnDemo; various optimizations
10 years ago
{
RenX : : processTags ( msg , server ) ;
msg . replace ( RenX : : tags - > INTERNAL_MESSAGE_TAG , map ) ;
( server - > * func ) ( msg ) ;
}
}
void RenX_LoggingPlugin : : RenX_OnMapStart ( RenX : : Server * server , const Jupiter : : ReadableString & map )
{
logFuncType func ;
if ( RenX_LoggingPlugin : : mapStartPublic )
func = & RenX : : Server : : sendLogChan ;
else
func = & RenX : : Server : : sendAdmChan ;
Jupiter : : String msg = this - > mapStartFmt ;
if ( msg . isNotEmpty ( ) )
{
RenX : : processTags ( msg , server ) ;
msg . replace ( RenX : : tags - > INTERNAL_MESSAGE_TAG , map ) ;
( server - > * func ) ( msg ) ;
}
}
Updated to support most of RCONv3; updated Jupiter; Map now tracked; Tags added for: RCON User, Server Name, Map; Internal tags are now generated at runtime, and guaranteed to be unique for up to 65k tags; Added events to RenX::Plugin: OnExecute (player), OnPlayer, OnHostChat, OnHostPage, OnOtherChat, OnDisarm, OnCapture, OnNeutralize, OnSteal, OnUnsubscribe, OnVoteCall, OnVoteOver, OnVoteCancel, OnVote, OnMapChange, OnMapLoad, OnMap, OnDemoRecord, OnDemo; various optimizations
10 years ago
void RenX_LoggingPlugin : : RenX_OnMap ( RenX : : Server * server , const Jupiter : : ReadableString & raw )
{
logFuncType func ;
if ( RenX_LoggingPlugin : : mapPublic )
func = & RenX : : Server : : sendLogChan ;
else
func = & RenX : : Server : : sendAdmChan ;
Jupiter : : String msg = this - > mapFmt ;
if ( msg . isNotEmpty ( ) )
Updated to support most of RCONv3; updated Jupiter; Map now tracked; Tags added for: RCON User, Server Name, Map; Internal tags are now generated at runtime, and guaranteed to be unique for up to 65k tags; Added events to RenX::Plugin: OnExecute (player), OnPlayer, OnHostChat, OnHostPage, OnOtherChat, OnDisarm, OnCapture, OnNeutralize, OnSteal, OnUnsubscribe, OnVoteCall, OnVoteOver, OnVoteCancel, OnVote, OnMapChange, OnMapLoad, OnMap, OnDemoRecord, OnDemo; various optimizations
10 years ago
{
RenX : : processTags ( msg , server ) ;
msg . replace ( RenX : : tags - > INTERNAL_MESSAGE_TAG , raw ) ;
( server - > * func ) ( msg ) ;
}
}
void RenX_LoggingPlugin : : RenX_OnDemoRecord ( RenX : : Server * server , const RenX : : PlayerInfo * player )
{
logFuncType func ;
if ( RenX_LoggingPlugin : : demoRecordPublic )
func = & RenX : : Server : : sendLogChan ;
else
func = & RenX : : Server : : sendAdmChan ;
Jupiter : : String msg = this - > demoRecordFmt ;
if ( msg . isNotEmpty ( ) )
Updated to support most of RCONv3; updated Jupiter; Map now tracked; Tags added for: RCON User, Server Name, Map; Internal tags are now generated at runtime, and guaranteed to be unique for up to 65k tags; Added events to RenX::Plugin: OnExecute (player), OnPlayer, OnHostChat, OnHostPage, OnOtherChat, OnDisarm, OnCapture, OnNeutralize, OnSteal, OnUnsubscribe, OnVoteCall, OnVoteOver, OnVoteCancel, OnVote, OnMapChange, OnMapLoad, OnMap, OnDemoRecord, OnDemo; various optimizations
10 years ago
{
RenX : : processTags ( msg , server , player ) ;
( server - > * func ) ( msg ) ;
}
}
void RenX_LoggingPlugin : : RenX_OnDemoRecord ( RenX : : Server * server , const Jupiter : : ReadableString & user )
{
logFuncType func ;
if ( RenX_LoggingPlugin : : demoRecordPublic )
func = & RenX : : Server : : sendLogChan ;
else
func = & RenX : : Server : : sendAdmChan ;
Jupiter : : String msg = this - > rconDemoRecordFmt ;
if ( msg . isNotEmpty ( ) )
Updated to support most of RCONv3; updated Jupiter; Map now tracked; Tags added for: RCON User, Server Name, Map; Internal tags are now generated at runtime, and guaranteed to be unique for up to 65k tags; Added events to RenX::Plugin: OnExecute (player), OnPlayer, OnHostChat, OnHostPage, OnOtherChat, OnDisarm, OnCapture, OnNeutralize, OnSteal, OnUnsubscribe, OnVoteCall, OnVoteOver, OnVoteCancel, OnVote, OnMapChange, OnMapLoad, OnMap, OnDemoRecord, OnDemo; various optimizations
10 years ago
{
RenX : : processTags ( msg , server ) ;
msg . replace ( RenX : : tags - > nameTag , user ) ;
( server - > * func ) ( msg ) ;
}
}
* Removed redundant RenX::Core::send()
* Added additional weapon translations
* Added some projectile translations
* Added Silo translation
* Replaced RenX::getTeam() with 2 different getTeam() functions
* Removed RenX::sanitizeString() for C-style Strings.
* Added events: OnDisarm, OnExplode, OnCharacterPurchase, OnItemPurchase, OnWeaponPurchase, OnRefillPurchase, OnVehiclePurchase, OnVehicleSpawn, OnSpawn,
OnBotJoin, OnVehicleCrate, OnDeathCrate, OnMoneyCrate, OnCharacterCrate, OnSpyCrate, OnRefillCrate, OnDonate, OnDemoRecordStop
* Added functions to RenX::Server: isSeamless(), gameover(), setMap(), loadMutator(), unloadMutator(), cancelVote(), swapTeams(), recordDemo(), mute(), unmute().
Replaced RenX::Server::changeTeam() parameter "options" with "resetCredits".
* Server profile added for Open Beta 4.
* Updated Jupiter
* Updated plugins according to the above changes.
10 years ago
void RenX_LoggingPlugin : : RenX_OnDemoRecordStop ( RenX : : Server * server )
Updated to support most of RCONv3; updated Jupiter; Map now tracked; Tags added for: RCON User, Server Name, Map; Internal tags are now generated at runtime, and guaranteed to be unique for up to 65k tags; Added events to RenX::Plugin: OnExecute (player), OnPlayer, OnHostChat, OnHostPage, OnOtherChat, OnDisarm, OnCapture, OnNeutralize, OnSteal, OnUnsubscribe, OnVoteCall, OnVoteOver, OnVoteCancel, OnVote, OnMapChange, OnMapLoad, OnMap, OnDemoRecord, OnDemo; various optimizations
10 years ago
{
logFuncType func ;
* Removed redundant RenX::Core::send()
* Added additional weapon translations
* Added some projectile translations
* Added Silo translation
* Replaced RenX::getTeam() with 2 different getTeam() functions
* Removed RenX::sanitizeString() for C-style Strings.
* Added events: OnDisarm, OnExplode, OnCharacterPurchase, OnItemPurchase, OnWeaponPurchase, OnRefillPurchase, OnVehiclePurchase, OnVehicleSpawn, OnSpawn,
OnBotJoin, OnVehicleCrate, OnDeathCrate, OnMoneyCrate, OnCharacterCrate, OnSpyCrate, OnRefillCrate, OnDonate, OnDemoRecordStop
* Added functions to RenX::Server: isSeamless(), gameover(), setMap(), loadMutator(), unloadMutator(), cancelVote(), swapTeams(), recordDemo(), mute(), unmute().
Replaced RenX::Server::changeTeam() parameter "options" with "resetCredits".
* Server profile added for Open Beta 4.
* Updated Jupiter
* Updated plugins according to the above changes.
10 years ago
if ( RenX_LoggingPlugin : : demoRecordStopPublic )
Updated to support most of RCONv3; updated Jupiter; Map now tracked; Tags added for: RCON User, Server Name, Map; Internal tags are now generated at runtime, and guaranteed to be unique for up to 65k tags; Added events to RenX::Plugin: OnExecute (player), OnPlayer, OnHostChat, OnHostPage, OnOtherChat, OnDisarm, OnCapture, OnNeutralize, OnSteal, OnUnsubscribe, OnVoteCall, OnVoteOver, OnVoteCancel, OnVote, OnMapChange, OnMapLoad, OnMap, OnDemoRecord, OnDemo; various optimizations
10 years ago
func = & RenX : : Server : : sendLogChan ;
else
func = & RenX : : Server : : sendAdmChan ;
* Removed redundant RenX::Core::send()
* Added additional weapon translations
* Added some projectile translations
* Added Silo translation
* Replaced RenX::getTeam() with 2 different getTeam() functions
* Removed RenX::sanitizeString() for C-style Strings.
* Added events: OnDisarm, OnExplode, OnCharacterPurchase, OnItemPurchase, OnWeaponPurchase, OnRefillPurchase, OnVehiclePurchase, OnVehicleSpawn, OnSpawn,
OnBotJoin, OnVehicleCrate, OnDeathCrate, OnMoneyCrate, OnCharacterCrate, OnSpyCrate, OnRefillCrate, OnDonate, OnDemoRecordStop
* Added functions to RenX::Server: isSeamless(), gameover(), setMap(), loadMutator(), unloadMutator(), cancelVote(), swapTeams(), recordDemo(), mute(), unmute().
Replaced RenX::Server::changeTeam() parameter "options" with "resetCredits".
* Server profile added for Open Beta 4.
* Updated Jupiter
* Updated plugins according to the above changes.
10 years ago
Jupiter : : String msg = this - > demoRecordStopFmt ;
if ( msg . isNotEmpty ( ) )
Updated to support most of RCONv3; updated Jupiter; Map now tracked; Tags added for: RCON User, Server Name, Map; Internal tags are now generated at runtime, and guaranteed to be unique for up to 65k tags; Added events to RenX::Plugin: OnExecute (player), OnPlayer, OnHostChat, OnHostPage, OnOtherChat, OnDisarm, OnCapture, OnNeutralize, OnSteal, OnUnsubscribe, OnVoteCall, OnVoteOver, OnVoteCancel, OnVote, OnMapChange, OnMapLoad, OnMap, OnDemoRecord, OnDemo; various optimizations
10 years ago
{
RenX : : processTags ( msg , server ) ;
( server - > * func ) ( msg ) ;
}
}
* Removed redundant RenX::Core::send()
* Added additional weapon translations
* Added some projectile translations
* Added Silo translation
* Replaced RenX::getTeam() with 2 different getTeam() functions
* Removed RenX::sanitizeString() for C-style Strings.
* Added events: OnDisarm, OnExplode, OnCharacterPurchase, OnItemPurchase, OnWeaponPurchase, OnRefillPurchase, OnVehiclePurchase, OnVehicleSpawn, OnSpawn,
OnBotJoin, OnVehicleCrate, OnDeathCrate, OnMoneyCrate, OnCharacterCrate, OnSpyCrate, OnRefillCrate, OnDonate, OnDemoRecordStop
* Added functions to RenX::Server: isSeamless(), gameover(), setMap(), loadMutator(), unloadMutator(), cancelVote(), swapTeams(), recordDemo(), mute(), unmute().
Replaced RenX::Server::changeTeam() parameter "options" with "resetCredits".
* Server profile added for Open Beta 4.
* Updated Jupiter
* Updated plugins according to the above changes.
10 years ago
void RenX_LoggingPlugin : : RenX_OnDemo ( RenX : : Server * server , const Jupiter : : ReadableString & raw )
{
logFuncType func ;
* Removed redundant RenX::Core::send()
* Added additional weapon translations
* Added some projectile translations
* Added Silo translation
* Replaced RenX::getTeam() with 2 different getTeam() functions
* Removed RenX::sanitizeString() for C-style Strings.
* Added events: OnDisarm, OnExplode, OnCharacterPurchase, OnItemPurchase, OnWeaponPurchase, OnRefillPurchase, OnVehiclePurchase, OnVehicleSpawn, OnSpawn,
OnBotJoin, OnVehicleCrate, OnDeathCrate, OnMoneyCrate, OnCharacterCrate, OnSpyCrate, OnRefillCrate, OnDonate, OnDemoRecordStop
* Added functions to RenX::Server: isSeamless(), gameover(), setMap(), loadMutator(), unloadMutator(), cancelVote(), swapTeams(), recordDemo(), mute(), unmute().
Replaced RenX::Server::changeTeam() parameter "options" with "resetCredits".
* Server profile added for Open Beta 4.
* Updated Jupiter
* Updated plugins according to the above changes.
10 years ago
if ( RenX_LoggingPlugin : : demoPublic )
func = & RenX : : Server : : sendLogChan ;
else
func = & RenX : : Server : : sendAdmChan ;
* Removed redundant RenX::Core::send()
* Added additional weapon translations
* Added some projectile translations
* Added Silo translation
* Replaced RenX::getTeam() with 2 different getTeam() functions
* Removed RenX::sanitizeString() for C-style Strings.
* Added events: OnDisarm, OnExplode, OnCharacterPurchase, OnItemPurchase, OnWeaponPurchase, OnRefillPurchase, OnVehiclePurchase, OnVehicleSpawn, OnSpawn,
OnBotJoin, OnVehicleCrate, OnDeathCrate, OnMoneyCrate, OnCharacterCrate, OnSpyCrate, OnRefillCrate, OnDonate, OnDemoRecordStop
* Added functions to RenX::Server: isSeamless(), gameover(), setMap(), loadMutator(), unloadMutator(), cancelVote(), swapTeams(), recordDemo(), mute(), unmute().
Replaced RenX::Server::changeTeam() parameter "options" with "resetCredits".
* Server profile added for Open Beta 4.
* Updated Jupiter
* Updated plugins according to the above changes.
10 years ago
Jupiter : : String msg = this - > demoFmt ;
if ( msg . isNotEmpty ( ) )
{
RenX : : processTags ( msg , server ) ;
msg . replace ( RenX : : tags - > INTERNAL_MESSAGE_TAG , raw ) ;
( server - > * func ) ( msg ) ;
}
}
* Removed redundant RenX::Core::send()
* Added additional weapon translations
* Added some projectile translations
* Added Silo translation
* Replaced RenX::getTeam() with 2 different getTeam() functions
* Removed RenX::sanitizeString() for C-style Strings.
* Added events: OnDisarm, OnExplode, OnCharacterPurchase, OnItemPurchase, OnWeaponPurchase, OnRefillPurchase, OnVehiclePurchase, OnVehicleSpawn, OnSpawn,
OnBotJoin, OnVehicleCrate, OnDeathCrate, OnMoneyCrate, OnCharacterCrate, OnSpyCrate, OnRefillCrate, OnDonate, OnDemoRecordStop
* Added functions to RenX::Server: isSeamless(), gameover(), setMap(), loadMutator(), unloadMutator(), cancelVote(), swapTeams(), recordDemo(), mute(), unmute().
Replaced RenX::Server::changeTeam() parameter "options" with "resetCredits".
* Server profile added for Open Beta 4.
* Updated Jupiter
* Updated plugins according to the above changes.
10 years ago
void RenX_LoggingPlugin : : RenX_OnLog ( RenX : : Server * server , const Jupiter : : ReadableString & raw )
{
logFuncType func ;
* Removed redundant RenX::Core::send()
* Added additional weapon translations
* Added some projectile translations
* Added Silo translation
* Replaced RenX::getTeam() with 2 different getTeam() functions
* Removed RenX::sanitizeString() for C-style Strings.
* Added events: OnDisarm, OnExplode, OnCharacterPurchase, OnItemPurchase, OnWeaponPurchase, OnRefillPurchase, OnVehiclePurchase, OnVehicleSpawn, OnSpawn,
OnBotJoin, OnVehicleCrate, OnDeathCrate, OnMoneyCrate, OnCharacterCrate, OnSpyCrate, OnRefillCrate, OnDonate, OnDemoRecordStop
* Added functions to RenX::Server: isSeamless(), gameover(), setMap(), loadMutator(), unloadMutator(), cancelVote(), swapTeams(), recordDemo(), mute(), unmute().
Replaced RenX::Server::changeTeam() parameter "options" with "resetCredits".
* Server profile added for Open Beta 4.
* Updated Jupiter
* Updated plugins according to the above changes.
10 years ago
if ( RenX_LoggingPlugin : : logPublic )
func = & RenX : : Server : : sendLogChan ;
else
func = & RenX : : Server : : sendAdmChan ;
* Removed redundant RenX::Core::send()
* Added additional weapon translations
* Added some projectile translations
* Added Silo translation
* Replaced RenX::getTeam() with 2 different getTeam() functions
* Removed RenX::sanitizeString() for C-style Strings.
* Added events: OnDisarm, OnExplode, OnCharacterPurchase, OnItemPurchase, OnWeaponPurchase, OnRefillPurchase, OnVehiclePurchase, OnVehicleSpawn, OnSpawn,
OnBotJoin, OnVehicleCrate, OnDeathCrate, OnMoneyCrate, OnCharacterCrate, OnSpyCrate, OnRefillCrate, OnDonate, OnDemoRecordStop
* Added functions to RenX::Server: isSeamless(), gameover(), setMap(), loadMutator(), unloadMutator(), cancelVote(), swapTeams(), recordDemo(), mute(), unmute().
Replaced RenX::Server::changeTeam() parameter "options" with "resetCredits".
* Server profile added for Open Beta 4.
* Updated Jupiter
* Updated plugins according to the above changes.
10 years ago
Jupiter : : String msg = this - > logFmt ;
if ( msg . isNotEmpty ( ) )
{
RenX : : processTags ( msg , server ) ;
* Removed redundant RenX::Core::send()
* Added additional weapon translations
* Added some projectile translations
* Added Silo translation
* Replaced RenX::getTeam() with 2 different getTeam() functions
* Removed RenX::sanitizeString() for C-style Strings.
* Added events: OnDisarm, OnExplode, OnCharacterPurchase, OnItemPurchase, OnWeaponPurchase, OnRefillPurchase, OnVehiclePurchase, OnVehicleSpawn, OnSpawn,
OnBotJoin, OnVehicleCrate, OnDeathCrate, OnMoneyCrate, OnCharacterCrate, OnSpyCrate, OnRefillCrate, OnDonate, OnDemoRecordStop
* Added functions to RenX::Server: isSeamless(), gameover(), setMap(), loadMutator(), unloadMutator(), cancelVote(), swapTeams(), recordDemo(), mute(), unmute().
Replaced RenX::Server::changeTeam() parameter "options" with "resetCredits".
* Server profile added for Open Beta 4.
* Updated Jupiter
* Updated plugins according to the above changes.
10 years ago
msg . replace ( RenX : : tags - > INTERNAL_MESSAGE_TAG , raw ) ;
( server - > * func ) ( msg ) ;
}
}
void RenX_LoggingPlugin : : RenX_OnCommand ( RenX : : Server * server , const Jupiter : : ReadableString & raw )
{
logFuncType func ;
if ( RenX_LoggingPlugin : : commandPublic )
func = & RenX : : Server : : sendLogChan ;
else
func = & RenX : : Server : : sendAdmChan ;
Jupiter : : String msg = this - > commandFmt ;
if ( msg . isNotEmpty ( ) )
{
RenX : : processTags ( msg , server ) ;
msg . replace ( RenX : : tags - > INTERNAL_MESSAGE_TAG , raw ) ;
( server - > * func ) ( msg ) ;
}
}
void RenX_LoggingPlugin : : RenX_OnError ( RenX : : Server * server , const Jupiter : : ReadableString & raw )
{
logFuncType func ;
if ( RenX_LoggingPlugin : : errorPublic )
func = & RenX : : Server : : sendLogChan ;
else
func = & RenX : : Server : : sendAdmChan ;
Jupiter : : String msg = this - > errorFmt ;
if ( msg . isNotEmpty ( ) )
{
RenX : : processTags ( msg , server ) ;
msg . replace ( RenX : : tags - > INTERNAL_MESSAGE_TAG , raw ) ;
( server - > * func ) ( msg ) ;
}
}
void RenX_LoggingPlugin : : RenX_OnVersion ( RenX : : Server * server , const Jupiter : : ReadableString & raw )
{
logFuncType func ;
if ( RenX_LoggingPlugin : : versionPublic )
func = & RenX : : Server : : sendLogChan ;
else
func = & RenX : : Server : : sendAdmChan ;
Jupiter : : String msg = this - > versionFmt ;
if ( msg . isNotEmpty ( ) )
{
RenX : : processTags ( msg , server ) ;
msg . replace ( RenX : : tags - > INTERNAL_MESSAGE_TAG , raw ) ;
( server - > * func ) ( msg ) ;
}
}
void RenX_LoggingPlugin : : RenX_OnAuthorized ( RenX : : Server * server , const Jupiter : : ReadableString & raw )
{
logFuncType func ;
if ( RenX_LoggingPlugin : : authorizedPublic )
func = & RenX : : Server : : sendLogChan ;
else
func = & RenX : : Server : : sendAdmChan ;
Jupiter : : String msg = this - > authorizedFmt ;
if ( msg . isNotEmpty ( ) )
{
RenX : : processTags ( msg , server ) ;
msg . replace ( RenX : : tags - > INTERNAL_MESSAGE_TAG , raw ) ;
( server - > * func ) ( msg ) ;
}
}
void RenX_LoggingPlugin : : RenX_OnOther ( RenX : : Server * server , char token , const Jupiter : : ReadableString & raw )
{
logFuncType func ;
if ( RenX_LoggingPlugin : : otherPublic )
func = & RenX : : Server : : sendLogChan ;
else
func = & RenX : : Server : : sendAdmChan ;
Jupiter : : String msg = this - > otherFmt ;
if ( msg . isNotEmpty ( ) )
{
RenX : : processTags ( msg , server ) ;
msg . replace ( RenX : : tags - > INTERNAL_MESSAGE_TAG , raw ) ;
( server - > * func ) ( msg ) ;
}
}
int RenX_LoggingPlugin : : OnRehash ( )
{
RenX_LoggingPlugin : : init ( ) ;
return 0 ;
}
RenX_LoggingPlugin : : RenX_LoggingPlugin ( )
{
RenX_LoggingPlugin : : init ( ) ;
}
// Plugin instantiation and entry point.
RenX_LoggingPlugin pluginInstance ;
extern " C " __declspec ( dllexport ) Jupiter : : Plugin * getPlugin ( )
{
return & pluginInstance ;
}