-
Content Count
1416 -
Joined
-
Last visited
-
Medals
-
Medals
Everything posted by code34
-
iniDBI2 - Save and Load data to the server or your local computer without databases!
code34 replied to code34's topic in ARMA 3 - ADDONS & MODS: COMPLETE
hi, what do you want to do ? what is the result that you expect ? how did you check if it works or not ? -
ArmaWS - A JSON client extension
code34 replied to code34's topic in ARMA 3 - ADDONS & MODS: COMPLETE
could you give me an example of interaction ? 😄 -
ArmaWS Lastest Version : 0.2 by Code34 ____________________________________________________________________________________________________________________ Direct Download from Dropbox Github: https://github.com/code34/armaws_x64 ArmaWS is a json client extension that permits from Arma to exchange with remote host json files. Exemple1 Send a JSON file to httpbin server and retrieve a json file convert into an arma array private _armaws = "new" call OO_ARMAWS; private _params = [["username","code34"],["message","hello world"],["id", 103],["type","soldier"]]; ["setUrl", "https://httpbin.org/post"] call _armaws; _result = ["callWs", _params] call _armaws; hintc format["%1",_result]; Exemple2 Send a message to a chan text on Discord through a webhook private _armaws = "new" call OO_ARMAWS; private _params = [["username","R2D2"],["content","hello world"]]; ["setUrl", yourwebhookurl] call _armaws; ["callWs", _params] call _armaws; README DOCUMENTATION Have fun 🙂
-
ArmaWS - A JSON client extension
code34 replied to code34's topic in ARMA 3 - ADDONS & MODS: COMPLETE
thanks you 🙂 As i just released it, it has not been yet whitelist. -
Performance question, database vs variables
code34 replied to xjoker_'s topic in ARMA 3 - MISSION EDITING & SCRIPTING
You can build an interface over your code, and schedule a flush all the 5 min callextension as code execution time: dll + all layers to join db + db execution time. -
iniDBI2 - Save and Load data to the server or your local computer without databases!
code34 replied to code34's topic in ARMA 3 - ADDONS & MODS: COMPLETE
hi cmd_johnson Nice stuff that will help linux administrators 🙂 There was a big work of porting inidbi to another language where you are certainly more comfortable. In philosophy, even if porting in C ++ was not mandatory, the interface has been respected and it's a cool, usefull work & pratice to do it as first extension. -
call iniDB_read not reading
code34 replied to LoOni3r's topic in ARMA 3 - MISSION EDITING & SCRIPTING
hi LoOni3r you have to take in account the locality. init.sqf is executed on both side server and client. If you load some informations on server side, you have to use only initServer.sqf. When your data are load you have to send them via publicvariable on client and receive them with an handler for simplicity, you can test with something like this: _version = "getVersion" call _inidbi; str(_version) remoteExec ["systemChat"];- 70 replies
-
- inidb_read
- inidb
-
(and 2 more)
Tagged with:
-
bisobjectbug add(MP)EventHandler not working on Dedicated Server
code34 replied to PaxJaromeMalues's topic in ARMA 3 - MISSION EDITING & SCRIPTING
cause 3ms is dedicated to script execution and around 13 ms is dedicated for the other part of calculation (graphic part etc) to create a frame average of 60fps/s(it s an average calculation) while the schedule code execution major with unscheduled code go over the 3ms it impacts the performance of the game, cause the calculation of the frame will go over the 16ms. Just for memo, BIS added scheduler to fix definitively bad user code that have negative impact on game . After this, when you use unschedule code you may know what it does, and at your own risk.- 46 replies
-
- 1
-
bisobjectbug add(MP)EventHandler not working on Dedicated Server
code34 replied to PaxJaromeMalues's topic in ARMA 3 - MISSION EDITING & SCRIPTING
ok then my bad, i mixed two topics. Unbedded in game server and dedicated local server.- 46 replies
-
bisobjectbug add(MP)EventHandler not working on Dedicated Server
code34 replied to PaxJaromeMalues's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Berk ... toxic attitude. Read again my answer and do not mix everything.- 46 replies
-
bisobjectbug add(MP)EventHandler not working on Dedicated Server
code34 replied to PaxJaromeMalues's topic in ARMA 3 - MISSION EDITING & SCRIPTING
it seems that you discover this, however since the first version of arma handler of publicvariable works like this :( When you publish a variable the local handler is not fired, in this some case when server is local too the server handler is not fired too. i published BME on arma2 wich was a workaround to fix this problem to have a consistent/same working usage on local and distant dedicated server case.- 46 replies
-
bisobjectbug add(MP)EventHandler not working on Dedicated Server
code34 replied to PaxJaromeMalues's topic in ARMA 3 - MISSION EDITING & SCRIPTING
@Pax_Jaromeyou can not test MP mission with a local dedicated server and client on the same machine. Server and client when they are on the same machine, share some local variables and finaly the code doesn't work as expected. Ex: MP handler , or some publicvariable handler are not fired when server and client are on same machine. 1) If you want to test your mp mission, you have to execute it on a distant dedicated server, or to install a virtual machine on your local machine with a dedicated arma3 server on it. 2) dont use systemChat (or ui commands) for server part, try with diag_log and check your logs- 46 replies
-
call iniDB_read not reading
code34 replied to LoOni3r's topic in ARMA 3 - MISSION EDITING & SCRIPTING
for locality reason, you can only see this in the server logs :)- 70 replies
-
- inidb_read
- inidb
-
(and 2 more)
Tagged with:
-
call iniDB_read not reading
code34 replied to LoOni3r's topic in ARMA 3 - MISSION EDITING & SCRIPTING
same as above, try to use diag_log instead of systemchat that doesn't work for locality reason. _read = ["read", ["GLOBAL", "one"]] call _inidbi; diag_log format["result", _read]; _read2 = ["read", ["GLOBAL", "two"]] call _inidbi; diag_log format["result2", _read2]; _read3 = ["read", ["GLOBAL", "three"]] call _inidbi; diag_log format["result3", _read3];- 70 replies
-
- inidb_read
- inidb
-
(and 2 more)
Tagged with:
-
call iniDB_read not reading
code34 replied to LoOni3r's topic in ARMA 3 - MISSION EDITING & SCRIPTING
can you try to put @inidbi2 at the root of \arma3\ directory instead of subdirectory ?- 70 replies
-
- inidb_read
- inidb
-
(and 2 more)
Tagged with:
-
call iniDB_read not reading
code34 replied to LoOni3r's topic in ARMA 3 - MISSION EDITING & SCRIPTING
on server side, you have to use sleep 2; _inidbi = ["new", "test"] call OO_INIDBI; _version = "getVersion" call _inidbi; diag_log format["version %1", _version]; and check into arma log for results :)- 70 replies
-
- inidb_read
- inidb
-
(and 2 more)
Tagged with:
-
call iniDB_read not reading
code34 replied to LoOni3r's topic in ARMA 3 - MISSION EDITING & SCRIPTING
hi, yes like gc8 said, first at all check with sleep 2; _inidbi = ["new", "test"] call OO_INIDBI; _version = "getVersion" call _inidbi; hintc format["version %1", _version];- 70 replies
-
- inidb_read
- inidb
-
(and 2 more)
Tagged with:
-
[MP][COOP] COMBAT ASSAULT - Official Thread
code34 replied to code34's topic in ARMA 3 - USER MISSIONS
hi :( Can you copy me please or screenshot the error i m going to look for this ? Sometimes if it's occur only during the first second of the mission, it s not important just relative error to init but it doesn't affect the mission working. -
OO VITEMS - Virtual items & inventory in game
code34 posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
OO VITEMS Lastest version: 0.4 by Code34 Hi, I propose a first alpha version of this system, which I will improve if you are interested. This version does not show all the features already present in the library .Virtual Items is an OOP Class which allows to manage virtual inventories in ARMA. This system makes it possible to store virtual objects in any of the 3D objects of the game. In this first demonstration, you will be able to see the contents of 4 x 3D objects deposited in the editor. These virtual objects were created directly via script in the initserver.sqf More informations: This class creates containers with properties that will contain virtual objects with properties. The containers are attached to the 3D objects of the game. You can easily add many objects that do not require 3D modeling, and all without using mods: keys, cans, screwdrivers etc. Properties for the containers are: - size - the weight Properties for objects are: - the price - size - the weight - the owner - the description - durability These properties may evolve which allows to add very elaborate features to the games. Any feedbacks are welcome ! Github: https://github.com/code34/oo_vitems.vr Download: https://github.com/code34/oo_vitems.vr/releases Reference: http://forums.bistudio.com/showthread.php?167980-Object-Oriented-SQF-Scripting-and-Compiling Features: - Simple demo version Licence: Under Gpl, you can share, modify, distribute this script but don't remove the licence and the name of the original author -
OO VITEMS - Virtual items & inventory in game
code34 replied to code34's topic in ARMA 3 - MISSION EDITING & SCRIPTING
it's sad there is no more returns :) less players on Arma than few years ago -
OO VITEMS - Virtual items & inventory in game
code34 replied to code34's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hi i just release the new 0.6 release. This version is not fully functional and should not be used in production. I added a new ui with a more user friendly system and simpliest to custom. I explore a way, test it and tell me what you think about it Temporarily I have also disabled some functionalities the time to clarify how should work interface. Depending on the returns, I will see how to implement the use part of the objects. https://github.com/code34/oo_vitems.vr/releases/tag/0.6 -
OO VITEMS - Virtual items & inventory in game
code34 replied to code34's topic in ARMA 3 - MISSION EDITING & SCRIPTING
hello Tova :) Thanks for the idea. I'm going to think about this. -
OO VITEMS - Virtual items & inventory in game
code34 replied to code34's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Are there any other feedbacks for the next release ? I'm creating a new UI -
OO PDW - oriented object Persistent Data World
code34 replied to code34's topic in ARMA 3 - MISSION EDITING & SCRIPTING
How do you monitor all thoses posts ? :) Thanks -
OO VITEMS - Virtual items & inventory in game
code34 replied to code34's topic in ARMA 3 - MISSION EDITING & SCRIPTING
yes :) but it requires two differents methods to import the picture. I am rethinking the declaration of objects so that it is achievable at the very least. For example, I will delete all informative fields that are not related to the inventory. The developer can then add them himself if he really needs it by adding information at the end of the array. Example, unlike weight, the price of an object or its owner does not contribute to inventory management.