-
Posts
78 -
Joined
-
Last visited
-
Feedback
0%
About 4peppe
- Currently Viewing Topic: [Summary Thread] Programming & Scripts / Systems
- Birthday 02/25/1999
Informations
-
Gender
Male
-
Country
Italy
-
Nationality
Italian
Social Networks
-
Discord
4Peppe#2564
- Website
4peppe's Achievements
-
@blaxis The fix for the problem is the following: go to Client -> src -> UserInterface -> GameType.h // search for typedef struct packet_shop_item // and make sure the order of the variables is as follows typedef struct packet_shop_item { DWORD vnum; DWORD price; BYTE count; BYTE display_pos; long alSockets[ITEM_SOCKET_SLOT_MAX_NUM]; TPlayerItemAttribute aAttr[ITEM_ATTRIBUTE_SLOT_MAX_NUM]; #if defined(__BL_SHOP_SOLD__) // this if with the following variables must be the last char szBuyerName[/*CHARACTER_NAME_MAX_LEN*/24 + 1]; char szBuyTime[19 + 1]; #endif } TShopItemData; go to Server -> game -> src -> packet.h // look for struct packet_shop_item // and make sure the order is the same as the file edited before struct packet_shop_item { DWORD vnum; DWORD price; BYTE count; BYTE display_pos; long alSockets[ITEM_SOCKET_MAX_NUM]; TPlayerItemAttribute aAttr[ITEM_ATTRIBUTE_MAX_NUM]; #if defined(__BL_SHOP_SOLD__) char szBuyerName[CHARACTER_NAME_MAX_LEN + 1]; char szBuyTime[19 + 1]; #endif };
-
official Official Pickup Slot Effect [REVERSED]
4peppe replied to Mali's topic in Features & Metin2 Systems
it works perfectly! Could you tell me how to remove the effect from your system ? -
@ TMP4 i updated the vm as per changelog but when i try to compile i get this error, can you help me? edit: i solved, the problem was (obviously) the depend file i left the old
-
(Python-only)Show potions affects on the affectshower
4peppe replied to MrQuin's topic in Features & Metin2 Systems
Hi, thanks for the release! Unfortunately in my client the icons of the dews are displayed but not of the waters, can you help me? Syerr is empty! EDIT: Fixed: Icon files were missing in my client -
it may be useful to someone it may be useful to someone
-
official Official Pickup Slot Effect [REVERSED]
4peppe replied to Mali's topic in Features & Metin2 Systems
in my case the problem occurs only with automatic potions and/or some items that occupy only 1 slot -
@ Mali
-
official Official Pickup Slot Effect [REVERSED]
4peppe replied to Mali's topic in Features & Metin2 Systems
The system has a bug: if you add it as is the effect will disappear from automatic potions and if there are other items that use this effect. The solution is as follows, you simply need to create a folder called slot1 and add files from 00.sub to 12.sub in it, the files and folder in question can be found in: client->ymir_work->ui->public->slotactiveeffect @ Mali -
Go to the server_src->game->char_item.cpp and search for: case USE_POTION: Comment the line below: item->SetCount(item->GetCount() - 1); // turn it into //item->SetCount(item->GetCount() - 1);
-
Hi, i have found a bug: when you have the mouse on the button, and you press the I to close the inventory, the tooltip remains open, you have to move the mouse from the button and close the inventory to do so that doesn't happen; Here is the fix: look in the file client->root->uiinventory.py, inside class InventoryWindow(ui.ScriptWindow) (it's the third def Close(self) you'll find): def Close(self): self.Hide( add below: if app.ENABLE_SORT_INVEN: for i in xrange(len(self.tooltipInfo)): self.tooltipInfo[i].Hide()
-
Problem with sort inventory
4peppe replied to 4peppe's topic in Community Support - Questions & Answers
I found the solution: look in the file client->root->uiinventory.py, inside class InventoryWindow(ui.ScriptWindow) (it's the third def Close(self) you'll find) : def Close(self): self.Hide() add below: if app.ENABLE_SORT_INVEN: for i in xrange(len(self.tooltipInfo)): self.tooltipInfo[i].Hide() -
Problem with sort inventory
4peppe replied to 4peppe's topic in Community Support - Questions & Answers
up -
Hi all, have installed the sort inventory system by blackdragonx61 and it works perfectly (obviously). The system has only one bug, when you have the mouse over the key and close the inventory with its key the tooltip remains bugged, the only way to remove it is to press again and reopen the inventory. tried to fix it in several ways: tried to put an elif where if you press the the tooltip should close; tried adding an and to the if so that the tooltip should only be shown if the inventory is loaded/opened/shown; tried to add an and to the if so that if the mouse is outside the inventory area it shouldn't show it; Nope, couldn't get it to work. The offending piece of code is this (client, root, uiinventory.py): [Hidden Content] Here are two screenshots with the bugs: [Hidden Content] [Hidden Content] Can some good soul more experienced than me with python help me, please? Thanks in advance to whoever answers me!