Bringer Posted February 19, 2016 Group: Members Topic Count: 162 Topics Per Day: 0.04 Content Count: 748 Reputation: 47 Joined: 03/12/14 Last Seen: April 16 Share Posted February 19, 2016 (edited) delitem 2227,1; delitem 1059,40; delitem 978,1; delitem 975,1; delitem 976,1; set Zeny, Zeny - 10000000; setarray .@ItemID[0],607,608,512; getitem .@ItemID[ rand( getarraysize( .@ItemID ) ) ],1; emotion e_grat; announce ""+strcharinfo(0)+" has finished the " + ( .@ItemID ) + " ",0; close; i have same costume hat but 9 different effects i want the to announce what kind of hat is will get i try that .@ItemID but the npc announce id# of the hat not the name of the item like this GM Drew has finished the Costume:_Rabbit_Headdress_[stats] or Costume:_Rabbit_Headdress_[Elements] Edited February 19, 2016 by DrewxD Quote Link to comment Share on other sites More sharing options...
0 Enthr Posted February 19, 2016 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 88 Reputation: 10 Joined: 01/15/16 Last Seen: January 18 Share Posted February 19, 2016 (edited) Change this line: announce ""+strcharinfo(0)+" has finished the " + ( .@ItemID ) + " ",0; to this: announce strcharinfo(0)+" has finished the Costume: " + ( getitemname(.@ItemID) ) + " ",0; And well, the stats or elements are in a section that you cant show in an announce, because are a script like section in the last lines of the item in the item db, so if in a supposed case you can show it, it will be like a little script that a very little group of users might understand... Edited February 19, 2016 by Enthr Quote Link to comment Share on other sites More sharing options...
0 Bringer Posted February 19, 2016 Group: Members Topic Count: 162 Topics Per Day: 0.04 Content Count: 748 Reputation: 47 Joined: 03/12/14 Last Seen: April 16 Author Share Posted February 19, 2016 Change this line: announce ""+strcharinfo(0)+" has finished the " + ( .@ItemID ) + " ",0; to this: announce strcharinfo(0)+" has finished the Costume: " + ( getitemname(.@ItemID) ) + " ",0; And well, the stats or elements are in a section that you cant show in an announce, because are a script like section in the last lines of the item in the item db, so if in a supposed case you can show it, it will be like a little script that a very little group of users might understand... i already change the itemdb but still the npc still announce same name 26298,Rabbit Headdress [Stats],Rabbit Headdress [Stats],4,0,0,1,,0,,1,0xFFFFFFFF,7,2,1024,,,,2209,{ bonus bAllStats,3; },{},{} 26299,Rabbit Headdress [Elements],Rabbit Headdress [Elements],4,0,0,1,,0,,1,0xFFFFFFFF,7,2,1024,,,,2209,{ bonus2 bSubEle,Ele_Neutral,3; bonus2 bSubEle,Ele_Water,3; bonus2 bSubEle,Ele_Earth,3; bonus2 bSubEle,Ele_Fire,3; bonus2 bSubEle,Ele_Wind,3; bonus2 bSubEle,Ele_Poison,3; bonus2 bSubEle,Ele_Holy,3; bonus2 bSubEle,Ele_Dark,3; bonus2 bSubEle,Ele_Ghost,3; bonus2 bSubEle,Ele_Undead,3; },{},{} 26300,Rabbit Headdress [Reduce],Rabbit Headdress [Reduce],4,0,0,1,,0,,1,0xFFFFFFFF,7,2,1024,,,,2209,{ bonus2 bSubRace,RC_DemiHuman,3; bonus2 bSubRace,RC_Player,3; },{},{} 26301,Rabbit Headdress [Increase],Rabbit Headdress [Increase],4,0,0,1,,0,,1,0xFFFFFFFF,7,2,1024,,,,2209,{ bonus2 bAddRace,RC_DemiHuman,3; bonus2 bAddRace,RC_Player,3; },{},{} 26302,Rabbit Headdress [Magic],Rabbit Headdress [Magic],4,0,0,1,,0,,1,0xFFFFFFFF,7,2,1024,,,,2209,{ bonus bMatkRate,3; },{},{} 26303,Rabbit Headdress [Physical],Rabbit Headdress [Physical],4,0,0,1,,0,,1,0xFFFFFFFF,7,2,1024,,,,2209,{ bonus2 bAddClass,Class_All,3; },{},{} 26304,Rabbit Headdress [HP&SP],Rabbit Headdress [HP&SP],4,0,0,1,,0,,1,0xFFFFFFFF,7,2,1024,,,,2209,{ bonus bMaxHPrate,3; bonus bMaxSPrate,3; },{},{} 26305,Rabbit Headdress [DEF],Rabbit Headdress [DEF],4,0,0,1,,0,,1,0xFFFFFFFF,7,2,1024,,,,2209,{ bonus bDef,5; },{},{} 26306,Rabbit Headdress [MDEF],Rabbit Headdress [MDEF],4,0,0,1,,0,,1,0xFFFFFFFF,7,2,1024,,,,2209,{ bonus bMdef,5; },{},{} Quote Link to comment Share on other sites More sharing options...
0 Enthr Posted February 19, 2016 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 88 Reputation: 10 Joined: 01/15/16 Last Seen: January 18 Share Posted February 19, 2016 did you reload the itemdb? you can do it with @reloaditemdb Quote Link to comment Share on other sites More sharing options...
0 Bringer Posted February 19, 2016 Group: Members Topic Count: 162 Topics Per Day: 0.04 Content Count: 748 Reputation: 47 Joined: 03/12/14 Last Seen: April 16 Author Share Posted February 19, 2016 did you reload the itemdb? you can do it with @reloaditemdb yes i did Quote Link to comment Share on other sites More sharing options...
0 Enthr Posted February 19, 2016 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 88 Reputation: 10 Joined: 01/15/16 Last Seen: January 18 Share Posted February 19, 2016 I see the correct name, is your problem solved? Ah, i think what the problem is, sorry... ¿You tried to restart the server...? Quote Link to comment Share on other sites More sharing options...
0 Lelouch vi Britannia Posted February 19, 2016 Group: Members Topic Count: 45 Topics Per Day: 0.01 Content Count: 715 Reputation: 84 Joined: 01/05/12 Last Seen: April 10, 2023 Share Posted February 19, 2016 (edited) Change Rabbit Headdress [stats] to Costume: Rabbit Headdress [DEF] 26298,Rabbit Headdress [Stats],Rabbit Headdress [Stats],4,0,0,1,,0,,1,0xFFFFFFFF,7,2,1024,,,,2209,{ bonus bAllStats,3; },{},{} to 26298,Rabbit Headdress [Stats],Costume: Rabbit Headdress [DEF],4,0,0,1,,0,,1,0xFFFFFFFF,7,2,1024,,,,2209,{ bonus bAllStats,3; },{},{} and @reloaditemdb Edited February 19, 2016 by Lelouch vi Britannia Quote Link to comment Share on other sites More sharing options...
0 Bringer Posted February 19, 2016 Group: Members Topic Count: 162 Topics Per Day: 0.04 Content Count: 748 Reputation: 47 Joined: 03/12/14 Last Seen: April 16 Author Share Posted February 19, 2016 I see the correct name, is your problem solved? Ah, i think what the problem is, sorry... ¿You tried to restart the server...? the problem announce hehe awlwys name announce I see the correct name, is your problem solved? Ah, i think what the problem is, sorry... ¿You tried to restart the server...? the problem announce hehe awlwys same announce Quote Link to comment Share on other sites More sharing options...
0 MusiLiciouS Posted March 5, 2016 Group: Members Topic Count: 35 Topics Per Day: 0.01 Content Count: 109 Reputation: 2 Joined: 06/04/13 Last Seen: July 19, 2024 Share Posted March 5, 2016 (edited) Is the item name same with the name in your item.lub. coz what's in the item.lub will appear even if you change the name in your item.db Edited March 5, 2016 by MusiLiciouS Quote Link to comment Share on other sites More sharing options...
Question
Bringer
i have same costume hat but 9 different effects
i want the to announce what kind of hat is will get
i try that .@ItemID but the npc announce id# of the hat not the name of the item like this
GM Drew has finished the Costume:_Rabbit_Headdress_[stats] or Costume:_Rabbit_Headdress_[Elements]
Edited by DrewxDLink to comment
Share on other sites
8 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.