A Project for Chronicle 4 based on L2JServer.


    [BaseStats] File not found: statBonus.xml

    Share

    KolyaPlay

    Posts : 9
    Join date : 2013-05-12

    [BaseStats] File not found: statBonus.xml

    Post  KolyaPlay on 12th May 2013, 12:00

    java.lang.Error: [BaseStats] File not found: statBonus.xml
    at net.sf.l2j.gameserver.skills.BaseStats.<clinit>(BaseStats.java:227)
    at net.sf.l2j.gameserver.skills.Formulas$FuncMaxHpMul.calc(Formulas.java
    :612)
    at net.sf.l2j.gameserver.skills.Calculator.calc(Calculator.java:183)
    at net.sf.l2j.gameserver.model.actor.stat.CharStat.calcStat(CharStat.jav
    a:89)
    at net.sf.l2j.gameserver.model.actor.stat.CharStat.getMaxHp(CharStat.jav
    a:243)
    at net.sf.l2j.gameserver.model.actor.stat.PcStat.getMaxHp(PcStat.java:25
    Cool
    at net.sf.l2j.gameserver.model.L2Character.getMaxHp(L2Character.java:578
    6)
    at net.sf.l2j.gameserver.model.L2Character.initCharStatusUpdateValues(L2
    Character.java:284)
    at net.sf.l2j.gameserver.model.actor.instance.L2PcInstance.<init>(L2PcIn
    stance.java:938)
    at net.sf.l2j.gameserver.model.actor.instance.L2PcInstance.create(L2PcIn
    stance.java:740)
    at net.sf.l2j.gameserver.clientpackets.CharacterCreate.runImpl(Character
    Create.java:156)
    at net.sf.l2j.gameserver.clientpackets.ClientBasePacket.run(ClientBasePa
    cket.java:85)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    avatar
    DnR
    Admin
    Admin

    Posts : 1027
    Join date : 2012-12-03

    Re: [BaseStats] File not found: statBonus.xml

    Post  DnR on 12th May 2013, 15:06

    In Datapack, there are 2 xml files called statBonus. One in stats folder, and one in xsd folder. I think you are missing those.

    KolyaPlay

    Posts : 9
    Join date : 2013-05-12

    Re: [BaseStats] File not found: statBonus.xml

    Post  KolyaPlay on 12th May 2013, 20:43

    DnR wrote:In Datapack, there are 2 xml files called statBonus. One in stats folder, and one in xsd folder. I think you are missing those.

    These files there
    avatar
    DnR
    Admin
    Admin

    Posts : 1027
    Join date : 2012-12-03

    Re: [BaseStats] File not found: statBonus.xml

    Post  DnR on 12th May 2013, 22:41

    KolyaPlay wrote:
    DnR wrote:In Datapack, there are 2 xml files called statBonus. One in stats folder, and one in xsd folder. I think you are missing those.

    These files there

    Is this the whole error?
    Maybe you miss some lines?

    KolyaPlay

    Posts : 9
    Join date : 2013-05-12

    Re: [BaseStats] File not found: statBonus.xml

    Post  KolyaPlay on 13th May 2013, 14:38

    Error comes when creating chara, no other errors

    error handling client message [C] 0D CharacterSelected
    java.lang.Error: [BaseStats] File not found: statBonus.xml
    at net.sf.l2j.gameserver.skills.BaseStats.<clinit>(BaseStats.java:227)
    at net.sf.l2j.gameserver.skills.Formulas$FuncMaxHpMul.calc(Formulas.java
    :612)
    at net.sf.l2j.gameserver.skills.Calculator.calc(Calculator.java:183)
    at net.sf.l2j.gameserver.model.actor.stat.CharStat.calcStat(CharStat.jav
    a:89)
    at net.sf.l2j.gameserver.model.actor.stat.CharStat.getMaxHp(CharStat.jav
    a:243)
    at net.sf.l2j.gameserver.model.actor.stat.PcStat.getMaxHp(PcStat.java:25
    Cool
    at net.sf.l2j.gameserver.model.L2Character.getMaxHp(L2Character.java:578
    6)
    at net.sf.l2j.gameserver.model.L2Character.initCharStatusUpdateValues(L2
    Character.java:284)
    at net.sf.l2j.gameserver.model.actor.instance.L2PcInstance.<init>(L2PcIn
    stance.java:938)
    at net.sf.l2j.gameserver.model.actor.instance.L2PcInstance.restore(L2PcI
    nstance.java:5847)
    at net.sf.l2j.gameserver.model.actor.instance.L2PcInstance.load(L2PcInst
    ance.java:904)
    at net.sf.l2j.gameserver.ClientThread.loadCharFromDisk(ClientThread.java
    :432)
    at net.sf.l2j.gameserver.clientpackets.CharacterSelected.runImpl(Charact
    erSelected.java:92)
    at net.sf.l2j.gameserver.clientpackets.ClientBasePacket.run(ClientBasePa
    cket.java:85)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)

    Error on network read, player disconnected? (nullpointer, couldn't get player na
    me)
    avatar
    DnR
    Admin
    Admin

    Posts : 1027
    Join date : 2012-12-03

    Re: [BaseStats] File not found: statBonus.xml

    Post  DnR on 14th May 2013, 12:23

    Which java version are you using? The problem is not with files missing but with parser.
    Also, have you done any changes to these files?

    KolyaPlay

    Posts : 9
    Join date : 2013-05-12

    Re: [BaseStats] File not found: statBonus.xml

    Post  KolyaPlay on 15th May 2013, 14:54

    jre7, jdk1.7.0_21 did not make any changes
    avatar
    DanielaCZ

    Posts : 507
    Join date : 2013-01-07
    Age : 27
    Location : Newcastle Upon Tyne

    Re: [BaseStats] File not found: statBonus.xml

    Post  DanielaCZ on 15th May 2013, 19:29

    Error: [BaseStats] File not found: statBonus.xml :-)
    go to server foldoer data and put there ffoldoer xsd from datapack because this error is primitive this not wrong in server but in your folder gameserver/data/xsd/statBonus.xm this fille check if you have not folder xsd u find it in datapack.
    avatar
    DnR
    Admin
    Admin

    Posts : 1027
    Join date : 2012-12-03

    Re: [BaseStats] File not found: statBonus.xml

    Post  DnR on 16th May 2013, 17:53

    He said he has all files.
    So everything is pretty fine, and server should run without errors.

    KolyaPlay,
    please post here your server' s directory. For instance, it could be C:/Program Files/L2Blabla


    Last edited by DnR on 17th May 2013, 13:56; edited 1 time in total
    avatar
    DanielaCZ

    Posts : 507
    Join date : 2013-01-07
    Age : 27
    Location : Newcastle Upon Tyne

    Re: [BaseStats] File not found: statBonus.xml

    Post  DanielaCZ on 16th May 2013, 18:56

    1:
    /michaela/lisvus/

    2:
    /michaela/lisvus/gameserver/

    3:
    /michaela/lisvus/gameserver/data/

    4:
    /michaela/lisvus/gameserver/data/xsd/

    KolyaPlay

    Posts : 9
    Join date : 2013-05-12

    Re: [BaseStats] File not found: statBonus.xml

    Post  KolyaPlay on 18th May 2013, 12:50

    understood
    avatar
    DnR
    Admin
    Admin

    Posts : 1027
    Join date : 2012-12-03

    Re: [BaseStats] File not found: statBonus.xml

    Post  DnR on 18th May 2013, 14:12

    KolyaPlay wrote:understood

    If everything is fine but you still get this error, please do as i say.
    Post here your server directory. Example given: C:/gfgfgf/gfg/Server.
    Core might not be able to parse files because of a bad directory.
    A bad directory could for example lead to a folder with its name written in a language different from English.
    That' s also a possibility.

    roko91

    Posts : 238
    Join date : 2013-01-30
    Age : 26
    Location : Bulgaria

    Re: [BaseStats] File not found: statBonus.xml

    Post  roko91 on 18th May 2013, 15:40

    I agree ... it's best you server dir to be C:/Server for example to avoid that sort of problems Smile

    Sponsored content

    Re: [BaseStats] File not found: statBonus.xml

    Post  Sponsored content


      Current date/time is 18th October 2017, 10:11