Jump to content

caes95

Inactive Member
  • Posts

    30
  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by caes95

  1. Are u searching for web developers? (developer not designer).
  2. For production purposes only Freebsd it's supported, however you have the source available, so you can port it to any system. If you want to connect to your VM with your public IP, you need to use a bridge network interface and configure a static IP, then you need to redirect all metin2 ports in your router to the vm or enable a dmz to your vm.
  3. Compilation speed relies primarily on CPU performance, and you need a bit more RAM in your box.
  4. Why ?, he has a VPN installed and do not need to filter packets.
  5. Hello Devs, I'm have a FreeBSD installation in a vm using kvm... the network are configure using NAT, so I configure the ip forwading using iptables all work fine with apache, mysql etc.... the problem is with metin2 server, players can connect and see your characters, but when theirs click join the server kick him. There is the syserr: SYSERR: May 5 01:45:55 :: socket_accept: accept: Software caused connection abort (fd 12) I'm assume that problem is a bad ip forwading... you tell me And thanks to you...
  6. you're returning a wrong value, please put here the line 153 of messenger_manager.cpp.
  7. maybe, nobody release a game without trips.
  8. Why you use hamachi ? Use direct IP router [Hidden Content] the same problem Remove the bind ip on your CONFIG
  9. try this: configure your ip on freebsd with your internet connection (switch the adaptador to lan) and your local ip (like a ip-server) then put your hamachi ip on portmap and try! Skype: live:caes95 The problem is that FreeBSD and the game can't obtain your external ip because you're using hamachi and hamachi doesn't have a real external ip.
  10. bool GetIPInfo() { #ifndef __WIN32__ struct ifaddrs* ifaddrp = NULL; if (0 != getifaddrs(&ifaddrp)) return false; for( struct ifaddrs* ifap=ifaddrp ; NULL != ifap ; ifap = ifap->ifa_next ) { struct sockaddr_in * sai = (struct sockaddr_in *) ifap->ifa_addr; if (!ifap->ifa_netmask || // ignore if no netmask sai->sin_addr.s_addr == 0 || // ignore if address is 0.0.0.0 sai->sin_addr.s_addr == 16777343) // ignore if address is 127.0.0.1 continue; #else WSADATA wsa_data; char host_name[100]; HOSTENT* host_ent; int n = 0; if (WSAStartup(0x0101, &wsa_data)) { return false; } gethostname(host_name, sizeof(host_name)); host_ent = gethostbyname(host_name); if (host_ent == NULL) { return false; } for ( ; host_ent->h_addr_list[n] != NULL; ++n) { struct sockaddr_in addr; struct sockaddr_in* sai = &addr; memcpy(&sai->sin_addr.s_addr, host_ent->h_addr_list[n], host_ent->h_length); #endif char * netip = inet_ntoa(sai->sin_addr); if (!strncmp(netip, "192.168", 7)) // ignore if address is starting with 192 { strlcpy(g_szInternalIP, netip, sizeof(g_szInternalIP)); #ifndef __WIN32__ fprintf(stderr, "INTERNAL_IP: %s interface %sn", netip, ifap->ifa_name); #else fprintf(stderr, "INTERNAL_IP: %sn", netip); #endif } else if (!strncmp(netip, "10.", 3)) { strlcpy(g_szInternalIP, netip, sizeof(g_szInternalIP)); #ifndef __WIN32__ fprintf(stderr, "INTERNAL_IP: %s interface %sn", netip, ifap->ifa_name); #else fprintf(stderr, "INTERNAL_IP: %sn", netip); #endif } else if (g_szPublicIP[0] == '0') { strlcpy(g_szPublicIP, netip, sizeof(g_szPublicIP)); #ifndef __WIN32__ fprintf(stderr, "PUBLIC_IP: %s interface %sn", netip, ifap->ifa_name); #else fprintf(stderr, "PUBLIC_IP: %sn", netip); #endif } } #ifndef __WIN32__ freeifaddrs( ifaddrp ); #else WSACleanup(); #endif if (g_szPublicIP[0] != '0') return true; else return false; } Thanks #Reboot but i put this code with 999.999 and my friends not can pass of the selection of character. when i try put in the start.sh -I 25.151.38.92 in the chs and ch99, but the server not start, when put 999.999 I have to do something else? clean your object dir, then compile again. gmake clean && gmake -j20
  11. If I change my game and db to the 34k the client work fine but with my compile game,db don't work.
  12. Your client version doesn't match with your game version, so you will has as result packet loss Aren't the same error.
  13. Hello friends, then of compile my game from mainline I'm getting this error: Note: The db has notxt function by xP3NG3Rx. Using a client that work with 34k files. Client syserr: 1226 21:17:26650 :: CPythonPlayer::SetItemData(dwSlotIndex=1, itemIndex=918093828) - Failed to item data 1226 21:17:26650 :: CPythonPlayer::SetItemData(dwSlotIndex=1, itemIndex=1049165829) - Failed to item data 1226 21:17:26650 :: CPythonPlayer::SetItemData(dwSlotIndex=1, itemIndex=983629831) - Failed to item data 1226 21:17:26650 :: CPythonPlayer::SetItemData(dwSlotIndex=1, itemIndex=852557833) - Failed to item data 1226 21:17:26650 :: CPythonPlayer::SetItemData(dwSlotIndex=1, itemIndex=295043082) - Failed to item data 1226 21:17:26650 :: CPythonPlayer::SetItemData(dwSlotIndex=1, itemIndex=-1014693877) - Failed to item data 1226 21:17:26650 :: CPythonPlayer::SetItemData(dwSlotIndex=1, itemIndex=-1005912052) - Failed to item data 1226 21:17:26650 :: CPythonPlayer::SetItemData(dwSlotIndex=1, itemIndex=456458253) - Failed to item data 1226 21:17:26650 :: CPythonPlayer::SetItemData(dwSlotIndex=1, itemIndex=-1014759424) - Failed to item data 1226 21:17:26650 :: CPythonPlayer::SetItemData(dwSlotIndex=1, itemIndex=760807425) - Failed to item data 1226 21:17:26650 :: CPythonPlayer::SetItemData(dwSlotIndex=1, itemIndex=818479106) - Failed to item data 1226 21:17:26650 :: CPythonPlayer::SetItemData(dwSlotIndex=1, itemIndex=1245187) - Failed to item data 1226 21:18:45209 :: Cannot find item by 299520 1226 21:18:45209 :: Cannot find item by 299520 1226 21:18:45209 :: Cannot find item by 140902400 1226 21:18:45209 :: Cannot find item by 140902400 1226 21:18:45209 :: Cannot find item by -1979711488 1226 21:18:45209 :: Cannot find item by -1979711488 1226 21:18:48066 :: Cannot find item by 299520 1226 21:18:48117 :: Cannot find item by 140902400 1226 21:18:48513 :: Cannot find item by -1979711488 1226 21:18:49305 :: Cannot find item by -1979711488 1226 21:18:49767 :: Cannot find item by 140902400 1226 21:18:50443 :: Cannot find item by 299520 1226 21:18:52787 :: Cannot find item by 299520 1226 21:18:52984 :: Cannot find item by 140902400 1226 21:18:15243 :: Cannot find item by 2874624 1226 21:18:15243 :: Cannot find item by 2874624 1226 21:18:15243 :: Cannot find item by 737017856 1226 21:18:15243 :: Cannot find item by 737017856 1226 21:18:15243 :: Cannot find item by -1862270976 1226 21:18:15243 :: Cannot find item by -1862270976 1226 21:18:15738 :: Cannot find item by 2874624 1226 21:18:16513 :: Cannot find item by 737017856 1226 21:18:16530 :: Cannot find item by -1862270976 1226 21:18:17042 :: Cannot find item by 737017856 1226 21:18:17107 :: Cannot find item by 2874624 1226 21:18:17767 :: Cannot find item by 2874624 1226 21:18:17950 :: Cannot find item by 737017856 1226 21:18:18362 :: Cannot find item by -1862270976 Db syserr: SYSERR: Dec 27 03:18:51.986042 :: pid_init: Start of pid: 2096 SYSERR: Dec 27 03:18:51.986150 :: Start: TABLE_POSTFIX not configured use default SYSERR: Dec 27 03:18:55.140150 :: Load: DirectQuery failed(SELECT IP_FROM, IP_TO, COUNTRY_NAME FROM iptocountry) Auth syserr: (I don't why but I can login on my server) SYSERR: Dec 27 03:18:54.19534 :: pid_init: Start of pid: 2098 SYSERR: Dec 27 03:18:54.21557 :: socket_connect: HOST 127.0.0.1:15000, could not connect. Channel1 syserr: SYSERR: Dec 27 03:19:08.839337 :: CheckDragonSoulExtTables: In ¹é·æ¼® group of DragonSoulExtTables, ByProduct(30270) of Grade grade_normal is not exist. SYSERR: Dec 27 03:19:08.839453 :: ReadDragonSoulTableFile: DragonSoul table Check failed. SYSERR: Dec 27 03:19:08.839489 :: Boot: cannot load DragonSoulTable: locale/germany/dragon_soul_table.txt Client version: Thanks you...
  14. hello, i have this problem after compile game from mainline branch. no errors at compile this game and db. Thanks you.
  15. subversion is already installed, not solved. Thanks you Ok solved the problem with subversion, now this the new error: gmake: *** [../game_r37084_32] Error 1 gmake: *** Waiting for unfinished jobs.... gmake: *** [../test_r37084_32] Error 1 Solved too: Link to solution post:
  16. linking ../test linking ../game_rUnversioned directory_32.... g++: directory_32: No such file or directory gmake: *** [../game_rUnversioned] Error 1 gmake: *** Waiting for unfinished jobs.... Version.cpp #include <stdio.h> void WriteVersion() { #ifndef __WIN32__ FILE* fp = fopen("VERSION.txt", "w"); if (fp) { fprintf(fp, "game revision: 123456n"); fclose(fp); } #endif } Makefile PLATFORM = $(shell file /bin/ls | cut -d' ' -f3 | cut -d'-' -f1) GCC_VERSION = $(shell $(CC) --version 2>&1 | grep "(GCC)" | cut -d' ' -f3 | cut -d'.' -f1) BSD_VERSION = $(shell uname -v 2>&1 | cut -d' ' -f2 | cut -d'.' -f1) P4_VERSION = $(shell svnversion -n .) SVN_VERSION = 123456 CC = g++ INCDIR = LIBDIR = BINDIR = .. OBJDIR = OBJDIR $(shell if [ ! -d $(OBJDIR) ]; then mkdir $(OBJDIR); fi) # Standard Setting LIBS = -pthread -lm -lmd # Removed -fno-rtti CFLAGS = -g -Wall -O2 -m32 -pipe -fexceptions -D_THREAD_SAFE -DNDEBUG # -D_USE_SERVER_KEY_ ifeq ($(GCC_VERSION), 4) CFLAGS += -mtune=i686 -fstack-protector-all else CFLAGS += -mcpu=i686 endif # boost INCDIR += -I../../../Extern/include/boost # DevIL INCDIR += -I../../libdevil LIBDIR += -L../../libdevil LIBS += -lpng -ltiff -lmng -llcms -ljpeg # MySQL #ifeq ($(BSD_VERSION), 7) INCDIR += -I../../libmysql/7.x-5.1.35 LIBDIR += -L../../libmysql/7.x-5.1.35 #else #INCDIR += -I../../libmysql/5.x-5.1.35 #LIBDIR += -L../../libmysql/5.x-5.1.35 #endif LIBS += -lmysqlclient -L/usr/local/lib/mysql -lz # Miscellaneous external libraries INCDIR += -I../../../Extern/include LIBDIR += -L../../../Extern/lib LIBS += -lcryptopp -lgtest # HackShield INCDIR += -I../../libhackshield/include LIBDIR += -L../../libhackshield/lib LIBS += -lanticpxsvr # XTrap INCDIR += -I../../libxtrap/include # openssl #INCDIR += -I/usr/include #LIBS += -lssl #LIBS += /usr/lib/libssl.a # Project Library INCDIR += -I../../liblua/include INCDIR += -I/usr/local/include INCDIR += -L/usr/local/lib/mysql INCDIR += -I../../libserverkey LIBDIR += -L../../libthecore/lib -L../../libpoly -L../../libsql -L../../libgame/lib -L../../liblua/lib -L../../libserverkey LIBDIR += -L/usr/local/lib LIBS += -lthecore -lpoly -llua -llualib -lsql -lgame -lserverkey USE_STACKTRACE = 0 ifeq ($(USE_STACKTRACE), 1) LIBS += /usr/local/lib/libexecinfo.a endif TARGET = $(BINDIR)/game_r$(P4_VERSION)_$(PLATFORM) CFILE = minilzo.c CPPFILE = BattleArena.cpp FSM.cpp MarkConvert.cpp MarkImage.cpp MarkManager.cpp OXEvent.cpp TrafficProfiler.cpp ani.cpp arena.cpp banword.cpp battle.cpp blend_item.cpp block_country.cpp buffer_manager.cpp building.cpp castle.cpp char.cpp char_affect.cpp char_battle.cpp char_change_empire.cpp char_horse.cpp char_item.cpp char_manager.cpp char_quickslot.cpp char_resist.cpp char_skill.cpp char_state.cpp PetSystem.cpp cmd.cpp cmd_emotion.cpp cmd_general.cpp cmd_gm.cpp cmd_oxevent.cpp config.cpp constants.cpp crc32.cpp cube.cpp db.cpp desc.cpp desc_client.cpp desc_manager.cpp desc_p2p.cpp dev_log.cpp dungeon.cpp empire_text_convert.cpp entity.cpp entity_view.cpp event.cpp event_queue.cpp exchange.cpp file_loader.cpp fishing.cpp gm.cpp guild.cpp guild_manager.cpp guild_war.cpp horse_rider.cpp horsename_manager.cpp input.cpp input_auth.cpp input_db.cpp input_login.cpp input_main.cpp input_p2p.cpp input_teen.cpp input_udp.cpp ip_ban.cpp item.cpp item_addon.cpp item_attribute.cpp item_manager.cpp item_manager_idrange.cpp locale.cpp locale_service.cpp log.cpp login_data.cpp lzo_manager.cpp marriage.cpp matrix_card.cpp messenger_manager.cpp mining.cpp mob_manager.cpp monarch.cpp motion.cpp over9refine.cpp p2p.cpp packet_info.cpp party.cpp passpod.cpp pcbang.cpp polymorph.cpp priv_manager.cpp pvp.cpp questevent.cpp questlua.cpp questlua_affect.cpp questlua_arena.cpp questlua_ba.cpp questlua_building.cpp questlua_danceevent.cpp questlua_dungeon.cpp questlua_forked.cpp questlua_game.cpp questlua_global.cpp questlua_guild.cpp questlua_horse.cpp questlua_pet.cpp questlua_item.cpp questlua_marriage.cpp questlua_mgmt.cpp questlua_monarch.cpp questlua_npc.cpp questlua_oxevent.cpp questlua_party.cpp questlua_pc.cpp questlua_quest.cpp questlua_target.cpp questmanager.cpp questnpc.cpp questpc.cpp refine.cpp regen.cpp safebox.cpp sectree.cpp sectree_manager.cpp sequence.cpp shop.cpp skill.cpp start_position.cpp target.cpp text_file_loader.cpp trigger.cpp utils.cpp vector.cpp war_map.cpp wedding.cpp xmas_event.cpp version.cpp panama.cpp threeway_war.cpp map_location.cpp auth_brazil.cpp BlueDragon.cpp BlueDragon_Binder.cpp DragonLair.cpp questlua_dragonlair.cpp HackShield.cpp HackShield_Impl.cpp char_hackshield.cpp skill_power.cpp affect.cpp SpeedServer.cpp questlua_speedserver.cpp XTrapManager.cpp auction_manager.cpp FileMonitor_FreeBSD.cpp ClientPackageCryptInfo.cpp cipher.cpp buff_on_attributes.cpp check_server.cpp dragon_soul_table.cpp DragonSoul.cpp group_text_parse_tree.cpp char_dragonsoul.cpp questlua_dragonsoul.cpp shop_manager.cpp shopEx.cpp item_manager_read_tables.cpp COBJS = $(CFILE:%.c=$(OBJDIR)/%.o) CPPOBJS = $(CPPFILE:%.cpp=$(OBJDIR)/%.o) MAINOBJ = $(OBJDIR)/main.o MAINCPP = main.cpp TESTOBJ = $(OBJDIR)/test.o TESTCPP = test.cpp TEST_TARGET = $(BINDIR)/test default: $(TARGET) $(TEST_TARGET) $(OBJDIR)/minilzo.o: minilzo.c @$(CC) $(CFLAGS) $(INCDIR) -c $< -o $@ @echo compile $< $(OBJDIR)/version.o: version.cpp @$(CC) $(CFLAGS) -D__P4_VERSION__="$(SVN_VERSION)" -c $< -o $@ @echo compile $< $(OBJDIR)/%.o: %.cpp @echo compile $< @$(CC) $(CFLAGS) $(INCDIR) -c $< -o $@ limit_time: @echo update limit time @python update_limit_time.py $(TARGET): $(CPPOBJS) $(COBJS) $(MAINOBJ) @echo linking $(TARGET).... @$(CC) $(CFLAGS) $(LIBDIR) $(COBJS) $(CPPOBJS) $(MAINOBJ) $(LIBS) -o $(TARGET) $(TEST_TARGET): $(TESTCPP) $(CPPOBJS) $(COBJS) $(TESTOBJ) @echo linking $(TEST_TARGET) @$(CC) $(CFLAGS) $(LIBDIR) $(COBJS) $(CPPOBJS) $(TESTOBJ) $(LIBS) -o ../test clean: @rm -f $(COBJS) $(CPPOBJS) @rm -f $(BINDIR)/game_r* $(BINDIR)/conv tag: ctags *.cpp *.h *.c dep: makedepend -f Depend $(INCDIR) -I/usr/include/c++/3.3 -I/usr/include/c++/4.2 -p$(OBJDIR)/ $(CPPFILE) $(CFILE) $(MAINCPP) $(TESTCPP) 2> /dev/null > Depend sinclude Depend What's the problem? ty
  17. You need install perforce revision control system: Put this in your shell: cd /usr/ports/devel/p4/ && make install clean sorry for reply late, maybe this solution can be useful for someone.
  18. Hello, I can't commerce using this client: [Hidden Content] with this binary: [Hidden Content] Syserr: 1217 13:08:02765 :: Traceback (most recent call last): 1217 13:08:02765 :: File "game.py", line 961, in StartExchange 1217 13:08:02767 :: File "interfaceModule.py", line 680, in StartExchange 1217 13:08:02767 :: File "uiExchange.py", line 84, in OpenDialog 1217 13:08:02767 :: TypeError 1217 13:08:02767 :: : 1217 13:08:02767 :: not enough arguments for format string 1217 13:08:02767 :: Thanks you Edit: Solved with this post: [Hidden Content] Sorry for no using the search tool before post.
×
×
  • 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.