[CF-Devel] Occidental Mages Saber +3 crashes server...

Kevin R. Bulgrien kbulgrien at worldnet.att.net
Wed Sep 4 22:47:02 CDT 2002


Another Occidental Mages weapon does this too...

---

Scripting Weapon wielded

Program received signal SIGSEGV, Segmentation fault.
0x00000000 in ?? ()
(gdb) where
#0  0x00000000 in ?? ()
#1  0x08052134 in attack_ob_simple (op=0x8c72330, hitter=0x8a48160, 
base_dam=16, base_wc=5)
    at attack.c:627
#2  0x0805254b in attack_ob (op=0x8c72330, hitter=0x8a48160) at attack.c:768
#3  0x0807bd24 in do_skill_attack (tmp=0x8c72330, op=0x8a48160, string=0x0) 
at skill_util.c:1476
#4  0x080706f4 in move_player_attack (op=0x8a48160, dir=3) at player.c:1761
#5  0x08070859 in move_player (op=0x8a48160, dir=3) at player.c:1797
#6  0x08059809 in move_internal (op=0x8a48160, params=0x0, dir=3) at 
c_move.c:48
#7  0x08059835 in command_east (op=0x8a48160, params=0x0) at c_move.c:54
#8  0x08059b7a in execute_newserver_command (pl=0x8a48160, command=0xbffff530 
"east") at c_new.c:112
#9  0x080c2cb1 in NewPlayerCmd (buf=0x8a5a45f "", len=10, pl=0x40267008) at 
request.c:347
#10 0x080c1180 in HandleClient (ns=0x4026700c, pl=0x40267008) at loop.c:361
#11 0x080c1891 in doeric_server () at loop.c:611
#12 0x08068f8f in main (argc=1, argv=0xbffff954) at main.c:1156
#13 0x400a4280 in __libc_start_main () from /lib/libc.so.6
(gdb) select-frame 1
(gdb) print *hitter->current_weapon
$1 = {contr = 0x0, next = 0x9119528, prev = 0x9119b18, active_next = 0x0, 
active_prev = 0x0,
  below = 0x8b92900, above = 0x0, inv = 0x0, container = 0x0, env = 
0x8a48160, more = 0x0, head = 0x0,
  map = 0x0, count = 149335, refcount = 0, name = 0x83d5bba "sabre", name_pl 
= 0x83d5bd2 "sabres",
  title = 0x8875d6a "of Occidental Mages", race = 0x0, slaying = 0x0,
  msg = 0x83f65ea "  The Ancient School of Occidental Mages created that 
weapon during\n  the Empire Wars, charging it with their Chaotic Powers.\n", 
x = 0, y = 0, ox = 0, oy = 0, speed = 0,
  speed_left = -0.100000001, casting_speed = 0, nrof = 1, face = 0x81a1944, 
direction = 0 '\000',
  facing = 0 '\000', type = 15 '\017', client_type = 101, resist = {0 
<repeats 25 times>},
  attacktype = 1, path_attuned = 0, path_repelled = 0, path_denied = 0, 
material = 2,
  magic = 3 '\003', thrownthaco = 0 '\000', state = 0 '\000', value = 760, 
level = 0, last_heal = 0,
  last_sp = 8, last_grace = 0, last_eat = 0, invisible = 0, pick_up = 0 
'\000', item_power = 2 '\002',
  gen_sp_armour = 0 '\000', weight = 9450, weight_limit = 0, carrying = 0, 
glow_radius = 0, stats = {
    Str = 0 '\000', Dex = 0 '\000', Con = 0 '\000', Wis = 0 '\000', Cha = 0 
'\000', Int = 0 '\000',
    Pow = 0 '\000', wc = 0 '\000', ac = 0 '\000', hp = 0, maxhp = 0, sp = 0, 
maxsp = 0, grace = 0,
    maxgrace = 0, exp = 0, food = 0, dam = 7, luck = 0 '\000'}, 
current_weapon_script = 0x0,
  current_weapon = 0x0, weapontype = 4, body_info = 
"\000ÿ\000\000\000\000\000\000\000\000\000",
  body_used = "\000ÿ\000\000\000\000\000\000\000\000\000", owner = 0x0, 
ownercount = 0, enemy = 0x0,
  attacked_by = 0x0, attacked_by_count = 4294967295, randomitems = 0x0, 
run_away = 0,
  chosen_skill = 0x0, exp_obj = 0x0, hide = 0, move_status = 0, move_type = 
0, will_apply = 0 '\000',
  spellitem = 0x0, expmul = 1, arch = 0x83d5898, other_arch = 0x0, flags = 
{536870944, 0, 65536, 4},
  animation_id = 0, anim_speed = 0 '\000', last_anim = 0 '\000', elevation = 
0, event_hook = {0x0,
    0x0, 0x83f66e2 "/python/weapon_occidental_mages.py", 0x0 <repeats 27 
times>}, event_plugin = {0x0,
    0x0, 0x83f65d2 "Python", 0x0 <repeats 27 times>}, event_options = {0x0 
<repeats 30 times>}}
(gdb)


    
    


More information about the crossfire mailing list