Jump to content

rmon

Members
  • Posts

    97
  • Joined

  • Last visited

Everything posted by rmon

  1. (gdb) bt full #0 0x0000555555713475 in mob_dead (md=md@entry=0x5555793e3d74, src=src@entry=0x5555793e3d74, type=<optimized out>) at mob.cpp:3011 item_tmp = {id = 0, nameid = 35077, amount = 0, equip = 0, identify = 1 '\001', refine = 0 '\000', attribute = 0 '\000', card = {0, 0, 0, 0}, option = {{id = 0, value = 0, param = 0 '\000'}, {id = 0, value = 0, param = 0 '\000'}, {id = 0, value = 0, param = 0 '\000'}, {id = 0, value = 0, param = 0 '\000'}, {id = 0, value = 0, param = 0 '\000'}}, expire_time = 0, favorite = 0 '\000', bound = 0 '\000', unique_id = 0, equipSwitch = 0, enchantgrade = 0 '\000'} flag = <optimized out> it = {first = 0, second = std::shared_ptr<s_mob_drop> (use count 1, weak count 0) = {get() = 0x55555a10e310}} __for_range = <optimized out> __for_begin = <optimized out> __for_end = <optimized out> specific = <optimized out> ditem = <optimized out> drop_modifier = 100 mapdrops = std::shared_ptr<s_map_drops> (use count 3, weak count 0) = {get() = 0x555559881e90} map_drop_run = 2 on_instance = false dlist = 0x555563c72960 drop_rate = <optimized out> anymapdrops = <optimized out> status = 0x5555793e41e8 sd = <optimized out> tmpsd = {0x5555aed4f150, 0x0 <repeats 29 times>} mvp_sd = <optimized out> second_sd = <optimized out> third_sd = <optimized out> pt = {{p = 0x5555af5df394, id = 0, zeny = 0, base_exp = 0, job_exp = 0}, {p = 0x0, id = 0, zeny = 0, base_exp = 0, job_exp = 0} <repeats 29 times>} i = <optimized out> temp = <optimized out> count = <optimized out> m = 78 dmgbltypes = <optimized out> mvp_damage = <optimized out> tick = 66734893 rebirth = <optimized out> homkillonly = <optimized out> merckillonly = false #1 0x00005555558eb57d in status_damage (src=src@entry=0x5555793e3d74, target=target@entry=0x5555793e3d74, dhp=<optimized out>, dsp=dsp@entry=0, dap=dap@entry=0, walkdelay=walkdelay@entry=0, flag=<optimized out>, skill_id=173) at status.cpp:1577 status = 0x5555793e41e8 sc = 0x5555793e426c hp = <optimized out> sp = <optimized out> ap = <optimized out> __FUNCTION__ = "status_damage" #2 0x0000555555892b18 in status_damage (skill_id=<optimized out>, flag=1, walkdelay=0, dsp=0, dhp=<optimized out>, target=0x5555793e3d74, src=0x5555793e3d74) at /home/debian/rathena/src/map/status.hpp:3310 No locals. #3 skill_castend_nodamage_id (src=0x5555793e3d74, bl=0x5555793e3d74, skill_id=<optimized out>, skill_lv=<optimized out>, tick=66734882, flag=0) at skill.cpp:8852 sd = <optimized out> dstsd = <optimized out> md = <optimized out> dstmd = 0x5555793e3d74 hd = <optimized out> mer = 0x0 sstatus = <optimized out> tstatus = <optimized out> tsc = <optimized out> tsce = <optimized out> i = <optimized out> type = <optimized out> __FUNCTION__ = "skill_castend_nodamage_id" sc = <optimized out> #4 0x00005555558baf76 in skill_castend_id (tid=<optimized out>, tick=66734882, id=<optimized out>, data=<optimized out>) at skill.cpp:13486 fail = <optimized out> res = <optimized out> target = <optimized out> src = 0x5555793e3d74 sd = <optimized out> md = 0x5555793e3d74 ud = <optimized out> flag = 0 sc = 0x5555793e426c #5 0x0000555555916ea4 in do_timer (tick=<optimized out>) at timer.cpp:373 tid = <optimized out> diff = <optimized out> __FUNCTION__ = "do_timer" #6 0x00005555559129c8 in rathena::server_core::Core::start (this=this@entry=0x7fffffffe370, argc=1, argv=0x7fffffffe4a8) at core.cpp:389 next = <optimized out> #7 0x0000555555593fb9 in main_core<rathena::server_map::MapServer> (argv=<optimized out>, argc=<optimized out>) at ../common/core.hpp:102 server = {<rathena::server_core::Core> = {_vptr.Core = 0x555555a9b170 <vtable for rathena::server_map::MapServer+16>, m_status = rathena::server_core::e_core_status::RUNNING, m_type = rathena::server_core::e_core_type::MAP, m_run_once = false, m_crashed = false}, <No data fields>} server = <optimized out> --Type <RET> for more, q to quit, c to continue without paging--[Status]: Request for connection of icgamelo1 (ip: xx.xxx.xxx.xxx) ret #8 main (argc=<optimized out>, argv=<optimized out>) at map.cpp:5380 No locals. I got this gdb logs after the crash, looks like something is wrong for this line of code + if(it.second->direct_inventory) + { + if(!pet_create_egg(sd,it.second->nameid)) + { + struct item item_tmp = {}; + item_tmp.nameid=it.second->nameid; + item_tmp.identify=1; + + if((flag=pc_additem(sd,&item_tmp,1,LOG_TYPE_SCRIPT))){ + clif_additem(sd,0,0,flag); + map_addflooritem(&item_tmp,1,sd->bl.m,sd->bl.x,sd->bl.y,0,0,0,0,0); + } + } + } + else + { + // 'Cheat' for autoloot command: rate is changed from n/100000 to n/10000 + int32 map_drops_rate = max(1, (it.second->rate / 10)); + std::shared_ptr<s_item_drop> ditem = mob_setdropitem(*it.second, 1, md->mob_id); + mob_item_drop( md, dlist, ditem, 0, map_drops_rate, homkillonly || merckillonly ); + }
  2. the moment you click on the sell button ? not getting the error ?
  3. Hi, Just checking out if you are also receiving this DEBUG message [Debug]: npc_scriptcont: Card Trader (sd->npc_id=111081623) is not 'Unknown NPC' (id=0).
  4. rmon

    H> Card Trader

    Sorry for bumping into old topic, Does anyone else experience this debug issue ? Right after i clicked on sell button [Debug]: npc_scriptcont: Card Trader (sd->npc_id=110889770) is not 'Unknown NPC' (id=0). Any solution ?
  5. Have you tried it ? Also, do you know the exact range of normal cards only ? excluding mini and mvp.
  6. Wow ! 200+ download without a need of support ?
  7. For testing purpose i want to try 1 first. Yes, i'm using 1.1
  8. Hi Everyone, I have a script, which keeps on reconfiguring the mapflag OnBlessingDeactivate: for (.@i = 1; .@i < getarraysize(.battleFlag$); .@i++) setbattleflag(.battleFlag$[.@i],.defaultRate[.@i]); setbattleflag(.battleFlag$[0],.defaultRate[0],true); I notice that everytime it triggers, the punching bag will keep on announcing the same in infinite loop
  9. Also getting the same issue [Error]: buildin_rand: range (0) is too small. No randomness possible. [Warning]: Script command 'rand' returned failure. [Debug]: Source (NPC): AllInOne_RandomOption at prontera (147,171) [Debug]: Source (NPC): AllInOne_RandomOption is located in: npc/custom/costume_enchant.txt //Creating Group id 1 , with Hat items inside. AddGroup(1,2000001,2000002,2000006,2000007,2000023,2000038,2000039,2000040,2000043,2000044,2000045,2000046,2000047,2000048,2000049,2000050,2000053,2000068,2000069,2000070,2000071,2000072,2000073,2000074,2000075,2000076,2000077,2000078,3000006,3000012,3000035,3000037,3000039); //Group id 1 Options AddGroupOption(1,true,true); //Group id 1 Cost AddGroupCost(1,250000,0,0); //Group id 1 ReRoll Cost AddGroupReRollCost(1,500000,50,0); //Group id 1 Chances. AddGroupChance(1,100,30,20,10,5); //Group id 1 Random Option List. AddOpt(1,1,RDMOPT_ADDEXPPERCENT_KILLRACE_ALL,1,100);
  10. Hi, @Hyroshima Getting this error in cliff.cpp
  11. How can i make like this : if compensation is available : "[Rewards Manager]: You got all your Rewards."; If the gepard detected : "[Rewards Manager]: You already claimed the reward"; if all rewards has been claimed : No new Rewards for now.";
  12. Sorry for bumping into an old topic, I just want to ask on how i can add message or dispbottom if gepard is detected. currently on the script there is only if(.@get){message strcharinfo(0),"[Rewards Manager]: You got all your Rewards.";} else{message strcharinfo(0),"[Rewards Manager]: You Don't have any new Rewards for now.";}
  13. Also looking forward for this getting updated to latest rathena would be amazing !
  14. Hi, Sorry for bumping an old topic, i just wanted to ask, instead of making BaseLevel = 999, Maybe we can do something for the below details LEVELAURA = {} LEVELAURA.EF_NONE = -1 LEVELAURA.EF_LEVEL99 = 200 LEVELAURA.EF_LEVEL99_ORB1 = 976 LEVELAURA.EF_LEVEL99_ORB2 = 977 LEVELAURA.EF_LEVEL150 = 978 LEVELAURA.EF_LEVEL150_SUB = 979 LEVELAURA.EF_LEVEL160 = 1022 LEVELAURA.EF_LEVEL160_SUB = 1023 LEVELAURA.EF_LEVEL185 = 1226 LEVELAURA.EF_LEVEL185_SUB = 1227 LEVELAURA.EF_LEVEL4TH = 2275 LEVELAURA.EF_LEVEL4TH_SUB = 2276 Level99AuraTable = { Default99LvAura = LEVELAURA.EF_LEVEL99, Default99LvAura_sub = LEVELAURA.EF_LEVEL99_ORB1, Baby99LvAura = LEVELAURA.EF_LEVEL99, Baby99LvAura_sub = LEVELAURA.EF_LEVEL99_ORB2, SecondHigh99LvAura = 0, SecondHigh99LvAura_sub = 0, Homun99LvAura = 0, Homun99LvAura_sub = 0, Boss99LvAura_sub = LEVELAURA.EF_LEVEL99_ORB1 } MaxLevelAuraTable = { Default150LvAura = LEVELAURA.EF_LEVEL150, Default150LvAura_sub = LEVELAURA.EF_LEVEL150_SUB, Default160LvAura = LEVELAURA.EF_LEVEL185, Default160LvAura_sub = LEVELAURA.EF_LEVEL185_SUB, Default185LvAura = LEVELAURA.EF_LEVEL185, Default185LvAura_sub = LEVELAURA.EF_LEVEL185_SUB, MaxLevelEffect4th = LEVELAURA.EF_LEVEL4TH, MaxLevelEffect4th_sub = LEVELAURA.EF_LEVEL4TH_SUB, UpperJobMaxLvAura = LEVELAURA.EF_LEVEL185, UpperJobMaxLvAura_sub = LEVELAURA.EF_LEVEL185_SUB, HomunMaxLvAura = LEVELAURA.EF_LEVEL4TH, HomunMaxLvAura_sub = LEVELAURA.EF_LEVEL4TH_SUB }
  15. @pajodex I also encounter the same everytime the npctalk its giving clif_send error Also im using txt for mob and not in sql, the script tries to query from sql instead of mob_db.yml
  16. @BeWan Im trying to use the script, when i try to sell item id ( 2504 ) it shows me Items to sell: ------------------------------ (none)
  17. When i clicked on cancel, its giving me this error
  18. Hi Vykimo, Any chance of updating this for latest rathena ?
  19. Thank you so much i will try this does it include also for blacksmith skill ?
  20. Tried adding pvpnopart and pvpnoguild but i still can't hit guildmember and partymember setarray .@mapflag, mf_nobranch, mf_nomemo, mf_nopenalty, mf_nosave, mf_noteleport, mf_nowarp, mf_nowarpto, mf_noicewall, mf_pvp_noguild, mf_pvp_noparty, mf_noreturn;
  21. if you change 25 to 50 , what will happen to physical attack % it now it should be 50% each card ?
×
×
  • Create New...