Jump to content

Recommended Posts

Posted

If you want to put a big welcome message read this tutorial.

This is for l2jfree.

 

Eclipse. go to : src/main/java/come.l2jfree.gameserver.network/SystemMessageId.java

Here you need to add your custom message, in my example i will put 3 new message :

CUSTOM_MESSAGE_WELCOME(2602),
CUSTOM_MESSAGE_WELCOME2(2603),
CUSTOM_MESSAGE_WELCOME3(2604);

 

CUSTOM_MESSAGE_WELCOME3 - name and 2604 - id

 

Save the file and now go to com.l2jfree.gameserver/L2jFreeInfo.java

Here you will add your welcome message like this :

SystemMessage sm = new SystemMessage(SystemMessageId.CUSTOM_MESSAGE_WELCOME);
	Announcements.getInstance().announceToAll(sm);

 

Now compile the l2jfree-core .

 

On the system folder decrypt systemmsg-e.dat and add this 3 lines.

2602	1	Welcome to our private lineage II server.	2	B09B79			8	0	3	1	0	Welcome here.	server
2603	1	Welcome to our private lineage II server.	0	B09B79			8	0	5	1	0	Welcome here.	none
2604	1	Welcome to our private lineage II server.	0	B09B79			2	0	10	1	0	Welcome little man.	none

 

And now when you will enter the server you will see:

mess2vo6.jpg

 

 

If you type: //msg 2604 you will see:

mess1wn1.th.jpg

 

You can use this type of message in allot of things, you need only imagination.

 

 

Posted

Useful!! Good Work . . . ;)

 

Thx, soon i will put this messages in more places like : when you make a new lvl  or when a friend will be online . If you have more ideas just say :P

Posted

hoho =o rly crazy this goes stirght to my guides of crazy l2 set ups

 

Goood work fella keep sharing =)

 

(i will try it , if i have a problem i send u pm)

Posted

Soon i will put more updates at this ( need to finish with my 2rd l2j project  :D )

Just say some ideas where i can put this message.

My ideas: - when you make a lvl, when a event start, when a friend is login, when you have ban chat from a user and  When you  pick up a  good item ( i will make a cfg to write custom items ) from a moob like a A grade weapon or S one.

In 2 days i will write the code.

Thx

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.




×
×
  • Create New...