Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 27.04.2006, 09:18   #1
Ameron
Архивный участник
 
Join Date: May 2005
Posts: 85
Default [Share] Hatchling'n'Strider's auto-food

Here is my small share.
Striders and hatchlings have to eat food when its meal status fall below 55%.
Here is ai, itemdata and skilldata.
Enjoy ! :wink:
Ameron is offline  
Old 27.04.2006, 09:59   #2
2Rain
Архивный участник
 
Join Date: Aug 2005
Posts: 194
Default

Thanx. Lets test...
2Rain is offline  
Old 27.04.2006, 11:07   #3
rar
Архивный участник
 
Join Date: Feb 2006
Posts: 139
Default

thx
rar is offline  
Old 27.04.2006, 11:19   #4
DemonD
Архивный участник
 
Join Date: Mar 2006
Posts: 11
Default

thank you
DemonD is offline  
Old 27.04.2006, 22:37   #5
Eanae
Архивный участник
 
Join Date: Jun 2005
Posts: 262
Default

Nice.
Eanae is offline  
Old 27.04.2006, 22:37   #6
Eanae
Архивный участник
 
Join Date: Jun 2005
Posts: 262
Default

Nice.
Eanae is offline  
Old 28.04.2006, 01:25   #7
wton
Архивный участник
 
Join Date: May 2005
Posts: 463
Default

good ^^ thanks
wton is offline  
Old 28.04.2006, 01:25   #8
wton
Архивный участник
 
Join Date: May 2005
Posts: 463
Default

good ^^ thanks
wton is offline  
Old 28.04.2006, 16:18   #9
Larson
Архивный участник
 
Join Date: Mar 2006
Posts: 43
Default

useful. thnx!
Larson is offline  
Old 28.04.2006, 16:18   #10
Larson
Архивный участник
 
Join Date: Mar 2006
Posts: 43
Default

useful. thnx!
Larson is offline  
Old 28.04.2006, 17:41   #11
toolpunk
Архивный участник
 
Join Date: May 2005
Posts: 2,033
Default

great idea!
it's actually pretty annoying to feed your pets manually...
toolpunk is offline  
Old 28.04.2006, 17:41   #12
toolpunk
Архивный участник
 
Join Date: May 2005
Posts: 2,033
Default

great idea!
it's actually pretty annoying to feed your pets manually...
toolpunk is offline  
Old 29.04.2006, 17:56   #13
lich
Архивный участник
 
Join Date: Jul 2005
Posts: 96
Default

Quote:
Originally Posted by toolpunk
great idea!
it's actually pretty annoying to feed your pets manually...
This is official server idea actually =)
Anyway thanks a lot Ameron, I was too lazy to write it by myself
lich is offline  
Old 29.04.2006, 20:29   #14
Sundh
Архивный участник
 
Join Date: Apr 2005
Posts: 202
Default

all pets on retail auto use food at 50% hp if im correct.
Sundh is offline  
Old 30.04.2006, 00:18   #15
ANRDaemon
Архивный участник
 
Join Date: Feb 2006
Posts: 158
Default

Deluxe Food for strider
When the hunger gauge of a strider reaches 55% or below, its food will be consumed automatically. Food consumption efficiency improves while riding a strider.

Food for strider
When the hunger gauge of a strider reaches 55% or below, its food will be consumed automatically.
ANRDaemon is offline  
Old 30.04.2006, 01:31   #16
Eanae
Архивный участник
 
Join Date: Jun 2005
Posts: 262
Default

PS: this was on 99net.. taking credit for their work?

http://bbs.99nets.com/read.php?tid=384730
Eanae is offline  
Old 04.05.2006, 08:09   #17
Ameron
Архивный участник
 
Join Date: May 2005
Posts: 85
Default

Quote:
Originally Posted by Eanae
PS: this was on 99net.. taking credit for their work?

http://bbs.99nets.com/read.php?tid=384730
It's not copy-paste!
Ameron is offline  
Old 30.06.2006, 04:23   #18
rodier
Архивный участник
 
Join Date: May 2005
Posts: 979
Default

hmm can u re-share your cool share?
rodier is offline  
Old 01.07.2006, 12:39   #19
Duna
Архивный участник
 
Join Date: Aug 2005
Posts: 14
Default

Any re-share ?
Duna is offline  
Old 09.07.2006, 17:59   #20
Eanae
Архивный участник
 
Join Date: Jun 2005
Posts: 262
Default

Code:
class pet_wolf_a : pet_physicalattack
handler 13   // CREATED
  variable_begin
    "myself"
    "_choiceN"
    "_code"
    "_from_choice"
  variable_end

  push_event   // myself
  push_const 28
  add
  fetch_i  
  push_const 2340
  add
  push_reg_sp
  fetch_i
  push_const 1
  assign
  shift_sp -1
  shift_sp 1
  push_const 1
  func_call 53   // func[SetTimerPeriod]
  shift_sp -1
  shift_sp -1
