Jump to content

layfon

Member
  • Posts

    38
  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by layfon

  1. hi everyone, i want to core start with server_timer. when i started server on machine i want start server_loop_timer too. is it possible ? sorry for my bad english
  2. hi, how can i turn cool down effect square to circle ? sorry for bad english
  3. CH3 GDB; (gdb) bt full #0 0x0815c23f in CItem::UpdatePacket () No symbol table info available. #1 0x0815c338 in CItem::SetSocket () No symbol table info available. #2 0x081b699f in quest::item_set_socket () No symbol table info available. #3 0x083de9ba in luaD_precall (L=0x46c61700, func=0x5c007cd8) at ldo.c:260 ci = <value optimized out> n = <value optimized out> funcr = 1543535832 #4 0x083e6786 in luaV_execute (L=0x46c61700) at lvm.c:627 firstResult = <value optimized out> b = <value optimized out> nresults = <value optimized out> i = 117538905 base = 0x5c007c84 ra = 0x5c007cd8 k = (TObject *) 0x2a158780 pc = (const Instruction *) 0x293cd9cc #5 0x083decad in resume (L=0x46c61700, ud=0xffff9994) at ldo.c:344 firstResult = <value optimized out> nargs = <value optimized out> ci = <value optimized out> ---Type <return> to continue, or q <return> to quit---retutn #6 0x083de63b in luaD_rawrunprotected (L=0x46c61700, f=0x83dec80 <resume>, ud=0xffff9994) at ldo.c:88 lj = {previous = 0x0, b = {{_jb = {138274343, 1187387136, -26340, -26264, 1, 1, -60801, 0, 0, 0, 0, 689119488}}}, status = 0} #7 0x083de7db in lua_resume (L=0x46c61700, nargs=0) at ldo.c:371 status = <value optimized out> old_allowhooks = 1 '\001' #8 0x0819d782 in quest::CQuestManager::RunState () No symbol table info available. #9 0x081d0ecb in quest::CQuestManager::ExecuteQuestScript () No symbol table info available. #10 0x081d10e6 in quest::CQuestManager::ExecuteQuestScript () No symbol table info available. #11 0x081e8297 in quest::NPC::MatchingQuest<std::map<unsigned int, std::map<int, quest::AStateScriptType, std::less<int>, std::allocator<std::pair<int const, quest::AStateScriptType> > >, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, std::map<int, quest::AStateScriptType, std::less<int>, std::allocator<std::pair<int const, quest::AStateScriptType> > > > > >, quest::FuncMatchHandleReceiveAllEvent, quest::FuncMissHandleReceiveAllEvent> () No symbol table info available. #12 0x081e4754 in quest::NPC::HandleReceiveAllEvent () No symbol table info available. #13 0x081e5f25 in quest::NPC::OnKill () ---Type <return> to continue, or q <return> to quit---return No symbol table info available. #14 0x081d728d in quest::CQuestManager::Kill () No symbol table info available. #15 0x0808cce6 in CHARACTER::Reward () No symbol table info available. #16 0x0808e441 in CHARACTER::Dead () No symbol table info available. #17 0x0808eebb in CHARACTER::Damage () No symbol table info available. #18 0x0806297e in battle_hit () No symbol table info available. #19 0x08062c00 in battle_melee_attack () No symbol table info available. #20 0x080911e0 in CHARACTER::Attack () No symbol table info available. #21 0x0814daf4 in CInputMain::Attack () No symbol table info available. #22 0x08154635 in CInputMain::Analyze () No symbol table info available. #23 0x0813ca6b in CInputProcessor::Process () No symbol table info available. #24 0x08105713 in DESC::ProcessInput () No symbol table info available. ---Type <return> to continue, or q <return> to quit---return #25 0x082630a4 in io_loop () No symbol table info available. #26 0x08263b01 in idle () No symbol table info available. #27 0x0826516c in main () No symbol table info available. CH1 GDB; (gdb) bt full #0 0x081bf217 in quest::party_set_flag () No symbol table info available. #1 0x083de9ba in luaD_precall (L=0x4089a100, func=0x5bf40eb0) at ldo.c:260 ci = <value optimized out> n = <value optimized out> funcr = 1542721200 #2 0x083e6786 in luaV_execute (L=0x4089a100) at lvm.c:627 firstResult = <value optimized out> b = <value optimized out> nresults = <value optimized out> i = 16875609 base = 0x5bf40ea4 ra = 0x5bf40eb0 k = (TObject *) 0x2a0877c0 pc = (const Instruction *) 0x293ddc98 #3 0x083decad in resume (L=0x4089a100, ud=0xffffa2f4) at ldo.c:344 firstResult = <value optimized out> nargs = <value optimized out> ci = <value optimized out> #4 0x083de63b in luaD_rawrunprotected (L=0x4089a100, f=0x83dec80 <resume>, ud=0xffffa2f4) at ldo.c:88 lj = {previous = 0x0, b = {{_jb = {138274343, 1082761472, -23940, -23864, 1, 1, 1104351871, 0, 0, 0, 0, 1082761472}}}, status = 0} ---Type <return> to continue, or q <return> to quit---return #5 0x083de7db in lua_resume (L=0x4089a100, nargs=0) at ldo.c:371 status = <value optimized out> old_allowhooks = 1 '\001' #6 0x0819d782 in quest::CQuestManager::RunState () No symbol table info available. #7 0x081d0ecb in quest::CQuestManager::ExecuteQuestScript () No symbol table info available. #8 0x081d10e6 in quest::CQuestManager::ExecuteQuestScript () No symbol table info available. #9 0x081e8218 in quest::NPC::MatchingQuest<std::map<unsigned int, std::map<int, quest::AStateScriptType, std::less<int>, std::allocator<std::pair<int const, quest::AStateScriptType> > >, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, std::map<int, quest::AStateScriptType, std::less<int>, std::allocator<std::pair<int const, quest::AStateScriptType> > > > > >, quest::FuncMatchHandleReceiveAllEvent, quest::FuncMissHandleReceiveAllEvent> () No symbol table info available. #10 0x081e4754 in quest::NPC::HandleReceiveAllEvent () No symbol table info available. #11 0x081e487a in quest::NPC::OnServerTimer () No symbol table info available. #12 0x081d7129 in quest::CQuestManager::ServerTimer () No symbol table info available. #13 0x08198e1f in quest::quest_server_timer_event () ---Type <return> to continue, or q <return> to quit---return No symbol table info available. #14 0x0811d368 in event_process () No symbol table info available. #15 0x0826354f in heartbeat () No symbol table info available. #16 0x08263a9f in idle () No symbol table info available. #17 0x0826516c in main () No symbol table info available. How can i fix this ?
  4. #0 0x081bcf21 in quest::npc_get_level () No symbol table info available. #1 0x083de96a in luaD_precall (L=0x65e4e0a0, func=0x65f81b24) at ldo.c:260 ci = <value optimized out> n = <value optimized out> funcr = 1710758692 #2 0x083e6736 in luaV_execute (L=0x65e4e0a0) at lvm.c:627 firstResult = <value optimized out> b = <value optimized out> nresults = <value optimized out> i = 32921 base = 0x65f81b24 ra = 0x65f81b24 k = (TObject *) 0x2a14b800 pc = (const Instruction *) 0x2a14b994 #3 0x083dec5d in resume (L=0x65e4e0a0, ud=0xffff8a64) at ldo.c:344 firstResult = <value optimized out> nargs = <value optimized out> ci = <value optimized out> #4 0x083de5eb in luaD_rawrunprotected (L=0x65e4e0a0, f=0x83dec30 <resume>, ud=0xffff8a64) at ldo.c:88 lj = {previous = 0x0, b = {{_jb = {138274263, 1709498528, -30228, -30152, 1, 1, -60801, 0, 0, 0, 0, 687816960}}}, status = 0} int npc_get_level(lua_State* L) { lua_pushnumber(L, CQuestManager::instance().GetCurrentNPCCharacterPtr()->GetLevel()); return 1; } local o_lv = npc.get_level() local m_lv = pc.get_level() local s_lv = pc.get_skill_level(165) local durum = pc.getqf("beceri_165") local sans = number(0,10) if m_lv - o_lv <= 5 or o_lv - m_lv <= 5 then if sans == 1 then pc.setqf("beceri_165",durum + 1 ) if durum + 1 == 10 and pc.getqf("beceri_165_bitti") == 0 then if s_lv == 20 then pc.setqf("beceri_165_bitti",1) else syschat("Savaşçı Tecrübesi Yeteneğin "..(s_lv+1).." oldu.") pc.setqf("beceri_165",0) pc.set_skill_level(165, s_lv+1) affect.remove_collect(1, (s_lv)*100, 60*60*24*365*10) affect.add_collect(1, (s_lv+1)*100, 60*60*24*365*10) end else syschat("Savaşçı tecrübesi yeteneğinin gelişmesi için "..10-(durum+1).." puana ihtiyacın var.") end end end i have an error this code. How i fix this ?
  5. i know that but i want a use like that . i'm asking how i can do this. add new trigger or something? sorry for bad english
  6. hi everyone, i want a use new quest trigger like "when use begin" (not when xx.use begin). How can i do this?
  7. local kills = mysql_query("SELECT COUNT(*) FROM database.table") local row = table.getn(kills) say("Kill : "..row) try this
×
×
  • 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.