IPB

Welcome Guest ( Log In | Register )



 
Reply to this topicStart new topic
pc_bonus: unknown type 0 100 !
joecalis
post Jun 14 2011, 12:10 PM
Post #1


eA Apprentice
***

Group: eA Level 3 (Normal)
Posts: 95
Joined: 20-August 10
Member No.: 317,969



hello I keep getting a warning message in my server saying "pc_bonus: unknown type 0 100 !"
i tracked the item that is causing that warning message and it is this:
CODE
16010,Red_Ether_Bag,Red Ether Bag,4,10,,1000,15,,1,1,0x00040000,8,2,2,3,102,1,8,{ bonus bMatk,100; if(getrefine()>=6){ bonus2 bSkillAtk,"GN_CRAZYWEED",20+((getrefine()-5)*2); bonus2 bSkillAtk,"GN_DEMONIC_FIRE",20+((getrefine()-5)*2); } else { bonus2 bSkillAtk,"GN_CRAZYWEED",20; bonus2 bSkillAtk,"GN_DEMONIC_FIRE",20; } },{},{}

What is wrong with the item bonus and how could I fix it so its effect will be like this?
QUOTE
Increases damage of Crazy Weed and Demonic Fire by 20%. Each refine above +6 increases the skill damage by an additional 2%.
MATK + 100

Please and Thank you.

This post has been edited by ~AnnieRuru~: Jun 15 2011, 09:59 AM
Reason for edit: move to database support
Go to the top of the page
 
+Quote Post
Masao
post Jun 14 2011, 01:34 PM
Post #2


El grande Burito !
*****

Group: eA Level 5 (Super)
Posts: 720
Joined: 4-June 09
From: Switzerland
Member No.: 292,071



Try this one:

16010,Red_Ether_Bag,Red Ether Bag,4,20,10,1000,15,,1,1,0x00040000,8,2,2,3,102,1,8,{ bonus bMatk,100; bonus2 bSkillAtk,2483,20; bonus2 bSkillAtk,2485,20; if(getrefine()>=7) { bonus2 bSkillAtk,2483,getrefine()-6*2; bonus2 bSkillAtk,2485,getrefine()-6*2; } },{},{}
Go to the top of the page
 
+Quote Post
joecalis
post Jun 14 2011, 01:47 PM
Post #3


eA Apprentice
***

Group: eA Level 3 (Normal)
Posts: 95
Joined: 20-August 10
Member No.: 317,969



nope still getting that warning message
Go to the top of the page
 
+Quote Post
Masao
post Jun 14 2011, 01:52 PM
Post #4


El grande Burito !
*****

Group: eA Level 5 (Super)
Posts: 720
Joined: 4-June 09
From: Switzerland
Member No.: 292,071



Hmm i guess i know now why, it's because there is no bMatk bonus in eA, only bMatkRate, so the server doesn't recognize that bonus.

So all you can do is remove the bonus bMatk100; and then it works without error / warning.
Go to the top of the page
 
+Quote Post
kamizake
post Jun 14 2011, 03:04 PM
Post #5


eA Apprentice
***

Group: eA Level 3 (Normal)
Posts: 52
Joined: 16-June 10
Member No.: 315,061



the real problem is the skill are you using 3ceam? or ea? if using eA You have to remove all 3rd class skills "bonus" from db or insted of using the name of the skill use the number given in skill_db.txt in your emulator. change ,"GN_CRAZYWEED", To ,number of skill,
CODE
16010,Red_Ether_Bag,Red Ether Bag,4,10,,1000,15,,1,1,0x00040000,8,2,2,3,102,1,8,{ bonus bMatk,100; if(getrefine()>=6){ bonus2 bSkillAtk,"GN_CRAZYWEED",20+((getrefine()-5)*2); bonus2 bSkillAtk,---->"GN_DEMONIC_FIRE"<----,20+((getrefine()-5)*2); } else { bonus2 bSkillAtk,"GN_CRAZYWEED",20; bonus2 bSkillAtk,"GN_DEMONIC_FIRE",20; } },{},{}


This post has been edited by kamizake: Jun 14 2011, 03:05 PM
Go to the top of the page
 
+Quote Post
Masao
post Jun 14 2011, 03:18 PM
Post #6


El grande Burito !
*****

Group: eA Level 5 (Super)
Posts: 720
Joined: 4-June 09
From: Switzerland
Member No.: 292,071



He must be using 3ceam since ether bag is not even listed in the eA item_db for obvious reasons...

This post has been edited by Masao: Jun 14 2011, 03:18 PM
Go to the top of the page
 
+Quote Post
Athen
post Jun 14 2011, 05:37 PM
Post #7


BEAST is the B2ST
****

Group: eA Level 5 (Super)
Posts: 274
Joined: 24-December 08
Member No.: 277,269



Yes thats the problem with 3ceam no bmatk bonus so you can get that warning everytime the player will equip / login or they have in inventory (IMG:style_emoticons/default/smile.gif)
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Time is now: 25th October 2014 - 04:27 AM
Bridged By IpbWiki: Integration Of Invision Power Board and MediaWiki © GlobalSoft