Resource icon

Atlas Shop, Currency & Kits 1.0

No permission to download

Michidu

Administrator
Staff member
Messages
640
Points
93
@Michidu How do you set it up to automatically give kits to players?
By using DefaultKit, ArkShop has description.
Does DbPathOverride work with remote hosts (FTP, like VPS or hosted servers without a drive path as the root? If in the same directory as the config.json can i use ./<insert name.db here>?

even the full path doesn't seem to work

"DbPathOverride":"/ShooterGame/Binaries/Win64/AtlasApi/Plugins/AtlasShop/AtlasShop.db",
If you want to share db, it's better to use mysql. Also, by full path we usually mean absolute path and that's what you need to use.
 
Advertisement

Official Game Server Partner

Tex

New member
Donators
Messages
8
Points
1
By using DefaultKit, ArkShop has description.

If you want to share db, it's better to use mysql. Also, by full path we usually mean absolute path and that's what you need to use.

Gotcha, I'm uploading to a VM (obviously) managed by TCAdmin. Not quite sure why the environmental variable "\" type root wouldn't work as well as drive path.

All in all I'm satisfied, but the non-standard jason (multi, etc) is definitely a bit of a cause for alarm in something like this. I'm surprised that it's not a .CFG or .INI file that's then parsed by the plugin to create the JSON table. It's like handing people linux makefiles when there are scripts to edit and fill makefiles. As a sysadmin, a bit lazy IMHO. I'll see if I can't whip something easy up to create the config files in a manner that isn't easy to break. The majority of the reason you have to waste time on this thread (along with others) is just that.
 

Michidu

Administrator
Staff member
Messages
640
Points
93
All in all I'm satisfied, but the non-standard jason (multi, etc) is definitely a bit of a cause for alarm in something like this. I'm surprised that it's not a .CFG or .INI file that's then parsed by the plugin to create the JSON table. It's like handing people linux makefiles when there are scripts to edit and fill makefiles. As a sysadmin, a bit lazy IMHO. I'll see if I can't whip something easy up to create the config files in a manner that isn't easy to break. The majority of the reason you have to waste time on this thread (along with others) is just that.
.ini is not good enough for it. You can use tools like this one https://jsoneditoronline.org/ to simplify configuration process.
 

Michidu

Administrator
Staff member
Messages
640
Points
93
¿ any way to avoid spawn alpha dinos ?
in my server, some pople is buying aleatory 'alpha' dinos.., and that's a problem..
Currently, there is no direct way to prevent it. Seems like developers decided that some dinos should have a chance to be 'alpha'.
 

Tex

New member
Donators
Messages
8
Points
1
I get item quality, but can you spawn ships of specific quality?
 

Tex

New member
Donators
Messages
8
Points
1
.ini is not good enough for it. You can use tools like this one https://jsoneditoronline.org/ to simplify configuration process.

If you can code something like a plugin, it's pretty damned easy to code something within it to parse an .ini/.cfg file. The structure becomes fairly broken, obviously, after more than the basic few lines. Thanks for the link, but I already use two IDEs.
 

Michidu

Administrator
Staff member
Messages
640
Points
93
If you can code something like a plugin, it's pretty damned easy to code something within it to parse an .ini/.cfg file. The structure becomes fairly broken, obviously, after more than the basic few lines. Thanks for the link, but I already use two IDEs.
If you find it easy, i'm sure you can deal with a basic json as well. As i said already, INI is not powerful enough for such plugin. And .cfg can be basically anything, it's not a file format.
 

Tex

New member
Donators
Messages
8
Points
1
Obviously, neither is INI if you look at other examples of configuration files. What bothers me about all of the plugins is that forcing the user to work within schema, in this case, JSON, puts a bar to entry that costs you cumulative days, if not weeks in time doing support as well as alienates your userbase.
 

Michidu

Administrator
Staff member
Messages
640
Points
93
Obviously, neither is INI if you look at other examples of configuration files. What bothers me about all of the plugins is that forcing the user to work within schema, in this case, JSON, puts a bar to entry that costs you cumulative days, if not weeks in time doing support as well as alienates your userbase.
INI is more a file format, even though, it's informal. I can agree that using something like YAML would be more user friendly, but probably it's not worth to switch now.
 

patcher

Member
Donators
Messages
75
Points
8
the only way i can think of is not to put them for purchase and just give them a certain amount
 

GeekGoggles

Member
Donators
Messages
144
Points
18
So tested this again on a new server single grid works fine. But when I sell something in a 3x3 it stops responding not sure why.
 

SixxGunZ

New member
Donators
Messages
6
Points
3
I'm getting an error code 1114 and the shop plugin won't load. I've made sure ports are open on all the machines connecting to the mysql server, inbound and outbound tcp. I made sure the mysql user credentials are allowing any ip to connect. I'm able to connect to the mysql server remotely at this point from my home pc to the dedicated server im using to host the mysql server. Anything I should be checking? I feel like i've triple checked everything.
 
Last edited:

portroyal

New member
Donators
Messages
22
Points
1
I'm getting an error code 1114 and the shop plugin won't load. I've made sure ports are open on all the machines connecting to the mysql server, inbound and outbound tcp. I made sure the mysql user credentials are allowing any ip to connect. I'm able to connect to the mysql server remotely at this point from my home pc to the dedicated server im using to host the mysql server. Anything I should be checking? I feel like i've triple checked everything.
I was having this same issue at first. Check and see how many connections you're allowed via one username.
 

Deviliath

New member
Donators
Messages
9
Points
1
So I cannot get this to work for the life of me. I have spent countless hours trying to configure it. Everything works as intended except for purchasing out of the shop. Kits work, spawn items work, permissions work, all admin commands work. It list everything in the shop. Just will not purchase or give item out of the shop. I would be happy to pay someone to fix it for me. Here is the config I have. Any help would be appreciated.
 

Attachments

GeekGoggles

Member
Donators
Messages
144
Points
18
So I cannot get this to work for the life of me. I have spent countless hours trying to configure it. Everything works as intended except for purchasing out of the shop. Kits work, spawn items work, permissions work, all admin commands work. It list everything in the shop. Just will not purchase or give item out of the shop. I would be happy to pay someone to fix it for me. Here is the config I have. Any help would be appreciated.
To start looks like your using Mysql right? You need to enable that up top to true. You also have spaces after : on your blueprint strings that needs fixed. Change that and try it ;)
 

Deviliath

New member
Donators
Messages
9
Points
1
Im using sqllite.
As I said everything works but purchasing. I will remove the spaces and see if that works.
 
Last edited:
Top