Jump to content

How to put .online command for L2JFree


Recommended Posts

ezomxh.jpg

According to that TOPIC i wanted to add .online command to my server so i add it but it was for L2J and i wanted it for L2JFree when i finished it i decided to post it and for other members!

 

First open

src\main\java\com\l2jfree\gameserver\handler\VoicedCommandHandler.java

 

and add at line 49 that

		registerVoicedCommandHandler(new OnlinePlayers());

 

so it will look sth like this

 

		registerVoicedCommandHandler(new CastleDoors());
	registerVoicedCommandHandler(new Online());
	registerVoicedCommandHandler(new Hellbound());
	registerVoicedCommandHandler(new Banking());
	registerVoicedCommandHandler(new VersionInfo());

 

 

Now download that file i give you at the end of my topic and place it at

C:\test\l2jfree-core\src\main\java\com\l2jfree\gameserver\handler\voicedcommandhandlers

 

Then Compile and you are ok!

 

It will look like that image

fxdolj5trwh86qax4stq.jpg

 

2ec3fjb.png

 

http://rapidshare.com/files/193977215/Online.java

 

 

 

Special Thanks to: Mafia_007

for creating it for L2J!

 

 

Download link and guide updated 04/02/2009 23:25

Link to comment
Share on other sites

well...first of all..mafia did not created the cmd...he took it from l2j forum

and 2nd ....you can use it for l2jfree with no modification...at Interlude

you have just changed the imports?to make it compatible with CT2?

Link to comment
Share on other sites

Link and Guide UPDATED!

 

because of some problems....

 

when righting .online

 

it says Players Online! but no number but now it is fixxed!

 

 

@Theonegandalf i changed the imports, S1_S2 maked S1 also some ) didn;'t exis

also now i have updated it it doesn't have anything same like Mafia's Guide if you check it!

 

Link to comment
Share on other sites

Thanks but now what i have to do?

 

Remove Fully the credits?

 

Say that i made it for l2jfree so credits go to me?

 

Say Credits: L2J ?

 

or Leave it as it is?

Link to comment
Share on other sites

Thanks but now what i have to do?

 

Remove Fully the credits?

 

Say that i made it for l2jfree so credits go to me?

 

Say Credits: L2J ?

 

or Leave it as it is?

 

credits for this code go to : x

guide about how to add it in your core by : me(you in this case)

 

there is an author in the code

Link to comment
Share on other sites

hey i have a problem :| i've compiled the RELEASE version from l2jfree [ cause it's supported] but the problem is that in my server [the one i've downloaded it from svn://l2jfree.com/repo/l2j-free/release i don't have any files in

C:\test\L2_Gameserver\src\main\java\com\l2jfree\gameserver\, the only file that is in it's gameserver.java :|

can some1 help me ?

Link to comment
Share on other sites

hey i have a problem :| i've compiled the RELEASE version from l2jfree [ cause it's supported] but the problem is that in my server [the one i've downloaded it from svn://l2jfree.com/repo/l2j-free/release i don't have any files in

C:\test\L2_Gameserver\src\main\java\com\l2jfree\gameserver\, the only file that is in it's gameserver.java :|

can some1 help me ?

 

so go to gameserver/handler/voicecommandhandler.java and do what the topic says and dl online.java and add it inside voicecommandhandler folder

Link to comment
Share on other sites

  • Vision changed the title to How to put .online command for L2JFree
  • Vision locked this topic
Guest
This topic is now closed to further replies.


×
×
  • 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