Jump to content

Question

Posted

Alloz guys.. i wanted to create my own event but the folder (Feanor) is missing inside Gameserver/data... so i created myself a folder named faenor inside there and after i made an xml too. but an error appears during db loads.. here take a look.

 

[FeanorScriptEngine] Loading Packages ...

[FeanorScriptEngine] Loading files ...

[FeanorScriptEngine] Loaded 1 scripts ...

java.lang.NullPointerException: FaenorParser: attribute null

        at com.l2jfrozen.gameserver.script.faenor.FaenorParser.attribute(FaenorP

arser.java:71)

        at com.l2jfrozen.gameserver.script.faenor.FaenorParser.attribute(FaenorP

arser.java:50)

        at com.l2jfrozen.gameserver.script.faenor.FaenorEventParser.parseScript(

FaenorEventParser.java:47)

        at com.l2jfrozen.gameserver.script.faenor.FaenorScriptEngine.parseScript

(FaenorScriptEngine.java:216)

        at com.l2jfrozen.gameserver.script.faenor.FaenorScriptEngine.parsePackag

es(FaenorScriptEngine.java:178)

        at com.l2jfrozen.gameserver.script.faenor.FaenorScriptEngine.<init>(Faen

orScriptEngine.java:63)

        at com.l2jfrozen.gameserver.script.faenor.FaenorScriptEngine.<init>(Faen

orScriptEngine.java:46)

        at com.l2jfrozen.gameserver.script.faenor.FaenorScriptEngine$SingletonHo

lder.<clinit>(FaenorScriptEngine.java:244)

        at com.l2jfrozen.gameserver.script.faenor.FaenorScriptEngine.getInstance

(FaenorScriptEngine.java:56)

        at com.l2jfrozen.gameserver.GameServer.main(GameServer.java:490)

Script Parsing Failed.

 

Anyone can help?

2 answers to this question

Recommended Posts

  • 0
Posted

Faenor engine, as any thing related to XML follow a model, if your stuff moves from the model, you got error. You probably miss a vital parameter, which returned null but shouldn't.

 

Check an existing Faenor script to see how it should be written, or eventually open the engine itself and read how the XML file is supposed to be parse.

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