michidu / ark-server-plugins Goto Github PK
View Code? Open in Web Editor NEWServer Plugins for ARK: Server API
Home Page: https://arkserverapi.com
License: MIT License
Server Plugins for ARK: Server API
Home Page: https://arkserverapi.com
License: MIT License
1>------ 已启动生成: 项目: ArkShop, 配置: Debug x64 ------
1>StoreSell.cpp
1>c:\users\administrator\desktop\ark-server-plugins-master\arkshop\arkshop\private\storesell.cpp(98): error C2653: “DBHelper”: 不是类或命名空间名称
1>c:\users\administrator\desktop\ark-server-plugins-master\arkshop\arkshop\private\storesell.cpp(98): error C3861: “IsPlayerExists”: 找不到标识符
1>Store.cpp
1>c:\users\administrator\desktop\ark-server-plugins-master\arkshop\arkshop\private\store.cpp(166): warning C4273: “ArkShop::Store::Buy”: dll 链接不一致
1>c:\users\administrator\desktop\ark-server-plugins-master\arkshop\arkshop\public\store.h(16): note: 参见“Buy”的前一个定义
1>c:\users\administrator\desktop\ark-server-plugins-master\arkshop\arkshop\private\store.cpp(177): error C2653: “DBHelper”: 不是类或命名空间名称
1>c:\users\administrator\desktop\ark-server-plugins-master\arkshop\arkshop\private\store.cpp(177): error C3861: “IsPlayerExists”: 找不到标识符
1>Points.cpp
1>c:\users\administrator\desktop\ark-server-plugins-master\arkshop\arkshop\private\points.cpp(11): warning C4273: “ArkShop::Points::AddPoints”: dll 链接不一致
1>c:\users\administrator\desktop\ark-server-plugins-master\arkshop\arkshop\public\points.h(15): note: 参见“AddPoints”的前一个定义
1>c:\users\administrator\desktop\ark-server-plugins-master\arkshop\arkshop\private\points.cpp(38): warning C4273: “ArkShop::Points::SpendPoints”: dll 链接不一致
1>c:\users\administrator\desktop\ark-server-plugins-master\arkshop\arkshop\public\points.h(23): note: 参见“SpendPoints”的前一个定义
1>c:\users\administrator\desktop\ark-server-plugins-master\arkshop\arkshop\private\points.cpp(58): warning C4273: “ArkShop::Points::GetPoints”: dll 链接不一致
1>c:\users\administrator\desktop\ark-server-plugins-master\arkshop\arkshop\public\points.h(30): note: 参见“GetPoints”的前一个定义
1>c:\users\administrator\desktop\ark-server-plugins-master\arkshop\arkshop\private\points.cpp(76): warning C4273: “ArkShop::Points::SetPoints”: dll 链接不一致
1>c:\users\administrator\desktop\ark-server-plugins-master\arkshop\arkshop\public\points.h(38): note: 参见“SetPoints”的前一个定义
1>c:\users\administrator\desktop\ark-server-plugins-master\arkshop\arkshop\private\points.cpp(101): error C2653: “DBHelper”: 不是类或命名空间名称
1>c:\users\administrator\desktop\ark-server-plugins-master\arkshop\arkshop\private\points.cpp(101): error C3861: “IsPlayerExists”: 找不到标识符
1>c:\users\administrator\desktop\ark-server-plugins-master\arkshop\arkshop\private\points.cpp(159): error C2653: “DBHelper”: 不是类或命名空间名称
1>c:\users\administrator\desktop\ark-server-plugins-master\arkshop\arkshop\private\points.cpp(159): error C3861: “IsPlayerExists”: 找不到标识符
1>c:\users\administrator\desktop\ark-server-plugins-master\arkshop\arkshop\private\points.cpp(183): error C2653: “DBHelper”: 不是类或命名空间名称
1>c:\users\administrator\desktop\ark-server-plugins-master\arkshop\arkshop\private\points.cpp(183): error C3861: “IsPlayerExists”: 找不到标识符
1>c:\users\administrator\desktop\ark-server-plugins-master\arkshop\arkshop\private\points.cpp(214): error C2653: “DBHelper”: 不是类或命名空间名称
1>c:\users\administrator\desktop\ark-server-plugins-master\arkshop\arkshop\private\points.cpp(214): error C3861: “IsPlayerExists”: 找不到标识符
1>c:\users\administrator\desktop\ark-server-plugins-master\arkshop\arkshop\private\points.cpp(241): error C2653: “DBHelper”: 不是类或命名空间名称
1>c:\users\administrator\desktop\ark-server-plugins-master\arkshop\arkshop\private\points.cpp(241): error C3861: “IsPlayerExists”: 找不到标识符
1>c:\users\administrator\desktop\ark-server-plugins-master\arkshop\arkshop\private\points.cpp(268): error C2653: “DBHelper”: 不是类或命名空间名称
1>c:\users\administrator\desktop\ark-server-plugins-master\arkshop\arkshop\private\points.cpp(268): error C3861: “IsPlayerExists”: 找不到标识符
1>c:\users\administrator\desktop\ark-server-plugins-master\arkshop\arkshop\private\points.cpp(298): error C2653: “DBHelper”: 不是类或命名空间名称
1>c:\users\administrator\desktop\ark-server-plugins-master\arkshop\arkshop\private\points.cpp(298): error C3861: “IsPlayerExists”: 找不到标识符
1>Kits.cpp
1>c:\users\administrator\desktop\ark-server-plugins-master\arkshop\arkshop\private\kits.cpp(57): warning C4273: “ArkShop::Kits::IsKitExists”: dll 链接不一致
1>c:\users\administrator\desktop\ark-server-plugins-master\arkshop\arkshop\public\kits.h(22): note: 参见“IsKitExists”的前一个定义
1>c:\users\administrator\desktop\ark-server-plugins-master\arkshop\arkshop\private\kits.cpp(71): warning C4273: “ArkShop::Kits::ChangeKitAmount”: dll 链接不一致
1>c:\users\administrator\desktop\ark-server-plugins-master\arkshop\arkshop\public\kits.h(12): note: 参见“ChangeKitAmount”的前一个定义
1>c:\users\administrator\desktop\ark-server-plugins-master\arkshop\arkshop\private\kits.cpp(115): warning C4273: “ArkShop::Kits::CanUseKit”: dll 链接不一致
1>c:\users\administrator\desktop\ark-server-plugins-master\arkshop\arkshop\public\kits.h(17): note: 参见“CanUseKit”的前一个定义
1>c:\users\administrator\desktop\ark-server-plugins-master\arkshop\arkshop\private\kits.cpp(212): error C2653: “DBHelper”: 不是类或命名空间名称
1>c:\users\administrator\desktop\ark-server-plugins-master\arkshop\arkshop\private\kits.cpp(212): error C3861: “IsPlayerExists”: 找不到标识符
1>c:\users\administrator\desktop\ark-server-plugins-master\arkshop\arkshop\private\kits.cpp(327): error C2653: “DBHelper”: 不是类或命名空间名称
1>c:\users\administrator\desktop\ark-server-plugins-master\arkshop\arkshop\private\kits.cpp(327): error C3861: “IsPlayerExists”: 找不到标识符
1>c:\users\administrator\desktop\ark-server-plugins-master\arkshop\arkshop\private\kits.cpp(424): error C2653: “DBHelper”: 不是类或命名空间名称
1>c:\users\administrator\desktop\ark-server-plugins-master\arkshop\arkshop\private\kits.cpp(424): error C3861: “IsPlayerExists”: 找不到标识符
1>ArkShop.cpp
The command "GetPlayerPos" does not seem to return anything presently.
It is very common that when you assign the same DB to several servers, they end up with duplicate SteamId. It would be great if it could be managed from mysql just like the "Permissions" plugin, it would surely solve the problem, besides facilitating the interaction of the mods with a website.
Extended RCON.
Command GetTribeIdOfPlayer always return 0
It would be great to be able to define in the .json the imprintquality of the store's dinos. Example:
"Imprint": 0.4
}
And by default, if the option is not defined, the value is 0.
GetTribeLog literally crashes every server i have tested.
great work on the rest :)
Hello,
the shop is not working anymore since version 275. timed points works , but /points , /shop ... not working anymore ?
Cordialy
The command "ListPlayerDinos" takes a while to loop through all the dinos, and thus, causes a huge hang in the server (it also causes all RCON connections to be severed, due to the hang time, which means you can't even get your response after the hang time). Could you please add a sleep in the loop? Even a 1ms sleep every 100 dinos would be a huge help.
I downloaded the ArkAPI DLL package and placed it into the Shootergame/Binaries/Win64 directory, along with the compiled ArkShop.DLL, that I got from GitHub and compiled, inside of Shootergame/binaries/win64/BeyondAPI/Plugins/ArkShop. When I launch the server, it does not load the ArkShop plugin.
For testing, I switched out the ArkShop.dll with the downloadable one from the website and it works fine.
To compile the ArkShop project, I opened the solution -> retargetted project for Windows SDK Version 10.0.16299.0 -> added the API folder, from the ArkAPI source code, into the project directory. I then compiled the ArkAPI to get an ArkAPI.Lib in which I placed into the resources section in visual studios. After that, the solution build and provided me with the ArkShop.DLL that I used above. Am I doing something wrong here?
shop is acting like every user has the exact same steam id all points/kits are shared among all players and across all maps for EX if one player uses a base kit on one map it uses every players base kit on all maps. i also have ShopRewards installed and if one player kills a dino for points every player logged into every map gets the points and if one buys ingots it takes points from what now seems like a global single database that all share
How do I install this in my nitrado server without a steam code like most mods?
Thank you very much for this project,
But I'm currently using the Linux system.
Does this plug-in support?
If arkshop runs MySQL for more than 6 hours, it may disconnect and will not automatically reconnect. The server must be restarted.
Adding command for Gender change how?
Hey,
could you add GiveItem
It would make alot of things easier :)
If all share a store database server address format should be how to fill in?
I use a computer path prompt I arkshop DLL is missing
Fantastic work with this!
Is there any possible way to write an overload method to mitigate script commands that are not associated with a player(SteamID)? Or is it how WC designed the script command?
This is a side question, but relevant. I saw your post in the Modding Forums that you can use script commands via RCON natively without the use of Extended RCON. Is this still the case?
set TimedPointsReward group
"Groups": {
"Default": {
"Amount": 10
},
"VIP1": {
"Amount": 100
},
"VIP2": {
"Amount": 1000
},
"VIP3": {
"Amount": 10000
}
Hi there.
We have 3 messages but they don't cycle in order. usually the same one repeats itself multiple times.
Is there some particular way we need to set this up to have 3 message display in order?
Error C2039
'Compare' is not a member of 'FString'
Points.cpp line 210 and 349
¿Error in mod or in API?
Hi, first thanks for the project, we are trying to translate the plugin from the store. We have a problem compiling it, I get many errors. I copied the API files into the project, any advice? Thank you
C: \ users \ rx \ source \ repos \ ark-plugin \ arkshop \ arkshop \ api \ ue.h (257): error C3646: 'Rotation': unknown invalidation specifier (257): error C4430: The type specifier is missing; c: \ users \ rx \ source \ repos \ ark-plugin \ arkshop \ arkshop \ api \ Is presupposed int. NOTE: C ++ does not support default-int (258): error C3646: 'Translation': Invalidation specifier unknown (1): c: \ users \ rx \ source \ repos \ ark-plugin \ arkshop \ arkshop \ api \ ue.h (258): error C4430: The type specifier is missing; c: \ users \ rx \ source \ repos \ ark-plugin \ arkshop \ arkshop \ api \ Is presupposed int. NOTE: C ++ does not support default-int (259): error C3646: 'Scale3D': Unknown Invalidator Specifier (C: \ Program Files \ (259): Error C4430: The type specifier is missing; c: \ users \ rx \ source \ repos \ ark-plugin \ arkshop \ arkshop \ api \ Is presupposed int. NOTE: C ++ does not support default-int 1> TimedRewards.cpp
I was trying to build plugin and got a lot of error. I think, we need to add some description to project.
There is an issue with /buykit , it's no working here. the /kit name is working , but when i do /buykit name 1 , i receive only you have successfull bought name kit but the items don't come in my inventory.
Cordialy,
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.