Jump to content
  • 0

Create position


Tasho

Question

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
  • Answers 6
  • Created
  • Last Reply

Top Posters For This Question

6 answers to this question

Recommended Posts

  • 0
  • VIP

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
  • 0

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Read our Rules
  • Activity

    1. 2

      [Python] Code Translator 2 to 3

    2. 0

      bug gaya

    3. 5

      Fix Core Crash (unused serverside packet)

    4. 45

      Chest Drop View

    5. 0

      How to add Python 3.9 script?

    6. 15

      Metin2 Download Center - Specifications & Documentation

    7. 5

      Fix Core Crash (unused serverside packet)

    8. 45

      Chest Drop View

    9. 5

      Fix Core Crash (unused serverside packet)

  • Recently Browsing

    No registered users viewing this page.

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