• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Especially for Talaturen.

EvulMastah

๏̯͡๏﴿
Premium User
Joined
Aug 19, 2007
Messages
4,940
Solutions
11
Reaction score
353
Basiaclly you know the problem, but I will write it again for others tho.

How do I change:
You see a wolf.
into:
You see a wolf(lv. x). Where x->Level.

How do I add more SEX_FEMALE sexes at enums.h?
Code:
enum PlayerSex_t
{
	PLAYERSEX_FEMALE = 0,
	PLAYERSEX_MALE = 1
};

Thanks.
 
1. monster.h
virtual std::string getDescription(int32_t lookDistance) const {
return strDescription + ' (Level: x).';
}

2. Why would you want to add more of the same sex? It's pointless and will give you alot of extra work, it's not only that part you have to edit, it's beds and outfits too, and probably other things aswell.
 
Because, I will use something like this:
There will be 5 starting vocations, each will have other outfit, so I need to make 5 new males and 5 new females, then every from each vocation will advance (get promotion) and will have another outfit, new sexes have to be made, and then, yet again, another advancement - next promotion - other outfits(other sexes).

Actually I have 15 of each sex.

1. monster.h
virtual std::string getDescription(int32_t lookDistance) const {
return strDescription + ' (Level: x).';
}

Wont it return: You see a wolf (Level: x). ?
Isnt that possible to make it for getting level, like the `string getDescription` and print it in ()?

#Edit:
I dont want to make another thread so I add it here:
Is it hard to add a function setCreatureExpRate(cid, rate)?
Could work like if setCreatureExpRate(cid, x) then it will take configs expRate and do it like conifgRate * x. ?

Come on, I know that you are busy with your Radonia Client, but I guess that those changes won't take you long :thumbup:

#Edit:
Will this do at enums?
Code:
PLAYERSEX_FEMALE = 0 || PLAYERSEX_FEMALE = 2 || PLAYERSEX_FEMALE = 4,
PLAYERSEX_MALE = 1 || PLAYERSEX_MALE = 3 || PLAYERSEX_MALE = 5 and so on...
 
Last edited:
Ok, when i did:
Code:
PLAYERSEX_FEMALE = 0 || 2 || 4 || 6 and so on adding comma at the end
It didnt pop up any compiling error, now in outfits.cpp ive changed
Code:
if(intVal > 9 || intVal < 0)
into
if(intVal > 30 || intVal < 0)

At least point me out where else I must edit something? (didnt find anything at beds/items... will look again maybe)
 

Similar threads

Back
Top