Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

[ Help ] Monster Error

Newbie Spellweaver
Joined
May 8, 2017
Messages
9
Reaction score
0
How can I solve this problem?
 

Attachments

You must be registered for see attachments list
Newbie Spellweaver
Joined
May 8, 2017
Messages
9
Reaction score
0
Thank you St0rmy. Monster item problem solved, but this monster item percent and MPoption problem continues. How can I solve this errors?
 

Attachments

You must be registered for see attachments list
Upvote 0
Joined
Apr 12, 2013
Messages
897
Reaction score
480
The Monster Percent error is caused by all "weapons" and "skills" the monster can use, they need to have a percentage of 100% (all skills and weapons added together) but the percentage is not 100% (the current percentage is TotalUsingPercent). So basically the monster is not attacking with every attack.

The MPOption error is caused by invalid bitflags. You have a set of MPOption Bitflags that can be attached to a monster. And the final bitflag should only contain valid ones.

Code:
#define MPOPTION_BIT_DEAD_FALL                    ((BitFlag64_t)0x0000000000000001)    // 1,    
#define MPOPTION_BIT_MOVE_PARTY                    ((BitFlag64_t)0x0000000000000002)    // 2,    
#define MPOPTION_BIT_PATTERN_MONSTER            ((BitFlag64_t)0x0000000000000004)    // 4,    
#define MPOPTION_BIT_BOSS_MONSTER                ((BitFlag64_t)0x0000000000000008)    // 8,    
#define MPOPTION_BIT_AUTO_DESTROY                ((BitFlag64_t)0x0000000000000010)    // 16,    
#define MPOPTION_BIT_NAMED_MONSTER                ((BitFlag64_t)0x0000000000000020)    // 32,    
#define MPOPTION_BIT_RECOGNIZE_INVISIBLE        ((BitFlag64_t)0x0000000000000040)    // 64,    
#define MPOPTION_BIT_KEY_MONSTER                ((BitFlag64_t)0x0000000000000080)    // 128,    
#define MPOPTION_BIT_NO_ALPHABLENDING_IN_DEAD    ((BitFlag64_t)0x0000000000000100)    // 256,    
#define MPOPTION_BIT_KEY_MONSTER_ALIVE_FOR_GAMECLEAR    ((BitFlag64_t)0x0000000000000200)    // 512,
#define MPOPTION_BIT_STOP_AUTO_CREATE            ((BitFlag64_t)0x0000000000000400)    // 1024,
#define MPOPTION_BIT_RECOGNIZE_STEALTH            ((BitFlag64_t)0x0000000000000800)    // 2048,
#define MPOPTION_BIT_ADD_DAMAGE_UNAPPLIED        ((BitFlag64_t)0x0000000000001000)    // 4096,
 
Upvote 0
Newbie Spellweaver
Joined
May 8, 2017
Messages
9
Reaction score
0
The Monster Percent error is caused by all "weapons" and "skills" the monster can use, they need to have a percentage of 100% (all skills and weapons added together) but the percentage is not 100% (the current percentage is TotalUsingPercent). So basically the monster is not attacking with every attack.

The MPOption error is caused by invalid bitflags. You have a set of MPOption Bitflags that can be attached to a monster. And the final bitflag should only contain valid ones.

Code:
#define MPOPTION_BIT_DEAD_FALL                    ((BitFlag64_t)0x0000000000000001)    // 1,    
#define MPOPTION_BIT_MOVE_PARTY                    ((BitFlag64_t)0x0000000000000002)    // 2,    
#define MPOPTION_BIT_PATTERN_MONSTER            ((BitFlag64_t)0x0000000000000004)    // 4,    
#define MPOPTION_BIT_BOSS_MONSTER                ((BitFlag64_t)0x0000000000000008)    // 8,    
#define MPOPTION_BIT_AUTO_DESTROY                ((BitFlag64_t)0x0000000000000010)    // 16,    
#define MPOPTION_BIT_NAMED_MONSTER                ((BitFlag64_t)0x0000000000000020)    // 32,    
#define MPOPTION_BIT_RECOGNIZE_INVISIBLE        ((BitFlag64_t)0x0000000000000040)    // 64,    
#define MPOPTION_BIT_KEY_MONSTER                ((BitFlag64_t)0x0000000000000080)    // 128,    
#define MPOPTION_BIT_NO_ALPHABLENDING_IN_DEAD    ((BitFlag64_t)0x0000000000000100)    // 256,    
#define MPOPTION_BIT_KEY_MONSTER_ALIVE_FOR_GAMECLEAR    ((BitFlag64_t)0x0000000000000200)    // 512,
#define MPOPTION_BIT_STOP_AUTO_CREATE            ((BitFlag64_t)0x0000000000000400)    // 1024,
#define MPOPTION_BIT_RECOGNIZE_STEALTH            ((BitFlag64_t)0x0000000000000800)    // 2048,
#define MPOPTION_BIT_ADD_DAMAGE_UNAPPLIED        ((BitFlag64_t)0x0000000000001000)    // 4096,

thank you St0rmy :thumbup1:
 
Upvote 0
Back
Top