Jump to content

Message System


Pauler

Recommended Posts

I fixed it in l2jhellas.

 

http://l2jhellas.eu

Try this :

 

if (to.equalsIgnoreCase("") || message.equalsIgnoreCase("") || tο == null) {

activeChar.sendMessage("You have to fill all the fields.");

 

if (title.equalsIgnoreCase("") || title == null)

title = "(No Subject)";

 

and the problem still exists  :(

 

Bad RequestBypassToServer:
java.util.NoSuchElementException
        at java.util.StringTokenizer.nextToken(Unknown Source)
        at com.l2jfrozen.gameserver.network.clientpackets.RequestBypassToServer.
runImpl(RequestBypassToServer.java:532)
        at com.l2jfrozen.gameserver.network.clientpackets.L2GameClientPacket.run
(L2GameClientPacket.java:75)
        at com.l2jfrozen.gameserver.network.L2GameClient.run(L2GameClient.java:1
195)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)

 

 

Link to comment
Share on other sites

Try this :

 

if (to.equalsIgnoreCase("") || message.equalsIgnoreCase("") || tο == null) {

activeChar.sendMessage("You have to fill all the fields.");

 

if (title.equalsIgnoreCase("") || title == null)

title = "(No Subject)";

 

and the problem still exists  :(

 

Bad RequestBypassToServer:
java.util.NoSuchElementException
        at java.util.StringTokenizer.nextToken(Unknown Source)
        at com.l2jfrozen.gameserver.network.clientpackets.RequestBypassToServer.
runImpl(RequestBypassToServer.java:532)
        at com.l2jfrozen.gameserver.network.clientpackets.L2GameClientPacket.run
(L2GameClientPacket.java:75)
        at com.l2jfrozen.gameserver.network.L2GameClient.run(L2GameClient.java:1
195)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)

Someone who knows how to Fix?

Link to comment
Share on other sites

thx a lot i will try it . :)

PS. if there are multiple messages how it owrks  ??

ty

 

As I can guess there is a lane that seperates messages like this (Sure there will be problem with the html max size but it's nice!) -> ************!

Link to comment
Share on other sites

  • 6 months later...
Guest
This topic is now closed to further replies.



×
×
  • Create New...