oSoDirty 167 Report post Posted February 14, 2016 (edited) I have noticed that a fair amount of people (including myself) have been looking for a way to add/edit safezone messages. The default messages are defined in the config.bin and cannot be altered. However I have come up with a simple solution. So here it is: If you have already overwritten your ExileClient_object_player_event_onEnterSafezone.sqf (R3F Logistics requires this so if your using it you already have this done.) If this is the case simply locate the overwitten file in your mission pbo and look for: Spoiler if (alive player) then { player allowDamage false; player removeAllEventHandlers "HandleDamage"; }; and change it to this: Spoiler if (alive player) then { player allowDamage false; player removeAllEventHandlers "HandleDamage"; hint "You have entered a safezone. \nVehicles left in trader unlock upon restart. \nCamping is not bannable, but frowned upon. \nBe careful with your vehicles \nbecause stealing is allowed."; //Edit to your liking \n forces a new line }; Just edit the added line to fit your needs. Repack, restart and enjoy. If you do not have the file overwritten then copy and paste this: Spoiler /** * ExileClient_object_player_event_onEnterSafezone * * Exile Mod * exile.majormittens.co.uk * © 2015 Exile Mod Team * * This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. * To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/. */ private["_vehicle","_attachedObjects","_position"]; if (ExilePlayerInSafezone) exitWith { false }; ExilePlayerInSafezone = true; if (alive player) then { player allowDamage false; player removeAllEventHandlers "HandleDamage"; hint "You have entered a safezone. \nVehicles left in trader unlock upon restart. \nCamping is not bannable, but frowned upon. \nBe careful with your vehicles \nbecause stealing is allowed."; //Edit to your liking \n forces a new line }; _vehicle = vehicle player; if !(_vehicle isEqualTo player) then { if (local _vehicle) then { _vehicle allowDamage false; }; _attachedObjects = attachedObjects _vehicle; if !(_attachedObjects isEqualTo []) then { _position = getPosATL _vehicle; { if ((typeOf _x) in ["DemoCharge_Remote_Mag", "SatchelCharge_Remote_Mag"]) then { detach _x; _x setPosATL [(_position select 0) + random 2, (_position select 1) + random 2, 0.05]; _x setDir (random 360); }; } forEach _attachedObjects; }; ExileClientSafeZoneVehicle = _vehicle; ExileClientSafeZoneVehicleFiredEventHandler = _vehicle addEventHandler ["Fired", {_this call ExileClient_object_player_event_onFiredSafeZoneVehicle}]; }; ExileClientSafeZoneESPEventHandler = addMissionEventHandler ["Draw3D", {20 call ExileClient_gui_safezone_safeESP}]; ["SafezoneEnter"] call ExileClient_gui_notification_event_addNotification; ExileClientSafeZoneUpdateThreadHandle = [1, ExileClient_object_player_thread_safeZone, [], true] call ExileClient_system_thread_addtask; true into notepad++, edit the added line to fit your needs, and save it as ExileClient_object_player_event_onEnterSafezone.sqf Place it in the root of your mission pbo. Now in your mission pbo open config.cpp locate this: Spoiler class CfgExileCustomCode { }; and change to this: Spoiler class CfgExileCustomCode { ExileClient_object_player_event_onEnterSafezone = "ExileClient_object_player_event_onEnterSafezone.sqf"; }; And that is all. Repack your mission pbo, reboot your server and enjoy! Edited February 14, 2016 by oSoDirty 1 Share this post Link to post Share on other sites
ArnieGAMES4U 20 Report post Posted February 27, 2016 @oSoDirty I'm trying to get this to work, but I can't rejoin the server...doesnt this make the server files not match? Share this post Link to post Share on other sites
ka0s 457 Report post Posted February 27, 2016 (edited) Uhm why do you use hints, use Exile notifications like so; Spoiler ["notificationRequest",["LockKickWarning",["Server locked for Quick Restart in 10 Minutes"]]] call ExileServer_system_network_send_broadcast; There is different kinds, this is the standard one for "Lock Kick Warning" in your @exile_server\config. No need to use hints Note: ExileServer_system_network_send_broadcast; will broadcast messages to everyone, whereas ExileClient_gui_notification_event_addNotification; only will execute locally on the player that trigger the event. EDIT: CfgNotifications Spoiler SafeIsLockedWarning MaximumNumberOfTerritoriesReached RepairFailedWarning VehicleCustomsWarningNothingToCustomize VehicleCustomsWarningNoVehiclesNearby ProtectionMoneyPaidInformation AddedToTerritoryMessage PartyInviteMessage PartyCreatedMessage ClanRegisteredMessage MoneySent MoneyReceived Whoops RestartWarning LockKickWarning Success ItemConsumedInformation ItemCraftedInformation InventoryFullWarning InspectingFailedInformation TurnedIntoABushNotification TreasureMarkerInformation ItemPurchasedInformation ItemSoldInformation ItemSoldInformationWithRespect VehiclePurchasedInformation VehicleSkinPurchasedInformation ConstructionPlacedInformation SafePlacedInformation ConstructionAbortedInformation ConstructionAbortedCombat ConstructionVehicleWarning ConstructionSpawnZoneWarning ConstructionTraderZoneWarning ConstructionMovedTooFarWarning NoMatchesWarning SafezoneEnter SafezoneLeave EarplugsOn EarplugsOff VehicleRefuled VehicleRefulingFailed VehicleRefulingFailedFull VehicleDrained VehicleDrainingFailed VehicleDrainingFailedFuel TerritoryPurchased These will replace "LockKickWarning", and shows another icon. (Most of the icons are the same.) ----------------------------------------------------------------- For the actual Exile safezone enter / leave messages use these from ExileClient_object_player_event_onEnterSafezone.sqf ExileClient_object_player_event_onLeaveSafezone.sqf Spoiler ["SafezoneEnter"] call ExileClient_gui_notification_event_addNotification; (For entering safezone) ["SafezoneLeave"] call ExileClient_gui_notification_event_addNotification; (For leaving safezone) Edited February 27, 2016 by ka0s Extra classes and actual SafezoneEnter / Leave notifications added. 1 Share this post Link to post Share on other sites
oSoDirty 167 Report post Posted February 28, 2016 @Ka0s I Just wanted something simple and small for detailed safe zone messages. @ArnieGAMES4U It only mismatches if you edited the exile_client.pbo it's self. You need to copy the file into your mission PBO, edit it as described above and add the overwrite in config.cpp as described above. If you messed up and repacked an edited exile_client.pbo, just grab the vanilla ExileClient_object_player_event_onEnterSafezone.sqf from your game's mod folder. Share this post Link to post Share on other sites
oSoDirty 167 Report post Posted April 1, 2016 On 2/26/2016 at 3:07 PM, ka0s said: Spoiler SafeIsLockedWarningMaximumNumberOfTerritoriesReachedRepairFailedWarningVehicleCustomsWarningNothingToCustomizeVehicleCustomsWarningNoVehiclesNearbyProtectionMoneyPaidInformationAddedToTerritoryMessagePartyInviteMessagePartyCreatedMessageClanRegisteredMessageMoneySentMoneyReceivedWhoopsRestartWarningLockKickWarningSuccessItemConsumedInformationItemCraftedInformationInventoryFullWarningInspectingFailedInformationTurnedIntoABushNotificationTreasureMarkerInformationItemPurchasedInformationItemSoldInformationItemSoldInformationWithRespectVehiclePurchasedInformationVehicleSkinPurchasedInformationConstructionPlacedInformationSafePlacedInformationConstructionAbortedInformationConstructionAbortedCombatConstructionVehicleWarningConstructionSpawnZoneWarningConstructionTraderZoneWarningConstructionMovedTooFarWarningNoMatchesWarningSafezoneEnterSafezoneLeaveEarplugsOnEarplugsOffVehicleRefuledVehicleRefulingFailedVehicleRefulingFailedFullVehicleDrainedVehicleDrainingFailedVehicleDrainingFailedFuelTerritoryPurchased Thanks for this, it's been quite helpful to me lately Share this post Link to post Share on other sites
Batu786 1 Report post Posted April 30, 2018 Its not working, can someone post a sensible way to get these trade-zone messages working correctly? As I can see people having them working on their servers, but I can't find anything detailed enough to do it myself. Share this post Link to post Share on other sites
Thedummbie 1 Report post Posted May 21, 2018 I was able to get this working. The message comes up fine and I still get the normal message when leaving the safezone Share this post Link to post Share on other sites