Jump to content
  • 0

how to fix this error?


Question

8 answers to this question

Recommended Posts

Posted

here's my custom item w/ bsubele effects.

30095,Linux_Manteau,Linux Manteau,5,0,,400,,5,,1,0xFFFFFFFF,7,2,4,,94,0,1092,{ bonus bMdef,5; bonus3 bSubEle,Ele_Neutral,20,BF_SHORT; bonus3 bSubEle,Ele_Water,20,BF_SHORT; bonus3 bSubEle,Ele_Earth,20,BF_SHORT; bonus3 bSubEle,Ele_Fire,20,BF_SHORT; bonus3 bSubEle,Ele_Wind,20,BF_SHORT; bonus3 bSubEle,Ele_Poison,20,BF_SHORT; bonus3 bSubEle,Ele_Holy,20,BF_SHORT; bonus3 bSubEle,Ele_Dark,20,BF_SHORT; bonus3 bSubEle,Ele_Ghost,20,BF_SHORT; bonus3 bSubEle,Ele_Undead,20,BF_SHORT; bonus bFlee,50; bonus bUnbreakableGarment,0; },{},{}
30113,Cranial_Deaf_Oversoul,Cranial Deaf Oversoul,5,500,,300,,3,,0,0xFFFFFFFF,7,2,32,,0,1,1109,{ bonus2 bSubRace,RC_DemiHuman,32; bonus bNoMagicDamage,25; bonus bDef,10; bonus3 bSubEle,Ele_Neutral,20,BF_SHORT; bonus3 bSubEle,Ele_Water,20,BF_SHORT; bonus3 bSubEle,Ele_Earth,20,BF_SHORT; bonus3 bSubEle,Ele_Fire,20,BF_SHORT; bonus3 bSubEle,Ele_Wind,20,BF_SHORT; bonus3 bSubEle,Ele_Poison,20,BF_SHORT; bonus3 bSubEle,Ele_Holy,20,BF_SHORT; bonus3 bSubEle,Ele_Dark,20,BF_SHORT; bonus3 bSubEle,Ele_Ghost,20,BF_SHORT; bonus3 bSubEle,Ele_Undead,20,BF_SHORT; bonus bUnbreakableGarment,0; },{},{}
30114,Red_Valkyrie_Armor,Red Valkyrie Armor,5,0,,400,,10,,1,0xFFFFFFFF,7,2,16,,94,0,1110,{ bonus bDefEle,Ele_Fire; bonus2 bResEff,Eff_Freeze,10000; bonus bUnbreakableArmor,0; },{},{}
30115,Red_Valkyrie_Manteau,Red Valkyrie Manteau,5,0,,400,,5,,1,0xFFFFFFFF,7,2,4,,94,0,1111,{ bonus bMdef,5; bonus3 bSubEle,Ele_Neutral,20,BF_SHORT; bonus3 bSubEle,Ele_Water,20,BF_SHORT; bonus3 bSubEle,Ele_Earth,20,BF_SHORT; bonus3 bSubEle,Ele_Fire,20,BF_SHORT; bonus3 bSubEle,Ele_Wind,20,BF_SHORT; bonus3 bSubEle,Ele_Poison,20,BF_SHORT; bonus3 bSubEle,Ele_Holy,20,BF_SHORT; bonus3 bSubEle,Ele_Dark,20,BF_SHORT; bonus3 bSubEle,Ele_Ghost,20,BF_SHORT; bonus3 bSubEle,Ele_Undead,20,BF_SHORT; bonus bFlee,50; bonus bUnbreakableGarment,0; },{},{}

Posted

30095 has 10 bSubele effects.

If a player equips THAT that item, and ANY OTHER item with a bsubele effect. The error will occur.

Is it really that hard to understand? You cannot have more than 10 bSubele effects equipped on a player at any time, just like the screenshot says.

  • Upvote 3
Posted (edited)

alternate way...

Recompile it with higher value

src/map/pc.h

#define MAX_PC_BONUS 10

but i not sure will this be a good way for your server.....

use at your own risks

Edited by Emistry
  • Upvote 1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...