Fakename /[TAG]

stiflerxx

New member
Messages
125
Points
0
hello
I'm thinking of by [tags] on my server however I learned that with @fakename has to do but with the @fakename he demonstrates not the "guild or party" as I do for by the fakename command does not fail to show the clan and the group and the PM continues the same without having to by [TAG]?
Thank You.
 
 
BR(pt-br):
olá
estou pensando em por [TAGs] no meu servidor porem fiquei sabendo que com @fakename tem como fazer porem com o @fakename ele não monstra o "guild nem party" como faço pra por o comando fakename não deixar de mostra o clã eo grupo eo PM continua o mesmo sem ter que por [TAG]?Obrigado e tenha um ótimo dia.
 
Last edited by a moderator:
So, you want to include [TAG] into a player's name, while also making it show Guild and Party. BUT, you don't want to have to type [TAG]PlayerName to PM them?

If so, then this currently can't be done with scripting alone as far as I know. You would need to edit the src as well so that the corresponding clif->packet that deals with PM / Public chat will ignore [TAG] as part of name when attempting to PM someone. And I'm not even sure how to do that, if I did I'd release a plugin allowing you to do just that. But, sorry I don't know how.

 
So, you want to include [TAG] into a player's name, while also making it show Guild and Party. BUT, you don't want to have to type [TAG]PlayerName to PM them?

If so, then this currently can't be done with scripting alone as far as I know. You would need to edit the src as well so that the corresponding clif->packet that deals with PM / Public chat will ignore [TAG] as part of name when attempting to PM someone. And I'm not even sure how to do that, if I did I'd release a plugin allowing you to do just that. But, sorry I don't know how.
yes it would be ^^
I saw here in the forum a diff to let the monster to and the party guild just do not remember where I saw it.
 
the PM I still do not know how to do: /
will be to make a claim in the src area would help?
 
http://rathena.org/board/topic/60188-fakename-show-guildparty/ (guild e party)

http://eathena.ws/forum/topic/2202-fakename-party-pm-and-others/ (PM)

anyone can make a compatible with Hercules?
 
Last edited by a moderator:
Hmm, can you provide a link to this diff? I can't seem to find it. I can try taking a look at it and see if what they did can easily be applied to packet that deals with PMs.

 
Hmm, can you provide a link to this diff? I can't seem to find it. I can try taking a look at it and see if what they did can easily be applied to packet that deals with PMs.
not found here in the forum: / I remember seeing but do not know where: /
 I found these two link up more and rAthena and eAthena
 
I see, well I'll take a look at them later, and I'll see if I can port them to Hercules so you can make use of it.

Edit:

Okay, so I took a look at them, and it seems they could easily be converted to Hercules, however i'm not 100% sure if it'll work. And if it does work, you'll still have the same issues as Digos posted when he released the whisper patch. That is, if someone uses @fakename to disguise their name as an existing player name, they won't be PM-able since it checks for real names first then fake names.

Also last thing of note is, I could make a diff for the changes, but I'm too dumb to make them plugins xD. I don't know how to do the pre/post hooking yet.

 
Last edited by a moderator:
I see, well I'll take a look at them later, and I'll see if I can port them to Hercules so you can make use of it.

Edit:

Okay, so I took a look at them, and it seems they could easily be converted to Hercules, however i'm not 100% sure if it'll work. And if it does work, you'll still have the same issues as Digos posted when he released the whisper patch. That is, if someone uses @fakename to disguise their name as an existing player name, they won't be PM-able since it checks for real names first then fake names.

Also last thing of note is, I could make a diff for the changes, but I'm too dumb to make them plugins xD. I don't know how to do the pre/post hooking yet.
Lets pray and wait, it will be awesome to have [Title]Player Name(PartyName) and work as it was original name, what ever script use ranking can give player title if he has achieved certain condition

 
Well, I can get it to successfully show Fakename + Guild / Party name. However, the way herc stores fakenames differs from how rAthena does, so only making these changes results in a client crash when PMing the player while trying to use the fake name as the whisper name. I suggest, taking your request to src_request / plugin_request section as there are far more skilled people there willing to help. Sorry, this was too great a task for me :/

 
Well, I can get it to successfully show Fakename + Guild / Party name. However, the way herc stores fakenames differs from how rAthena does, so only making these changes results in a client crash when PMing the player while trying to use the fake name as the whisper name. I suggest, taking your request to src_request / plugin_request section as there are far more skilled people there willing to help. Sorry, this was too great a task for me :/
Need Mod to Move thist thread to src support..

 
I see, well I'll take a look at them later, and I'll see if I can port them to Hercules so you can make use of it.

Edit:

