Jump to content

  •  

serverkid

Member Since 13 Jul 2013
Offline Last Active Dec 15 2014 02:10 AM
-----

Topics I've Started

modifying vending skill

30 November 2014 - 11:14 AM

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[color=rgb(102,102,0);]->[/color]state[color=rgb(102,102,0);].[/color]monster_ignore [color=rgb(102,102,0);]=[/color] [color=rgb(0,102,102);]1[/color][color=rgb(102,102,0);];  //will this work?[/color]
clif->openvendingreq(sd,2+skill_lv);
}
}
break;

map crash

28 November 2014 - 05:40 PM

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.

autotrade monster ignore not working

26 November 2014 - 04:42 PM

	sd->state.autotrade = 1;	sd->state.monster_ignore = 1;

 

but it wont work.