firefly2442
Member-
Content Count
563 -
Joined
-
Last visited
-
Medals
Everything posted by firefly2442
-
Arma2MySQL
firefly2442 replied to firefly2442's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
I believe it should work but I haven't tried it. I did some quick searching online and found this: "All MySQL connectors (PHP, Perl, Python, Java, .NET, MyODBC, Ruby, MySQL C connector etc) work unchanged with MariaDB. " So... I think it should work. -
How to remove " from a string?
firefly2442 replied to alleycat's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Here's the updated "withsix" link. https://dev.withsix.com/docs/cba/files/strings/fnc_replace-sqf.html -
Arma2MySQL
firefly2442 replied to firefly2442's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Glad it works. :) Have fun. -
Arma2MySQL
firefly2442 replied to firefly2442's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Hi. Check the readme. You need to install the SQLite dependency. Make sure to install that specific version that's listed (1.0.89.0). -
It's right there in the warning messages. You need a user for the MySQL database. Don't use "root" as this is a security risk.
-
Arma2MySQL
firefly2442 replied to firefly2442's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Yeah, I'm helping test Arma2NET Linux so as soon as that's ready I'll port it over. Kinda busy at the moment but it's definitely on my radar. :) -
Party my fault sorry, been busy with real-life stuff. I'll try to carve out some time this weekend.
-
Yeah, sounds like you want the async version. See here: https://github.com/firefly2442/Arma2NetMySQLPlugin-Arma3-ExampleMission/blob/master/as_loadouts/server_events.sqf and here: http://arma2netmysqlplugin.readthedocs.org/en/latest/#using-the-plugin If you have further questions, it's probably best to take this over to the Arma2NETMySQL thread so we don't hijack this one. :)
-
The async method prevents blocking server side. Is this what you need?
-
It doesn't support Linux (at the moment, that may possibly change).
-
A little bird says callExtension support is being worked on and tested now. Maybe we can entice Scott to port it over. ;)
-
https://github.com/ScottNZ/Arma2NET/network
-
Arma2MySQL
firefly2442 replied to firefly2442's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Have you checked the official website? http://www.altisliferpg.com/ Also, have you watched the instructional video I made for Arma2NETMySQL? I would suggest deleting what you have and re-trying with the compiled version that I provide. Also, the documentation should have all the details you need for dependencies and so on. http://arma2netmysqlplugin.readthedocs.org/en/latest/ Check the troubleshooting section. There should be some logs created, either from Arma2NET or Arma2NETMySQL. Try to get to that point and then post the logs, that will help us figure out what the problem is. Good luck! :) -
I don't think it's hardcoded. IIRC, they've been making changes to the size/length in Arma3 (lowering it, not sure why).
-
https://github.com/ScottNZ/Arma2NET This is the "new/beta" version. I don't think Scott has made any (or perhaps only a few) posts about it. You'll have to compile it yourself (make sure to use the new Visual Studio).
-
Maybe try something like this? https://community.bistudio.com/wiki/fuel _fuel = fuel _vehicle; _fuelReturn = "Arma2Net.Unmanaged" callExtension format ["Arma2_GOT_Dri ['%1']", _fuel]; I'm assuming "Arma2_GOT_Dri" is your plugin. You may have to turn _fuel into a string type, not sure.
-
I can try it. What version of Arma2NET are you using? The new "beta" version from Github or the older stable release from Bitbucket?
-
Sorry, I'm afraid I don't have any other ideas. Perhaps Scott or someone else has a suggestion?
-
Hmm, I'm not sure how else to get around it. I guess I would recommend doing the processing through the plugin because of the speed. Are you using the Format class from Arma2NET in your plugin to format the results on return?
-
Can you give an example of the exact input strings that you're trying in both cases? I would not suggest mixing single and double quotes, that will probably yield bad results. Also, note that " (double quote) is different than '' (two single quotes next to one another, this would probably be interpreted as a single parameter).
-
Arma2MySQL
firefly2442 replied to firefly2442's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Probably not from me, sorry, I have a lot of other stuff on my plate at the moment and I don't have access to MS SQL. However, you or others can always add it in (the code is GPL). :) -
Arma2MySQL
firefly2442 replied to firefly2442's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
No, that's the wrong string. Just type "ClrVersion" into Arma2NET Explorer. -
Arma2MySQL
firefly2442 replied to firefly2442's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
You could try compiling the plugin yourself, you'll need visual studio 2010 (express is free version). I'm not sure why it's not working for you, however, the only system I have to test it on is Windows 7. :/ -
Arma2MySQL
firefly2442 replied to firefly2442's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
What version of .NET are you running? Can you try one of the built-in plugins with Arma2NET to see if it's an issue with Arma2NET or the MySQL plugin? -
Arma2MySQL
firefly2442 replied to firefly2442's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
_sql = format["Arma2NETMySQLCommand ['dayz_epoch','%1']",_sqlstatement]; Try that.