Jump to content
metin2dev

kingshero

Members
  • Content count

    101
  • Joined

  • Last visited

Community Reputation

1 Neutral

About kingshero

  • Rank
    Friendly

Profile Information

  • Gender
    Male

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. hello in client src in PythonNetworkStreamPhaseGame.cpp in this function bool CPythonNetworkStream::RecvGuild() i see switch (GuildPacket.subheader) { case GUILD_SUBHEADER_GC_LIST: { how to get TPacketGCGuildSubMember i edited to in packet.h in client src typedef struct packet_guild_sub_member { DWORD pid; BYTE byGrade; BYTE byIsGeneral; BYTE byJob; BYTE byLevel; DWORD dwOffer; BYTE byNameFlag; DWORD king; } TPacketGCGuildSubMember; from game this packet in game src packet.h not found and when edit TGuildMemberPacketData in guild.h in guild.h TGuildMemberPacketData typedef struct SGuildMemberPacketData { DWORD pid; BYTE grade; BYTE is_general; BYTE job; BYTE level; DWORD offer; BYTE name_flag; char name[CHARACTER_NAME_MAX_LEN + 1]; DWORD king; } TGuildMemberPacketData; but same problem i have SYSERR: Unknown packet header: 102, last: 75 75 in client syserr this code in guild.cpp void CGuild::SendListOneToAll(DWORD pid) { TPacketGCGuild pack; pack.header = HEADER_GC_GUILD; pack.size = sizeof(TPacketGCGuild); pack.subheader = GUILD_SUBHEADER_GC_LIST; pack.size += sizeof(TGuildMemberPacketData); char c[CHARACTER_NAME_MAX_LEN + 1]; memset(c, 0, sizeof(c)); auto cit = m_member.find(pid); if(cit == m_member.end()) { return; } for(auto it = m_memberOnline.begin(); it != m_memberOnline.end(); ++it) { LPDESC d =(*it)->GetDesc(); if(!d) { continue; } TEMP_BUFFER buf; buf.write(&pack, sizeof(pack)); cit->second._dummy = 1; buf.write(&(cit->second), sizeof(DWORD) * 3 + 1); buf.write(cit->second.name.c_str(), cit->second.name.length()); buf.write(c, CHARACTER_NAME_MAX_LEN + 1 - cit->second.name.length()); d->Packet(buf.read_peek(), buf.size()); } } i get GUILD_SUBHEADER_GC_LIST in this but i can't understand how to change this ? to send another i edited this table.h typedef struct SPacketDGGuildMember { DWORD dwPID; DWORD dwGuild; BYTE bGrade; BYTE isGeneral; BYTE bJob; BYTE bLevel; DWORD dwOffer; char szName[CHARACTER_NAME_MAX_LEN + 1]; DWORD king; } TPacketDGGuildMember; but same problem
  2. hello in client src in PythonNetworkStreamPhaseGame.cpp in this function bool CPythonNetworkStream::RecvGuild() i see switch (GuildPacket.subheader) { case GUILD_SUBHEADER_GC_LIST: { how to get TPacketGCGuildSubMember from game this packet in game src packet.h not found and when edit TGuildMemberPacketData in guild.h i have SYSERR: Unknown packet header: 102, last: 75 75 in client syserr
  3. kingshero

    open little bug in guild war

    ????????
  4. kingshero

    open little bug in guild war

    hello all explain problem : when start war like use this command : /war guild_name 1 or /war guild_name 2 i have crash core in core 1 , core 2 and core 3 this crash Happen after notice in chat ------------ before warp to map 110 or 111 in this moment the core 1 , core 2 and core 3 is crash and see this 4 line on putty and when debug core i have this please help in my problem and thanks for all syslog in core 1 after crash syslog in core 2 after crash syslog in db after crash
  5. kingshero

    open Mousemodule Problem

    up
  6. i have this error when game link this is make file
  7. hello arves we need edit mysql_query function in lua and make his compatibly with mariadb10.2
  8. hello marty i have this problem when open use sh start.sh i include the python code in my cpp code Shared object "libpython2.7.so.1" not found, required by "game" and when add this lib in lib32 in my game server i have problem in comparability
  9. to install mariaDb on freebsd you need deinstall mysql on this example i use mysql57 you should use this command to delete the mysql57 cd /usr/ports/databases/mysql57-server/ && make deinstall cleancd /usr/ports/databases/mysql57-client/ && make deinstall clean now to install maraiadb you can use this command with the replace version i use maraiadb 10,0 cd /usr/ports/databases/mariadb100-server && make install clean enable ssl after install use this : echo 'mysql_enable="YES"' >> /etc/rc.conf configuration MariaDB respects FreeBSD layout of file systems (and doesn’t check /etc and /etc/mysql for my.cnf. You will find the following default config files: ls -l /usr/local/share/mysql/my*.cnf /usr/local/share/mysql/my-huge.cnf /usr/local/share/mysql/my-innodb-heavy-4G.cnf /usr/local/share/mysql/my-large.cnf /usr/local/share/mysql/my-medium.cnf /usr/local/share/mysql/my-small.cnf i use medium conf cp /usr/local/share/mysql/my-medium.cnf /usr/local/etc/my.cnf service mysql-server start and done !
  10. when install mariaDb the style query not change ?
  11. plz add example what the new style what the change when add mariaDb "REPLACE INTO item%s (id, owner_id, windows, pos, count, vnum, socket0, socket1, socket2, " "attrtype0, attrvalue0, " "attrtype1, attrvalue1, " "attrtype2, attrvalue2, " "attrtype3, attrvalue3, " "attrtype4, attrvalue4, " "attrtype5, attrvalue5, " "attrtype6, attrvalue6 " ") "
  12. Hello i update mysql connector to MariaDB Connector v3.3 what is The advantages or the benefit of this sorry I do not understand precisely because I do not speak English fluently
  13. kingshero

    [Bug]Game Core:Official pet system

    how to solved this problem ?
  14. kingshero

    Core crash due new pet system

    i have same problem
  15. kingshero

    open Crash Core

    plz type this in debug bt where
×