L1
    call_super  
handler_end

handler 11   // TIMER_FIRED
  variable_begin
    "myself"
    "master"
    "meal"          
    "_choiceN"
    "_code"
    "_from_choice"
  variable_end

  push_event   // myself
  push_const 28
  add
  fetch_i  
  push_const 2340
  add
  fetch_i
  push_const 1
  equal
  push_reg_sp
  fetch_i
  branch_false L2  
L1
  push_event   // myself
  push_const 28
  add
  fetch_i  
  push_const 2400
  add
  fetch_i  
  push_const 1720
  add
  fetch_i
  push_event   // myself
  push_const 28
  add
  fetch_i  
  push_const 2400
  add
  fetch_i  
  push_const 1724
  add
  fetch_i
  push_const 55
  mul
  push_const 100
  div
  less_equal
  push_reg_sp
  fetch_i
  branch_false L0
L2  
  push_event   // myself
  push_const 28
  add
  fetch_i  
  push_const 2400
  add
  fetch_i  
  push_const 1720
  add
  fetch_i
  push_event   // myself
  push_const 28
  add
  fetch_i  
  push_const 2400
  add
  fetch_i  
  push_const 1724
  add
  fetch_i
  equal  
  push_reg_sp
  fetch_i
  branch_true L7  
L3
  shift_sp 1
  push_event   // myself
  push_const 28
  add
  fetch_i  
  push_const 2404
  add
  fetch_i
  push_const 2515
  func_call 81   // func[OwnItemCount]
  shift_sp -2
  push_const 0
  greater
  branch_false L0
L4  
  shift_sp 1
  push_event   // myself
  push_const 28
  add
  fetch_i  
  push_const 2404
  add
  fetch_i
  push_const 2515
  push_const 1
  func_call 80   // func[DeleteItem1]
  shift_sp -3
  shift_sp -1
  shift_sp 1
  push_event   // myself
  push_const 28
  add
  fetch_i  
  push_const 2400
  add
  fetch_i
  push_const 524289
  push_const 0
  push_const 1
  push_const 1000000
  func_call 10   // func[AddUseSkillDesire]
  shift_sp -5
  shift_sp -1
  shift_sp 1  
  push_event   // myself
  push_const 28
  add
  fetch_i  
  push_const 2340
  add
  fetch_i
  push_const 2
  equal
  push_reg_sp
  fetch_i
  branch_false L6
L5
  jump L0    
L6    
  push_event   // myself
  push_const 28
  add
  fetch_i  
  push_const 2340
  add
  push_reg_sp
  fetch_i
  push_const 2
  assign
  shift_sp -1
  jump L0  
L7
  push_event   // myself
  push_const 28
  add
  fetch_i  
  push_const 2340
  add
  push_reg_sp
  fetch_i
  push_const 1
  assign
  shift_sp -1
L0
handler_end
class_end

龙马因为有2个饲料类型 我把他写为另1个类 但是流程基本是一样的

调用ITEMCLASSID1=5168 调用的SKILLCLASSID1=537857
ITEMCLASSID2=5169 调用的SKILLCLASSID2=538113


class strider : pet_use_one_skill
handler 13   // CREATED
  variable_begin
    "myself"
    "_choiceN"
    "_code"
    "_from_choice"
  variable_end

  push_event   // myself
  push_const 28
  add
  fetch_i  
  push_const 2340
  add
  push_reg_sp
  fetch_i
  push_const 1
  assign
  shift_sp -1
  shift_sp 1
  push_const 1
  func_call 53   // func[SetTimerPeriod]
  shift_sp -1
  shift_sp -1
L1
    call_super  
handler_end

handler 11   // TIMER_FIRED
  variable_begin
    "myself"
    "master"
    "meal"          
    "_choiceN"
    "_code"
    "_from_choice"
  variable_end

  push_event   // myself
  push_const 28
  add
  fetch_i  
  push_const 2340
  add
  fetch_i
  push_const 1
  equal
  push_reg_sp
  fetch_i
  branch_false L2  
L1
  push_event   // myself
  push_const 28
  add
  fetch_i  
  push_const 2400
  add
  fetch_i  
  push_const 1720
  add
  fetch_i
  push_event   // myself
  push_const 28
  add
  fetch_i  
  push_const 2400
  add
  fetch_i  
  push_const 1724
  add
  fetch_i
  push_const 55
  mul
  push_const 100
  div
  less_equal
  push_reg_sp
  fetch_i
  branch_false L0
