Jump to content

Recommended Posts

hi, I made the spawn position for wolf but the problem si that he dosen't use it :

 

start_position.cpp :

DWORD g_create_position_wolfman[4][2] = 
{
{  0,  0 },
{ 808100, 935100 },
{ 859300, 935100 },
{ 910500, 935100 }, 
};
 
start_position.h:
extern DWORD g_create_position_wolfman[4][2];
 
inline DWORD CREATE_START_X_WOLFMAN(BYTE e)
{
if (e >= 1 && e <= 3)
{
return g_create_position_wolfman[e][0];
}
}
 
inline DWORD CREATE_START_Y_WOLFMAN(BYTE e)
{
if (e >= 1 && e <= 3)
{
return g_create_position_wolfman[e][1];
}
}
 
 
So what is the problem?
 

 

Link to comment
https://metin2.dev/topic/5275-create-position/
Share on other sites

  • Replies 6
  • Created
  • Last Reply

Top Posters In This Topic

  • Premium

I wan't to put my wolfman starting at the same of others (city1)

Here is my start_position.cpp:

 

#include "stdafx.h"
#include "start_position.h"


char g_nation_name[4][32] =
{
	"",
	"½Å¼ö±¹",
	"õÁ¶±¹",
	"Áø³ë±¹",
};

//	LC_TEXT("½Å¼ö±¹")
//	LC_TEXT("õÁ¶±¹")
//	LC_TEXT("Áø³ë±¹")

long g_start_map[7] =
{
	0,
	1,
	21,
	41,
	7,
	27,
	47
};

DWORD g_start_position[7][2] =
{
	{0, 0},
	{469300, 964200},
	{55700, 157900},
	{969600, 278400},
	{768000, 896000},
	{819200, 896000},
	{870400, 896000}
};

DWORD arena_return_position[4][2] =
{
	{       0,  0       },
	{   347600, 882700  }, // ÀÚ¾çÇö
	{   138600, 236600  }, // º¹Á¤Çö
	{   857200, 251800  }  // ¹Ú¶óÇö
};


DWORD g_create_position[7][2] = 
{
	{0, 0},
	{459800, 953900},
	{52070, 166600},
	{957300, 255200},
	{808600, 936000},
	{859800, 936000},
	{911000, 936000}
};

DWORD g_create_position_canada[7][2] = 
{
	{0, 0},
	{457100, 946900},
	{45700, 166500},
	{966300, 288300},
	{808600, 936000},
	{859800, 936000},
	{911000, 936000}
};

Link to comment
https://metin2.dev/topic/5275-create-position/#findComment-33640
Share on other sites

you did nothing with this, the wolfman still take the same map coordonates as the other characters ... and what you did here is incomplet u neet to edit start_position.h to run with [7][2] matrix like this :

extern DWORD g_start_posirtion[7][2];

extern long g_start_map[7];
extern DWORD g_create_position[7][2];
extern DWORD g_create_position_canada[7][2];
 
The problem is when you finish doing start_poisition.cpp/.h we need to add something else, but I don't know what.:-?
Link to comment
https://metin2.dev/topic/5275-create-position/#findComment-33733
Share on other sites

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.