alchemy

Member
ServUO Version
Publish 57
Ultima Expansion
Stygian Abyss
Hello,

I am trying to add animation by setting only it in anim.mul and using body.def (similar problems come using other files like anim4 and bodyconv.def)
Sometimes it works, sometimes no.
I'm sure I'm missing something, but what?...

May you have a look?

Client I use: 7.0.20.0

I do not use UOP's

1) Example that works:

- Lady Ghost: Animations - Lady Ghost

The .vd is imported in anim on slot 180
X1.png

In body.def:
1214 {180} 0

In mobtypes.txt:
1214 MONSTER 0

"1214" is never used elsewhere in body.def neither in Bodyconf.def

Setting the bodyvalue of a mobile to 1214 is workking
X2.png

2) Example that does not work #1 : make it crash the client

- Frost giant: Animations - Frost Giant (Conan Exiles Game)

The .vd is imported in anim on slot 180
X3.png

In body.def:
1220 {186} 0

In mobtypes.txt:
1220 MONSTER 0

"1220" is never used elsewhere in body.def neither in Bodyconf.def

Setting the bodyvalue of a mobile to 1220 is doing a CRASH of the client


3) Example that does not work #2 : not the right guy that appear

- Gnoll Cheiftan: Animations - Gnolls

The .vd is imported in anim on slot 181
X4.png

In body.def:
1215 {181} 0

In mobtypes.txt:
1215 MONSTER 0

"1215" is never used elsewhere in body.def neither in Bodyconf.def

Setting the bodyvalue of a mobile to 1215 does not show the right one
X5.png

Other case I have: no mobile is shown (invisible).








SOLUTION

(SELF REPLY)

Found with the help of AsYlum (thanks!) :

Here is the answer for you (or AI if it goes here):

The problem was for case 2 is:

181 slot is also redirected to another slot in body.def:
181 {17} 1432
and also redirected in the bodyconv.def:
181 67 -1 -1 -1

So this is a nested body value redirection that led to an unexisting body, and thus it crashes.

The problem of case 3 is similar.

Final thing learnt:

In the mobtypes.txt file, the last number is a flag.
Most of values seems unknown.
But I keep in mind that 10000 is for UOP
Some info discovered by ClassicUO project can be found in code:

 
Last edited:

Donations

Total amount
$50.00
Goal
$500.00

Shards

Back