Jump to content

Recommended Posts

Hello guys, i'm add Soulbind System in my source, but i'm have this error with db compile:

https://metin2.download/picture/FqTxqpUH6wS2DYWYW63dzZ3d756RLa4z/.png

This is my cache.cpp

https://metin2.download/picture/O7YJQgvtde2d1ajJWE36VxEGvplMemmh/.png

Link to comment
https://metin2.dev/topic/13964-problemsoulbind-system-compile-db/
Share on other sites

  • Premium
typedef struct SPlayerItem
{
	DWORD	id;
	BYTE	window;
	WORD	pos;
	DWORD	count;
	DWORD	vnum;
	long	alSockets[ITEM_SOCKET_MAX_NUM];	// ¼ÒÄϹøÈ£

	TPlayerItemAttribute    aAttr[ITEM_ATTRIBUTE_MAX_NUM];

	DWORD	owner;
	long	bind;

} TPlayerItem;

Need look like this ... you can find this in common/tables.h important is the line   long    bind;

  • Love 1

..,-

1 hour ago, Amok said:

typedef struct SPlayerItem
{
	DWORD	id;
	BYTE	window;
	WORD	pos;
	DWORD	count;
	DWORD	vnum;
	long	alSockets[ITEM_SOCKET_MAX_NUM];	// ¼ÒÄϹøÈ£

	TPlayerItemAttribute    aAttr[ITEM_ATTRIBUTE_MAX_NUM];

	DWORD	owner;
	long	bind;

} TPlayerItem;

Need look like this ... you can find this in common/tables.h important is the line   long    bind;

COMPILE DB thx.

But i'm problem in client 

Traceback (most recent call last):
  File "ui.py", line 1523, in OnOverInItem
  File "ui.py", line 88, in __call__
  File "ui.py", line 79, in __call__
  File "uiInventory.py", line 1119, in OverInItem
  File "uiInventory.py", line 1352, in ShowToolTip
  File "uiToolTip.py", line 591, in SetInventoryItem
  File "uiToolTip.py", line 1616, in __AppendSealInformation
AttributeError: 'module' object has no attribute 'GetItemBind'

In PythonPlayerModule:

Search: {"GetItemAttribute", playerGetItemAttribute, METH_VARARGS},
After this make a new line and paste:
        {"GetItemBind", playerGetItemBind, METH_VARARGS},

And in PythonSafeBox:

Search: {"GetMallSize", safeboxGetMallSize, METH_VARARGS},
 After this make a new line and paste:
        {"GetItemBind", safeboxGetItemBind, METH_VARARGS},
        {"GetMallItemBind", safeboxGetMallItemBind, METH_VARARGS},
 

  • Love 1
  • 2 weeks 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.