-
Posts
78 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Posts posted by SorinSmon
-
-
Hello guys..
A little help? is a simple quest i think..
A quest with "item use" uses to spawn a random boss from the list quest.. just x1 not all and from a list of idk 5-10 boss. and to spawn close by the player when the player use that item to disappear after.
-
21 hours ago, iFreakTime~.~ said:
Hmm.. I will test something in my test server and i come with a solution.
test it because if you use same gaya system like me you will have a problem.. and is a BIG problem can destroy the hole gameplay this little function.
PS: is a high chance to have same system gaya like me.. because i ask a friend and he builds the gameplay with gaya and guesses what.. this friend have the same problem as me and he didn't notice.. test it also for you sir on your server to see if is the same. (OFICIAL WORKS IS: after buying an item to replace with another.. but for me, i like also do not have access to buy another or to remain an empty slot.. one of this all 3 is perfect)
-
-
4 hours ago, iFreakTime~.~ said:
With original function you will get the correct item ?
yep.. but i need something like after a player buy a item to be unable to buy again same item or to remain after a empty slot or replace with another item.. something like this.. i hope you can come with a method sir
-
-
On 1/10/2020 at 9:16 PM, ManiacRobert said:
void CHARACTER::GemShopBuy(BYTE bPos) { if (bPos >= GEM_SLOTS_MAX_NUM){ ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Gaya] Slot overflow.")); return; } DWORD dwVnum = CShopManager::instance().GemShopGetVnumById(m_gemItems[bPos].bItemId); BYTE bCount = CShopManager::instance().GemShopGetCountById(m_gemItems[bPos].bItemId); DWORD dwPrice = CShopManager::instance().GemShopGetPriceById(m_gemItems[bPos].bItemId); if (GetGem() < (int) dwPrice){ ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Gaya] Nu ai suficient Gaya.")); return; } if(m_gemItems[bPos].bSlotStatus == 1){ ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Gaya] Acest slot nu este deblocat.")); return; } LPITEM item = AutoGiveItem(dwVnum, bCount); if(item) PointChange(POINT_GEM, -dwPrice, false); RefreshGemShopItems(); }
Hello sir. thanks for trying to help me with this little problem!
UPDATE: i test this code and no result..
-
1 hour ago, iFreakTime~.~ said:
Try this https://pastebin.com/f42V8mHj
the same sir.. same like on first gif..
-
-
On 1/10/2020 at 2:42 AM, iFreakTime~.~ said:
Easiest solution ? Refresh the whole shop when someone buys something.
Search in game/char.cpp in void CHARACTER::GemShopBuy(BYTE bPos)
LPITEM item = ITEM_MANAGER::instance().CreateItem(dwVnum, bCount);
if(item){
add before }
RefreshGemShopItems();
respect sir for answer ty for helping me but now another little problem
- 1
-
hmm.. i like to see my idea start to have so many different methods of implementation... Thanks all for doing this! respect.
Another idea for you guys xD and this can be a little complicated i think
"The storage can now be opened without the password. In addition, it will not close automatically as soon as you run a bit."
-
Hello, dear community!
I come here with this problem... and i dont have any idea how to solve it..
Video:
Hmm, how to explain.. i want after the player x buy the item he chooses.. to disappear the item or appear another...
And if you ask why.. is simple they will exploit on this.. they gather 999 gaya and wait for the best item to appear and buy with all gaya money the same item over and over.. and destroy the whole concept of gaya system.. and is sadAny help guys please?
- 1
- 1
-
yep good idea sir! xD
-
-
idk if will solve your problem but i will fix you another bug but try also this so see if have any effect .. what i give you now is only the fix for storage and work the same
lets start:
Search in input_main.cpp
Quoteif (!pkSafebox || !pkItem) return;
and bellow add:
Quoteif (pkItem->IsEquipped() && pkItem->GetType() == ITEM_WEAPON && ch->GetWear(WEAR_COSTUME_WEAPON)) { if (!ch->UnequipItem(ch->GetWear(WEAR_COSTUME_WEAPON))) return; }
ALSO for pickaxe and fishrod
Search in char_item.cpp:
else if (item->GetValue(3) != pkItem->GetSubType()) { ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<Weapon System> Arma din inventar si aceasta nu coincid,trebuie sa fie acelasi tip.")); return false; }
and bellow add:
else if(pkItem->GetType() == ITEM_ROD){ ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<Weapon System> Unditele nu au skin (-_-).")); return false; }else if(pkItem->GetType() == ITEM_PICK){ ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<Weapon System> Tarnacoapele nu au skin (-_-).")); return false; }
- 1
-
https://metin2.download/picture/r3F9504x09DVmF8K988YXgTtGTP6KMUj/.gif
how i fix both to work correctly?
-
Hello guys..
Anyone have a link or have the files for the official select character? i try to use the link from up.. and is not complete I try to make it work but no any success
i know is a old topic but if anyone have the full resource of this beautiful select character will be nice.
-
gj sir!
-
5 minutes ago, HITRON said:
You can check my topic, there is a complete version of it with the best quality of the mark.
https://metin2.dev/board/index.php?/topic/22517-rls-minimap-whitemark
ty sir!
-
@Nevisor ty sry for this release. is perfect for mobs / npc / players! ty both.. for me is important this change because my map 1 is more clean.. i remove what is unnecessary and i keep what is good! highly respect.
-
21 hours ago, JarajTo said:
Well..
Image --> etc/ui/minimap/whitemark.sub
Color --> root/colorinfo.py = CHR_NAME_RGB_NPC
ty sir for reply.. i try but not succes.. can you guide me more sir?
-
I dont have any idea where to get this resource.. any help?
-
https://metin2.download/picture/r3F9504x09DVmF8K988YXgTtGTP6KMUj/.gif
Hello a little help with this fix?
I want to make to work also with right click..
any help?
-
also curious if even exist..
File Requests
in File Requests
Posted · Edited by Metin2 Dev
Core X - External 2 Internal
this full?(i dont need lycan part)
and this
please?