Natsu Posted February 20, 2011 Share Posted February 20, 2011 freya pack exw kai prospa8o na katalavo to error bori kapios na me help?? if(Config.PM_MESSAGE_ON_START) { CreatureSay np = new CreatureSay(2, Say2.HERO_VOICE,Config.PM_TEXT1,Config.PM_SERVER_NAME); CreatureSay na = new CreatureSay(15, Say2.PARTYROOM_COMMANDER,activeChar.getName(),Config.PM_TEXT2); activeChar.sendPacket(np); activeChar.sendPacket(na); } if(Config.SERVER_TIME_ON_START) { activeChar.sendMessage("SVR time is " + fmt.format(new Date(System.currentTimeMillis()))); } Link to comment Share on other sites More sharing options...
0 Xanderॐ Posted February 20, 2011 Share Posted February 20, 2011 Ti error , edo apla kodika kaneis paste. Link to comment Share on other sites More sharing options...
0 Natsu Posted February 20, 2011 Author Share Posted February 20, 2011 Ti error , edo apla kodika kaneis paste. ti? den se epiasa Link to comment Share on other sites More sharing options...
0 Xanderॐ Posted February 20, 2011 Share Posted February 20, 2011 les exeis error, ti error ? Bgazei kati stin konsola ? Piomenos eisai re bradiatika :) ? Link to comment Share on other sites More sharing options...
0 Natsu Posted February 20, 2011 Author Share Posted February 20, 2011 nai evala afto ton codiko sto Eneterworld.java kai m vgazi ta error pou vlepis afto me to RED einai ta error :) Link to comment Share on other sites More sharing options...
0 Xanderॐ Posted February 20, 2011 Share Posted February 20, 2011 a tora se epiasa, misa pragmata les. Ta ekanes import ta class ayta ? An sta kokinizei apo kato simenei oti den exoun ginei import. To date thelei import java.util.Date; To creatureSay einai sto network an thimame kala tou l2jserver. To fmt den iparxei san klasi, kati den exeis antigrapsei apo ton kodika pou peires. Link to comment Share on other sites More sharing options...
0 Natsu Posted February 20, 2011 Author Share Posted February 20, 2011 vasika afto to creauresay den katalava ti na kano :) Link to comment Share on other sites More sharing options...
0 Xanderॐ Posted February 20, 2011 Share Posted February 20, 2011 Gia na katalabeis, pou den katalabeneis otan xrisimopoiis mia klasi prepei na tin kaneis import pano pano ston kodika. Otan grafeis CreatureSay prepei na kserei pou na psaksei na brei to creaturesay. Episis ekeino to fmt den mou miazei gia classi pou simenei oti exei oristei kapou apo ekei pou to pires alla den ta pires ola, ksexases merika. Link to comment Share on other sites More sharing options...
0 Natsu Posted February 20, 2011 Author Share Posted February 20, 2011 ok to vrika ty :) Link to comment Share on other sites More sharing options...
0 ExTrEmEDwarf Posted February 20, 2011 Share Posted February 20, 2011 solved/locked. Link to comment Share on other sites More sharing options...
Question
Natsu
freya pack exw kai prospa8o na katalavo to error bori kapios na me help??
if(Config.PM_MESSAGE_ON_START)
{
CreatureSay np = new CreatureSay(2, Say2.HERO_VOICE,Config.PM_TEXT1,Config.PM_SERVER_NAME);
CreatureSay na = new CreatureSay(15, Say2.PARTYROOM_COMMANDER,activeChar.getName(),Config.PM_TEXT2);
activeChar.sendPacket(np);
activeChar.sendPacket(na);
}
if(Config.SERVER_TIME_ON_START) {
activeChar.sendMessage("SVR time is " + fmt.format(new Date(System.currentTimeMillis())));
}
Link to comment
Share on other sites
9 answers to this question
Recommended Posts