class autoreset 1.34 #73


  • New
  • Defect
  • Accepted
Open
Assigned to destrothegod
  • _ForgeUser4523941 created this issue Feb 5, 2013

    1.) i am join the game, select class mage, bind fireball, thow fireball, exit game and join again - my stats droped to Zero
    2.) repeatable
    3.) Classes.yml http://pastebin.com/eXqewbXy
    4.) No errors in console
    5.) i dont know what to say, see screenshot

  • _ForgeUser4523941 added an attachment 2013-02-06_01.20.08.png Feb 5, 2013

    2013-02-06_01.20.08.png

  • _ForgeUser4523941 added the tags Defect New Feb 5, 2013
  • DestroTheGod posted a comment Feb 5, 2013

    I am unable to duplicate and your class configuration file looks fine.

    I see you have 5 stat points. I see in your config that when a person picks Wizard, they get 6 stat points, "1,1,2,2". Where did the other stat point go? Did you allocate any stat points beforehand? Are they set to automatically allocate and maybe you just "think" they got reset?

  • _ForgeUser4523941 posted a comment Feb 5, 2013

    i dont understand. i must setup 6 stat points in config?

    and i just exit game - why stats reseted? O_o i need always redistribute stat points again on join game? if i whant it distribute manualy?

  • _ForgeUser4523941 removed a tag Waiting Feb 5, 2013
  • _ForgeUser4523941 added a tag Replied Feb 5, 2013
  • DestroTheGod posted a comment Feb 5, 2013

    "i must setup 6 stat points in config?"

    No. But you have 6 stat points setup in your config.

    "and i just exit game - why stats reseted?"

    I have no idea. This doesn't happen for me.

    "i need always redistribute stat points again on join game?"

    I didn't say anything like that, no.

    "if i whant it distribute manualy?"

    No you don't have to do that. I think you entirely misunderstood what I was saying. Could you maybe give translating it another shot? I'm just trying to figure out why you are missing 1 stat point right now because your config says you get 6 for wizard (1,1,2,2 = 6 total) and you have 5 stat points. So either you assigned a stat point or you removed it somehow, or you assigned only 1 stat point, or something happened, I honestly don't know that's why I'm asking if you know.

  • DestroTheGod removed a tag Replied Feb 5, 2013
  • DestroTheGod added a tag Waiting Feb 5, 2013
  • _ForgeUser4523941 posted a comment Feb 5, 2013

    i see... now i setup in config statsPerLevel: 10
    and bug disapearing (i beleave)

    but i dont need 10 poits give players for every level. i want give them 5 point every LEVEL.
    why already distributed points of class depends on it? or its a feature? and all clases became zero+statsPerLevel?

  • _ForgeUser4523941 removed a tag Waiting Feb 5, 2013
  • _ForgeUser4523941 added a tag Replied Feb 5, 2013
  • DestroTheGod posted a comment Feb 5, 2013

    You can set it to less than 10 if you want. It shouldn't matter. I have at no point said anything along the lines of "you need to set it up so you give 10 stat points per level". I'm going to try to ask this one last time and hopefully you will understand me. Please tell me if there is any confusion on your part about this question because I really really really need you to answer this for me.

    The Question: "Where did the 1 missing stat point go in your screenshot. It says you have 5 available. You should have 6 based on your class config."

    If my plugin isn't giving you all 6 stat points AND you have your classes.yml setup to give 6, then that might be (and probably most definately is) the root of this issue.


    Edited Feb 5, 2013
  • _ForgeUser4523941 posted a comment Feb 5, 2013

    "If my plugin isn't giving you all 6 stat points AND you have your classes.yml setup to give 6, then that might be (and probably most definately is) the root of this issue."

    yes it is (i think)

  • DestroTheGod posted a comment Feb 5, 2013

    I see how this is bugging and it's because of the stats you are giving being != 10. I can propose to you a fix:

    Set it so that each class gets the same number of stat points, like 5, or 6, or 4, or 3, or whatever you want. Don't give one class a total of 8 and another a total of 7. After that, go into your balance and set "player.statsPerLevel:" to that number. Basically that's the number that is used in the correction check to make sure that player stat points and spell points are correct. So if you give all the classes 6 points, then set statsPerLevel to 6.

    What is happening is FC_Rpg sees a mage get 6 stat points, and says "this is wrong, the mage should have 10." So FC_Rpg deallocates the stat points. This is what would force people to respec each time they log in.

    I will have a fix for this in the next update so that you can give one class 6, or another class 5, etc.


    Edited Feb 5, 2013
  • DestroTheGod removed a tag Replied Feb 5, 2013
  • DestroTheGod added a tag Started Feb 5, 2013
  • DestroTheGod removed a tag Started Feb 5, 2013
  • DestroTheGod added a tag Accepted Feb 5, 2013

To post a comment, please login or register a new account.