87c23b106f
* first build for 0.3.8 * 0.3.8.0190 * 0.3.8.0202 * 0.3.8.0213 * 0.3.7.0214 * 0.3.8.0222 * 0.3.8.0246 * 0.3.8.0247 fixed typo * 0.3.8.0249 more fixes for server compiler * 0.3.8.0256 * add build number and simple batch file for packing * match build number with internal * add build numbers to server pbo's and mission files also reworked build script for more options * 0.3.8.0261 * 0.3.8.0261 * 0.3.8.0283 * 0.3.8.0284 * changelog * 0.3.8.0307 * 0.3.8.0311 * remove old BEC plugin * update redis-server.exe to latest build and full config * 0.3.8.0314 * 0.3.8.0315 * inverse logic This should correctly prevent spawning these units nearby jammer or protection zones * use pushbackUnique here * optimized loot function by using selectRandom instead of slower sqf logic * 0.3.8.0316 * make use of new getDir functionality instead of BIS fnc * add lower disconnect value to server.cfg * use new getpos functionality * 0.3.8.0317 * 0.3.8.0319 * 0.3.8.0327 * 0.3.8.0338 changelog update tba * changelog * 0.3.8.0341 * BE update * 0.3.8.0353 * changelog * removed duplicates * 0.3.8.0355 fixed error in getIDC * 0.3.8.0356 revert to BIS_fnc_param as params threw errors * 0.3.8.0357 fixes for #496 #497 * 0.3.8.0359 fixed #497 fixed #496 * 0.3.8.0365 * 0.3.8.0371 * 0.3.8.0373 * 0.3.8.0379 * 0.3.8.0381 * 0.3.8.0386 * 0.3.8.0393 * 0.3.8.0395 * 0.3.8.0396 * 0.3.8.0397 * 0.3.8.0406 * 0.3.8.0409 * 0.3.8.0410 loot balance suppress error in spawnloot make near object check based on building size * 0.3.8.0412 * 0.3.8.0414 removed classes with scope 0 test remove loot trash on gear for #498 fixed #501 * 0.3.8.0415 * same |
||
---|---|---|
.. | ||
addons | ||
epochah.hpp | ||
epochconfig.hpp | ||
EpochServer.dll | ||
EpochServer.ini | ||
epochserver.so | ||
libhiredis.so | ||
libhiredis.so.0.10 | ||
libpcre.so | ||
libpcre.so.3 | ||
README.md |
A3 Epoch Hive Calls
Full A3 epoch server hive call documentation
000
Get and return Instance ID from config
Input: None
Returns: ARRAY format: ["NA123"]
"epochserver" callExtension "000";
001
STEAMAPI - Vac ban check
Input: SteamID64
Returns: Nothing
"epochserver" callExtension format["001|%1", _uid];
100
Setter - Temporarily stack, workaround for Arma 8k character limitation. Used in combination with the SET or SETEX calls.
Uses: SET
Call Type: Synchronous
Input: Key, Call Index ID, Value
Returns: Nothing
"epochserver" callExtension format["100|%1:%2|%3|%4", 100, _prefix, _key, _hiveCallID, _value];
101
Setter - Temporarily stack, workaround for Arma 8k character limitation. Used in combination with the SET or SETEX calls.
Uses: SET
Call Type: Asynchronous
Input: Key, Call Index ID, Value
Returns: Nothing
"epochserver" callExtension format["100|%1:%2|%3|%4", 101, _prefix, _key, _hiveCallID, _value];
110
Store value in database with the specified key
Uses: SET
Call Type: Synchronous
Input: Key, Call Index ID, Value
Returns: Nothing
"epochserver" callExtension format["110|%1:%2|%3|%4", _prefix, _key, _hiveCallID, _value];
111
Store value in database with the specified key
Uses: SET
Call Type: Asynchronous
Input: Key, Call Index ID, Value
Returns: Nothing
"epochserver" callExtension format["111|%1:%2|%3|%4", _prefix, _key, _hiveCallID, _value];
120
Uses: SETEX
Call Type: Asynchronous
Input: Key, Expires, Call Index ID, Value
Returns: Nothing
"epochserver" callExtension format["120|%1:%2|%3|%4|%5", _prefix, _key, _expires, _hiveCallID, _value];
121
Store value in database with the specified key and expiration.
Uses: SETEX
Call Type: Asynchronous
Input: Key, Expires, Call Index ID, Value
Returns: Nothing
"epochserver" callExtension format["121|%1:%2|%3|%4|%5", _prefix, _key, _expires, _hiveCallID, _value];
130
Set a timeout on key. After the timeout has expired, the key will automatically be deleted.
Uses: EXPIRE
Call Type: Synchronous
Input: Key, Expires
Returns: Nothing
"epochserver" callExtension format ["130|%1:%2|%3", _prefix, _key, _expires];
131
Set a timeout on key. After the timeout has expired, the key will automatically be deleted.
Uses: EXPIRE
Call Type: Asynchronous
Input: Key, Expires
Returns: Nothing
"epochserver" callExtension format ["130|%1:%2|%3", _prefix, _key, _expires];
140
Sets or clears the bit at offset in the string value stored at key.
Uses: SETBIT
Call Type: Synchronous
Input: Key, Bit Index, Value
Returns: Nothing
"epochserver" callExtension format["140|%1:%2|%3|%4", _prefix, _key, _bitIndex, _value];
141
Sets or clears the bit at offset in the string value stored at key.
Uses: SETBIT
Call Type: Asynchronous
Input: Key, Bit Index, Value
Returns: Nothing
"epochserver" callExtension format["141|%1:%2|%3|%4", _prefix, _key, _bitIndex, _value];
200
Uses: GET
Call Type: Synchronous
Input: Key, Bit Index, Value
_Returns: _Array
_hiveResponse = "epochserver" callExtension format ["200|%1:%2", _prefix, _key];
210
Uses: GET, TLL
Call Type: Synchronous
Input: Key, Bit Index, Value
Returns: Array
_hiveResponse = "epochserver" callExtension format ["210|%1:%2", _prefix, _key];
220
Uses: GETRANGE
Call Type: Synchronous
Input: Key, Start Index, Stop Index
Returns: Array
_hiveResponse = "epochserver" callExtension format["220|%1:%2|%3|%4", _prefix, _key, _currentIndex, (_currentIndexMax-1)];
230
Uses: GETBIT
Call Type: Synchronous
Input: Key, Bit Index, Value (0-1)
Returns: BOOL
_hiveResponse = "epochserver" callExtension format["240|%1:%2|%3", _prefix, _key, _value];
300
Uses: TTL
Call Type: Synchronous
Input: Key
Returns: TTL in seconds
"epochserver" callExtension format["300|%1:%2", _prefix, _uniqueID];
400
Removes the specified key.
Uses: DEL
Call Type: Synchronous
Input: Key
Returns: Nothing
"epochserver" callExtension format["400|%1:%2", _prefix, _uniqueID];
500
Uses: PING
Call Type: Synchronous
Input: Nothing
Returns: "PONG"
'epochserver' callExtension '500'
501
Get current time.
Call Type: Synchronous
Input: Nothing
Returns: Array [YYYY,MM,DD,HH,MM,SS]
'epochserver' callExtension '510'
600
Used to push data from database server in a queue.
Uses: LPOP with CMD- prefix
Call Type: Synchronous
Input: Server InstanceID
Returns: Array [1,""]
_response = "epochserver" callExtension format["600|%1",_instanceID];
700
Log in Redis
_Uses: LPUSH _with -LOG postfix
Call Type: Synchronous
Input: Key Prefix, Message
Returns: Nothing
"epochserver" callExtension format["700|%1|%2", _prefix, _message];
701
Log in Redis
_Uses: LPUSH _with -LOG postfix
Call Type: Synchronous
Input: Key Prefix, Message
Returns: Nothing
"epochserver" callExtension format["701|%1|%2", _prefix, _message];
800
Append strings specified to end of first line of publicvariable.txt and then runs BE command #loadEvents.
Call Type: Synchronous
Input: Strings
Returns: Nothing
"epochserver" callExtension format["800|%1|%2|%3|%4", _var1, _var2, _var3, _var4];
801
Append strings specified to end of first line of publicvariable.txt and then runs BE command #loadEvents.
Call Type: Asynchronous
Input: Strings
Returns: Nothing
"epochserver" callExtension format["800|%1|%2|%3|%4", _var1, _var2, _var3, _var4];
810
Get random string, [a-zA-Z]{5-10}, if only one string is requested it will return a string instead of a array
Call Type: Synchronous
Input: Count
Returns: Array or String
_response = 'epochserver' callExtension format['810|%1',_count];
820
Add ban to bans.txt and execute #loadBans (Depreciated should use 900 calls)
Call Type: Synchronous
Input: Steam64ID, Reason
Returns: Nothing
'epochserver' callExtension format['820|%1|%2',getPlayerUID _playerObj,_reason];
821
Add ban to bans.txt and execute #loadBans (Depreciated should use 900 calls)
Call Type: Synchronous
Input: Steam64ID, Reason
Returns: Nothing
epochserver' callExtension format['821|%1|%2',getPlayerUID _playerObj,_reason];
901
Broadcast message to server
Call Type: Asynchronous
Input: Message
Returns: Nothing
'epochserver' callExtension format['901|%1', _message];
911
Kick with message
Call Type: Asynchronous
Input: player64ID, Message
Returns: Nothing
'epochserver' callExtension format['911|%1|%2', _playerUID, _reason];
921
Ban with message and duration
Call Type: Asynchronous
Input: player64ID, Message, duration
Returns: Nothing
'epochserver' callExtension format['921|%1|%2|%3', _playerUID, _message, _duration];
930
Unlock server using BE command #unlock
Call Type: Asynchronous
Input: Nothing
Returns: Nothing
'epochserver' callExtension '930'
931
Lock server using BE command #lock
Call Type: Asynchronous
Input: Nothing
Returns: Nothing
'epochserver' callExtension '931'
991
Shutdown Server using BE #shutdown command.
Call Type: Asynchronous
Input: Nothing
Returns: Nothing
'epochserver' callExtension '991'