• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Change name where to find in source?

Summ

(\/)(;,,;)(\/) Y not?
Staff member
Global Moderator
Joined
Oct 15, 2008
Messages
4,136
Solutions
12
Reaction score
1,115
Location
Germany :O
Hello Guys.

I want to do a function like doPlayerChangeName(cid).
I don't want to do it like:
-kick player
-edit database and so

Which source file sets the players name? What I need to change?
Can anyone do this function or tell me how to do?
 
I need a code which modifies the name or manages the player to login on another account at login (other named char)

I saw something like this on differnt war servers..
 
Well, guys.

It is possible and it is very easy to do, becaue I did it on my own just with google to search some command and I never really did anything in C++.

The name is changed on login to a special name.

Thx anyway.
 
Last edited:
And what about 'setCreatureName(uid, "name"), only for monsters(wild and summons). It is possible? f.e. I've made a quest and get storage 12345 == 1, so now i can use a special item which will summon for me a monster with my name(Renusek) or something else(Renusek Summon). So script would be like that:
Code:
onUse...
if item.itemid == XXXX then
local mob = doCreateMonster(pos, "monk")
setCreatureName(mob, "Renusek")
convince bla bla.
end xD
Would be great :P.

I think you understand what I want to say xD.
 
4kxpy0.jpg


Ask elf or somebody who knows if it is possible and how to resend the name to the client and ill be glad to make the function...
 
Back
Top