Jump to content

Recommended Posts

7 minutes ago, backtop said:

yes its set like that

same here

both entrys are right... do i miss something in source? 

shop.h

typedef struct shop_item
		{
			DWORD	vnum;		// 아이템 번호
			long	price;		// 가격
			WORD	count;		// 아이템 개수

			LPITEM	pkItem;
			int		itemid;		// 아이템 고유아이디

			shop_item()
			{
				vnum = 0;
				price = 0;
				count = 0;
				itemid = 0;
				pkItem = NULL;
			}
		} SHOP_ITEM;
packet.h

struct packet_shop_item
{   
	DWORD       vnum;
	DWORD       price;
	WORD        count;
	BYTE		display_pos;
	long	alSockets[ITEM_SOCKET_MAX_NUM];
	TPlayerItemAttribute aAttr[ITEM_ATTRIBUTE_MAX_NUM];
};

 

leave me a message on discord and I will help you 

  • Love 1
Link to comment
https://metin2.dev/topic/8968-extend-stack-items/page/3/#findComment-158686
Share on other sites

  • 5 months later...

hello bro

please help me 

i did everything but i got error

when i run the channels if found that item_count_limit = 44

i set in item_length item_max_count = 300

help me please https://metin2.download/picture/xF2Nnt6Kl1vi98d4YQrQ27IrQIt6PCsX/.png

Edited by Metin2 Dev International
Core X - External 2 Internal
Link to comment
https://metin2.dev/topic/8968-extend-stack-items/page/3/#findComment-162078
Share on other sites

17 minutes ago, xsparterx1 said:

hello bro

please help me 

i did everything but i got error

when i run the channels if found that item_count_limit = 44

i set in item_length item_max_count = 300

help me please https://metin2.download/picture/xF2Nnt6Kl1vi98d4YQrQ27IrQIt6PCsX/.png

write me a message on discord : [Kapa3a]#4117 

Link to comment
https://metin2.dev/topic/8968-extend-stack-items/page/3/#findComment-162080
Share on other sites

  • 1 year later...
  • 3 weeks later...
On 3/1/2025 at 3:50 PM, astroNOT said:

For marty's files you need to go to s3ll_svfiles/main/gen_settings.py and change value for "ITEM_COUNT_LIMIT"

then python admin_console.py gen

else it will only stack up to 250

I adapted it to marty's files and changed gen_settings to 2000 and before i do that it was stacking up to 250 but after i changed it, it started to stack it up to 208 and i dont know why. 

 

Edit: I realised that i can no longer do damage to mobs, i suppose being a developer is not for me xd 

Edited by pOi
  • Metin2 Dev 1
Link to comment
https://metin2.dev/topic/8968-extend-stack-items/page/3/#findComment-169933
Share on other sites

  • 2 weeks later...
On 3/17/2025 at 1:36 AM, pOi said:

I adapted it to marty's files and changed gen_settings to 2000 and before i do that it was stacking up to 250 but after i changed it, it started to stack it up to 208 and i dont know why. 

 

Edit: I realised that i can no longer do damage to mobs, i suppose being a developer is not for me xd 

Take a step back, its ok, its how it is in the beginning, and especially when u copy pasting code that u dont undestand

But reality is sometimes u dont have enough time to understand everything

One thing that will help you, especially in trial and error is git, learn git, create a new branch from master (a branch that is always stable) and try things like that, the plus side here is you can always rever to master branch which has stable code, you just made a copy pasting mistake most likely so no fuss here, remember to relax and enjoy it, if u enjoy just one file change, thats all you gotta do

Link to comment
https://metin2.dev/topic/8968-extend-stack-items/page/3/#findComment-170104
Share on other sites

  • 2 months later...

Hi,

I managed to adapt everything, it's look like the stack stay 2000 but i have find the next issue.

When i try to sell something to NPC, when i take the item and drop it into the NPC window to sell it the client disconnect me down to login page. There is no error generated in syserr...

 

Does anyone know from where ca be the problem?

Link to comment
https://metin2.dev/topic/8968-extend-stack-items/page/3/#findComment-171226
Share on other sites

  • 4 months later...

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.