L2  
  push_event   // myself
  push_const 28
  add
  fetch_i  
  push_const 2400
  add
  fetch_i  
  push_const 1720
  add
  fetch_i
  push_event   // myself
  push_const 28
  add
  fetch_i   // sm
  push_const 2400
  add
  fetch_i  
  push_const 1724
  add
  fetch_i
  equal  
  push_reg_sp
  fetch_i
  branch_true L7  
L3
  shift_sp 1
  push_event   // myself
  push_const 28
  add
  fetch_i  
  push_const 2404
  add
  fetch_i
  push_const 5168
  func_call 81   // func[OwnItemCount]
  shift_sp -2
  push_const 0
  greater
  branch_false L8
L4  
  shift_sp 1
  push_event   // myself
  push_const 28
  add
  fetch_i  
  push_const 2404
  add
  fetch_i
  push_const 5168
  push_const 1
  func_call 80   // func[DeleteItem1]
  shift_sp -3
  shift_sp -1
  shift_sp 1
  push_event   // myself
  push_const 28
  add
  fetch_i  
  push_const 2400
  add
  fetch_i
  push_const 537857
  push_const 0
  push_const 1
  push_const 1000000
  func_call 10   // func[AddUseSkillDesire]
  shift_sp -5
  shift_sp -1
  shift_sp 1  
  push_event   // myself
  push_const 28
  add
  fetch_i  
  push_const 2340
  add
  fetch_i
  push_const 2
  equal
  push_reg_sp
  fetch_i
  branch_false L6
L5
  jump L0    
L6    
  push_event   // myself
  push_const 28
  add
  fetch_i  
  push_const 2340
  add
  push_reg_sp
  fetch_i
  push_const 2
  assign
  shift_sp -1
  jump L0  
L7
  push_event   // myself
  push_const 28
  add
  fetch_i  
  push_const 2340
  add
  push_reg_sp
  fetch_i
  push_const 1
  assign
  shift_sp -1
  jump L0
L8
  shift_sp 1
  push_event   // myself
  push_const 28
  add
  fetch_i  
  push_const 2404
  add
  fetch_i
  push_const 5169
  func_call 81   // func[OwnItemCount]
  shift_sp -2
  push_const 0
  greater
  branch_false L0  
L9
  shift_sp 1
  push_event   // myself
  push_const 28
  add
  fetch_i  
  push_const 2404
  add
  fetch_i
  push_const 5169
  push_const 1
  func_call 80   // func[DeleteItem1]
  shift_sp -3
  shift_sp -1
  shift_sp 1
  push_event   // myself
  push_const 28
  add
  fetch_i  
  push_const 2400
  add
  fetch_i
  push_const 538113
  push_const 0
  push_const 1
  push_const 1000000
  func_call 10   // func[AddUseSkillDesire]
  shift_sp -5
  shift_sp -1
  shift_sp 1  
  push_event   // myself
  push_const 28
  add
  fetch_i  
  push_const 2340
  add
  fetch_i
  push_const 2
  equal
  push_reg_sp
  fetch_i
  branch_false L11
L10
  jump L0  
L11
  push_event   // myself
  push_const 28
  add
  fetch_i  
  push_const 2340
  add
  push_reg_sp
  fetch_i
  push_const 2
  assign
  shift_sp -1
L0
handler_end
class_end
Couldn't just get it off 99net?
Eanae is offline  
Old 09.07.2006, 20:56   #21
Koner
Архивный участник
 
Join Date: Sep 2005
Posts: 212
Default

Who can re-share this files?
Koner is offline  
Old 09.07.2006, 21:00   #22
dknod
Архивный участник
 
Join Date: Mar 2006
Posts: 82
Default

Quote:
Originally Posted by Koner
Who can re-share this files?
Not sure is it a right one...

Вложения из исходного сообщения (сами файлы в копии отсутствуют):
pets_food_460.rar — 2044 байт
dknod is offline  
Old 09.07.2006, 21:55   #23
Koner
Архивный участник
 
Join Date: Sep 2005
Posts: 212
Default

Quote:
Originally Posted by dknod
Quote:
Originally Posted by Koner
Who can re-share this files?
Not sure is it a right one...
Thx.. I test it now.
Koner is offline  
Old 11.07.2006, 00:30   #24
Eanae
Архивный участник
 
Join Date: Jun 2005
Posts: 262
Default

Quote:
Originally Posted by Koner
Who can re-share this files?
... you must be fucking blind
Eanae is offline  
Old 11.07.2006, 02:56   #25
Koner
Архивный участник
 
Join Date: Sep 2005
Posts: 212
Default

Quote:
Originally Posted by Eanae
Quote:
Originally Posted by Koner
Who can re-share this files?
... you must be fucking blind
hmm....Very nice :|

[ua]Чуешь козлыха, йды ты в дупу.[/ua] :lol:
Koner is offline  
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 18:49.