Okay, so I took a look at them, and it seems they could easily be converted to Hercules, however i'm not 100% sure if it'll work. And if it does work, you'll still have the same issues as Digos posted when he released the whisper patch. That is, if someone uses @fakename to disguise their name as an existing player name, they won't be PM-able since it checks for real names first then fake names.

Also last thing of note is, I could make a diff for the changes, but I'm too dumb to make them plugins xD. I don't know how to do the pre/post hooking yet.
I see, well I'll take a look at them later, and I'll see if I can port them to Hercules so you can make use of it.

Edit:

Okay, so I took a look at them, and it seems they could easily be converted to Hercules, however i'm not 100% sure if it'll work. And if it does work, you'll still have the same issues as Digos posted when he released the whisper patch. That is, if someone uses @fakename to disguise their name as an existing player name, they won't be PM-able since it checks for real names first then fake names.

Also last thing of note is, I could make a diff for the changes, but I'm too dumb to make them plugins xD. I don't know how to do the pre/post hooking yet.
Lets pray and wait, it will be awesome to have [Title]Player Name(PartyName) and work as it was original name, what ever script use ranking can give player title if he has achieved certain condition
plus the second link diff causes the real name is searched first in and not think automatically looks for false ie works!
the big problem would be the client has [VIP] and when a friend tries to send the PM to receive mansagem that the character does not exist or is offline.
 
ps: if someone wants to make the diff compatible with Hercules and the moderator can move applications src I would be grateful ^^
 
Topic moved to Source Request.

On topic, this is useless if your charnames are bigger, since client have limitation of 24 characters, so kinda not useful.(except if all your titles are really small and char limit name decerease on your server )

 
Topic moved to Source Request.

On topic, this is useless if your charnames are bigger, since client have limitation of 24 characters, so kinda not useful.(except if all your titles are really small and char limit name decerease on your server )
but I've seen a guy that can increase the number of characters in max hexed .... at least I think I saw I can not remember

 
Topic moved to Source Request.

On topic, this is useless if your charnames are bigger, since client have limitation of 24 characters, so kinda not useful.(except if all your titles are really small and char limit name decerease on your server )
how to limit name on char creation so i can make it right some time they are crazy player make a crazy name and looong unreadable pharase, how to limit it to like 16 ?

 
The default length for names is 24, the players shouldn't be making anything longer than that because the client literally doesn't support it.

But if you're set on limiting it to something smaller then it's located in mmo.h at this line.

 
The default length for names is 24, the players shouldn't be making anything longer than that because the client literally doesn't support it.

But if you're set on limiting it to something smaller then it's located in mmo.h at this line.
if it was set that way then entire

//For character names, title names, guilds, maps, etc.//Includes null-terminator as it is the length of the array.
will be included limited to 16, the think i want is only the naming on creating char will be limited 16 so there is 8 char left..

 
That would require a far larger edit. First, you need to add this to your mmo.h

#define Guild_Name_Length (23 + 1)#define Title_Name_Length (23 + 1)#define Map_Name_Length (23 + 1)
Then you'd have to look through each src file and find any reference of: Name_Length

and determine if it's being used for either GuildName, MapName or TitleName.

If so, then replace it with the respective one above.

However, do note, that change Name_Length to 16 will only affect the visual names of maps, not the file name (this is limited to 12).

 
That would require a far larger edit. First, you need to add this to your mmo.h

#define Guild_Name_Length (23 + 1)#define Title_Name_Length (23 + 1)#define Map_Name_Length (23 + 1)
Then you'd have to look through each src file and find any reference of: Name_Length

and determine if it's being used for either GuildName, MapName or TitleName.

If so, then replace it with the respective one above.

However, do note, that change Name_Length to 16 will only affect the visual names of maps, not the file name (this is limited to 12).
Then i can't use the word/char left if that the case, let say i change it as your suggestion, when i create a char and give it a name lenght more than set-ed value it will reject char creation and success if it were less or equal to set-ed value, and if i create a title like [Title]LengthNameeeeee16(PartyName) if it were more than set-ed value it will not visualy apeared on screen, worse scene is if it can crashed the server, the thing i want is just a name lenght let it be 24 char as it was client max limitation but when on char creation one can just use 16 so there will be 8 more left to use as a tittle

 
Last edited by a moderator:
Well I'm not sure how many times this is referenced in char.c, but you can limit the size of new_name in char.h here.

However, you'll need to search char.c for every instance of new_name  and when ever you see NAME_LENGTH you'd pretty much need to enter the same value.

OR

define one in mmo.h and use that as the value.

#define CHAR_NAME_LENGTH (15 + 1)

But, I don't recommend editing char.h or char.c for this fix. The potential dmg far out weighs the gain :/

 
Back
Top