Jump to content

Leaderboard


Popular Content

Showing content with the highest reputation on 12/15/16 in all areas

  1. 3 points
    Zupa

    ZBot - BE Rcon Discord Bot

    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
  2. 2 points
    // Vehicle Service Point (Repair) by Axe Cop private ["_vehicle","_args","_servicePoint","_costs","_repairTime","_type","_name","_hitpoints","_allRepaired","_textMissing","_selection","_strH"]; _vehicle = _this select 0; if (!local _vehicle) exitWith { diag_log format["Error: called service_point_repair.sqf with non-local vehicle: %1", _vehicle] }; _args = _this select 3; _servicePoint = _args select 0; _costs = _args select 1; _repairTime = _args select 2; //if !([_costs] call player_checkAndRemoveItems) exitWith {}; if !([[[_costs select 0, _costs select 1]],0] call epoch_returnChange) then { _textMissing = getText(configFile >> "CfgMagazines" >> _costs select 0 >> "displayName"); cutText [format[(localize "STR_EPOCH_ACTIONS_12"), _costs select 1, _textMissing], "PLAIN DOWN"]; } else { _type = typeOf _vehicle; _name = getText(configFile >> "cfgVehicles" >> _type >> "displayName"); _vehicle engineOn false; [_vehicle,"repair",0,false] call dayz_zombieSpeak; _hitpoints = _vehicle call vehicle_getHitpoints; _allRepaired = true; { private ["_damage","_selection"]; if ((vehicle player != _vehicle) || (!local _vehicle) || ([0,0,0] distance (velocity _vehicle) > 1)) exitWith { _allRepaired = false; titleText [format["Repairing of %1 stopped", _name], "PLAIN DOWN"]; }; _damage = [_vehicle,_x] call object_getHit; if (_damage > 0) then { if (_repairTime > 0) then { private "_partName"; //change "HitPart" to " - Part" rather than complicated string replace _partName = toArray _x; _partName set [0,20]; _partName set [1,45]; _partName set [2,20]; _partName = toString _partName; titleText [format["Repairing%1 ...", _partName], "PLAIN DOWN", _repairTime]; _selection = getText(configFile >> "cfgVehicles" >> _type >> "HitPoints" >> _x >> "name"); _strH = "hit_" + (_selection); _vehicle setHit[_selection,0]; _vehicle setVariable [_strH,0,true]; sleep _repairTime; }; }; } forEach _hitpoints; PVDZ_veh_Save = [_vehicle,"repair"]; publicVariableServer "PVDZ_veh_Save"; if (_allRepaired) then { _vehicle setDamage 0; _vehicle setVelocity [0,0,1]; titleText [format["%1 Repaired", _name], "PLAIN DOWN"]; }; }; If you replace your service_point_repair.sqf with this file it will correctly update the repair script to work correctly with 1.0.6. It is tested and does save to the database.
  3. 1 point
    This will unlock vehicles that are left inside safezones and if they are not taken within 15 minutes it will remove them. Step 1. Define your safe zone positions in config Variables or below #include "configVariables" DZE_SafeZonePosArray = [ [[4064,11665,0],510], // Bash [[6326,7809,0],510], // Stary [[11447,11364,0],510], // Klen [[12944,12766,0],510], // Hero Camp [[1606,7803,0],510] // Bandit camp ]; ^^ above are my safezones, you could also add the aircraft dealer if you wish Step 2. go to your server_monitor.sqf located in dayz_server\system find then find this below it add this directly below that This is what it should look like If you wish to change the settings e.g the range at which it deletes vehicles, or if you want vehicles to be removed faster or instantly simple edit the "uiSleep (60 * 15);" if you want to remove the 15 minute wait, just remove that line of code or comment it out. Leave a comment if you need any help.
  4. 1 point
    Grahame

    DZAI on 1.0.6

    So, it seems to work with one line change in the scripts... will further test tonight when I get home from work but dynamic AI are spawning for me. One change is required (from the list of function/variable changes for 1.0.6) in DZAI/scripts/setup_autoStaticSpawns.sqf Change line 17 from: _ignoredObj = missionNamespace getVariable ["dayz_allowedObjects",[]]; to: _ignoredObj = missionNamespace getVariable ["DayZ_SafeObjects",[]];
  5. 1 point
    lwbuk

    1.6 Safezone

    You copied the code above? Because those two paths are commented out in the code above as those files don't exist in the new epoch code. Looks like you are using the old code.
  6. 1 point
    Liquid84

    Epoch 1.0.6

    @OMGitzSteveo dayz_code\Configs\CfgLoot
  7. 1 point
    Tech_Support

    [Release] Wicked AI 2.2.0

    Inside config.sqf set wai_bandit_limit to = 0; // Missions wai_radio_announce = true; // Setting this to true will announce the missions to those that hold a radio only wai_hero_limit = 1; // define how many hero missions can run at once wai_bandit_limit = 1; // define how many bandit missions can run at once However you could always edit each bandit mission file and change "Bandit" to "hero" a quicker way would be to copy the hero missions into the bandit mission folder overwriting the bandit mission files then you could run 4 hero missions at the same time.
  8. 1 point
    @WagnerMello @koriaba
  9. 1 point
    Both downloads for this still have the short build distances for the build bike and build mozzie, which allows you to get on the vehicle before placing it and then getting teleported out in the ocean when you hit space to drop it. Using 6 for the bike and 8 for the mozzie fixes this. config.sqf OLD - ["ItemToolbox",[0,2,1],5,0.1,false,false,false,false,false,true,true,["MMT_Civ"],[],["ItemToolbox"],"true"], New - ["ItemToolbox",[0,6,1],5,0.1,false,false,false,false,false,true,true,["MMT_Civ"],[],["ItemToolbox"],"true"], OLD - ["ItemToolbox",[0,5,2],7,0.1,true,true,false,true,false,true,true,["CSJ_GyroC"],[],["PartVRotor","PartEngine","PartFueltank"],"true"], New - ["ItemToolbox",[0,8,2],7,0.1,true,true,false,true,false,true,true,["CSJ_GyroC"],[],["PartVRotor","PartEngine","PartFueltank"],"true"], It would be helpful to future down loaders if these could be updated in the files.
  10. 1 point
    _Lance_

    How healthy is Dayz/Epoch lately?

    I've been playing since Aug 2012, I just got into hosting a couple months ago, started with a hosted gtx overpoch server, learned where everything was, then made/modded and started hosting my own overpoch server from the san at my work - Now I've moved to epoch 1.0.6 and am in the process of getting all the mods I want working - I run a pvp server but I keep missions running, I find I get a balance of heroes and bandits, pretty even. There's no shortage of players who prefer arma2/mods over arma3 so there's still life in epoch for sure - and now that 1.0.6 has dropped I think we're about to see a new renaissance of players and mod creators like we haven't seen in the last couple years. There's still a lot that can be done with the game and mod, as the word gets out that there's a new epoch version after two years - it's going to bring tons of players back to check out the new build - Lots of players log in and mention it's been "years" or "months" and they just had an itch to play - gonna see a lot more of that soon. Oh and hackers and dupers will always be around if there's a way to do it, not as many as we saw in 2013/2014, but bored kids find ways - so far they're having trouble with 1.0.6, where on 1.0.5.1 I'd have about 3-5 hackers a week, Now zero, so I'm enjoying that while it lasts before someone starts making tools for 1.0.6. So TLDR - if you have the means to keep a server up - if you host it, they will come.
×
×
  • Create New...