Coder Social home page Coder Social logo

testkit's Introduction

This is a UI for testing A2 Epoch and DayZ mod dev builds. It aims to be simple, light weight and minimally invasive.

  • Built on Bohemia's functions viewer dialog
  • Type and execute code directly in game
  • Usable in the editor
  • Compatible with vanilla anti-teleport
  • Basic access control suitable for public test servers (depends on BattlEye enabled to be effective)

Install:

>> Download <<

  1. In mission\init.sqf find execFSM "\z\addons\dayz_code\system\player_monitor.fsm"; Add directly above:

    "PVDZ_login" addPublicVariableEventHandler {call (_this select 1)};
    PVDZ_getTickTime = [getPlayerUID player];
    publicVariableServer "PVDZ_getTickTime";
  2. At the very top of dayz_server\init\server_functions.sqf add:

    #include "testkit.sqf"
  3. Put testkit.sqf and testkit_ac.sqf in the dayz_server\init\ folder.

  4. Edit the allowed UIDs at the top of testkit.sqf.

  5. Put the testkit folder in your client Arma 2 Operation Arrowhead folder.

Editor Usage:

  1. Place a center, group and unit.
  2. Set the unit to playable.
  3. In the unit's init field enter execVM "testkit\init.sqf"
  4. Optionally save the mission for easy loading next time.

Legal:

This work is licensed under the DAYZ MOD LICENSE SHARE ALIKE (DML-SA). The full license is here:
https://www.bistudio.com/community/licenses/dayz-mod-license-share-alike

testkit's People

Contributors

ebayshopper avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

testkit's Issues

Error loading testkit.sqf

There seems to be a problem with testkit.sqf with the given error.

_18:49:34 "Res3tting B!S effects..."
18:49:36 Error in expression <
_caller = _value select 0;
_name = if (alive _caller) then {name _caller} else >
18:49:36 Error position: <alive _caller) then {name caller} else >
18:49:36 Error alive: Type String, expected Object
18:49:36 File z\addons\dayz_server\init\testkit.sqf, line 21
18:49:37 "z\addons\dayz_code\system\REsec.sqf:Monitoring Remote Exe..."

also only when testkit enabled error on client side

_Error in expression <z_thirst min SleepWater) max 0;
if (dayz_nutrition > 0) then {
_Nutrition = >
Error position: <dayz_nutrition > 0) then {
Nutrition = >
Error Undefined variable in expression: dayz_nutrition
File z\addons\dayz_code\system\player_spawn_2.sqf, line 172
"player_forceSave called from fsm"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.