Mongoapfel
Member-
Content Count
9 -
Joined
-
Last visited
-
Medals
Everything posted by Mongoapfel
-
Anti Teamkill, reserved Slot script needed!
Mongoapfel posted a topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
1. Im searching an Anti Teamkill script that warns/kicks players if they kill other teammates (e.g. 3 times). The script should be able to work on a dedicated server that runs JIP. It would be ok if the script would punish teamkillers and send them into a specifig location on map. Before you write that i should search the forums, i did that, more then one time! I tryed e.g. to get working: Demonized's Team Kill punishment script - didn't work Kronzky's Anti Team-Kill Script - didn't work and some more! Both didn't work correctly, Demonized's punished everyone who killed a player from the otherside + if u suicided, and Kronzky's worked only on a Local hosted server. 2. Im too searching a reserved Slot script that kicks players from specific slots (multiple slots) if their player ID doesn't match with the ID's wroten down. (in script) It should too work on a dedicated Server, if needed with JIP. And again, i used the search button, all scripts i found didn't work or there weren't even scripts wroten down on the threads! Im a total noob in scripting so if someone has these kinds of scripts pls share them withme, im realy sick of kicking alltime Teamkillers and players who are entering Reserved Slots! Thanks! Mongo -
Anti Teamkill, reserved Slot script needed!
Mongoapfel replied to Mongoapfel's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Thanks alot! It worked :yay: :yay: -
Anti Teamkill, reserved Slot script needed!
Mongoapfel replied to Mongoapfel's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Ok i opened it, i found 3 files which include the setVariable command, but i said already that im a noob in scripting and i now don't know how to replace the setVar without default value?! Here the files: InitUnit: _unit setVariable ["PvPscene_LatestUnitDamageTickTime",_tickTime,false]; _unit setVariable ["PvPscene_LatestHeadDamageTickTime",_tickTime,false]; _unit setVariable ["PvPscene_LatestBodyDamageTickTime",_tickTime,false]; _unit setVariable ["PvPscene_LatestHandsDamageTickTime",_tickTime,false]; _unit setVariable ["PvPscene_LatestLegsDamageTickTime",_tickTime,false]; and _damagedUnit setVariable [_variableName,_tickTime,false]; ProcessAllUnits: _unit setVariable ["DisableFF_PvPscene_AlreadyProcessed",true]; ProcessAllVehicles: _vehicle setVariable ["DisableFF_PvPscene_AlreadyProcessed",true]; Help me pls with that. -
Anti Teamkill, reserved Slot script needed!
Mongoapfel replied to Mongoapfel's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Yes i did _uid = _this select 0; _name = _this select 1; _slot1 = ["[color="#FF0000"]myID[/color]"]; if ((isplayer plslot) and not (_uid in _slot1)) then { serverCommand Format["#kick %1",_name]; }; You mean to change smth. in the .pbo? If yes, i tryed to open it with a PBO viewer and its not working, this message appears: It seems that it isn't Arma pbo -
Anti Teamkill, reserved Slot script needed!
Mongoapfel replied to Mongoapfel's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Yes, running A2. Sad that it's not working, any other ideas how to disable fire, kicking or punishing teamkillers? or a script the brings the teamkiller back to the lobby? And the 2nd question from the first post, any ideas how to restrict playable unit slots to custom ID's? I searched and found this: init.sqf OnPlayerConnected "[_uid,_name] execVM ""checkslot.sqf"""; checkslot.sqf _uid = _this select 0; _name = _this select 1; _slot1 = ["123456","654321","321654"]; if ((isplayer plslot) and not (_uid in _slot1)) then { serverCommand Format["#kick %1",_name]; }; plslot: units name This didn't work, and i only found this one! -
Anti Teamkill, reserved Slot script needed!
Mongoapfel replied to Mongoapfel's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Did like u said, works only with AI, but only till 4 shots, if u shot him 5 times he dies, and with real players it didn't work! Any other ideas? If it helps: Error in expression <ocessed"]; _alreadyProcessed = _vehicle getVariable ["DisableFF_PvPscene_Already> Error position: <getVariable ["DisableFF_PvPscene_Already> Error getvariable: Typ Array, erwartet Zeichenfolge File DisableFF_PvPscene\ProcessAllVehicles.sqf, line 9 Error in expression <yProcessed"]; _alreadyProcessed = _unit getVariable ["DisableFF_PvPscene_Already> Error position: <getVariable ["DisableFF_PvPscene_Already> Error getvariable: Typ Array, erwartet Zeichenfolge File DisableFF_PvPscene\ProcessAllUnits.sqf, line 7 from the arma.rpt -
Anti Teamkill, reserved Slot script needed!
Mongoapfel replied to Mongoapfel's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Ok, i downloaded the DisabledFriendlyFire_Server_F_PvPscene.pbo from the given link, but where do i put it? btw, i installed the serverSide Addon + the CBA files, running with parameters: -mod=serverSide;@CBA;@CBA_A2 and im using the TA2DST Dedicated Server tool from Tophe. But if i connect now to the Server a message appears: YOU ARE MISSING THE FOLLOWING MOD: CBA_A2_MAIN I think only the Server needs to have the mods installed?! Help me pls . ServerSide Addon from here: http://forums.bistudio.com/showthread.php?78674-Dedicated-ServerSide-settings-no-grass-and-such It even don't works, i tryed to put the viewdistance to 500 but it still was over 4000! (no setViewdistance command on the missions init.sqf!) -
Anti Teamkill, reserved Slot script needed!
Mongoapfel replied to Mongoapfel's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Thx, i will give it later a try, does someone have or knows to script a reserved slot script like in the first post? -
Anti Teamkill, reserved Slot script needed!
Mongoapfel replied to Mongoapfel's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
I said already that i searched the forums, you cant imagine how often i searched, on google too! You say there are threads with the solutions, BUT i can't find those and i dont think that im blind :D. Do u wanna showme a thread or more where my answer is beeing asked in?