View Single Post
Old 30.06.2005, 05:59   #86
Kanodin
Архивный участник
 
Join Date: Jun 2005
Posts: 56
Default

EntroX I can understand where the other guy is coming from all SoaPY does is flame people, reminds me of my 14 yr old cousin, talks shit to make himself feel better, nvm I also agree that hongk handled that wrong too... but from what ive seen at RZ all soapy does is flame, so i'll stick with that AFAIK the wild hog cannon is listed as range_golem in the C3 files




Code:
npc_begin     summon     12375     [range_golem]     level=80     exp=485484454     acquire_exp_rate=25.2     undying=0     can_be_attacked=1     acquire_sp=5000     race=humanoid     sex=male     temper=100     safe_height=100     org_jump=15     skill_list={}     magic_list={}     max_item=50     item_make_list={}     corpse_make_list={}     additional_make_list={}     additional_make_multi_list={}     slot_chest=[]     slot_rhand=[]     slot_lhand=[]     base_attack_type=pole     base_can_penetrate=0     base_attack_range=40     base_damage_range={0;0;80;120}     base_rand_dam=7     str=40     int=21     dex=30     wit=20     con=43     men=25     hp_increase=40     mp_increase=7     org_hp_regen=4.5     org_mp_regen=1.8     ground_low={50;0;10}     ground_high={186;-30;30}     underwater_low={50;0;10}     underwater_high={0;0;30}     fly_low={0;0;10}     fly_high={0;-30;30}     float_low={0;0;10}     float_high={0;-30;30}     org_earshot=100     sight={0;0;2500;120;5}     agro_range=1000     org_hp=500000     org_mp=2154     base_defend=837     base_magic_attack=1098     base_magic_defend=1358     base_physical_attack=1256     physical_hit_modify=3.75     physical_avoid_modify=0     base_attack_speed=257     base_reuse_delay=0     base_critical=4     magic_use_speed_modify=0     status={normal}     align=-484     collision_radius=93     collision_height=90     category={}     clan={@lizardman_clan}     clan_help_range=300     guild={}     pledge={}     pledge_leader=0     alliance={}     alliance_leader=0     ignore_clan_list={}     ruler=0     ruling_domain={}     npc_ai={[range_golem]}     corpse_time=7     no_sleep_mode=0     npc_end

NPC_pch

Code:
[range_golem]	=	1012375

AI.OBJ
Code:
class summon_range_golem : default_npc
handler 13     // CREATED
  variable_begin
      "myself"
      "_choiceN"
      "_code"
      "_from_choice"
  variable_end

  shift_sp 1
  push_const xx.xx0000
  func_call 14     // func[AddPetDefaultDesire_Follow]
  shift_sp -1
  shift_sp -1
  shift_sp 1
  push_const 100020
  push_const 1000
  func_call 28     // func[AddTimerEx]
  shift_sp -2
  shift_sp -1
  shift_sp 1
  push_const 100021
  push_const 1000
  push_const 60
  mul
  func_call 28     // func[AddTimerEx]
  shift_sp -2
  shift_sp -1
handler_end

handler 0     // NO_DESIRE
  variable_begin
      "myself"
      "_choiceN"
      "_code"
      "_from_choice"
  variable_end

  shift_sp 1
  push_const xx.xx0000
  func_call 14     // func[AddPetDefaultDesire_Follow]
  shift_sp -1
  shift_sp -1
handler_end

handler 32     // MENU_SELECTED
  variable_begin
      "talker"
      "ask"
      "reply"
      "i0"
      "c0"
      "myself"
      "_choiceN"
      "_code"
      "_from_choice"
  variable_end

  push_event     // i0
  push_const 192
  add
  push_reg_sp
  fetch_i
  push_event     // myself
  push_const 28
  add
  fetch_i     // master
  push_const 2404
  add
  fetch_i     // target_id
  push_const 388
  add
  fetch_i
  assign
  shift_sp -1
  shift_sp 1
  push_const 1082881
  func_call 155     // func[Skill_GetConsumeMP]
  shift_sp -1
  push_event     // myself
  push_const 28
  add
  fetch_i     // sm
  push_const 2400
  add
  fetch_i     // mp
  push_const 352
  add
  fetch_d
  less
  push_reg_sp
  fetch_i
  branch_false L2107
  shift_sp 1
  push_const 1082881
  func_call 154     // func[Skill_GetConsumeHP]
  shift_sp -1
  push_event     // myself
  push_const 28
  add
  fetch_i     // sm
  push_const 2400
  add
  fetch_i     // hp
  push_const 344
  add
  fetch_d
  less
  and
  push_reg_sp
  fetch_i
  branch_false L2107
  shift_sp 1
  push_const 1082881
  func_call 160     // func[Skill_InReuseDelay]
  shift_sp -1
  push_const 0
  equal
  and
