Jump to content

code34

Member
  • Content Count

    1416
  • Joined

  • Last visited

  • Medals

  • Medals

Everything posted by code34

  1. hi, what do you want to do ? what is the result that you expect ? how did you check if it works or not ?
  2. could you give me an example of interaction ? 😄
  3. 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 🙂
  4. thanks you 🙂 As i just released it, it has not been yet whitelist.
  5. 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.
  6. 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.
  7. 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"];
  8. 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.
  9. ok then my bad, i mixed two topics. Unbedded in game server and dedicated local server.
  10. Berk ... toxic attitude. Read again my answer and do not mix everything.
  11. 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.
  12. @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
  13. for locality reason, you can only see this in the server logs :)
  14. 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];
  15. can you try to put @inidbi2 at the root of \arma3\ directory instead of subdirectory ?
  16. 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 :)
  17. 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];
  18. 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.
  19. 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
  20. it's sad there is no more returns :) less players on Arma than few years ago
  21. 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
  22. hello Tova :) Thanks for the idea. I'm going to think about this.
  23. Are there any other feedbacks for the next release ? I'm creating a new UI
  24. How do you monitor all thoses posts ? :) Thanks
  25. 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.
×