Jump to content
  • 0

Custom Items Script


acocalypso

Question


  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  28
  • Reputation:   0
  • Joined:  06/15/12
  • Last Seen:  

Hey together, ive tried to add Custom GM Equip from here http://www.eathena.ws/board/index.php?showtopic=113298

 

 

 

90000,GM_Sword,GM's Sword,4,10,10,1,30000,,2,4,0xFFFFFFFF,2,2,2,4,48,1,1,{ bonus bDex,40; bonus bAllStats,150; bonus bAspdRate,10; bonus bUnbreakableWeapon,0; bonus bAtkRate,500; bonus bMatkRate,500; bonus bHitRate,500; bonus bIgnoreDefRace,7; bonus bIgnoreMDefRace,7; bonus bSplashRange,2; bonus bIgnoreDefMob,0; bonus4 bAutoSpell,13,25,350,1; bonus4 bAutoSpell,19,25,350,1; bonus4 bAutoSpell,20,25,350,1; bonus4 bAutoSpell,14,25,350,1;  bonus4 bAutoSpell,230,25,350,1; bonus4 bAutoSpell,476,25,350,1; },{},{}
90001,GM_Staff,GM's Staff,4,,10,1,30000,,2,4,0xFFFFFFFF,2,2,2,4,48,1,8,{ bonus bDex,40; bonus bAllStats,150; bonus bAspdRate,10; bonus bUnbreakableWeapon,0; bonus bAtkRate,500; bonus bMatkRate,500; bonus bHitRate,500; bonus bIgnoreDefRace,7; bonus bIgnoreMDefRace,7; bonus bSplashRange,2; bonus bIgnoreDefMob,0; bonus4 bAutoSpell,13,25,350,1; bonus4 bAutoSpell,19,25,350,1; bonus4 bAutoSpell,20,25,350,1; bonus4 bAutoSpell,14,25,350,1;  bonus4 bAutoSpell,230,25,350,1; bonus4 bAutoSpell,476,25,350,1; },{},{}
90002,GM_Shield,GM's Shield,5,,10,1,,10,,4,,0xFFFFFFFE,2,2,32,,65,1,3,{ bonus2 bSubEle,Ele_Water,100; bonus2 bSubEle,Ele_Fire,100; bonus2 bSubEle,Ele_Dark,100; bonus2 bSubEle,Ele_Undead,100; bonus2 bSubEle,Ele_Wind,100; bonus2 bSubEle,Ele_Earth,100; bonus2 bSubEle,Ele_Poison,100; bonus2 bSubEle,Ele_Neutral,100; bonus bMdef,100; if(isequipped(2353,5124)) { bonus bDef,2; bonus bMdef,20; } bonus bAllStats,100; bonus bNearAtkDef,100; bonus bLongAtkDef,100; bonus bMagicAtkDef,100; bonus bMiscAtkDef,100; bonus bNoWeaponDamage,100; bonus bNoMagicDamage,100; },{},{}
90003,GM_Armor,GM's Armor,5,,10,1,,4,,4,0xFFFFFFFF,7,2,16,,40,1,0,{ bonus bAllStats,100; bonus bHPrecovRate,500; bonus bSPrecovRate,500; bonus3 bAutoSpell,85,25,350; bonus3 bAutoSpell,89,25,350; bonus3 bAutoSpell,91,25,350; bonus3 bAutoSpell,254,25,350; bonus3 bAutoSpell,406,25,350; bonus3 bAutoSpell,479,25,350; },{},{}
90004,GM_Shoes,GM's Shoes,5,,10,1,,5,,4,0xFFFFFFFF,7,2,64,,94,0,0,{ bonus bAllStats,100; bonus bFlee2Rate,100; bonus bInfiniteEndure,100; },{},{}
90005,GM_Cloak,GM's Cloak,5,,10,1,,3,,4,0xFFFFFFFF,7,2,4,,54,1,0,{ bonus bAllStats,100; bonus bFleeRate,100; },{},{}
90006,GM_Belt,GM's Belt,5,,10,1,,2,,4,0xFFFFFFFF,7,2,136,,94,0,0,{ bonus bAllStats,150; bonus bMdef,100; skill 29,90; skill 78,90; },{},{}
90007,GM_Necklace,GM's Necklace,5,,10,1,,1,,4,0xFFFFFFFF,7,2,136,,94,0,0,{ bonus bAllStats,150; bonus bMdef,100; skill 28,90; skill 34,90; },{},{}
90008,GM_Crown,GM's Crown,5,,10,1,,4,,4,0xFFFFFFFF,2,1,256,,45,1,45,{ bonus bAllStats,100; bonus bDoubleRate,100; bonus bIntravision,100; bonus bUnstripableArmor,100; bonus bUnstripableHelm,100; bonus bUnstripableShield,100; },{},{}

 

ive added this in itemdb2 but im getting the following error: 

 

 

 

[Error]: itemdb_readdb: Invalid format (Script column) in line 68 of "db/item_db2.txt" (item with id 90002), skipping.
 

 

i checked the line with help of the wiki http://rathena.org/wiki/Custom_Items but i cant find the error. Can someone tell me whats wrong?

 

 

Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1125
  • Reputation:   236
  • Joined:  07/30/12
  • Last Seen:  

Replace:

90002,GM_Shield,GM's Shield,5,,10,1,,10,,4,,0xFFFFFFFE,2,2,32,,65,1,3,{ bonus2 bSubEle,Ele_Water,100; bonus2 bSubEle,Ele_Fire,100; bonus2 bSubEle,Ele_Dark,100; bonus2 bSubEle,Ele_Undead,100; bonus2 bSubEle,Ele_Wind,100; bonus2 bSubEle,Ele_Earth,100; bonus2 bSubEle,Ele_Poison,100; bonus2 bSubEle,Ele_Neutral,100; bonus bMdef,100; if(isequipped(2353,5124)) { bonus bDef,2; bonus bMdef,20; } bonus bAllStats,100; bonus bNearAtkDef,100; bonus bLongAtkDef,100; bonus bMagicAtkDef,100; bonus bMiscAtkDef,100; bonus bNoWeaponDamage,100; bonus bNoMagicDamage,100; },{},{}

To:

90002,GM_Shield,GM's Shield,5,,10,1,,10,,4,,0xFFFFFFFE,2,2,32,,65,1,3,{ bonus2 bSubEle,Ele_Water,100; bonus2 bSubEle,Ele_Fire,100; bonus2 bSubEle,Ele_Dark,100; bonus2 bSubEle,Ele_Undead,100; bonus2 bSubEle,Ele_Wind,100; bonus2 bSubEle,Ele_Earth,100; bonus2 bSubEle,Ele_Poison,100; bonus2 bSubEle,Ele_Neutral,100; bonus bMdef,100; bonus bAllStats,100; bonus bNearAtkDef,100; bonus bLongAtkDef,100; bonus bMagicAtkDef,100; bonus bMiscAtkDef,100; bonus bNoWeaponDamage,100; bonus bNoMagicDamage,100; if(isequipped(2353,5124)) { bonus bDef,2; bonus bMdef,20; } },{},{}
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  28
  • Reputation:   0
  • Joined:  06/15/12
  • Last Seen:  

still having the same error. but the other items dont work too, while typing @item 90000 im getting the following warning:


 
[Warning]: itemdb_search: Item ID 24464 does not exists in the item_db. Using dummy data.
 
why does it want to load 24464?
Link to comment
Share on other sites

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.

×
×
  • Create New...