Jump to content
  • 0

[HELP]Quests load error on gameserver


Question

Posted

Kalhspera! Exw afto to error otan ksekinao ton server. Den prepei na eine kati shmantiko, alla anoigo neo server kai dn thelo na exei kanena error sto startup.

 

Borei kaneis na me vohthisei? Efxaristw ek ton proterwn.

 

errorwj7.th.png

6 answers to this question

Recommended Posts

  • 0
Posted

Den kserw ti chronicle exeis ...alla apo ti vlepo exeis l2j kapio import apo ta quest vgazei errors ... koitakse sta timeline tis l2j mipos to exoun fix ..!!

 

I kane report sto www.l2jserver.com .

 

p.s: Kai tha s sinistousa na min kaneis dyplo post se diaforetika section me to idio thema .. http://www.maxcheaters.com/forum/index.php?topic=45771.0 i sto ena i sto allo.. kai panta kapios tha s apantisei ;)

  • 0
Posted

this is a core problem ... m2 eixa afto to prob aposo thimame!

 

go at Jython Folder / JythonQuest.java kai vale ton parakato kodika (sbise ton iparxoda)

 

/* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
* 02111-1307, USA.
*
* http://www.gnu.org/copyleft/gpl.html
*/
package net.sf.l2j.gameserver.model.quest.jython;

import net.sf.l2j.Config;
import net.sf.l2j.gameserver.model.quest.Quest;

import org.apache.bsf.BSFException;
import org.apache.bsf.BSFManager;

public abstract class QuestJython extends Quest
{
private static BSFManager _bsf;

/**
 * Initialize the engine for scripts of quests, luxury shops and blacksmith
 */
public static void init()
{
	try
	{
		// Initialize the engine for loading Jython scripts
		_bsf = new BSFManager();
		// Execution of all the scripts placed in data/jscript
		// inside the DataPack directory

		String dataPackDirForwardSlashes = Config.DATAPACK_ROOT.getPath().replaceAll("\\\\","/");
		String loadingScript =
		    "import sys;"
		  + "sys.path.insert(0,'" + dataPackDirForwardSlashes + "');"
		  + "import data";

		_bsf.exec("jython", "quest", 0, 0, loadingScript);
	}
	catch (BSFException e)
	{
		e.printStackTrace();
	}
}

public static boolean reloadQuest(String questFolder)
{
	try
	{
		_bsf.exec("jython", "quest", 0, 0, "reload(data.jscript."+questFolder+");");
		return true;
	}
	catch (Exception e)
	{
		//System.out.println("Reload Failed");
		//e.printStackTrace();
	}
	return false;
}

/**
 * Constructor used in jython files.
 * @param questId : int designating the ID of the quest
 * @param name : String designating the name of the quest
 * @param descr : String designating the description of the quest
 */
public QuestJython(int questId, String name, String descr)
{
	super(questId, name, descr);
}
}

 

o kodikas pano einai gia l2j c6 .... sto pack mou doulebi!

 

PS: Maby the error is at Quest.java (found stable pack and take a  quest.java)

 

  • 0
Posted

Pu boro na vro afto to file JythonQuest.java ?

 

Den eine ekei xD

 

sto source code tou pack sou

  • 0
Posted

Exo L2jfree IL.

 

Den prepei na doulevei.

 

efoson den exeis to source tou den mporeis na kaneis oti sou eipe o fogotend

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
Answer this question...

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