Форум · Полнота восстановления · Каталог вариантов

[Share] NASC.EXE C1-L2NPC compatible — Xellos — #36540

Сообщение в форуме

Снимок 2006-05-29 11:15 UTC

Имя в снимке: Xellos · Источник Wayback

found two small things that are still wrong/missing,

but good work kvoxi, your NASC is a great help Smile

p_state - wrong offset

original:
  
 [b]PHP:[/b] 

[code] <?php .
    push_event    //  myself
    push_const 28
    add
    fetch_i    //  p_state
    push_const 2308
    add
    fetch_i
.  [/code]

kvoxi mod:
  
 [b]PHP:[/b] 

[code] <?php .
    push_event    //  myself
    push_const 28
    add
    fetch_i    //  p_state
    push_const 2496
    add
    fetch_i
.  [/code]

attack_tick - missing offset

original:
  
 [b]PHP:[/b] 

[code] <?php .
    push_event    //  myself
    push_const 28
    add
    fetch_i    //  attack_tick
    push_const 2356
    add
    push_reg_sp
    fetch_i
    push_const 200
    assign
    shift_sp -1
.  [/code]
 
  
(the sample means: "myself.attack_tick = 200;" found in one of the gludio agit AIs)