Jump to content

Recommended Posts

  • Active Member

Hello,

I’d like to share my location-saving and teleportation system with you.

The system uses pseudo-caching, so it doesn’t overload the database.

It has been tested on a server with over 1,000 players online without any issues.

Preview:
spacer.png

You can find it on GitHub: 

This is the hidden content, please

or via metin2.download

This is the hidden content, please

Metin2 Download

  • Metin2 Dev 69
  • Good 3
  • Love 1
  • Love 27
Link to comment
https://metin2.dev/topic/33167-saved-locations-system-with-pseudo-caching/
Share on other sites

  • 1 month later...
  • Active Member
1 hour ago, TIMEK said:

saved_locations_manager.cpp:322:6: error: use of undeclared identifier 'IS_REQUIRED_ITEM_MAP'

Gdzie to zadeklarować ?

char.h:

// find:
extern int g_nPortalLimitTime;

// add below:
extern bool IS_REQUIRED_ITEM_MAP(DWORD dwMapIndex);

char.cpp:

// add under includes:
bool IS_REQUIRED_ITEM_MAP(DWORD dwMapIndex);
bool IS_REQUIRED_ITEM_MAP(DWORD dwMapIndex)
{
	switch (dwMapIndex)
	{
	case 71: // pajaki v2
	case 72: // grota
	case 73: // grota v2
		return true;
	}

	if (dwMapIndex > 10000)
	{
		return true;
	}

	return false;
}

 

Edited by jking
  • 5 months later...
  • 3 weeks later...
On 11/1/2024 at 9:41 PM, jking said:

Hello,

I’d like to share my location-saving and teleportation system with you.

The system uses pseudo-caching, so it doesn’t overload the database.

It has been tested on a server with over 1,000 players online without any issues.

Preview:
spacer.png

You can find it on GitHub: 

Hidden Content

  • Give reaction to this post to see the hidden content.

 

or via metin2.download

 

Hidden Content

  • Give reaction to this post to see the hidden content.

Metin2 Download

 

Could you please share __OpenSavedLocationsWindowAfterLoad?

  • 1 year later...
On 11/1/2024 at 11:41 PM, jking said:

Hello,

I’d like to share my location-saving and teleportation system with you.

The system uses pseudo-caching, so it doesn’t overload the database.

It has been tested on a server with over 1,000 players online without any issues.

Preview:
spacer.png

You can find it on GitHub: 

Hidden Content

  • Give reaction to this post to see the hidden content.

 

or via metin2.download

 

Hidden Content

  • Give reaction to this post to see the hidden content.

Metin2 Download

 

good

  • 2 weeks later...
  • 1 month later...

There were a lot of omissions and errors in the tutorial, but if you put some thought into it, it works.

 

If there's anything I can do to help with the implementation, let me know.

Edited by goatinhobro

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.