Pretty much what are those numbers indicate? For example "431003" how can I determine if I character is small or big, determine which face icon he's using etc?
public class LookFace
{
public bool IsPlayer => BodyType > 1000;
public bool IsMonster => BodyType < 1000;
public bool IsFemale => BodyType / 1000 == 2;
public bool IsMale => BodyType / 1000 == 1;
public bool IsSmall => IsPlayer && (BodyType % 10 == 1 || BodyType % 10 == 3);
public uint Id => Transform * 10000000 + (Avatar * 10000) + BodyType;
public uint IdWithoutTransform => (Avatar * 10000) + BodyType;
public uint BodyType { get; set; }
public uint Transform { get; set; }
public uint Avatar { get; set; }
public LookFace(uint bodyType)
{
BodyType = bodyType;
}
public static implicit operator uint(LookFace face)
{
return face.Id;
}
public static implicit operator LookFace(uint id)
{
return new LookFace(id);
}
}
Quote:
Bla bla bla
Thanks for the code explanation. Already figured out thanks to Crystaline's tip. Still, much appreciatedQuote:
PS. This isn't complete as you can see handling the id back to the lookface variables isn't implemented, but it is pretty straight forward to add.Code:public class LookFace { public bool IsPlayer => BodyType > 1000; public bool IsMonster => BodyType < 1000; public bool IsFemale => BodyType / 1000 == 2; public bool IsMale => BodyType / 1000 == 1; public bool IsSmall => IsPlayer && (BodyType % 10 == 1 || BodyType % 10 == 3); public uint Id => Transform * 10000000 + (Avatar * 10000) + BodyType; public uint IdWithoutTransform => (Avatar * 10000) + BodyType; public uint BodyType { get; set; } public uint Transform { get; set; } public uint Avatar { get; set; } public LookFace(uint bodyType) { BodyType = bodyType; } public static implicit operator uint(LookFace face) { return face.Id; } public static implicit operator LookFace(uint id) { return new LookFace(id); } }
Remember: If used in your source.. Please give credits to authors.
lmaoQuote:
Coz me and my team already working on it, my connection is actually with chinese devolpers from orginal TQ my great real life friend is a chinese business guy he translated all for me and managing all the connection, they know the gameplay im talking about even better than you and me actually.
I just wanted to let you know, you acting actually very unserious that will hurt your image, no1 will believe you anymore.
Is that coz you gonna quit right? Blackmarket 0/0/0 and trying to scamm 2000€ do you not shame :P ?
What ever man for me you are "bla bla bla" and i will ask you every time this question.
Till you surrender and say: yes im a "bla bla bla" ;)
TL;DRQuote:
Nono, it's way more than 2000.
But i won't talk about business anymore since this toxic, negative, stupid attitude only demands in elitepvp to expose someone.
"I took Krito's ideas and will make it in my server, but he won't be able to play"
Just see this, how poor someone acting, making his self a joke.
Why you never being honest before, that those ideas are Infos you guys dreamed about in past.
I came very late and i showed all, unbelieveable exuses running the table:
"We have 2020 those ideas won't work in 2020"
Aha, thats why you predecting to be purely classic without any improvment? :)
Ahhhh no no its called "invidual Theme" but only 3 players playing :rollsafe:
Stop trying to create new ideas "wannabes"
Your logics is lets make an SuperMario server, he don't run right side he run only left side: "coz im leftdealer" thats your logics :rollsafe: if no one plays: they might be "rightdealer" not my misstake :lul: :facepalm:
And exactly same story with others. :) Finally Ultimation still hes the mental power to understand features. Thats why i respect him a little little bit.
You guys all working from 2.0 system up and down, you can't even make a truely purely classic server 4351.
You don't even agree the basics terms, but accusing someone else that he isn't classic.
:lul:
Quote:
Nono, it's way more than 2000.
But i won't talk about business anymore since this toxic, negative, stupid attitude only demands in elitepvp to expose someone.
"I took Krito's ideas and will make it in my server, but he won't be able to play"
Just see this, how poor someone acting, making his self a joke.
Why you never being honest before, that those ideas are Infos you guys dreamed about in past.
I came very late and i showed all, unbelieveable exuses running the table:
"We have 2020 those ideas won't work in 2020"
Aha, thats why you predecting to be purely classic without any improvment? :)
Ahhhh no no its called "invidual Theme" but only 3 players playing :rollsafe:
Stop trying to create new ideas "wannabes"
Your logics is lets make an SuperMario server, he don't run right side he run only left side: "coz im leftdealer" thats your logics :rollsafe: if no one plays: they might be "rightdealer" not my misstake :lul: :facepalm:
And exactly same story with others. :) Finally Ultimation still hes the mental power to understand features. Thats why i respect him a little little bit.
You guys all working from 2.0 system up and down, you can't even make a truely purely classic server 4351.
You don't even agree the basics terms, but accusing someone else that he isn't classic.
:lul:
TL;DR; 2Quote:
TL;DR