Search the Community
Showing results for tags 'zupa'.
Found 27 results
-
I do NOT give hosts permission to ask money for installing this on people's servers. ZCP - Zupa's Capture Points Current Version 2.0 An independent addon for your Epoch server. This will spawn random bases (How many you configured) on the map which the player can go to and start capturing. This does not involve any AI. This addon focuses to direct PVP action more to those places for people that actually want the danger. How it works: Players will get a notice that a camp has been set up that they can capture. If they look on the map they can see the marker with a certain color: Green -> Not being captured and not contested. Purple -> Being captured by a player ( and his group) and not contested. Red -> Being captured and being contested by someone else. Ariving at the spot there will be a base to give a little battle arena / defending position. A message will warn all players that a player started capping that specfic point. This base will vanish 1 minut after being captured succesfully. If someone died while capping. The capping status will be handed over to a new player in the zone. Timer is reset and you will be announced again on the right side of the screen. Group members does not effect contesting. Winner will receive a cash reward directly into their wallet. Future version will hold more features. Extra notices: You can make own bases and add them in the right folder and in the config. First object is the cappoint. Position does not matter, the script recalculates the positions ^^ Use M3Editor to build bases because the scripts uses that sqf markup. Cappoints will choose a random base from the base list config each time they spawn. Easy to configure configs. No AI. Low influence on server performance. Easy to install ( very fucking easy) Best experienced on more populated servers, Cus this creates PVP. Not effective for PVE as long as there are no AI. I might add an AI option later that attacks the cappoint. Maps This works on every map. But warning, the original base might be build with some AIA buildings, Those specific objects wil not spawn on a non AIA map. This will however not influence the script itself ( only buildings missing in the base). Make a little base yourself for example and put it in base1.sqf Ill make a full non AIA base myself this evening. Planned Features Visual Timers AI option Contesting pauses cap time. ... Changelogs 1.1 [Added] configs to calculate price on the amount of players online. [Added] configs to delay spawning until a specific amount of people are online. [Added] config to define time to wait for base cleanup. [Added] Anouncements on halftime and 1 minut mark for capturing. Changelogs 2.0 [added] Reward system : Krypto / Vehicle drop / Weapon or Build box. [added] More configs [added] More checks [fixed] Epoch 0.3 Krypto rewards. [changed] Code cleanup and optimization. Github - Code https://github.com/DevZupa/ZCP-A3 Install Instructions 1) Pack the a3_epoch_server_zcp into a pbo and place it in the @epochive/addon folder of your epoch server. 2) Add zcp.sqf to your mission 3) Call zcp.sqf from init.sqf or anywhere u want :) execVM "zcp.sqf"; DONE. CONFIG Edit the boxes, cus they are really default ^^. Vehicle reward is disabled by default cus they don't save after restart without changin epoch code. Example Logs 8:01:25 [ZCP]: Giving server some time to boot. 8:03:47 [ZCP]: Initiate Zupas Capture Points 8:03:47 [ZCP]: ZCP No 0 started. 8:03:47 [ZCP]: ZCP No 1 started. 8:03:47 [ZCP]: All Capture Points are running. 8:03:47 [ZCP]: Waiting 79 secs for next cap point. 8:03:47 [ZCP]: Waiting 80 secs for next cap point. 8:05:09 [ZCP]: Cap Point Alpha :Spawning dynamic on [11174.8,7836.09,0] 8:05:09 [ZCP]: Cap Point Alpha started. 8:05:12 [ZCP]: Cap Point Beta :Spawning dynamic on [3919.28,11111.1,0] 8:05:12 [ZCP]: Cap Point Beta started. 9:31:01 [ZCP]: Ansgar won Cap Point Alpha 9:31:02 [ZCP]: Cap Point Alpha cleaned up and ended. 9:31:02 [ZCP]: Waiting 119 secs for next cap point. 9:33:14 [ZCP]: Cap Point Alpha :Spawning dynamic on [2905.8,5070.86,0] 9:33:15 [ZCP]: Cap Point Alpha started. 9:59:10 [ZCP]: m0nster [MUR] won Cap Point Beta 9:59:11 [ZCP]: Cap Point Beta cleaned up and ended. 9:59:11 [ZCP]: Waiting 147 secs for next cap point. 10:01:46 [ZCP]: Cap Point Beta :Spawning dynamic on [9335.61,11222.1,0] 10:01:46 [ZCP]: Cap Point Beta started.
-
Hi guys, I decided to make my Overpoch Skin chaning public. ( Screenshots on bottom) UPDATED to 3.0 ( CLEAN AND EFFECTIVE) Uses my defines from all my mods now. I release a version for Epoch and Overpoch. The scripts let u right click a clothing and give u a dialog to choose serveral linked skins to that specific skin. It shows you every possible skin you can have with your current inventory. No more trader needed. Make it harder to find a skin! You can change skin even when you are wearing a overwatch or arma skin! It also allows you to pickup skins! Screenshots: Download files: https://github.com/DevZupa/DayZEpochArmaOverpochClothing- MY switchmodel supports the following dscripts/fixes Correct Char Id after changing AI still shoot at you Coins transferred ( 2.0) Coins transferred (1.0) Install Instructions OVERPOCH: 1. Place the following under AllPlayers = ... in your custom "variables.sqf" Clothing1 = ["FR_Ohara_DZ","FR_Miles","FR_Cooper","FR_Rodriguez_DZ","FR_Sykes","FR_AC","FR_AR","FR_Assault_GL","FR_Assault_R","FR_Commander"]; Clothing2 = ["Soldier1_DZ","USMC_Soldier","USMC_Soldier2","USMC_SoldierM_Marksman","USMC_SoldierS","USMC_SoldierS_Sniper","USMC_Soldier_AA","USMC_Soldier_Pilot"]; Clothing3 = ["Ins_Soldier_GL_DZ","CDF_Soldier","CDF_Commander","CDF_Soldier_AR","CDF_Soldier_Crew","CDF_Soldier_Light","CDF_Soldier_Pilot"]; Clothing4 = ["GUE_Soldier_Crew_DZ","RU_Soldier","RU_Soldier_Crew","RU_Soldier_Light","RU_Soldier_Pilot","RUS_Commander","RUS_Soldier1","MVD_Soldier_Sniper"]; Clothing5 = ["Graves_Light_DZ","Drake","Graves","Herrera","Pierce","US_Delta_Force_Assault_EP1","US_Soldier_AR_EP1","US_Soldier_AT_EP1","US_Soldier_MG_EP1","US_Pilot_Light_EP1","US_Soldier_SL_EP1"]; Clothing6 = ["CZ_Special_Forces_GL_DES_EP1_DZ","CZ_Soldier_AT_DES_EP1","CZ_Soldier_Light_DES_EP1","CZ_Special_Forces_DES_EP1","CZ_Special_Forces_TL_DES_EP1"]; Clothing7 = ["Bandit2_DZ","MVD_Soldier_Sniper","GER_Soldier_EP1","GER_Soldier_MG_EP1","GER_Soldier_TL_EP1"]; Clothing8 = ["Soldier_Bodyguard_AA12_PMC_DZ","CIV_Contractor2_BAF","BAF_crewman_DDPM","BAF_Soldier_FAC_DDPM","BAF_Soldier_N_DDPM","BAF_Soldier_Marksman_DDPM","BAF_Soldier_Officer_DDPM","BAF_Soldier_L_DDPM"]; Clothing9 = ["TK_INS_Soldier_EP1_DZ","TK_Commander_EP1","TK_Soldier_Crew_EP1","TK_Soldier_MG_EP1","TK_Special_Forces_MG_EP1","TK_INS_Bonesetter_EP1"]; Clothing10 = ["Survivor2_DZ"]; Clothing11 = ["FR_Rodriguez_DZ","FR_Corpsman","FR_GL","FR_Light","FR_Marksman","FR_R","FR_Sapper","FR_TL","Mercenary_Default20b","Mercenary_Default20c","Mercenary_Default20d"]; // Abit of Overpoch in here // Overwatch //Hero Clothing12 = ["Drake_Light_DZ","arma1_us_soldier_sabass","arma1_us_soldier_sabmark","arma1_us_soldier_sabot","frb_tl","frb_tl_mask","frb_gl","frb_gl_mask","frb_mg","frb_mg_mask","frb_mark","frb_mark_mask","frb_stealth_tl","frb_stealth_rifleman","frb_stealth_sabot","frb_stealth_mark"]; Clothing13 = ["Soldier_Sniper_PMC_DZ","SBH_Alpha_Soldier1","SBH_Alpha_Soldier2","SBH_Alpha_Soldier3","SBH_Alpha_Soldier4","SBH_Alpha_Soldier5","SBH_Alpha_Soldier6","SBH_Alpha_Soldier7","SBH_Alpha_Soldier8","SBH_Alpha_Soldier9","SBH_Alpha_Soldier10","SBH_Alpha_Soldier11","SBH_Alpha_Soldier12"]; Clothing14 = ["CZ_Soldier_Sniper_EP1_DZ"]; Clothing15 = ["Camo1_DZ","US_Delta_Force_TL_EP1","US_Delta_Force_EP1","US_Delta_Force_AR_EP1","US_Delta_Force_Medic_EP1","US_Delta_Force_Marksman_EP1","US_Delta_Force_Air_Controller_EP1"]; Clothing16 = ["Rocket_DZ","SFSG_des_tl","SFSG_des_op","SFSG_des_ar","SFSG_des_med","SFSG_des_demo","SFSG_des_mrk","SFSG_des_jtac","SFSG_mtp_tl","SFSG_mtp_op","SFSG_mtp_ar","SFSG_mtp_med","SFSG_mtp_demo","SFSG_mtp_mrk","SFSG_mtp_jtac","SFSG_wdl_tl","SFSG_wdl_op","SFSG_wdl_ar","SFSG_wdl_med","SFSG_wdl_demo","SFSG_wdl_mrk","SFSG_wdl_jtac","SFSG_mtpw_tl","SFSG_mtpw_op","SFSG_mtpw_ar","SFSG_mtpw_med","SFSG_mtpw_demo","SFSG_mtpw_mrk","SFSG_mtpw_jtac"]; Clothing17 = ["Sniper1_DZ","Navy_SEAL_TL","Navy_SEAL_GL","Navy_SEAL_MG","Navy_SEAL_AT","Navy_SEAL_Medic","Navy_SEAL_Marksman","Navy_SEAL_diver","Navy_SEAL_diver_medic","Navy_SEAL_diver_land","Navy_SEAL_AC","Navy_SEAL_ACa","Navy_SEAL_ACb","Navy_SEAL_Shotgun","Navy_SEAL_Sabot","Navy_SEAL_SD"]; Clothing18 = ["Soldier_TL_PMC_DZ","G_WDL_Mercenary_Default0","G_WDL_Mercenary_Default1","G_WDL_Mercenary_Default2","G_WDL_Mercenary_Default3","G_WDL_Mercenary_Default4","G_WDL_Mercenary_Default5","G_WDL_Mercenary_Default6","G_WDL_Mercenary_Default7","G_WDL_Mercenary_Default8","G_WDL_Mercenary_Default9","G_WDL_Mercenary_Default10","G_WDL_Mercenary_Default11","G_WDL_Mercenary_Default12","G_WDL_Mercenary_Default13","G_WDL_Mercenary_Default14","G_WDL_Mercenary_Default15","G_WDL_Mercenary_Default16"]; Clothing19 = ["GUE_Soldier_Sniper_DZ","UKSF_des_tl","UKSF_des_op","UKSF_des_ar","UKSF_des_med","UKSF_des_demo","UKSF_des_mrk","UKSF_des_jtac","UKSF_wdl_tl","UKSF_wdl_op","UKSF_wdl_ar","UKSF_wdl_med","UKSF_wdl_demo","UKSF_wdl_mrk","UKSF_wdl_jtac","UKSF_des_tl_l","UKSF_des_op_l","UKSF_des_ar_l","UKSF_des_med_l","UKSF_des_demo_l","UKSF_des_mrk_l","UKSF_des_jtac_l","UKSF_wdl_tl_l","UKSF_wdl_op_l","UKSF_wdl_ar_l","UKSF_wdl_med_l","UKSF_wdl_demo_l","UKSF_wdl_mrk_l","UKSF_wdl_jtac_l"]; Clothing20 = ["TK_INS_Warlord_EP1_DZ","gsc_military_helmet_wdl","gsc_military_helmet_wdl_AT","gsc_military_helmet_grey_AT","gsc_military_helmet_wdlSNP","gsc_military_helmet_greySNP","gsc_military_helmet_grey","gsc_military_head_grey","gsc_military_head_greySNP","gsc_military_head_wdlSNP","gsc_military_head_wdl","gsc_military_head_wdl_AT","gsc_military_head_grey_AT","gsc_scientist1","gsc_scientist1_head","gsc_scientist2","gsc_scientist2_head","gsc_eco_stalker_mask_fred","gsc_eco_stalker_head_fred","gsc_eco_stalker_mask_camo","gsc_eco_stalker_head_camo1","gsc_cloth_loner_head","gsc_eco_stalker_mask_duty","gsc_eco_stalker_head_duty","gsc_eco_stalker_mask_neutral","gsc_eco_stalker_head_neutral","nof_fsk_tl","nof_fsk_marksman","nof_fsk_grenadier","nof_fsk_heavy","nof_fsk_corpsman","MVD_Soldier"]; //Bandit Clothing21 = ["Bandit1_DZ","Winter_SOF_Sabot","Winter_SOF_MG","Winter_SOF_TL","Winter_SOF_Medic","Winter_SOF_Marksman","Winter_SOF_GL","Winter_SOF_AT","Winter_SOF_AC","Winter_SOF_DA1","Winter_SOF_DA1a","Winter_SOF_DA1b","Winter_SOF_DA1c","Winter_OPFOR1","Winter_OPFOR2","Winter_OPFOR3","Winter_OPFOR4","Winter_OPFOR5","Winter_OPFOR6","Winter_OPFOR7","Winter_OPFOR8","Winter_OPFOR9","Winter_OPFOR10","EWinter_OPFOR1","EWinter_OPFOR2","EWinter_OPFOR3","EWinter_OPFOR4","EWinter_OPFOR5","EWinter_OPFOR6","EWinter_OPFOR7","EWinter_OPFOR8","EWinter_OPFOR9","EWinter_OPFOR10"]; Clothing22 = ["Bandit2_DZ","Gangsta_merc1","Gangsta_merc2","Gangsta_merc3","Gangsta_merc4","Gangsta_merc5","Gangsta_merc6","Gangsta_merc7","Gangsta_merc8","Gangsta_merc9","Gangsta_merc10","EGangsta_merc1","EGangsta_merc2","EGangsta_merc3","EGangsta_merc4","EGangsta_merc5","EGangsta_merc6","EGangsta_merc7","EGangsta_merc8","EGangsta_merc9","EGangsta_merc10","Taliban1","Taliban2","Taliban3","Taliban4","Taliban5","Taliban6","Taliban7","Taliban8","Taliban9","Taliban10","Taliban11","Taliban12","ETaliban1","ETaliban2","ETaliban3","ETaliban4","ETaliban5","ETaliban6","ETaliban7","ETaliban8","ETaliban9","ETaliban10","ETaliban11","ETaliban12","Terrorist1","Terrorist2","Terrorist3","Terrorist4","Terrorist5","Terrorist6","Terrorist7","Terrorist8","Terrorist9","Terrorist10","Terrorist11","Terrorist12","ETerrorist1","ETerrorist2","ETerrorist3","ETerrorist4","ETerrorist5","ETerrorist6","ETerrorist7","ETerrorist8","ETerrorist9","ETerrorist10","ETerrorist11","ETerrorist12"]; Clothing23 = ["BanditW1_DZ"]; // DIrty Women Clothing24 = ["BanditW2_DZ"]; // DIrty Women Clothing25 = ["GUE_Commander_DZ","US_Army_Soldier_Light","US_Army_Soldier_GL","US_Army_Soldier2","US_Army_Soldier_Officer","US_Army_Soldier_SL","US_Army_Soldier_TL","US_Army_Soldier_LAT","US_Army_Soldier_AT","US_Army_Soldier_HAT","US_Army_Soldier_AA","US_Army_Soldier_Medic","US_Army_Soldier_AR","US_Army_Soldier_MG","US_Army_SoldierS_SniperH","US_Army_SoldierM_Marksman","US_Army_SoldierS"]; Clothing26 = ["GUE_Soldier_2_DZ","Desert_SOF_TL","Desert_SOF_GL","Desert_SOF_MG","Desert_SOF_AT","Desert_SOF_Medic","Desert_SOF_Marksman","Desert_SOF_AC","Desert_SOF_Shotgun","Desert_SOF_Sabot","Desert_SOF_DA1","Desert_SOF_DA1a","Desert_SOF_DA1b","Desert_SOF_DA2","WDL_Mercenary_Default0","WDL_Mercenary_Default1","WDL_Mercenary_Default2","WDL_Mercenary_Default3","WDL_Mercenary_Default4","WDL_Mercenary_Default5","WDL_Mercenary_Default5a","G_WDL_Mercenary_Default5a","WDL_Mercenary_Default6","WDL_Mercenary_Default7","WDL_Mercenary_Default8","WDL_Mercenary_Default9","WDL_Mercenary_Default10","WDL_Mercenary_Default11","WDL_Mercenary_Default12","WDL_Mercenary_Default13","WDL_Mercenary_Default14","WDL_Mercenary_Default15","WDL_Mercenary_Default16"]; Clothing27 = ["GUE_Soldier_CO_DZ","G_Mercenary_Default9a","G_Mercenary_Default9b","Mercenary_Default10","Mercenary_Default11","Mercenary_Default12","Mercenary_Default13","Mercenary_Default14","Mercenary_Default15","Mercenary_Default16","Mercenary_Default17","Mercenary_Default18","Mercenary_Default19","Mercenary_Default19a","G_Mercenary_Default19a","Mercenary_Default20","Mercenary_Default22","Mercenary_Default23","Mercenary_Default24","Mercenary_Default25","Mercenary_Default26","Mercenary_Default27","Mercenary_Default28","G_Mercenary_Default0","G_Mercenary_Default1","G_Mercenary_Default2","G_Mercenary_Default3","G_Mercenary_Default4","G_Mercenary_Default5","G_Mercenary_Default6","G_Mercenary_Default7","G_Mercenary_Default8","G_Mercenary_Default9","G_Mercenary_Default10","G_Mercenary_Default11","G_Mercenary_Default12","G_Mercenary_Default13","G_Mercenary_Default14","G_Mercenary_Default15","G_Mercenary_Default16","G_Mercenary_Default17","G_Mercenary_Default18","G_Mercenary_Default19","G_Mercenary_Default20","G_Mercenary_Default20b","G_Mercenary_Default21","G_Mercenary_Default22","G_Mercenary_Default23","G_Mercenary_Default24","G_Mercenary_Default25","G_Mercenary_Default26","G_Mercenary_Default27","G_Mercenary_Default28"]; AllPlayers = AllPlayers + Clothing1 + Clothing2 + Clothing3 + Clothing4 + Clothing5 + Clothing6 + Clothing7 + Clothing8 + Clothing9 + Clothing10 + Clothing11 + Clothing12 + Clothing13 + Clothing14 + Clothing15 + Clothing16 + Clothing17 + Clothing18 + Clothing19 + Clothing20 + Clothing21+ Clothing22+ Clothing23+ Clothing24+ Clothing25+ Clothing26+ Clothing27 ; 2. Put the following on the bottom of your "description.sqf ONLY ADD THIS DEFINES IF YOU DO NOT USE A DEFINES FROM my other mods ( = the same) #include "zupa\skins\defines.hpp" #include "zupa\skins\SkinGui.hpp" 3. In your compiles.sqf place after if (!isDedicated) then { The following FillSkinList = compile preprocessFileLineNumbers "zupa\skins\getList.sqf"; ApplySkinList = compile preprocessFileLineNumbers "zupa\skins\changeClothes.sqf"; player_wearClothes = compile preprocessFileLineNumbers "zupa\skins\player_wearClothes.sqf"; player_switchModel = compile preprocessFileLineNumbers "zupa\skins\player_switchModel.sqf"; And comment out the normal player_wearclothes and player_switchModel // player_wearClothes = .. // player_switchModel = .. 4. Look for the following fn_selfactions.sqf // logic vars _player_cook = false; _player_boil = false; Add the following right above the previous lines //Remove CLOTHES if (_isMan and !_isAlive and !_isZombie and !_isAnimal) then { if (s_clothes < 0) then { s_clothes = player addAction [("" + ("Take Clothes") + ""), "zupa\skins\removeclothes.sqf",cursorTarget, 1, false, true, "",""]; }; } else { player removeAction s_clothes; s_clothes = -1; }; Now look in your selfactions for the following lines on the bottom: player removeAction s_player_fillfuel; s_player_fillfuel = -1; player removeAction s_player_studybody; s_player_studybody = -1; And add the following under those lines //remove clothes player removeAction s_clothes; s_clothes = -1; 5. Now drop the files from the zip files in your missions pbo. 6. You might have some Antihack troubles, more updates on that later. add "s_clothes" to your AHconfig 7. Add the follwoing to AH CMenu list: "MenClothing" and as number 20001 Epoch Only the first is different: 1. Place the following under AllPlayers = ... in your custom "variables.sqf" // Arma 2 Clothing1 = ["FR_Ohara_DZ","FR_Miles","FR_Cooper","FR_Rodriguez_DZ","FR_Sykes","FR_AC","FR_AR","FR_Assault_GL","FR_Assault_R","FR_Commander"]; Clothing2 = ["Soldier1_DZ","USMC_Soldier","USMC_Soldier2","USMC_SoldierM_Marksman","USMC_SoldierS","USMC_SoldierS_Sniper","USMC_Soldier_AA","USMC_Soldier_Pilot"]; Clothing3 = ["Ins_Soldier_GL_DZ","CDF_Soldier","CDF_Commander","CDF_Soldier_AR","CDF_Soldier_Crew","CDF_Soldier_Light","CDF_Soldier_Pilot"]; Clothing4 = ["GUE_Soldier_Crew_DZ","RU_Soldier","RU_Soldier_Crew","RU_Soldier_Light","RU_Soldier_Pilot","RUS_Commander","RUS_Soldier1","MVD_Soldier_Sniper"]; Clothing5 = ["Graves_Light_DZ","Drake","Graves","Herrera","Pierce","US_Delta_Force_Assault_EP1","US_Soldier_AR_EP1","US_Soldier_AT_EP1","US_Soldier_MG_EP1","US_Pilot_Light_EP1","US_Soldier_SL_EP1"]; Clothing6 = ["CZ_Special_Forces_GL_DES_EP1_DZ","CZ_Soldier_AT_DES_EP1","CZ_Soldier_Light_DES_EP1","CZ_Special_Forces_DES_EP1","CZ_Special_Forces_TL_DES_EP1"]; Clothing7 = ["Bandit2_DZ","MVD_Soldier_Sniper","GER_Soldier_EP1","GER_Soldier_MG_EP1","ER_Soldier_TL_EP1"]; Clothing8 = ["Soldier_Bodyguard_AA12_PMC_DZ","CIV_Contractor2_BAF","BAF_crewman_DDPM","BAF_Soldier_FAC_DDPM","BAF_Soldier_N_DDPM","BAF_Soldier_Marksman_DDPM","BAF_Soldier_Officer_DDPM","BAF_Soldier_L_DDPM"]; Clothing9 = ["TK_INS_Soldier_EP1_DZ","TK_Commander_EP1","TK_Soldier_Crew_EP1","TK_Soldier_MG_EP1","TK_Special_Forces_MG_EP1","TK_INS_Bonesetter_EP1"]; Clothing10 = ["Survivor2_DZ"]; Clothing11 = ["FR_Rodriguez_DZ","FR_Corpsman","FR_GL","FR_Light","FR_Marksman","FR_R","FR_Sapper","FR_TL"]; // Overwatch //Hero Clothing12 = ["Drake_Light_DZ"]; Clothing13 = ["Soldier_Sniper_PMC_DZ"]; Clothing14 = ["CZ_Soldier_Sniper_EP1_DZ"]; Clothing15 = ["Camo1_DZ"]; Clothing16 = ["Rocket_DZ"]; Clothing17 = ["Sniper1_DZ"]; Clothing18 = ["Soldier_TL_PMC_DZ"]; Clothing19 = ["GUE_Soldier_Sniper_DZ"]; Clothing20 = ["TK_INS_Warlord_EP1_DZ"]; //Bandit Clothing21 = ["Bandit1_DZ"]; Clothing22 = ["Bandit2_DZ"]; Clothing23 = ["BanditW1_DZ"]; Clothing24 = ["BanditW2_DZ"]; Clothing25 = ["GUE_Commander_DZ"]; Clothing26 = ["GUE_Soldier_2_DZ"]; Clothing27 = ["GUE_Soldier_CO_DZ"]; AllPlayers = AllPlayers + Clothing1 + Clothing2 + Clothing3 + Clothing4 + Clothing5 + Clothing6 + Clothing7 + Clothing8 + Clothing9 + Clothing10 + Clothing11 + Clothing12 + Clothing13 + Clothing14 + Clothing15 + Clothing16 + Clothing17 + Clothing18 + Clothing19 + Clothing20 + Clothing21+ Clothing22+ Clothing23+ Clothing24+ Clothing25+ Clothing26+ Clothing27 ; Follow Overpoch 2 and so on Zupa.
-
Single Currency 3.0 & Storage DEFAULT HIVE ( No global banking). AKA: ZSC RELEASE 1: INDEPENDENT RELEASE ( No converting script yet to convert old SC money to this version). REQUEST: If someone is good with MYSQL can he complete the qyuery on the bottom of this post? ^^ limited time here ^^. What is it? This script replaces gold,silver,tin,copper,briefcases by 1 virtual currency with a configurable name. You can buy,sell, give, receive, take (from dead bodies) and STORE this money like it was a normal inventory item. ( It will work with a different dialog then your gear dialog.) No more smelting gold into silver or anything related to that. Everything is in one currency ( For example "ZupasticiumCoins"). Features. Store Money in storage objects and vehicles ( max money in 1 storage depends on the size). No global access to your money. Anyone can take the money out ( for vault/lockbox it must be open of course). Trade with this currency for cars/items. Give money to other players. NO inventory issues with gold! Whats the difference with your other single currency scripts? You can use the default hive! No global bank! Back to normal epoch danger to lose cash! Cleaned up code Very low changes to default saving system. (DB friendly) NO database changes needed. NO ATMs, Safezones, atms in trader whatsoever... Store money in vehicles. Technical data: Storage money is saved in the gear section of the object in the Database Player Money is added to gear section of the player in the Database ( Again thanks to maca for pointing this out for me). Extra This build will have all of the fixes on errors out there ( Build on peterbeers all in on packages with the bugfixes). Reworked the transfering money between players to be sure trade goes to the right object/player. Store money in vehicles Credits Maca - Original private single currency. Peterbeer - for putting all fixes together in 1 pack. Soul - Hives modifications and code changes for it. ( not applied on this script, jsut credited for hard work). Rocu - Great help on forums and fixes. DraftKid - Testing and screenshots Please report bugs so I can solve them! The config located IN ZSC/gold/ZSCconfig.sqf /* Single Currency 3.0 uses storages to store money which can be accessed by anyone if open of course (safe,lockbox). Each storage has his own money, so no global access. */ // Name of your currency CurrencyName = "Coins"; // Objects that can hold money. Vehicles are added automaticly. Size of money capacity is depended on ammount of magazines the object can hold. ZSC_MoneyStorage = ["VaultStorage","LockboxStorage","StorageShed_DZ","OutHouse_DZ","Wooden_shed_DZ","WoodShack_DZ","GunRack_DZ","WoodCrate_DZ","TentStorage","TentStorageDomed","TentStorageDomed2"]; // Multiplier how much money an object can hold. This number X ammount of magazines it can hold. ( so URAL -> 500 items * 1000 = 5 MIL cash). ZSC_MaxMoneyInStorageMultiplier = 1000; // (True = No Animation / False = Animation) InstantTrading = false; // If TRUE: overwrite yours player_switchmodel with mine. | IF False: Change content yourself @ step D ZSC_Overwrite_SwitchModel = true; // if TRUE: Overwrites yours fn_selfactions with default 1 + edits. | IF False: Change content yourself @ step D ZSC_Overwrite_SelfActions = true; // if TRUE: Overwrites yours fn_selfactions with default 1 + edits. | IF False: Change content yourself @ step D ZSC_Overwrite_UnLockVault = true; // if TRUE: Overwrites yours fn_selfactions with default 1 + edits. | IF False: Change content yourself @ step D ZSC_Overwrite_LockVault = true; /* IF YOU USE different mods like P4L it's recommended to do changes yourself or it wont work */ There are pbo's provided for cherno 11. Or follow the installation instructions https://github.com/EpochSC/SingleCurrencyStorage Installation instructions. ( TRIED TO KEEP IT NOOB FRIENDLY ^^) If u are going to use the full pbo?! The missions.sqm is build for OVERPOCH. Delete the overwatch addons if you are just using it for Epoch. MISSION PBO A ) In your init.sqf: A 1) You must have /*ZSC*/ DZE_ConfigTrader = true; /*ZSC*/ in the top section ( for example right above "EpochEvents"); Place if you do not have it yet. ZSC requires Config traders, It will also help your server reduce lag! A 2) PLACE /*ZSC*/ call compile preprocessFileLineNumbers "ZSC\gold\ZSCinit.sqf"; /*ZSC*/ ABOVE progressLoadingScreen 0.5; A 3) PLACE execVM "ZSC\compiles\playerHud.sqf"; RIGHT UNDER _playerMonitor = [] execVM "\z\addons\dayz_code\system\player_monitor.sqf"; A 4 ) Change call compile preprocessFileLineNumbers "server_traders.sqf"; to call compile preprocessFileLineNumbers "server_traders_cherno_11.sqf"; ON THE BOTTOM OF THIS TOPIC THERE WILL BE AN EXPLANATION FOR OTHER MAPS / INSTANCES. A 5 ) MAKE SURE _serverMonitor = [] execVM "\z\addons\dayz_server\system\server_monitor.sqf"; this line is custom and doesnt have dayz_code in it. It should point at dayz_server or if u use another script to where ever that places it. B ) In your description.ext B 1) Place #include "ZSC\config\cfgServerTrader.hpp" on the complete top. B 2 ) Add if you do not have a RscTitles yet! class RscTitles { #include "ZSC\config\ZSChud.hpp" }; at the bottom. IF U ALREADY HAVE IT just add #include "ZSC\config\ZSChud.hpp" behind whatever is in there. B 3 ) JUST ADD AT THE COMPLETE BOTTOM #include "ZSC\config\ZSCdefines.hpp" #include "ZSC\config\ZSCdialogs.hpp" B 4 ) If you come from another currency, u can remove the shit that was extra added in that one :). C ) COPY FILES C 1 ) Place the ZSC folder in your mission pbo ( take it out of the github's missions pbo). C 2 ) Place server_traders_cherno_11.sqf in your missions pbo. ( If other map/instance check bottom of the topic.). D ) fn_selfactions ( IF you use my overwrite, u do not have to to this step. D 1 )PLACE if(_typeOfCursorTarget in ZSC_MoneyStorage && (player distance _cursorTarget < 5)) then { if (s_bank_dialog < 0) then { s_bank_dialog = player addAction ["Money Storage", "ZSC\actions\bank_dialog.sqf",_cursorTarget, 3, true, true, "", ""]; }; } else { player removeAction s_bank_dialog; s_bank_dialog = -1; }; // cars if( _isVehicle && !_isMan &&_isAlive && !_isMan && !locked _cursorTarget && !(_cursorTarget isKindOf "Bicycle") && (player distance _cursorTarget < 5)) then { if (s_bank_dialog2 < 0) then { s_bank_dialog2 = player addAction ["Money Storage", "ZSC\actions\bank_dialog.sqf",_cursorTarget, 3, true, true, "", ""]; }; } else { player removeAction s_bank_dialog2; s_bank_dialog2 = -1; }; AFTER } else { {player removeAction _x} count s_player_combi;s_player_combi = []; s_player_unlockvault = -1; }; D 2 ) if (_isMan and _isAlive and !_isZombie and !_isAnimal and !(_traderType in serverTraders)) then { if (s_givemoney_dialog < 0) then { s_givemoney_dialog = player addAction [format["Give Money to %1", (name _cursorTarget)], "ZSC\actions\give_player_dialog.sqf",_cursorTarget, 3, true, true, "", ""]; }; } else { player removeAction s_givemoney_dialog; s_givemoney_dialog = -1; }; ABOVE if(_typeOfCursorTarget in dayz_fuelpumparray) then { D 3 ) CHANGE if (_player_studybody) then { if (s_player_studybody < 0) then { s_player_studybody = player addAction [localize "str_action_studybody", "\z\addons\dayz_code\actions\study_body.sqf",_cursorTarget, 0, false, true, "",""]; }; } else { player removeAction s_player_studybody; s_player_studybody = -1; }; INTO if (_player_studybody) then { if (s_player_studybody < 0) then { s_player_studybody = player addAction [("<t color=""#FF0000"">"+("Check Wallet") + "</t>"), "ZSC\actions\check_wallet.sqf",_cursorTarget, 0, false, true, "",""]; }; } else { player removeAction s_player_studybody; s_player_studybody = -1; }; D 4 ) ADD player removeAction s_givemoney_dialog; s_givemoney_dialog = -1; player removeAction s_bank_dialog; s_bank_dialog = -1; player removeAction s_bank_dialog2; s_bank_dialog2 = -1; BEHIND player removeAction s_player_towing; s_player_towing = -1; player removeAction s_player_fuelauto; s_player_fuelauto = -1; player removeAction s_player_fuelauto2; s_player_fuelauto2 = -1; D 5 ) TO remove the client side errors u getting add in your VARIABLES.SQF s_givemoney_dialog = -1; s_bank_dialog = -1; s_bank_dialog2 = -1; TO dayz_resetSelfActions = { E ) player_switchModel.sqf again, if u overwriten with mine in first step, u can skip. E 1 ) add _cashMoney = player getVariable["cashMoney",0]; behind _weapons = weapons player; _countMags = call player_countMagazines; _magazines = _countMags select 0; E 2 ) Add player setVariable ["cashMoney",_cashMoney,true]; on the BOTTOM E 3 ) CHANGE //Create New Character _group = createGroup west; _newUnit = _group createUnit [_class,dayz_spawnPos,[],0,"NONE"]; _newUnit setPosATL _position; _newUnit setDir _dir; into _group = createGroup west; _newUnit = _group createUnit [_class,dayz_spawnPos,[],0,"NONE"]; [_newUnit] joinSilent createGroup WEST; _newUnit setPosATL _position; _newUnit setDir _dir; _newUnit setVariable ["cashMoney",_cashMoney,true]; F) You can use my unclockVault in ZSCinit, If u got a custom one, do the following changes: F1) place _objMoney = _obj getVariable["bankMoney",0]; behind _dir = direction _obj; _pos = _obj getVariable["OEMPos",(getposATL _obj)]; _objectID = _obj getVariable["ObjectID","0"]; _objectUID = _obj getVariable["ObjectUID","0"]; F 2) place _holder setVariable ["bankMoney", _objMoney, true]; behind _holder setVariable["CharacterID",_ownerID,true]; _holder setVariable["ObjectID",_objectID,true]; _holder setVariable["ObjectUID",_objectUID,true]; _holder setVariable ["OEMPos", _pos, true]; E) in LockVault.sqf if u got a custom one, otherwise use mine and set true in config: E1 ) place) _objMoney = _obj getVariable["bankMoney",0]; behind _ownerID = _obj getVariable["CharacterID","0"]; _objectID = _obj getVariable["ObjectID","0"]; _objectUID = _obj getVariable["ObjectUID","0"]; E2 ) place _holder setVariable ["bankMoney", _objMoney, true]; behind _holder setVariable["CharacterID",_ownerID,true]; _holder setVariable["ObjectID",_objectID,true]; _holder setVariable["ObjectUID",_objectUID,true]; _holder setVariable ["OEMPos", _pos, true]; SERVER PBO A ) REPLACE your "compiles/server_tradeObject.sqf" With my one ( not other script uses that anyways). B ) IN compiles/server_updateObject.sqf Change _inventory = [ getWeaponCargo _object, getMagazineCargo _object, getBackpackCargo _object ]; into _inventory = [ getWeaponCargo _object, getMagazineCargo _object, getBackpackCargo _object /*ZSC*/ , _object getVariable["bankMoney",0] /*ZSC*/ ]; C ) In your server_monitor.sqf ( NOTE: the " _intentory' variable can be called "_inventory" at your files, so change my code to that, if it's the case). Add /*ZSC*/ if( count (_intentory) > 3)then{ _object setVariable ["bankMoney", _intentory select 3, true]; }else{ _object setVariable ["bankMoney", 0, true]; }; /*ZSC*/ ABOVE if (_type in DZE_LockedStorage) then { // Fill variables with loot _object setVariable ["WeaponCargo", (_intentory select 0),true]; _object setVariable ["MagazineCargo", (_intentory select 1),true]; _object setVariable ["BackpackCargo", (_intentory select 2),true]; } else { D) in compiles/server_playerSync.sqf Change _playerGear = [weapons _character,_magazines]; into _playerGear = [weapons _character,_magazines, _character getVariable["cashMoney",0]]; NOTE: in the gold init i use a custom gearSet.sqf If u would have a custom one, it's defined in the ZSCinit.sqf. Only differnecy will be the top where it checks for the money in your gear sections. FAQ! I use a different instance/map to play one! What do i do? The only things that difference between maps where u need to worrie about is the server_traders.sqf. I included them for 4 maps, if your map is NOT in there u will have to change your original one. FAIR SIMPLE: 1) Take your original server_traders 2) Open one of mine 3) Copy my categories with the correct numbes to your traders. You can choose also which traders sells what then ^^. 4) Share your file to me so i can put it in the list Does it work with Overpoch(ins). Simple: Yes, Everything with epoch as base. Overwatch items or included in traders, remove the categories if you do not use them. Can i convert from the older system? You will have to revert your database to the default structure and maybe transfer money. Banks added to the players cash is the best solution. How do i see my money and bank? 1 - Bank will not be visible cus their is none. You store money in storages like other items ( but in a different dialog). So the money can be accessed by anyone that has access to that storage. 2- Money is visisble with a money icon on the right side of the screen. Feel free to add it to other places aswell. This will return your money: player getVariable["cashMoney",0]; Can I use it with database traders? No, this build is made for config traders. No support (Yet). Screenshots I probably will code this inthe default epoch code and send a merge request to Epoch Devs with an option to do DZE_SingleCurrency = true/false; And if they accept it , it might be in 1.6 ^^
-
Before I get into this... THANK ZUPA FOR THE SCRIPT! DZMS Ai with Gold Coins Script / Addon Onto the tutorial! Open up: DZMSAISpawn.sqf which is located in: Server.pbo > DZMS > Scripts Once you've opened up DZMSAISpawn.sqf, search for this: //Add the behaviour _unit enableAI "TARGET"; _unit enableAI "AUTOTARGET"; _unit enableAI "MOVE"; _unit enableAI "ANIM"; _unit enableAI "FSM"; _unit setCombatMode "YELLOW"; _unit setBehaviour "COMBAT"; Below the last line add this: //Zupa Currency _unit setVariable["headShots",20,true]; So it will look like this: //Add the behaviour _unit enableAI "TARGET"; _unit enableAI "AUTOTARGET"; _unit enableAI "MOVE"; _unit enableAI "ANIM"; _unit enableAI "FSM"; _unit setCombatMode "YELLOW"; _unit setBehaviour "COMBAT"; //Zupa Currency _unit setVariable["headShots",20,true]; Once you have done this repack and upload! Your done! Configuration Value If you want to change the value of the money spawning on each AI,change the value: _unit setVariable["headShots",20,true]; to _unit setVariable["headShots",WHATEVER YOU WANT,true]; Souls HIVE If you are using Souls HIVE, then instead of: _unit setVariable["headShots",20,true]; Change to: _unit setVariable["CashMoney",5000,true]; Variable Value If you want the AI to spawn variable values then add this: _cash = round(random 20) * 1000; // number between 0 and 20 000 Above this: _unit setVariable["headShots",20,true]; But change the line above to _unit setVariable["headShots",_cash,true]; This will spawn money on the AI between 0 and 20,000 Gold Coins on each AI Special thanks to: MCPimpin - Original Poster Zupa - Single Currency and AI Addon Soul - Custom Hive for Single Currency TheVampire - DZMS Links: I take no credit, just informing people! See it working at: 206.221.176.66:2602
- 8 replies
-
- Gold Coins
- SC
-
(and 4 more)
Tagged with:
-
Version 2.1 Released. Alternative selling/buying system. ( Run default & this one next to each other ). Supported: Config traders Single Currency & Default Currency Selling/Buying everything from and to Gear/Vehicle/Backpack Not supported No database traders (database traders make your server slow) No ability to buy or sell vehicles. What was added to 2.0 Default Currency Supported Item Filter Info display of selected Item Buying to gear and backpack What was added to 2.1Fixed content display of vehicles and backpacks. Description Sell directly from backpack, gear or the vehicle ( close) where you were driver from. Decide which items you sell. Traders will only make it possible to trade the items they accept ( goes fully automatic, so only items they accept will be listed on the left). You push items to the right to sell, only the items on the right willl get sold. Safety measurements Double checks what was deleted from backpacks/vehicles so that people can not cheat. Can only sell from your backpack and the vehicle were u was the last driver from ( in 30m radius) Update 1.0 - 2.0 instructions Delete your old 'zupa' folder Paste the new 'zupa' folder Edit the config.sqf to match your server Done https://github.com/DevZupa/AdvancedTrading/releases/tag/v2.1 Items only show for admins when using infiSTAR AH & Admintools ?! Update infiSTAR to latest version. edit config.sqf to reflect your server correctly. Installation instructions Code: https://github.com/DevZupa/AdvancedTrading/releases/tag/v2.1 Install Instructions 0. Drop the zupa folder in your mission file 1. In your fn_selfactions.sqf Place: _buyV = player addAction ["<t color='#0059FF'>Advanced Trading</t>", "zupa\advancedTrading\init.sqf",(_traderMenu select 0), 999, true, false, "",""]; s_player_parts set [count s_player_parts,_buyV]; above // Database menu _buy = player addAction [localize "STR_EPOCH_PLAYER_289", "\z\addons\dayz_code\actions\show_dialog.sqf",(_traderMenu select 0), 999, true, false, "",""]; s_player_parts set [count s_player_parts,_buy]; 2. in description.ext, add the following on the bottom #include "zupa\advancedTrading\ZSCdefines.hpp" // if u don't have it from ZSC #include "zupa\advancedTrading\advancedTrading.hpp" 3. Add the following exceptions to your antihack if needed AdvancedTrading 711197 4. Edit the config.sqf to match your server. Screenshots:
-
I'm going to have a look at getting Single Currency Banking on 1.0.6, but I'm looking at the server files on github ( https://github.com/EpochSC/SingleCurrencyBanking/tree/master/999_Hive_Version/Version 1.1/PBOs/dayz_server ) and it seems like it's all of the 1.0.5.1 files but with stuff added for handling the banks. Merging/checking every single file would take too long. I can't copy + paste then replace the old files because they're 1.0.5.1 files and too different to 1.0.6. (Merging the mission files is do-able.) Anyone got any ideas/hints? (Sidenote: where I see "headShots" in the code, I need to replace that with "Coins", right? The new database layout has the extra column named "Coins", so we no longer need to read from the headShots value?) Thanks.
- 5 replies
-
- zupa
- dayz_server
-
(and 2 more)
Tagged with:
-
In debug on my server, ServerUpTime is not showing at all. Would like to know what is the reason for that. Here is my playerhud.sqf disableSerialization; // player setVariable["AsReMixhud", true];//Variable Show/Hide HUD Support for control player hud AsReMixhud_Control = true; // player getVariable["AsReMixhud",true]; while {true} do { 1000 cutRsc ["AsReMixhud","PLAIN"]; _wpui = uiNameSpace getVariable "AsReMixhud"; _vitals = _wpui displayCtrl 4900; _thePlayer = player; AsReMixhud_zombieKills = _thePlayer getVariable["zombieKills",0]; AsReMixhud_headshots = _thePlayer getVariable["headShots",0]; AsReMixhud_killsH = _thePlayer getVariable["humanKills",0]; Zupa_bank = _thePlayer getVariable["bank",0]; AsReMixhud_killsB = _thePlayer getVariable["banditKills",0]; AsReMixhud_humanity = _thePlayer getVariable["humanity",0]; AsReMixhud_zombies = ""; AsReMixhud_zombiesAlive = ""; AsReMixhud_blood = _thePlayer getVariable["USEC_BloodQty",12000]; AsReMixhud_pid = ""; AsReMixhud_puid = ""; AsReMixhud_hmnicon = ""; AsReMixhud_fps = (round diag_fps); AsReMixhud_svrname = "Amnesia"; _stime = 0; if(serverTime > 36000)then{_stime = time;}else{_stime = serverTime;}; _hours = (_stime/60/60); _hours = toArray (str _hours); _hours resize 1; _hours = toString _hours; _hours = compile _hours; _hours = call _hours; _minutes = floor(_stime/60); _minutes2 = ((_minutes - (_hours*60)) min 60) max 0;if (_minutes2 < 10) then {_minutes2 = format ['0%1',_minutes2];}; //if(AsReMixhud_humanity >= 5000) then { AsReMixhud_hmnicon = "<img size='0.8' image='addons\playerhud\icons\As_hmhero.paa'/>"; }; //if((AsReMixhud_humanity >= 200) && (AsReMixhud_humanity <= 4999)) then { AsReMixhud_hmnicon = "<img size='0.8' image='addons\playerhud\icons\As_hmcivil.paa'/>"; }; // if(AsReMixhud_humanity <= 199) then { AsReMixhud_hmnicon = "<img size='0.8' image='addons\playerhud\icons\As_hmbandit.paa'/>"; }; _vitals ctrlSetStructuredText parseText format [" <t size='0.8' align='right'>Zupa - AsRemix</t><br/> <t size='0.9'> %1 </t><img size='0.8' align='right' image='addons\playerhud\icons\As_health.paa'/> <br/> <t size='0.9'> %2 %5 </t><img size='0.8' align='right' image='addons\playerhud\icons\As_humanity.paa'/> <br/> <t size='0.9'> %3 </t><img size='0.8' align='right' image='addons\playerhud\icons\dollars.paa'/> <br/> <t size='0.9'> %14 </t><img size='0.8' align='right' image='addons\playerhud\icons\equip_safe_CA.paa'/> <br/> <t size='0.9'> %10 </t><img size='0.8' align='right' image='addons\playerhud\icons\As_killh.paa'/> <br/> <t size='0.9'> %9 </t><img size='0.8' align='right' image='addons\playerhud\icons\As_killb.paa'/> <br/> <t size='0.9'> %4 </t><img size='0.8' align='right' image='addons\playerhud\icons\As_zkill.paa'/> <br/> <t size='0.8' align='right'>%13 FPS</t><br/> <t size='0.8' align='right'>%11h %12min UPTIME</t><br/>", AsReMixhud_blood, //1 AsReMixhud_humanity,//2 AsReMixhud_headshots,//3 AsReMixhud_zombiekills,//4 AsReMixhud_hmnicon,//5 name player,//6 AsReMixhud_zombiesAlive,//7 AsReMixhud_zombies,//8 AsReMixhud_killsB,//9 AsReMixhud_killsH,//10 _hours,//11 _minutes2,//12 AsReMixhud_fps,//13 Zupa_bank,//14 AsReMixhud_svrname//15 ]; _vitals ctrlCommit 0; sleep 2; };
-
I have a problem getting blood work in zupa - asremix debug monitor. Debug ingame For somereason it shows humanity on blood. Here is my playerhud.sqf disableSerialization; // player setVariable["AsReMixhud", true];//Variable Show/Hide HUD Support for control player hud AsReMixhud_Control = true; // player getVariable["AsReMixhud",true]; while {true} do { 1000 cutRsc ["AsReMixhud","PLAIN"]; _wpui = uiNameSpace getVariable "AsReMixhud"; _vitals = _wpui displayCtrl 4900; _thePlayer = player; AsReMixhud_zombieKills = _thePlayer getVariable["zombieKills",0]; AsReMixhud_headshots = _thePlayer getVariable["headShots",0]; AsReMixhud_killsH = _thePlayer getVariable["humanKills",0]; Zupa_bank = _thePlayer getVariable["bank",0]; AsReMixhud_killsB = _thePlayer getVariable["banditKills",0]; AsReMixhud_humanity = _thePlayer getVariable["humanity",0]; AsReMixhud_zombies = ""; AsReMixhud_zombiesAlive = ""; AsReMixhud_blood = _thePlayer getVariable["USEC_BloodQty",12000]; AsReMixhud_pid = ""; AsReMixhud_puid = ""; AsReMixhud_hmnicon = ""; AsReMixhud_fps = (round diag_fps); AsReMixhud_svrname = "Amnesia"; _stime = 0; if(serverTime > 36000)then{_stime = time;}else{_stime = serverTime;}; _hours = (_stime/60/60); _hours = toArray (str _hours); _hours resize 1; _hours = toString _hours; _hours = compile _hours; _hours = call _hours; _minutes = floor(_stime/60); _minutes2 = ((_minutes - (_hours*60)) min 60) max 0;if (_minutes2 < 10) then {_minutes2 = format ['0%1',_minutes2];}; //if(AsReMixhud_humanity >= 5000) then { AsReMixhud_hmnicon = "<img size='0.8' image='addons\playerhud\icons\As_hmhero.paa'/>"; }; //if((AsReMixhud_humanity >= 200) && (AsReMixhud_humanity <= 4999)) then { AsReMixhud_hmnicon = "<img size='0.8' image='addons\playerhud\icons\As_hmcivil.paa'/>"; }; // if(AsReMixhud_humanity <= 199) then { AsReMixhud_hmnicon = "<img size='0.8' image='addons\playerhud\icons\As_hmbandit.paa'/>"; }; _vitals ctrlSetStructuredText parseText format [" <t size='0.8' align='right'>Zupa - AsRemix</t><br/> <t size='0.9'> %2 </t><img size='0.8' align='right' image='addons\playerhud\icons\As_health.paa'/> <br/> <t size='0.9'> %2 %5 </t><img size='0.8' align='right' image='addons\playerhud\icons\As_humanity.paa'/> <br/> <t size='0.9'> %3 </t><img size='0.8' align='right' image='addons\playerhud\icons\dollars.paa'/> <br/> <t size='0.9'> %14 </t><img size='0.8' align='right' image='addons\playerhud\icons\equip_safe_CA.paa'/> <br/> <t size='0.9'> %10 </t><img size='0.8' align='right' image='addons\playerhud\icons\As_killh.paa'/> <br/> <t size='0.9'> %9 </t><img size='0.8' align='right' image='addons\playerhud\icons\As_killb.paa'/> <br/> <t size='0.9'> %4 </t><img size='0.8' align='right' image='addons\playerhud\icons\As_zkill.paa'/> <br/> <t size='0.8' align='right'>%13 FPS</t><br/> <t size='0.8' align='right'>%11h %12min UPTIME</t><br/>", AsReMixhud_blood, //1 AsReMixhud_humanity,//2 AsReMixhud_headshots,//3 AsReMixhud_zombiekills,//4 AsReMixhud_hmnicon,//5 name player,//6 AsReMixhud_zombiesAlive,//7 AsReMixhud_zombies,//8 AsReMixhud_killsB,//9 AsReMixhud_killsH,//10 _hours,//11 _minutes2,//12 AsReMixhud_fps,//13 Zupa_bank,//14 AsReMixhud_svrname//15 ]; _vitals ctrlCommit 0; sleep 2; }; Help me I have no idea :D
- 1 reply
-
- playerhud.sqf playerhud blood zupa
- playerhud
- (and 4 more)
-
[RELEASE] Door Management - No More Codes First release ONLY for Plot 4 Life users. Tired of giving in codes? Which code belongs to which door anyways? Geezus, some guy put a bot on my door to break the code. FUCK THAT Here comes Door Management. Throw away your codes and enjoy a simple eye scan. Add your friends to your list on the door an enjoy a stress free "door opening" experience. Door opening too fast? dont worry just put the opening time a bit longer. Inspired by plotManagement but now for Doors! If you press the unlock action you will not see a code dialog anymore. My dialog overwrites this dialog with my personal one. Here you get to simple action to press EYE SCAN. This will open the door after 2 seconds of scanning. Fails when you are not on the manage list ofcourse. Only people on the manage list can manage the door ofcourse. Owner will be alwyas highest authority and can never be erased. (Thanks P4L - Rimblock). [insert Image of the manage window here when i'm @ home, or anyone else provide it in the meantime] If you press manual code you get the old dialog back. You can disable this in the config section. This Scripts DOES not change anything gamebreaking or database related. The door code is still being used, but only codewise (back-end). You dont see anything in the front-end. Instructions 0 - Download the files from github: https://github.com/DevZupa/DoorManagement 1 - in your description.ext: ( Mission PBO ) Add to the bottom: ( THE DEFINES IS UPDATED, overwrite any other defines i gave u at other mods of mine!) If you get any duplicates of classes, just delete them from the defines.hpp, problem solved. #include "doorManagement\defines.hpp" #include "doorManagement\doorUnlock.hpp" #include "doorManagement\doorManagement.hpp" #include "doorManagement\ComboLockUI.hpp" 2 - In your compiles.sqf: ( Mission PBO ) Add the following lines /*DoorManagement Zupa*/ DoorGetFriends = compile preprocessFileLineNumbers "doorManagement\doorGetFriends.sqf"; DoorNearbyHumans = compile preprocessFileLineNumbers "doorManagement\doorNearbyHumans.sqf"; DoorAddFriend = compile preprocessFileLineNumbers "doorManagement\doorAddFriend.sqf"; DoorRemoveFriend = compile preprocessFileLineNumbers "doorManagement\doorRemoveFriend.sqf"; player_unlockDoor = compile preprocessFileLineNumbers "doorManagement\player_unlockDoor.sqf"; player_unlockDoorCode = compile preprocessFileLineNumbers "doorManagement\player_unlockDoorCode.sqf"; player_manageDoor = compile preprocessFileLineNumbers "doorManagement\initDoorManagement.sqf"; player_enterCode = compile preprocessFileLineNumbers "doorManagement\player_enterCode.sqf"; player_changeCombo = compile preprocessFileLineNumbers "doorManagement\player_changeCombo.sqf"; /*DoorManagement End*/ Above BIS_Effects_Burn = compile preprocessFile "\ca\Data\ParticleEffects\SCRIPTS\destruction\burn.sqf"; AND place "//" infront of the normal player_actions so it looks like this: // player_unlockDoor = compile preprocessFileLineNumbers "defaultfile.sqf"; //player_changeCombo = compile preprocessFileLineNumbers "defaultfike.sqf"; 3 - Variables.sqf: Add somewhere at the top: NOT FIRST LINE: /**DoorManagement Config**/ DoorAdminList = ["-2","-3"]; // List of Player Id's of admins that can manage all doors AllowManualCode = true;// 2 reason| 1: Allows breaking codes (if 2nd config = false and code = 3 digits) | 2: Friends can access access not owned doors until owner gets on. HarderPenalty = true;// Cen's Penalty: Flashes screen white. And kicks player to lobby if failed more then (random number between 4 and 14) times. // AllowUncrackableCode = false; // in next release: if set to true, player can change code to more then 4 digits, The manualCode will always fail when he does. THIS is for AntiCodeCrack servers that allow Manual Code for people that like that system. // in next release. AllowManualCode will allow players to change the code in the DoorManagement Menu. /**DoorManagement Config END**/ DZE_DoorsLocked = ["Land_DZE_GarageWoodDoorLocked","Land_DZE_LargeWoodDoorLocked","Land_DZE_WoodDoorLocked","CinderWallDoorLocked_DZ","CinderWallDoorSmallLocked_DZ"]; 4 - FN_SELFACTIONS.SQF: a - Add the following player removeAction s_player_manageDoor; s_player_manageDoor = -1; // u might also want to add this to variables reset in your variables.sqf Under player removeAction s_player_barkdog; s_player_barkdog = -1; player removeAction s_player_warndog; s_player_warndog = -1; player removeAction s_player_followdog; s_player_followdog = -1; b - Place the following: //Allow manage door if((_typeOfCursorTarget in DZE_DoorsLocked)) then { if (s_player_manageDoor < 0) then { s_player_manageDoor = player addAction ["<t color='#0059FF'>Manage Door</t>", "doorManagement\initDoorManagement.sqf", _cursorTarget, 5, false]; }; } else { player removeAction s_player_manageDoor; s_player_manageDoor = -1; }; above //Allow owner to unlock vault Now in the Server.pbo 5 - server_monitor.sqf ( Mostly found in dayz_server/system/ if you are not using any modded one). a) place if (typeOf (_object) in DZE_DoorsLocked) then { _object setVariable ["doorfriends", _intentory, true]; }; under _object = createVehicle [_type, _pos, [], 0, "CAN_COLLIDE"]; B - Find ( IF NOT USING PLOTMANAGEMENT ) if (count _intentory > 0) then { Replace that with if ((count _intentory > 0) && !(typeOf( _object) in DZE_DoorsLocked)) then { B - IF USING PLOT MANAGEMENT, REplace: if ((count _intentory > 0) && !(typeOf( _object) == "Plastic_Pole_EP1_DZ")) then { With if ((count _intentory > 0) && !(typeOf( _object) == "Plastic_Pole_EP1_DZ") && !(typeOf( _object) in DZE_DoorsLocked)) then { 6 - server_UpdateObject.sqf ( Mostly found in dayz_server/compile/ if you are not using any modded one). Change _inventory = [ getWeaponCargo _object, getMagazineCargo _object, getBackpackCargo _object ]; into ( IF NOT using PLotManagement) _isNormal = true; if (typeOf (_object)in DZE_DoorsLocked) then{ _isNormal = false; _inventory = _object getVariable ["doorfriends", []]; //We're replacing the inventory with UIDs for this item }; if(_isNormal)then { _inventory = [ getWeaponCargo _object, getMagazineCargo _object, getBackpackCargo _object ]; }; IF USING PLOT MANAGEMENT Change if (typeOf (_object) == "Plastic_Pole_EP1_DZ") then{ _inventory = _object getVariable ["plotfriends", []]; //We're replacing the inventory with UIDs for this item } else { _inventory = [ getWeaponCargo _object, getMagazineCargo _object, getBackpackCargo _object ]; }; Into _isNormal = true; if (typeOf (_object) == "Plastic_Pole_EP1_DZ") then{ _isNormal = false; _inventory = _object getVariable ["plotfriends", []]; //We're replacing the inventory with UIDs for this item }; if (typeOf (_object)in DZE_DoorsLocked) then{ _isNormal = false; _inventory = _object getVariable ["doorfriends", []]; //We're replacing the inventory with UIDs for this item }; if(_isNormal)then { _inventory = [ getWeaponCargo _object, getMagazineCargo _object, getBackpackCargo _object ]; }; Infistar Antihack If you're running Infistar Antihack, add this to the dialogs array; 711195, 41144 And this to the '_cMenu =' section "DoorManagement","Entercode" IMPORTANT FOR NON PLOT 4 LIFE USERS
-
ZBot ( An experimental project. ) -> For any BattlEye rcon game supported! Current version: 1.0.1 A Discord bot that can roam your Discord server and function as an RCON client for your BattlEye game servers. Screenshots at the bottom. What can it do? Print all chats in different discord text channels in their respective colours ( Side, Vehicle, Global, ... ). (Tip: Print sidechat in a channel that everyone can read !) Execute RCON & Server commands to your arma server in the assigned Command channel. Protect these commands with an appropriate Discord Role. Reply to user commands when they type ingame. These replies can be printed ingame and in discord. ( eg: !admin -> Admins can be found on discord -> @Admin some asked for an admin ingame. ) Webpanel to configure your rcon-game servers. List players, admins & bans trough rcon commands. ( All BattleEye commands supported ). UPCOMING in next version: Schedule text commands for ingame/discord through the web panel. How to add it to my server? https://bot.devzupa.be/ Follow the flow of the site. It should be straightforward. Always remember to save a page if needed before navigating to another page! Add the bot before or after you filled in all the info. ( The button on top ). Always be sure the chosen roles and channel exist in your discord server! ( channel names are without the # ) Whenever you make changes in the config panel you need to reload the config of your server onto the bot. This can be easily done by just typing in a channel: !zbot reload This commands also refreshes your rcon instance if it would have stopped for some reason. All rcon commands can be viewed in the assigned 'command' discord channel. List these commands by typing !rcon All commands are prefixed with that aswell. 1 example for a global message by the bot: !rcon say all Welcome you our server! All rcon commands: # ZBot BattlEye RCON commands **All commands are prefixed with !rcon** ## Commands players List all players admins List all admins bans List all bans load scripts Reloads al BE scripts load events Reloads al BE events say all [text] Sends text to all users say [playerId] [text] Sends text to specific user id MaxPing [ping] Sets the maxping of the serve. kick [playerId] [reason] Kicks player (eg: kick 32 Language pls.) ban [playerId] [minutes] Bans online player (eg: ban 11 0 Duping) 0 = forever [reason] addBan [GUID|IP] Bans on/off player (eg: addBan 127.0.0.1 0 Duping) [minutes] [reason] removeBan [banId] Remove bans (eg: ban 11 ) version Display the BattlEye version update Check for a newer BattlEye version loadBans Reload Bans from bans.txt writeBans Rewrite Bans to bans.txt disconnect Disconnects the rcon exit Exits the whole rcon client ## Server Commands **All commands are prefixed with !rcon** #shutdown Shutdown the GAME server #lock Locks the GAME server #unlock Unlocks the GAME server #missions Stops current missions and goes to mission list #reassign Moves all players back into the lobby #userlist Displays the list of users on the server #kick [serverPlayerId] Kicks an online player #exec ban Bans an online player [serverPlayerId] Please provide as much feedback as possible ! 1 mistake by myself can crash the whole bot. So if there are still use cases where it fails we can finetune it! You can join our discord server to discuss or report bugs ( or the topics ). https://discord.gg/WYbeSKR Technical info about the bot. Hosted in france on a good server. Coded in NodeJS ( Ecmascript 6 ). Modular build The bot will be hosted by myself until we encounter any problems we can't solve that way. If i ever stop hosting the bot i will release the sourcecode. I might also release the sourcecode earlier. ( If i know you, you can ask me for access to the code). Credits - Testers MGT -> DB Edge of Sanity -> Tobias Solem Screenshots
-
ZHB - Zupa's Hud & Builder. V1.2 Hotfix This is a selfbooting addon inside your mission pbo with easy installation. It will add a hud and hud builder on your server. Default pressing 8 for hud builder and 9 to toggle on and of. Future plans Opacity on images. More options. Saving to redis. Config to allow hud builder or to disable it Define your own keybinds. Changelog V1.2 Fixed a wrongly named variable Infistar should work now correctly. Commits https://github.com/DevZupa/ZHB-A3/commit/070b15162a10c475d2872c564fb73a22a8e377d8 https://github.com/DevZupa/ZHB-A3/commit/abb6e4da1d32d953528fd27f5302fa83388dae16 https://github.com/DevZupa/ZHB-A3/commit/afc50e71910c4ab684b41aea444cff6c981055d6 V1.1 KeyUp Handlers. Download https://github.com/DevZupa/ZHB-A3 Feel free to push fixes/addition to the git. Installation Battleye Filters in Scripts.txt Edit the following exceptions to the 7 xxx , only copy the part that starts with ! Search for the tag word and place the rest behind it. 7 displayAddEventHandler !"ZupaKeyUpWorking = (findDisplay 46) displayAddEventHandler ['KeyUp', '_this call ZHB_fnc_handleKey'];" 7 displayRemoveEventHandler !"(findDisplay 46) displayRemoveEventHandler ['KeyUp',ZupaKeyUpWorking];" 7 createDialog !="createDialog \"Z_HUD_Builder\";" 7 playableUnits !",count playableUnits ,_align,_valign" Edit your filters as stated above. Place the ZHB folder in your mission pbo. Place the folowing on the bottom of your description.ext If you already have a RscTiles or CfgFunctions, place the includes in there ofcourse. #include "ZHB\ZHudBuilder.hpp" class RscTitles { #include "ZHB\ZHud.hpp" }; class CfgFunctions { #include "ZHB\ZHB_Functions.hpp" }; 4. Add the following in your antihack as exception. Z_HUD_Builder 5001, -3 5. DONE - Change the fn_initVariables to your likings. You can edit the default hud in the initVariables.sqf // Starting positions Z_HUD_pos = [ 0,0,0,0,0,0,0,0, // Bottom SIde -> left to right 0,0,3,4,5,6,0,0, // Right Side -> bottom to top 0,0,0,0,0,0,0,0, // Top side -> right to left 0,0,0,0,0,0,0,0 // Left side -> top to bottom ]; Numbers are as following: // 0 = Nothing/ Blank // 1 fps // 2 players // 3 damage // 4 crypto // 5 hunger // 6 thirst // 7 grid // 8 fatique // 9 Restart // 10 Toxicity // 11 Stamina // 12 Energy Extra Restart timer is default disabled to be picked ( change in initVariables.sqf) icons are 6 kb paa's, CAN U BELIEVE IT? SO SMALL Screenshot
- 233 replies
-
- builder
- hudbuilder
- (and 6 more)
-
The following topic contains addons or rewritten scripts for single currency. Core Scripts Single Currency 3.0 Storage - Zupa New independet release, RECOMMENDED Single Currency 1.1 - Zupa The Scripts that makes this all happen. Currently always start installing the currency with this topic. It will set up your first version for you to choose to update to souls 2.0 updates (recommendend.) In the close future i will make an officia SC 2.0 release. Single Currency 2.0 ( Extension) - Soul The soon to be official release but currently only an update to 1.1. Install 1.1 and update to this version to enjoy the best performace and support on your server. Single Currency Development functions - Zupa These functions provide easy implementation of adding and removing money in your script to support single currency. They should be in the 1.1 and 2.0 release but better check to be sure. Single Currency Traders - Zupa This folder contains compatible traders with the cfgtraders provided. I'll try to extend it as soon as possible, if someone has working traders and is willing to share them to the list, please do contact me. SC Traders Script Extensions Maintain Single Currency (2.0 only) - Mcgough This script allows you maintain at a plotpole with cash. Smelting Items-Coins - Storm This script allows you to smelt your coins into bars and the otherway arround next to a burning object. Admins Tools & Infistar AH Single Currency actions on players - Rocu, Chunk This script allows an admin to remove/give coins from a player. Infistar AH Spectate players bank and cash - PeterBeer This script allows an admin to see cash and bank while spectating a person. Transfer Money from ATM - Rocu Allows you to transfer money form one account to antother one. Scripts made compatible with SC JAEM Chopper Evac SC - Zupa Changes to the original script to work with single currency. Axe Cop Service Points SC - Zupa Changes to the original script to work with single currency. http://epochmod.com/forum/index.php?/topic/15464-release-single-currency-axe-cop-service-points-for-sc/ Advanced Alchemical Crafting SC - Zupa Changes to the original script to work with single currency. http://epochmod.com/forum/index.php?/topic/16203-advanced-alchemical-crafting-v33/?p=126080 Axe Cop Multy Character Select SC - Soul Changes to the original script to work with single currency. Map Addons/Changes Central Chernarus Bank - Chunk, No Captain Chunk A big bank in stary http://epochmod.com/forum/index.php?/topic/16004-addon-central-chernarus-bank/ Napf Banks - Pwn3dNexus Banks for Napf Napf Banks Banker NPC's - MGM NPC's as bankers http://epochmod.com/forum/index.php?/topic/16597-release-banker-npcs-to-replace-atm-objects/ Sahrani Banks & Changes - KingRaymond795 Banks for Sahrani http://epochmod.com/forum/index.php?/topic/28432-sahrani-map-addons/ Usefull Guides Money on AI - Zupa Allows you to put money on AI. http://epochmod.com/forum/index.php?/topic/15737-put-coins-on-ai/?p=117979 Freeze Objects & Banks into place - Soul, Storm Allows you to make an item static, so it will never move. This stops players from knocking over banks. http://epochmod.com/forum/index.php?/topic/15485-how-to-stop-users-from-knocking-down-the-atm/?p=121203 Custom Debug Monitor - PeterBeer Guide + files for a more detailed debug monitor. http://epochmod.com/forum/index.php?/topic/15437-tutorial-custom-debug-stats/ Custom Default Ammount in Fields - Zupa Allows you to change the default 1 in your bank and give player dialogs. http://epochmod.com/forum/index.php?/topic/16591-resolved-in-banking-menu-default-amount-is-prepopulated-with-1/ Remove trade animations - Peterbeer, Zupa Allows you remove the trading animation http://epochmod.com/forum/index.php?/topic/15911-tutorial-remove-animation-for-trading/ Add Traders and TradersItems with Single Currency - Chunk Guide how to make new traders and add items to traders. http://epochmod.com/forum/index.php?/topic/16386-tutorial-adding-custom-traders-with-single-currency-extras/ Common Issues -> Fixed Bank Not Saving - Rocu, Soul, Zupa Common Solution to fix bank value not saving to DB. http://epochmod.com/forum/index.php?/topic/15924-issue-banking-data-not-saving-for-new-players-fixed/ Fix Money And Bank after skin change - Soul Fixes the reset of money and bank when you change clothes http://epochmod.com/forum/index.php?/topic/15449-fix-cashmoney-bankmoney-loss-after-skinchangehumanity-morph/ Fix - Better trade files - Rocu Fixes the issue of the rpt logs when trading. Does bettter logging of trade activties http://epochmod.com/forum/index.php?/topic/16750-fix-better-trade-files-proper-logging-etc/ More added later Do you think your scripts/addon/guide should get added? Give me a message and i will evaluate the possibility.
-
I've been trying to figure this out for 2 days. I have the zupa single currency and have the "check Wallet" function added to selfactions. I also have a dead player journal that can be checked. The problem is that the dead player journal also shows up on dead zombies and AI . Could you help me out with this and maybe explain how whatever you do works, just so i can maybe learn a little something from this experience? P.S. I have the check wallet function showing up on AI, Zombies, and players, and i want to keep it that way. Doesn't really matter if the journal stays on AI either, i just really dont want it on the zombies. If i could remove it from the AI, that would be great. DZAI and WAI
- 6 replies
-
- check wallet
- dead player journal
- (and 6 more)
-
i have problem with mantain cannot find objact help me this is my player_build.sqf /* DayZ Base Building Made for DayZ Epoch please ask permission to use/edit/distrubute email [email protected] */ private ["_location","_dir","_classname","_item","_hasrequireditem","_missing","_hastoolweapon","_cancel","_reason","_started","_finished","_animState","_isMedic","_dis","_sfx","_hasbuilditem","_tmpbuilt","_onLadder","_isWater","_require","_text","_offset","_IsNearPlot","_isOk","_location1","_location2","_counter","_limit","_proceed","_num_removed","_position","_object","_canBuildOnPlot","_friendlies","_nearestPole","_ownerID","_findNearestPoles","_findNearestPole","_distance","_classnametmp","_ghost","_isPole","_needText","_lockable","_zheightchanged","_rotate","_combination_1","_combination_2","_combination_3","_combination_4","_combination","_combination_1_Display","_combinationDisplay","_zheightdirection","_abort","_isNear","_need","_needNear","_vehicle","_inVehicle","_requireplot","_objHDiff","_isLandFireDZ","_isTankTrap"]; if(DZE_ActionInProgress) exitWith { cutText [(localize "str_epoch_player_40") , "PLAIN DOWN"]; }; DZE_ActionInProgress = true; // disallow building if too many objects are found within 30m if((count ((getPosATL player) nearObjects ["All",DZE_PlotPole select 0])) >= DZE_BuildingLimit) exitWith {DZE_ActionInProgress = false; cutText [(localize "str_epoch_player_41"), "PLAIN DOWN"];}; _onLadder = (getNumber (configFile >> "CfgMovesMaleSdr" >> "States" >> (animationState player) >> "onLadder")) == 1; _isWater = dayz_isSwimming; _cancel = false; _reason = ""; _canBuildOnPlot = false; _vehicle = vehicle player; _inVehicle = (_vehicle != player); DZE_Q = false; DZE_Z = false; DZE_Q_alt = false; DZE_Z_alt = false; DZE_Q_ctrl = false; DZE_Z_ctrl = false; DZE_5 = false; DZE_4 = false; DZE_6 = false; DZE_cancelBuilding = false; call gear_ui_init; closeDialog 1; if (_isWater) exitWith {DZE_ActionInProgress = false; cutText [localize "str_player_26", "PLAIN DOWN"];}; if (_inVehicle) exitWith {DZE_ActionInProgress = false; cutText [(localize "str_epoch_player_42"), "PLAIN DOWN"];}; if (_onLadder) exitWith {DZE_ActionInProgress = false; cutText [localize "str_player_21", "PLAIN DOWN"];}; if (player getVariable["combattimeout", 0] >= time) exitWith {DZE_ActionInProgress = false; cutText [(localize "str_epoch_player_43"), "PLAIN DOWN"];}; _item = _this; // Need Near Requirements _abort = false; _reason = ""; _needNear = getArray (configFile >> "CfgMagazines" >> _item >> "ItemActions" >> "Build" >> "neednearby"); { switch(_x) do{ case "fire": { _distance = 3; _isNear = {inflamed _x} count (getPosATL player nearObjects _distance); if(_isNear == 0) then { _abort = true; _reason = "fire"; }; }; case "workshop": { _distance = 3; _isNear = count (nearestObjects [player, ["Wooden_shed_DZ","WoodShack_DZ","WorkBench_DZ"], _distance]); if(_isNear == 0) then { _abort = true; _reason = "workshop"; }; }; case "fueltank": { _distance = 30; _isNear = count (nearestObjects [player, dayz_fuelsources, _distance]); if(_isNear == 0) then { _abort = true; _reason = "fuel tank"; }; }; }; } forEach _needNear; if(_abort) exitWith { cutText [format[(localize "str_epoch_player_135"),_reason,_distance], "PLAIN DOWN"]; DZE_ActionInProgress = false; }; _classname = getText (configFile >> "CfgMagazines" >> _item >> "ItemActions" >> "Build" >> "create"); _classnametmp = _classname; _require = getArray (configFile >> "cfgMagazines" >> _this >> "ItemActions" >> "Build" >> "require"); _text = getText (configFile >> "CfgVehicles" >> _classname >> "displayName"); _ghost = getText (configFile >> "CfgVehicles" >> _classname >> "ghostpreview"); _lockable = 0; if(isNumber (configFile >> "CfgVehicles" >> _classname >> "lockable")) then { _lockable = getNumber(configFile >> "CfgVehicles" >> _classname >> "lockable"); }; _requireplot = DZE_requireplot; if(isNumber (configFile >> "CfgVehicles" >> _classname >> "requireplot")) then { _requireplot = getNumber(configFile >> "CfgVehicles" >> _classname >> "requireplot"); }; _isAllowedUnderGround = 1; if(isNumber (configFile >> "CfgVehicles" >> _classname >> "nounderground")) then { _isAllowedUnderGround = getNumber(configFile >> "CfgVehicles" >> _classname >> "nounderground"); }; _offset = getArray (configFile >> "CfgVehicles" >> _classname >> "offset"); if((count _offset) <= 0) then { _offset = [0,1.5,0]; }; _isPole = (_classname == "Plastic_Pole_EP1_DZ"); _isLandFireDZ = (_classname == "Land_Fire_DZ"); _distance = DZE_PlotPole select 0; _needText = localize "str_epoch_player_246"; if(_isPole) then { _distance = DZE_PlotPole select 1; }; // check for near plot _findNearestPoles = nearestObjects [(vehicle player), ["Plastic_Pole_EP1_DZ"], _distance]; _findNearestPole = []; { if (alive _x) then { _findNearestPole set [(count _findNearestPole),_x]; }; } count _findNearestPoles; _IsNearPlot = count (_findNearestPole); // If item is plot pole && another one exists within 45m if(_isPole && _IsNearPlot > 0) exitWith { DZE_ActionInProgress = false; cutText [(format [localize "str_epoch_player_44", DZE_PlotPole select 1]) , "PLAIN DOWN"]; }; if(_IsNearPlot == 0) then { // Allow building of plot if(_requireplot == 0 || _isLandFireDZ) then { _canBuildOnPlot = true; }; } else { // Since there are plots nearby we check for ownership && then for friend status // check nearby plots ownership && then for friend status _nearestPole = _findNearestPole select 0; // Find owner _ownerID = _nearestPole getVariable ["CharacterID","0"]; // diag_log format["DEBUG BUILDING: %1 = %2", dayz_characterID, _ownerID]; // check if friendly to owner if(dayz_characterID == _ownerID) then { //Keep ownership // owner can build anything within his plot except other plots if(!_isPole) then { _canBuildOnPlot = true; }; } else { // disallow building plot if(!_isPole) then { _friendlies = _nearestPole getVariable ["plotfriends",[]]; _fuid = []; { _friendUID = _x select 0; _fuid = _fuid + [_friendUID]; } forEach _friendlies; _builder = getPlayerUID player; // check if friendly to owner if(_builder in _fuid) then { _canBuildOnPlot = true; }; }; }; }; // _message if(!_canBuildOnPlot) exitWith { DZE_ActionInProgress = false; cutText [format[(localize "STR_EPOCH_PLAYER_135"),_needText,_distance] , "PLAIN DOWN"]; }; _missing = ""; _hasrequireditem = true; { _hastoolweapon = _x in weapons player; if(!_hastoolweapon) exitWith { _hasrequireditem = false; _missing = getText (configFile >> "cfgWeapons" >> _x >> "displayName"); }; } count _require; _hasbuilditem = _this in magazines player; if (!_hasbuilditem) exitWith {DZE_ActionInProgress = false; cutText [format[(localize "str_player_31"),_text,"build"] , "PLAIN DOWN"]; }; if (!_hasrequireditem) exitWith {DZE_ActionInProgress = false; cutText [format[(localize "str_epoch_player_137"),_missing] , "PLAIN DOWN"]; }; if (_hasrequireditem) then { _location = [0,0,0]; _isOk = true; // get inital players position _location1 = getPosATL player; _dir = getDir player; // if ghost preview available use that instead if (_ghost != "") then { _classname = _ghost; }; _object = createVehicle [_classname, _location, [], 0, "CAN_COLLIDE"]; _object attachTo [player,_offset]; _position = getPosATL _object; cutText [(localize "str_epoch_player_45"), "PLAIN DOWN"]; _objHDiff = 0; while {_isOk} do { _zheightchanged = false; _zheightdirection = ""; _rotate = false; if (DZE_Q) then { DZE_Q = false; _zheightdirection = "up"; _zheightchanged = true; }; if (DZE_Z) then { DZE_Z = false; _zheightdirection = "down"; _zheightchanged = true; }; if (DZE_Q_alt) then { DZE_Q_alt = false; _zheightdirection = "up_alt"; _zheightchanged = true; }; if (DZE_Z_alt) then { DZE_Z_alt = false; _zheightdirection = "down_alt"; _zheightchanged = true; }; if (DZE_Q_ctrl) then { DZE_Q_ctrl = false; _zheightdirection = "up_ctrl"; _zheightchanged = true; }; if (DZE_Z_ctrl) then { DZE_Z_ctrl = false; _zheightdirection = "down_ctrl"; _zheightchanged = true; }; if (DZE_4) then { _rotate = true; DZE_4 = false; _dir = 180; }; if (DZE_6) then { _rotate = true; DZE_6 = false; _dir = 0; }; if(_rotate) then { _object setDir _dir; _object setPosATL _position; //diag_log format["DEBUG Rotate BUILDING POS: %1", _position]; }; if(_zheightchanged) then { detach _object; _position = getPosATL _object; if(_zheightdirection == "up") then { _position set [2,((_position select 2)+0.1)]; _objHDiff = _objHDiff + 0.1; }; if(_zheightdirection == "down") then { _position set [2,((_position select 2)-0.1)]; _objHDiff = _objHDiff - 0.1; }; if(_zheightdirection == "up_alt") then { _position set [2,((_position select 2)+1)]; _objHDiff = _objHDiff + 1; }; if(_zheightdirection == "down_alt") then { _position set [2,((_position select 2)-1)]; _objHDiff = _objHDiff - 1; }; if(_zheightdirection == "up_ctrl") then { _position set [2,((_position select 2)+0.01)]; _objHDiff = _objHDiff + 0.01; }; if(_zheightdirection == "down_ctrl") then { _position set [2,((_position select 2)-0.01)]; _objHDiff = _objHDiff - 0.01; }; _object setDir (getDir _object); if((_isAllowedUnderGround == 0) && ((_position select 2) < 0)) then { _position set [2,0]; }; _object setPosATL _position; //diag_log format["DEBUG Change BUILDING POS: %1", _position]; _object attachTo [player]; }; sleep 0.5; _location2 = getPosATL player; if(DZE_5) exitWith { _isOk = false; detach _object; _dir = getDir _object; _position = getPosATL _object; //diag_log format["DEBUG BUILDING POS: %1", _position]; deleteVehicle _object; }; if(_location1 distance _location2 > 5) exitWith { _isOk = false; _cancel = true; _reason = "You've moved to far away from where you started building (within 5 meters)"; detach _object; deleteVehicle _object; }; if(abs(_objHDiff) > 5) exitWith { _isOk = false; _cancel = true; _reason = "Cannot move up or down more than 5 meters"; detach _object; deleteVehicle _object; }; if (player getVariable["combattimeout", 0] >= time) exitWith { _isOk = false; _cancel = true; _reason = (localize "str_epoch_player_43"); detach _object; deleteVehicle _object; }; if (DZE_cancelBuilding) exitWith { _isOk = false; _cancel = true; _reason = "Cancelled building."; detach _object; deleteVehicle _object; }; }; //No building on roads unless toggled if (!DZE_BuildOnRoads) then { if (isOnRoad _position) then { _cancel = true; _reason = "Cannot build on a road."; }; }; // No building in trader zones if(!canbuild) then { _cancel = true; _reason = "Cannot build in a city."; }; if(!_cancel) then { _classname = _classnametmp; // Start Build _tmpbuilt = createVehicle [_classname, _location, [], 0, "CAN_COLLIDE"]; _tmpbuilt setdir _dir; // Get position based on object _location = _position; if((_isAllowedUnderGround == 0) && ((_location select 2) < 0)) then { _location set [2,0]; }; _tmpbuilt setPosATL _location; cutText [format[(localize "str_epoch_player_138"),_text], "PLAIN DOWN"]; _limit = 3; if (DZE_StaticConstructionCount > 0) then { _limit = DZE_StaticConstructionCount; } else { if (isNumber (configFile >> "CfgVehicles" >> _classname >> "constructioncount")) then { _limit = getNumber(configFile >> "CfgVehicles" >> _classname >> "constructioncount"); }; }; _isOk = true; _proceed = false; _counter = 0; while {_isOk} do { [10,10] call dayz_HungerThirst; player playActionNow "Medic"; _dis=20; _sfx = "repair"; [player,_sfx,0,false,_dis] call dayz_zombieSpeak; [player,_dis,true,(getPosATL player)] spawn player_alertZombies; r_interrupt = false; r_doLoop = true; _started = false; _finished = false; while {r_doLoop} do { _animState = animationState player; _isMedic = ["medic",_animState] call fnc_inString; if (_isMedic) then { _started = true; }; if (_started && !_isMedic) then { r_doLoop = false; _finished = true; }; if (r_interrupt || (player getVariable["combattimeout", 0] >= time)) then { r_doLoop = false; }; if (DZE_cancelBuilding) exitWith { r_doLoop = false; }; sleep 0.1; }; r_doLoop = false; if(!_finished) exitWith { _isOk = false; _proceed = false; }; if(_finished) then { _counter = _counter + 1; }; cutText [format[(localize "str_epoch_player_139"),_text, _counter,_limit], "PLAIN DOWN"]; if(_counter == _limit) exitWith { _isOk = false; _proceed = true; }; }; if (_proceed) then { _num_removed = ([player,_item] call BIS_fnc_invRemove); if(_num_removed == 1) then { cutText [format[localize "str_build_01",_text], "PLAIN DOWN"]; if (_isPole) then { [] spawn player_plotPreview; }; _tmpbuilt setVariable ["OEMPos",_location,true]; if(_lockable > 1) then { _combinationDisplay = ""; switch (_lockable) do { case 2: { // 2 lockbox _combination_1 = (floor(random 3)) + 100; // 100=red,101=green,102=blue _combination_2 = floor(random 10); _combination_3 = floor(random 10); _combination = format["%1%2%3",_combination_1,_combination_2,_combination_3]; dayz_combination = _combination; if (_combination_1 == 100) then { _combination_1_Display = "Red"; }; if (_combination_1 == 101) then { _combination_1_Display = "Green"; }; if (_combination_1 == 102) then { _combination_1_Display = "Blue"; }; _combinationDisplay = format["%1%2%3",_combination_1_Display,_combination_2,_combination_3]; }; case 3: { // 3 combolock _combination_1 = floor(random 10); _combination_2 = floor(random 10); _combination_3 = floor(random 10); _combination = format["%1%2%3",_combination_1,_combination_2,_combination_3]; dayz_combination = _combination; _combinationDisplay = _combination; }; case 4: { // 4 safe _combination_1 = floor(random 10); _combination_2 = floor(random 10); _combination_3 = floor(random 10); _combination_4 = floor(random 10); _combination = format["%1%2%3%4",_combination_1,_combination_2,_combination_3,_combination_4]; dayz_combination = _combination; _combinationDisplay = _combination; }; }; _tmpbuilt setVariable ["CharacterID",_combination,true]; PVDZE_obj_Publish = [_combination,_tmpbuilt,[_dir,_location],_classname]; publicVariableServer "PVDZE_obj_Publish"; cutText [format[(localize "str_epoch_player_140"),_combinationDisplay,_text], "PLAIN DOWN", 5]; systemChat format [(localize "str_epoch_player_140"),_combinationDisplay,_text]; } else { _tmpbuilt setVariable ["CharacterID",dayz_characterID,true]; // fire? if(_tmpbuilt isKindOf "Land_Fire_DZ") then { _tmpbuilt spawn player_fireMonitor; } else { PVDZE_obj_Publish = [dayz_characterID,_tmpbuilt,[_dir,_location],_classname]; publicVariableServer "PVDZE_obj_Publish"; }; }; } else { deleteVehicle _tmpbuilt; cutText [(localize "str_epoch_player_46") , "PLAIN DOWN"]; }; } else { r_interrupt = false; if (vehicle player == player) then { [objNull, player, rSwitchMove,""] call RE; player playActionNow "stop"; }; deleteVehicle _tmpbuilt; cutText [(localize "str_epoch_player_46") , "PLAIN DOWN"]; }; } else { cutText [format[(localize "str_epoch_player_47"),_text,_reason], "PLAIN DOWN"]; }; }; DZE_ActionInProgress = false;
-
errorMessage: File mpmissions\DayZ_Epoch_11.Chernarus\zupa\advancedTrading\advancedTrading.hpp, line 0: .AT_Zupa_BlueButton: Undefined base class 'ZSC_RscButtonMenu' this error how can i fix it class AT_Zupa_BlueButton: ZSC_RscButtonMenu { colorBackground[] = {0.2,0.75,1,1}; colorText[] = {1,1,1,1}; class Attributes { align = "center"; }; }; class AdvancedTrading { idd = 711197; onLoad = "uiNamespace setVariable ['AdvancedTrading', _this select 0]"; class Controls { class RscText_ATBackground1: ZSC_RscText { idc = -1; x = 0.20 * safezoneW + safezoneX; y = 0.15 * safezoneH + safezoneY; w = 0.40 * safezoneW; h = 0.70 * safezoneH; colorBackground[] = {0.2,0.2,0.2,1}; }; class RscText_ATBackground2: ZSC_RscText { idc = -1; x = 0.60 * safezoneW + safezoneX; y = 0.15 * safezoneH + safezoneY; w = 0.20 * safezoneW; h = 0.70 * safezoneH; colorBackground[] = {0.1,0.1,0.1,1}; }; class RscText_AT2: ZSC_RscText { idc = -1; text = "Advanced Trading"; x = 0.20 * safezoneW + safezoneX; y = 0.15 * safezoneH + safezoneY; w = 0.60 * safezoneW; h = 0.04 * safezoneH; colorBackground[] = {0.2,0.75,1,1}; colorText[] = {1,1,1,1}; }; class RscText_Zupa_1: ZSC_RscText { idc = 7408; text = "Selling from gear."; x = 0.21 * safezoneW + safezoneX; y = 0.22 * safezoneH + safezoneY; w = 0.38 * safezoneW; h = 0.05 * safezoneH; colorText[] = {1,1,1,1}; }; class ZSC_RscButtonMenu_Z1: AT_Zupa_BlueButton { idc = -1; text = "Gear"; x = 0.21 * safezoneW + safezoneX; y = 0.26 * safezoneH + safezoneY; w = 0.08 * safezoneW; onButtonClick = "[2] call Z_getContainer;"; colorBackground[] = {1,1,1,1}; color[] = {0,0,0,1}; }; class ZSC_RscButtonMenu_Z2: AT_Zupa_BlueButton { idc = -1; text = "Backpack"; x = 0.31 * safezoneW + safezoneX; y = 0.26 * safezoneH + safezoneY; w = 0.08 * safezoneW; onButtonClick = "[0] call Z_getContainer;"; colorBackground[] = {1,1,1,1}; color[] = {0,0,0,1}; }; class ZSC_RscButtonMenu_Z3: AT_Zupa_BlueButton { idc = -1; text = "Vehicle"; x = 0.41 * safezoneW + safezoneX; y = 0.26 * safezoneH + safezoneY; w = 0.08 * safezoneW; onButtonClick = "[1] call Z_getContainer;"; colorBackground[] = {1,1,1,1}; color[] = {0,0,0,1}; }; class ZSC_RscButtonMenu_Z4: AT_Zupa_BlueButton { idc = 7416; text = "Sell"; x = 0.51 * safezoneW + safezoneX; y = 0.26 * safezoneH + safezoneY; w = 0.08 * safezoneW; onButtonClick = "call Z_ChangeBuySell;"; colorBackground[] = {1,1,1,1}; color[] = {0,0,0,1}; }; class RscText_AT6: ZSC_RscText { idc = 7412; text = ""; x = 0.21 * safezoneW + safezoneX; y = 0.30 * safezoneH + safezoneY; w = 0.30 * safezoneW; h = 0.03 * safezoneH; colorText[] = {1,1,1,1}; }; class RscText_AT7: ZSC_RscText { idc = 7413; text = ""; x = 0.21 * safezoneW + safezoneX; y = 0.33 * safezoneH + safezoneY; w = 0.30 * safezoneW; h = 0.03 * safezoneH; colorText[] = {1,1,1,1}; }; class RscText_AT8: ZSC_RscText { idc = -1; text = "Inventory"; x = 0.21 * safezoneW + safezoneX; y = 0.38 * safezoneH + safezoneY; w = 0.13 * safezoneW; h = 0.03 * safezoneH; colorText[] = {1,1,1,1}; }; class RscText_AT9: ZSC_RscText { idc = 7409; text = "Selling"; x = 0.46 * safezoneW + safezoneX; y = 0.38 * safezoneH + safezoneY; w = 0.13 * safezoneW; h = 0.03 * safezoneH; colorText[] = {1,1,1,1}; }; class RscBackgroundText_Zupa_1: ZSC_RscText { idc = -1; text = ""; x = 0.21* safezoneW + safezoneX; y = 0.41 * safezoneH + safezoneY; w = 0.13 * safezoneW; h = 0.30 * safezoneH; colorText[] = {1,1,1,1}; colorBackground[] = {0.1,0.1,0.1,1}; }; class RscBackgroundText_Zupa_2: ZSC_RscText { idc = -1; text = ""; x = 0.46 * safezoneW + safezoneX; y = 0.41* safezoneH + safezoneY; w = 0.13 * safezoneW; h = 0.30 * safezoneH; colorText[] = {1,1,1,1}; colorBackground[] = {0.1,0.1,0.1,1}; }; class RscListbox_AT10: ZSC_RscListBox { idc = 7401; type = 5; idcLeft = -1; idcRight = -1; x = 0.21* safezoneW + safezoneX; y = 0.41 * safezoneH + safezoneY; w = 0.13 * safezoneW; h = 0.30 * safezoneH; soundSelect[] = {"",0.1,1}; colorBackground[] = {0.1,0.1,0.1,0.8}; onLBSelChanged = "['sellable',(lbCurSel 7401)] call Z_getItemInfo"; class ListScrollBar: ZSC_RscScrollBar{}; class ScrollBar { color[] = {1,1,1,0.6}; colorActive[] = {1,1,1,1}; colorDisabled[] = {1,1,1,0.3}; shadow = 0; thumb = "\ca\ui\data\ui_scrollbar_thumb_ca.paa"; arrowFull = "\ca\ui\data\ui_arrow_top_active_ca.paa"; arrowEmpty = "\ca\ui\data\ui_arrow_top_ca.paa"; border = "\ca\ui\data\ui_border_scroll_ca.paa"; }; }; class RscListbox_AT11: ZSC_RscListBox { idc = 7402; x = 0.46 * safezoneW + safezoneX; y = 0.41* safezoneH + safezoneY; w = 0.13 * safezoneW; h = 0.30 * safezoneH; soundSelect[] = {"",0.1,1}; colorBackground[] = {0.1,0.1,0.1,0.8}; onLBSelChanged = "['selling',(lbCurSel 7402)] call Z_getItemInfo"; class ListScrollBar: ZSC_RscScrollBar{}; class ScrollBar { color[] = {1,1,1,0.6}; colorActive[] = {1,1,1,1}; colorDisabled[] = {1,1,1,0.3}; shadow = 0; thumb = "\ca\ui\data\ui_scrollbar_thumb_ca.paa"; arrowFull = "\ca\ui\data\ui_arrow_top_active_ca.paa"; arrowEmpty = "\ca\ui\data\ui_arrow_top_ca.paa"; border = "\ca\ui\data\ui_border_scroll_ca.paa"; }; }; class RscListbox_AT20: ZSC_RscListBox { idc = 7421; type = 5; idcLeft = -1; idcRight = -1; x = 0.21* safezoneW + safezoneX; y = 0.41 * safezoneH + safezoneY; w = 0.13 * safezoneW; h = 0.30 * safezoneH; soundSelect[] = {"",0.1,1}; colorBackground[] = {0.1,0.1,0.1,0.8}; onload = "ctrlShow [_this,false]"; onLBSelChanged = "['buyable',(lbCurSel 7421)] call Z_getItemInfo"; class ListScrollBar: ZSC_RscScrollBar{}; class ScrollBar { color[] = {1,1,1,0.6}; colorActive[] = {1,1,1,1}; colorDisabled[] = {1,1,1,0.3}; shadow = 0; thumb = "\ca\ui\data\ui_scrollbar_thumb_ca.paa"; arrowFull = "\ca\ui\data\ui_arrow_top_active_ca.paa"; arrowEmpty = "\ca\ui\data\ui_arrow_top_ca.paa"; border = "\ca\ui\data\ui_border_scroll_ca.paa"; }; }; class RscListbox_AT21: ZSC_RscListBox { idc = 7422; x = 0.46 * safezoneW + safezoneX; y = 0.41* safezoneH + safezoneY; w = 0.13 * safezoneW; h = 0.30 * safezoneH; soundSelect[] = {"",0.1,1}; colorBackground[] = {0.1,0.1,0.1,0.8}; onload = "ctrlShow [_this,false]"; onLBSelChanged = "['buying',(lbCurSel 7422)] call Z_getItemInfo"; class ScrollBar { color[] = {1,1,1,0.6}; colorActive[] = {1,1,1,1}; colorDisabled[] = {1,1,1,0.3}; shadow = 0; thumb = "\ca\ui\data\ui_scrollbar_thumb_ca.paa"; arrowFull = "\ca\ui\data\ui_arrow_top_active_ca.paa"; arrowEmpty = "\ca\ui\data\ui_arrow_top_ca.paa"; border = "\ca\ui\data\ui_border_scroll_ca.paa"; }; }; class RscSearchBackground: ZSC_RscText { idc = -1; x = 0.21 * safezoneW + safezoneX; y = 0.72 * safezoneH + safezoneY; w = 0.13 * safezoneW; h = 0.03 * safezoneH; colorText[] = {1,1,1,1}; colorBackground[] = {0.1,0.1,0.1,1}; }; class Zupa_Filter_Edit : ZSC_RscEdit { idc = 7444; colorText[] = {1,1,1,1}; text = ""; sizeEx = 0.030; x = 0.21 * safezoneW + safezoneX; y = 0.72 * safezoneH + safezoneY; w = 0.13 * safezoneW; h = 0.04; }; class ZSC_RscButtonMenu_ATTFilter: AT_Zupa_BlueButton { idc = -1; text = "Filter"; x = 0.21 * safezoneW + safezoneX; y = 0.77 * safezoneH + safezoneY; w = 0.13 * safezoneW; onButtonClick = "[(ctrlText 7444)] call Z_filterList;"; colorBackground[] = {1,1,1,1}; color[] = {0,0,0,1}; }; class ZSC_RscButtonMenu_AT12: AT_Zupa_BlueButton { idc = 7430; text = " > "; x = 0.36 * safezoneW + safezoneX; y = 0.41 * safezoneH + safezoneY; w = 0.08 * safezoneW; onButtonClick = "[(lbCurSel 7401)] call Z_pushItemToList;"; colorBackground[] = {1,1,1,1}; color[] = {0,0,0,1}; }; class ZSC_RscButtonMenu_AT14: AT_Zupa_BlueButton { idc = 7431; text = " >> "; x = 0.36 * safezoneW + safezoneX; y = 0.49 * safezoneH + safezoneY; w = 0.08 * safezoneW; onButtonClick = "call Z_pushAllToList;"; colorBackground[] = {1,1,1,1}; color[] = {0,0,0,1}; }; class ZSC_RscButtonMenu_AT13: AT_Zupa_BlueButton { idc = 7432; text = " < "; x = 0.36 * safezoneW + safezoneX; y = 0.57 * safezoneH + safezoneY; w = 0.08 * safezoneW; onButtonClick = "[(lbCurSel 7402)] call Z_removeItemFromList;"; colorBackground[] = {1,1,1,1}; color[] = {0,0,0,1}; }; class ZSC_RscButtonMenu_AT15: AT_Zupa_BlueButton { idc = 7433; text = " << "; x = 0.36 * safezoneW + safezoneX; y = 0.65 * safezoneH + safezoneY; w = 0.08 * safezoneW; onButtonClick = "call Z_removeAllToList;"; colorBackground[] = {1,1,1,1}; color[] = {0,0,0,1}; }; class ZSC_RscButtonMenu_ATT1: AT_Zupa_BlueButton { idc = 7440; text = " > "; x = 0.36 * safezoneW + safezoneX; y = 0.41 * safezoneH + safezoneY; w = 0.08 * safezoneW; onButtonClick = "[(lbCurSel 7421),(ctrlText 7441)] call Z_toBuyingList;"; onload = "ctrlShow [_this,false]"; colorBackground[] = {1,1,1,1}; color[] = {0,0,0,1}; }; class Zupa_Ammount_Edit : ZSC_RscEdit { idc = 7441; colorText[] = {1,1,1,1}; text = "1"; sizeEx = 0.030; x = 0.36 * safezoneW + safezoneX; y = 0.49 * safezoneH + safezoneY; w = 0.08 * safezoneW; h = 0.03; onload = "ctrlShow [_this,false]"; }; class ZSC_RscButtonMenu_ATT3: AT_Zupa_BlueButton { idc = 7442; text = " < "; x = 0.36 * safezoneW + safezoneX; y = 0.57 * safezoneH + safezoneY; w = 0.08 * safezoneW; onButtonClick = "[(lbCurSel 7422)] call Z_removeItemFromBuyingList;"; onload = "ctrlShow [_this,false]"; colorBackground[] = {1,1,1,1}; color[] = {0,0,0,1}; }; class ZSC_RscButtonMenu_ATT4: AT_Zupa_BlueButton { idc = 7443; text = " << "; x = 0.36 * safezoneW + safezoneX; y = 0.65 * safezoneH + safezoneY; w = 0.08 * safezoneW; onButtonClick = "call Z_removeAllFromBuyingList;"; onload = "ctrlShow [_this,false]"; colorBackground[] = {1,1,1,1}; color[] = {0,0,0,1}; }; class RscText_ATT8: ZSC_RscText { idc = 7404; text = "0/0/0"; x = 0.45 * safezoneW + safezoneX; y = 0.32 * safezoneH + safezoneY; w = 0.15 * safezoneW; h = 0.03 * safezoneH; colorText[] = {1,1,1,1}; onload = "ctrlShow [_this,false]"; }; class RscSearchBackground2: ZSC_RscText { idc = -1; text = ""; x = 0.46 * safezoneW + safezoneX; y = 0.72 * safezoneH + safezoneY; w = 0.13 * safezoneW; h = 0.03 * safezoneH; colorText[] = {1,1,1,1}; colorBackground[] = {0.1,0.1,0.1,1}; }; class RscText_AT18: ZSC_RscText { idc = 7410; text = "Nothing"; x = 0.46 * safezoneW + safezoneX; y = 0.72 * safezoneH + safezoneY; w = 0.13 * safezoneW; h = 0.03 * safezoneH; colorText[] = {1,1,1,1}; }; class ZSC_RscButtonMenu_AT16: AT_Zupa_BlueButton { idc = 7435; text = "Sell"; x = 0.46 * safezoneW + safezoneX; y = 0.77 * safezoneH + safezoneY; w = 0.13 * safezoneW; onButtonClick = "call Z_SellItems;"; colorBackground[] = {1,1,1,1}; color[] = {0,0,0,1}; }; class ZSC_RscButtonMenu_AT27: AT_Zupa_BlueButton { idc = 7436; text = "Buy"; x = 0.46 * safezoneW + safezoneX; y = 0.77 * safezoneH + safezoneY; w = 0.13 * safezoneW; onload = "ctrlShow [_this,false]"; onButtonClick = "call Z_BuyItems;"; colorBackground[] = {1,1,1,1}; color[] = {0,0,0,1}; }; class ZSC_RscButtonMenu_AT28: AT_Zupa_BlueButton { idc = -1; x = 0.63 * safezoneW + safezoneX; y = 0.77 * safezoneH + safezoneY; w = 0.13 * safezoneW; onButtonClick = "((ctrlParent (_this select 0)) closeDisplay 9000);"; colorBackground[] = {1,1,1,1}; color[] = {0,0,0,1}; text = "Close"; }; class RscStrText_AT_PriceInfo: ZSC_RscStructuredText // todo { idc = 7451; text = ""; x = 0.46 * safezoneW + safezoneX; y = 0.72 * safezoneH + safezoneY; w = 0.13 * safezoneW; h = 0.03 * safezoneH; colorText[] = {1,1,1,1}; }; class RscText_AT_InfoLabel: ZSC_RscText { idc = -1; text = " Item info"; x = 0.60 * safezoneW + safezoneX; y = 0.38 * safezoneH + safezoneY; w = 0.20 * safezoneW; h = 0.03 * safezoneH; colorBackground[] = {0.2,0.75,1,1}; colorText[] = {1,1,1,1}; }; class RscText_AT_BreakLine: ZSC_RscText { idc = -1; x = 0.60 * safezoneW + safezoneX; y = 0.15 * safezoneH + safezoneY; w = 0.0005 * safezoneW; h = 0.70 * safezoneH; colorBackground[] = {0.2,0.75,1,1}; }; class RscStrText_AT_ItemInfo: ZSC_RscStructuredText { idc = 7445; text = ""; x = 0.61 * safezoneW + safezoneX; y = 0.43 * safezoneH + safezoneY; w = 0.19 * safezoneW; h = 0.59 * safezoneH; colorText[] = {1,1,1,1}; }; class RscStrText_AT_ContainerInfo: ZSC_RscStructuredText { idc = 7446; text = ""; x = 0.61 * safezoneW + safezoneX; y = 0.24 * safezoneH + safezoneY; w = 0.19 * safezoneW; h = 0.35 * safezoneH; colorText[] = {1,1,1,1}; }; }; };
- 1 reply
-
- advancedtrading
- zupa
-
(and 3 more)
Tagged with:
-
I installed the Zupa Coin with banking (999). There is a display in the upper right of the screen. it shows things like how much coin you have in the bank, kills, fps, uptime and more. Is there a way I can move that to the bottom of the screen? The server admin display covers it up and you have to delete to see Zupas display.
-
Unofficial Epoch Redis Database Manager BROKEN IN CURRENT EPOCH. To help out on the Dev team and server owners i present you my current project i'm working on. This will allow you to manage your redis databases with a nice friendly user-interface. This will be handmade on the Epoch data structure. It will require a php-capable invironment. It will allow viewing, editing and deleting of all server data in redis in a admin-friendly interface. You can request features you want implemented in this topic. OPEN BETA PRE ALPHA UPDATE 2 0.2 Release Data & MAP Whats new in 0.2? [ADDED] More maps [ADDED] Own maps support [ADDED] More customisable settings [ADDED] Import/export server data ( for other admins forexample) [ADDED] Use own images [ADDED] View buildings, storages,players,vehicle details. [FIXED] Charnarus and altis are calibrated, other maps that are default in are theoreticle correct but not tested. [FIXED] Working dashboard page. Whats Gonna be new in 0.3 ( Rolling Changelogs)? [CHANGED] PHP laravel backend. [ADDED] Statistic Graphs at listdetail screens. [ADDED] Login System. [ADDED] User Rights on pages system. (Configurable by full admins). [ADDED] Inegrated ZupaStats for admin purposes. [FIXED] Some performance issues. [FIXED] Changing server on dashboard now also refreshes dashboard. [FIXED] Server name now correctly displays on title text. More to come Download: On 24 feb 2015: http://www.mediafire.com/download/rd1c8wldmldgi2z/ZRDBM.rar This is not an optimised build. Keep the html and php on the same host for this release. TCP redis should work if configured corretly ( not tested, so I can be wrong). Server data is saved in localhost in your browser for time being. Default included maps: Chernarus Altis Stratis Takistan Namalsk Download Extra Maps These maps are not default in the download to make the file not too big for people that don't need them. To use these maps just place the folder in the "maps" folder and add the map to the settings. Credits to Scott AKA Uro to make these possible and easy for me. These images are ingame images and should not have an offset Bornholm http://www.mediafire.com/download/n7bbqkf8899hiex/bornholm.rar Mapsize : 22528 x 22528 : Needs testing! Image: http://i.imgur.com/jNXbfeC.jpg Lingor http://www.mediafire.com/download/1af9wb3zxlif2xc/lingor.rar Mapsize : 10240 x 10239 : Needs testing! Image: http://i.imgur.com/yeIAi8v.jpg Zargabad http://www.mediafire.com/download/0gjq7617zl3uc36/zargabad.rar Mapsize : 8191 x 8194: Needs testing! Image: http://i.imgur.com/CoJLIXL.jpg Panthera 3 http://www.mediafire.com/download/gqumsm2s2niskl7/panthera.rar Mapsize : 10240 x 10239: Needs testing! Image: http://i.imgur.com/cf7fsqd.jpg Taviana 3 http://www.mediafire.com/download/an38c1rbidxmdcr/taviana.rar Mapsize : 21333 x 21332: Needs testing! Image: http://i.imgur.com/jHZyDz5.jpg Alternative Altis http://www.mediafire.com/download/1dd962bff7wo4dr/altis2.rar Mapsize : 30700x 30700. Image: http://i.imgur.com/XNgVFMJ.jpg Alternative Chernarus http://www.mediafire.com/download/2qc9jri1ccj38ym/chernarus2.rar Mapsize : 15360 x 15360. Image: http://i.imgur.com/88ilDD9.png Alternative Stratis http://www.mediafire.com/download/c29odtoquazjki6/stratis2.rar Mapsize : 8191 x 8192 Image: http://i.imgur.com/x0xy0zR.jpg Instructions: Unzip the folder in your apache enviremont ( xampp htdocs) for example. ( More info about this later). Add extra maps to the map folder if necessary (Not all are included in default download. Otherwise the size will get too big). Go to the server/config.php and fill in your server data ( if you want multiple servers on different IP's , i recommend making a server2 folder with that config then). $myRedisPass = "redispass"; $myRedisPort = 6379; $myRedisHost = '127.0.0.1'; // If php and redis are on the same server, this suffices IF PHP and REDIS are on different servers ( you need to open the redis Port on that server AND bind your public ip in redis config !) EXAMPLE in redis.conf: ( Restart redis to activate this). bind 127.0.0.1 38.17.135.190 Now browse to your folder in a browser. ( localhost or externally). The webapp automaticly lets u add a server, fill in the data correctly or import an exported server. Screenschots: IN DEV More functions added later.
-
Hey guys, I recently had Zupa's custom clothing working really well.. then I installed Door Management and I cannot get the clothes script getList.sqf to function correctly. When I right click on a skin, the dialogue menu pops up, but it isn't populated. This is really pissing me off and I'm hoping that someone possibly has a fix. I looked in my client RPT and here's what I've found: When I checked the getList.sqf, there were no syntax errors at all that could have tripped this and I'm getting frustrated trying to figure it out. Thanks for the help, guys.
- 1 reply
-
- door
- management
- (and 5 more)
-
Hey there guys. My players are having an issue with money storage (I'm using Zupa's 3.0 Currency [no banking]) in vehicles, safes and lockboxes but I have absolutely no trouble with it (in terms of the gold saving on logoff and such). Everything works fine for me so this is getting me to wonder if the issue is with infiSTAR. The only problem here is that I've disabled pretty much all of infiSTAR's checks that would even be remotely relevant to this issue. I've also heard issues of players vehicles just straight up exploding (which may be attributed to roaming/static AI) and their bikes, mozzies or motorcycles disappearing when they're on them. I think the issue here is that these vehicles, when spawned, don't have IDs and they're either being cleaned up by the server antihack or by infiSTAR. How can I go about fixing this, does anyone have any input? Thanks a lot guys. Also a bit off topic, but how would I go about purging all spawned vehicles on the server so my database only loads 100? I've got something like 300 on the server right now and that's an extra 200 objects I really don't want in the database but I'm absolutely retarded when it comes to SQL. I'm also having trouble trying to find the vehicle spawn array that the server reads when it spawns new vehicles. I use Vilayer.
-
Alright so let me start off by saying im super sorry about my grammar... ive always struggled with grammar and im sorry bout that. So heres my problem. ive learned how to add mods and do most of the intermediate stuff to kinda hard stuff on scripting my server. But whenever i wanna add a script like deploy bike for example.. it tells me i have to edit this file know as fn_selfActions.sqf and i know exactly where it is. i just dont know how to edit it and then upload it back into the dayz_code.pbo and it sucks cause i really need to add this deploy bike mod asap but like i said i simply can figure out how to edit and then upload fn_selfActions.sqf back to dayz_code.pbo... Any kind of help is greatly appreaciated i really really need help with this.. ive been struggling how todo this for a while. Again sorry about any kind of grammar or sentence issues.. like i said im horrible with grammar and i struggle with it thanks again! -KraCKzzz
-
Hi So I've been trying to install Zupas single coin currency with global banking into my server all day today and yesterday and I haven't been able to get it working what so ever. Firstly I had conflicting scripts with DZGM but I think I might of possible resolved that issue by moving the definitions in description.ext higher than the HUD I have installed. Now, I can load into my server lobby, I receive the mission file but get stuck at "Waiting for character data from server". With a never ending timer. My .RPT file has now shown no errors from what I can see so I have no idea where to look that may be causing problems. I need this script installed so I can further progress on to installing other scripts that are needed. I just haven't been able to get anywhere. If anyone could lend a helping hand, I'd sure appreciate it a lot! Whether that's identifying my problem somewhere or if I just install my backups and install a fresh. Skype: Polly900 Regards :) :D
-
[Release] Single Currency (3.0) & Storage - DEFAULT HIVE Since the majority of people wanted this i want to bring it to attention in this section to. What is it? This script replaces gold,silver,tin,copper,briefcases by 1 virtual currency with a configurable name. You can buy,sell, give, receive, take (from dead bodies) and STORE this money like it was a normal inventory item. ( It will work with a different dialog then your gear dialog.) No more smelting gold into silver or anything related to that. Everything is in one currency ( For example "ZupasticiumCoins"). I probably will code this inthe default epoch code and send a merge request to Epoch Devs with an option to do DZE_SingleCurrency = true/false; And if they accept it , it might be in 1.6 ^^ Topic can be found here in the subforums: ( all Detailes explained there).
-
Hi guys, I'm having trouble with one part of the Zupa Single Currency install. One of the steps requires me to add this: class RscTitles { #include "addons\playerhud\hud.hpp" }; #include "defines.hpp" #include "gold\common.hpp" #include "gold\bank_dialog.hpp" #include "gold\give_player_dialog.hpp" to the bottom of my description.ext In my description.ext I already have an RscTitles which looks like this: class RscTitles { class wm_disp { idd = -1; onLoad = "uiNamespace setVariable ['wm_disp', _this select 0]"; fadein = 0; fadeout = 0; duration = 10e10; controlsBackground[] = {}; objects[] = {}; class controls { class wm_text2 { idc = 1; x = safeZoneX+0.027;//safeZoneW*0.01; y = safeZoneY+safeZoneH-0.16; w = 1.151*safeZoneH; h = 0.057*safeZoneH; shadow = 2; class Attributes { font = "EtelkaNarrowMediumPro"; color = "00d5ff"; align = "left"; // put "center" here if you want some background valign = "middle"; shadow = 2; }; colorBackground[] = { 1, 0.3, 0, 0 }; // uncomment and increase 4th number to have a background font = "EtelkaNarrowMediumPro"; size = 0.06*safeZoneH; type = 13; style = 0; text=""; }; }; }; }; I've been messing around guessing where I can put the extra #include lines in but I honestly have no idea what I'm doing :P Any help would be appreciated, thanks!
-
Hello everybody :) Today I changed gui on my server, disabled infistar debug monitor, then understood, that need to make something nice for Coin System So i decided to make a script, that allow check bank accout by radio. Lets start install it! 1. You need maca134's script for Add Right Click Options to the Items 3 variants of script: 1. Check only bank cash by radio: 2. Check cash from your "card" and bank cash by radio in ONE key: 3. Check cash from your "card" and bank cash by radio in TWO keys: Done :3 Special thx: Peterbeer and Mikeeeyy for fix :33 Zupa for the best script ever (coins) :3 Maca134 for Right click options script :) Fixes:
-
Help installing Zupa's Single Currency for a different map?
BUckENbooz posted a question in Scripting
Hello everyone. I am fairly new in scripting arma 2. I know the basics, and can manage to fallow instructions for simple scripts such as a deploy bike, self bb, ect. I am trying to install Zupas single currency (which I'm assuming this website is the main site to get it from: http://devzupa.be/#/dayz/sc999). Now my question is, I'm trying to install this for my Overpoch Taviana Origins server and just wanting to know if it will be any different in installing on this map versus Chernarus? I see in the instructions and the download it has a file for chernarus but that's not that map I'm wanting to work on. All help is always appreciated!