Hi guys. I did something in my 5530 source, i did that to change the character name when it upgrades VIP LEVEL and also REINCARN so it must show those on nick, if it is Mystery, it would be like "Mystery v[6] r[0]", now my question is.
In database it looks ok, but in game it shows no nickname, like if show names is disabled in client. I tried many ways, most of the times it showed only "v[6] r[0]" and i figure out if i use the name field of entities it went well but it bugs on next VIP Level Upgrade it becomes "Mystery v[6] r[0] v[7] r[0]" of course . Here is my NPC code part for this. Its for trinity 5530 if u guys can see:
Code:
string namefix = "";
var cmd = new Database.MySqlCommand(Database.MySqlCommandType.SELECT);
cmd.Select("entities").Where("UID", client.Entity.UID);
var r = new Database.MySqlReader(cmd);
if (r.Read())
namefix = r.ReadString("NameFix");
r.Close();
string newname = ""+ namefix + " v[" + (int)client.Entity.VIPLevel + "] r[" + (int)client.Entity.Reincarnations + "]";
Database.MySqlCommand cmd2 = new Database.MySqlCommand(Database.MySqlCommandType.UPDATE);
cmd2.Update("entities").Set("Name", newname).Where("UID", client.Entity.UID).Execute();
client.Disconnect();
Btw. Namefix is a new field i made that cointains the original nickname so Npcs can use it. Maybe im messing up with some variable declations, i almost got there when i use client.entity.name instead of Namefix.
The weird thing is in entities database it looks OK, but in game i cant see no nickname like i explained b4, i hope any of u guys can help me figure out whats going ON, ill keep trying when i can, thx!
LVL 30, 1650 elo, EU NE with Transfer option (+free nick change if used). 01/05/2012 - League of Legends Trading - 9 Replies Selling League of Legends Acc lvl 30 EU NE (got free transfer option) with 570 rp 5000 ip 3 rune pages
Current solo elo is ~1650 (it's about < 2k position in the ladder).
Got gold badge and frame from Season 1.
About 800 wins in normal and 750 loses.
CHAMPIONS :
Ahri
Akali
Nick change in forum please? 01/09/2011 - Technical Support - 3 Replies Hi
i would like to change my nickname to another one.
I want to be active now on that cool community
i joined in the 2008 but now i changed nick so
i would like to be contacted from any admins for change it
to see if that nick is available too
Thanks!
Where can I request a nick -name change? 12/29/2008 - Off Topic - 1 Replies Hello,I was wondering if a nickname change is possible here,and if so,where I can request it.
Thanks :)
Nick change in forum 07/28/2008 - Technical Support - 1 Replies Hi can you change my nickname of the forum in L ?