Jump to content

serverkid

Members
  • Content Count

    48
  • Joined

  • Last visited

Posts posted by serverkid


  1. will this make the vendor immune to monster's attacks?

     

     

    case MC_VENDING:
    if (sd) {
    //Prevent vending of GMs with unnecessary Level to trade/drop. [skotlex]
    if ( !pc_can_give_items(sd) )
    clif->skill_fail(sd,skill_id,USESKILL_FAIL_LEVEL,0);
    else {
    sd->state.prevend = sd->state.workinprogress = 3;
    sd->state.monster_ignore = 1;  //will this work?
    clif->openvendingreq(sd,2+skill_lv);
    }
    }
    break;

  2. how to install debuginfos to see full stacktrace.

     

     

    (gdb) bt full#0  0x00000000004b5468 in skill_cell_overlap ()No symbol table info available.#1  0x00000000005995c4 in bl_vforeach.114343 ()No symbol table info available.#2  0x000000000057592d in map_vforeachincell ()No symbol table info available.#3  0x00000000005759fb in map_foreachincell ()No symbol table info available.#4  0x00000000004972ba in skill_castend_pos2.part.25.192696 ()No symbol table info available.#5  0x00000000004a9b0a in skill_castend_pos2 ()No symbol table info available.#6  0x00000000004a911c in skill_castend_pos ()No symbol table info available.#7  0x00000000004130f6 in do_timer.3198 ()No symbol table info available.#8  0x0000000000405a94 in main ()No symbol table info available.

  3. is there a way to get people on waiting room? something like this:

     

     

    arlandria,150,129,1	script	test#npc1111	81,{end;OnInit:	waitingroom "Test NPC",2,"test#npc1111::OnFull",1;	enablewaitingroomevent "test#npc1111";	end; OnFull:	npctalk "Hey, "+strcharinfo(0);	end;}

    would be even better is there is an OnEnter event for waitingroom, so i can screen every people before allowing them inside the waitingroom

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.