Shop, Currency & Kits

Shop, Currency & Kits 2.8

No permission to download
Advertisement

Official Game Server Partner

oARCHONo

New member
Messages
2
Points
1
I am getting the following error:

Code:
08/21/20 17:54 [ArkShop][error] (d:\programs\ark\plugins\arkshop\arkshop\private\kits.cpp ArkShop::Kits::GetPlayerKitsConfig) Couldn't parse config: [json.exception.parse_error.101] parse error at 1: syntax error - unexpected end of input; expected '[', '{', or a literal
I have checked my json for errors. I have mysql set up with legacy auth. Any ideas?
 

buddh

New member
Messages
7
Points
1
Does anyone has a config.json with all in game items? Also, is it possible to randomly draw a item stored in a kit? E.g. A kit with 10 possible tek items and only 1 that will be drawn random?
 
Last edited:

Frostoid

New member
Messages
1
Points
1
I'm having some issues with the point system. I have a kit set to 1000 points, but whenever someone uses it, they don't lose points. Where is the issue occurring?
 

GamingOGs

CEO | GamingOG's LLC
Staff member
Plugin Developer
Donators
Messages
264
Points
28
Website
gamingogs.com
Could somebody please tell me what is wrong with the code?
I have started over 4 times now, starting with the origional Json again and again and again, It works ingame, i restart the server and the RCON prompts me with this again

Code:
08/20/20 10:06 [ArkShop][error] [json.exception.type_error.305] cannot use operator[] with null

08/20/20 10:06 [API][warning] (API::pluginManager::LoadAllPlugins) Failed to load plugin - ArkShop

Error code: 1114
Im desperate at this point...
I did remove this part because i cant find how to fill this in. Cannot find the config info for it on this page :(


Code:
  "Mysql":{
    "UseMysql":false,
    "MysqlHost":"localhost",
    "MysqlUser":"apitest",
    "MysqlPass":"12345",
    "MysqlDB":"apitest"
  },
Not sure what that does, but I was having people not able to buy the starte rkits, said they weren't allowed. After removing that it was fixed. (not a coder, yet. Sorry)
You can't remove the MySQL. If your using a cluster follow my tutorial video:
You can enter your shop config file into this https://jsonlint.com/ to find any errors.
 

tusssed

New member
Messages
2
Points
1
Update ur API ;)
I am getting the following error:

Code:
08/21/20 17:54 [ArkShop][error] (d:\programs\ark\plugins\arkshop\arkshop\private\kits.cpp ArkShop::Kits::GetPlayerKitsConfig) Couldn't parse config: [json.exception.parse_error.101] parse error at 1: syntax error - unexpected end of input; expected '[', '{', or a literal
I have checked my json for errors. I have mysql set up with legacy auth. Any ideas?
 

og_tron

New member
Messages
15
Points
1
Can anyone tell me why when someone does /shop 4 or /shop 5, my server is crashing... other pages work fine.err.png
 

Attachments

Last edited:

MrAztecL

New member
Messages
1
Points
1
Could someone explain to me why is there 'receiving' message on the 'sending' player's chat after using /trade command (used correctly btw)?
unknown.png
 

Attachments

Daedriyth

New member
Messages
2
Points
1
I can't seem to get this plugin to work, the support team of HostHavoc is out of ideas as to why its not working. I installed the mod " ARK Server API v3.4 " made sure the plugin was in its own folder, I tried uninstalling and reinstalling the mod. I'm lost, please help.
 

Foppa

Moderator
Staff member
Messages
938
Points
43
Website
foppasgaming.com
I can't seem to get this plugin to work, the support team of HostHavoc is out of ideas as to why its not working. I installed the mod " ARK Server API v3.4 " made sure the plugin was in its own folder, I tried uninstalling and reinstalling the mod. I'm lost, please help.
Have you tried to follow this guide:
After you have installed the API the console should show up a bit different and you should it loading the plugins you have added to the plugin folder.
An important note is that you installed the API under BIN/Win64 Folder (Same folder as the ShooterGameServer.exe belongs)
And have a folder in Win64 named "ArkAPI" with a subfolder "Plugins".

So basically install the API Under \ShooterGame\Binaries\Win64
Installed this Plugin under: \ShooterGame\Binaries\Win64\ArkApi\Plugins

do you know why when people use my /kit starter it says you dont have any starter kits left?
You need to check your kits what options and values they have.
 

kotobia

New member
Messages
1
Points
1
getting crash trying to give genesis loot crate anyone have an idea whats going wrong here?

JSON:
"lootcrate1": {
      "Type": "item",
      "Description": "Genesis Loot Crate 1 (Green)",
      "Price": 80,
      "MinLevel": 50,
      "Blueprint": "Blueprint'/Game/Genesis/CoreBlueprints/Items/PrimalItemConsumable_Lootcrate_lvl1.PrimalItemConsumable_Lootcrate_lvl1'"
    },
also tried with cheat command Idk if your supposed to escape the quotes but I did for the blueprint also {steamid} == playerid?

JSON:
 "lootcrate3": {
      "Type": "command",
      "Description": "Red Loot Crate",
      "Price": 200,
      "Items": [
        {
          "Command": "GiveItemToPlayer {steamid} \"Blueprint'/Game/Genesis/CoreBlueprints/Items/PrimalItemConsumable_Lootcrate_lvl3.PrimalItemConsumable_Lootcrate_lvl3'\" 1 1 0"
        }
      ]
    }
and the final failed attempt

JSON:
 "testcrate": {
      "Type": "item",
      "Description": "Genesis Loot Crate 3 (Red)",
      "Price": 5,
      "MinLevel": 1,
      "Items": [
        {
          "Quality": 0,
          "ForceBlueprint": false,
          "Amount": 1,
          "Blueprint": "Blueprint'/Game/Genesis/CoreBlueprints/Items/PrimalItemConsumable_Lootcrate_lvl3.PrimalItemConsumable_Lootcrate_lvl3'"
        }
      ]
    }
 

davidkrack

New member
Messages
6
Points
1
someone has a json with all bp? that it really is a lot to add them all one by one: c I would appreciate it very much
 
Top