Jump to content

yagokurt

Inactive Member
  • Posts

    168
  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by yagokurt

  1. I did both Denic, and i didnt recompile DB maybe is it. I will try it, thanks. --- EDIT--- Its done denic, was bcuz of i didnt compile DB. Thanks
  2. Ellie something happen after apply it. On characther selection i didnt see any armor or hair. But when i'm ingame i saw then normal and when loggout i saw with the default armor and default hair. Do u have any idea about it? I'm using mainline server / novaline client.
  3. The negative HP is alrdy fixed. Now i just need fix the "Dash" because it reload the AFFECT when i use it.
  4. Thanks Terenzo. and Ellie™, it work for the negative hp after teleport. Now i just need to fix the bug who decrease hp after use "Dash" and mount a horse. In a test i add 50.000 hp in affect and use dash and i only lose this 50.000 nothing more.
  5. Hi, i'm having 2 problems with the source (mainline) 1: When i use "Dash" from warrior or mount a hourse i lose HP 2: When i teleport with higher hp than 32k my hp just become negative (alrdy tryed something i saw on the forum but all hair stop work on game O.O)
  6. Hi i would like share with u guys how to add new mounts to attack and do dmg On game u will need find the pvp.cpp and find switch( pkChr->GetMountVnum() ) { case 0: Then above case 0: u should add the mount id u want like this exemple switch( pkChr->GetMountVnum() ) { case 0: case 19000: case 19001: case 19002: case 19003: Now client side u will need open the file InstanceBase.cpp and find UINT CInstanceBase::SHORSE::GetLevel() { if (m_pkActor) { DWORD mount = m_pkActor->GetRace(); switch (mount) { Then u will add all case and end with a return 3 like this UINT CInstanceBase::SHORSE::GetLevel() { if (m_pkActor) { DWORD mount = m_pkActor->GetRace(); switch (mount) { case 19001: case 19002: case 19003: return 3;
  7. Hi, i found a bug on my game and players can use 6 and 7 bonus on costume itens and then Pacificador help me fix this problem here i will leave the solution for u guys. char_item.cpp Above if (item2->GetAttributeSetIndex() == -1) { ChatPacket(CHAT_TYPE_INFO, LC_TEXT("¼Ó¼ºÀ» º¯°æÇÒ ¼ö ¾ø´Â ¾ÆÀÌÅÛÀÔ´Ï´Ù.")); return false; } add if (item2->GetType() == ITEM_COSTUME) { ChatPacket(CHAT_TYPE_INFO, LC_TEXT("¼Ó¼ºÀ» º¯°æÇÒ ¼ö ¾ø´Â ¾ÆÀÌÅÛÀÔ´Ï´Ù.")); return false; }
  8. Solved but dont understand why this happen. I remove all kill from flame_dungeon and i create a new quest only for then, and it work perfect. Any1 have any idea why this happen? quest kill_flame begin state start begin function level_clear() d.setf("level",0) d.clear_regen() d.purge_area(750000,620000,817400,689400) end function is_flamed(idx) return idx >= 351 * 10000 and idx < (351 + 1) *10000 end when kill with kill_flame.is_flamed(pc.get_map_index()) and npc.get_race() == 8057 and d.getf("level") ==16 begin notice_multiline(gameforge.flame_dungeon._540_notice,d.notice) notice_multiline(gameforge.flame_dungeon._430_notice,d.notice) kill_flame.level_clear() end when kill with kill_flame.is_flamed(d.get_map_index()) and npc.get_race() == 6091 and d.getf("level") ==17 begin notice_multiline(gameforge.flame_dungeon._550_notice,d.notice) notice_multiline(gameforge.flame_dungeon._560_notice,d.notice) server_timer("dungeon_end_timer", 60, d.get_map_index()) kill_flame.level_clear() if party.is_party() then party.setf("flame_dungeon_boss_kill_count", 1) end end when kill with kill_flame.is_flamed(pc.get_map_index()) and npc.get_race() == 6051 and d.getf("level") == 14 begin notice_multiline(gameforge.flame_dungeon._460_notice,d.notice) notice_multiline(gameforge.flame_dungeon._430_notice,d.notice) kill_flame.level_clear() end when kill with flame_dungeon.is_flamed(pc.get_map_index()) and d.getf("level") == 15 begin local i = number(1, 30) if i == 1 then game.drop_item (30330, 1) end end when kill with flame_dungeon.is_flamed(pc.get_map_index()) begin if d.getf("level") == 12 then local i = number(1, 100) if i == 1 then game.drop_item (30329, 1) end end end end end
  9. 6051 exp = 116266 Alrdy made a item with this when 67520.use begin syschat(d.getf('level')) syschat(pc.get_map_index()) end and get this And if i kill a randon mob to test the when from stefano nothing happen. edit and the same happen with this when from deviltower when kill with npc.get_race() == devil_stone1 begin timer("devil_stone1_1", 8) end edit 2 I creat a new quest with only this quest teste_kill begin state start begin when kill with npc.get_race() == 6051 begin d.notice("kill 6051 work") end end end and it worked... Any1 have any sugestion about it?
  10. None work O.O idk why bcuz this when is working perfect. when kill with flame_dungeon.is_flamed(pc.get_map_index()) begin if d.getf("level") == 12 then local i = number(1, 100) if i == 1 then game.drop_item (30329, 1) end end end Dont work too
  11. Hi guys i'm having a big problem with the "kill" in quests. Alrdy try this exemple and dont work in both quest. Nothing happen. I'm having this problem on this 3 dungeon. Azrael. Purgatory and Devil Tower. Game: Vanilla Quest when when kill with flame_dungeon.is_flamed(pc.get_map_index()) and npc.get_race() == 6051 and d.getf("level") == 14 begin notice_multiline(gameforge.flame_dungeon._460_notice,d.notice) notice_multiline(gameforge.flame_dungeon._430_notice,d.notice) flame_dungeon.level_clear() end and this one when 6051.kill with flame_dungeon.is_flamed(pc.get_map_index()) and d.getf("level") == 14 begin notice_multiline(gameforge.flame_dungeon._460_notice,d.notice) notice_multiline(gameforge.flame_dungeon._430_notice,d.notice) flame_dungeon.level_clear() end But this other code work normal. when kill with npc.get_race() == 101 begin notice("Matou 101") end ps: other things with "notice_multiline" work normal, and my translate.lua have this gameforge text.
  12. I found the problem. The problem was on ITEM_ATTR table. Idk why but this table have a "RESIST_DARK" "RESIST_ICE" and "RESIST_EARTH". But checking on wiki from DE, IT, UK this bonus isnt enable on officla and when one of this bonus come it come with wrong name. But if i edit then in a item manual witht the right number like 89 for dark, 88 for earth and 87 for ice they come right. Then i just disable this bonus on item_attr. Alrdy can close.
  13. &nbsp; &nbsp; Problem solved, thanks pacificador.
  14. &amp;nbsp; &amp;nbsp; Hi Sorin. I alrdy have the function on the quest_functions and this is my special_item_group, should i edit ? Group flame_dungeon_ticket_group { Vnum 10033 1 71095 1 1 2 71130 1 1 } edit Alrdy test with this Group flame_dungeon_ticket_group { Vnum 10033 1 71095 1 100 }
  15. &nbsp; &nbsp; Done, sry idk why it change.
  16. Hi, i'm having a error when i try join to purgatory. The error is this syserr: SYSERR: Jun 16 23:07:07 :: RunState: LUA_ERROR: [string &quot;flame_dungeon&quot;]:25: attempt to call global `get_special_item_group' (a nil value) WITH ERRORCODE 1 SYSERR: Jun 16 23:07:07 :: RunState: LUA_STATE: index 1349952704 ref 3 SYSERR: Jun 16 23:07:07 :: WriteRunningStateToSyserr: LUA_ERROR: quest flame_dungeon.run click SYSERR: Jun 16 23:07:13 :: RunState: LUA_ERROR: [string &quot;flame_dungeon&quot;]:25: attempt to call global `get_special_item_group' (a nil value) WITH ERRORCODE 1 SYSERR: Jun 16 23:07:13 :: RunState: LUA_STATE: index 1349952704 ref 3 SYSERR: Jun 16 23:07:13 :: WriteRunningStateToSyserr: LUA_ERROR: quest flame_dungeon.run click SYSERR: Jun 16 23:07:18 :: RunState: LUA_ERROR: [string &quot;flame_dungeon&quot;]:25: attempt to call global `get_special_item_group' (a nil value) WITH ERRORCODE 1 SYSERR: Jun 16 23:07:18 :: RunState: LUA_STATE: index 1349952704 ref 3 SYSERR: Jun 16 23:07:18 :: WriteRunningStateToSyserr: LUA_ERROR: quest flame_dungeon.run click SYSERR: Jun 16 23:07:20 :: RunState: LUA_ERROR: [string &quot;flame_dungeon&quot;]:25: attempt to call global `get_special_item_group' (a nil value) WITH ERRORCODE 1 SYSERR: Jun 16 23:07:20 :: RunState: LUA_STATE: index 1349952704 ref 3 SYSERR: Jun 16 23:07:20 :: WriteRunningStateToSyserr: LUA_ERROR: quest flame_dungeon.run click SYSERR: Jun 16 23:07:24 :: RunState: LUA_ERROR: [string &quot;flame_dungeon&quot;]:25: attempt to call global `get_special_item_group' (a nil value) WITH ERRORCODE 1 SYSERR: Jun 16 23:07:24 :: RunState: LUA_STATE: index 1349952704 ref 3 SYSERR: Jun 16 23:07:24 :: WriteRunningStateToSyserr: LUA_ERROR: quest flame_dungeon.run click I'm using this quest:
  17. &nbsp; &nbsp; Thanks. I rly dont know how i forget it. item_proto.txt for the itens 71051 and 71052 if some1 need. 71051 òØ¡¤Àç°¡ºñ¼­ ITEM_USE USE_SPECIAL 1 ANTI_DROP | ANTI_SELL | ANTI_STACK LOG | STACKABLE NONE NONE 0 0 0 0 0 LIMIT_NONE 0 LIMIT_NONE 0 APPLY_NONE 0 APPLY_NONE 0 APPLY_NONE 0 0 0 0 0 0 0 0 0 0 71052 òØ¡¤Àç°æºñ¼­ ITEM_USE USE_SPECIAL 1 ANTI_DROP | ANTI_SELL | ANTI_STACK LOG | STACKABLE NONE NONE 0 0 0 0 0 LIMIT_NONE 0 LIMIT_NONE 0 APPLY_NONE 0 APPLY_NONE 0 APPLY_NONE 0 0 0 0 0 0 0 0 0 0
  18. Hi guys. I'm having the following problems. Game: Vanilla Client: 40250 Test Client (Inya) 1 Problem: i can add 6/7 on costumes 2 Problem: The 6/7 only can be added/moved on first line of inventary. U can see the 6/7 "shadow" on 5 line of inventory but the yellow mark is on the first line. (SOLVED) 3 Problem: When i try add a diamond in a belt i get the red mark but i can add it anyway. Its just a visual bug.
  19. 1: This is the DB structure havent the mallexp SET FOREIGN_KEY_CHECKS=0; -- ---------------------------- -- Table structure for `item_attr` -- ---------------------------- DROP TABLE IF EXISTS `item_attr`; CREATE TABLE `item_attr` ( `apply` enum('MAX_HP','MAX_SP','CON','INT','STR','DEX','ATT_SPEED','MOV_SPEED','CAST_SPEED','HP_REGEN','SP_REGEN','POISON_PCT','STUN_PCT','SLOW_PCT','CRITICAL_PCT','PENETRATE_PCT','ATTBONUS_HUMAN','ATTBONUS_ANIMAL','ATTBONUS_ORC','ATTBONUS_MILGYO','ATTBONUS_UNDEAD','ATTBONUS_DEVIL','STEAL_HP','STEAL_SP','MANA_BURN_PCT','DAMAGE_SP_RECOVER','BLOCK','DODGE','RESIST_SWORD','RESIST_TWOHAND','RESIST_DAGGER','RESIST_BELL','RESIST_FAN','RESIST_BOW','RESIST_FIRE','RESIST_ELEC','RESIST_MAGIC','RESIST_WIND','REFLECT_MELEE','REFLECT_CURSE','POISON_REDUCE','KILL_SP_RECOVER','EXP_DOUBLE_BONUS','GOLD_DOUBLE_BONUS','ITEM_DROP_BONUS','POTION_BONUS','KILL_HP_RECOVER','IMMUNE_STUN','IMMUNE_SLOW','IMMUNE_FALL','SKILL','BOW_DISTANCE','ATT_GRADE_BONUS','DEF_GRADE_BONUS','MAGIC_ATT_GRADE','MAGIC_DEF_GRADE','CURSE_PCT','MAX_STAMINA','ATT_BONUS_TO_WARRIOR','ATT_BONUS_TO_ASSASSIN','ATT_BONUS_TO_SURA','ATT_BONUS_TO_SHAMAN','NORMAL_HIT_DEFEND_BONUS','SKILL_DEFEND_BONUS','NOUSE1','RESIST_ICE','RESIST_EARTH','RESIST_DARK','NOUSE6','NOUSE7','NOUSE8','NOUSE9','NOUSE10','NOUSE11','NOUSE12','NOUSE13','NOUSE14','RESIST_WARRIOR','RESIST_ASSASSIN','RESIST_SURA','RESIST_SHAMAN') NOT NULL DEFAULT 'MAX_HP', `prob` varchar(100) NOT NULL DEFAULT '', `lv1` varchar(100) NOT NULL DEFAULT '', `lv2` varchar(100) NOT NULL DEFAULT '', `lv3` varchar(100) NOT NULL DEFAULT '', `lv4` varchar(100) NOT NULL DEFAULT '', `lv5` varchar(100) NOT NULL DEFAULT '', `weapon` varchar(100) NOT NULL DEFAULT '', `body` varchar(100) NOT NULL DEFAULT '', `wrist` varchar(100) NOT NULL DEFAULT '', `foots` varchar(100) NOT NULL DEFAULT '', `neck` varchar(100) NOT NULL DEFAULT '', `head` varchar(100) NOT NULL DEFAULT '', `shield` varchar(100) NOT NULL DEFAULT '', `ear` varchar(100) NOT NULL DEFAULT '' ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- ---------------------------- -- Records of item_attr -- ---------------------------- INSERT INTO `item_attr` VALUES ('MAX_HP', '35', '500', '500', '1000', '1500', '2000', '0', '5', '5', '5', '5', '0', '0', '0'); INSERT INTO `item_attr` VALUES ('MAX_SP', '35', '10', '20', '30', '50', '80', '0', '0', '5', '5', '5', '0', '0', '0'); INSERT INTO `item_attr` VALUES ('CON', '11', '2', '4', '6', '8', '12', '5', '0', '0', '0', '0', '0', '5', '0'); INSERT INTO `item_attr` VALUES ('INT', '11', '2', '4', '6', '8', '12', '5', '0', '0', '0', '0', '0', '5', '0'); INSERT INTO `item_attr` VALUES ('STR', '11', '2', '4', '6', '8', '12', '5', '0', '0', '0', '0', '0', '5', '0'); INSERT INTO `item_attr` VALUES ('DEX', '11', '2', '4', '6', '8', '12', '5', '0', '0', '0', '0', '0', '5', '0'); INSERT INTO `item_attr` VALUES ('ATT_SPEED', '8', '1', '2', '3', '5', '8', '0', '0', '0', '5', '0', '5', '0', '0'); INSERT INTO `item_attr` VALUES ('MOV_SPEED', '18', '2', '4', '6', '10', '20', '0', '0', '0', '5', '0', '0', '0', '5'); INSERT INTO `item_attr` VALUES ('CAST_SPEED', '8', '2', '4', '6', '10', '20', '5', '5', '0', '0', '0', '0', '0', '0'); INSERT INTO `item_attr` VALUES ('HP_REGEN', '60', '4', '8', '12', '20', '30', '0', '0', '0', '0', '5', '5', '0', '0'); INSERT INTO `item_attr` VALUES ('SP_REGEN', '60', '4', '8', '12', '20', '30', '0', '0', '0', '0', '5', '5', '0', '0'); INSERT INTO `item_attr` VALUES ('POISON_PCT', '8', '1', '2', '3', '5', '8', '5', '0', '0', '0', '0', '5', '0', '0'); INSERT INTO `item_attr` VALUES ('STUN_PCT', '18', '1', '2', '3', '5', '8', '5', '0', '0', '5', '5', '0', '0', '0'); INSERT INTO `item_attr` VALUES ('SLOW_PCT', '35', '1', '2', '3', '5', '8', '5', '0', '0', '5', '0', '0', '0', '0'); INSERT INTO `item_attr` VALUES ('CRITICAL_PCT', '18', '1', '2', '3', '5', '10', '5', '0', '0', '5', '5', '0', '0', '0'); INSERT INTO `item_attr` VALUES ('PENETRATE_PCT', '30', '1', '2', '3', '5', '10', '5', '0', '5', '0', '5', '0', '0', '0'); INSERT INTO `item_attr` VALUES ('ATTBONUS_HUMAN', '15', '1', '2', '3', '5', '10', '5', '0', '5', '0', '0', '5', '5', '5'); INSERT INTO `item_attr` VALUES ('ATTBONUS_ANIMAL', '35', '2', '4', '6', '10', '20', '5', '0', '5', '0', '0', '5', '5', '5'); INSERT INTO `item_attr` VALUES ('ATTBONUS_ORC', '35', '2', '4', '6', '10', '20', '5', '0', '5', '0', '0', '5', '5', '5'); INSERT INTO `item_attr` VALUES ('ATTBONUS_MILGYO', '35', '2', '4', '6', '10', '20', '5', '0', '5', '0', '0', '5', '5', '5'); INSERT INTO `item_attr` VALUES ('ATTBONUS_UNDEAD', '35', '2', '4', '6', '10', '20', '5', '0', '5', '0', '0', '5', '5', '5'); INSERT INTO `item_attr` VALUES ('ATTBONUS_DEVIL', '35', '2', '4', '6', '10', '20', '5', '0', '5', '0', '0', '5', '5', '5'); INSERT INTO `item_attr` VALUES ('STEAL_HP', '50', '1', '2', '3', '5', '10', '0', '5', '5', '0', '0', '0', '0', '0'); INSERT INTO `item_attr` VALUES ('STEAL_SP', '50', '1', '2', '3', '5', '10', '0', '5', '0', '0', '5', '5', '0', '0'); INSERT INTO `item_attr` VALUES ('MANA_BURN_PCT', '18', '1', '2', '3', '5', '10', '0', '0', '5', '0', '0', '0', '0', '5'); INSERT INTO `item_attr` VALUES ('BLOCK', '10', '2', '4', '6', '10', '15', '0', '0', '0', '0', '0', '0', '5', '0'); INSERT INTO `item_attr` VALUES ('DODGE', '10', '2', '4', '6', '10', '15', '0', '0', '0', '5', '0', '5', '0', '0'); INSERT INTO `item_attr` VALUES ('RESIST_SWORD', '18', '2', '4', '6', '10', '15', '0', '5', '0', '5', '5', '0', '0', '5'); INSERT INTO `item_attr` VALUES ('RESIST_TWOHAND', '18', '2', '4', '6', '10', '15', '0', '5', '0', '5', '5', '0', '0', '5'); INSERT INTO `item_attr` VALUES ('RESIST_DAGGER', '18', '2', '4', '6', '10', '15', '0', '5', '0', '5', '5', '0', '0', '5'); INSERT INTO `item_attr` VALUES ('RESIST_BELL', '18', '2', '4', '6', '10', '15', '0', '5', '0', '5', '5', '0', '0', '5'); INSERT INTO `item_attr` VALUES ('RESIST_FAN', '18', '2', '4', '6', '10', '15', '0', '5', '0', '5', '5', '0', '0', '5'); INSERT INTO `item_attr` VALUES ('RESIST_BOW', '18', '2', '4', '6', '10', '15', '0', '5', '0', '5', '5', '0', '0', '5'); INSERT INTO `item_attr` VALUES ('RESIST_FIRE', '18', '2', '4', '6', '10', '15', '0', '5', '5', '0', '0', '5', '0', '0'); INSERT INTO `item_attr` VALUES ('RESIST_ELEC', '18', '2', '4', '6', '10', '15', '0', '5', '5', '0', '0', '5', '0', '0'); INSERT INTO `item_attr` VALUES ('RESIST_MAGIC', '25', '2', '4', '6', '10', '15', '0', '5', '5', '0', '0', '5', '0', '0'); INSERT INTO `item_attr` VALUES ('RESIST_WIND', '18', '2', '4', '6', '10', '15', '0', '5', '5', '0', '0', '5', '0', '0'); INSERT INTO `item_attr` VALUES ('REFLECT_MELEE', '18', '1', '2', '3', '6', '10', '0', '5', '0', '0', '0', '0', '5', '0'); INSERT INTO `item_attr` VALUES ('POISON_REDUCE', '18', '1', '2', '3', '4', '5', '0', '0', '0', '0', '0', '0', '0', '5'); INSERT INTO `item_attr` VALUES ('EXP_DOUBLE_BONUS', '10', '2', '4', '6', '8', '20', '0', '0', '0', '5', '5', '0', '5', '0'); INSERT INTO `item_attr` VALUES ('GOLD_DOUBLE_BONUS', '10', '2', '4', '6', '8', '20', '0', '0', '0', '5', '5', '0', '5', '0'); INSERT INTO `item_attr` VALUES ('ITEM_DROP_BONUS', '7', '2', '4', '6', '8', '20', '0', '0', '5', '0', '0', '0', '0', '5'); INSERT INTO `item_attr` VALUES ('IMMUNE_STUN', '3', '1', '1', '1', '1', '1', '0', '0', '0', '0', '0', '0', '1', '0'); INSERT INTO `item_attr` VALUES ('IMMUNE_SLOW', '3', '1', '1', '1', '1', '1', '0', '0', '0', '0', '0', '0', '1', '0'); INSERT INTO `item_attr` VALUES ('ATT_GRADE_BONUS', '9', '5', '10', '15', '30', '50', '0', '5', '0', '0', '0', '0', '0', '0'); INSERT INTO `item_attr` VALUES ('RESIST_DARK', '18', '2', '4', '6', '10', '15', '0', '5', '5', '0', '0', '5', '0', '0'); INSERT INTO `item_attr` VALUES ('RESIST_ICE', '18', '2', '4', '6', '10', '15', '0', '5', '5', '0', '0', '5', '0', '0'); INSERT INTO `item_attr` VALUES ('RESIST_EARTH', '18', '2', '4', '6', '10', '15', '0', '5', '5', '0', '0', '5', '0', '0'); 2: Maybe where? 3: Isnt a translate error like u can see on the item table the bonus number is 66 and if u check this is EXP from mall.
  20. My problem isnt that, is i'm getting EXP on armor and i havent it added on my ITEM_ATTR table.
  21. Hi guys, i was testing my new server file and when i was testing the energy system, i try put 2000 HP in a body and then i just notice i get "EXP 10%" and i alrdy checked my item_attr table and havent the bonus and checking on db the item have the bonus number 66 (MALL_EXPBONUS) then isnt a bad translation. Any1 have any idea what i can do to fix it? i'm using the official table from this topic. [Hidden Content] Inventory: DB:
×
×
  • 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.