Jump to content
metin2dev

Search the Community

Showing results for tags 'solved'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Community
    • Announcements
    • Feedback
  • Metin2
    • General
    • Questions and Answers
    • Guides & HowTo
    • Design
    • Private Servers
    • Services
    • Videos
  • Releases
    • General
    • Tools
    • Programming / Scripts
    • Quests
    • Binaries & Clients/Serverfiles
    • 3D Models
    • 2D Graphics
    • Operating Systems
  • Safe Zone
    • Offtopic
    • Games Talk
    • Music/Videos/Art

Categories

There are no results to display.

There are no results to display.


Found 206 results

  1. solved Inventory problem

    Hello, metin2dev I came here with 2 problems that i have with my inventory. 1.I'm trying to delete de sidebar but i can't find the files, inventorywindow looks normal, i have some lines in uiinventory but if i delete them my client doesnt start. 2. I have 4 inventory pages but in game i have only 2. inventorywindow.py uiinventory.py
  2. solved Cube percentage

    Hey, Can someone tell me how to implement the percentage view in the client like that in the picture? (The 100% at the bottom)
  3. I want to get the number of slots available for the pet's skills and I did this: In New_PetSystem.cpp I searched: CNewPetActor::CNewPetActor(LPCHARACTER owner, DWORD vnum, DWORD options) I added inside: m_dwgetskillcount = 0; somewhere I added this: void CNewPetActor::GetSkillCount() { if (m_dwskillslot[0] > -1 && m_dwskillslot[1] == -1 && m_dwskillslot[2] == -1) m_dwgetskillcount = 1; else if (m_dwskillslot[0] > -1 && m_dwskillslot[1] > -1 && m_dwskillslot[2] == -1) m_dwgetskillcount = 2; else if (m_dwskillslot[0] > -1 && m_dwskillslot[1] > -1 && m_dwskillslot[2] > -1) m_dwgetskillcount = 3; } I searched: void CNewPetActor::UpdateTime() inside of: if (pSummonItem != NULL) i added: pSummonItem->SetForceAttribute(7, 1, m_dwgetskillcount); I searched: void CNewPetActor::Unsummon() { if (true == this->IsSummoned()) i added: pSummonItem->SetForceAttribute(7, 1, m_dwgetskillcount); I searched: DWORD CNewPetActor::Summon(const char* petName, LPITEM pSummonItem, bool bSpawnFar) i added: pSummonItem->SetForceAttribute(7, 1, m_dwgetskillcount); In New_PetSystem.h i added: void GetSkillCount(); and: DWORD m_dwgetskillcount; in char_item.cpp in: if (item->GetVnum() >= 55701 && item->GetVnum() <= 55706) { and in: if (item->GetVnum() == 55002 && item->GetAttributeValue(0) > 0) { i added: item2->SetForceAttribute(7, 1, item->GetAttributeValue(7)); in uitooltip.py i added: getskillcount = (int(attrSlot[7][1])) and: self.AppendTextLine("("+str(getskillslot)+")", self.NORMAL_COLOR) But in the game it is shown as 0, it does not add the value of the attrvalue, but yes of the attrtype Can someone help me please? Is there any other way to obtain the amount of spaces available for the power in the description of the article in uitooltip? Thanks in advance.
  4. Hey, so i click the (?) to see the drops's nothing happens here is the syserr 0214 13:16:47539 :: File "ui.py", line 1344, in CallEvent 0214 13:16:47540 :: File "ui.py", line 87, in __call__ 0214 13:16:47541 :: File "ui.py", line 69, in __call__ 0214 13:16:47541 :: File "uiTarget.py", line 534, in OnPressedInfoButton 0214 13:16:47542 :: File "uiTarget.py", line 139, in Open 0214 13:16:47542 :: File "uiTarget.py", line 163, in __LoadInformation 0214 13:16:47543 :: File "uiTarget.py", line 230, in __LoadInformation_Race 0214 13:16:47543 :: ValueError 0214 13:16:47543 :: : 0214 13:16:47543 :: incomplete format 0214 13:16:47543 :: I see this in some other thread here in metin2dev with same problem and he said the error was -> " the error is the tab in locale_game.txt" But i can't understand what he means from that, here is my locale_game.txt ( target system part ) prntscr.com/iem2yz Anyone want to try help ?
  5. I installed mob drop info system all okay , in server source, client source, and client pack, but i can't see the (?) in the bar to see the mob's drop it is still the same prntscr.com/ie359z No syserr, maybe anyone knows the cause for this ?
  6. solved .

    .
  7. solved .

    .
  8. solved .

    .
  9. solved .

    .
  10. solved .

    .
  11. solved Quest ESC syserr

    Hello community, Today I have encountered a problem with my server and I would like to ask you about the solution. Problem: In the game, if you press the ESC key quickly while any Quest window is open, the server side prints the following SysErr; SYSERR: Feb 6 02:17:45 :: Select: wrong QUEST_SELECT request! : 10002 void CQuestManager::Select(unsigned int pc, unsigned int selection) { PC* pPC; if ((pPC = GetPC(pc)) && pPC->IsRunning() && pPC->GetRunningQuestState()->suspend_state==SUSPEND_STATE_SELECT) { pPC->SetSendDoneFlag(); if (!pPC->GetRunningQuestState()->chat_scripts.empty()) { // 채팅 이벤트인 경우 // 현재 퀘스트는 어느 퀘스트를 실행할 것인가를 고르는 퀘스트 이므로 // 끝내고 선택된 퀘스트를 실행한다. QuestState& old_qs = *pPC->GetRunningQuestState(); CloseState(old_qs); if (selection >= pPC->GetRunningQuestState()->chat_scripts.size()) { pPC->SetSendDoneFlag(); GotoEndState(old_qs); pPC->EndRunning(); } else { AArgScript* pas = pPC->GetRunningQuestState()->chat_scripts[selection]; ExecuteQuestScript(*pPC, pas->quest_index, pas->state_index, pas->script.GetCode(), pas->script.GetSize()); } } else { // on default pPC->GetRunningQuestState()->args=1; lua_pushnumber(pPC->GetRunningQuestState()->co,selection+1); if (!RunState(*pPC->GetRunningQuestState())) { CloseState(*pPC->GetRunningQuestState()); pPC->EndRunning(); } } } else { sys_err("wrong QUEST_SELECT request! : %d",pc); } }
  12. root@localhost:~ # cd /usr/src/Server/game/src root@localhost:/usr/src/Server/game/src # gmake clean root@localhost:/usr/src/Server/game/src # gmake dep makedepend -f Depend -I../../../Extern/include/boost -I../../../Extern/include/devil -I../../../Extern/include/mysql -I../../../Extern/include/hackshield -I../../../Extern/include/xtrap -I../../../Extern/include -I../../liblua/include -I../../libserverkey -I/usr/include/c++/3.3 -I/usr/include/c++/4.2 -pOBJDIR/ 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 minilzo.c main.cpp test.cpp 2> /dev/null > Depend root@localhost:/usr/src/Server/game/src # gmake -j20 compile BattleArena.cpp compile FSM.cpp compile MarkConvert.cpp compile MarkImage.cpp g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead compile MarkManager.cpp g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead compile OXEvent.cpp compile TrafficProfiler.cpp g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead compile ani.cpp compile arena.cpp g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead compile banword.cpp compile battle.cpp compile blend_item.cpp g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead compile buffer_manager.cpp compile block_country.cpp g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead compile building.cpp g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead compile castle.cpp compile char.cpp g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead compile char_affect.cpp g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead compile char_battle.cpp g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead compile char_change_empire.cpp g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead compile char_horse.cpp g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead compile char_item.cpp compile char_manager.cpp compile char_quickslot.cpp g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead compile char_resist.cpp g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead compile char_skill.cpp compile char_state.cpp g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead ^Cgmake: *** Deleting file 'OBJDIR/char_quickslot.o' gmake: *** Deleting file 'OBJDIR/char_manager.o' gmake: *** Deleting file 'OBJDIR/char_item.o' gmake: *** Deleting file 'OBJDIR/char_horse.o' gmake: *** Deleting file 'OBJDIR/char_change_empire.o' gmake: *** Deleting file 'OBJDIR/char_battle.o' gmake: *** Deleting file 'OBJDIR/char_affect.o' gmake: *** Deleting file 'OBJDIR/char.o' gmake: *** Deleting file 'OBJDIR/castle.o' gmake: *** Deleting file 'OBJDIR/building.o' gmake: *** Deleting file 'OBJDIR/battle.o' gmake: *** Deleting file 'OBJDIR/banword.o' gmake: *** Deleting file 'OBJDIR/arena.o' gmake: *** Deleting file 'OBJDIR/ani.o' gmake: *** Deleting file 'OBJDIR/OXEvent.o' gmake: *** Deleting file 'OBJDIR/MarkManager.o' gmake: *** Deleting file 'OBJDIR/BattleArena.o' gmake: *** [Makefile:119: OBJDIR/char_state.o] Interrupt gmake: *** [Makefile:119: OBJDIR/char_skill.o] Interrupt gmake: *** [Makefile:119: OBJDIR/char_resist.o] Interrupt gmake: *** [Makefile:119: OBJDIR/char_battle.o] Interrupt gmake: *** [Makefile:119: OBJDIR/castle.o] Interrupt gmake: *** [Makefile:119: OBJDIR/battle.o] Interrupt gmake: *** [Makefile:119: OBJDIR/banword.o] Interrupt gmake: *** [Makefile:119: OBJDIR/MarkManager.o] Interrupt gmake: *** [Makefile:119: OBJDIR/BattleArena.o] Interrupt gmake: *** [Makefile:119: OBJDIR/ani.o] Interrupt gmake: *** [Makefile:119: OBJDIR/OXEvent.o] Interrupt gmake: *** [Makefile:119: OBJDIR/arena.o] Interrupt gmake: *** [Makefile:119: OBJDIR/char_horse.o] Interrupt gmake: *** [Makefile:119: OBJDIR/char_item.o] Interrupt gmake: *** [Makefile:119: OBJDIR/char_change_empire.o] Interrupt gmake: *** [Makefile:119: OBJDIR/char_quickslot.o] Interrupt gmake: *** [Makefile:119: OBJDIR/char_affect.o] Interrupt gmake: *** [Makefile:119: OBJDIR/char_manager.o] Interrupt gmake: *** [Makefile:119: OBJDIR/char.o] Interrupt gmake: *** [Makefile:119: OBJDIR/building.o] Interrupt I try compile source on FreeBSD 10.3 32 Bit, but i get these error. okey i solve this problem myself again try navigate Server folder to desktop and create a txt file in Server folder open txt file via Notepad++ use ctrl + h and navigate to button find in files type find what : -mcpu=i686 type: -march=i686 and click replace in files also you need upgrade gcc version to gcc49
  13. SYSERR: Feb 4 12:07:14 :: ChildLoop: AsyncSQL: query failed: Data truncated for column 'size' at row 1 (query: replace into mob_proto (vnum, name, locale_name, type, rank, battle_type, level, size, ai_flag, setRaceFlag, setImmuneFlag, on_click, empire, drop_item, resurrection_vnum, folder, st, dx, ht, iq, damage_min, damage_max, max_hp, regen_cycle, regen_percent, exp, gold_min, gold_max, def, attack_speed, move_speed, aggressive_hp_pct, aggressive_sight, attack_range, polymorph_item, enchant_curse, enchant_slow, enchant_poison, enchant_stun, enchant_critical, enchant_penetrate, resist_sword, resist_twohand, resist_dagger, resist_bell, resist_fan, resist_bow, resist_fire, resist_elect, resist_magic, resist_wind, resist_poison, dam_multiply, summon, drain_sp, skill_vnum0, skill_level0, skill_vnum1, skill_level1, skill_vnum2, skill_level2, skill_vnum3, skill_level3, skill_vnum4, skill_level4, sp_berserk, sp_stoneskin, sp_godspeed, sp_deathblow, sp_revive) values (101, "??", "Yabani Köpek", 0, 0, 0, 1, 0, 0, 1 I get syserr for every mob on db I just installed freebsd 10.3 i386 and mysql 5.6. The game opens without problems, but syserr is printing. *****************UPDATE*********************** I solved the problem myself; Dump the mob_proto file to the desktop and edit with notepad++ Search enum and replace with set Problem was fixed permenantly
  14. Hey guys, i have a problem when slowing mobs. I got this effect: (Only on Mobs!)
  15. #Edit: solved.
  16. Hello, I tried to add feature like "IP Login". It locks your IP and you can not login using different IP adress. I tried to write this code: char ip; char query[1024]; snprintf(query, sizeof(query),"SELECT ip FROM account.ip_login WHERE ip = '%s' AND login = '%s'", inet_ntoa(d->GetAddr().sin_addr), login); std::auto_ptr<SQLMsg> execquery(DBManager::instance().DirectQuery(query)); MYSQL_ROW row = mysql_fetch_row(execquery->Get()->pSQLResult); str_to_number(ip, row[0]); if (ip != '0' && execquery->Get()->uiNumRows < 1) { LoginFailure(d, "IP_MATCH"); return; } But when I run it and try to login, core gets dumped. I have tried a lot of variations of this code. One time I could not login when there were not IP adress in table. (It was recognising IP address, but when I cleared table, I could not login due bad IP) Any solution, please? (I pay 10€ - after solution) Thanks.
  17. solved Surce compile error

    I have error /usr/bin/ld: skipping incompatible ../../libthecore/lib/libthecore.a when searching for -lthecore /usr/bin/ld: cannot find -lthecore MakeFile INCDIR += -I../../../Extern/include INCDIR += -I../../../Extern/include/mysql INCDIR += -I../../../Extern/include/devil INCDIR += -I../../../Extern/include/boost INCDIR += -I../../../Extern/include/liblua LIBDIR += -L../../../Extern/lib LIBDIR += -L../../libthecore/lib -L../../libpoly -L../../libsql -L../../libgame/lib -L../../liblua/lib LIBS += -lthecore -lpoly -llua -llualib -lsql -lgame -lssl -lcryptopp -lmysqlclient -lz -lIL -lpng -ltiff -lmng -llcms -ljpeg -pthread -lm -lmd And dirrectory libthecore/lib/libthecore.a file compile How did repair. All libs replaced if i gmake all in surce dirrectory how disabled.
  18. hi dev, how can I move towards the front, try but I can only move it up and down
  19. Hi guys, In the tooltip of the enchanted balde skill, the increased attack are showed something like that 0.00f%% not the exact value, but all of the other skills that have increased attack have the exact calie written, so how to I edit this to make it show the value?
  20. Hey, i got a double Map shown after a teleport. I don't really know what it could be. Any Tips where to search ?
  21. Hello guys, I have a problem with transmutation, don't show "icon" of transmutation on items. And if I change look for weapon, don't show wapon transmutated. Sorry for my bad english.
  22. Hello Metin2Dev, i use granny version 2.9 and all models exported by 3d max 2013 with granny version 2.9 cannot see them in game, i don't know what else to do Solved: Wasn't skinned.
×