Jump to content

Defacer35

Member
  • Content Count

    85
  • Joined

  • Last visited

  • Yangs

    396 [ Donate ]

Community Reputation

5 Neutral

Informations

  • Gender
    Male

Recent Profile Visitors

474 profile views
  1. Hello, it's possible i think but problem is i dont know how to exactly do it. I just want the delete useless tables, like this ones ; Thanks for the advices. Best Regards.
  2. Yes i'm tryed remove this craps, here is the files you want ; https://www.mediafire.com/file/g6296mrmaairuya/UserInterface.rar/file
  3. Hello devs, i have little problem after i remove some Localeservices, here is the errors vs give me while linking ; Best Regards.
  4. Poor me, i need to sleep #ifdef __cplusplus } // :/ #endif
  5. Hello i have strange error in the game build situation, this is the error ; 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. 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. 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. I added new .dll but still sama i tryed 2.9 and 2.11 i also try go back to 2.4 but everytime i got broken items.
  9. 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..
  10. 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.
  11. Thanks for the help i think i'm understand the situation but still far away from solution.
  12. 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.
  13. All externs updated but still this error appears.
×
×
  • 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.