Jump to content

SøηGøku®

Member
  • Posts

    148
  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by SøηGøku®

  1. If It helps i'll leave my char_item.cpp code for the adding [Hidden Content] Please, someone?
  2. Hi there I'm trying to add the demoniac spirit stone to the gloves. [Hidden Content] When I click yes it gives the error that there is "no free slots" [Hidden Content] I don't know what's there to fix. Can anyone help me please?
  3. Hey guys I leave here the error I get when trying to compile the source. Can anyone help me? I really need it /usr/local/bin/ld: .obj/battle.o: in function `battle_is_attackable(CHARACTER*, CHARACTER*)': /usr/home/Source/Srcs/Server/game/src/battle.cpp:181: undefined reference to `CS hipDefenseManager::CanAttack(CHARACTER*, CHARACTER*)' /usr/local/bin/ld: /usr/home/Source/Srcs/Server/game/src/battle.cpp:184: undefin ed reference to `CShipDefenseManager::IsFakeHydra(unsigned int)' /usr/local/bin/ld: .obj/battle.o: in function `battle_melee_attack(CHARACTER*, C HARACTER*)': /usr/home/Source/Srcs/Server/game/src/battle.cpp:237: undefined reference to `CS hipDefenseManager::IsHydra(unsigned int)' /usr/local/bin/ld: .obj/char.o: in function `CHARACTER::StartRecoveryEvent()': /usr/home/Source/Srcs/Server/game/src/char.cpp:4706: undefined reference to `CSh ipDefenseManager::IsMast(unsigned int)' /usr/local/bin/ld: .obj/char.o: in function `CHARACTER::GetMobAttackRange() cons t': /usr/home/Source/Srcs/Server/game/src/char.cpp:3940: undefined reference to `CSh ipDefenseManager::IsHydra(unsigned int)' /usr/local/bin/ld: /usr/home/Source/Srcs/Server/game/src/char.cpp:3954: undefine d reference to `CShipDefenseManager::IsMinion(unsigned int)' /usr/local/bin/ld: .obj/char_battle.o: in function `CHARACTER::Dead(CHARACTER*, bool)': /usr/home/Source/Srcs/Server/game/src/char_battle.cpp:2630: undefined reference to `CShipDefenseManager::IsDungeon(long)' /usr/local/bin/ld: /usr/home/Source/Srcs/Server/game/src/char_battle.cpp:2631: u ndefined reference to `CShipDefenseManager::OnKill(CHARACTER*, CHARACTER*)' /usr/local/bin/ld: .obj/char_battle.o: in function `CHARACTER::Damage(CHARACTER* , int, EDamageType)': /usr/home/Source/Srcs/Server/game/src/char_battle.cpp:3495: undefined reference to `CShipDefenseManager::IsDungeon(long)' /usr/local/bin/ld: /usr/home/Source/Srcs/Server/game/src/char_battle.cpp:3495: u ndefined reference to `CShipDefenseManager::IsMast(unsigned int)' /usr/local/bin/ld: /usr/home/Source/Srcs/Server/game/src/char_battle.cpp:3499: u ndefined reference to `CShipDefenseManager::BroadcastAllianceHP(CHARACTER*, SECT REE_MAP*)' /usr/local/bin/ld: .obj/char_manager.o: in function `CHARACTER_MANAGER::DestroyC haracter(CHARACTER*)': /usr/home/Source/Srcs/Server/game/src/char_manager.cpp:154: undefined reference to `CShipDefenseManager::OnKill(CHARACTER*, CHARACTER*)' /usr/local/bin/ld: .obj/questlua_shipdefense_mgr.o: in function `quest::ship_def ense_mgr_join(lua_State*)': /usr/home/Source/Srcs/Server/game/src/questlua_shipdefense_mgr.cpp:70: undefined reference to `CShipDefenseManager::Join(CHARACTER*)' /usr/local/bin/ld: .obj/questlua_shipdefense_mgr.o: in function `quest::ship_def ense_mgr_leave(lua_State*)': /usr/home/Source/Srcs/Server/game/src/questlua_shipdefense_mgr.cpp:81: undefined reference to `CShipDefenseManager::Leave(CHARACTER*)' /usr/local/bin/ld: .obj/questlua_shipdefense_mgr.o: in function `quest::ship_def ense_mgr_land(lua_State*)': /usr/home/Source/Srcs/Server/game/src/questlua_shipdefense_mgr.cpp:92: undefined reference to `CShipDefenseManager::Land(CHARACTER*)' /usr/local/bin/ld: .obj/questlua_shipdefense_mgr.o: in function `quest::ship_def ense_mgr_is_created(lua_State*)': /usr/home/Source/Srcs/Server/game/src/questlua_shipdefense_mgr.cpp:103: undefine d reference to `CShipDefenseManager::IsCreated(CHARACTER*)' /usr/local/bin/ld: .obj/questlua_shipdefense_mgr.o: in function `quest::ship_def ense_mgr_is_running(lua_State*)': /usr/home/Source/Srcs/Server/game/src/questlua_shipdefense_mgr.cpp:114: undefine d reference to `CShipDefenseManager::IsRunning(CHARACTER*)' /usr/local/bin/ld: .obj/questlua_shipdefense_mgr.o: in function `quest::ship_def ense_mgr_create(lua_State*)': /usr/home/Source/Srcs/Server/game/src/questlua_shipdefense_mgr.cpp:32: undefined reference to `CShipDefenseManager::Create(CHARACTER*)' /usr/local/bin/ld: .obj/questlua_shipdefense_mgr.o: in function `quest::ship_def ense_mgr_start(lua_State*)': /usr/home/Source/Srcs/Server/game/src/questlua_shipdefense_mgr.cpp:48: undefined reference to `CShipDefenseManager::IsRunning(CHARACTER*)' /usr/local/bin/ld: /usr/home/Source/Srcs/Server/game/src/questlua_shipdefense_mg r.cpp:54: undefined reference to `CShipDefenseManager::Start(CHARACTER*)' /usr/local/bin/ld: .obj/questlua_shipdefense_mgr.o: in function `quest::ship_def ense_mgr_set_alliance_hp_pct(lua_State*)': /usr/home/Source/Srcs/Server/game/src/questlua_shipdefense_mgr.cpp:157: undefine d reference to `CShipDefenseManager::SetAllianceHPPct(CHARACTER*, unsigned char) ' /usr/local/bin/ld: .obj/main.o: in function `main': /usr/home/Source/Srcs/Server/game/src/main.cpp:455: undefined reference to `CShi pDefenseManager::~CShipDefenseManager()' /usr/local/bin/ld: /usr/home/Source/Srcs/Server/game/src/main.cpp:455: undefined reference to `CShipDefenseManager::CShipDefenseManager()' /usr/local/bin/ld: /usr/home/Source/Srcs/Server/game/src/main.cpp:688: undefined reference to `CShipDefenseManager::Destroy()' /usr/local/bin/ld: /usr/home/Source/Srcs/Server/game/src/main.cpp:455: undefined reference to `CShipDefenseManager::~CShipDefenseManager()' collect2: error: ld returned 1 exit status gmake[1]: *** [Makefile:358: ../game_r41358] Error 1 gmake[1]: Leaving directory '/usr/home/Source/Srcs/Server/game/src' gmake: *** [Makefile:122: all] Error 2 Please
  4. Hi guys, It's giving me this error when I try to compile my source. Don't know how to solve it. [Hidden Content] This is the code [Hidden Content] Please, I really need help Best Regards
  5. Thank you. It helped me ^^ But now gives me this error...
  6. Hey guys, I was trying to add the new bonuses of Sung Ma on the client. This is my uitooltip.py code: and this is my syserr: What did i do wrong? Can anyone help me? Thank you
  7. How do i choose what atributtes will come out in the 6 and 7 add's?
  8. Hey guys. I'm having this error compiling my source. Can anyone help me? This is my MakeFile from game GAME_VERSION = $(shell cat ../../__REVISION__) CC = g++49 INCDIR = LIBDIR = BINDIR = ../../bin/release OBJDIR = ../../bin/objdir/game SRV_DIR = /usr/home/game $(shell if [ ! -d $(OBJDIR) ]; then mkdir $(OBJDIR); fi) # Standard Setting LIBS = -pthread -lm -lmd # Removed -fno-rtti CFLAGS = -g -Wall -O3 -m32 -w -pipe -fexceptions -D_THREAD_SAFE -DNDEBUG -D__USER__=\"$(USER)\" -D__HOSTNAME__=\"$(HOSTNAME)\" -D__PWD__=\"$(PWD)\" -D__GAME_VERSION__=\"$(GAME_VERSION)\" CFLAGS += -mtune=i686 -fstack-protector-all -std=c++11 # boost INCDIR += -I../../../Extern/include/boost # DevIL INCDIR += -I../../libdevil LIBDIR += -L../../libdevil LIBS += -lIL -lpng -ltiff -lmng -llcms -ljpeg ############# mysql libs and includes INCDIR += -I../../libmysql/7.x-5.1.35 LIBDIR += -L../../libmysql/7.x-5.1.35 LIBS += -lmysqlclient -lz -lm -lmd # Miscellaneous external libraries INCDIR += -I../../../Extern/include LIBDIR += -L../../../Extern/lib LIBS += -lcryptopp # openssl #INCDIR += -I/usr/include LIBS += -lssl ############# libsql libs and includes INCDIR += -I../../libsql LIBDIR += -L../../libsql LIBS += -lsql -pthread # Project Library INCDIR += -I../../liblua/include INCDIR += -I/usr/local/include LIBDIR += -L../../libthecore/lib -L../../libpoly -L../../libsql -L../../libgame/lib -L../../liblua/lib LIBDIR += -L/usr/local/lib LIBS += -lthecore -lpoly -llua -llualib -lsql -lgame -lanticpxsvr USE_STACKTRACE = 0 ifeq ($(USE_STACKTRACE), 1) LIBS += /usr/local/lib/libexecinfo.a endif 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 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_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 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 TempleOchao.cpp questlua_TempleOchao.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 threeway_war.cpp map_location.cpp\ BlueDragon.cpp BlueDragon_Binder.cpp DragonLair.cpp questlua_dragonlair.cpp skill_power.cpp affect.cpp\ FileMonitor_FreeBSD.cpp ClientPackageCryptInfo.cpp cipher.cpp\ buff_on_attributes.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 questlua_mysql.cpp char_cards.cpp char_gaya.cpp\ game_events.cpp event_manager.cpp support_shaman.cpp questlua_supportshaman.cpp item_combination.cpp profile.cpp\ auto_event_manager.cpp AutoNotice.cpp char_keyboard.cpp char_mailbox.cpp ip_security.cpp event_drop.cpp mob_drop_manager.cpp\ New_PetSystem.cpp questlua_petnew.cpp char_aura.cpp blood_dungeon.cpp rebirth.cpp boss_tracking.cpp PetSystemRenewal.cpp PetManager.cpp\ nearby_scanner.cpp title.cpp main.cpp\ COBJS = $(CFILE:%.c=$(OBJDIR)/%.o) CPPOBJS = $(CPPFILE:%.cpp=$(OBJDIR)/%.o) TARGET = $(BINDIR)/game_r$(GAME_VERSION) TARGET_STRIPPED = $(BINDIR)/game_r$(GAME_VERSION)_stripped default: $(TARGET) $(TARGET_STRIPPED) $(OBJDIR)/minilzo.o: minilzo.c @$(CC) $(CFLAGS) $(INCDIR) -c $< -o $@ @echo Compile: $< $(OBJDIR)/%.o: %.cpp @echo -e "\033[0;32m [NeverMindz] \033[0m \033[0;33m Servefiles Premium\033[0m" $< @$(CC) $(CFLAGS) $(INCDIR) -c $< -o $@ $(TARGET): $(CPPOBJS) $(COBJS) @echo linking $(TARGET).... @$(CC) $(CFLAGS) $(LIBDIR) $(COBJS) $(CPPOBJS) $(LIBS) -o $(TARGET) $(TARGET_STRIPPED): $(CPPOBJS) $(COBJS) @echo linking $(TARGET_STRIPPED).... @$(CC) $(CFLAGS) $(LIBDIR) $(COBJS) $(CPPOBJS) $(LIBS) -o $(TARGET_STRIPPED) @strip $(TARGET_STRIPPED) clean: @echo Clean done! @find . -type f | xargs -n 5 touch @rm -f $(OBJDIR)/* @rm -f $(BINDIR)/game_r* $(BINDIR)/conv install: rm -rf $(SRV_DIR)/share/bin/game cp $(TARGET) $(SRV_DIR)/share/bin/game install_stripped: rm -rf $(SRV_DIR)/share/bin/game cp $(TARGET_STRIPPED) $(SRV_DIR)/share/bin/game 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) 2> /dev/null > Depend sinclude Depend Pls. I really need help. Best regards.
  9. I did what you said and went like this on: Instance.cpp if (dwEvolution >= 6000) { m_swordRefineEffectRight = EFFECT_REFINED + EFFECT_SWORD_EVOLUTION4; __AttachEffect(m_swordRefineEffectRight2 = EFFECT_REFINED + EFFECT_SWORD_REFINED7 + refine - 7); } else if (dwEvolution >= 4000) { m_swordRefineEffectRight = EFFECT_REFINED + EFFECT_SWORD_EVOLUTION3; __AttachEffect(m_swordRefineEffectRight2 = EFFECT_REFINED + EFFECT_SWORD_REFINED7 + refine - 7); } else if (dwEvolution >= 2000) { m_swordRefineEffectRight = EFFECT_REFINED + EFFECT_SWORD_EVOLUTION2; __AttachEffect(m_swordRefineEffectRight2 = EFFECT_REFINED + EFFECT_SWORD_REFINED7 + refine - 7); } else if (dwEvolution >= 1000) { m_swordRefineEffectRight = EFFECT_REFINED + EFFECT_SWORD_EVOLUTION1; __AttachEffect(m_swordRefineEffectRight2 = EFFECT_REFINED + EFFECT_SWORD_REFINED7 + refine - 7); } else m_swordRefineEffectRight = EFFECT_REFINED + EFFECT_SWORD_REFINED7 + refine - 7; And this part: if (m_swordRefineEffectRight) m_swordRefineEffectRight = __AttachEffect(m_swordRefineEffectRight); if (m_swordRefineEffectLeft) m_swordRefineEffectLeft = __AttachEffect(m_swordRefineEffectLeft); if (m_swordRefineEffectRight2) m_swordRefineEffectRight2 = __AttachEffect(m_swordRefineEffectRight2); and this part: if (m_swordRefineEffectRight) m_swordRefineEffectRight = __AttachEffect(m_swordRefineEffectRight); if (m_swordRefineEffectLeft) m_swordRefineEffectLeft = __AttachEffect(m_swordRefineEffectLeft); if (m_swordRefineEffectRight2) m_swordRefineEffectRight2 = __AttachEffect(m_swordRefineEffectRight2); break; On the InstanteBase.h like this: DWORD m_swordRefineEffectRight; DWORD m_swordRefineEffectLeft; DWORD m_armorRefineEffect; DWORD m_swordRefineEffectRight2; The end result is great, but with 1 bug... after i take off the weapon it stays shining without the weapon like this: Any ideas what to fix?
  10. I don't know where in source i have to create m_swordRefineEffectRight2 or I just simply edit that part and its done? Made it this away, Still didn't work m8: if (dwEvolution >= 6000) { m_swordRefineEffectRight = EFFECT_REFINED + EFFECT_SWORD_EVOLUTION4; m_swordRefineEffectRight2 = EFFECT_REFINED + EFFECT_SWORD_REFINED7 + refine - 7; } else if (dwEvolution >= 4000) { m_swordRefineEffectRight = EFFECT_REFINED + EFFECT_SWORD_EVOLUTION3; m_swordRefineEffectRight2 = EFFECT_REFINED + EFFECT_SWORD_REFINED7 + refine - 7; } else if (dwEvolution >= 2000) { m_swordRefineEffectRight = EFFECT_REFINED + EFFECT_SWORD_EVOLUTION2; m_swordRefineEffectRight2 = EFFECT_REFINED + EFFECT_SWORD_REFINED7 + refine - 7; } else if (dwEvolution >= 1000) { m_swordRefineEffectRight = EFFECT_REFINED + EFFECT_SWORD_EVOLUTION1; m_swordRefineEffectRight2 = EFFECT_REFINED + EFFECT_SWORD_REFINED7 + refine - 7; } else m_swordRefineEffectRight = EFFECT_REFINED + EFFECT_SWORD_REFINED7 + refine - 7; } I tried this way like you said, didn't work if (dwEvolution >= 6000) m_swordRefineEffectRight2= EFFECT_REFINED + EFFECT_SWORD_EVOLUTION4; else if (dwEvolution >= 4000) m_swordRefineEffectRight2 = EFFECT_REFINED + EFFECT_SWORD_EVOLUTION3; else if (dwEvolution >= 2000) m_swordRefineEffectRight2 = EFFECT_REFINED + EFFECT_SWORD_EVOLUTION2; else if (dwEvolution >= 1000) m_swordRefineEffectRight2 = EFFECT_REFINED + EFFECT_SWORD_EVOLUTION1;
  11. For me to create that second type don't I need to go to playersettingmodule and add it?
  12. But that won't add 2 shinings on the weapon... that will create a different shinning... This function is adding the normal shining if the parameters above dont apply else m_swordRefineEffectRight = EFFECT_REFINED + EFFECT_SWORD_REFINED7 + refine - 7; Creating a different one won't change anything... I tried this.. but didn't work if (dwEvolution >= 6000) { m_swordRefineEffectRight = EFFECT_REFINED + EFFECT_SWORD_EVOLUTION4; m_swordRefineEffectRight = EFFECT_REFINED + EFFECT_SWORD_REFINED7 + refine - 7; } else if (dwEvolution >= 4000) { m_swordRefineEffectRight = EFFECT_REFINED + EFFECT_SWORD_EVOLUTION3; m_swordRefineEffectRight = EFFECT_REFINED + EFFECT_SWORD_REFINED7 + refine - 7; } else if (dwEvolution >= 2000) { m_swordRefineEffectRight = EFFECT_REFINED + EFFECT_SWORD_EVOLUTION2; m_swordRefineEffectRight = EFFECT_REFINED + EFFECT_SWORD_REFINED7 + refine - 7; } else if (dwEvolution >= 1000) { m_swordRefineEffectRight = EFFECT_REFINED + EFFECT_SWORD_EVOLUTION1; m_swordRefineEffectRight = EFFECT_REFINED + EFFECT_SWORD_REFINED7 + refine - 7; } else m_swordRefineEffectRight = EFFECT_REFINED + EFFECT_SWORD_REFINED7 + refine - 7;
  13. Hi There Guys I have this code if (dwEvolution >= 6000) m_swordRefineEffectRight = EFFECT_REFINED + EFFECT_SWORD_EVOLUTION4; else if (dwEvolution >= 4000) m_swordRefineEffectRight = EFFECT_REFINED + EFFECT_SWORD_EVOLUTION3; else if (dwEvolution >= 2000) m_swordRefineEffectRight = EFFECT_REFINED + EFFECT_SWORD_EVOLUTION2; else if (dwEvolution >= 1000) m_swordRefineEffectRight = EFFECT_REFINED + EFFECT_SWORD_EVOLUTION1; else m_swordRefineEffectRight = EFFECT_REFINED + EFFECT_SWORD_REFINED7 + refine - 7; This code is giving my weapons a shining when reach a certain level of points in evolution. The shining is right on point, but i want both shinings appearing. The normal one +7/+8/+9 + The new one. Can anyone help me in what to change here to that happend? I tried a lot of alternatives but none worked :S Please I really need some help. Thank you. Best Regards.
  14. Hi I'm trying to get the most recent item-proto from Portugal Server - The official one Already unpacked locale_pt sucessfully, but i need he item_proto and mob_proto, anyone can help me? or at least tell me the tool for it? Thank you. Best Regards
×
×
  • 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.