Jump to content

enisina

Member
  • Posts

    193
  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by enisina

  1. When I disabled the client src I was able to log in. But when I use items or something, I get this error. Unprocessed packet header 32, state Game
  2. I want to compile the files that I use without any problems on the Freebsd server with Visual Studio and use them on the Windows server. I keep selecting the character but the client crashes completely before the character appears. The unknown packet error I get is always the same number. When I use it on freebsd server there is no problem.
  3. 127.0.0.1 ip adresini nasıl takip edebilirim? Wireshark görmüyor (metin2 windows sunucu dosyaları)I'm listening to 127.0.0.1 and there are thousands of packets. how do I know which one is metin2?
  4. I wrote the following code for testing purposes and it gave core on this line. There is an error in the function but I couldn't understand what it is. sys_err("result0 %s, result1 %s", atoi(results[0].c_str()), atoi(results[1].c_str()));
  5. unfortunately. there was no solution.
  6. hello, when I create an item after something I add, I get game.core. can you help me ? split_value func: #include <vector> void split_value(std::string str, std::string splitBy, std::vector<std::string>& tokens) { tokens.push_back(str); size_t splitAt; size_t splitLen = splitBy.size(); std::string frag; while (true) { frag = tokens.back(); splitAt = frag.find(splitBy); if (splitAt == std::string::npos) break; tokens.back() = frag.substr(0, splitAt); tokens.push_back(frag.substr(splitAt + splitLen, frag.size() - (splitAt + splitLen))); } } item_manager.cpp [Hidden Content] line to crash(359): const TItemTable* item_table = item->GetProto(); for (int i = 0; i < ITEM_RANDOM_VALUES_MAX_NUM; i++) { if (!item_table->alSockets[i]) continue; std::string foo = std::to_string(item_table->alSockets[i]); std::vector<std::string> results; split_value(foo, "00", results); 359: const auto irandomValue = static_cast<uint16_t>(number(atoi(results[0].c_str()), atoi(results[1].c_str()))); item->SetRandomDefaultAttr(i, irandomValue); }
  7. Hi, I have a problem like this. After choosing a character, it throws it at the login screen. No Client Syserr. CH1 Syslog Jan 18 15:01:26 :: SYSTEM: new connection from [192.168.1.102] fd: 16 handshake 4237746029 output input_len 0, ptr 0x48165600 Jan 18 15:01:26 :: Packet Analyze [Header 255][bufferLeft 13] Jan 18 15:01:26 :: Packet Analyze [Header 255][bufferLeft 13] Jan 18 15:01:26 :: Handshake: lower than zero -178 Jan 18 15:01:26 :: Packet Analyze [Header 255][bufferLeft 13] Jan 18 15:01:26 :: Packet Analyze [Header 255][bufferLeft 13] Jan 18 15:01:26 :: Packet Analyze [Header 255][bufferLeft 13] Jan 18 15:01:26 :: Handshake: client_time 0 server_time 1109997 Jan 18 15:01:27 :: Packet Analyze [Header 251][bufferLeft 261] Jan 18 15:01:27 :: Packet Analyze [Header 109][bufferLeft 52] Jan 18 15:01:27 :: LOGIN_BY_KEY: admin key 676564720 Jan 18 15:01:28 :: LoginSuccess Jan 18 15:01:28 :: player(Dev).job(0) Jan 18 15:01:28 :: player(test).job(8) Jan 18 15:01:28 :: player().job(0) Jan 18 15:01:28 :: player().job(0) Jan 18 15:01:28 :: player().job(0) Jan 18 15:01:28 :: success to 0.0.0.0:12101 Jan 18 15:01:28 :: success to 0.0.0.0:12101 Jan 18 15:01:28 :: InputDB::login_success: admin Jan 18 15:01:31 :: SYSTEM: new connection from [192.168.1.102] fd: 17 handshake 1299000312 output input_len 0, ptr 0x48165b00 Jan 18 15:01:31 :: Packet Analyze [Header 100][bufferLeft 9] Jan 18 15:01:31 :: MARK_SERVER: Login Jan 18 15:01:35 :: Packet Analyze [Header 104][bufferLeft 1] Jan 18 15:01:35 :: LargePacket Size 24 Jan 18 15:01:35 :: MARK_SERVER: GuildMarkIDXList 31 bytes sent. Jan 18 15:01:35 :: Packet Analyze [Header 101][bufferLeft 322] Jan 18 15:01:35 :: MARK_SERVER: Sending blocks. (imgIdx 0 diff 0 size 10) Jan 18 15:01:35 :: SYSTEM: closing socket. DESC #17 Jan 18 15:01:40 :: SYSTEM: closing socket. DESC #16 Jan 18 15:01:44 :: GLOBAL_TIME: Jan 18 15:01:44 time_gap 0 Jan 18 15:02:10 :: CHARACTER COUNT vid 18179 pid 0 Auth Syslog Jan 18 15:01:25 :: SYSTEM: new connection from [192.168.1.102] fd: 15 handshake 148142307 output input_len 0, ptr 0x214eca00 Jan 18 15:01:25 :: Handshake: client_time 0 server_time 1120192 Jan 18 15:01:25 :: AUTH_PHASE 0x214eca00 Jan 18 15:01:25 :: InputAuth::Login : admin(5) desc 0x214eca00 Jan 18 15:01:25 :: SetLoginKey 676564720 Jan 18 15:01:25 :: InputAuth::Login : key 676564720:0xc03bae3 login admin Jan 18 15:01:25 :: QID_AUTH_LOGIN: START 676564720 0x214eca00 Jan 18 15:01:25 :: Create_Time 1606372416 20201126 Jan 18 15:01:25 :: Block Time -1 Jan 18 15:01:26 :: SetRemainSecs admin 0 Jan 18 15:01:26 :: SendAuthLogin admin language 11 key 1 Jan 18 15:01:26 :: AuthLogin result 1 key 676564720 Jan 18 15:01:26 :: SYSTEM: closing socket. DESC #15
  8. you are just doing excess code.
  9. computepoints(); on this system Why is it used? Does the need to use?
  10. you are a very good python developer. but only python.
  11. hello, which version of the game and client source branch does not give any package errors?
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.