DirectX 9 - Mainline Server Files
The property generator is broken
05 Iun 2025, 17:13
[C++/Py] Ingame Patchnote Window
there in resources are missing, if this error occur just follow this:
1.
PatchNoteWindow.LoadWindow.BindObject - <type 'exceptions.NameError'>:global name 'pack_open' is not defined
uipatchnotes.py
def BuildPatchnotes(self):
try:
patchnotes = pack_open("%s/patchnotes.txt" % app ...
1.
PatchNoteWindow.LoadWindow.BindObject - <type 'exceptions.NameError'>:global name 'pack_open' is not defined
uipatchnotes.py
def BuildPatchnotes(self):
try:
patchnotes = pack_open("%s/patchnotes.txt" % app ...
03 Ian 2025, 08:59
[C++] Regenereare HP 100% cand dai respawn
Percentage Health
float regenPercentage = 0.20f; // 20%
int amountToRegen = static_cast<int>(ch->GetMaxHP() * regenPercentage);
int newHP = ch->GetHP() + amountToRegen;
if (newHP > ch->GetMaxHP()) {
newHP = ch->GetMaxHP();
}
ch->PointChange(POINT_HP, newHP - ch->GetHP());
float regenPercentage = 0.20f; // 20%
int amountToRegen = static_cast<int>(ch->GetMaxHP() * regenPercentage);
int newHP = ch->GetHP() + amountToRegen;
if (newHP > ch->GetMaxHP()) {
newHP = ch->GetMaxHP();
}
ch->PointChange(POINT_HP, newHP - ch->GetHP());
01 Ian 2025, 12:04
[C++] Remove bonus limit
Hi, you don't remove the limit, you just change it.
to remove it completely change it like this:
1. In char.cpp search
case POINT_MALL_ATTBONUS:
case
POINT_MALL_DEFBONUS: case POINT_MALL_EXPBONUS:
case POINT_MALL_ITEMBONUS:
case POINT_MALL_GOLDBONUS:
case POINT_MELEE_MAGIC_ATT_BONUS_PER:
if ...
to remove it completely change it like this:
1. In char.cpp search
case POINT_MALL_ATTBONUS:
case
POINT_MALL_DEFBONUS: case POINT_MALL_EXPBONUS:
case POINT_MALL_ITEMBONUS:
case POINT_MALL_GOLDBONUS:
case POINT_MELEE_MAGIC_ATT_BONUS_PER:
if ...
01 Ian 2025, 11:45