![]() |
|
|
#1 |
|
Архивный участник
Join Date: May 2005
Posts: 39
|
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 ? |
|
|
|
|
#2 |
|
Архивный участник
Join Date: Mar 2005
Posts: 1,143
|
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. |
|
|
|
|
#3 |
|
Архивный участник
Join Date: May 2005
Posts: 39
|
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 errorsomebody did ? server loads fine but maybe it ignores the second declaration ! |
|
|
|
|
#4 |
|
Архивный участник
Join Date: Mar 2005
Posts: 1,143
|
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
|
|
|
|
|
#5 |
|
Архивный участник
Join Date: May 2005
Posts: 39
|
its working already, i was just worried if somehow server needs both, which is not logical anyway
|
|
|
|
|
#6 |
|
Архивный участник
Join Date: May 2005
Posts: 9
|
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.
|
|
|
|
|
#7 |
|
Архивный участник
Join Date: May 2005
Posts: 39
|
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 ! |
|
|
|
|
#8 |
|
Архивный участник
Join Date: May 2005
Posts: 9
|
well, i'd keep them both since there are two htmls with different references
|
|
|
|
|
#9 |
|
Архивный участник
Join Date: Mar 2005
Posts: 1,143
|
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
|
|
|
| Thread Tools | Search this Thread |
| Display Modes | |
|
|