Commit 127fae0a authored by Legodev's avatar Legodev

corrected define "type"

parent 196ac6ff
......@@ -135,6 +135,7 @@
#define PROTOCOL_DBCALL_ARGUMENT_VARIABUUID "variabuuid"
#define PROTOCOL_DBCALL_ARGUMENT_CHARSHAREUUID "charactershareablesuuid"
#define PROTOCOL_DBCALL_ARGUMENT_VEST "vest"
#define PROTOCOL_DBCALL_ARGUMENT_TYPE "type"
#define PROTOCOL_DBCALL_ARGUMENT_OBJECTTYPE "type"
#define PROTOCOL_DBCALL_ARGUMENT_RESERVEDONE "reservedone"
#define PROTOCOL_DBCALL_ARGUMENT_WEAPON "weapon"
......
......@@ -529,7 +529,7 @@ std::string mysql_db_handler::interupdateChar(std::string &extFunction, ext_argu
std::string mysql_db_handler::interkillChar(std::string &extFunction, ext_arguments &extArgument) {
std::string charuuid = extArgument.getUUID(PROTOCOL_DBCALL_ARGUMENT_CHARUUID);
std::string attackeruuid = extArgument.getUUID(PROTOCOL_DBCALL_ARGUMENT_ATTACKER);
std::string type = extArgument.get<std::string>(PROTOCOL_DBCALL_ARGUMENT_OBJECTTYPE);
std::string type = extArgument.get<std::string>(PROTOCOL_DBCALL_ARGUMENT_TYPE);
std::string weapon = extArgument.get<std::string>(PROTOCOL_DBCALL_ARGUMENT_WEAPON);
float distance = extArgument.get<float>(PROTOCOL_DBCALL_ARGUMENT_DISTANCE);
......@@ -565,7 +565,7 @@ std::string mysql_db_handler::interupdateObject(std::string &extFunction, ext_ar
std::string mysql_db_handler::interkillObject(std::string &extFunction, ext_arguments &extArgument) {
std::string charuuid = extArgument.getUUID(PROTOCOL_DBCALL_ARGUMENT_OBJECTUUID);
std::string attackeruuid = extArgument.getUUID(PROTOCOL_DBCALL_ARGUMENT_ATTACKER);
std::string type = extArgument.get<std::string>(PROTOCOL_DBCALL_ARGUMENT_OBJECTTYPE);
std::string type = extArgument.get<std::string>(PROTOCOL_DBCALL_ARGUMENT_TYPE);
std::string weapon = extArgument.get<std::string>(PROTOCOL_DBCALL_ARGUMENT_WEAPON);
float distance = extArgument.get<float>(PROTOCOL_DBCALL_ARGUMENT_DISTANCE);
......
......@@ -2,5 +2,5 @@ rm -rvf build/* debug-build/* Binaries/*dll Binaries/*so Binaries/Debug/* Binari
sh build-debug-all.sh
sh build-all.sh
cd Binaries/
7z a libredex-$(date +%Y%m%d%H%M).7z Debug/ Release/ libredex.cfg
7z a libredex-$(date +%Y%m%d%H%M).7z Debug/ Release/ libredex.cfg COPYING
cd ..
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment