Ich bekomme Hodenkrebs...ehrlich wieso ist das Standart gemäß aus......
Beiträge von Kuchenplatte
-
-
-
-
klingt das nicht eher an einem fehler in der life_server.pbo?
-
-
Linux oder Windows?
-
Mit ein wenig English Kenntnissen ...2 Sek google

-
Ok sehr schön. Viel Spaß beim zocken

-
Danke @Shinji.
Wie gesagt möcht einfach nur mit meinem SUV oder Hatch auf [lexicon]tanoa[/lexicon] tanken

-
Im Invisible Modus?
Sehe keine 
-
Noch jemand eine Idee?
-
Hast du denn den Vorschlag mit dem Reparieren deiner Files schon probiert was @Flyyying_nflug gesagt hatte?
-
Clients Logs ? Wirst du nur von "deinem" Server gekickt oder "allgemein" von jedem Server...?
Auf den ersten Blick ist das glaube ich ein Arma3 Fehler...?! Korrigiert mich wenn es anders ist...ja klingt nach Addon -
Clients Logs?
-
Ja meine welcome ist immer Falsch egal welche Mission ich mache... Aber mal ne kuriose fragen... Ich hol zum testen meine Truck ( vollgetankt) aus der Garage...fahre dann zur tanke... Theoretisch müsste er doch trotzsem tanken anzeigen oder etwa nicht?
-
Code
Alles anzeigen22:39:00 name | modDir | default | origin | hash | hashShort | fullPath 22:39:00 ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 22:39:00 @life_server | @life_server | false | GAME DIR | 464acc13be435db1743729a07839377922de465c | 85f53c4e | /home/tcagame/acryl_temp/145/@life_server 22:39:00 Arma 3 DLC Bundle | dlcbundle | true | NOT FOUND | | | 22:39:00 Arma 3 Apex | expansion | true | GAME DIR | 3b262d55f1bf131ac7ba7e8f52db442675e78deb | 734697dd | /home/tcagame/acryl_temp/145/expansion 22:39:00 Arma 3 Marksmen | mark | true | GAME DIR | 6dc590a2267497ee172fb435fd058519f25cd960 | 64a11e26 | /home/tcagame/acryl_temp/145/mark 22:39:00 Arma 3 Helicopters | heli | true | GAME DIR | 3ec66916054a5a3b6d08c28574e57d1a20a88796 | fa82f9ff | /home/tcagame/acryl_temp/145/heli 22:39:00 Arma 3 Karts | kart | true | GAME DIR | 908c532399962c4c773274261398903a3ceaed91 | 688e112f | /home/tcagame/acryl_temp/145/kart 22:39:00 Arma 3 Zeus | curator | true | GAME DIR | 5b1a121146e2ea4de6e30f2052c2a7b85f1c9ae3 | 31955d5 | /home/tcagame/acryl_temp/145/curator 22:39:00 Arma 3 | A3 | true | NOT FOUND | | | 22:39:00 ========================================================================================================================================================================================================== 22:39:00 InitSound ... 22:39:00 InitSound - complete 22:39:00 Dedicated host created. sh: xrandr: command not found 22:39:00 PhysX3 SDK Init started ... 22:39:00 PhysX3 SDK Init ended. Attempt to override final function - rscminimap_script Attempt to override final function - rscdisplayloading_script Attempt to override final function - rscdisplayloading_script Attempt to override final function - rscdisplayloading_script Attempt to override final function - rscdiary_script Attempt to override final function - rscdisplaysinglemission_script Attempt to override final function - rscdiary_script Attempt to override final function - rscdisplayremotemissions_script Attempt to override final function - rscdisplayloading_script Attempt to override final function - rscdiary_script Attempt to override final function - rscdiary_script Attempt to override final function - rscdisplaystrategicmap_script Attempt to override final function - rscdisplaycommon_script Attempt to override final function - rscdisplaygarage_script Attempt to override final function - rscdisplayhostsettings_script Attempt to override final function - rscdisplayloading_script Attempt to override final function - rscdisplaycurator_script Attempt to override final function - display3deneditcomposition_script Attempt to override final function - display3deneditattributes_script Attempt to override final function - display3deneditattributes_script Attempt to override final function - rscdisplayhostsettings_script Attempt to override final function - rscdisplaycommon_script Attempt to override final function - rscdisplaydebriefing_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script 22:39:03 BattlEye Server: Initialized (v1.214) 22:39:03 VoteThreshold must be in 0..1 range. Defaulting to 0.5 22:39:03 Host identity created. [S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed. Setting breakpad minidump AppID = 107410 22:39:03 Game Port: 2302, Steam Query Port: 2303 22:39:03 Initializing Steam server - Game Port: 2302, Steam Query Port: 2303 Arma 3 Console version 1.62 : port 2302 22:39:03 BattlEye Server: Ping detection currently not working, MaxPing command disabled 22:39:04 Connected to Steam servers 22:39:09 Emerald Pinestripe uses modified data file 22:39:09 BattlEye Server: Player #0 Emerald Pinestripe (217.251.69.149:2304) connected 22:39:09 Player Emerald Pinestripe connecting. 22:39:09 Unsupported language English in stringtable 22:39:09 Unsupported language English in stringtable 22:39:09 Mission tanoa_life.Tanoa read from bank. 22:39:10 Mission tanoa_life.Tanoa: Number of roles (99) is different from 'description.ext::Header::maxPlayer' (75) 22:39:11 BattlEye Server: Player #0 Emerald Pinestripe - GUID: c57b5bee77231d873819975bc87a87f5 22:39:11 Server error: Player without identity Emerald Pinestripe (id 1062113376) 22:39:11 Server error: Player without identity Emerald Pinestripe (id 1062113376) 22:39:12 Server error: Player without identity Emerald Pinestripe (id 1062113376) 22:39:12 Server error: Player without identity Emerald Pinestripe (id 1062113376) 22:39:12 Server error: Player without identity Emerald Pinestripe (id 1062113376) 22:39:12 Server error: Player without identity Emerald Pinestripe (id 1062113376) 22:39:12 Server error: Player without identity Emerald Pinestripe (id 1062113376) 22:39:12 Server error: Player without identity Emerald Pinestripe (id 1062113376) 22:39:12 Server error: Player without identity Emerald Pinestripe (id 1062113376) 22:39:12 Server error: Player without identity Emerald Pinestripe (id 1062113376) 22:39:12 Server error: Player without identity Emerald Pinestripe (id 1062113376) 22:39:12 Server error: Player without identity Emerald Pinestripe (id 1062113376) 22:39:12 Server error: Player without identity Emerald Pinestripe (id 1062113376) 22:39:12 Server error: Player without identity Emerald Pinestripe (id 1062113376) 22:39:12 Server error: Player without identity Emerald Pinestripe (id 1062113376) 22:39:12 Server error: Player without identity Emerald Pinestripe (id 1062113376) 22:39:12 Server error: Player without identity Emerald Pinestripe (id 1062113376) 22:39:12 Server error: Player without identity Emerald Pinestripe (id 1062113376) 22:39:12 Server error: Player without identity Emerald Pinestripe (id 1062113376) 22:39:12 Player Emerald Pinestripe connected (id=76561198066801550). 22:39:12 BattlEye Server: Verified GUID (c57b5bee77231d873819975bc87a87f5) of player #0 Emerald Pinestripe 22:39:13 BattlEye Server: Starting with Arma 3 1.58 all server admins will have to define a dedicated port in BEServer.cfg in order to be able to use BE RCon. Please see https://www.battleye.com/support/documentation/ for details. 22:39:16 Roles assigned. 22:39:16 Reading mission ... 22:39:16 Starting mission: 22:39:16 Mission file: tanoa_life (__cur_mp) 22:39:16 Mission world: Tanoa 22:39:16 Mission directory: mpmissions\__cur_mp.Tanoa\ Can't find real path "a3\map_tanoabuka\data\roads\roads.shp": "No such file or directory" 22:39:20 Warning: Unaccessible ladder point for AI (already used for actionbegin2) in a3\structures_f_exp\commercial\shop_city_01\shop_city_01_f.p3d 22:39:20 Warning: Unaccessible ladder point for AI (already used for actionbegin2) in a3\structures_f_exp\commercial\shop_city_01\shop_city_01_f.p3d 22:39:20 Warning: Unaccessible ladder point for AI (already used for actionend2) in a3\structures_f_exp\commercial\shop_city_01\shop_city_01_f.p3d 22:39:20 Warning: Unaccessible ladder point for AI (already used for actionend2) in a3\structures_f_exp\commercial\shop_city_01\shop_city_01_f.p3d 22:39:21 Unknown hit sound type in A3\data_f\Penetration\tyre.bisurf.soundHit 22:39:25 Error in expression <en that means you can pick it up!." ]; */> 22:39:25 Error position: <*/> 22:39:25 Error Invalid number in expression 22:39:25 File mpmissions\__cur_mp.Tanoa\core\fn_welcomeNotification.sqf, line 20 22:39:25 Error in expression <en that means you can pick it up!." ]; */> 22:39:25 Error position: <*/> 22:39:25 Error Invalid number in expression 22:39:25 File mpmissions\__cur_mp.Tanoa\core\fn_welcomeNotification.sqf, line 20 Attempt to override final function - bis_functions_list Attempt to override final function - bis_functions_listpreinit Attempt to override final function - bis_functions_listpostinit Attempt to override final function - bis_functions_listrecompile Attempt to override final function - bis_fnc_missiontaskslocal Attempt to override final function - bis_fnc_missionconversationslocal Attempt to override final function - bis_fnc_missionflow 22:39:25 Strange convex component16 in a3\boat_f_gamma\boat_civil_04\boat_civil_04_f.p3d:geometryView 22:39:25 Strange convex component25 in a3\boat_f_gamma\boat_civil_04\boat_civil_04_f.p3d:geometryView 22:39:25 Strange convex component26 in a3\boat_f_gamma\boat_civil_04\boat_civil_04_f.p3d:geometryView 22:39:25 Strange convex component27 in a3\boat_f_gamma\boat_civil_04\boat_civil_04_f.p3d:geometryView 22:39:25 class HitPoints::HitFuel not found in C_Boat_Civil_04_F 22:39:25 class HitPoints::HitFuel not found in RoadCone_L_F 22:39:26 class HitPoints::HitFuel not found in Land_Camping_Light_F 22:39:26 SW keep height animation used for a3\structures_f\civ\accessories\timbers_f.p3d 22:39:27 class HitPoints::HitFuel not found in PortableHelipadLight_01_red_F 22:39:27 class HitPoints::HitFuel not found in PortableHelipadLight_01_green_F 22:39:27 Loading movesType CfgGesturesMale 22:39:27 MovesType CfgGesturesMale load time 84 ms 22:39:27 Loading movesType CfgMovesMaleSdr 22:39:33 MovesType CfgMovesMaleSdr load time 5740 ms 22:39:33 No speaker given for Shaan Gowon 22:39:33 No speaker given for Zaim Ekwensi 22:39:34 No speaker given for Harry James 22:39:34 No speaker given for Kirabo Balewa 22:39:34 No speaker given for Gao Liou soldier[B_diver_F]:Some of magazines weren't stored in soldier Vest or Uniform? 22:39:34 No speaker given for Tyler Walker 22:39:34 No speaker given for Matthew Taylor 22:39:34 No speaker given for Lee Morgan 22:39:34 No speaker given for Montgomery Roberts 22:39:34 No speaker given for Katungi Okoye 22:39:34 No speaker given for Harvey Newton 22:39:34 No speaker given for Thomas Stewart 22:39:34 No speaker given for Joseph Clark 22:39:34 No speaker given for Xue Tan 22:39:34 No speaker given for Liao Wong 22:39:34 No speaker given for Ewan Wright 22:39:34 No speaker given for Patterson Byrne 22:39:34 No speaker given for Jamie Santorum 22:39:34 No speaker given for Cheng Sun 22:39:34 No speaker given for Gillian Collins soldier[B_diver_F]:Some of magazines weren't stored in soldier Vest or Uniform? 22:39:34 No speaker given for Joseph Jackson 22:39:34 No speaker given for Batou Awolowo 22:39:34 No speaker given for Shawn Clarke 22:39:34 No speaker given for Ian Thomson 22:39:34 No speaker given for Toby Jackson 22:39:34 No speaker given for Wallace Leahy 22:39:34 No speaker given for Thomas Smith 22:39:34 Wrong vertex mapping for person collision geometry found in a3\characters_f_epc\civil\c_nikos_aged.p3d. Selection 1c not found 22:39:34 Wrong vertex mapping for person collision geometry found in a3\characters_f_epc\civil\c_nikos_aged.p3d. Selection 2c not found 22:39:34 Wrong vertex mapping for person collision geometry found in a3\characters_f_epc\civil\c_nikos_aged.p3d. Selection 3c not found 22:39:34 Wrong vertex mapping for person collision geometry found in a3\characters_f_epc\civil\c_nikos_aged.p3d. Selection 4c not found 22:39:34 Wrong vertex mapping for person collision geometry found in a3\characters_f_epc\civil\c_nikos_aged.p3d. Selection 5c not found 22:39:34 Wrong vertex mapping for person collision geometry found in a3\characters_f_epc\civil\c_nikos_aged.p3d. Selection 6c not found 22:39:34 Wrong vertex mapping for person collision geometry found in a3\characters_f_epc\civil\c_nikos_aged.p3d. Selection 7c not found 22:39:34 Wrong vertex mapping for person collision geometry found in a3\characters_f_epc\civil\c_nikos_aged.p3d. Selection 8c not found 22:39:34 Wrong geometry convex component mapping for person collision geometry found in a3\characters_f_epc\civil\c_nikos_aged.p3d. Convex component number 3. not found 22:39:34 No speaker given for Militiadis Isofidou 22:39:34 No speaker given for Stergos Bouras 22:39:34 No speaker given for Vasilis Dimitriadis 22:39:34 No speaker given for Takis Kanelloupou 22:39:34 No speaker given for Alexandros Athanasiadis 22:39:34 No speaker given for Vyron Papadopoulos 22:39:34 No speaker given for Janos Tavoularis 22:39:34 No speaker given for Giorgos Papadopoulos 22:39:34 No speaker given for Markos Moritiadou 22:39:34 No speaker given for Giannis Baros 22:39:34 No speaker given for Apostolos Roumpesi 22:39:34 No speaker given for Vega Floros 22:39:34 No speaker given for Rosi Constantinou 22:39:34 No speaker given for Vasilis Zenon 22:39:34 No speaker given for Panas Oikonomopulu 22:39:34 No speaker given for Dimitirou Nicolau 22:39:34 No speaker given for Angelos Papadopoulos 22:39:34 No speaker given for Nicolo Savalas 22:39:34 No speaker given for Panas Ellinaki 22:39:34 No speaker given for Evangelos Athanasiadis 22:39:34 No speaker given for Janos Karmanlis 22:39:34 No speaker given for Evripidis Manago 22:39:34 No speaker given for Michalis Baros 22:39:34 No speaker given for Gekas Moritiadou 22:39:34 Performance warning: Very large search for 1779863 (>300 m) 22:39:38 Strange convex component70 in a3\structures_f_exp\commercial\multistorybuilding_01\multistorybuilding_01_f.p3d:geometryFire 22:39:38 Strange convex component75 in a3\structures_f_exp\commercial\multistorybuilding_01\multistorybuilding_01_f.p3d:geometryFire 22:39:38 Strange convex component76 in a3\structures_f_exp\commercial\multistorybuilding_01\multistorybuilding_01_f.p3d:geometryFire 22:39:38 Strange convex component77 in a3\structures_f_exp\commercial\multistorybuilding_01\multistorybuilding_01_f.p3d:geometryFire 22:39:38 Strange convex component78 in a3\structures_f_exp\commercial\multistorybuilding_01\multistorybuilding_01_f.p3d:geometryFire 22:39:43 Strange convex component16 in a3\boat_f_gamma\boat_civil_04\boat_civil_04_f.p3d:geometryView 22:39:43 Strange convex component25 in a3\boat_f_gamma\boat_civil_04\boat_civil_04_f.p3d:geometryView 22:39:43 Strange convex component26 in a3\boat_f_gamma\boat_civil_04\boat_civil_04_f.p3d:geometryView 22:39:43 Strange convex component27 in a3\boat_f_gamma\boat_civil_04\boat_civil_04_f.p3d:geometryView 22:39:44 Performance warning: Unsucessfull search for 1779863 was very large (15390 m) 22:39:44 Performance warning: Very large search for 464720 (>300 m) 22:39:44 Performance warning: Search for 8ae9a800# 464720: offices_01_v1_f.p3d was very large (10290 m) 22:39:44 Mission read. Error: Object(2 : 1145) not found Error: Object(2 : 1147) not found Error: Object(2 : 1152) not found Error: Object(2 : 1154) not found Error: Object(2 : 1239) not found 22:39:44 ../lib/Network/networkServer.cpp OnClientStateChanged:NOT IMPLEMENTED - briefing! 22:39:44 "extDB2: Connected to Database" 22:39:46 Unknown attribute shadown 22:40:24 Mission id: 8fd605ff855ec3ebb6bf3cc807b6bf5e4ca63a0d 22:40:24 Game started. 22:41:15 Loading movesType CfgMovesCock_F 22:41:15 Loading movesType CfgMovesSheep_F 22:41:15 Loading movesType CfgMovesGoat_F 22:41:15 Loading movesType CfgMovesHen_F 22:43:45 "### DYNMARKET >> SAUVEGARDE AVEC SUCCÈS DES PRIX COURANTS DANS LA BASE DE DONNÉES ###"Also meine RTP Kompetenz ist jetzt nicht die beste aber so auf den ersten Blick....ähh..ne?!
-
Hallo,
ich habe die Variante getestet aber leider noch ohne erfolg.Hier meine Dateien :
Code: fn_setupStationService.sqf
Alles anzeigen/* File: fn_setupStationService.sqf Author: NiiRoZz Description: Add action fuel action in Station Service. put function in init file then execute it with: ["obj id"] call getObjcsInMap; example: ["Land_fs_feed_F"] call getObjcInMap; Function : getObjcInMap = { private ["_pos", "_Station", "_br", "_tab", "_TexteSortie"]; _pos = getArray(configFile >> "CfgWorlds" >> worldName >> "centerPosition"); _Station = nearestObjects [_pos, _this, 25000]; _br = toString [13, 10]; _tab = toString [9]; _TexteSortie = "_position = [" + _br; { _TexteSortie = _TexteSortie + _tab + (str (getpos _x)); _TexteSortie = if (_forEachIndex < ((count _Station) - 1)) then {_TexteSortie + ", " + _br} else {_TexteSortie + _br}; } forEach _Station; _TexteSortie = _TexteSortie + "];"; hint "Completed"; copyToClipboard _TexteSortie; }; */ private ["_positionAltis","_pumpClass","_pumpClass2","_pump","_pump2"]; _positionAltis = [ // Georgetown Sud [5403.81,9913.74,0], [5409.68,9913.75,0], [5403.54,9905.04,0], [5409.41,9905.05,0], // Georgetown Centre [5681.64,10163.8,0], [5677.78,10173.8,0], [5685.9,10173,0], [5683.21,10182,0], // Georgetown Nord [5810.81,10816.8,0], [5810.9,10824.8,0], [5802.18,10824.6,0], [5802.08,10817,0], [5793.34,10817,0], [5793.4,10825.4,0], // Oua-Oué [5594.25,12508.2,0], // Nicolet [6599.95,13076.1,0], [6602.43,13082.1,0], [6594.39,13085.4,0], [6592.03,13079.7,0], [6583.86,13082.8,0], [6586.07,13088.3,0], // Savu [8952.51,13678,0], [8954.49,13678,0], [8956.31,13677.8,0], // La Rochelle [9961.14,13484.2,0], [9960.92,13475.4,0], [9960.31,13466.6,0], [9953.63,13467,0], [9954.06,13475.8,0], [9954.54,13484.6,0], // Aérodrome La Rochelle [11635.3,13047.3,0], [11637.2,13052.7,0], [11629,13055.6,0], [11627.1,13050.3,0], [11618.6,13052.6,0], [11620.7,13058.5,0], [11841.3,13072.9,0], // Ba [14261,11512.9,0], [14264.9,11508.8,0], // Nandai [14364.5,8742.83,0], // Ouméré [12617.9,7580.21,0], [12613.8,7582.67,0], [12617.4,7590.61,0], [12622.5,7587.71,0], // Kotomo [10826.6,6489.35,0], // Lami [7978.13,7418.71,0], [7977.01,7426.93,0], // Lifou [7369.15,8002.1,0], [7366.7,7995.42,0], [7358.5,7998.41,0], [7360.9,8005.06,0], // Aérodrome de Tanoa [6886.98,7490.55,0], [6985.86,7388.02,0], // Regina [5174.06,8806.32,0], // Tanouka [8318.88,9708.97,0], [8320.62,9712.11,0], [8970.46,10331.8,0], // Vagalala [10935.2,9856.06,0], [10940.9,9855.39,0], // Relais Routier [8494.51,12431.7,0], [8493.24,12437.5,0], [8492.02,12441.7,0], // Belfort [3029.57,11316.1,0], // Tuvanaka [1873.69,12121.5,0], [1864.93,12122,0], [1874.13,12127.8,0], [1865.36,12128.1,0], // Harcourt [11154.2,5152.25,0], [11146.2,5152.07,0], // Aérodrome de Saint-George [11641.8,2990.95,0], [11631,2998.87,0], // Lijnhaven [11686.6,2267.25,0], [11690,2260.99,0], [11697.6,2265.13,0], [11694.3,2271.4,0], // Katkoulou [5775.89,4221.6,0], [5781.09,4224.88,0], [5776.53,4232.35,0], [5770.75,4228.7,0], [5767.12,4236.83,0], [5770.84,4239.12,0], [5388.64,4090.58,0], [5379.55,4093.02,0], // Aérodrome de Bala [2132.15,3360.41,0], [2137.38,3360.78,0], [2134.8,3360.63,0], [1986.82,3423.42,0], // Balavu [2463.13,7430.49,0], [2451.89,7434.52,0], // Base aérienne de Tuvanaka [2193.32,13387.1,0] ]; _pumpClass1 = "Land_FuelStation_01_pump_F","Land_fs_feed_F","Land_FuelStation_Feed_F","Land_FuelStation_01_pump_F","Land_FuelStation_02_pump_F"; _pumpClass2 = "Land_FuelStation_02_pump_F","Land_fs_feed_F","Land_FuelStation_Feed_F","Land_FuelStation_01_pump_F","Land_FuelStation_02_pump_F"; { _pump = nearestObject _x; _pump setFuelCargo 0; _pump addAction [localize "STR_Action_Pump", life_fnc_fuelStatOpen, 1, 3, true, true, "", 'cursorObject isEqualTo _target', 5]; _pump2 = (nearestObject [_x, _pumpClass2]); _pump2 setFuelCargo 0; _pump2 addAction [localize "STR_Action_Pump", life_fnc_FuelStatOpen, 1, 3, true, true, "", ' _this distance _target < 5 && cursorTarget == _target ']; } forEach _NiiRoZz_Station_Essence;Code: fn_fuelStatOpen.sqf
Alles anzeigen#include "..\..\script_macros.hpp" /* File: fn_fuelStatOpen.sqf Author : NiiRoZz Description: Open dialog Pump. */ private["_shop","_sideCheck","_spawnPoints","_shopFlag","_disableBuy","_fuelCost"]; disableSerialization; //Long boring series of checks if (life_action_inUse) exitWith {}; if (dialog) exitWith {}; if (life_is_processing) exitWith {}; life_action_inUse = true; _fuelstations = nearestObjects [player, ["Land_fs_feed_F","Land_FuelStation_Feed_F","Land_FuelStation_01_pump_F","Land_FuelStation_02_pump_F"],10]; if (_fuelstations isEqualTo []) exitWith {life_action_inUse = false;}; _vehicleList = nearestObjects [player, ["Car","air"], 10]; if (count _vehicleList < 1) exitWith {hint localize "STR_NOTF_VehicleNear";life_action_inUse = false;}; if (!createDialog "Life_FuelStat") exitWith {}; _fuelCost = LIFE_SETTINGS(getNumber,"fuel_cost"); [] spawn {waitUntil {!dialog}; life_action_inUse = false;}; ctrlSetText [20301,"Fuel Station"]; if (isNil "life_fuelPrices") then { life_fuelPrices = _fuelCost; }; //Fetch the shop config. vehicleFuelList =[]; { _fuel = fuel _x; vehicleFuelList pushBack [_x,_fuel]; } forEach _vehicleList; _control = ((findDisplay 20300) displayCtrl 20302); lbClear _control; //Flush the list. ctrlSetText [20322,format [localize "STR_Price_Fuel_Pump",life_fuelPrices]]; ctrlSetText [20323,format ["Total : %1$",life_fuelPrices * 0.1]]; //Loop through { _className = typeOf (_x select 0); _fuelleft = _x select 1; _vehicleInfo = [_className]call life_fnc_fetchVehInfo; _control lbAdd (_vehicleInfo select 3); _control lbSetPicture [(lbSize _control)-1,(_vehicleInfo select 2)]; _control lbSetData [(lbSize _control)-1,_className]; _control lbSetValue [(lbSize _control)-1,_ForEachIndex]; } forEach vehicleFuelList;Ich danke im Vorraus

-
okay hab ich gemacht...danke euch allen erstmal ....teste es dann heute abend zuhause
-
Um Gotteswillen nein das musst du auch nicht.
Also ich habe das jetzt so gemacht ....ist das so koreckt? Kann es gerade noch nicht testen bin auf Arbeit....
Code: fn_vInteractionMenu.sqf
Alles anzeigen#include "..\..\script_macros.hpp" /* File: fn_vInteractionMenu.sqf Author: Bryan "Tonic" Boardwine Description: Replaces the mass addactions for various vehicle actions */ #define Btn1 37450 #define Btn2 37451 #define Btn3 37452 #define Btn4 37453 #define Btn5 37454 #define Btn6 37455 #define Title 37401 private["_display","_curTarget","_Btn1","_Btn2","_Btn3","_Btn4","_Btn5","_Btn6","_dlcVehicles"]; if(!dialog) then { createDialog "vInteraction_Menu"; }; disableSerialization; _curTarget = param [0,ObjNull,[ObjNull]]; if(isNull _curTarget) exitWith {closeDialog 0;}; //Bad target _isVehicle = if((_curTarget isKindOf "landVehicle") OR (_curTarget isKindOf "Ship") OR (_curTarget isKindOf "Air")) then {true} else {false}; if(!_isVehicle) exitWith {closeDialog 0;}; _display = findDisplay 37400; _Btn1 = _display displayCtrl Btn1; _Btn2 = _display displayCtrl Btn2; _Btn3 = _display displayCtrl Btn3; _Btn4 = _display displayCtrl Btn4; _Btn5 = _display displayCtrl Btn5; _Btn6 = _display displayCtrl Btn6; life_vInact_curTarget = _curTarget; _dlcVehicles = ["C_Kart_01_Blu_F","C_Kart_01_Red_F","C_Kart_01_Fuel_F","C_Kart_01_Vrana_F","B_Heli_Transport_03_F","B_Heli_Transport_03_unarmed_F","O_Heli_Transport_04_F","O_Heli_Transport_04_ammo_F","O_Heli_Transport_04_bench_F","O_Heli_Transport_04_box_F","O_Heli_Transport_04_covered_F","O_Heli_Transport_04_fuel_F","O_Heli_Transport_04_medevac_F","O_Heli_Transport_04_repair_F"]; _countFS = count nearestObjects [player, ["Land_FuelStation_01_pump_F","Land_FuelStation_02_pump_F"],10]; //Set Repair Action _Btn1 ctrlSetText localize "STR_vInAct_Repair"; _Btn1 buttonSetAction "[life_vInact_curTarget] spawn life_fnc_repairTruck;"; if("ToolKit" in (items player) && (damage _curTarget < 1)) then {_Btn1 ctrlEnable true;} else {_Btn1 ctrlEnable false;}; //Fuel _Btn6 ctrlShow true; _Btn6 ctrlEnable false; _Btn6 ctrlSetText "Tanken"; if(life_inv_fullFuel > 0 && _countFS <= 0) then { _Btn6 ctrlSetText "Kanister nutzen"; _Btn6 buttonSetAction "[life_vInact_curTarget] spawn life_fnc_jerryRefuel;"; _Btn6 ctrlEnable true; }; if(_countFS > 0) then { _Btn6 buttonSetAction "closeDialog 0;"; _Btn6 ctrlEnable true; }; if(playerSide == west) then { _Btn2 ctrlSetText localize "STR_vInAct_Registration"; _Btn2 buttonSetAction "[life_vInact_curTarget] spawn life_fnc_searchVehAction;"; _Btn3 ctrlSetText localize "STR_vInAct_SearchVehicle"; _Btn3 buttonSetAction "[life_vInact_curTarget] spawn life_fnc_vehInvSearch;"; _Btn4 ctrlSetText localize "STR_vInAct_PullOut"; _Btn4 buttonSetAction "[life_vInact_curTarget] spawn life_fnc_pulloutAction;"; if(count crew _curTarget == 0) then {_Btn4 ctrlEnable false;}; _Btn5 ctrlSetText localize "STR_vInAct_Impound"; _Btn5 buttonSetAction "[life_vInact_curTarget] spawn life_fnc_impoundAction;"; if(_curTarget isKindOf "Ship") then { _Btn6 ctrlSetText localize "STR_vInAct_PushBoat"; _Btn6 buttonSetAction "[] spawn life_fnc_pushObject; closeDialog 0;"; if(_curTarget isKindOf "Ship" && {local _curTarget} && {count crew _curTarget == 0}) then { _Btn6 ctrlEnable true;} else {_Btn6 ctrlEnable false}; } else { if((typeOf (_curTarget) in _dlcVehicles) && !(288520 in getDLCs 1)) then { if(_curTarget isKindOf "Air") then { _Btn6 ctrlSetText localize "STR_vInAct_GetInHeli"; } else { _Btn6 ctrlSetText localize "STR_vInAct_GetInKart"; }; _Btn6 buttonSetAction "player moveInDriver life_vInact_curTarget; closeDialog 0;"; if(count crew _curTarget == 0 && {canMove _curTarget} && {locked _curTarget == 0}) then {_Btn6 ctrlEnable true;} else {_Btn6 ctrlEnable false}; } else { _Btn6 ctrlSetText localize "STR_vInAct_Unflip"; _Btn6 buttonSetAction "life_vInact_curTarget setPos [getPos life_vInact_curTarget select 0, getPos life_vInact_curTarget select 1, (getPos life_vInact_curTarget select 2)+0.5]; closeDialog 0;"; if(count crew _curTarget == 0 && {canMove _curTarget}) then { _Btn6 ctrlEnable false;} else {_Btn6 ctrlEnable true;}; }; }; } else { if(_curTarget isKindOf "Ship") then { _Btn2 ctrlSetText localize "STR_vInAct_PushBoat"; _Btn2 buttonSetAction "[] spawn life_fnc_pushObject; closeDialog 0;"; if(_curTarget isKindOf "Ship" && {local _curTarget} && {count crew _curTarget == 0}) then { _Btn2 ctrlEnable true;} else {_Btn2 ctrlEnable false}; } else { if((typeOf (_curTarget) in _dlcVehicles) && !(288520 in getDLCs 1)) then { if(_curTarget isKindOf "Air") then { _Btn2 ctrlSetText localize "STR_vInAct_GetInHeli"; } else { _Btn2 ctrlSetText localize "STR_vInAct_GetInKart"; }; _Btn2 buttonSetAction "player moveInDriver life_vInact_curTarget; closeDialog 0;"; if(count crew _curTarget == 0 && {canMove _curTarget} && {locked _curTarget == 0}) then {_Btn2 ctrlEnable true;} else {_Btn2 ctrlEnable false}; } else { _Btn2 ctrlSetText localize "STR_vInAct_Unflip"; _Btn2 buttonSetAction "life_vInact_curTarget setPos [getPos life_vInact_curTarget select 0, getPos life_vInact_curTarget select 1, (getPos life_vInact_curTarget select 2)+0.5]; closeDialog 0;"; if(count crew _curTarget == 0 && {canMove _curTarget}) then { _Btn2 ctrlEnable false;} else {_Btn2 ctrlEnable true;}; }; }; if(typeOf _curTarget == "O_Truck_03_device_F") then { _Btn3 ctrlSetText localize "STR_vInAct_DeviceMine"; _Btn3 buttonSetAction "[life_vInact_curTarget] spawn life_fnc_deviceMine"; if(!isNil {(_curTarget getVariable "mining")} OR !local _curTarget && {_curTarget in life_vehicles}) then { _Btn3 ctrlEnable false; } else { _Btn3 ctrlEnable true; }; } else { _Btn3 ctrlShow false; }; _Btn4 ctrlShow false; _Btn5 ctrlShow false; }; -
Ok. Bin gespannt
danke