Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Doyle

Pages: [1]
1
Infos & Tutorials / Re: Vehicle Shop (How-to?)
« on: May 11, 2014, 01:16 AM »
There you go: https://github.com/A3Wasteland/ArmA3_Wasteland.Altis/commit/156e259

All you have to do is set  Donator=1  under  [PlayerInfo]  in a player save, and in your code you can use the following to check if the player is a donator:

Code: [Select]
if (player getVariable ["isDonator", false]) then
{
// do stuff
};
For the cases, where it says things like "uniform" and "Vest", "Backpack", "Goggles", "Headgear", do I put the classnames of the object there?

~Doyle

2
Infos & Tutorials / Re: Vehicle Shop (How-to?)
« on: Apr 28, 2014, 11:42 PM »
For the PlayerSave, is that something I need to setup a SQL database for?

~Doyle

Well, are your player saves already working (with iniDBI)? Or you haven't figured that out yet?
If I can get a tutorial for it, I can set it up, or if you can direct me to a forum link where it was covered, that would be greatly apperciated.

Sorry for being such a hazard, Rev, just on a deadline, and so far you're the only help i've gotten.

~Doyle

3
Infos & Tutorials / Re: Vehicle Shop (How-to?)
« on: Apr 27, 2014, 08:06 PM »
For the PlayerSave, is that something I need to setup a SQL database for?

~Doyle

Well, are your player saves already working (with iniDBI)? Or you haven't figured that out yet?
That would be the second option, if you can appoint me to a tutorial :P

~Doyle

4
Infos & Tutorials / Re: Vehicle Shop (How-to?)
« on: Apr 27, 2014, 07:50 PM »
Hey!

So I added the three files into the Persistence Folder, now where do I put that (that being the code for "isDonator")?
c_savePlayerData.sqf ?

~Doyle

What do you mean? The code is for you do whatever you want with it.
For the PlayerSave, is that something I need to setup a SQL database for?

~Doyle

5
Infos & Tutorials / Re: Vehicle Shop (How-to?)
« on: Apr 27, 2014, 07:33 PM »
Hey!

So I added the three files into the Persistence Folder, now where do I put that (that being the code for "isDonator")?
c_savePlayerData.sqf ?

~Doyle

What do you mean? The code is for you do whatever you want with it.
Ah! Awesome, experimenting with this now. :)

~Doyle

6
Infos & Tutorials / Re: Vehicle Shop (How-to?)
« on: Apr 27, 2014, 04:28 PM »
There you go: https://github.com/A3Wasteland/ArmA3_Wasteland.Altis/commit/156e259

All you have to do is set  Donator=1  under  [PlayerInfo]  in a player save, and in your code you can use the following to check if the player is a donator:

Code: [Select]
if (player getVariable ["isDonator", false]) then
{
// do stuff
};
Hey!

So I added the three files into the Persistence Folder, now where do I put that (that being the code for "isDonator")?
c_savePlayerData.sqf ?

~Doyle

7
Infos & Tutorials / Re: Vehicle Shop (How-to?)
« on: Apr 27, 2014, 12:30 AM »
Yes, I was looking through previous versions, but I couldn't exactly "find" it.

~Doyle

If I put a Donator 0 or 1 property in the player save and a "isDonator" boolean in the player object, would that be sufficient for you?
Yes, that would :).

I'm sorry I seem like such a complete idiot here, just trying to get this setup!

~Doyle

8
Infos & Tutorials / Re: Vehicle Shop (How-to?)
« on: Apr 27, 2014, 12:23 AM »
Would their be a way to implement the old "Donation System" into v0.9f?

Thanks,

~Doyle

You mean to put back in what was removed?
Yes, I was looking through previous versions, but I couldn't exactly "find" it.

~Doyle

9
Infos & Tutorials / Re: Vehicle Shop (How-to?)
« on: Apr 27, 2014, 12:15 AM »
So, that being said, is there any way to get a Donation System up for something like that, or was that completely removed?

~Doyle

There never was a complete donation system in the first place, all it was was a property containing 0 or 1 in the player save, indicating whether or not this person has donated, and a config option for how much money a donator would receive on spawn.

I have already made a donation system in the past that interacted with a Call of Duty server (back when there were rentable dedis), and it's definitely not simple. You need a Business or Premier Paypal account, then you have to set up your Instant Payment Notification settings to contact a URL onto a web server of yours with custom-made code that will save which player has donated somewhere. That somewhere has to be readable from the game server, then you would be able to find if someone has donated.

Things like that don't fall from the sky in a ready-to-go package. If you have no experience in web development, you'll most likely have to find or hire someone who can make it happen.
Would their be a way to implement the old "Donation System" into v0.9f?

Thanks,

~Doyle

10
Infos & Tutorials / Re: Vehicle Shop (How-to?)
« on: Apr 26, 2014, 11:51 PM »
The "donator" thing was removed in the last update. It was simply a feature to allow people using the KoS web donation system to obtain more money on spawn. No one else ever used it besides KoS, hence why it was removed.
So, that being said, is there any way to get a Donation System up for something like that, or was that completely removed?

~Doyle

11
Infos & Tutorials / Re: Vehicle Shop (How-to?)
« on: Apr 26, 2014, 12:44 AM »
Hey!

I know I should probably make a new thread for this, but since you're already here, I have another question.

The Donator Rank? I've been looking for the use of it, and as per what I want to be setup, I would like to limit a certain shop / NPC to Donator only access, is there anyway that is possible, and if so, how would one do something of the likes?

Thanks for everything,

~Doyle

12
Infos & Tutorials / How to add a store?
« on: Apr 20, 2014, 01:28 AM »
Hey,

So, i've been trying my best to copy and reproduce using the scripts provided in the mission, however when attempting to I get: "Type Script, expected nothing."

I've been looking around, but have gotten no straight answer, so how exactly can I implement a NPC to access the Vehicle Shop Menu?

Thanks,

~Doyle

Pages: [1]