Jump to content

rayans91

Inactive Member
  • Posts

    8
  • Joined

  • Last visited

  • Feedback

    0%

About rayans91

Recent Profile Visitors

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

rayans91's Achievements

Apprentice

Apprentice (3/16)

  • One Month Later
  • First Post
  • Dedicated
  • Week One Done
  • Reacting Well

Recent Badges

0

Reputation

  1. if you want to help me it's good but if have wrote here my problem and can try to resolve the problem without pay fee at someone, if you want explain me how to resolve my problem
  2. Have downloaded ava 2 source file and client but when try to translate my item_proto and encrypt its all ok but the client say me ": 1111 17:00:12282 :: CPythonItem::LoadItemTable: invalid item_proto[locale/it/item_proto] STRIDE[156] != sizeof(SItemTable) 1111 17:00:12282 :: LoadLocaleData - LoadItemProto(locale/it/item_proto) Error this is my item_proto and item names file get the item proto from the database but i 've alredy tried with the item proto inside srv/db/item_proto.txt, nothing happen it's the same result. item_proto example: vnum name locale_name type subtype weight size antiflag flag wearflag immuneflag gold shop_buy_price refined_vnum refine_set refine_set2 magic_pct limittype0 limitvalue0 limittype1 limitvalue1 applytype0 applyvalue0 applytype1 applyvalue1 applytype2 applyvalue2 value0 value1 value2 value3 value4 value5 socket0 socket1 socket2 socket3 socket4 socket5 specular socket_pct 1 ??????? Yang 9 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -1 -1 -1 -1 -1 -1 0 0 2 ?????????? Deutsche Version 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -1 -1 -1 -1 -1 -1 0 0 10 ??+0 Schwert+0 1 0 0 2 262176 1 16 0 0 11 1 0 15 1 0 0 0 7 22 0 0 0 0 0 15 19 13 15 0 -1 -1 -1 -1 -1 -1 0 1 11 ??+1 Schwert+1 1 0 0 2 262176 1 16 100 100 12 2 0 15 1 0 0 0 7 22 0 0 0 0 0 15 19 13 15 7 -1 -1 -1 -1 -1 -1 0 1 12 ??+2 Schwert+2 1 0 0 2 262176 1 16 100 100 13 3 0 15 1 0 0 0 7 22 0 0 0 0 0 15 19 13 15 14 -1 -1 -1 -1 -1 -1 0 1 13 ??+3 Schwert+3 1 0 0 2 262176 1 16 100 150 14 4 0 15 1 0 0 0 7 22 0 0 0 0 0 15 19 13 15 21 -1 -1 -1 -1 -1 -1 0 1 14 ??+4 Schwert+4 1 0 0 2 262176 1 16 100 150 15 5 0 15 1 0 0 0 7 22 0 0 0 0 0 15 19 13 15 28 -1 -1 -1 -1 -1 -1 30 1 15 ??+5 Schwert+5 1 0 0 2 262176 1 16 100 200 16 6 0 15 1 0 0 0 7 22 0 0 0 0 0 15 19 13 15 35 -1 -1 -1 -1 -1 -1 40 1 16 ??+6 Schwert+6 1 0 0 2 262176 1 16 100 250 17 7 0 15 1 0 0 0 7 22 0 0 0 0 0 15 19 13 15 42 -1 -1 -1 -1 -1 -1 50 1 17 ??+7 Schwert+7 1 0 0 2 262176 1 16 100 350 18 8 0 15 1 0 0 0 7 22 0 0 0 0 0 15 19 13 15 49 -1 -1 -1 -1 -1 -1 65 1 18 ??+8 Schwert+8 1 0 0 2 262176 1 16 100 500 19 9 0 15 1 0 0 0 7 22 0 0 0 0 0 15 19 13 15 56 -1 -1 -1 -1 -1 -1 80 1 19 ??+9 Schwert+9 1 0 0 2 262176 1 16 100 750 0 0 0 15 1 0 0 0 7 22 0 0 0 0 0 15 19 13 15 63 -1 -1 -1 -1 -1 -1 100 1 item_names.txt VNUM LOCALE_NAME 1 Yang 2 Versione italiana 10 Spada+0 11 Spada+1 12 Spada+2 13 Spada+3 14 Spada+4 15 Spada+5 16 Spada+6 17 Spada+7 18 Spada+8 19 Spada+9 client inside ItemData.h typedef struct SItemTable_r152 { DWORD dwVnum; char szName[ITEM_NAME_MAX_LEN + 1]; char szLocaleName[ITEM_NAME_MAX_LEN + 1]; BYTE bType; BYTE bSubType; BYTE bWeight; BYTE bSize; DWORD dwAntiFlags; DWORD dwFlags; DWORD dwWearFlags; DWORD dwImmuneFlag; DWORD dwIBuyItemPrice; DWORD dwISellItemPrice; TItemLimit aLimits[ITEM_LIMIT_MAX_NUM]; TItemApply aApplies[ITEM_APPLY_MAX_NUM]; long alValues[ITEM_VALUES_MAX_NUM]; long alSockets[ITEM_SOCKET_MAX_NUM]; DWORD dwRefinedVnum; WORD wRefineSet; BYTE bAlterToMagicItemPct; BYTE bSpecular; BYTE bGainSocketPct; } TItemTable_r152; typedef struct SItemTable_r156 { DWORD dwVnum; DWORD dwVnumRange; char szName[ITEM_NAME_MAX_LEN + 1]; char szLocaleName[ITEM_NAME_MAX_LEN + 1]; BYTE bType; BYTE bSubType; BYTE bWeight; BYTE bSize; DWORD dwAntiFlags; DWORD dwFlags; DWORD dwWearFlags; DWORD dwImmuneFlag; DWORD dwIBuyItemPrice; DWORD dwISellItemPrice; TItemLimit aLimits[ITEM_LIMIT_MAX_NUM]; TItemApply aApplies[ITEM_APPLY_MAX_NUM]; long alValues[ITEM_VALUES_MAX_NUM]; long alSockets[ITEM_SOCKET_MAX_NUM]; DWORD dwRefinedVnum; WORD wRefineSet; BYTE bAlterToMagicItemPct; BYTE bSpecular; BYTE bGainSocketPct; } TItemTable_r156; typedef struct SItemTable_r158 { DWORD dwVnum; DWORD dwVnumRange; char szName[ITEM_NAME_MAX_LEN + 1]; char szLocaleName[ITEM_NAME_MAX_LEN + 1]; BYTE bType; BYTE bSubType; BYTE bWeight; BYTE bSize; DWORD dwAntiFlags; DWORD dwFlags; DWORD dwWearFlags; DWORD dwImmuneFlag; DWORD dwIBuyItemPrice; DWORD dwISellItemPrice; TItemLimit aLimits[ITEM_LIMIT_MAX_NUM]; TItemApply aApplies[ITEM_APPLY_MAX_NUM]; long alValues[ITEM_VALUES_MAX_NUM]; long alSockets[ITEM_SOCKET_MAX_NUM]; DWORD dwRefinedVnum; WORD wRefineSet; BYTE bAlterToMagicItemPct; BYTE bSpecular; BYTE bGainSocketPct; WORD wWearableFlag; } TItemTable_r158; some can explain me what do wrong ? thank you
  3. im resolved the problem, the problem is im editing the wrong file (the position is wrong) the the file in srv/share/locale/germany e not in db/ when start to edit the right file all now works, thank for the support.
  4. thank you for the answer, i have tried to to set 109-110 in the files mob_proto.txt but didn't change anything. have another solution to try ? someone reccomend me to change regen.txt but i see only the mob in the map and the world boss.
  5. hi, my name is rayan i'm study to do a dev c++, now im expert in IT System Administration , i hope to learn to do c++ language in metin2, thank you for the help!
  6. Hi, have checked the file mob_proto in the server e the vnum associated to attck speed and mv speed but when hit a metin with id 8001 an example, in the attkspeed e mv speed are setted 109 and 110 group of mob but in game, nothing happen the metin stone doesnt spawn anything in any zone, can help me to debug ? how to find in the sources to see if disabled the spawn ? this is example in the mob_proto.txt 8001 ??? KING STONE SPECIAL 5 NOMOVE 0 STUN,SLOW,CURSE,TERROR 0 0 0 0 6 0 0 0 14550 5 1 1548 1858 3 8 110 109 0 2000 175 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
  7. Hi have this error when try gmake in the Server source folder : clang++-devel -Wall -O2 -pipe -mtune=i686 -g -I../include -c utils.c clang++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] utils.c:341:5: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 341 | register int tv; | ^~~~~~~~ utils.c:359:2: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 359 | register long long tv; | ^~~~~~~~ 2 errors generated. gmake[2]: *** [Makefile:36: utils.o] Error 1 gmake[2]: Leaving directory '/usr/src/Source/Server/libthecore/src' gmake[1]: *** [Makefile:20: default] Error 2 gmake[1]: Leaving directory '/usr/src/Source/Server/libthecore/src' gmake: *** [Makefile:44: libthecore] Error 2 this is the makefile of libthecore: CC = clang++-devel BIN_DIR = ../lib BIN = $(BIN_DIR)/libthecore.a INCLUDE = ../include GCC_VERSION = $(shell $(CC) --version 2>&1 | grep "(GCC)" | cut -d' ' -f3 | cut -d'.' -f1) ifeq ($(GCC_VERSION), 4) CFLAGS = -Wall -O2 -pipe -mtune=i686 -g -I$(INCLUDE) else CFLAGS = -Wall -O2 -pipe -mtune=i686 -g -I$(INCLUDE) endif LIBS = OBJFILES = socket.o fdwatch.o buffer.o signal.o log.o utils.o \ kstbl.o hangul.o heart.o main.o tea.o des.o gost.o memcpy.o default: $(MAKE) $(BIN) $(BIN): $(OBJFILES) if [ ! -d $(BIN_DIR) ]; then mkdir $(BIN_DIR); fi ar cru $(BIN) $(OBJFILES) $(LIBS) ranlib $(BIN) chmod 700 $(BIN) clean: rm -f *.o rm -f $(BIN) dep: $(CC) $(CFLAGS) -MM *.c > Depend $(OBJFILES): $(CC) $(CFLAGS) -c $< memcpy: memcpy.o utils.o log.o $(CC) $(CFLAGS) -c -D__MAIN__ memcpy.c $(CC) $(CFLAGS) -o memcpy memcpy.o utils.o log.o include Depend thats is the version of gcc in the virtualbox machine gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc12/gcc/i386-portbld-freebsd12.4/12.2.0/lto-wrapper Target: i386-portbld-freebsd12.4 Configured with: /wrkdirs/usr/ports/lang/gcc12/work/gcc-12.2.0/configure --disable-multilib --with-build-config=bootstrap-lto-noplugin --disable-nls --enable-gnu-indirect-function --enable-host-shared --enable-plugin --libdir=/usr/local/lib/gcc12 --libexecdir=/usr/local/libexec/gcc12 --program-suffix=12 --with-as=/usr/local/bin/as --with-gmp=/usr/local --with-gxx-include-dir=/usr/local/lib/gcc12/include/c++/ --with-gxx-libcxx-include-dir=/usr/include/c++/v1 --with-ld=/usr/local/bin/ld --with-pkgversion='FreeBSD Ports Collection' --with-system-zlib --without-zstd --enable-languages=c,c++,objc,fortran,jit --prefix=/usr/local --localstatedir=/var --mandir=/usr/local/man --infodir=/usr/local/share/info/gcc12 --build=i386-portbld-freebsd12.4 Thread model: posix Supported LTO compression algorithms: zlib gcc version 12.2.0 (FreeBSD Ports Collection) Sorry for the post but I have already solved the problem, just go to each file cited by the compiler and delete the word register which is deprecated, once this is done the compilation is successful
×
×
  • 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.