Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 29.05.2005, 00:24   #1
divider
Архивный участник
 
Join Date: May 2005
Posts: 39
Default AI Classes

is it valid to coexist in ai.obj to same classes ?
i have found this to exist twice:

catseye_bandit : warrior_passive

even i both classes have different code (is this case they dont)
is it valid ?
divider is offline  
Old 29.05.2005, 01:03   #2
flakka
Архивный участник
 
Join Date: Mar 2005
Posts: 1,143
Default

Since it's not mod related, I'm gonna move the thread.

As for your question...

Did you modify your ai.obj? If you didn't then I don't see anything wrong with it because L2 uses the same template with most NPCs with just different codes for other areas. Like the keltirs and orcs. Same mob + different areas = different ai.
flakka is offline  
Old 29.05.2005, 01:12   #3
divider
Архивный участник
 
Join Date: May 2005
Posts: 39
Default

i have checked both class line by line, they are exactly the same.
the only difference is that the have different labels, which is logical since same labels cant exist in ai.obj

you wrote:
...Like the keltirs and orcs. Same mob + different areas = different ai...

true, but in this case what i see in the file means that the same AI exist 2
times ! thats the question about is it valid ? or is it a Copy/Paste error
somebody did ?
server loads fine but maybe it ignores the second declaration !
divider is offline  
Old 29.05.2005, 01:15   #4
flakka
Архивный участник
 
Join Date: Mar 2005
Posts: 1,143
Default

Ah. If it exsists twice, then I would delete one of them. I don't see any harm in it if you did. Would be a good way to prune out the duplicates too, possibly. Just do a backup and delete it, and see what happens. :P
flakka is offline  
Old 29.05.2005, 01:20   #5
divider
Архивный участник
 
Join Date: May 2005
Posts: 39
Default

its working already, i was just worried if somehow server needs both, which is not logical anyway
divider is offline  
Old 29.05.2005, 01:37   #6
Kinko
Архивный участник
 
Join Date: May 2005
Posts: 9
Default

Um, it probably needs both. Check the sector labels, eg: L12345 , if they are different, then when the HTML references each section, it does something different.
Kinko is offline  
Old 29.05.2005, 01:44   #7
divider
Архивный участник
 
Join Date: May 2005
Posts: 39
Default

you cant have dublicate Lxxxxx or Sxxxx labels !
the above mentioned classes had different label as they should,
but the code was the same ! with difference ofcource to calling
the Lxxxxx which is correct !
divider is offline  
Old 29.05.2005, 02:41   #8
Kinko
Архивный участник
 
Join Date: May 2005
Posts: 9
Default

well, i'd keep them both since there are two htmls with different references
Kinko is offline  
Old 29.05.2005, 02:47   #9
flakka
Архивный участник
 
Join Date: Mar 2005
Posts: 1,143
Default

OK. If the label is different but the code is the same, then just leave it alone. It's the same thing like I posted. The mobs are the same (data), but the label is different for a reason. Don't want to break anything. :P
flakka is offline  
 


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:52.