-
Posts
113 -
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 Pisti95
-
-
I know, but it is an interesting bug.
Lot of people use 34k client with source game + DB.
-
Hi metin2dev,
Today, I find in my clients python scripts soulution, but I found it.
EXP bug, or negative bug in 34k. I thought, that 34k game file is bug, but no. In the client side is bug.
Unbugged tutorial:
uicharacter.pySearch for:
class CharacterWindow(ui.ScriptWindow):
Write above this:
def unsigned32(n): return n & 0xFFFFFFFFL
Search for these strings:
self.GetChild("Exp_Value").SetText(str(player.GetEXP())) self.GetChild("RestExp_Value").SetText(str(player.GetStatus(player.NEXT_EXP) - player.GetStatus(player.EXP)))
Change for these:
self.GetChild("Exp_Value").SetText(str(unsigned32(player.GetEXP()))) self.GetChild("RestExp_Value").SetText(str(unsigned32(player.GetStatus(player.NEXT_EXP)) - unsigned32(player.GetStatus(player.EXP))))
####################################################################################################
uitaskbar.py
Search for:
def LoadMouseButtonSettings():
Write under this:
def unsigned32(n): return n & 0xFFFFFFFFL
You can see this, in default/standard uitaskbar.py
Quotedef LoadMouseButtonSettings():
global MOUSE_SETTINGS
tokens = open("mouse.cfg", "r").read().split()if len(tokens) != 2:
raise RuntimeError, "MOUSE_SETTINGS_FILE_ERROR"MOUSE_SETTINGS[0] = int(tokens[0])
MOUSE_SETTINGS[1] = int(tokens[1])def unsigned32(n):
return n & 0xFFFFFFFFL
class EnergyBar(ui.ScriptWindow):
class TextToolTip(ui.Window):Search for:
curEXP = player.GetStatus(player.EXP) nextEXP = player.GetStatus(player.NEXT_EXP)
Replace these strings:
curEXP = unsigned32(player.GetStatus(player.EXP)) nextEXP = unsigned32(player.GetStatus(player.NEXT_EXP))
##########################################################################################################
uiguild.py
Search for:
class DeclareGuildWarDialog(ui.ScriptWindow):
Write above this:
def unsigned32(n): return n & 0xFFFFFFFFL
Search for:
def __OnClickOfferButton(self):
Replace this string:
curEXP = player.GetStatus(player.EXP)
With this:
curEXP = unsigned32(player.GetStatus(player.EXP))
That's all!
Best Regards,
Pisti95
-
1
-
-
-
This is 34k bug, you increase exp drop and mob_proto mobs' exp drop.
-
Bug fix for your bug.
bool CActorInstance::__IsLeftHandWeapon(DWORD type)
{
if (CItemData::WEAPON_DAGGER == type || (CItemData::WEAPON_FAN == type && __IsMountingHorse()))
return true;
else if (CItemData::WEAPON_BOW == type)
return true;
#ifdef ENABLE_COSTUME_WEAPON
else if (CItemData::COSTUME_WEAPON_DAGGER == type || (CItemData::COSTUME_WEAPON_FAN == type && __IsMountingHorse()))
return true;
else if (CItemData::COSTUME_WEAPON_BOW == type)
return true;
#endif
else
return false;
}
bool CActorInstance::__IsRightHandWeapon(DWORD type)
{
if (CItemData::WEAPON_DAGGER == type || (CItemData::WEAPON_FAN == type && __IsMountingHorse()))
return true;
else if (CItemData::WEAPON_BOW == type)
return false;
#ifdef ENABLE_COSTUME_WEAPON
else if (CItemData::COSTUME_WEAPON_DAGGER == type || (CItemData::COSTUME_WEAPON_FAN == type && __IsMountingHorse()))
return true;
else if (CItemData::COSTUME_WEAPON_BOW == type )
return false;
#endif
else
return true;
}
bool CActorInstance::__IsWeaponTrace(DWORD weaponType)
{
switch(weaponType)
{
case CItemData::WEAPON_BELL:
case CItemData::WEAPON_FAN:
case CItemData::WEAPON_BOW:
#ifdef ENABLE_COSTUME_WEAPON
case CItemData::COSTUME_WEAPON_BELL:
case CItemData::COSTUME_WEAPON_FAN:
case CItemData::COSTUME_WEAPON_BOW:
#endif
return false;
default:
return true;
}
}by Beklir A.
-
1
-
-
sorry, You find in python22.dll or python27.dll
-
In Samurai core v1.2 source
/reload p (extended with shop_item, refine_proto, item_attr, item_attr_rare refresh boards.)
/reload drop (etc_drop_item.txt, mob_drop_item.txt, special_group_item.txt) refresh
/reload group (group.txt, group_group.txt) refresh
/reload regen (regen.txt, npc.txt, stone.txt, boss.txt) refresh
-
Thank you Shogun!
I modified a little in python, that have scroll change color name.
-
Search for in Hex Editor, in your launcher/starter.
Search for:
PyRun_SimpleString
-
Bug fix:
bool CActorInstance::__IsLeftHandWeapon(DWORD type) { if (CItemData::WEAPON_DAGGER == type || (CItemData::WEAPON_FAN == type && __IsMountingHorse())) return true; else if (CItemData::WEAPON_BOW == type) return true; #ifdef ENABLE_COSTUME_WEAPON else if (CItemData::COSTUME_WEAPON_DAGGER == type || (CItemData::COSTUME_WEAPON_FAN == type && __IsMountingHorse())) return true; else if (CItemData::COSTUME_WEAPON_BOW == type) return true; #endif else return false; } bool CActorInstance::__IsRightHandWeapon(DWORD type) { if (CItemData::WEAPON_DAGGER == type || (CItemData::WEAPON_FAN == type && __IsMountingHorse())) return true; else if (CItemData::WEAPON_BOW == type) return false; #ifdef ENABLE_COSTUME_WEAPON else if (CItemData::COSTUME_WEAPON_DAGGER == type || (CItemData::COSTUME_WEAPON_FAN == type && __IsMountingHorse())) return true; else if (CItemData::COSTUME_WEAPON_BOW == type ) return false; #endif else return true; } bool CActorInstance::__IsWeaponTrace(DWORD weaponType) { switch(weaponType) { case CItemData::WEAPON_BELL: case CItemData::WEAPON_FAN: case CItemData::WEAPON_BOW: #ifdef ENABLE_COSTUME_WEAPON case CItemData::COSTUME_WEAPON_BELL: case CItemData::COSTUME_WEAPON_FAN: case CItemData::COSTUME_WEAPON_BOW: #endif return false; default: return true; } }
Source: turkmmo from Beklir A.
-
2
-
-
5 hours ago, Cortana said:
Hi guys. I want to to the following thing, maybe someone can help me?
When you start exchange&safebox, untratable items gonna be red.
Like this:
Help would be nice!
I think, in uiexchange.py and exchangedialog.py is bug, effect.
-
I think 64GB HDD, because SSD fast, but easy die
-
What would you like?
Untradeable effect, or text?
-
1, chance
from 40k source. If you can boutique.
2, chance
34k client to 40k
Change: Starter, root.eix/epk, locale_xy.eix/epk, uiscript.eix/epk and maybe lib folder for 40k files.
-
1
-
-
Ok, I don't understand this question.
You have 2089M game file. When someone kill mobs, and get exp, that the character don't level up?
I think the problem is bad diff.
-
item_names.txt?
In client side too.
-
In constInfo.py you can see this:
ENVIRONMENT_NIGHT="d:/ymir work/environment/moonlight04.msenv"
The night is moonlight04.msenv file.
-
1
-
-
uitooltip.py file?
-
Because in your starter declare this: PyRun_SimpleString
-
-
I wrote for myself.
I will attached.
-
Open uiinventory.py
Search for this class:
class BeltInventoryWindow(ui.ScriptWindow):
You can see Belt system functions and you should remove/delete "Class BeltInventoryWindow(ui.ScriptWindow):" block / part.
-
retrying in 5 secondsmysql_real_connect: Access denied for user 'mt2'@'localhost' (using password: YES)
This step wasn't happen:
Move Mysql > Mysql Files >>> C:/xampp/mysql/data
I think, it works only on localhost, but I installed today
-
Download link: http://djxm2m.com/download/BaroneDjx.rar
Password: www.djxm2m.com
-
1
-
[Bug] import image in python
in Community Support - Questions & Answers
Posted
This is a vertical.