Help mobs Frame Worng Way

Luca

LOMCN Member
Apr 20, 2021
62
8
10
lo How i know the Frame im using from with lib
Monsters.Add(frame = new FrameSet());
frame.Frames.Add(MirAction.Standing, new Frame(0, 4, 0, 500));
frame.Frames.Add(MirAction.Walking, new Frame(32, 6, 0, 200));
frame.Frames.Add(MirAction.Attack1, new Frame(80, 6, 0, 100));
frame.Frames.Add(MirAction.Attack2, new Frame(208, 8, 0, 100));
frame.Frames.Add(MirAction.Attack3, new Frame(272, 7, 0, 100));
frame.Frames.Add(MirAction.Struck, new Frame(128, 2, 0, 200));
frame.Frames.Add(MirAction.Die, new Frame(144, 8, 0, 100));
frame.Frames.Add(MirAction.Dead, new Frame(151, 1, 7, 1000));
frame.Frames.Add(MirAction.Revive, new Frame(144, 8, 0, 100) { Reverse = true });



frame is ok but also hit worng mob how i know the frame from with lib mob thank you
 

LightBringer

Primordial GM
Veteran
Primordial
Game Master
Feb 13, 2014
3,816
1
1,715
260
lo How i know the Frame im using from with lib
Monsters.Add(frame = new FrameSet());
frame.Frames.Add(MirAction.Standing, new Frame(0, 4, 0, 500));
frame.Frames.Add(MirAction.Walking, new Frame(32, 6, 0, 200));
frame.Frames.Add(MirAction.Attack1, new Frame(80, 6, 0, 100));
frame.Frames.Add(MirAction.Attack2, new Frame(208, 8, 0, 100));
frame.Frames.Add(MirAction.Attack3, new Frame(272, 7, 0, 100));
frame.Frames.Add(MirAction.Struck, new Frame(128, 2, 0, 200));
frame.Frames.Add(MirAction.Die, new Frame(144, 8, 0, 100));
frame.Frames.Add(MirAction.Dead, new Frame(151, 1, 7, 1000));
frame.Frames.Add(MirAction.Revive, new Frame(144, 8, 0, 100) { Reverse = true });



frame is ok but also hit worng mob how i know the frame from with lib mob thank you
If you are using the latest source the frames are set on the libs themselves
 
Upvote 0

Luca

LOMCN Member
Apr 20, 2021
62
8
10
bandicam 2022-01-17 12-12-59-254.jpg
bandicam 2022-01-17 12-13-28-880.jpg
bandicam 2022-01-17 12-13-46-444.jpg
bandicam 2022-01-17 12-15-20-421.jpg
bandicam 2022-01-17 12-15-40-925.jpg
i check frame lib image is ok but mob go worng way if i add the same mob basic crstal mobs frame there is the mob working fine with hes frame image but added new mobs 100 mobs oky but same mobs worng way thank you
 
Upvote 0

Far

tsniffer
Staff member
Developer
May 19, 2003
20,172
30
2,767
540
As mentioned above the frames don't need adding in source anymore. Add them to the lib in the library editor, which also has a built in preview so you can see exactly how your monsters will move in game.
 
Upvote 0

Luca

LOMCN Member
Apr 20, 2021
62
8
10
As mentioned above the frames don't need adding in source anymore. Add them to the lib in the library editor, which also has a built in preview so you can see exactly how your monsters will move in game.
bandicam 2022-01-17 13-00-50-126.jpg
bro any help thank you
 
Upvote 0

Far

tsniffer
Staff member
Developer
May 19, 2003
20,172
30
2,767
540
You're not using the latest source code. Are you using one someone else has released?

If not, update your source as that's very outdated.
 
Upvote 0

Far

tsniffer
Staff member
Developer
May 19, 2003
20,172
30
2,767
540
Look at the main stickied thread for all the links
 
Upvote 0

Far

tsniffer
Staff member
Developer
May 19, 2003
20,172
30
2,767
540
I expect the new editor also uses new lib format, so youll have to update your client source too.
 
Upvote 0

Far

tsniffer
Staff member
Developer
May 19, 2003
20,172
30
2,767
540
I don't provide support outside of the forum. Anything you need help with you can ask here and myself / another member can help.
 
  • Like
Reactions: Sanjian
Upvote 0

Luca

LOMCN Member
Apr 20, 2021
62
8
10
I don't provide support outside of the forum. Anything you need help with you can ask here and myself / another member can help.
oky bro i need know how i can add new lib to my server any tutorial
 
Upvote 0

Far

tsniffer
Staff member
Developer
May 19, 2003
20,172
30
2,767
540
it depends what type of lib you're adding (and again what version of the files you're using)

Assuming you're using latest files, and its a monster lib - you just drop it in the client and it'll work.

Other libs you'll need to change the source code to add it.
 
Upvote 0

Luca

LOMCN Member
Apr 20, 2021
62
8
10
it depends what type of lib you're adding (and again what version of the files you're using)

Assuming you're using latest files, and its a monster lib - you just drop it in the client and it'll work.

Other libs you'll need to change the source code to add it.
Bro How I can add new library editor to my server
 
Upvote 0