ConArts 1 Posted March 30, 2017 On 28/3/2017 at 11:30 PM, tebbbs said: if it stops saving, its usually because objects have a special char in them (as far as i remember, i might be wrong). If you could tell me how you "work around" this problem, i can see if your solution makes sense and if i implemented ill post the changes when i get home from work. Share this post Link to post Share on other sites
armyinf 33 Posted April 2, 2017 Just checking before I dive into using this since I know the author said he can't work on it till July.. is it working in its current state? Share this post Link to post Share on other sites
ConArts 1 Posted April 8, 2017 fn_server_setUnit.sqf _Player = _this select 0; if ((isPlayer _Player) && ((_Player getVariable "loaded") == 1)) then { \\ <------------- This will allow it to save on next _playerInv = str formatText ["%1", (getUnitLoadout _Player)]; \\ passes instead of freezing. _playerPos = format ["%1",(getPosWorld _Player)]; _playerDir = format ["%1",(round(getDir _Player))]; _playerUID = getPlayerUID _Player; _playerName = format ["%1",(name _Player)]; Original file. _Player = _this select 0; waitUntil {isPlayer _Player}; waitUntil {(_Player getVariable "loaded") == 1}; _playerInv = str formatText ["%1", (getUnitLoadout _Player)]; _playerPos = format ["%1",(getPosWorld _Player)]; _playerDir = format ["%1",(round(getDir _Player))]; _playerUID = getPlayerUID _Player; _playerName = format ["%1",(name _Player)]; After this change the addon has worked like a charm :) if you keep working on it i have a couple of features, i'll like to request :) 1 Share this post Link to post Share on other sites
tebbbs 33 Posted April 8, 2017 what kind of features? Share this post Link to post Share on other sites
ConArts 1 Posted April 18, 2017 1. Admin Force Save 2. Web interface for Ordering Supplys. (supplyes will be delivered to predefined markers ingame.) % roll on all ordered supplyes based on how fare in advance order is placed. + tonnage limite 3. Ability to save Opfor to db. at admin request.. (in Our missions it will save Zeus a lot of work setting up AI's if objectives isent completet befor mission end.) if possible a admin feature to remove alle Opfor/AI's from db. (+ waypoints ect if possible.) 4. currently you can set Admin in the db.. now how about Officer. with the ability to assign rank to players ingame. i proberly have more.. but this was just from the top of my head.. just give me a heads up if i need to further explaine :) Share this post Link to post Share on other sites
Olsen, A. 0 Posted May 1, 2017 (edited) does this currently work with modded items such as vehicles from rhs? I can only get vanilla vehicles to save currently. Edited May 1, 2017 by Olsen, A. Share this post Link to post Share on other sites
ConArts 1 Posted May 5, 2017 On 2/5/2017 at 0:29 AM, Olsen, A. said: does this currently work with modded items such as vehicles from rhs? I can only get vanilla vehicles to save currently. Im not at my pc so cant remember filesnames. But finde the Config file and add rhs classnames to the vehicles_allowed list. Share this post Link to post Share on other sites
Olsen, A. 0 Posted May 6, 2017 14 hours ago, ConArts said: Im not at my pc so cant remember filesnames. But finde the Config file and add rhs classnames to the vehicles_allowed list. will i have to do it for objects like for ace medical or any item i want persisted Share this post Link to post Share on other sites
ConArts 1 Posted May 7, 2017 On 06-05-2017 at 4:31 AM, Olsen, A. said: will i have to do it for objects like for ace medical or any item i want persisted You dont have to do it for ace.. but if you make some custom stuff you might have to.. if you give it a weird classname Share this post Link to post Share on other sites
acoustic 82 Posted September 14, 2017 Question, does this also save all AI units along with player units? If not, how easily would it be accomplished to do so? Thanks. Share this post Link to post Share on other sites
kennyleif 20 Posted December 11, 2017 Does anyone have any documentation on setup, of the request part on a website? Share this post Link to post Share on other sites
kennyleif 20 Posted December 12, 2017 On 4/8/2017 at 11:37 AM, ConArts said: fn_server_setUnit.sqf _Player = _this select 0; if ((isPlayer _Player) && ((_Player getVariable "loaded") == 1)) then { \\ <------------- This will allow it to save on next _playerInv = str formatText ["%1", (getUnitLoadout _Player)]; \\ passes instead of freezing. _playerPos = format ["%1",(getPosWorld _Player)]; _playerDir = format ["%1",(round(getDir _Player))]; _playerUID = getPlayerUID _Player; _playerName = format ["%1",(name _Player)]; Original file. _Player = _this select 0; waitUntil {isPlayer _Player}; waitUntil {(_Player getVariable "loaded") == 1}; _playerInv = str formatText ["%1", (getUnitLoadout _Player)]; _playerPos = format ["%1",(getPosWorld _Player)]; _playerDir = format ["%1",(round(getDir _Player))]; _playerUID = getPlayerUID _Player; _playerName = format ["%1",(name _Player)]; After this change the addon has worked like a charm :) if you keep working on it i have a couple of features, i'll like to request :) I Tried this, and am now getting "17:36:35 Warning Message: Script \sru_pdb\initServer_pdb.sqf not found" I didn't get this before.. Share this post Link to post Share on other sites
[BL] Hannibal 16 Posted December 12, 2017 2 hours ago, kennyleif said: I Tried this, and am now getting "17:36:35 Warning Message: Script \sru_pdb\initServer_pdb.sqf not found" I didn't get this before.. Sounds obvious but make sure you have the .pbo loaded (usually server side only). You may get this error if you load the mission locally on a client. Share this post Link to post Share on other sites
kennyleif 20 Posted December 12, 2017 1 hour ago, [BL] Hannibal said: Sounds obvious but make sure you have the .pbo loaded (usually server side only). You may get this error if you load the mission locally on a client. I got it running on the server. If anyone have a current running version of this, could they please be of assistance, settting it up? Are you using extdb3 or 2? Share this post Link to post Share on other sites
[BL] Hannibal 16 Posted December 12, 2017 Using extdb3 but using the pbo linked here: http://tebinulrich.de/pdb.pbo Notice the path is \sru_pdb\ so I think that it is referencing the older one for extdb2 Share this post Link to post Share on other sites
kennyleif 20 Posted December 12, 2017 Just now, [BL] Hannibal said: Using extdb3 but using the pbo linked here: http://tebinulrich.de/pdb.pbo Notice the path is \sru_pdb\ so I think that it is referencing the older one for extdb2 Clicking on the link just gives a lot of text? What do I do with it? And thanks for the help Share this post Link to post Share on other sites
[BL] Hannibal 16 Posted December 12, 2017 Just right click it, save link as pdb.pbo Share this post Link to post Share on other sites
kennyleif 20 Posted December 12, 2017 And just to be clear? I replace the sru_pbo with this? And run SRU mod with extdb3 instead of 2? 1 minute ago, [BL] Hannibal said: Just right click it, save link as pdb.pbo Share this post Link to post Share on other sites
kennyleif 20 Posted December 12, 2017 10 minutes ago, [BL] Hannibal said: Just right click it, save link as pdb.pbo Okay, so now i get this in rpt, after all the other stuff is loaded in: 21:37:48 Call extension 'extDB3' could not be loaded: %1 is not a valid Win32 application. Share this post Link to post Share on other sites
[BL] Hannibal 16 Posted December 12, 2017 Just sounds like it hasn't loaded extdb3 correctly (make sure its 'extDB3_x64.dll' is unlocked). Make sure also that you add something like this to the "extdb3-conf.ini" [SRU_DB] Type = MySQL Name = arma3 Username = sqluser Password = Passwordforuser IP = 8*.**.**.** Port = 3306 Share this post Link to post Share on other sites
kennyleif 20 Posted December 12, 2017 Just now, [BL] Hannibal said: Just sounds like it hasn't loaded extdb3 correctly (make sure its 'extDB3_x64.dll' is unlocked). Make sure also that you add something like this to the "extdb3-conf.ini" [SRU_DB] Type = MySQL Name = arma3 Username = sqluser Password = Passwordforuser IP = 8*.**.**.** Port = 3306 It HAS to be arma3 as name? or can I put the name of my current database? How do i make sure that the extDB3_x64.dll is unlocked? Again thanks for all the help Share this post Link to post Share on other sites
[BL] Hannibal 16 Posted December 12, 2017 It must be the name of the database that you are using. Unlock dll by right clicking it and properties. Stupid question but you are running a 64bit o/s right? :P Share this post Link to post Share on other sites
kennyleif 20 Posted December 12, 2017 1 minute ago, [BL] Hannibal said: It must be the name of the database that you are using. Unlock dll by right clicking it and properties. Stupid question but you are running a 64bit o/s right? :P Yeah it's 64 bit. I don't have that option to unblock it.. Share this post Link to post Share on other sites
[BL] Hannibal 16 Posted December 12, 2017 Then it is probably not relevant for you in that case. Also pm me or the author for further help, this thread will be a bit spammed otherwise :P. Share this post Link to post Share on other sites
kennyleif 20 Posted December 12, 2017 7 minutes ago, [BL] Hannibal said: Then it is probably not relevant for you in that case. Well then.. I made sure, that i have put in the correct info in "extdb3-conf.ini", so i'm not sure, whats going wrong. Share this post Link to post Share on other sites