Post Pacific

Post Pacific (https://postpacific.mmorpg-game.online/index.php)
-   Темы без сохранившегося раздела (https://postpacific.mmorpg-game.online/forumdisplay.php?f=10001)
-   -   AI Classes (https://postpacific.mmorpg-game.online/showthread.php?t=766)

divider 29.05.2005 00:24

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 ?

flakka 29.05.2005 01:03

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.

divider 29.05.2005 01:12

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 !

flakka 29.05.2005 01:15

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

divider 29.05.2005 01:20

its working already, i was just worried if somehow server needs both, which is not logical anyway ;)

Kinko 29.05.2005 01:37

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.

divider 29.05.2005 01:44

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 !

Kinko 29.05.2005 02:41

well, i'd keep them both since there are two htmls with different references

flakka 29.05.2005 02:47

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


All times are GMT. The time now is 22:35.