Skip to content

[HELP]Quests load error on gameserver

Featured Replies

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

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 ;)

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)

 

  • Author

Pu boro na vro afto to file JythonQuest.java ?

 

Den eine ekei xD

Pu boro na vro afto to file JythonQuest.java ?

 

Den eine ekei xD

 

sto source code tou pack sou

  • Author

Exo L2jfree IL.

 

Den prepei na doulevei.

Exo L2jfree IL.

 

Den prepei na doulevei.

 

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

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.