Jump to content

Defacer35

Inactive Member
  • Posts

    126
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by Defacer35

  1. Hello devs, i have a disconnect problem in my game.I'm the only one player in the game and i'm not do anything to get this syserrs.

    After a unknown header syserr everytime i'm got kicked and skills NOT WORKING.

    This is my ch1 syslog i dont have any other syserr or syslog.

     

    Aug 19 00:03:02.155547 :: QUEST_LOAD: Login pc 57711 by event
    Aug 19 00:03:25.196600 :: SkillHack: Skill(2) is not in container
    Aug 19 00:03:25.395737 :: SkillHack: Skill(2) is not in container
    Aug 19 00:03:29.435676 :: CQuestManager::Kill QUEST_KILL_EVENT (pc=57711, npc=453)
    Aug 19 00:03:31.355768 :: CQuestManager::Kill QUEST_KILL_EVENT (pc=57711, npc=453)
    Aug 19 00:03:32.473910 :: SECTREE DIFFER: Tester1 58x136 was 57x136
    Aug 19 00:03:34.35089 :: SECTREE DIFFER: Tester1 57x136 was 58x136
    Aug 19 00:03:34.515712 :: CQuestManager::Kill QUEST_KILL_EVENT (pc=57711, npc=453)
    Aug 19 00:03:36.875626 :: GLOBAL_TIME: Aug 19 00:03:36 time_gap 0
    Aug 19 00:03:37.115499 :: SECTREE DIFFER: Tester1 58x136 was 57x136
    Aug 19 00:03:38.115738 :: CQuestManager::Kill QUEST_KILL_EVENT (pc=57711, npc=453)
    Aug 19 00:03:40.514179 :: AddAffect Kötü Siy.Fırtına Okçusu type 210 apply 0 0 flag 6 duration 4
    Aug 19 00:03:41.395188 :: CQuestManager::Kill QUEST_KILL_EVENT (pc=57711, npc=453)
    Aug 19 00:03:44.73622 :: CQuestManager::Kill QUEST_KILL_EVENT (pc=57711, npc=453)
    Aug 19 00:03:49.555953 :: CQuestManager::Kill QUEST_KILL_EVENT (pc=57711, npc=401)
    SYSERR: Aug 19 00:03:51.273723 :: Process: UNKNOWN HEADER: 43, LAST HEADER: 206(1), REMAIN BYTES: 1141, fd: 17
    Aug 19 00:03:51.315295 :: DISCONNECT: Tester1 (DESC::~DESC)
    Aug 19 00:03:51.315924 :: SAVE: Tester1 372617x870410
    Aug 19 00:03:51.315992 :: QUEST clear timer 0
    Aug 19 00:03:51.316400 :: SYSTEM: closing socket. DESC #17
    Aug 19 00:04:36.875540 :: GLOBAL_TIME: Aug 19 00:04:36 time_gap 0

     

    Best Regards..

  2. Aug 16 03:04:26.662825 :: InputAuth::Login : key 1200114074:0x602956e2 login test
    Aug 16 03:04:27.671561 :: [QUERY : LONG INTERVAL(OverSec 0.993099)] : SELECT id,PASSWORD('123456'),password,social_id,status,availDt - NOW() > 0,UNIX_TIMESTAMP(silver_expire),UNIX_TIMESTAMP(gold_expire),UNIX_TIMESTAMP(safebox_expire),UNIX_TIMESTAMP(autoloot_expire),UNIX_TIMESTAMP(fish_mind_expire),UNIX_TIMESTAMP(marriage_fast_expire),UNIX_TIMESTAMP(money_drop_rate_expire),UNIX_TIMESTAMP(create_time) FROM account WHERE login='test'
    Aug 16 03:04:27.703774 :: QID_AUTH_LOGIN: START 1200114074 0x29bd6400

    This is my auth syslog.

     

    How can i correct this one ? Best Regards..

  3. On 8/10/2020 at 5:45 AM, ridetpro said:

     

    Use this select query in input_auth, you need select the ID.. I'm not sure how ( i did not checked whole matrix_card logic) .

     

    Input_auth.cpp

    
    		"SELECT id, PASSWORD('%s'), password, social_id, status, availDt - NOW() > 0,"

     

    db.cpp

    
    {
    	if (!row[col])
    	{
    		sys_err("error column %d", col);
    		M2_DELETE(pinfo);
    		break;
    	}
    
    	DWORD dwID = 0;
    	str_to_number(dwID, row[col++]);
    }

     

     

     

    I'm totally forget about this, thanks a lot mate.You saved me a lot of work. ❤️

  4. Hello, i'm trying to remove Matrix_Card i'm remove it succesfuly from both of sources ( Client and Game ) and remove the securitycode thing but i can't enter the game.The problem is no have any syserr or syslog but when i tryed connect to the game, said " Server Connecting ... " and stuck there not give any error or something.This is my syslog auth ;

     

    Aug  8 14:32:30.970416 :: SYSTEM: new connection from [111.111.111.111] fd: 15 handshake 1229836303 output input_len 0, ptr 0x29beb400
    Aug  8 14:32:31.209660 :: Handshake: client_time 0 server_time 89209
    Aug  8 14:32:31.428434 :: AUTH_PHASE 0x29beb400
    Aug  8 14:32:31.537577 :: InputAuth::Login : test(4) desc 0x29beb400
    Aug  8 14:32:31.537651 :: SetLoginKey 258960694
    Aug  8 14:32:31.537675 :: InputAuth::Login : key 258960694:0x183ab7e6 login test
    Aug  8 14:32:31.617275 :: QID_AUTH_LOGIN: START 258960694 0x29beb400
    Aug  8 14:32:31.617376 :: Create_Time 1587989800 20200427
    Aug  8 14:32:31.617418 :: Block Time -1 
    Aug  8 14:32:31.632546 :: QID_AUTH_LOGIN: SUCCESS test
    Aug  8 14:33:17.697574 :: SYSTEM: closing socket. DESC #15

     

    Best Regards. 

  5. Hello i have strange error in the game build situation, this is the error ;

     

    8067175a96abcd18ff5d52cdd3e73786.png

     

    This is my MarkConvert.cpp i bet doesnt have any problem ;

     

    #include "stdafx.h"
    #include "MarkManager.h"
    
    #ifdef __WIN32__
    #include <direct.h>
    #endif
    
    #define OLD_MARK_INDEX_FILENAME "guild_mark.idx"
    #define OLD_MARK_DATA_FILENAME "guild_mark.tga"
    
    static Pixel * LoadOldGuildMarkImageFile()
    {
    	FILE * fp = fopen(OLD_MARK_DATA_FILENAME, "rb");
    
    	if (!fp)
    	{
    		sys_err("cannot open %s", OLD_MARK_INDEX_FILENAME);
    		return NULL;
    	}
    
    	int dataSize = 512 * 512 * sizeof(Pixel);
    	Pixel * dataPtr = (Pixel *) malloc(dataSize);
    
    	fread(dataPtr, dataSize, 1, fp);
    
    	fclose(fp);
    
    	return dataPtr;
    }
    
    bool GuildMarkConvert(const std::vector<DWORD> & vecGuildID)
    {
    #ifndef __WIN32__
    	mkdir("mark", S_IRWXU);
    #else
    	_mkdir("mark");
    #endif
    
    #ifndef __WIN32__
    	if (0 != access(OLD_MARK_INDEX_FILENAME, F_OK))
    #else
    	if (0 != _access(OLD_MARK_INDEX_FILENAME, 0))
    #endif
    		return true;
    
    	FILE* fp = fopen(OLD_MARK_INDEX_FILENAME, "r");
    
    	if (NULL == fp)
    		return false;
    
    	Pixel * oldImagePtr = LoadOldGuildMarkImageFile();
    
    	if (NULL == oldImagePtr)
    	{
    		fclose(fp);
    		return false;
    	}
    
    	sys_log(0, "Guild Mark Converting Start.");
    
    	char line[256];
    	DWORD guild_id;
    	DWORD mark_id;
    	Pixel mark[SGuildMark::SIZE];
    
    	while (fgets(line, sizeof(line)-1, fp))
    	{
    		sscanf(line, "%u %u", &guild_id, &mark_id);
    
    		if (find(vecGuildID.begin(), vecGuildID.end(), guild_id) == vecGuildID.end())
    		{
    			sys_log(0, "  skipping guild ID %u", guild_id);
    			continue;
    		}
    
    		uint row = mark_id / 32;
    		uint col = mark_id % 32;
    
    		if (row >= 42)
    		{
    			sys_err("invalid mark_id %u", mark_id);
    			continue;
    		}
    
    		uint sx = col * 16;
    		uint sy = row * 12;
    
    		Pixel * src = oldImagePtr + sy * 512 + sx;
    		Pixel * dst = mark;
    
    		for (int y = 0; y != SGuildMark::HEIGHT; ++y)
    		{
    			for (int x = 0; x != SGuildMark::WIDTH; ++x)
    				*(dst++) = *(src+x);
    
    			src += 512;
    		}
    
    		CGuildMarkManager::instance().SaveMark(guild_id, (BYTE *) mark);
    		line[0] = '\0';
    	}
    
    	free(oldImagePtr);
    	fclose(fp);
    
    #ifndef __WIN32__
    	system("mv -f guild_mark.idx guild_mark.idx.removable");
    	system("mv -f guild_mark.tga guild_mark.tga.removable");
    #else
    	system("move /Y guild_mark.idx guild_mark.idx.removable");
    	system("move /Y guild_mark.tga guild_mark.tga.removable");
    #endif
    
    	sys_log(0, "Guild Mark Converting Complete.");
    
    	return true;
    }
    

     

    And this is Minilzo.h ;

     

    #ifndef __MINILZO_H_INCLUDED
    #define __MINILZO_H_INCLUDED 1
    
    #define MINILZO_VERSION         0x20a0
    
    #if defined(__LZOCONF_H_INCLUDED)
    #  error "you cannot use both LZO and miniLZO"
    #endif
    
    #ifdef MINILZO_HAVE_CONFIG_H
    #  include <config.h>
    #endif
    #include <limits.h>
    #include <stddef.h>
    
    #ifndef __LZODEFS_H_INCLUDED
    #include "lzodefs.h"
    #endif
    #undef LZO_HAVE_CONFIG_H
    #include "lzoconf.h"
    
    #if !defined(LZO_VERSION) || (LZO_VERSION != MINILZO_VERSION)
    #  error "version mismatch in header files"
    #endif
    
    #ifdef __cplusplus
    extern "C" {
    #endif
    
    #define LZO1X_MEM_COMPRESS      LZO1X_1_MEM_COMPRESS
    #define LZO1X_1_MEM_COMPRESS    ((lzo_uint32_t) (16384L * lzo_sizeof_dict_t))
    #define LZO1X_MEM_DECOMPRESS    (0)
    
    LZO_EXTERN(int)
    lzo1x_1_compress        ( const lzo_bytep src, lzo_uint  src_len,
                                    lzo_bytep dst, lzo_uintp dst_len,
                                    lzo_voidp wrkmem );
    
    LZO_EXTERN(int)
    lzo1x_decompress        ( const lzo_bytep src, lzo_uint  src_len,
                                    lzo_bytep dst, lzo_uintp dst_len,
                                    lzo_voidp wrkmem /* NOT USED */ );
    
    LZO_EXTERN(int)
    lzo1x_decompress_safe   ( const lzo_bytep src, lzo_uint  src_len,
                                    lzo_bytep dst, lzo_uintp dst_len,
                                    lzo_voidp wrkmem /* NOT USED */ );
    
    
    #ifdef __cplusplus
    
    #endif
    
    #endif
    

     

    Whats wrong ? Thank you.

  6. Quote

    Parse error: syntax error, unexpected 'WEAPON_SWORD' (T_STRING), expecting ';' in /usr/game/share/convert/cproto.php on line 102

     

    Any solution for this ? Help me pls..

     

    My 102 Line ;

     

    if($type == 1){
    if($subtype == 0){ return ""WEAPON_SWORD""; } //102 is here
    elseif($subtype == 1){ return ""WEAPON_DAGGER""; }
    elseif($subtype == 2){ return ""WEAPON_BOW""; }
    elseif($subtype == 3){ return ""WEAPON_TWO_HANDED""; }

     

    SOLUTION ;

     

    If anybody have this just make "" blabla "" = " blabla " like this.

  7. .png

     

    Here is the syserr ;

     

    
    0620 12:21:18093 :: CANNOT_FIND_PACK_FILE [d:/ymir work/effect/etc/recuperation/autodrugup_red.mse]
    0620 12:21:18094 :: CEffectManager::RegisterEffect - LoadScript(d:/ymir work/effect/etc/recuperation/autodrugup_red.mse) Error
    0620 12:21:18094 :: CInstanceBase::RegisterEffect(eEftType=267, c_szEftAttachBone=, c_szEftName=d:/ymir work/effect/etc/recuperation/autodrugup_red.mse, isCache=1) - Error
    0620 12:21:18099 :: CANNOT_FIND_PACK_FILE [d:/ymir work/effect/etc/recuperation/autodrugup_blue.mse]
    0620 12:21:18100 :: CEffectManager::RegisterEffect - LoadScript(d:/ymir work/effect/etc/recuperation/autodrugup_blue.mse) Error
    0620 12:21:18100 :: CInstanceBase::RegisterEffect(eEftType=268, c_szEftAttachBone=, c_szEftName=d:/ymir work/effect/etc/recuperation/autodrugup_blue.mse, isCache=1) - Error
    0620 12:21:18105 :: CANNOT_FIND_PACK_FILE [d:/ymir work/effect/etc/buff/buff_item1.mse]
    0620 12:21:18106 :: CEffectManager::RegisterEffect - LoadScript(d:/ymir work/effect/etc/buff/buff_item1.mse) Error
    0620 12:21:18107 :: CInstanceBase::RegisterEffect(eEftType=269, c_szEftAttachBone=, c_szEftName=d:/ymir work/effect/etc/buff/buff_item1.mse, isCache=1) - Error
    
    0620 12:21:18814 :: CANNOT_FIND_PACK_FILE [d:/ymir work/effect/hit/percent_damage1.mse]
    0620 12:21:18814 :: CEffectManager::RegisterEffect - LoadScript(d:/ymir work/effect/hit/percent_damage1.mse) Error
    0620 12:21:18815 :: CInstanceBase::RegisterEffect(eEftType=264, c_szEftAttachBone=, c_szEftName=d:/ymir work/effect/hit/percent_damage1.mse, isCache=1) - Error
    0620 12:21:18820 :: CANNOT_FIND_PACK_FILE [d:/ymir work/effect/hit/percent_damage2.mse]
    0620 12:21:18821 :: CEffectManager::RegisterEffect - LoadScript(d:/ymir work/effect/hit/percent_damage2.mse) Error
    0620 12:21:18821 :: CInstanceBase::RegisterEffect(eEftType=265, c_szEftAttachBone=, c_szEftName=d:/ymir work/effect/hit/percent_damage2.mse, isCache=1) - Error
    0620 12:21:18826 :: CANNOT_FIND_PACK_FILE [d:/ymir work/effect/hit/percent_damage3.mse]
    0620 12:21:18826 :: CEffectManager::RegisterEffect - LoadScript(d:/ymir work/effect/hit/percent_damage3.mse) Error
    0620 12:21:18827 :: CInstanceBase::RegisterEffect(eEftType=266, c_szEftAttachBone=, c_szEftName=d:/ymir work/effect/hit/percent_damage3.mse, isCache=1) - Error
    
    0620 12:21:27942 :: CMapOutdoor::Load - LoadMonsterAreaInfo ERROR
    0620 12:21:29723 :: GRANNY: r:/granny/rt/granny_file_info.cpp(145): File has run-time type tag of 0x8000000f, which doesn't match this version of Granny (0x80000010).  Automatic conversion will be attempted.
    
    0620 12:21:36081 :: CANNOT_FIND_PACK_FILE [d:/ymir work/pc/common/effect/armor/armor-4-2-1.mse]
    0620 12:21:36081 :: CEffectManager::RegisterEffect - LoadScript(D:/ymir work/pc/common/effect/armor/armor-4-2-1.mse) Error
    0620 12:21:36082 :: CInstanceBase::RegisterEffect(eEftType=248, c_szEftAttachBone=Bip01, c_szEftName=D:/ymir work/pc/common/effect/armor/armor-4-2-1.mse, isCache=0) - Error
    0620 12:21:36086 :: CANNOT_FIND_PACK_FILE [d:/ymir work/pc/common/effect/armor/armor-4-2-2.mse]
    0620 12:21:36087 :: CEffectManager::RegisterEffect - LoadScript(D:/ymir work/pc/common/effect/armor/armor-4-2-2.mse) Error
    0620 12:21:36088 :: CInstanceBase::RegisterEffect(eEftType=249, c_szEftAttachBone=Bip01, c_szEftName=D:/ymir work/pc/common/effect/armor/armor-4-2-2.mse, isCache=0) - Error

     

    I almost try everything, i cant change any thing i use not edited pack files but still have this, pls help.

  8. 4 minutes ago, WeedHex said:

    Re-do the work by 0. We can't help, this is an error from granny we can't know what you did.

     

    Btw you're not the first one:

     

     

     

    Syserr not a big problem my problem is broke items, i do all steps 2.4 - 2.9 topic in this forum but in game items look like this also i try re-install granny but stil same.. :(

  9. This is the only syserr i got, i'm converted all .gr2 files.

     

    0617 22:04:20509 :: GRANNY: Unable to find matching track_group for Model: "weapon_choegogeup01_03" in Animation: "D:\zwork\¹ÚÀç°ü\3¿ù21ÀÏÀÌÈÄÀǼöÁ¤¾Ö´Ï¸ŞÀ̼Ç\¹«»ç ij¸¯ÅÍ ¼öÁ¤\¾Ö´Ï¸ŞÀ̼Ç\onehand_sword\wait.max"
     
    0617 22:04:20825 :: GRANNY: Unable to find matching track_group for Model: "weapon_choegogeup01_03" in Animation: "D:\zwork\¹ÚÀç°ü\3¿ù21ÀÏÀÌÈÄÀǼöÁ¤¾Ö´Ï¸ŞÀ̼Ç\¹«»ç ij¸¯ÅÍ ¼öÁ¤\¾Ö´Ï¸ŞÀ̼Ç\onehand_sword\run.max"
     
    0617 22:04:22505 :: GRANNY: Unable to find matching track_group for Model: "weapon_choegogeup01_03" in Animation: "D:\zwork\¹ÚÀç°ü\3¿ù21ÀÏÀÌÈÄÀǼöÁ¤¾Ö´Ï¸ŞÀ̼Ç\¹«»ç ij¸¯ÅÍ ¼öÁ¤\¾Ö´Ï¸ŞÀ̼Ç\onehand_sword\wait_1.max"
     

     

    And this is the error, every armor or weapon is broke in the game.

     

    .png

  10. 1 hour ago, WeedHex said:

    lzo.cpp

    line 29

    (capacity >0)

    Assertion failure

     

    ?

     

    
            assert(capacity > 0);

     

     

    This is the file and line ;

     

    #include "StdAfx.h"
    #include <stdlib.h>
    #include <lzo/lzoLibLink.h>
    
    #include "lzo.h"
    #include "tea.h"
    #include "debug.h"
    
    #define dbg_printf
    
    static class LZOFreeMemoryMgr
    {
    public:
    	enum
    	{
    		REUSING_CAPACITY = 64*1024,
    	};
    public:
    	~LZOFreeMemoryMgr()
    	{
    		for(size_t i = 0; i < m_freeVector.size(); ++i)
    		{
    			delete m_freeVector[i];
    		}
    		m_freeVector.clear();
    	}
    	BYTE* Alloc(unsigned capacity)
    	{
    		assert(capacity > 0);
    		if (capacity < REUSING_CAPACITY)
    		{
    			if (!m_freeVector.empty())
    			{
    				BYTE* freeMem = m_freeVector.back();
    				m_freeVector.pop_back();
    
    				dbg_printf("lzo.reuse_alloc\t%p(%d) free\n", freeMem, capacity);
    				return freeMem;
    			}
    			BYTE* newMem = new BYTE[REUSING_CAPACITY];
    			dbg_printf("lzo.reuse_alloc\t%p(%d) real\n", newMem, capacity);
    			return newMem;
    		}
    		BYTE* newMem = new BYTE[capacity];
    		dbg_printf("lzo.real_alloc\t%p(%d)\n", newMem, capacity);
    		return newMem;
    	}

     

    What should i do now ? Thanks.

×
×
  • 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.