Jump to content

[ Dead Download Link ] [C++] 6 inventory safebox [ We Need You ]


Recommended Posts

  • 3 weeks later...
  • 2 months later...
  • 1 month later...
  • 2 months later...
  • Forum Moderator
vor 59 Minuten schrieb ReFresh:

Can someone fix it?

I think we have at the moment not enough programmers here on metin2dev what would spend time to fix it :(

Best regards
Raylee

  • 5 months later...

Hi guys, I've tried to put this on my server, it wasn't working so well with 6 pages, so I reduced it to just 5, and it worked perfectly but I've got a bug, when I try o take an item from the mall storeroom I get DC. So I've been thinking... The storage is an original part of Metin2, can't we just "expand" the number of pages with 2 or 3 simple changes?

  • 2 months later...
  • Active Member

I made it working for 550 slots but I can't use it for 600 slots. I can't move items on slots higher than 550 and I can't move items in safebox i must move them into a inventory and then again to safebox. Someone have fix for it?

I'll be always helpful!  😉

  • 3 months later...

9*5*6 = 270
DWORD's limit = 255..

Change DWORD to int.

 

bool CSafebox::IsEmpty(DWORD dwPos, BYTE bSize)

//Replace with: bool CSafebox::IsEmpty(DWORD dwPos, DWORD bSize)

 

Remplace with :

Code:

bool CSafebox::IsEmpty(int dwPos, int bSize)

7 hours ago, genezis said:

DWORD's limit = 255..

Change DWORD to int. 

255 is byte's max value.

05ff4e0608.png

https://docs.microsoft.com/en-us/windows/desktop/WinProg/windows-data-types

On 8/16/2017 at 1:05 PM, kordel33 said:

I have bug with 6th slot ?

this is a general word, you have to be more specific.

 

 

Edited by Metin2 Dev
Core X - External 2 Internal
  • Love 1
  • Active Member
8 godzin temu, genezis napisał:

9*5*6 = 270
DWORD's limit = 255..

Change DWORD to int.

 

bool CSafebox::IsEmpty(DWORD dwPos, BYTE bSize)

//Replace with: bool CSafebox::IsEmpty(DWORD dwPos, DWORD bSize)

 

Remplace with :

Code:

bool CSafebox::IsEmpty(int dwPos, int bSize)

X D

  • Love 2
hace 1 hora, metin2team dijo:

255 is byte's max value.

05ff4e0608.png

https://docs.microsoft.com/en-us/windows/desktop/WinProg/windows-data-types

this is a general word, you have to be more specific.

 

hace 1 hora, metin2team dijo:

 

 

 

The bug is:

 

- Have only 256 Slot (From 0 to 255)

So the last 3 lines of slot doesen't work. doesen't take item.

Justo ahora, genezis dijo:

 

 

 

The bug is:

 

- Have only 256 Slot (From 0 to 255)

So the last 3 lines of slot doesen't work. doesen't take item.

-- Dwork Limit in c++ is 255

Edited by Metin2 Dev
Core X - External 2 Internal
  • Active Member
1 godzinę temu, genezis napisał:

 

 

 

The bug is:

 

- Have only 256 Slot (From 0 to 255)

So the last 3 lines of slot doesen't work. doesen't take item.

-- Dwork Limit in c++ is 255

You are crazy man

  • 2 weeks later...
  • 4 years later...
  • 1 year later...
On 1/24/2019 at 10:55 PM, genezis said:

 

 

 

The bug is:

 

- Have only 256 Slot (From 0 to 255)

So the last 3 lines of slot doesen't work. doesen't take item.

-- Dwork Limit in c++ is 255

Have anyone fixed this problem? it still exists.

“𝓐𝓵𝓵 𝔀𝓮 𝓱𝓪𝓿𝓮 𝓽𝓸 𝓭𝓮𝓬𝓲𝓭𝓮 𝓲𝓼 𝔀𝓱𝓪𝓽 𝓽𝓸 𝓭𝓸 𝔀𝓲𝓽𝓱 𝓽𝓱𝓮 𝓽𝓲𝓶𝓮 𝓽𝓱𝓪𝓽 𝓲𝓼 𝓰𝓲𝓿𝓮𝓷 𝓾𝓼.” ~ 𝓖𝓪𝓷𝓭𝓪𝓵𝓯 𝓽𝓱𝓮 𝓖𝓻𝓮𝔂

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 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.