Thank you for your detailed explanation.
i now have a config with no error message at startup.
But now when I die I do not get a starter kit or can buy them.
Error message when trying :
Error found.
Atlas Shop has not created SQL columns from "Kits,points".
after I deleted the table players again and restarted the server the columns were there! ;D
i now have a config with no error message at startup.
But now when I die I do not get a starter kit or can buy them.
Error message when trying :
C-like:
02/27/21 23:25 [AtlasShop][error] (d:\programs\ark\atlas\atlasshop\atlasshop\private\kits.cpp AtlasShop::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
02/27/21 23:25 [AtlasShop][error] (d:\programs\ark\atlas\atlasshop\atlasshop\private\kits.cpp AtlasShop::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
02/27/21 23:25 [AtlasShop][error] (d:\programs\ark\atlas\atlasshop\atlasshop\private\kits.cpp AtlasShop::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
JSON:
{
"Mysql":{
"UseMysql":true,
"MysqlHost":"localhost",
"MysqlUser":"atlas",
"MysqlPass":"PASS",
"MysqlDB":"atlas"
},
"General":{
"TimedPointsReward":{
"Enabled":true,
"Interval":5,
"Groups":{
"Default":{
"Amount":5
},
"Premiums":{
"Amount":15
}
}
},
"ItemsPerPage":15,
"ShopDisplayTime":15.0,
"ShopTextSize":1.3,
"DbPathOverride":"",
"DefaultKit":"vip,starter"
},
"Kits":{
"starter":{
"DefaultAmount":10,
"Price":90,
"Description":"Starter kit (carno with saddle)",
"OnlyFromSpawn":true,
"Items":[
{
"Amount":1,
"Quality":1,
"ForceBlueprint":false,
"Blueprint":"Blueprint'/Game/PrimalEarth/CoreBlueprints/Weapons/PrimalItem_WeaponMetalPick.PrimalItem_WeaponMetalPick'"
},
{
"Amount":1,
"Quality":1,
"ForceBlueprint":false,
"Blueprint":"Blueprint'/Game/PrimalEarth/CoreBlueprints/Weapons/PrimalItem_WeaponSickle.PrimalItem_WeaponSickle'"
},
{
"Amount":1,
"Quality":1,
"ForceBlueprint":false,
"Blueprint":"Blueprint'/Game/PrimalEarth/CoreBlueprints/Weapons/PrimalItem_WeaponMetalHatchet.PrimalItem_WeaponMetalHatchet'"
},
{
"Amount":1,
"Quality":1,
"ForceBlueprint":false,
"Blueprint":"Blueprint'/Game/Mods/KPlusAutomationMod/Spyglass/PrimalItemWeapon_Spyglass_K+.PrimalItemWeapon_Spyglass_K+'"
}
],
"Dinos":[
{
"Level":10,
"Blueprint":"Blueprint'/Game/Atlas/Creatures/Giraffe/Giraffe_Character_BP.Giraffe_Character_BP'"
}
]
},
"vip":{
"DefaultAmount":1,
"Description":"Donator Kit",
"Permissions":"Admins,Premiums",
"Dinos":[
{
"Level":20,
"Neutered":true,
"Blueprint":"Blueprint'/Game/Atlas/Creatures/Giraffe/Giraffe_Character_BP.Giraffe_Character_BP'"
}
]
}
},
"ShopItems":{
"ingots100":{
"Type":"item",
"Description":"Metal Ingot (100x)",
"Price":15,
"Items":[
{
"Quality":0,
"ForceBlueprint":false,
"Amount":1,
"Blueprint":"Blueprint'/Game/PrimalEarth/CoreBlueprints/Weapons/PrimalItem_WeaponMetalPick.PrimalItem_WeaponMetalPick'"
}
]
},
"allengrams":{
"Type":"command",
"Description":"All engrams",
"Price":1000,
"Items":[
{
"Command":"GiveEngrams"
}
]
}
},
"SellItems":{
"metal":{
"Type":"item",
"Description":"100x stone",
"Price":10,
"Amount":100,
"Blueprint":"Blueprint'/Game/Mods/Stack50/Resources/PrimalItemResource_Stone_Child.PrimalItemResource_Stone_Child'"
}
},
"Messages":{
"Sender":"Legacy Atlas Shop",
"BoughtItem":"<RichColor Color=\"0, 1, 0, 1\">You have successfully bought item</>",
"BoughtDino":"<RichColor Color=\"0, 1, 0, 1\">You have successfully bought dino</>",
"BoughtBeacon":"<RichColor Color=\"0, 1, 0, 1\">You have successfully bought beacon</>",
"BoughtExp":"<RichColor Color=\"0, 1, 0, 1\">You have successfully bought experience</>",
"ReceivedPoints":"<RichColor Color=\"1, 1, 0, 1\">You have received {0} points! (total: {1})</>",
"HavePoints":"You have {0} points",
"NoPoints":"<RichColor Color=\"1, 0, 0, 1\">You don't have enough points</>",
"WrongId":"<RichColor Color=\"1, 0, 0, 1\">Wrong id</>",
"NoPermissionsKit":"<RichColor Color=\"1, 0, 0, 1\">You don't have permission to use this kit</>",
"CantBuyKit":"<RichColor Color=\"1, 0, 0, 1\">You can't buy this kit</>",
"BoughtKit":"<RichColor Color=\"0, 1, 0, 1\">You have successfully bought {0} kit</>",
"AvailableKits":"Available kits for you:",
"NoKits":"No available kits",
"KitsLeft":"You have {0} {1} kits left",
"NoKitsLeft":"You don't have {0} kits left",
"CantGivePoints":"<RichColor Color=\"1, 0, 0, 1\">You can't give points to yourself</>",
"RidingDino":"<RichColor Color=\"1, 0, 0, 1\">You can't buy this item while riding a dino</>",
"SentPoints":"<RichColor Color=\"0, 1, 0, 1\">You have successfully sent {0} points to {1}</>",
"GotPoints":"You have received {0} points from {1}",
"NoPlayer":"<RichColor Color=\"1, 0, 0, 1\">Player doesn't exist</>",
"FoundMorePlayers":"<RichColor Color=\"1, 0, 0, 1\">Found more than one player with the given name</>",
"BuyUsage":"Usage: /buy id amount",
"ShopUsage":"Usage: /shop page",
"KitUsage":"Usage: /kit KitName",
"BuyKitUsage":"Usage: /BuyKit KitName amount",
"TradeUsage":"Usage: /trade 'Player Name' amount",
"PointsCmd":"/points",
"TradeCmd":"/trade",
"BuyCmd":"/buy",
"ShopCmd":"/shop",
"KitCmd":"/kit",
"BuyKitCmd":"/buykit",
"SellCmd":"/sell",
"ShopSellCmd":"/shopsell",
"SellUsage":"Usage: /sell id amount",
"NotEnoughItems":"<RichColor Color=\"1, 0, 0, 1\">You don't have enough items ({0}/{1})</>",
"SoldItems":"<RichColor Color=\"0, 1, 0, 1\">You have successfully sold items</>",
"BadLevel":"<RichColor Color=\"1, 0, 0, 1\">Required level: {0} - {1}</>",
"KitsListPrice":"Price: {0}",
"KitsListFormat":"\"{0}\" - {1}. {2} left. {3}\n",
"StoreListDino":"{0}) {1}. Level: {2}. Id: {3}. Price: {4}\n",
"StoreListItem":"{0}) {1}. Id: {2}. Price: {3}\n",
"StoreListFormat":"{0}",
"OnlyOnSpawnKit":"This kit can be used only on spawn",
"HelpCmd":"/shophelp",
"ShopMessage":"Usage: /buy id amount",
"HelpMessage":"This is shop help message"
}
}
Error found.
Atlas Shop has not created SQL columns from "Kits,points".
after I deleted the table players again and restarted the server the columns were there! ;D
Last edited: