Jump to content

Avallon

Inactive Member
  • Posts

    14
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by Avallon

  1. Hi all.
    I think I have a problem at the source. I know the lycan are two bonuses, namely: - Resistance bloody attack and defense chance against claws - but just get me in my game at the bloody defense, bonuses are both available in item_attr and source / client. From what is the problem that defense not want to drop jaws at all? I increased the chance at the bonus, but all in vain ..
    If anyone can help me please ...

     

    sry for my english... -_-

  2. not working...

     

    syserr:

    SYSERR: Jul 24 02:02:01.936087 :: GetServerLocation: location error name LycanTest mapindex 0 0 x 0 empire 1
    SYSERR: Jul 24 02:02:02.735887 :: GetValidLocation: cannot find tree by 0 0 (map index 1)
    SYSERR: Jul 24 02:02:02.735908 :: PlayerLoad: InputDB::PlayerLoad : cannot find valid location 0 x 0 (name: LycanTest)

  3. Post here your start_position.h

    #ifndef __START_POSITION_H
    #define __START_POSITION_H
    
    #include "locale_service.h"
    
    extern char g_nation_name[4][32];
    extern DWORD g_start_position[7][2];
    extern long g_start_map[7];
    extern DWORD g_create_position[7][2];
    extern DWORD g_create_position_canada[7][2];
    extern DWORD arena_return_position[4][2];
    
    
    inline const char* EMPIRE_NAME( BYTE e)
    {
    	return LC_TEXT(g_nation_name[e]);
    }
    
    inline DWORD EMPIRE_START_MAP(BYTE e)
    {
    	return g_start_map[e];
    }
    
    inline DWORD EMPIRE_START_X(BYTE e)
    {
    	if (1 <= e && e <= 6)
    		return g_start_position[e][0];
    
    	return 0;
    }
    
    inline DWORD EMPIRE_START_Y(BYTE e)
    {
    	if (1 <= e && e <= 6)
    		return g_start_position[e][1];
    
    	return 0;
    }
    
    inline DWORD ARENA_RETURN_POINT_X(BYTE e)
    {
    	if (1 <= e && e <= 3)
    		return arena_return_position[e][0];
    
    	return 0;
    }
    
    inline DWORD ARENA_RETURN_POINT_Y(BYTE e)
    {
    	if (1 <= e && e <= 3)
    		return arena_return_position[e][1];
    
    	return 0;
    }
    
    inline DWORD CREATE_START_X(BYTE e)
    {
    	if (1 <= e && e <= 6)
    	{
    		if (LC_IsCanada() == true)
    			return g_create_position_canada[e][0];
    
    		return g_create_position[e][0];
    	}
    
    	return 0;
    }
    
    inline DWORD CREATE_START_Y(BYTE e)
    {
    	if (1 <= e && e <= 6)
    	{
    		if (LC_IsCanada() == true)
    			return g_create_position_canada[e][1];
    
    		return g_create_position[e][1];
    	}
    
    	return 0;
    }
    
    #endif
    

     

  4. This is the default one.

    Hidden Content

    start_position.cpp:17: error: conflicting declaration 'long int g_start_map [4]'
    start_position.h:8: error: 'g_start_map' has a previous declaration as 'long int g_start_map [7]'
    start_position.cpp:25: error: conflicting declaration 'DWORD g_start_position [4][2]'
    start_position.h:7: error: 'g_start_position' has a previous declaration as 'DWORD g_start_position [7][2]'
    start_position.cpp:43: error: conflicting declaration 'DWORD g_create_position [4][2]'
    start_position.h:9: error: 'g_create_position' has a previous declaration as 'DWORD g_create_position [7][2]'
    start_position.cpp:51: error: conflicting declaration 'DWORD g_create_position_canada [4][2]'
    start_position.h:10: error: 'g_create_position_canada' has a previous declaration as 'DWORD g_create_position_canada [7][2]'
    

     

  5. #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},
    	{469300, 964200},
    	{55700, 157900},
    	{969600, 278400}
    };
    
    DWORD arena_return_position[4][2] =
    {
    	{       0,  0       },
    	{   347600, 882700  }, // 자양현
    	{   138600, 236600  }, // 복정현
    	{   857200, 251800  }  // 박라현
    };
    
    
    DWORD g_create_position[7][2] = 
    {
    	{0, 0},
    	{469300, 964200},
    	{55700, 157900},
    	{969600, 278400},
    	{469300, 964200},
    	{55700, 157900},
    	{969600, 278400}
    };
    
    DWORD g_create_position_canada[7][2] = 
    {
    	{0, 0},
    	{469300, 964200},
    	{55700, 157900},
    	{969600, 278400},
    	{469300, 964200},
    	{55700, 157900},
    	{969600, 278400}
    };
    

     

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