-
Posts
356 -
Joined
-
Last visited
-
Days Won
3 -
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Everything posted by Hunger
-
Exygo's service (C++ systems, Quests, Python)
Hunger reviewed Exygo's product in Third Party - Providers Directory
Lovely guy. Sometimes he cracks a joke here and there and i pretend i like it just for the sake of our friendship. Fast response and besides the custom work he also helps a lot. Recommended! -
There should be a refresh also in interfacemodule.py. Check that.
-
How to remove slotmark from selling items
Hunger replied to ShyD's topic in Community Support - Questions & Answers
I think the attach works with both right and left click. So you only need to make the item attach on left click and not right. Try pressing right click and drag an item to test the theory. I can’t remember well. i am not sure about the item 0 error. Do you get it when you sell? -
How to remove slotmark from selling items
Hunger replied to ShyD's topic in Community Support - Questions & Answers
It’s showing red because you actually drag the item over the other ones. The white one appears because you attach the item to your cursor. -
Many months later ... [Hidden Content]
-
Some dudes from Webzen decided to better send npc’s from a file instead of the server but there are self-named developers like you installing every single system/release from porkmmo just to look better nevermind performance. They didn’t change that just for Penger so he can crack the code they were trying to fix old stupid code. But yes, you are better than Webzen’s developers. He should do as you tell him to because: yes.
-
Check localeInfo.py
-
That page has lots of bugs. Try activate the enchanted blade for sura and then switch to horse page then back. The activate effect goes off. A complete re-write would be a fix.
-
PK protection applies only in your empire. Sometimes i wonder if any of you know how this game works.
-
hello im have bug system title VegaS
Hunger replied to Metooa's topic in Community Support - Questions & Answers
He is crying still for the past 6 hours what have you done!!!!!! -
Just do what everybody else did. IGNORE IT. I don’t think it’s such a big deal.
-
Activate all potions in the belt inventory
Hunger replied to Hunger's topic in Features & Metin2 Systems
I don't think what i've posted can cause this problem. [Hidden Content] -
DO NOT use that launcher or you will cry (just saying).
-
Wtf rumenia
-
I saw this feature on a romanian private server. To avoid the spam you could do a countdown timer to disable the button for 10 seconds or whatever. Demo: [Hidden Content] uiinventory.py: self.wndBeltInventoryLayer = None self.wndBeltInventorySlot = None self.expandBtn = None self.minBtn = None ##activateall self.UseItemBelt = None self.expandBtn = self.GetChild("ExpandBtn") self.minBtn = self.GetChild("MinimizeBtn") ##activateall self.UseItemBelt = self.GetChild("UseBeltItemsButton") self.expandBtn.SetEvent(ui.__mem_func__(self.OpenInventory)) self.minBtn.SetEvent(ui.__mem_func__(self.CloseInventory)) ##activateall self.UseItemBelt.SetEvent(self.ActivateAll) self.wndBeltInventorySlot.RefreshSlot() ##activateall def ActivateAll(self): for i in xrange(item.BELT_INVENTORY_SLOT_COUNT): slotNumber = item.BELT_INVENTORY_SLOT_START + i net.SendItemUsePacket(slotNumber) Beltinventorywindow.py: import uiScriptLocale import item EQUIPMENT_START_INDEX = 90 BUTTON_ROOT = "d:/ymir work/ui/public/" window = { "name" : "BeltInventoryWindow", ## 600 - (width + 오른쪽으로 부터 띄우기 24 px) "x" : SCREEN_WIDTH - 176 - 148, "y" : SCREEN_HEIGHT - 37 - 565 + 209 + 32, # "x" : -148, # "y" : 241, "width" : 148, "height" : 169, "type" : "image", "image" : "d:/ymir work/ui/game/belt_inventory/bg.tga", "children" : ( ## Expand Buttons { "name" : "ExpandBtn", "type" : "button", "x" : 2, "y" : 15, "default_image" : "d:/ymir work/ui/game/belt_inventory/btn_expand_normal.tga", "over_image" : "d:/ymir work/ui/game/belt_inventory/btn_expand_over.tga", "down_image" : "d:/ymir work/ui/game/belt_inventory/btn_expand_down.tga", "disable_image" : "d:/ymir work/ui/game/belt_inventory/btn_expand_disabled.tga", }, ## Belt Inventory Layer (include minimize button) { "name" : "BeltInventoryLayer", # "type" : "board", # "style" : ("attach", "float"), "x" : 5, "y" : 0, "width" : 148, "height" : 169, "children" : ( ## Minimize Button { "name" : "MinimizeBtn", "type" : "button", "x" : 2, "y" : 15, "width" : 10, "default_image" : "d:/ymir work/ui/game/belt_inventory/btn_minimize_normal.tga", "over_image" : "d:/ymir work/ui/game/belt_inventory/btn_minimize_over.tga", "down_image" : "d:/ymir work/ui/game/belt_inventory/btn_minimize_down.tga", "disable_image" : "d:/ymir work/ui/game/belt_inventory/btn_minimize_disabled.tga", }, ## Real Belt Inventory Board { "name" : "BeltInventoryBoard", "type" : "board", "style" : ("attach", "float"), "x" : 10, "y" : 0, "width" : 138, "height" : 169, "children" : ( ## Belt Inventory Slots { "name" : "BeltInventorySlot", "type" : "grid_table", "x" : 5, "y" : 5, "start_index" : item.BELT_INVENTORY_SLOT_START, "x_count" : 4, "y_count" : 4, "x_step" : 32, "y_step" : 32, "image" : "d:/ymir work/ui/public/Slot_Base.sub" }, ##activateall { "name" : "UseBeltItemsButton", "type" : "button", "x" : 0, "y" : 138, "horizontal_align" : "center", "default_image" : BUTTON_ROOT + "AcceptButton00.sub", "over_image" : BUTTON_ROOT + "AcceptButton01.sub", "down_image" : BUTTON_ROOT + "AcceptButton02.sub", }, ), }, ) }, ), } I’m not a python expert so if you can improve the code you are welcome to do so.
-
How can I change the bar from Character Stats
Hunger replied to cirlanalex's topic in Community Support - Questions & Answers
Ui/characterdetails.py -
How to +9 weapon effect on specific vnums
Hunger replied to Jimmermania's topic in Community Support - Questions & Answers
Set the last number to 9 in the vnum and socket 3. -
unequip costume when change sex
Hunger replied to Jordan's topic in Community Support - Questions & Answers
You’ll need to check the empty space too before using the sex change item. -
check if potion is already active
Hunger replied to Jordan's topic in Community Support - Questions & Answers
Check if the affect is active then return. char_item.cpp: example: case APPLY_ATT_SPEED: if (FindAffect(AFFECT_ATT_SPEED, POINT_ATT_SPEED)) { ChatPacket(CHAT_TYPE_INFO, LC_TEXT("이미 효과가 걸려 있습니다.")); return false; } else { AddAffect(AFFECT_ATT_SPEED, POINT_ATT_SPEED, item->GetValue(2), AFF_ATT_SPEED_POTION, item->GetValue(1), 0, true); #ifdef ENABLE_EFFECT_EXTRAPOT EffectPacket(SE_SPEEDUP_GREEN); #endif } break;