PDA

View Full Version : [FIX] fix to antharas dying = d/c?


Digital
12.03.2005, 01:38
thx to jiaqiang, i'll translate it later if needed.

现在我就说一下 我们详细观察小安杀死后我们是在什� �状态退出游戏的 是拉近到人物的时候 这个状态退出的 其实只要把这个状态在AI删掉就可以了 这么难吗?
我们找到小安AI里的设置 在最后面有这么一段
handler 10 // MY_DYING
variable_begin
"myself"
"_choiceN"
"_code"
"_from_choice"
variable_end

shift_sp 1
push_event // myself
push_const 28
add
fetch_i // sm
push_const 2400
add
fetch_i
push_const 1200
push_const 20
push_const 10
negate
push_const 0
push_const 10000
push_const 13000
func_call 181 // func[SpecialCamera]
shift_sp -7
shift_sp -1
shift_sp 1
push_event // myself
push_const 28
add
fetch_i // sm
push_const 2400
add
fetch_i
push_const 0
func_call 68 // func[SetDBValue]
shift_sp -2
shift_sp -1
shift_sp 1
push_parameter GM_ID
func_call 32 // func[UnregisterGlobalMap]
shift_sp -1
shift_sp -1
handler_end
把他删了就可以了 大家可以测试一下

下面介绍一下石化巴温召唤出巴温的� �法(并不完美)
这个其实在POS里就可以帮我们完成这� �分动作 要做的更加精细 当然要AI配合
先说一思路石化巴温(baium_npc)我们� �以设置成非常脆弱 就是一个我们要利用对象 你可以把他的攻击 防御 HP MP 设置成1 呵呵 总之一刀把他挂了就行了 让他死后召唤出baium 以下是我在细语做的一个测试:
territory_begin [cs_25_21] {{95381;219544;-3760;-3636};{94736;219514;-3760;-3636};{94953;218506;-3760;-3636};{95881;218911;-3720;-3636}} territory_end
npcmaker_begin [cs_25_21] initial_spawn=all maximum_npc=2
npc_begin [baium_npc] pos={94906;216400;-3760;0} on_delete_create(1sec,{[baium]}) total=1 respawn=6hour respawn_rand=2hour npc_end
npc_begin [baium] nickname=[baium] pos={94906;216400;-3760;0} total=1 respawn=no npc_end
npcmaker_end

睡觉了 累死了

Pluton
14.03.2005, 15:49
Can you translate it plz? Coz I've summoned Zaken, Archangel, Range Golem on C1 server. They work properly with animations sound and etc. but when I try to summon Baium, I see him (his legs ;) ) for a moment and then game crushes with an error (I'll post it later).

Digital
19.03.2005, 23:52
more clippings
- but solves antharas dying bug

我也是一个长期潜水的人...技术不如� �家,只好公布一点自己能力以内的小方 法,希望大家喜欢!!

其实我是看了 jiaqing 的说明才得到的答案!再这里要感谢 jiaqing 提供的说明!

其实,问题就是AI.OBJ里面的这个!!

func_call 181 // func[SpecialCamera] <-------懂英文的应该明白这个叫[超级镜头] 其实就是[特写镜头]!!!

这个发动的理论就是当程序进行到这� �时,开始调用这个定义.给于一个镜头� �写!小安出现的时候大家一定都看见过 ,死亡以后也有一段这样的画面,其实问 题就在这里了!

在AI.OBJ里面.好象一共是4个地方,基本� �是围绕BOSS展开的设置,只需要删除掉� �个定义就可以了,不用删除其他的执行 脚本!

我这个是删除的,可能不是非常的完美, 毕竟没有了小安出现时的壮观景象,只� ��望我的方法对大家有用!!

torrentpimp
29.03.2005, 16:21
translation?

Digital
30.03.2005, 03:17
simple translation...
if ya using c1.. no problem
c2 = d/c when antharas die
so if ya using c2.. remove the line in ai.obj
func_call 181 // func[SpecialCamera]
and u'll be fine

torrentpimp
30.03.2005, 03:44
thnx :)

Stazis
01.04.2005, 10:50
So - C2 Client can't make SpecialCamera effect or just ID is changed for that?

Or protocol specification for that is wrong?

Any ideas? Is it needed indeed?

nemeek
30.05.2005, 00:53
all lines that says func_call 181 // func[SpecialCamera] ????

or only first line that contain func_call 181 // func[SpecialCamera] ???


thx

paul
30.05.2005, 01:57
Well what I figure is its gotta be another function call for the special camera, as I highly doubt they'd of removed it from c2.

Digital
30.05.2005, 03:49
highly possible they'd have change the packet number or packet structure for it.. havent had time to look into it