Jump to content

hachiwari

Active Member
  • Posts

    299
  • Joined

  • Last visited

  • Days Won

    1
  • Feedback

    0%

Posts posted by hachiwari

  1. 19 godzin temu, zeimpekis9 napisał:

    I changed both at NewPlayerTable (or NewPlayerTable2) and when im connecting it it works fine. But the player does not have available stat points.

    Yes, it's correct, you have to change stat points and hp,sp. 

    like this:

    Cytat

            table->level = 35;

            for (int i = 1; i < 35; ++i)
            {
                int iHP = number(JobInitialPoints[job].hp_per_lv_begin, JobInitialPoints[job].hp_per_lv_end);
                int iSP = number(JobInitialPoints[job].sp_per_lv_begin, JobInitialPoints[job].sp_per_lv_end);
                table->sRandomHP += iHP;
                table->sRandomSP += iSP;
                table->stat_point += 3;
            }

            table->hp += table->sRandomHP;
            table->sp += table->sRandomSP;

     

  2. 2 godziny temu, zeimpekis9 napisał:

    Guys i did that like quesr, but sometimes the quest worked perfectly and sometimes the player created the char but he stayed 1 lvl instead of 75. And he had to delete the char si he can try again and sometimes it worked. So if i change it from input_login does it need quest too? 

     

     

    No need any quest if you change it in input_login.. 

    • Love 1
  3. 10 godzin temu, Torres napisał:

    To achieve a starting level of >1 (assuming Lv30 here), we usually use these two methods:
    1. Use quest to complete, when the new player enters the game for the first time, we give him the experience required for level 30;
    2. In mysql-common--exp_table, set the experience value of 1-30 to 1, so that he only needs to kill a monster to level 30;

    bullshit, it's not a solution, it's workaround.

    @zeimpekis9

    In input_login.cpp find function NewPlayerTable (or NewPlayerTable2 was in oryginal source) and in her body change:

    table->level        = 1;  

  4. 16 godzin temu, HuNterukh napisał:

    Personally I would not suggest you to move your data from .txt files to database tables. 

    Keeping the data in a file like .txt or .csv or whatever allows you to integrate it in a versioning system like Git, which is a great advantage. If your simply don’t like the txt file parser written by Ymir, you can anytime convert to a different markup language like json or xml.

    kek, did you hear about something like eg liquibase?

    • Love 1
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.