Müsstest du beim Autor fragen, daher er das mit einer .ebo gemacht hat. Dann könnte er dir es sicher umändern.
Sperrzonensystem 2.1
-
- Altis Life
-
Stig -
23. Dezember 2016 um 18:33
-
-
Zur Feier der 100. Antwort habe ich den Quellcode angehängt im Hauptpost.
Ihr könnt das Script nun editieren nach euren Vorlieben und es anstatt als Mod mitzuladen auch in eure Mission packen.
Das Script ist eventuell hier und da etwas seltsam strukturiert und komisch geschrieben, denn ich habe es im Prinzip nicht wieder angefasst, nachdem es vernünftig funktionierte. Das Optimieren könnt ihr ja übernehmen .
Es hat aber aktuell den Vorteil, dass es nur einmal auf dem Server ausgeführt werden muss und dann macht es den Rest von selbst. Ihr könnt das aber umstrukturieren und ändern und so vielleicht auch versuchen, die infiStar Probleme zu umgehen.
Wenn ihr das Teil verbessert, teilt die doch hier im Thread mit .Viel Spaß!
-
-
wo muss die Sperrzonensystem.spf ihn?
-
in .pbo packen und mit der .ebo tauschen ?
berichtigt mich bitte fals ich falsch liege^^
edit: per execvm kann man die sqf auch in der life_server laden lassen
-
Hat jemand eigentlich schon ein Fix, um es mit Infistar laufen zu lassen?
-
- Offizieller Beitrag
Hat jemand eigentlich schon ein Fix, um es mit Infistar laufen zu lassen?
Was gibt es dort zu fixen? -
Wenn man infistar hat, funktioniert der Bestätigungs button nicht ( Enter )
-
InfiStar nicht benutzen?!
-
infistar funktioniert damit doch
-
- Offizieller Beitrag
Wenn man infistar hat, funktioniert der Bestätigungs button nicht ( Enter )
idc vll mal in die whitelist packen..? -
hast du ihn bei mod oder servermod ? @Wolfskin
-
what hab ich? @skyracer2012
-
-mod = globale mods und -servermod= mods nur für den server zum beispiel [lexicon]extDB[/lexicon]
-
Hi,
für alle die das Speerzonen System mit infiSTAR nutzen wollen, aktuell ist es so das infiStar ja die EnterTaste im allgemeinen auf der Map blockiert.
Ich habe mich damit mal etwas beschäftigt und folgendes herausgefunden:Wenn ihr in Zeile 146 der Datei infiSTAR_config.sqf die Option 'KeyDown' entfernt, wird das nichtmehr blockert, allerdings ist das natürlich mit einem gewissen "Risiko" (bewust in anführungsstrichen) verbunden, da ihr damit die Enter Taste im allgemeinen freigebt.
Ich hoffe ich konnte damit jemandem hekfen.
Nicht erschrecken, ich habe die Datei für den Post unten etwas abgeschnitten, also bitte nicht einfach Copy&Paste machen
Code: infiSTAR_config.sqf
Alles anzeigen/* File: infiSTAR_config.sqf Author: Chris(tian) "infiSTAR" Lorenzen Contact: [email protected] Description: Arma AntiHack & AdminTools - infiSTAR.de ON LINUX YOU NEED THIS PARAMETER: -profiles */ /* "serverCommandPassword" is serverCommandPassword - in your servers config.cfg if your config.cfg does not have serverCommandPassword yet, simply add it in a new line: serverCommandPassword = "changeme"; This is VERY IMPORTANT as it is needed to KICK & BAN people. */ _serverCommandPassword = 'SERVERCOMMANDPASSWORT'; /* "_passwordAdmin" is passwordAdmin - in your servers config.cfg, needed for servercommands from client This is used to be able to use the "login" function ingame. Will log you in as Arma "Admin". */ _passwordAdmin = 'ADMINPASSWORD'; /* _serverCommandPassword and _passwordAdmin should always be different passwords or it could cause problems! */ /* _MOD can be 'Epoch', 'AltisLife', 'KOTH', 'WASTELAND' or 'Other'. You have to set the mod you run manually e.g. _MOD = 'KOTH'; */ _MOD = 'AltisLife'; /* "_OPEN_ADMIN_MENU_KEY": Key to open the menu (google DIK_KeyCodes (0x44 is F10)) */ _OPEN_ADMIN_MENU_KEY = 0x44; /* What ESCAPE Menu shows */ _ESCMNUTOP = 'GA-Gaming'; _ESCMNUBOT = 'Willkommen auf dem GA-Gaming Server'; _BRIEFING_MSG = false; /* use mission briefing message: if "_BRIEFING_MSG = false;" then the message will be replaced by infiSTAR */ /* shows RESTART IN X MINS */ _USE_RESTART_TIMER = false; /* true or false */ _RESTART_TIME_IN_M = 240; /* restart time in minutes */ _SHOW_TIMER_IN_MIN = [1,2,3,5,10]; /* minutes before restart, when message is shown */ /* The following 3 options can be disabled by putting the value to -1. For example "_TGV = -1;" */ /* Terrain Grid Value */ _TGV = 35; /* 50, 25, 12.5 */ /* if set to 50 grass will be very low for better client FPS.. default is 25 ~35 is good performance and grass :) */ /* ViewDistance Value */ _VDV = 2000; /* ObjectViewDistance */ _VOV = 2000; /* "_LogAdminActions": Sends actions done by each admin to the server to log it to the .txt file and .rpt file + sends it back to all other admins. */ _LogAdminActions = true; /* true or false */ _enableIngameLogs = true; /* true or false */ /* Use infiSTAR Tild (CommandingMenu) */ _useTildMenu = false; /* true or false */ /* "_startAsNormal": if you add admin UIDs in here as well, they will start as almost "normal" player instead of with admin menu and such. */ _startAsNormal = [ '0','0','0' ]; /* if one of the admins with the UIDs in "_startAsNormal" uses the !admin command to login as admin, it will be announced to ANYONE on the server if "_announce_adminstate_changed" is true. */ _announce_adminstate_changed = false; /* true or false */ _use_html_load_on_adminmenu = true; /* default and recommended is TRUE. infiSTAR updates and news are announced in the top right corner when you open the AdminMenu if this is true! */ _adminUIDandAccess = [ [ ['UID1','UID2','UID3','...'], // Admins with UIDs in this Array have their Access defined in the array below. [ 'Teleport On Map Click','Teleport - Target To Me','Teleport - Me To Target','Teleport In Facing Direction (10m steps)', 'spectating','AdminConsole','Delete Vehicle','FlyUp','EjectTarget','ToggleVehLock','UpgradeBuilding','ShowGear', 'HealSelf','HealRepairNear','AddAmmoSelf','AdminStart','AdminLog','Freeze Target','UnFreeze Target', '==== Loadouts ====','==== WeatherLord ====','==== Base Deleter ====','==== VirtualItems ====', '==== Weapons ====','==== Magazines ====','==== Bags ====','==== Vehicles ====','==== Objects ====','==== AltisLife Money ====', 'Remove Gear','Revive','Heal','Restore','Move In My Vehicle','Move In Target Vehicle','Parachute Target', 'Spawn UAV','Spawn Cloak','Spawn Sapper','Spawn SapperB','Eject','Eject Crew','Kill','Explode','MineField (around target)','Zeus','Force Disconnect', 'Kick (Silent)','Kick (Announce)','Ban (Silent)','Ban (Announce)', 'Default Epoch Player ESP','Default Epoch Vehicle ESP','infiSTAR Player ESP 1', 'infiSTAR Player ESP 2','infiSTAR Dead ESP','infiSTAR AI ESP', 'infiSTAR LockBox ESP','infiSTAR Shelf ESP','infiSTAR PlotPole ESP','Fake Epoch group to nearest PlotPole', 'infiSTAR MapIcons','PlotPole Marker','Vehicle Marker','Construction Marker','LockBox Marker','DeadPlayer Marker', 'God Mode','Vehicle God Mode','Lower Terrain','Vehboost','UnlimAmmo','noRecoil','FastFire','Stealth / Invisible', 'Disable Announces','Show FPS','Give All Licenses','Call EMP','Mass Message','DayTime','NightTime','Add / Remove Crypto', 'Spawn Epoch-Box','Spawn Support-Box1','Spawn Support-Box2','Spawn Support-Box3', 'Spawn Ammo','showinfo','Login as Arma Admin','BIS FreeRoam Cam (works with ESP)','FreeRoam Cam (does not work with ESP)', 'Request Steam Name','Dump unique client variables','Restrain','Unrestrain','Arsenal' // Adds Arsenal to the mousewheel actions if you press "," on the Numpad! ] ] ]; /* ********************************************************************************* */ /* many checks should be set to true instead of false. */ /* These are just diabled because the average user doesn't read this file.. */ /* ********************************************************************************* */ /* Items Added Check */ _IAC = true; /* true or false */ /* checks if Items are being added unrightful! */ /* Local Vehicle Check */ _LVC = true; /* true or false */ /* unitRecoil checks */ _URC = true; /* true or false */ /* checks unitRecoilCoefficient and resets default unitRecoilCoefficient */ /* Notification check */ _UNC = false; /* true or false */ /* _UNC = false; on AltisLife! - showNotification check */ /* Use MPInterrupt check*/ _UMP = false; /* true or false */ /* Check BTTNs on D49 */ _B49 = false; /* true or false */ /* will announce: BadButton on 49 */ /* whitelist for _B49 */ _excludedButtons = []; /* Will Kick for BadButton XYZ if a customnized button is not white-listed here. Example: _excludedButtons = [1010]; */ /* Check Actions Plr */ _CAP = false; /* true or false */ /* "Actions: xxx/xxx possible scroll menu hack (or you added custom actions..)" */ /* Remove Actions Plr */ _OAP = false; /* true or false */ /* Remove ALL Actions on Player Object: (mousewheel actions) needs to be false for AltisLife for e.g. gathering */ /* Remove Actions Objs */ _OAO = false; /* true or false */ /* Remove ALL Actions on Objects near Player: (mousewheel actions) needs to be false when using e.g. IgiLoad */ /* Check Attached Objs */ _CAO = false; /* true or false */ /* needs to be false when using e.g. IgiLoad */ /* Use Anti Teleport */ _UAT = false; /* true or false */ /* might need to be set to false on other mods than Epoch! */ /* Chat-Vote Day/Night */ _VDN = false; /* true or false */ /* Check Vision Mode */ _CVM = false; /* true or false */ /* check view distance */ _CVD = false; /* true or false */ /* if the viewdistance is not 1600 - ban. */ /* check cameraOn */ _CCO = false; /* true or false */ /* needs to be false for UAV drones and such things.. */ /* Revert onEachFrame */ _REF = false; /* true or false */ /* AltisLife uses this for PlayerTags - so it should be _REF = false; on AltisLife */ /* Map Icon Check */ _MIC = false; /* true or false */ /* Needs to be false on some WasteLand versions */ /* Remove All Mines */ _RAM = false; /* true or false */ /* Remove All UAVs */ _RUS = false; /* true or false */ /* onEachFrame function */ _rOEF = {}; /* this needs to be CODE */ /* custom HandleDamage */ _CHD = {}; /* this needs to be CODE */ /* Revert allowDamage */ _RAD = false; /* true or false */ /* if you have safezones using "player allowDamage false;" or similar.. set _RAD = false; */ /* Revert HandleDamage */ _RHD = false; /* true or false */ /* Needs to be false for Paintball script */ /* EH_Draw3D check */ _C3D = false; /* true or false */ /* announces: "EH_Draw3D x should be y" */ /* MouseMoving EH check */ _MOH = false; /* true or false */ /* announces: "MouseMoving EventHandler added" - needs to be disabled for UAV scripts and such.. */ /* MouseButton EH check */ _MBC = false; /* true or false */ /* announces: "MouseButton EventHandler added" */ /* Revert MouseButton */ _RMB = false; /* true or false */ /* false with Task Force Radio ? */ /* Revert KeyUp */ _RUK = false; /* true or false */ /* recommended: true Removes custom KeyUps and sets back the default ones (false with Task Force Radio ?) */ /* Revert KeyDown */ _RDK = false; /* true or false */ /* recommended: true Removes custom KeyDowns and sets back the default ones (false with Task Force Radio ?) */ /* Check Keybinds */ _CKB = false; /* true or false */ /* recommended: true _RKB needs to be true! Checks Keybinds, if it finds added ones it shows: "KeyBinds added %1 should be %2" */ /* check MapSingleClick */ _OMC = false; /* true or false */ /* announces: "MapSingleClick modified", if modification is found - NEEDS _MBC to be true! */ /* Remove Hit Handler */ _REH = false; /* true or false */ /* Needs to be false for Paintball script */ /* Revert InventoryOpen */ _RIO = true; /* true or false */ /* AltisLife only: Sets the custom InventoryOpened Handler */ /* Revert Killed EH */ _RKH = false; /* true or false */ /* "" Respawn Handler */ _RRH = false; /* true or false */ /* Needs to be false for some custom loadout scripts */ /* Revert Map EH */ _RMEH = ['MouseButtonDblClick','MouseButtonClick','MouseButtonDown','MouseButtonUp','MouseZChanged','MouseHolding','KeyUp']; /* Do not change EH_Fired at all! */ _NO_EHF = false; /*true or false */ /* obviously needs to be false if settings below are supposed to be used! */ /* Use EH_Fired check */ _EHF = false; /* true or false */ /* Some mods revert the EventHandlers by default and can cause problems with this check. Tested on Epoch and AltisLife. */ /* custom _EHF Function */ _customFiredEventhandler = ''; /* CODE OR STRING */ /* check for RscDisplayArsenal */ _checkRscDisplayArsenal = true; /* true or false */ /* this needs to be CODE Example: _customOnPlayerConnected = { params['_id','_uid','_name','_jip','_owner']; diag_log format['%1(%2) connected!',_name,_uid]; }; */ _customOnPlayerConnected = {}; /* ------- SOME EPOCH ONLY FUNCTIONS - BELOW ------- */ /* Check Crypto */ _CCT = false; /* true or false */ /* When a players Crypto is smaller than 0 or bigger than 250000, the player gets banned (not possible with default epoch) /* Use CombatLog checks */ _CLG = true; /* true or false */ /* "PLAYERNAME CombatLogged GPS X/Y find the dead body!" /* Use Anti Glitch */ _UAG = true; /* true or false */ /* a try to stop glitching through walls on Doors/Walls */ /* Use Anti Wall Look */ _AWL = false; /* true or false */ /* *experimental* a try to stop people from watching through Epoch Doors/Walls */ /* MPHit Log */ _MPH = true; /* true or false */ /* will create a A3_MPHIT.txt file where logs hits on players */ /* Token Check */ _TOC = false; /* true or false */ /* checks if a player got a token after a certain amount of time (trigger message: PlayerConnected %1 seconds ago but did not Request a Token!) */ /* ------- SOME EPOCH ONLY FUNCTIONS - ABOVE ------- */ /* *** ROPING OPTIONS *** */ /* "_KFR" and "_RVR" can run together (both be true) but it is recommended to have both options to false and use "_RPR" with "true" state. That will allow players to Lift but they won't be able to drop cars full of people anywhere */ /* "_KFR": Will not allow any Rope attached to Vehicle Player - Needs to be false for some "towing" scripts.. */ _KFR = false; /* true or false */ /* "_RVR": Will delete any Rope attached to Vehicle Player and close ones - Needs to be false for some "towing" scripts.. */ _RVR = false; /* true or false */ /* "_RPR": Will only delete Ropes if the roped object has a crew! */ _RPR = false; /* true or false */ /* "_EpochIndestructible": Make Epoch Buildings indestructible on ServerStart! */ _EpochIndestructible = false; /* CommandingMenu Check */ _CMC = true; /* true or false */ /* Close ALL CMD-Menus */ _KCM = true; /* true or false */ /* Just closes All Commandingmenus (ignores the white-list below) */ /* _cMenu: if '_CMC = true;' then this array holds the ALLOWED Commanding Menus */ _cMenu = [ '', 'RscMainMenu','RscMoveHigh','#WATCH','#WATCH0','RscWatchDir','RscWatchMoveDir','#GETIN','#RscStatus','RscCallSupport','#ACTION', 'RscCombatMode','RscFormations','RscTeam','RscSelectTeam','RscReply','#User:BIS_Menu_GroupCommunication','#CUSTOM_RADIO', 'RscRadio','RscGroupRootMenu','RscMenuReply','RscMenuStatus','#User:BIS_fnc_addCommMenuItem_menu','RscMenuMove','RscMenuFormations' ]; /* Check Global Markers */ _CGM = false; /* true or false */ /* you may need to disable this check for A.I. Missions - or whitelist the used Markers in the _aLocalM Array beneath */ /* Check Local Markers */ _CLM = false; /* true or false */ /* false if you do not want LocalMarker to be checked. */ /* Use _aLocalM array */ _UMW = false; /* true or false */ /* use allowed marker array from below (for example AltisLife uses house_ and others in there) or A.I. Missions */ /* _aLocalM: if '_CLM' && _UMW - this array of names will be allowed */ _aLocalM = [ 'sek_','_marker','marker_','house_','_dead_marker','_gpstracker','cop','Marker200', 'SEM_','Plane','Bandit','Strange' ]; /* _badIDDsToKick will be checked before _badIDDsToClose, _badIDDsToClose will be checked before _allowedIDDs */ /* _badIDDsToKick: Forbidden Idds that will get you Kicked by the AH */ _badIDDsToKick = [-1337,133,167,1340,1341,1342,1343,1344,1345,1346,1347]; /* _badIDDsToClose: Forbidden Idds that will get closed by the AH */
-
Ich finde leider die .sqf Datei die @Stig mit dazugeladen hat im Anhang nicht.
Hat diese noch jemand und wäre so nett diese nochmals hochzuladen ?MfG
-
bitte
-
Wo muß man jetzt die SQF rein machen ...
-
Wo muß man jetzt die SQF rein machen ...
Als Mod lassen, in @life_server packen oder in die Mission, so wie du willst.
anstatt als Mod mitzuladen auch in eure Mission packen.
Aber so wie die Frage andeutet, reicht dir das wahrscheinlich nicht als Antwort. Es scheint als wüsstest du nicht wie du ein SQF Script irgendwo benutzen kannst. Wir können aber nicht mal eben in einer Antwort alle SQF Basics erklären, dass solltest du dir dann selbst angucken.
-
Ich habe in meiner infiStar_config.sqf in der Zeile 146 nichts mit Keydown stehen.
Kannst du vlt die komplette Zeile schicken die man nicht braucht?
MfG
-