-
Posts
79 -
Joined
-
Last visited
-
Days Won
1 -
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Everything posted by SamuraiHUN
-
Thanks for this information!
-
[Collector's topic] Remove Unussed code
SamuraiHUN replied to SamuraiHUN's topic in Programming & Scripts
@Update001: teen_packet added. @Update002: check_server (libserverkey) added. -
help problem with game
SamuraiHUN replied to fizzlesticks's topic in Community Support - Questions & Answers
Error: NO module named livaria2appmodul This module cannot be found. Userinterface.cpp,stdafx.h or python file is not in place. -
Amazing job bro! ^^
-
open game/cmd_gm.cpp Search this function: ACMD(do_dragon_soul) extend with this: case 'r': { if (ch->DragonSoul_IsQualified()) ch->DragonSoul_RefineWindow_Open(ch); } break; open locale_interface.txt add this: DRAGONSOUL_REFINE_BUTTON Refine open root/dragonsoulwindow.py Search this: { "name" : "activate", "type" : "toggle_button", "x" : 217, "y" : 492, "text" : uiScriptLocale.DRAGONSOUL_ACTIVATE, "default_image" : "d:/ymir work/ui/dragonsoul/m_button01.tga", "over_image" : "d:/ymir work/ui/dragonsoul/m_button02.tga", "down_image" : "d:/ymir work/ui/dragonsoul/m_button03.tga", }, add under this: { "name" : "refine_button", "type" : "button", "x" : 150, "y" : 492, "text" : uiScriptLocale.DRAGONSOUL_REFINE_BUTTON, "default_image" : "d:/ymir work/ui/dragonsoul/m_button01.tga", "over_image" : "d:/ymir work/ui/dragonsoul/m_button02.tga", "down_image" : "d:/ymir work/ui/dragonsoul/m_button03.tga", }, open root/uidragonsoul.py search this: self.activateButton = self.GetChild("activate") add under this: self.refineButton = self.GetChild("refine_button") search this: self.activateButton.SetToggleUpEvent(ui.__mem_func__(self.ActivateButtonClick)) add under this: self.refineButton.SetEvent(ui.__mem_func__(self.RefineButtonClick)) search this: def ActivateButtonClick(self): self.isActivated = self.isActivated ^ True if self.isActivated: if self.__CanActivateDeck(): net.SendChatPacket("/dragon_soul activate " + str(self.deckPageIndex)) else: self.isActivated = False self.activateButton.SetUp() else: net.SendChatPacket("/dragon_soul deactivate") add under this: def RefineButtonClick(self): net.SendChatPacket("/dragon_soul refinewindow")
-
[Collector's topic] Remove Unussed code
SamuraiHUN replied to SamuraiHUN's topic in Programming & Scripts
@tutorial fixed <- in db.cpp + db.h. In client i didn't see definition of bill/billing. -
Player Profile With Kill Statistics
SamuraiHUN replied to enginne's topic in Community Support - Questions & Answers
common/tables. SPlayerTable add the function. example: long long free_shinsoo_kills, free_chunjo_kills, free_jinno_kills, free_pvp_deads, duels_win, duels_lost, kills_monster, kill bosses, kills_stones; -
[Collector's topic] Remove Unussed code
SamuraiHUN replied to SamuraiHUN's topic in Programming & Scripts
@ r00t3r thank you the anwser, i now fixed the tutorial. #Update001: Added matrix_card remove #Update002: Added sms | mobile remove -
[Collector's topic] Remove Unussed code
SamuraiHUN replied to SamuraiHUN's topic in Programming & Scripts
In github added new removed functions ( Billing ) today toDo: mobile | sms, matrixcard) -
[Collector's topic] Remove Unussed code
SamuraiHUN replied to SamuraiHUN's topic in Programming & Scripts
Yes I removed too, but I think it's a good initiative for people who haven't removed it but want to. -
[Collector's topic] Remove Unussed code
SamuraiHUN replied to SamuraiHUN's topic in Programming & Scripts
Yes i make tutorial, but i upload to github. I need 2 day to write tutorial. [Hidden Content] #Included passpod + openid- 37 replies
-
- 115
-
[Collector's topic] Remove Unussed code
SamuraiHUN replied to SamuraiHUN's topic in Programming & Scripts
I think we don't need talk anymore. -
[Collector's topic] Remove Unussed code
SamuraiHUN replied to SamuraiHUN's topic in Programming & Scripts
Why be there unnecessarily? -
Hi guys, I created this topic to have a collection topic about removing unnecessary code. blocked_country_ip Limit_time More removed code:
- 37 replies
-
- 432
-
you extend this function in cube.cpp? void Cube_add_item (LPCHARACTER ch, int cube_index, int inven_index) in my code: #ifdef __SPECIAL_INVENTORY_SYSTEM__ if (inven_index < 0 || INVENTORY_MAX_NUM + SKILL_BOOK_INVENTORY_MAX_NUM + UPGRADE_ITEMS_INVENTORY_MAX_NUM + STONE_INVENTORY_MAX_NUM + GIFT_BOX_INVENTORY_MAX_NUM + CHANGERS_INVENTORY_MAX_NUM <= inven_index) return; #else if (inven_index < 0 || INVENTORY_MAX_NUM <= inven_index) return; #endif
-
Yeah i forgeted, thank you the anwser, dear @ Helia01
-
uimessenger.py search this: def OnScroll(self): scrollLineCount = len(self.showingItemList) - (self.showingPageSize/20) startLine = int(scrollLineCount * self.scrollBar.GetPos()) if startLine != self.startLine: self.startLine = startLine self.__LocateMember() add under this: def OnRunMouseWheel(self, nLen): if nLen > 0: self.scrollBar.OnUp() else: self.scrollBar.OnDown() uiwhisper.py search this: def OnScroll(self): chat.SetWhisperPosition(self.targetName, self.scrollBar.GetPos()) add under this: def OnRunMouseWheel(self, nLen): if nLen > 0: self.scrollBar.OnUp() else: self.scrollBar.OnDown() uiselectmusic.py search this: def __OnRefresh(self): self.__RefreshFileList() add under this: def OnRunMouseWheel(self, nLen): self.fileListBox.RunMouseWheel(nLen)
-
[Hidden Content]
-
100%recommended
-
uicharacterdetails.py search this.: def OnScroll(self): self.RefreshLabel() add under this: def OnRunMouseWheel(self, nLen): if nLen > 0: self.ScrollBar.OnUp() else: self.ScrollBar.OnDown()
-
Download Metin2 Download Hi, this is about how you can add multiple status points at the same time. [Hidden Content]