Please excuse my ignorance of C#... In the following lines of code, where could I assign the body_id when creating a character? Would I need to first load something into the namespace?
void ClickButton_CreateCharacter(object sender, MouseButtonEventArgs e)
{
var name = _txtName.Text;
if (!GameData.UserName.IsValid(name))
{
SetError("Invalid character name.");
return;
}
_btnCreateCharacter.IsEnabled = false;
using (var pw = ClientPacket.CreateNewAccountCharacter(name))
{
_sockets.Send(pw, ClientMessageType.System);
}
}Ultimately the Create Character Screen will give the player the ability to choose their character image. Any ideas from those more experienced with C# and NetGore is appreciated.
Thanks for giving me somewhere to start. ![]()
If you write a few pages on the wiki, I'll write out a tutorial on the wiki on how to do this. ![]()
Sure, but it's my first time doing wiki stuff. My edits may seem a little old-schoolish. ![]()
No problem. Content is what matters. ![]()
Things get a little tough because you have to tell the server you want to use a different body_id. The steps involved will be: