hachiwari
-
Posts
299 -
Joined
-
Last visited
-
Days Won
1 -
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Posts posted by hachiwari
-
-
Great! Thanks
Can you reupload zip from?
btw. Where are you from? Not poland? ;3
-
For what??
And select with delete in game, nice idea.
-
Dnia 1.10.2019 o 03:18, ReFresh napisał:
@VegaS™ Is there another way to do it without the #ifdef? I don't want to define something in services.h. I hate these defines. Everytime you add something, you must open the services.h and add define to make it work. xd
bait?
-
Singleton pattern...
Please read about why dont use singleton pattern
..otherwise nice idea!
- 1
-
????
show more, from begin not from #13
- 1
-
22 minuty temu, zeimpekis9 napisał:
so what exactly i change?
I will not give you code for copy and paste.. you have to run brain.exe
-
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:
Cytattable->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 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..
- 1
-
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.
In input_login.cpp find function NewPlayerTable (or NewPlayerTable2 was in oryginal source) and in her body change:
table->level = 1;
-
-
Nice code, i mean about visual clean code. I like it
-
Show 501 line from questlua.cpp
-
wtf, nice shit
- 1
-
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?
- 1
-
nice idea
-
Open Makefile and you have to add in LIBDIR: -L../../liblua/lib, e.g. LIBDIR += -L../../liblua/lib
-
16 godzin temu, Catii napisał:
Im asking myself all the time why dosent the db refresh every 1s feels bad man
Funny
-
You know nothing, rawn3cr0.
-
.. so show yours work and what's not working
-
-
1 godzinę temu, Chyu ^^ napisał:
Are that kind of developer who writes 100 lines of code without any comment?
Good code dont have to comment
-
Wtf? And after 300 seconds dungeon_dead_event will be executed even though you are logged in, because this he dont check if dunegon is empty..
-
Nice piece of shit
-
Text File Loader + JSON
in Tools & Programs
Posted
You write nice code, man