wanted to make a.testtypecommand theyhada way ofputting typehtm,butit wasinown codeandnot in normalfiles astest.htmwantedwithin theown code.
publicclassTestimplementsIVoicedCommandHandler{privateString[] _commandList =newString[]{"test"};@Overridepublicboolean useVoicedCommand(String command,Player activeChar,String target){if(command.equals("test")){
HERE DID NOT WANT FOR HTM, I WANTED BY FIXED CODE
}returntrue;}@OverridepublicString[] getVoicedCommandList(){return _commandList;}}
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.
In this case, what is missing are the NPC effects, it is a little more complex to import this, I think the tutorials here on the forum have the videos unavailable.
No drama, no finger-pointing, just undeniable results.
2000+ concurrent players. Zero lag.
The math is simple: simpler code = better code = better performance.
Meanwhile, other projects cry at 200-300 online.
Because bloat code and misinterpreting retail files isn't a feature.
Project
Status
Open Source
Accepts Juniors?
Difficulty
L2JMobius
Very active
Semi-closed
Partially (with patches)
Medium-High
L2JServer
Active
Fully open
Yes (directly on GitHub)
Medium
aCis
Semi-active
Unofficial
Not very clear
Low
L2JMobius->Medium-High. It's funny, all their code is quite simple, just like aCis.
Question
nery
hi, I ask for help to friends.
wanted to make a .test type command they had a way of putting type htm, but it was in own code and not in normal files as test.htm wanted within the own code.
Ex:
npcHtmlMessage.setHtml("<html><title>Exemple</title><body><center></center></body></html>"); ? ? ?
or
text = "<html><body>" + text + "</body></html>";
Edited by nery5 answers to this question
Recommended Posts
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.