-
Posts
126 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Everything posted by Defacer35
-
Great work, if any one need the official FTP adresses, i have some of them ; [Hidden Content] [Hidden Content] [Hidden Content] Good luck with this, best regards.
-
What a nostalgia, this pic give me a goosebumps.Thank you !
-
Marty, IRA, Fliege for basic. Otherwise Owsap.
-
Incredible job ! Awesome, thank you.
-
Metin2 Srcs - C++20 Implement Error
Defacer35 replied to Defacer35's topic in Community Support - Questions & Answers
CXX = g++10 BIN = ../libsql.a CFLAGS = -I/usr/local/include/mysql -Wall -O2 -ggdb3 -g3 -std=gnu++20 -pipe -mtune=i386 -fstack-protector -static CPP = AsyncSQL.cpp Semaphore.cpp Statement.cpp Tellwait.cpp all: $(BIN) clean: rm -f *.o rm -f $(BIN) %.o: %.cpp @echo -e "\033[0;32m[LibSQL]\033[0m \033[0;33mDerleniyor;\033[0m" $* @$(CXX) $(CFLAGS) -c $^ -o $@ $(BIN): $(CPP:%.cpp=%.o) @ar cru $(BIN) $^ @ranlib $(BIN) chmod 700 $(BIN) -
Metin2 Srcs - C++20 Implement Error
Defacer35 replied to Defacer35's topic in Community Support - Questions & Answers
Still not solved. -
Current Peer host names...
Defacer35 replied to HUNgarocel1's topic in Community Support - Questions & Answers
Hi, this syslog is the basicly heart beat of the db.I think this syslog useless, if you dont want to see this ; Open db/src/ClientManager.cpp Find ; else { pt_log ("[%9d] return %d/%d/%d/%d async %d/%d/%d%/%d", thecore_heart->pulse, CDBManager::instance().CountReturnQuery (SQL_PLAYER), CDBManager::instance().CountReturnResult (SQL_PLAYER), CDBManager::instance().CountReturnQueryFinished (SQL_PLAYER), CDBManager::instance().CountReturnCopiedQuery (SQL_PLAYER), CDBManager::instance().CountAsyncQuery (SQL_PLAYER), CDBManager::instance().CountAsyncResult (SQL_PLAYER), CDBManager::instance().CountAsyncQueryFinished (SQL_PLAYER), CDBManager::instance().CountAsyncCopiedQuery (SQL_PLAYER)); if ((thecore_heart->pulse % 50) == 0) sys_log (0, "[%9d] return %d/%d/%d async %d/%d/%d", thecore_heart->pulse, CDBManager::instance().CountReturnQuery (SQL_PLAYER), CDBManager::instance().CountReturnResult (SQL_PLAYER), CDBManager::instance().CountReturnQueryFinished (SQL_PLAYER), CDBManager::instance().CountAsyncQuery (SQL_PLAYER), CDBManager::instance().CountAsyncResult (SQL_PLAYER), CDBManager::instance().CountAsyncQueryFinished (SQL_PLAYER)); } Change like this ; else { //pt_log ("[%9d] return %d/%d/%d/%d async %d/%d/%d%/%d", //thecore_heart->pulse, CDBManager::instance().CountReturnQuery (SQL_PLAYER), CDBManager::instance().CountReturnResult (SQL_PLAYER), CDBManager::instance().CountReturnQueryFinished (SQL_PLAYER), CDBManager::instance().CountReturnCopiedQuery (SQL_PLAYER), CDBManager::instance().CountAsyncQuery (SQL_PLAYER), CDBManager::instance().CountAsyncResult (SQL_PLAYER), CDBManager::instance().CountAsyncQueryFinished (SQL_PLAYER), CDBManager::instance().CountAsyncCopiedQuery (SQL_PLAYER)/*)*/; if ((thecore_heart->pulse % 50) == 0) //sys_log (0, "[%9d] return %d/%d/%d async %d/%d/%d", //thecore_heart->pulse, CDBManager::instance().CountReturnQuery (SQL_PLAYER), CDBManager::instance().CountReturnResult (SQL_PLAYER), CDBManager::instance().CountReturnQueryFinished (SQL_PLAYER), CDBManager::instance().CountAsyncQuery (SQL_PLAYER), CDBManager::instance().CountAsyncResult (SQL_PLAYER), CDBManager::instance().CountAsyncQueryFinished (SQL_PLAYER)/*)*/; } Best Regards. -
Metin2 Srcs - C++20 Implement Error
Defacer35 replied to Defacer35's topic in Community Support - Questions & Answers
Bump. -
Metin2 Srcs - C++20 Implement Error
Defacer35 replied to Defacer35's topic in Community Support - Questions & Answers
Bump. @Mali61 Any idea my friend ? -
Good as always, best Turk i know. Thanks for share.
-
Good feature ! Thank you.
-
Compiler Can't Find Boost
Defacer35 replied to Defacer35's topic in Community Support - Questions & Answers
Bump, i cant find any solution. -
Compiler Can't Find Boost
Defacer35 replied to Defacer35's topic in Community Support - Questions & Answers
Bump. -
Hi devs, as i said compiler cant find (i guess) boost and give me error the problem ; ClientManager.cpp: In member function 'void CClientManager::Destroy()': ClientManager.cpp:68:7: error: 'itertype' was not declared in this scope 68 | for (itertype(m_peerList) i = m_peerList.begin(); i != m_peerList.end(); ++i) | ^~~~~~~~ ClientManager.cpp:68:52: error: 'i' was not declared in this scope 68 | for (itertype(m_peerList) i = m_peerList.begin(); i != m_peerList.end(); ++i) | ^ ClientManager.cpp: In member function 'void CClientManager::MainLoop()': ClientManager.cpp:189:2: error: 'itertype' was not declared in this scope 189 | itertype(m_map_playerCache) it = m_map_playerCache.begin(); | ^~~~~~~~ ClientManager.cpp:191:9: error: 'it' was not declared in this scope; did you mean 'int'? 191 | while (it != m_map_playerCache.end()) | ^~ | int ClientManager.cpp:202:9: error: 'it2' was not declared in this scope 202 | while (it2 != m_map_itemCache.end()) | ^~~ ClientManager.cpp:212:88: error: 'itPriceList' was not declared in this scope 212 | for (itertype(m_mapItemPriceListCache) itPriceList = m_mapItemPriceListCache.begin(); itPriceList != m_mapItemPriceListCache.end(); ++itPriceList) | ^~~~~~~~~~~ ClientManager.cpp: In member function 'void CClientManager::QUERY_BOOT(CPeer*, TPacketGDBoot*)': ClientManager.cpp:324:2: error: 'itertype' was not declared in this scope 324 | itertype(m_map_pkObjectTable) it = m_map_pkObjectTable.begin(); | ^~~~~~~~ ClientManager.cpp:326:9: error: 'it' was not declared in this scope; did you mean 'int'? 326 | while (it != m_map_pkObjectTable.end()) | ^~ | int ClientManager.cpp: In member function 'void CClientManager::SendPartyOnSetup(CPeer*)': ClientManager.cpp:370:7: error: 'itertype' was not declared in this scope 370 | for (itertype(pm) it_party = pm.begin(); it_party != pm.end(); ++it_party) | ^~~~~~~~ ClientManager.cpp:370:43: error: 'it_party' was not declared in this scope 370 | for (itertype(pm) it_party = pm.begin(); it_party != pm.end(); ++it_party) | ^~~~~~~~ ClientManager.cpp:376:73: error: 'it_member' was not declared in this scope 376 | for (itertype(it_party->second) it_member = it_party->second.begin(); it_member != it_party->second.end(); ++it_member) | ^~~~~~~~~ ClientManager.cpp: In member function 'void CClientManager::RESULT_SAFEBOX_LOAD(CPeer*, SQLMsg*)': ClientManager.cpp:562:5: error: 'itertype' was not declared in this scope 562 | itertype(m_map_itemTableByVnum) it = m_map_itemTableByVnum.find(r.vnum); | ^~~~~~~~ ClientManager.cpp:564:9: error: 'it' was not declared in this scope; did you mean 'i'? 564 | if (it == m_map_itemTableByVnum.end()) | ^~ | i ClientManager.cpp:571:24: error: 'it' was not declared in this scope; did you mean 'i'? 571 | grid.Put(r.pos, 1, it->second->bSize); | ^~ | i ClientManager.cpp:596:6: error: 'itertype' was not declared in this scope 596 | itertype(m_map_itemTableByVnum) it = m_map_itemTableByVnum.find(pItemAward->dwVnum); This is my makefile include boost ; INCDIR += -I/usr/local/include/boost This is ClientManager.h ; #include <boost/unordered_map.hpp> #include <boost/unordered_set.hpp> #include "../../common/stl.h" #include "../../common/building.h" #include "Peer.h" #include "DBManager.h" #include "LoginData.h" Whats wrong ? Best regards..
-
Hi devs, first of all i'm so mad at this point but i'm littlarly does everything to fix this. After a little MakeFile update (Nothing special just little updates) this error appears, what does i do wrong ? FIX - BIG THANKS FOR THE DENIZERI24 Open cmd_general.cpp Find ; #include <md5.h> Change ; #include <sys/md5.h> FIX - BIG THANKS FOR THE DENIZERI24 Best regards..
-
Gcc10 Compile Warning
Defacer35 replied to Defacer35's topic in Community Support - Questions & Answers
Sadly i try this before this not the problem i think i'm try char name 2048 or 1024 or 512 or 256 also 64 - 128 getting same warn every time, i'm search almost every stackflow post but nothing get anything.. Btw thanks for your effort. -
Gcc10 Compile Warning
Defacer35 replied to Defacer35's topic in Community Support - Questions & Answers
Sure, [Hidden Content] -
Gcc10 Compile Warning
Defacer35 replied to Defacer35's topic in Community Support - Questions & Answers
First of all thanks for the answer, does that before but i have same warn again -
- SOLVED - Update system_cmd to 512 and char name to 128 thats solve the warning. - SOLVED - Hello devs, i have a little trouble here. name veriable has a char* but i have this warn what should i do ? Best regards.. void log_file_delete_old (const char* filename) { struct stat sb; int num1, num2; char buf[32]; char system_cmd[64]; struct tm new_tm; if (stat(filename, &sb) == -1) { perror("log_file_delete_old: stat"); return; } if (!S_ISDIR(sb.st_mode)) { return; } new_tm = *tm_calc(NULL, -log_keep_days); sprintf (buf, "%04d%02d%02d", new_tm.tm_year + 1900, new_tm.tm_mon + 1, new_tm.tm_mday); num1 = atoi(buf); struct dirent** namelist; int n; n = scandir (filename, &namelist, 0, alphasort); if (n < 0) { perror ("scandir"); } else { char name[MAXNAMLEN + 1]; while (n-- > 0) { strncpy (name, namelist[n]->d_name, 255); name[255] = '\0'; free (namelist[n]); if (*name == '.') { continue; } if (!isdigit (*name)) { continue; } num2 = atoi (name); if (num2 <= num1) { sprintf (system_cmd, "rm -rf %s/%s", filename, name); system (system_cmd); sys_log (0, "%s: SYSTEM_CMD: %s", __FUNCTION__, system_cmd); fprintf (stderr, "%s: SYSTEM_CMD: %s %s:%d %s:%d\n", __FUNCTION__, system_cmd, buf, num1, name, num2); } } } free (namelist); }
-
Disconnect Problem - Unknown Header
Defacer35 replied to Defacer35's topic in Community Support - Questions & Answers
I test it again, i'm connecting the game kill 5-6 mobs and i got dc maybe its the thing and skills not working and i used mainline_released for client and server. PhaseGame.cpp [Hidden Content] Stream.cpp [Hidden Content] Okey, i'm gonna look this.