Post Pacific  

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

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 18.09.2006, 14:15   #1
HF
Архивный участник
 
Join Date: Aug 2005
Posts: 1,531
Default

Ok. Good.
Next question

This thread and this
https://postpacific.loc-online.com/f...ead.php?t=5394
have different IDs for some func_call
Where correct func_call list? In Digital list or in this Dknod? (dknod list bigger them Digital)
HF is offline  
Old 18.09.2006, 17:21   #2
dknod
Архивный участник
 
Join Date: Mar 2006
Posts: 82
Default

Quote:
Originally Posted by HF View Post
Ok. Good.
Next question

This thread and this
https://postpacific.loc-online.com/f...ead.php?t=5394
have different IDs for some func_call
Where correct func_call list? In Digital list or in this Dknod? (dknod list bigger them Digital)

HF, these func. are taken from the original PP IRC C4 server pack...
dknod is offline  
Old 18.09.2006, 17:44   #3
HF
Архивный участник
 
Join Date: Aug 2005
Posts: 1,531
Default

Quote:
Originally Posted by dknod View Post
HF, these func. are taken from the original PP IRC C4 server pack...
Simple parsing not learn me how it working. I trust you, but i found very interesting information and i must know how it must be.

08-13-2006 Digital wrote first table for func_call.
You told what you have it from PP IRC 4 and wrote table at 08-14-2006.
But.. you have differents with Digital table. And.. i have some IDs different too. And my server work good. "True somewhere near" (X-Files).

Now, I need know how Duplicate IDs. Because found #1

Code:
class 1 goblin : warrior_passive

        fetch_i
        push_event      //  code_info
        push_const 696
        add
        fetch_i
        func_call 335544321     //  func[RandomSelectOne]


        fetch_i
        push_event      //  random1_list
        push_const 680
        add
        fetch_i
        func_call 251658242     //  func[RandomSelectOne]
If
func_call 335544321 // func[RandomSelectOne] is True
then
func_call 251658242 // func[RandomSelectOne] is False
because one function cant named Same.
But we can see next different!
Code:
        push_event      //  code_info
        push_const 696
Code:
        push_event      //  random1_list
        push_const 680
I can think one - It's NO ONE func_call

I learn Ai.obj next and i'll be talking here, until get full correct information from brain, from you, from someone.
HF is offline  
Old 18.09.2006, 17:58   #4
cypher
Архивный участник
 
Join Date: Oct 2005
Posts: 166
Default

Those Next/Random .. etc. are not duplicate functions. It's function overloading on an array type subclass.
cypher is offline  
Old 18.09.2006, 18:11   #5
HF
Архивный участник
 
Join Date: Aug 2005
Posts: 1,531
Default

Quote:
Originally Posted by cypher View Post
Those Next/Random .. etc. are not duplicate functions. It's function overloading on an array type subclass.
ok. Ignored it
func[RandomSelectOne] and func[Next]

Uhf... I found my first Bug in my Ai.obj. Viva la knowlenge!

Code:
Class name: class 2 on_day_night_spawn : default_maker
Fix 184549616 to 234881026      For :func[Despawn]

Class name: class 2 on_day_night_spawn : default_maker
Fix 184549616 to 234881026      For :func[Despawn]

Class name: class 2 royal_rush_maker : default_maker
Fix 184549616 to 234881026      For :func[Despawn]

Next is Handlers and puch_const. Someone have it tables too?
HF is offline  
Old 19.09.2006, 10:33   #6
Luno
Архивный участник
 
Join Date: Sep 2006
Posts: 15
Default

Handlers: http://xx.xx.2xx.xx0/handlers.txt
Luno is offline  
Old 19.09.2006, 11:39   #7
FidoW
Архивный участник
 
Join Date: Sep 2005
Posts: 1,014
Default

Quote:
Originally Posted by HF View Post
ok. Ignored it
func[RandomSelectOne] and func[Next]

Uhf... I found my first Bug in my Ai.obj. Viva la knowlenge!

Code:
Class name: class 2 on_day_night_spawn : default_maker
Fix 184549616 to 234881026      For :func[Despawn]

Class name: class 2 on_day_night_spawn : default_maker
Fix 184549616 to 234881026      For :func[Despawn]

Class name: class 2 royal_rush_maker : default_maker
Fix 184549616 to 234881026      For :func[Despawn]

Next is Handlers and puch_const. Someone have it tables too?

That fix isnt correct.. I made that change ... and... always when l2 time is 00:00 ... NPC SHUTDOWN! hahaha ... so obviusly, is an error in on_day_night_spawn class
FidoW is offline  
Old 19.09.2006, 16:40   #8
HF
Архивный участник
 
Join Date: Aug 2005
Posts: 1,531
Default

Thanks for test

Very strange all in ai.obj. Now i generated full list to fetch_i and push_event. Who has made it? As if "from terrible dreams".

fetch_i have same duplicate id's.
I cannot understand dependence. Sometimes func_call depends from push_event, sometimes on a class. The sense of this is not clear to me already.
HF 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 19:04.