L2107
  branch_false L2109
L2108
  shift_sp 1
  push_event     // i0
  push_const 192
  add
  fetch_i
  push_const 1082881
  push_const 0
  push_event     // reply
  push_const 104
  add
  fetch_i
  push_event     // ask
  push_const 100
  add
  fetch_i
  push_const 1000000
  func_call 11     // func[AddUseSkillDesireEx]
  shift_sp -6
  shift_sp -1
L2109
handler_end

handler 12     // TIMER_FIRED_EX
  variable_begin
      "timer_id"
      "myself"
      "_choiceN"
      "_code"
      "_from_choice"
  variable_end

  push_event     // timer_id
  push_const 176
  add
  fetch_i
  push_const 100020
  equal
  branch_false L2111
L2110
  push_event     // myself
  push_const 28
  add
  fetch_i     // master
  push_const 2404
  add
  fetch_i     // alive
  push_const 112
  add
  fetch_i
  push_const 0
  equal
  branch_false L2113
L2112
  shift_sp 1
  func_call 175     // func[Despawn]
  shift_sp -1
L2113
  shift_sp 1
  push_const 100020
  push_const 1000
  func_call 28     // func[AddTimerEx]
  shift_sp -2
  shift_sp -1
L2111
  push_event     // timer_id
  push_const 176
  add
  fetch_i
  push_const 100021
  equal
  branch_false L2115
L2114
  shift_sp 1
  push_event     // myself
  push_const 28
  add
  fetch_i     // master
  push_const 2404
  add
  fetch_i
  push_const 2132
  func_call 81     // func[OwnItemCount]
  shift_sp -2
  push_const 60
  less
  push_reg_sp
  fetch_i
  branch_false L2116
  shift_sp 1
  push_event     // myself
  push_const 28
  add
  fetch_i     // master
  push_const 2404
  add
  fetch_i
  push_const 2132
  func_call 81     // func[OwnItemCount]
  shift_sp -2
  push_const 30
  greater_equal
  and
L2116
  branch_false L2118
L2117
  shift_sp 1
  shift_sp 1
  push_const 1000169
S374.     ""
  push_string S374
S375.     ""
  push_string S375
S376.     ""
  push_string S376
S377.     ""
  push_string S377
S378.     ""
  push_string S378
  func_call 89     // func[MakeFString]
  shift_sp -6
  func_call 37     // func[Say]
  shift_sp -1
  shift_sp -1
L2118
  shift_sp 1
  push_event     // myself
  push_const 28
  add
  fetch_i     // master
  push_const 2404
  add
  fetch_i
  push_const 2132
  func_call 81     // func[OwnItemCount]
  shift_sp -2
  push_const 30
  greater_equal
  branch_false L2120
L2119
  shift_sp 1
  push_event     // myself
  push_const 28
  add
  fetch_i     // master
  push_const 2404
  add
  fetch_i
  push_const 2132
  push_const 30
  func_call 80     // func[DeleteItem1]
  shift_sp -3
  shift_sp -1
  jump L2121
L2120
  shift_sp 1
  func_call 175     // func[Despawn]
  shift_sp -1
L2121
  shift_sp 1
  push_const 100021
  push_const 1000
  push_const 60
  mul
  func_call 28     // func[AddTimerEx]
  shift_sp -2
  shift_sp -1
L2115
handler_end

class_end
Yep it's known as the range golem, btw we got it working on our server as well, L2enraged, this seems to be what you wanted hope it works for you too.
Kanodin is offline