MrCopyright 107 Posted June 30, 2017 If you're asking for someone to write your save system for you, I doubt there will be anyone forthcoming. You want to use profileNamespace which involves you passing a few parameters to it, it's not that difficult. If you are unable to do that, you need to read up on the SQF syntax more. 1 Share this post Link to post Share on other sites
Revixy 3 Posted June 30, 2017 2 minutes ago, MrCopyright said: If you're asking for someone to write your save system for you, I doubt there will be anyone forthcoming. You want to use profileNamespace which involves you passing a few parameters to it, it's not that difficult. If you are unable to do that, you need to read up on the SQF syntax more. Ah I see, you're one of those. Just don't waste my time, just because you think it's easy doesn't make it so for others who may have difficulties setting it up. I'm asking for help if you're only here to be an ass, then I suggest you get lost. Share this post Link to post Share on other sites
FireWalker 329 Posted June 30, 2017 Just for ME to be clear - you are attempting to use this on a dedicated server? Correct? Or is all this for single player missions on a local machine? And I'm sure you've read through this thread: And... lighten up a little. I doubt many people have a straight answer for you on this, other than a simple "no". Its been discussed a lot, and I don't think there is a clear cut answer. Most if not all will tell you to go with a database system, because its proven. I'm here because I'm trying to learn some for myself and I really don't know what the "real" answer is yet. Fire 1 Share this post Link to post Share on other sites
Revixy 3 Posted June 30, 2017 10 minutes ago, FireWalker said: Just for ME to be clear - you are attempting to use this on a dedicated server? Correct? Or is all this for single player missions on a local machine? And I'm sure you've read through this thread: It's a multiplayer server, both local and dedicated. ( currently testing with local, but should work both ways. ) And as for the link you provided, their solution there is using inidbi, which as stated I want to avoid. thx for the effort to find a solution though, appreciate it. Share this post Link to post Share on other sites
MrCopyright 107 Posted June 30, 2017 @Revixy, if anyone is being an ass, it's you. I have taken time out of my day to help you, yet you refuse to help yourself. You are not willing to accept help unless it involves someone writing the code for you. I have offered you a real alternative. It genuinely isn't difficult to set up iniDB. As I have stated before, you put the addon in your directory, you run the addon, you add a line to your init.sqf file. If that simple procedure is beyond you, you're an absolute lost cause. You threw your toys out of the pram and now you will have to enjoy no assistance. 3 Share this post Link to post Share on other sites
Revixy 3 Posted June 30, 2017 11 minutes ago, MrCopyright said: @Revixy, if anyone is being an ass, it's you. I have taken time out of my day to help you, yet you refuse to help yourself. You are not willing to accept help unless it involves someone writing the code for you. I have offered you a real alternative. It genuinely isn't difficult to set up iniDB. As I have stated before, you put the addon in your directory, you run the addon, you add a line to your init.sqf file. If that simple procedure is beyond you, you're an absolute lost cause. Enjoy your non-working save system. You've taken your time to attempt to help me resolve an issue the way I specifically told to begin with, I wasn't interested in. So why you do it the way I specifically said I wasn't interested in, is beyond me. You telling me I just need to "get better" is being an ass. You can deny that all you want, but it's the truth. Baby talk I can't use for shit, so get out of my face. Share this post Link to post Share on other sites
Axhibeck 1 Posted June 30, 2017 Well, to be fair, if you're aiming to release your work into the public domain, it will need to be of a certain standard to be of any use to anyone. As Fire had previously mentioned, nearly everyone uses databases and, if not, learns how to. There is no use in attempting to create a new foundation of a lesser standard if everyone is aiming to be higher. Databases hold many benefits which outweigh the cost/burden of learning its use, which really does not take long if you are motivated. Furthering your knowledge is the only way to progress - your current method is very constrictive. 1 Share this post Link to post Share on other sites
Revixy 3 Posted June 30, 2017 2 minutes ago, Axhibeck said: Well, to be fair, if you're aiming to release your work into the public domain, it will need to be of a certain standard to be of any use to anyone. As Fire had previously mentioned, nearly everyone uses databases and, if not, learns how to. There is no use in attempting to create a new foundation of a lesser standard if everyone is aiming to be higher. Databases hold many benefits which outweigh the cost/burden of learning its use, which really does not take long if you are motivated. Furthering your knowledge is the only way to progress - your current method is very constrictive. Noted and aware of this fact, won't change the fact that I'm looking for the other method not what everyone else think is best, for the reason for it to be easy for new people to use. If you got a suggestion on how to do this, you're welcome to post again. Share this post Link to post Share on other sites
pierremgi 4840 Posted June 30, 2017 Hi all, keep it smooth. I understand the interesting topic with 2 parts: - saving method for data (as much as vehicles + their actual states), somewhere on server. I can't imagine using the already crowded profileNameSpace for that! I don't know initDB and I prefer to understand a script rather than apply some efficient magical addons (if we can have a discussion here). - managing the data themselves with type of vehicle, fuel turrets ammo, loadout. I know how to pick/add these data, even the edited appearance, custom pylons on aircraft, or if vehicle is an arsenal...) Yes there are a bunch of possibilities. My question is: do u have a script, not an addon, for saving something permanently on the server without loading the profileNameSpace? Share this post Link to post Share on other sites
Revixy 3 Posted July 1, 2017 58 minutes ago, pierremgi said: Hi all, keep it smooth. I understand the interesting topic with 2 parts: - saving method for data (as much as vehicles + their actual states), somewhere on server. I can't imagine using the already crowded profileNameSpace for that! I don't know initDB and I prefer to understand a script rather than apply some efficient magical addons (if we can have a discussion here). - managing the data themselves with type of vehicle, fuel turrets ammo, loadout. I know how to pick/add these data, even the edited appearance, custom pylons on aircraft, or if vehicle is an arsenal...) Yes there are a bunch of possibilities. My question is: do u have a script, not an addon, for saving something permanently on the server without loading the profileNameSpace? No, I don't use any addons to save anything. I only use scripts to achieve this. Go to page one and you can see my saveFuncs.sqf file. Share this post Link to post Share on other sites
pierremgi 4840 Posted July 1, 2017 7 hours ago, Revixy said: No, I don't use any addons to save anything. I only use scripts to achieve this. Go to page one and you can see my saveFuncs.sqf file. hum, if i'm right you're using profilenamespace, and as you can read my aim is to avoid that.It's a non sense for this purpose. I hoped some other answers even if you're the thread starter. Share this post Link to post Share on other sites
Alex150201 894 Posted July 1, 2017 13 hours ago, Revixy said: Ah I see, you're one of those. Just don't waste my time, just because you think it's easy doesn't make it so for others who may have difficulties setting it up. I'm asking for help if you're only here to be an ass, then I suggest you get lost. By saying the following: 13 hours ago, MrCopyright said: If you're asking for someone to write your save system for you, I doubt there will be anyone forthcoming. You want to use profileNamespace which involves you passing a few parameters to it, it's not that difficult. If you are unable to do that, you need to read up on the SQF syntax more. I don't think he is offensive at all. It really isn't all the difficult you just have to study SQF more. And because he told you that you need to study SQF more he is being an ass to you? What? In what world? I will agree with MrCopyright that if you are looking for someone to just straight up write the code you need I don't think it will happen. 1 Share this post Link to post Share on other sites
Revixy 3 Posted July 1, 2017 4 hours ago, pierremgi said: hum, if i'm right you're using profilenamespace, and as you can read my aim is to avoid that.It's a non sense for this purpose. I hoped some other answers even if you're the thread starter. I'm not using profilenamespace. As I said, if I did that it would save the information in the arsenal for players to manipulate. So rest assured, that isn't the case. 1 hour ago, Alex150201 said: By saying the following: I don't think he is offensive at all. It really isn't all the difficult you just have to study SQF more. And because he told you that you need to study SQF more he is being an ass to you? What? In what world? I will agree with MrCopyright that if you are looking for someone to just straight up write the code you need I don't think it will happen. You can agree with what you want. The fact stands, what I'm looking for is a solution to avoid databases. Not use them, the fact that he kept pushing to use inidbi when I told him I wasn't interested is him being an ass. And honestly I see no reason why you bring a dead corpse up for no reason. And so what if you find them easy to use? That's great, but it would defeat the purpose of what I'm trying to achieve here. :) Can everyone from now on please reframe from mentioning how "easy" it is to use? Because I can't use that nor am I interested in having that argument nor debate about the matter. If you post here, let it be a solution if it isn't, then don't say a thing. Thank you. Share this post Link to post Share on other sites
Muzzleflash 111 Posted July 1, 2017 Depending on what you mean by 3rd party databases, I'm guessing sqlite is also not viable, nor anything else that requires putting a DLL on the server. You can dump info into the .rpt file but that requires .rpt logging is enabled, and only easily handles the saving part. Otherwise your only solution is to use profileNamespace. But for saving the actual data, I guess you can just use the same technique you currently use to save the player positions? Curios to how that is done. For vehicles it is more complicated because you need correlate ids with what you saved. So if you have Vehicle A at mission start and give it ID X, then when you load the mission, you have to somehow find out how to give it ID X again, otherwise you can't update its stats to match what was saved, and you risk spawning another vehicle on top of it. Another option is to distinguish between starting and loading a mission. If the mission is "started" you don't load anything. If the mission was "loaded", you delete everything at the beginning and recreate what is necessary from the save. Other than that, you save stuff pretty much like you do for players. Share this post Link to post Share on other sites
MrCopyright 107 Posted July 1, 2017 I was going to refrain from posting again, because you're not worth the time, but I had to point out your lack of intellect. You proclaim to not be using profileNamespace yet your function very clearly uses profileNamespace. You cannot realistically save and load data without using a database or profileNamespace. You don't even understand the function that you "figured out on [your] own" which leads me to believe you copy and pasted that code from somewhere. I hope everyone else realises that helping you is fruitless, you can't even help yourself. Have fun. 3 Share this post Link to post Share on other sites
Alex150201 894 Posted July 1, 2017 35 minutes ago, MrCopyright said: I was going to refrain from posting again, because you're not worth the time, but I had to point out your lack of intellect. You proclaim to not be using profileNamespace yet your function very clearly uses profileNamespace. You cannot realistically save and load data without using a database or profileNamespace. You don't even understand the function that you "figured out on [your] own" which leads me to believe you copy and pasted that code from somewhere. I hope everyone else realises that helping you is fruitless, you can't even help yourself. Have fun. As much as I agree with your previous posts I can not allow you to call someone stupid in a more formal way :) 2 hours ago, Revixy said: I'm not using profilenamespace. As I said, if I did that it would save the information in the arsenal for players to manipulate. So rest assured, that isn't the case. You can agree with what you want. The fact stands, what I'm looking for is a solution to avoid databases. Not use them, the fact that he kept pushing to use inidbi when I told him I wasn't interested is him being an ass. And honestly I see no reason why you bring a dead corpse up for no reason. And so what if you find them easy to use? That's great, but it would defeat the purpose of what I'm trying to achieve here. :) Can everyone from now on please reframe from mentioning how "easy" it is to use? Because I can't use that nor am I interested in having that argument nor debate about the matter. If you post here, let it be a solution if it isn't, then don't say a thing. Thank you. Absolutely nobody said it's easy but you. We have been calling it not difficult. If someone gives you a solution and you don't like it and he keeps insisting on that solution it still doesn't make him an ass. The fact is that you asked for help and someone gave you solutions you didn't like and you got mad about it. You made a false report saying that he is using offensive language in his post. I don't see any offensive words nor language in his posts. Ironic enough YOU have been using offensive language over and over. I want to remind everyone here that offensive language IS indeed against the forum rules. 2 Share this post Link to post Share on other sites
Revixy 3 Posted July 1, 2017 9 hours ago, Muzzleflash said: Depending on what you mean by 3rd party databases, I'm guessing sqlite is also not viable, nor anything else that requires putting a DLL on the server. You can dump info into the .rpt file but that requires .rpt logging is enabled, and only easily handles the saving part. Otherwise your only solution is to use profileNamespace. But for saving the actual data, I guess you can just use the same technique you currently use to save the player positions? Curios to how that is done. For vehicles it is more complicated because you need correlate ids with what you saved. So if you have Vehicle A at mission start and give it ID X, then when you load the mission, you have to somehow find out how to give it ID X again, otherwise you can't update its stats to match what was saved, and you risk spawning another vehicle on top of it. Another option is to distinguish between starting and loading a mission. If the mission is "started" you don't load anything. If the mission was "loaded", you delete everything at the beginning and recreate what is necessary from the save. Other than that, you save stuff pretty much like you do for players. Yea, that much I was aware of, the problem is though that I don't know how to call vehicles correctly, using that method which is why I was here in the first place. I've tired pretty much everything I can come up with. But none has worked so far. I'll figure it out though, just not here in the toxic environment that distract me more than it's being helpful. Of course not talking about you. Thanks for posting. 8 hours ago, Alex150201 said: Absolutely nobody said it's easy but you. We have been calling it not difficult. If someone gives you a solution and you don't like it and he keeps insisting on that solution it still doesn't make him an ass. The fact is that you asked for help and someone gave you solutions you didn't like and you got mad about it. You made a false report saying that he is using offensive language in his post. I don't see any offensive words nor language in his posts. Ironic enough YOU have been using offensive language over and over. I want to remind everyone here that offensive language IS indeed against the forum rules. I made a report saying that he was executing offensive behavior not language. There's a big difference and if you look closer, I didn't get "mad" about his solution, he kept insisting. I asked for help to solve a problem and say specifically what I'm looking for why he insist I should use another method continuously is beyond me since I've specifically said I'm not interested since I don't know how to use it and I say I'm not looking to use that method, but he then tells me I should just learn to "get better" just because I don't know how, without actually providing anything that would make it possible for me or anyone else for that matter to either use his method like a step by step method video that works with what he's written that he makes himself, or provide anything that would work with the method I'm seeking, then yes he would indeed just appear as an ass, telling I simply need to learn, as if I haven't tried for years. Try and google anything on the topic and you will find nothing. It sounds more like you dislike the idea that some people just don't know how to help with things correctly and when challenged to help someone explain something in greater detail, then people like you simply fail to do so, by So no, I didn't falsely accuse him of anything, I did it legitimately. So please man, don't come in here and put words in my mouth. I don't want to see another discussion like this. If you're here to help ( and I know you're a mod. ) on the topic at hand that I'm seeking help for, then great that's exactly what I want to happen here, if not then don't post. This is the LAST time I will say this. On a final note, if you feel like banning me now because you got offended or whatever, you can go ahead and do so. It will however not exactly leave the best impression on how things are handled around here since I'm being questioned for nothing. Just saying. Have a nice day. 8 hours ago, MrCopyright said: I was going to refrain from posting again, because you're not worth the time, but I had to point out your lack of intellect. You proclaim to not be using profileNamespace yet your function very clearly uses profileNamespace. You cannot realistically save and load data without using a database or profileNamespace. You don't even understand the function that you "figured out on [your] own" which leads me to believe you copy and pasted that code from somewhere. I hope everyone else realises that helping you is fruitless, you can't even help yourself. Have fun. Then why are you here? It's clear to me why you're here, it may not be for the rest here, but it is to me. You're not here to help that's for sure. You're simply here to cause trouble and I see no reason for why you would do that other than the fact that you get a kick out of the fact that you can abuse the fact that you can appear as the victim. Is that it? Because if that's it, then you're not welcome here for the very reason that I don't conduct childs play. So do me a favor and leave this thread so I can use my time on men who wish to be helpful. And honestly, you can claim away all you want man, I don't care what you believe. I don't sit here and lie at the very least or behave like a child, I do what is needed to get the problem at hand sorted out, not to sit here and listen to someone cry. So I'll say this as politely as I possibly can. Please leave this thread if you're not here to contribute on the matter in resolving it on how I asked it to be solved, in a mature way. If you can't do that then don't use your time here. I don't think I can say it any more clearly and simple than that. What I find more funny is the fact that I have to repeat this, several times and it still hasn't sunk in and then you wonder why I get agitated when you waste my time. Bravo, I have no idea how this could even happen, but I'm not surprised. I still have a lifetime to get wasted on stupid shit, this little event won't be the last nor was it the first. Thank you for your time and have a nice day. ////////UPDATE: So I took half an hour to think and I'm just going to close this thread. I'll find the answer myself as I've done with everything else, as I'm done wasting my time on childish behavior. To others who seek the answer to the question I was asking for that this topic was originally about, you can contact me directly and get the code directly. I won't share any code here. I wanted to open source it, but it's clear that only people who deserve it, should use it. Good riddance. "If you want something done, do yourself." - Gary Oldman. Share this post Link to post Share on other sites
Alex150201 894 Posted July 2, 2017 Yeah afterall you got what we were saying that probably nobody was going to write you the script and you would have to do it yourself. I am not going to ban you I have no reason to do so. Also why keep bolding some words it literally makes no sense. You also can't tell me not to post since I'm trying to clear somethings here. However as you're the thread starter you can ask me to lock it like you did and I will. If you want it opened PM me, any further discussion will be done through PM. 3 Share this post Link to post Share on other sites