View Full Version : 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 ?
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.
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 !
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
its working already, i was just worried if somehow server needs both, which is not logical anyway ;)
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.
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 !
well, i'd keep them both since there are two htmls with different references
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