Jump to content

ShadowsPR0

Member
  • Posts

    71
  • Joined

  • Last visited

  • Feedback

    0%

About ShadowsPR0

  • Birthday 11/25/1997

Informations

  • Gender
    Male

Recent Profile Visitors

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

ShadowsPR0's Achievements

Collaborator

Collaborator (7/16)

  • Dedicated
  • Reacting Well
  • First Post
  • Collaborator Rare
  • Conversation Starter

Recent Badges

8

Reputation

  1. the tutorial is missing a lot of stuff. If you could please create an updated tutorial so that we can test that would be awesome.
  2. The way i made this work on the other maps C and A was like this: In PropertyManager.cpp In PropertyManager.h In Area.cpp
  3. I have managed to fix this issue by doing the below changes: in uitooltip.py Search for: def ClearToolTip(self): self.toolTipHeight = 12 self.childrenList = [] Add under self.childrenList = []: self.centeredTextLines = [] Change AppendTextLine function to this: def AppendTextLine(self, text, color=FONT_COLOR, centerAlign=True, show=True): textLine = ui.TextLine() textLine.SetParent(self) textLine.SetFontName(self.defFontName) textLine.SetPackedFontColor(color) textLine.SetText(text) textLine.SetOutline() textLine.SetFeather(False) if show: textLine.Show() textWidth, _ = textLine.GetTextSize() textWidth += 20 # padding tooltipWidthChanged = False if self.toolTipWidth < textWidth: self.toolTipWidth = textWidth tooltipWidthChanged = True self.childrenList.append(textLine) if centerAlign: textLine.SetHorizontalAlignCenter() textLine.SetPosition(self.toolTipWidth / 2, self.toolTipHeight) if not hasattr(self, "centeredTextLines"): self.centeredTextLines = [] self.centeredTextLines.append(textLine) else: textLine.SetHorizontalAlignLeft() textLine.SetPosition(10, self.toolTipHeight) self.toolTipHeight += self.TEXT_LINE_HEIGHT self.ResizeToolTip() if tooltipWidthChanged and hasattr(self, "centeredTextLines"): for line in self.centeredTextLines: line.SetPosition(self.toolTipWidth / 2, line.GetLocalPosition()[1]) line.SetHorizontalAlignCenter() return textLine
  4. Your suggestion fixed the issue i was having with the tooltip size but now the stone icons are stuck to the very far left. Does anyone know how to fix this ?
  5. Afte running game in debug mode, here is the error i get..
  6. Hi, I have an issue with the game client crashing when i summon a Horse and i get nothing in my Syserr (server or client) The issue only happens when the horse npc is summoned. If i use "/ride_horse" and get mounted on the horse straight away Client doesn't crash but it does crash when i Dismount. Game also crashes when i try to spawn the horse npc by using /mob command. Nothing in syserr but in ch syslog i get this: Nov 6 18:55:10 :: COMMAND: ShadowsPR0: mob Nov 6 18:55:10 :: RegisterRaceNumMap Brown Horse 20102 Nov 6 18:55:10 :: FlushPendingDestroy size 1 Nov 6 18:55:11 :: DISCONNECT: ShadowsPR0 (DESC::~DESC) Nov 6 18:55:11 :: SAVE: ShadowsPR0 963018x276796 Nov 6 18:55:11 :: QUEST clear timer 0 Nov 6 18:55:11 :: SYSTEM: closing socket. DESC #22 Any help/pointers would be very appreciated !
  7. Hi all, I need some help fixing the blank space in between the socket icon and text. This issue happens on all items that have any type of socket added including jewlery. Any help is much appreciated.
  8. Hi everyone, I'm having some issues with the change channel system as you can see in the video below: When i try to change Channel i get kicked back to login scree. VIDEO Syserr in Client or Server is clear and in CH1 Syslogg what i can see is this: Sep 16 17:08:02 :: AddAffect ShadowsPR0 type 540 apply 0 0 flag 0 duration 1892160000 Sep 16 17:08:08 :: COMMAND: ShadowsPR0: move_channel Sep 16 17:08:11 :: ChangeChannel ShadowsPR0, 959482 270002 map 41 to port 30007 Sep 16 17:08:12 :: DISCONNECT: ShadowsPR0 (DESC::~DESC) Sep 16 17:08:12 :: SAVE: ShadowsPR0 959482x270002 Sep 16 17:08:12 :: QUEST clear timer 0 Sep 16 17:08:12 :: SYSTEM: closing socket. DESC #24 CH1 Config: HOSTNAME: srv1-ch1-core1 CHANNEL: 1 MAP_ALLOW: 1 21 41 3 23 43 4 24 44 5 25 45 107 108 109 112 134 135 136 137 138 139 75 76 34 13 217 56 209 358 359 PORT: 30003 P2P_PORT: 30004 DB_PORT: 30000 Syslog for CH2 when attempt to change ch: Sep 16 17:07:37 :: GLOBAL_TIME: Sep 16 17:07:37 time_gap 0 Sep 16 17:08:00 :: P2P: Login ShadowsPR0 Sep 16 17:08:12 :: P2P: Logout ShadowsPR0 Sep 16 17:08:37 :: GLOBAL_TIME: Sep 16 17:08:37 time_gap 0 CH2 Config: HOSTNAME: srv1-ch2-core1 CHANNEL: 2 MAP_ALLOW: 1 21 41 3 23 43 4 24 44 5 25 45 107 108 109 112 134 135 136 137 138 139 75 76 27 34 13 217 PORT: 30007 P2P_PORT: 30008 DB_PORT: 30000 I'm using Google Cloud Platform as my host and Prodomo 5.3 serverfiles (if it helps in anyway) I'm suspecting is to do with ports maybe as i have tried other channel change systems and they behave in a similar way. Any help is much appreciated !
  9. I'm getting this error SYSERR: Sep 16 14:49:53 :: Process: UNKNOWN HEADER: 229, LAST HEADER: 0(0), REMAIN BYTES: 8, fd: 24 I did check that i added the header correctly ....
  10. Hi Metin2Dev Does anyone have the files or tut for this inventory button system ?? I've been searching everywhere and i just can't find it ...
  11. Hi, I'm trying to compile the source, it compiles successfully but throws error at the end when linking: compile questlua_speedserver.cpp compile auction_manager.cpp compile FileMonitor_FreeBSD.cpp compile ClientPackageCryptInfo.cpp compile cipher.cpp compile buff_on_attributes.cpp compile check_server.cpp compile dragon_soul_table.cpp compile DragonSoul.cpp compile group_text_parse_tree.cpp compile char_dragonsoul.cpp compile questlua_dragonsoul.cpp compile shop_manager.cpp compile shopEx.cpp compile item_manager_read_tables.cpp compile MountSystem.cpp compile main.cpp compile minilzo.c linking ../game.... ld: error: unable to find library -llcms clang++: error: linker command failed with exit code 1 (use -v to see invocation) My Makefile i changed to uce C++14 instead of c++2a as that was giving me errors even before it started compiling. 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) SVN_VERSION = 40250 CC = clang++-devel INCDIR = LIBDIR = BINDIR = .. OBJDIR = OBJDIR GAMEDIR = /usr/metin2/server/share/bin $(shell if [ ! -d $(OBJDIR) ]; then mkdir $(OBJDIR); fi) # Standard Setting LIBS = -pthread -lm -lmd # Removed -fno-rtti CFLAGS = -g -Wall -w -O2 -m32 -pipe -std=c++14 -fexceptions -D_THREAD_SAFE -DNDEBUG # -D_USE_SERVER_KEY_ CFLAGS += -mtune=i686 -fstack-protector-all # boost # INCDIR += -I../../../Extern/include/boost # CryptoPP INCDIR += -I../../etc/cryptopp_8_4_0 LIBDIR += -L../../etc/cryptopp_8_4_0 LIBS += -lcryptopp # DevIL INCDIR += -I../../etc/libdevil LIBDIR += -L../../etc/libdevil LIBS += -lIL -lpng -ltiff -lmng -llcms -ljpeg # MySQL ifeq ($(BSD_VERSION), 7) INCDIR += -I../../etc/libmysql/7.x-5.1.35 LIBDIR += -L../../etc/libmysql/7.x-5.1.35 else INCDIR += -I../../etc/libmysql/5.x-5.1.35 LIBDIR += -L../../etc/libmysql/5.x-5.1.35 endif LIBS += -lmysqlclient -lz # Miscellaneous external libraries INCDIR += -I../../../Extern/include LIBDIR += -L../../../Extern/lib # openssl #INCDIR += -I/usr/include #LIBS += -lssl #LIBS += /usr/lib/libssl.a # Project Library INCDIR += -I../../liblua/include INCDIR += -I/usr/local/include 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$(SVN_VERSION)_$(PLATFORM) TARGET = $(BINDIR)/game 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\ skill_power.cpp affect.cpp SpeedServer.cpp questlua_speedserver.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 MountSystem.cpp COBJS = $(CFILE:%.c=$(OBJDIR)/%.o) CPPOBJS = $(CPPFILE:%.cpp=$(OBJDIR)/%.o) MAINOBJ = $(OBJDIR)/main.o MAINCPP = main.cpp default: $(TARGET) $(OBJDIR)/minilzo.o: minilzo.c @$(CC) $(CFLAGS) $(INCDIR) -c $< -o $@ @echo compile $< $(OBJDIR)/version.o: version.cpp @$(CC) $(CFLAGS) -D__SVN_VERSION__="$(SVN_VERSION)" -c $< -o $@ @echo compile $< $(OBJDIR)/%.o: %.cpp @echo compile $< @$(CC) $(CFLAGS) $(INCDIR) -c $< -o $@ limit_time: @echo update limit time @python2.7 update_limit_time.py $(TARGET): $(CPPOBJS) $(COBJS) $(MAINOBJ) @echo linking $(TARGET).... @$(CC) $(CFLAGS) $(LIBDIR) $(COBJS) $(CPPOBJS) $(MAINOBJ) $(LIBS) -o $(TARGET) @echo "Moving $(TARGET) to $(GAMEDIR)" @mv $(TARGET) $(GAMEDIR) @echo "All done! Your game file moved to your server directory." 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) 2> /dev/null > Depend sinclude Depend Edit: I do have llcms as shown in this command: root@13:/usr/src/src/game/src # find /usr/local/lib /usr/lib -name 'liblcms.*' /usr/local/lib/liblcms.a /usr/local/lib/liblcms.so /usr/local/lib/liblcms.so.1 /usr/local/lib/liblcms.so.1.0.19 Any help is appreciated !
  12. Hi Community, When creating a character im getting the error "Can't create character". When creating a character the first time after a server reboot it works with no error. But if i want to create another character i get the error "Can't create character". If i keep trying to create the same character with the same name, eventually it works. It appears that in the Syslog when i get the error the HEADER_GD_PLAYER_CREATE is empty and when it succeeds its with a "PlayerCreate accountid". This is Syslog from DB: In DB Syserr i only get this: Could someone please help and maybe tell me where to look or know the fix ?
  13. I honelty forgot since its been so long. Download Insurgent2 Serverfiles and look for the fix. find where the function for the gm logo and yellow text is and add an if statement to show as normal player for isVIP
  14. How can i make so that the kingdom icon doesnt show on VIP players just like on game masters. If you look at the blue kingdom icon you can see a faded vip icon. The system i used is this one [Hidden Content];
×
×
  • 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.