Mad Walker Posted July 7, 2013 Posted July 7, 2013 (edited) Item on equip changes name of wearer, for example I equip an Angel Ring(name of the item) then my name is Test. The output will be [Angel]Test. But upon unequipping the item, your name will be back to Test. Edited July 7, 2013 by Qube Eks Quote
Patskie Posted July 7, 2013 Posted July 7, 2013 dunno if this will work on item. didn't try this using items lol. { query_sql "UPDATE `char` SET `name` = '"+escape_sql("<DESIRED NAME>")+"' WHERE `char_id` = '"+getcharid(0)+"'"; } Quote
Mad Walker Posted July 7, 2013 Author Posted July 7, 2013 it didn't work. It says check the syntax. Quote
Skorm Posted July 7, 2013 Posted July 7, 2013 I'd use fakename for something like this it's the only way to get that real-time name change effect. //Example 1599,Angra_Manyu,Angra Manyu,4,1,,10,200,,2,0,0xFFFFFFFF,7,2,2,1,1,1,8,{ bonus bAllStats,50; bonus bBaseAtk,3800; bonus2 bHPDrainRate,1000,100; },{ callfunc("F_Namer",1599); },{ callfunc("F_Namer"); } function script F_Namer { explode(.@item$,getitemname(getarg(0,574))," "); if(.@item$[0]!="Egg") atcommand "@fakename ["+.@item$[0]+"]"+strcharinfo(0); else atcommand "@fakename"; end; } Quote
Mad Walker Posted July 7, 2013 Author Posted July 7, 2013 but fakename takes away the guild's name right? Quote
Skorm Posted July 7, 2013 Posted July 7, 2013 but fakename takes away the guild's name right?Yup Quote
Mad Walker Posted July 7, 2013 Author Posted July 7, 2013 thanks for the help Skorm. I used your idea though. { atcommand "@fakename [Dragon] "+strcharinfo(0)+" "; }',' {atcommand "@fakename";}'); then I applied a patch that shows guild name and party name. Quote
Skorm Posted July 7, 2013 Posted July 7, 2013 thanks for the help Skorm. I used your idea though. { atcommand "@fakename [Dragon] "+strcharinfo(0)+" "; }',' {atcommand "@fakename";}'); then I applied a patch that shows guild name and party name.Great I thought I heard something about that do you have the link to it I'd also be interested init. Quote
Mad Walker Posted July 7, 2013 Author Posted July 7, 2013 here: http://rathena.org/board/topic/60188-fakename-show-guildparty/ Quote
Question
Mad Walker
Item on equip changes name of wearer, for example I equip an Angel Ring(name of the item) then my name is Test.
The output will be [Angel]Test. But upon unequipping the item, your name will be back to Test.
Edited by Qube Eks8 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.