Search the Community
Showing results for tags 'rewards'.
Found 3 results
Exile Player Rewards This is a system that allows admins to add rewards for players to go claim at any locker. This system in no way will auto generate rewards for your players for doing missions, logging in, donating, playing, gaining respect or anything like that. You are free to use it to do any of those things but out of the box it just accepts rewards and items and allows the player to claim them. As I explained in the above video You need a players UID and an array of items to pass to the server to add items. It will also take the players UID and the name of a kit which is exactly like infistar spawn boxes, the format is almost 1:1 so you could copy paste them over. It takes and will give players poptabs, respect, items, weapons, backpacks, uniforms, vests and vehicles. It will also allow you to set quantities for these items and the players can create their own pin# for the claimed vehicles. Here is an example I used to test via admin menu to add items to my own character. ["addRewardsRequest", [getplayeruid player, [["ExileScore",1000],["ExileMoney",2000],"Exile_Item_Flag","Exile_Item_SafeKit",["Exile_Car_Lada_Green",3],"Exile_Chopper_Huey_Green"]]] call ExileClient_system_network_send; ["addKitRequest", [getplayeruid player, "BaseObjectsWood"]] call ExileClient_system_network_send; The first one allows any array of items and set quantities to be based the other will take a predefined kit that is located server side for customization. If any items are already in the players collection box it will stack items so that the space is controlled on the database. There are some settings that can be changed in the config.cpp server side, right off the bat you will need to add your UID to the "AllowedRewardGivers" array or it will deny adding items from players from your UID. This security check for admins can be turned off if you want, its there to not allow people or names not in the list to not be able to give rewards to themselves or other players. All these settings can be found in rewards_server\config.cpp This uses EXTDB2, you can update for EXTDB3 if you wish. IDD for infistar: 57347 Installation Download the files from here: https://github.com/Andrew-S90/ExilePlayerRewards/ Client: Place "custom" folder inside of your root Exile.Altis folder Client: Paste #include "custom\rewards\rewardsDialog.hpp" in the description.ext (also available via github in the config.cpp file) Client: Modify your class CfgNetworkMessages and paste the following (also available via github in the config.cpp file) Client: In your init.sqf please paste the following (also available via github in the init.sqf file) Server: Open the rewards_server folder and open config.cpp and then either add your desired admin UIDs to the "AllowedRewardsGivers" array OR change checkRewards to a 0 this is a security function which will check if a legit sender is trying to reward your players. Server: In config.cpp feel free to change logging to a 0 if you do not want extdb2 logs to be created. As well you can add any custom kits, I have included some examples for you. Server: Run the following rewards.sql on your database to add a rewards table for your players (also available via github in Server\database_additions folder in the rewards.sql file) Server: Paste the following additions to your exile.ini file at the bottom (also available via github in Server\database_additions in the exile_additions.ini file) Example code snippets to call files to add items to players.
Welcome to the Toast Exile Server, We are and English and German speaking community and you can be a part of it. I am creating many cool features to keep the Server interesting. I already added some custom AI Missions and custom rewards when you finish the Mission. We have 4 difficulties: easy, moderate, difficult and hardcore. You will get a defined amount of money and respect for the difficulty of the mission. This will be split up into the count of the players. The next thing are the patrols all over the map. We got about 10 patrols spread around the map. Feel free to visit our website toast-teamspeak.de for more information. LBmaster
Needed a reward script for a "mission" area (I created a bandit island and wanted to reward players for taking over the island) so I crapped together a fast script to fit my purpose using an old domination mission script I had. I wanted vehicles that were not available at traders and were considered too "over powered" to remain on the map, so all vehicles/objects are deleted on server reboot. Requirements: trigger area (quick note: there is a ; before the , that shouldn't be there, I wasn't paying attention when i deleted code for this screen shot) reward marker: (visible or non) and the reward script. ////////////////////////////////////////////////////////////////////////////////////////// ///// Random Reward By: MassAsster /////// ///// Es-Gamers.com /////// ////////////////////////////////////////////////////////////////////////////////////////// private["_targetrewardsText","_thereward","_thegift","_vehicle","_pos"]; _thereward = ["B_Heli_Light_01_armed_F","B_Heli_Attack_01_F","B_MBT_01_cannon_F","B_MBT_01_arty_F","B_MBT_01_mlrs_F","B_APC_Wheeled_01_cannon_F","I_MRAP_03_hmg_F","I_Heli_light_03_F","B_Plane_CAS_01_F"]; _thegift = _thereward call BIS_fnc_selectRandom; _pos = getMarkerPos "rewardzone"; _vehicle = [_thegift, _pos, 190, true] call ExileServer_object_vehicle_createNonPersistentVehicle; _vehicle allowDamage false; _vehicle setPosATL _pos; _vehicle setDamage 0; _vehicle allowDamage true; _targetrewardsText = format ["<t align='center' size='2.2'>BANDIT ISLAND</t><br/><t size='1.5' align='center' color='#00FF80'>REWARD!</t><br/>____________________<br/><t align='left'>Convicts have claimed the prize at Bandit Island</t>",currentAO]; GlobalHint = _targetrewardsText; publicVariable "GlobalHint"; hint parseText GlobalHint;