Jump to content
  • 0

Name template


jim100

Question

6 answers to this question

Recommended Posts

  • 0

You should go from your database inside Characters table . then find your character and there is your name edit it save and exit if u restart ur character u will have ur new name ;) good luck

Link to comment
Share on other sites

  • 0

or if u want people to be able to have certaine text types in there name u will need to edit ur configs, there is an option in them that lets u change what letters and or numbers people can use when making a new character.

Link to comment
Share on other sites

  • 0

What packet are u using?Simply if u are using Oneo write command //admin go at Game,write at Quickbox the name and press set name.U are ready :)

Link to comment
Share on other sites

  • 0

If I understand right, he wants to add a tag [GM] or [Admin] before his GM's names.

 

I don't know if it is in the chat window or in the name on the head of his characters. Assuming it's in the chat and not in the characters's head name...

 

For L2J Free, in the "all" channel :

1) open all the java files located in http://l2jfree.com:8080/l2j-free/browser/trunk/L2_GameServer_IL/src/main/java/net/sf/l2j/gameserver/handler/chathandlers/ChatAll.java

 

2) search near the end of files

public void useChatHandler(L2PcInstance activeChar, String target, SystemChatChannelId chatType, String text)

{

CreatureSay cs = new CreatureSay(activeChar.getObjectId(), chatType.getId(), activeChar.getName(), text);

for (L2PcInstance player : activeChar.getKnownList().getKnownPlayers().values())

{

if (player != null && activeChar.isInsideRadius(player, 1250, false, true)

&& !(Config.REGION_CHAT_ALSO_BLOCKED && BlockList.isBlocked(player, activeChar)))

{

player.sendPacket(cs);

}

}

activeChar.sendPacket(cs);

}

3) replace for

public void useChatHandler(L2PcInstance activeChar, String target, SystemChatChannelId chatType, String text)

{

CreatureSay cs = new CreatureSay(activeChar.getObjectId(), chatType.getId(), activeChar.getName(), text);

for (L2PcInstance player : activeChar.getKnownList().getKnownPlayers().values())

{

if (player != null && activeChar.isInsideRadius(player, 1250, false, true)

&& !(Config.REGION_CHAT_ALSO_BLOCKED && BlockList.isBlocked(player, activeChar)))

{

if (activeChar.isGM())

{

player.sendPacket(new CreatureSay(activeChar.getObjectId(), chatType.getId(),"[GM]" + activeChar.getName(), text));

}

player.sendPacket(cs);

}

}

activeChar.sendPacket(cs);

}

 

Do the same for other channels, adding next code before the last activeChar.sendPacket(cs);

            if (activeChar.isGM())

            {

               player.sendPacket(new CreatureSay(activeChar.getObjectId(), chatType.getId(),"[GM]" + activeChar.getName(), text));

            }

 

With that, all your GM or Admin will not have to change their name but when they will speak, it will display [GM] before their name in all the modified chat windows.

 

For Oneo, I don't know, they are late on the sync and they didn't change the chat system for the most flexible chathandler one.

 

Enjoy.

 

( PS : btw, i hope you know how to compile and all this sort of thing, if not, forget the idea of hosting a server )

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


  • Posts

    • U dont kbow what happened with dumanist I send him files he downloaded and then asked for refund, i got all proofs at whatsapp, why he never open a topic, fucking idiot u are 😆 There are no fake updates me and him made all fixes, we dont have to prove something.. especially when you told him that cache is wrong and this is why it crashes while you have half of the code unclosed connections in mail system.. as i said gtfo, pay your programmer to make your fixes! Cause for scripts changing stats you are more than good.. as i said.. bulgarian whore, lick everyone!  There are no fake updates me and him made all fixes, we dont have to prove something.. especially when you told him that cache is wrong and this is why it crashes while you have half of the code unclosed connections in mail system.. as i said gtfo, pay your programmer to make your fixes! Cause for scripts changing stats you are more than good.. as i said.. bulgarian whore, lick everyone!       Also the truth is i helped in many codes inside the pack! But the most percentage is zoumhs work! If he is the one making it or someone else its non of your bussiness he doesnt have profit from this! He is clever to make subscriptions that way he can find all issues , while u just ask 100 per fixes 😅🤣     If u are that great, why u lick trevorj and why back in the days begging gustavo to make you stuff!  Just enjoy your life and leave zoumhs alone! To do his hobby! You are just a toxic and jealous rat! All your "clients" speak with the best for you 🤣🤣🤣      
    • So since interlude chronicle when a monster attacks you , it auto targets the monster , i need to disable it , like on C1-C4 was.   Im using vanganth extender also have sources ,but have no idea wheare to take a look.    
    • I have a rebirth engine on my server and it works great, except after the first rebirth... When taking 2nd+++ Rebirth it does NOT give any rewards... If someone could PM me I would appreciate it, I dont want to post the code here until it is fixed... This can be closed, stupidly enough you have to repeat the rewards for every separate rebirth instead of just the one item you want them all to give....
    • You telling me that ZOUMHS fixing things in the source code xD, please don't try to be funny. When are you going to tell the truth? just fake updates 🙂   ps What happened to the deleted posts from me and the evidence of how much FAKE you are? Another person who thinks like me. Let's see who will be quicker to delete the posts.  I admit, i cant live without you 🙂 But please stop changing your nicknames because i no longer know who is who.      
    • Feels bad to see someone actually fixed stuff and you put rats into discord to learn the bugs! Gtfo rat! I saw your work and how u treated ur customers, at least he respect us and tries! Bulgarian whore
  • Topics

×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock