Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

[Guide]Adding maps.

Status
Not open for further replies.
Joined
Aug 26, 2010
Messages
1,090
Reaction score
527
When adding maps you will need the map file along with the litmodels.pck file and loddata.pck file for that map.
Make sure to add the map file to your server after doing so add it to your client. Make sure to patch both the loddata and litmodel files as well.
Once you do that you will need to click on gs.conf that is located in your server. The code of it is below.

Code:
;Mcncc.com
[General]
world_servers		= 	gs01;gs02;gs03;gs04;gs05;gs06;gs07;gs08;gs09;gs10;gs11;gs12;gs13;gs14;gs15;gs16;gs17;gs18;gs19;gs20;gs309;gs312;gs314;bg01;bg02;bg03;bg04;bg05;bg06;bg07;bg08;bg09;bg10,bg21;bg22;bg23;bg24;bg25;bg26;bg27;bg28;
instance_servers	=	
AntiWallow		= true
OfflineBonus            = 1
BreakDropItem           = 1
GShopBonusRatio         = 1

[Identify]
ServerID = 1
Name = 422测试服

[WallowLight]
exp                     = 100f
sp                      = 100f
item                    = 100f
money                   = 100f
task_exp                = 100f
task_sp                 = 100f
task_money              = 100f

[WallowHeavy]
exp                     = 100
sp                      = 100
item                    = 100
money                   = 100
task_exp                = 100
task_sp                 = 100
task_money              = 100

[WallowTime]
TimeLight               = 10
TimeHeavy               = 20
TimeClear               = 15
ClearMode               = RestTime

[Param]
;未使用
forbid_trade		= 	0

[DoubleExp]
;起始时间	         分 时 日(周中)
clear_day		= 0  1  1
;起始时的时间积累数(秒)
first_rest_time		= 3600
;每次增加时间所需要的时间间隔 小时
rest_period 		= 24
;每次时间间隔增加的时间(秒)
rest_time_unit		= 0
;最大积累时间(秒)
max_rest_time		= 25200

[AddrAlias]
TEST			= 127.0.0.1

[MoveMap]
Path			= movemap
WaterPath		= watermap
AirPath			= airmap

[Script]
GlobalScript            = /usr/rain/gamed/global_script.lua

[Template]
Root			= /usr/rain/gamed/config/
itemDataFile		= elements.data
QuestPackage		= tasks.data
QuestPackage2		= dyn_tasks.data
QuestForbid             = forbidden_task.txt
GlobalData 		= world_targets.sev
PolicyData		= aipolicy.data
DropData		= extra_drops.sev
MallData                = gshop.data
LuaData                 = global_api.lua
CollisionElement	= elements.nmd


RestartShell            = /usr/rain/gamed/restart
TopListScript           = topscript

RegionFile		= precinct.sev
RegionFile2		= region.sev
NPCGenFile		= npcgen.data
PathFile		= path.sev
PocketItemFile          = item_pocketable.txt
BonusMallData           = gshop1.data


#grid的格式是 {行数,列数,单元格的大小,起始x坐标,起始y坐标
#grid的大小范围是{startx,starty,startx + column *step,starty + row*column}格式是 {left,top,right,bottom}
#本地区域,表示这个服务器管辖的区域,超出这个区域应该进行服务其跳转
#local_region		=	{-20,-5632.0,4096.0,5632.0}

[World_gs01]
index 			= 	1
tag			=	1
cid			= 	0,2,13
base_path		=	z1/
max_sight_range		=	30

grid                    =       {70,70,20.5,-717.5,-717.5}
local_region		=	{-512,-512.0} , {512.0,512.0}

limit			= 	allow-root;
player_capacity		=	4096

[Terrain_gs01]
szMapPath		= map 
nAreaWidth 		= 512
nAreaHeight 		= 512
nNumAreas 		= 1
nNumCols 		= 1
nNumRows 		= 1
vGridSize 		= 2.0f
vHeightMin 		= 0.0f
vHeightMax 		= 800.0f

#--------------------------------------------------------------------------------------

[World_gs02]
index 			= 	2
tag			=	2
cid			= 	0,2,13
base_path		=	z2/
max_sight_range		=	30

grid                    =       {70,70,20.5,-717.5,-717.5}
local_region		=	{-512,-512.0} , {512.0,512.0}

limit			= 	allow-root;
player_capacity		=	4096

[Terrain_gs02]
szMapPath		= map 
nAreaWidth 		= 512
nAreaHeight 		= 512
nNumAreas 		= 1
nNumCols 		= 1
nNumRows 		= 1
vGridSize 		= 2.0f
vHeightMin 		= 0.0f
vHeightMax 		= 800.0f

#--------------------------------------------------------------------------------------
[World_gs03]
index 			= 	3
tag			=	3
cid			= 	0,2,13
base_path		=	z3/
max_sight_range		=	30

grid                    =       {70,70,20.5,-717.5,-717.5}
local_region		=	{-512,-512.0} , {512.0,512.0}

limit			= 	allow-root;
player_capacity		=	4096

[Terrain_gs03]
szMapPath		= map 
nAreaWidth 		= 512
nAreaHeight 		= 512
nNumAreas 		= 1
nNumCols 		= 1
nNumRows 		= 1
vGridSize 		= 2.0f
vHeightMin 		= 0.0f
vHeightMax 		= 800.0f


#--------------------------------------------------------------------------------------
[World_gs04]
index 			= 	4
tag			=	4
cid			= 	0,2,13
base_path		=	z4/
max_sight_range		=	30

grid                    =       {70,70,20.5,-717.5,-717.5}
local_region		=	{-512,-512.0} , {512.0,512.0}

limit			= 	allow-root;
player_capacity		=	4096

[Terrain_gs04]
szMapPath		= map 
nAreaWidth 		= 512
nAreaHeight 		= 512
nNumAreas 		= 1
nNumCols 		= 1
nNumRows 		= 1
vGridSize 		= 2.0f
vHeightMin 		= 0.0f
vHeightMax 		= 800.0f

#--------------------------------------------------------------------------------------
[World_gs05]
index 			= 	5
tag			=	5
cid			= 	0,2,13
base_path		=	z5/
max_sight_range		=	30

grid                    =       {70,70,20.5,-717.5,-717.5}
local_region		=	{-512,-512.0} , {512.0,512.0}

limit			= 	allow-root;
player_capacity		=	4096

[Terrain_gs05]
szMapPath		= map 
nAreaWidth 		= 512
nAreaHeight 		= 512
nNumAreas 		= 1
nNumCols 		= 1
nNumRows 		= 1
vGridSize 		= 2.0f
vHeightMin 		= 0.0f
vHeightMax 		= 800.0f

#--------------------------------------------------------------------------------------
[World_gs06]
index 			= 	6
tag			=	6
cid			= 	0,2,13
base_path		=	z6/
max_sight_range		=	30

grid                    =       {70,70,20.5,-717.5,-717.5}
local_region		=	{-512,-512.0} , {512.0,512.0}

limit			= 	allow-root;
player_capacity		=	4096

[Terrain_gs06]
szMapPath		= map 
nAreaWidth 		= 512
nAreaHeight 		= 512
nNumAreas 		= 1
nNumCols 		= 1
nNumRows 		= 1
vGridSize 		= 2.0f
vHeightMin 		= 0.0f
vHeightMax 		= 800.0f

#--------------------------------------------------------------------------------------
[World_gs07]
index 			= 	7	
tag			=	7
cid			= 	0,2,13
base_path		=	z7/
max_sight_range		=	30

grid                    =       {70,70,20.5,-717.5,-717.5}
local_region		=	{-512,-512.0} , {512.0,512.0}

limit			= 	allow-root;
player_capacity		=	4096

[Terrain_gs07]
szMapPath		= map 
nAreaWidth 		= 512
nAreaHeight 		= 512
nNumAreas 		= 1
nNumCols 		= 1
nNumRows 		= 1
vGridSize 		= 2.0f
vHeightMin 		= 0.0f
vHeightMax 		= 800.0f

#--------------------------------------------------------------------------------------
[World_gs08]
index 			= 	8      
tag			=	8
cid			= 	0,2,13
base_path		=	z8/
max_sight_range		=	30

grid                    =       {70,70,20.5,-717.5,-717.5}
local_region		=	{-512,-512.0} , {512.0,512.0}

limit			= 	allow-root;
player_capacity		=	4096

[Terrain_gs08]
szMapPath		= map 
nAreaWidth 		= 512
nAreaHeight 		= 512
nNumAreas 		= 1
nNumCols 		= 1
nNumRows 		= 1
vGridSize 		= 2.0f
vHeightMin 		= 0.0f
vHeightMax 		= 800.0f

#--------------------------------------------------------------------------------------
[World_gs09]
index 			= 	9      
tag			=	9
cid			= 	0,2,13
base_path		=	z9/
max_sight_range		=	30

grid                    =       {70,70,20.5,-717.5,-717.5}
local_region		=	{-512,-512.0} , {512.0,512.0}

limit			= 	allow-root;no-couple-jump;
player_capacity		=	4096

[Terrain_gs09]
szMapPath		= map 
nAreaWidth 		= 512
nAreaHeight 		= 512
nNumAreas 		= 1
nNumCols 		= 1
nNumRows 		= 1
vGridSize 		= 2.0f
vHeightMin 		= 0.0f
vHeightMax 		= 800.0f


#--------------------------------------------------------------------------------------
[World_gs10]
index 			= 	10
tag			=	10
cid			= 	0,2,13
base_path		=	z10/
max_sight_range		=	30

grid                    =       {70,70,20.5,-717.5,-717.5}
local_region		=	{-512,-512.0} , {512.0,512.0}

limit			= 	allow-root;
player_capacity		=	4096

[Terrain_gs10]
szMapPath		= map 
nAreaWidth 		= 512
nAreaHeight 		= 512
nNumAreas 		= 1
nNumCols 		= 1
nNumRows 		= 1
vGridSize 		= 2.0f
vHeightMin 		= 0.0f
vHeightMax 		= 800.0f

#--------------------------------------------------------------------------------------
[World_gs11]
index 			= 	11
tag			=	11
cid			= 	0,2,13
base_path		=	z11/
max_sight_range		=	30

grid                    =       {70,70,20.5,-717.5,-717.5}
local_region		=	{-512,-512.0} , {512.0,512.0}

limit			= 	allow-root;
player_capacity		=	4096

[Terrain_gs11]
szMapPath		= map 
nAreaWidth 		= 512
nAreaHeight 		= 512
nNumAreas 		= 1
nNumCols 		= 1
nNumRows 		= 1
vGridSize 		= 2.0f
vHeightMin 		= 0.0f
vHeightMax 		= 800.0f

#--------------------------------------------------------------------------------------
[world_gs12]
index 			= 	12
tag			=	12
cid			= 	0,2,13
base_path		=	z12/
max_sight_range		=	30

grid                    =       {70,70,20.5,-717.5,-717.5}
local_region		=	{-512,-512.0} , {512.0,512.0}

limit			= 	allow-root;no-couple-jump;
player_capacity		=	4096

[terrain_gs12]
szmappath		= map 
nareawidth 		= 512
nareaheight 		= 512
nnumareas 		= 1
nnumcols 		= 1
nnumrows 		= 1
vgridsize 		= 2.0f
vheightmin 		= 0.0f
vheightmax 		= 800.0f

#--------------------------------------------------------------------------------------
[world_gs13]
index 			= 	13
tag			=	13
cid			= 	0,2,13
base_path		=	z13/
max_sight_range		=	30

grid                    =       {70,70,20.5,-717.5,-717.5}
local_region		=	{-512,-512.0} , {512.0,512.0}

limit			= 	allow-root;no-couple-jump;
player_capacity		=	4096

[terrain_gs13]
szmappath		= map 
nareawidth 		= 512
nareaheight 		= 512
nnumareas 		= 1
nnumcols 		= 1
nnumrows 		= 1
vgridsize 		= 2.0f
vheightmin 		= 0.0f
vheightmax 		= 800.0f

#--------------------------------------------------------------------------------------
[world_gs14]
index 			= 	14
tag			=	14
cid			= 	0,2,13
base_path		=	z14/
max_sight_range		=	30

grid                    =       {70,70,20.5,-717.5,-717.5}
local_region		=	{-512,-512.0} , {512.0,512.0}

limit			= 	allow-root;no-couple-jump;
player_capacity		=	4096

[terrain_gs14]
szmappath		= map 
nareawidth 		= 512
nareaheight 		= 512
nnumareas 		= 1
nnumcols 		= 1
nnumrows 		= 1
vgridsize 		= 2.0f
vheightmin 		= 0.0f
vheightmax 		= 800.0f

#--------------------------------------------------------------------------------------
[World_gs15]
index 			= 	15
tag			=	15
cid			= 	0,2,13
base_path		=	z15/
max_sight_range		=	30

grid                    =       {70,70,20.5,-717.5,-717.5}
local_region		=	{-512,-512.0} , {512.0,512.0}

limit			= 	allow-root;no-couple-jump;
player_capacity		=	4096

[Terrain_gs15]
szMapPath		= map 
nAreaWidth 		= 512
nAreaHeight 		= 512
nNumAreas 		= 1
nNumCols 		= 1
nNumRows 		= 1
vGridSize 		= 2.0f
vHeightMin 		= 0.0f
vHeightMax 		= 800.0f

#--------------------------------------------------------------------------------------
[World_gs16]
index 			= 	16
tag			=	16
cid			= 	0,2,13
base_path		=	z16/
max_sight_range		=	30

grid                    =       {70,70,20.5,-717.5,-717.5}
local_region		=	{-512,-512.0} , {512.0,512.0}

limit			= 	allow-root;no-couple-jump;
player_capacity		=	4096

[Terrain_gs16]
szMapPath		= map 
nAreaWidth 		= 512
nAreaHeight 		= 512
nNumAreas 		= 1
nNumCols 		= 1
nNumRows 		= 1
vGridSize 		= 2.0f
vHeightMin 		= 0.0f
vHeightMax 		= 800.0f

#--------------------------------------------------------------------------------------
[World_gs17]
index 			= 	17
tag			=	17
cid			= 	0,2,13
base_path		=	z17/
max_sight_range		=	30

grid                    =       {70,70,20.5,-717.5,-717.5}
local_region		=	{-512,-512.0} , {512.0,512.0}

limit			= 	allow-root;no-couple-jump;
player_capacity		=	4096

[Terrain_gs17]
szMapPath		= map 
nAreaWidth 		= 512
nAreaHeight 		= 512
nNumAreas 		= 1
nNumCols 		= 1
nNumRows 		= 1
vGridSize 		= 2.0f
vHeightMin 		= 0.0f
vHeightMax 		= 800.0f

#--------------------------------------------------------------------------------------
[World_gs18]
index 			= 	18
tag			=	18
cid			=	15,2,13
base_path		=	z18/
max_sight_range		=	30

grid                    =       {70,70,20.5,-717.5,-717.5}
local_region		=	{-512,-512.0} , {512.0,512.0}

limit			= 	allow-root;faction-team;noduel;no-couple-jump;no-fly;
player_capacity		=	4096

[Terrain_gs18]
szMapPath		= map 
nAreaWidth 		= 512
nAreaHeight 		= 512
nNumAreas 		= 1
nNumCols 		= 1
nNumRows 		= 1
vGridSize 		= 2.0f
vHeightMin 		= 0.0f
vHeightMax 		= 800.0f

#--------------------------------------------------------------------------------------
[World_gs19]
index 			= 	19
tag			=	19
cid			= 	0,2,13
base_path		=	z19/
max_sight_range		=	30

grid                    =       {70,70,20.5,-717.5,-717.5}
local_region		=	{-512,-512.0} , {512.0,512.0}

limit			= 	allow-root;no-couple-jump;
player_capacity		=	4096

[Terrain_gs19]
szMapPath		= map 
nAreaWidth 		= 512
nAreaHeight 		= 512
nNumAreas 		= 1
nNumCols 		= 1
nNumRows 		= 1
vGridSize 		= 2.0f
vHeightMin 		= 0.0f
vHeightMax 		= 800.0f

#--------------------------------------------------------------------------------------
[World_gs20]
index 			= 	20
tag			=	20
cid			= 	0,2,13
base_path		=	z20/
max_sight_range		=	30

grid                    =       {70,70,20.5,-717.5,-717.5}
local_region		=	{-512,-512.0} , {512.0,512.0}

limit			= 	allow-root;
player_capacity		=	4096

[Terrain_gs20]
szMapPath		= map 
nAreaWidth 		= 512
nAreaHeight 		= 512
nNumAreas 		= 1
nNumCols 		= 1
nNumRows 		= 1
vGridSize 		= 2.0f
vHeightMin 		= 0.0f
vHeightMax 		= 800.0f

#--------------------------------------------------------------------------------------
[World_gs309]
index 			= 	309
tag			=	309
cid			= 	0,2,13
base_path		=	d09/
max_sight_range		=	30

grid                    =       {70,70,20.5,-717.5,-717.5}
local_region		=	{-512,-512.0} , {512.0,512.0}

limit			= 	allow-root;no-couple-jump;no-fly;
player_capacity		=	4096

[Terrain_gs309]
szMapPath		= map 
nAreaWidth 		= 512
nAreaHeight 		= 512
nNumAreas 		= 1
nNumCols 		= 1
nNumRows 		= 1
vGridSize 		= 2.0f
vHeightMin 		= 0.0f
vHeightMax 		= 800.0f

#--------------------------------------------------------------------------------------
[World_gs312]
index 			= 	312
tag			=	312
cid			= 	0,2,13
base_path		=	d12/
max_sight_range		=	30

grid                    =       {70,70,20.5,-717.5,-717.5}
local_region		=	{-512,-512.0} , {512.0,512.0}

limit			= 	allow-root;no-couple-jump;no-fly;
player_capacity		=	4096

[Terrain_gs312]
szMapPath		= map 
nAreaWidth 		= 512
nAreaHeight 		= 512
nNumAreas 		= 1
nNumCols 		= 1
nNumRows 		= 1
vGridSize 		= 2.0f
vHeightMin 		= 0.0f
vHeightMax 		= 800.0f

#--------------------------------------------------------------------------------------
[World_gs314]
index 			= 	314
tag			=	314
cid			= 	0,2,13
base_path		=	d14/
max_sight_range		=	30

grid                    =       {70,70,20.5,-717.5,-717.5}
local_region		=	{-512,-512.0} , {512.0,512.0}

limit			= 	allow-root;no-couple-jump;no-fly;
player_capacity		=	4096

[Terrain_gs314]
szMapPath		= map 
nAreaWidth 		= 512
nAreaHeight 		= 512
nNumAreas 		= 1
nNumCols 		= 1
nNumRows 		= 1
vGridSize 		= 2.0f
vHeightMin 		= 0.0f
vHeightMax 		= 800.0f

#--------------------------------------------------------------------------------------
[World_bg01]
is_battle_world         = 1
battle_id               = 1
battle_max_player_count = 15
battle_need_level_min = 105
battle_need_level_max = 119
battle_kickout_time_min = 10
battle_kickout_time_max = 20
battle_kickout_close_time = 30

index                   =       101
tag                     =       101
cid                     =       10001,2,13
base_path               =       b01/
max_sight_range         =       30

grid                    =       {70,70,20.5,-717.5,-717.5}
local_region            =       {-512,-512.0} , {512.0,512.0}

limit                   =       allow-root;no-couple-jump;noduel;can-use-battleground-skill-mater;
player_capacity         =       4096

[Terrain_bg01]
szmappath               = map
nareawidth              = 512
nareaheight             = 512
nnumareas               = 1
nnumcols                = 1
nnumrows                = 1
vgridsize               = 2.0f
vheightmin              = 0.0f
vheightmax              = 800.0f

#--------------------------------------------------------------------------------------
[World_bg02]
is_battle_world         = 1
battle_id               = 2
battle_max_player_count = 15
battle_need_level_min = 120
battle_need_level_max = 134
battle_kickout_time_min = 10
battle_kickout_time_max = 20
battle_kickout_close_time = 30

index                   =       102
tag                     =       102
cid                     =       10001,2,13
base_path               =       b02/
max_sight_range         =       30

grid                    =       {70,70,20.5,-717.5,-717.5}
local_region            =       {-512,-512.0} , {512.0,512.0}

limit                   =       allow-root;no-couple-jump;noduel;can-use-battleground-skill-mater;
player_capacity         =       4096

[Terrain_bg02]
szmappath               = map
nareawidth              = 512
nareaheight             = 512
nnumareas               = 1
nnumcols                = 1
nnumrows                = 1
vgridsize               = 2.0f
vheightmin              = 0.0f
vheightmax              = 800.0f

#--------------------------------------------------------------------------------------
[World_bg03]
is_battle_world         = 1
battle_id               = 1
battle_max_player_count = 15
battle_need_level_min = 105
battle_need_level_max = 119
battle_kickout_time_min = 10
battle_kickout_time_max = 20
battle_kickout_close_time = 30

index                   =       103
tag                     =       103
cid                     =       10001,2,13
base_path               =       b01/
max_sight_range         =       30

grid                    =       {70,70,20.5,-717.5,-717.5}
local_region            =       {-512,-512.0} , {512.0,512.0}

limit                   =       allow-root;no-couple-jump;noduel;can-use-battleground-skill-mater;
player_capacity         =       4096

[Terrain_bg03]
szmappath               = map
nareawidth              = 512
nareaheight             = 512
nnumareas               = 1
nnumcols                = 1
nnumrows                = 1
vgridsize               = 2.0f
vheightmin              = 0.0f
vheightmax              = 800.0f

#--------------------------------------------------------------------------------------
[World_bg04]
is_battle_world         = 1
battle_id               = 2
battle_max_player_count = 15
battle_need_level_min = 120
battle_need_level_max = 134
battle_kickout_time_min = 10
battle_kickout_time_max = 20
battle_kickout_close_time = 30

index                   =       104
tag                     =       104
cid                     =       10001,2,13
base_path               =       b02/
max_sight_range         =       30

grid                    =       {70,70,20.5,-717.5,-717.5}
local_region            =       {-512,-512.0} , {512.0,512.0}

limit                   =       allow-root;no-couple-jump;noduel;can-use-battleground-skill-mater;
player_capacity         =       4096

[Terrain_bg04]
szmappath               = map
nareawidth              = 512
nareaheight             = 512
nnumareas               = 1
nnumcols                = 1
nnumrows                = 1
vgridsize               = 2.0f
vheightmin              = 0.0f
vheightmax              = 800.0f

#--------------------------------------------------------------------------------------
[World_bg05]
is_battle_world         = 1
battle_id               = 3
battle_max_player_count = 15
battle_need_level_min = 90
battle_need_level_max = 104
battle_kickout_time_min = 10
battle_kickout_time_max = 20
battle_kickout_close_time = 30

index                   =       105
tag                     =       105
cid                     =       10001,2,13
base_path               =       b03/
max_sight_range         =       30

grid                    =       {70,70,20.5,-717.5,-717.5}
local_region            =       {-512,-512.0} , {512.0,512.0}

limit                   =       allow-root;no-couple-jump;noduel;can-use-battleground-skill-mater;
player_capacity         =       4096

[Terrain_bg05]
szmappath               = map
nareawidth              = 512
nareaheight             = 512
nnumareas               = 1
nnumcols                = 1
nnumrows                = 1
vgridsize               = 2.0f
vheightmin              = 0.0f
vheightmax              = 800.0f

#--------------------------------------------------------------------------------------
[World_bg06]
is_battle_world         = 1
battle_id               = 3
battle_max_player_count = 15
battle_need_level_min = 90
battle_need_level_max = 104
battle_kickout_time_min = 10
battle_kickout_time_max = 20
battle_kickout_close_time = 30

index                   =       106
tag                     =       106
cid                     =       10001,2,13
base_path               =       b03/
max_sight_range         =       30

grid                    =       {70,70,20.5,-717.5,-717.5}
local_region            =       {-512,-512.0} , {512.0,512.0}

limit                   =       allow-root;no-couple-jump;noduel;can-use-battleground-skill-mater;
player_capacity         =       4096

[Terrain_bg06]
szmappath               = map
nareawidth              = 512
nareaheight             = 512
nnumareas               = 1
nnumcols                = 1
nnumrows                = 1
vgridsize               = 2.0f
vheightmin              = 0.0f
vheightmax              = 800.0f

#--------------------------------------------------------------------------------------
[World_bg07]
is_battle_world         = 1
battle_id               = 4
battle_max_player_count = 15
battle_need_level_min = 135
battle_need_level_max = 150
battle_kickout_time_min = 10
battle_kickout_time_max = 20
battle_kickout_close_time = 30

index                   =       107
tag                     =       107
cid                     =       10001,2,13
base_path               =       b04/
max_sight_range         =       30

grid                    =       {70,70,20.5,-717.5,-717.5}
local_region            =       {-512,-512.0} , {512.0,512.0}

limit                   =       allow-root;no-couple-jump;noduel;can-use-battleground-skill-mater;
player_capacity         =       4096

[Terrain_bg07]
szmappath               = map
nareawidth              = 512
nareaheight             = 512
nnumareas               = 1
nnumcols                = 1
nnumrows                = 1
vgridsize               = 2.0f
vheightmin              = 0.0f
vheightmax              = 800.0f

#--------------------------------------------------------------------------------------
[World_bg08]
is_battle_world         = 1
battle_id               = 4
battle_max_player_count = 15
battle_need_level_min = 135
battle_need_level_max = 150
battle_kickout_time_min = 10
battle_kickout_time_max = 20
battle_kickout_close_time = 30

index                   =       108
tag                     =       108
cid                     =       10001,2,13
base_path               =       b04/
max_sight_range         =       30

grid                    =       {70,70,20.5,-717.5,-717.5}
local_region            =       {-512,-512.0} , {512.0,512.0}

limit                   =       allow-root;no-couple-jump;noduel;can-use-battleground-skill-mater;
player_capacity         =       4096

[Terrain_bg08]
szmappath               = map
nareawidth              = 512
nareaheight             = 512
nnumareas               = 1
nnumcols                = 1
nnumrows                = 1
vgridsize               = 2.0f
vheightmin              = 0.0f
vheightmax              = 800.0f

#--------------------------------------------------------------------------------------
[World_bg09]
is_battle_world         = 1
battle_id               = 5
battle_type             = 1
battle_max_player_count = 15
battle_need_level_min = 1
battle_need_level_max = 150
battle_kickout_time_min = 10
battle_kickout_time_max = 20
battle_kickout_close_time = 30

index                   =       109
tag                     =       109
cid                     =       10001,2,13
base_path               =       b05/
max_sight_range         =       30

grid                    =       {70,70,20.5,-717.5,-717.5}
local_region            =       {-512,-512.0} , {512.0,512.0}

save_point              =       1,204,172,117
limit                   =       allow-root;no-couple-jump;noduel;use-save-point;
player_capacity         =       4096

[Terrain_bg09]
szmappath               = map
nareawidth              = 512
nareaheight             = 512
nnumareas               = 1
nnumcols                = 1
nnumrows                = 1
vgridsize               = 2.0f
vheightmin              = 0.0f
vheightmax              = 800.0f

#--------------------------------------------------------------------------------------
[World_bg10]
is_battle_world         = 1
battle_id               = 5
battle_type             = 1
battle_max_player_count = 15
battle_need_level_min = 1
battle_need_level_max = 150
battle_kickout_time_min = 10
battle_kickout_time_max = 20
battle_kickout_close_time = 30

index                   =       110
tag                     =       110
cid                     =       10001,2,13
base_path               =       b05/
max_sight_range         =       30

grid                    =       {70,70,20.5,-717.5,-717.5}
local_region            =       {-512,-512.0} , {512.0,512.0}

save_point              =       1,204,172,117
limit                   =       allow-root;no-couple-jump;noduel;use-save-point;
player_capacity         =       4096

[Terrain_bg10]
szmappath               = map
nareawidth              = 512
nareaheight             = 512
nnumareas               = 1
nnumcols                = 1
nnumrows                = 1
vgridsize               = 2.0f
vheightmin              = 0.0f
vheightmax              = 800.0f

#--------------------------------------------------------------------------------------
[World_bf01]
battle_id               = 1
use_for_battle          = 1
battle_max_player_count = 500
battle_kickout_time_min = 300
battle_kickout_time_max = 400
battle_kickout_close_time = 500
battle_prepare_attacker = (35.9964,0,108.636)-(396.869,600,360.759)
battle_prepare_defender = (122.47,0,-452.728)-(327.992,600,-283.773)
battle_invalid_first_area = (-23.4735,0,-470.902)-(476.558,386,328.99)
battle_invalid_second_area = (-23.4735,528.788,-470.902)-(476.558,549.736,328.99)

index                   =       201
tag                     =       201
cid                     =       20001,2,13
base_path               =       c01/
max_sight_range         =       30
max_visible_range       =       120

grid                    =       {50,50,30,-750,-750}
local_region            =       {-512,-512.0} , {512.0,512.0}

limit                   =       allow-root;no-couple-jump;gm-free;
player_capacity         =       4096

[Terrain_bf01]
szmappath               = map
nareawidth              = 512
nareaheight             = 512
nnumareas               = 1
nnumcols                = 1
nnumrows                = 1
vgridsize               = 2.0f
vheightmin              = 0.0f
vheightmax              = 800.0f

#--------------------------------------------------------------------------------------
[World_bf02]
battle_id               = 1
use_for_battle          = 0
battle_max_player_count = 500
battle_kickout_time_min = 300
battle_kickout_time_max = 400
battle_kickout_close_time = 450
battle_prepare_attacker = (35.9964,0,108.636)-(396.869,600,360.759)
battle_prepare_defender = (122.47,0,-452.728)-(327.992,600,-283.773)
battle_invalid_first_area = (-23.4735,0,-470.902)-(476.558,386,328.99)
battle_invalid_second_area = (-23.4735,528.788,-470.902)-(476.558,549.736,328.99)

index                   =       202
tag                     =       202
cid                     =       20001,2,13
base_path               =       c02/
max_sight_range         =       30
max_visible_range       =       120

grid                    =       {50,50,30,-750,-750}
local_region            =       {-512,-512.0} , {512.0,512.0}

limit                   =       allow-root;no-couple-jump;gm-free;
player_capacity         =       4096

[Terrain_bf02]
szmappath               = map
nareawidth              = 512
nareaheight             = 512
nnumareas               = 1
nnumcols                = 1
nnumrows                = 1
vgridsize               = 2.0f
vheightmin              = 0.0f
vheightmax              = 800.0f

#--------------------------------------------------------------------------------------
[World_bg21]
is_battle_world         = 1
battle_id               = 7
battle_type		= 3
battle_max_player_count = 15
battle_need_level_min =	90 
battle_need_level_max = 104 
reborn_count_need	= 1
battle_kickout_time_min = 10
battle_kickout_time_max = 20
battle_kickout_close_time = 30

index                   =       121
tag                     =       121
cid                     =       10001,2,13
base_path               =       b21/
max_sight_range         =       30

grid                    =       {70,70,20.5,-717.5,-717.5}
local_region            =       {-512,-512.0} , {512.0,512.0}

limit                   =       allow-root;no-couple-jump;noduel;
player_capacity         =       4096

[Terrain_bg21]
szmappath               = map
nareawidth              = 512
nareaheight             = 512
nnumareas               = 1
nnumcols                = 1
nnumrows                = 1
vgridsize               = 2.0f
vheightmin              = 0.0f
vheightmax              = 800.0f

#--------------------------------------------------------------------------------------
[World_bg22]
is_battle_world         = 1
battle_id               = 7
battle_type		= 3
battle_max_player_count = 15
battle_need_level_min = 90 
battle_need_level_max = 104 
reborn_count_need	= 1
battle_kickout_time_min = 10
battle_kickout_time_max = 20
battle_kickout_close_time = 30

index                   =       122
tag                     =       122
cid                     =       10001,2,13
base_path               =       b21/
max_sight_range         =       30

grid                    =       {70,70,20.5,-717.5,-717.5}
local_region            =       {-512,-512.0} , {512.0,512.0}

limit                   =       allow-root;no-couple-jump;noduel;
player_capacity         =       4096

[Terrain_bg22]
szmappath               = map
nareawidth              = 512
nareaheight             = 512
nnumareas               = 1
nnumcols                = 1
nnumrows                = 1
vgridsize               = 2.0f
vheightmin              = 0.0f
vheightmax              = 800.0f

#--------------------------------------------------------------------------------------
[World_bg23]
is_battle_world         = 1
battle_id               = 8
battle_type		= 3
battle_max_player_count = 15
battle_need_level_min = 105 
battle_need_level_max = 119 
reborn_count_need	= 1
battle_kickout_time_min = 10
battle_kickout_time_max = 20
battle_kickout_close_time = 30

index                   =       123
tag                     =       123
cid                     =       10001,2,13
base_path               =       b22/
max_sight_range         =       30

grid                    =       {70,70,20.5,-717.5,-717.5}
local_region            =       {-512,-512.0} , {512.0,512.0}

limit                   =       allow-root;no-couple-jump;noduel;
player_capacity         =       4096

[Terrain_bg23]
szmappath               = map
nareawidth              = 512
nareaheight             = 512
nnumareas               = 1
nnumcols                = 1
nnumrows                = 1
vgridsize               = 2.0f
vheightmin              = 0.0f
vheightmax              = 800.0f

#--------------------------------------------------------------------------------------
[World_bg24]
is_battle_world         = 1
battle_id               = 8
battle_type		= 3
battle_max_player_count = 15
battle_need_level_min = 105 
battle_need_level_max = 119 
reborn_count_need	= 1
battle_kickout_time_min = 10
battle_kickout_time_max = 20
battle_kickout_close_time = 30

index                   =       124
tag                     =       124
cid                     =       10001,2,13
base_path               =       b22/
max_sight_range         =       30

grid                    =       {70,70,20.5,-717.5,-717.5}
local_region            =       {-512,-512.0} , {512.0,512.0}

limit                   =       allow-root;no-couple-jump;noduel;
player_capacity         =       4096

[Terrain_bg24]
szmappath               = map
nareawidth              = 512
nareaheight             = 512
nnumareas               = 1
nnumcols                = 1
nnumrows                = 1
vgridsize               = 2.0f
vheightmin              = 0.0f
vheightmax              = 800.0f

#--------------------------------------------------------------------------------------
[World_bg25]
is_battle_world         = 1
battle_id               = 9
battle_type		= 3
battle_max_player_count = 15
battle_need_level_min = 120 
battle_need_level_max = 134 
reborn_count_need	= 1
battle_kickout_time_min = 10
battle_kickout_time_max = 20
battle_kickout_close_time = 30

index                   =       125
tag                     =       125
cid                     =       10001,2,13
base_path               =       b23/
max_sight_range         =       30

grid                    =       {70,70,20.5,-717.5,-717.5}
local_region            =       {-512,-512.0} , {512.0,512.0}

limit                   =       allow-root;no-couple-jump;noduel;
player_capacity         =       4096

[Terrain_bg25]
szmappath               = map
nareawidth              = 512
nareaheight             = 512
nnumareas               = 1
nnumcols                = 1
nnumrows                = 1
vgridsize               = 2.0f
vheightmin              = 0.0f
vheightmax              = 800.0f

#--------------------------------------------------------------------------------------
[World_bg26]
is_battle_world         = 1
battle_id               = 9
battle_type		= 3
battle_max_player_count = 15
battle_need_level_min = 120 
battle_need_level_max = 134 
reborn_count_need	= 1
battle_kickout_time_min = 10
battle_kickout_time_max = 20
battle_kickout_close_time = 30

index                   =       126
tag                     =       126
cid                     =       10001,2,13
base_path               =       b23/
max_sight_range         =       30

grid                    =       {70,70,20.5,-717.5,-717.5}
local_region            =       {-512,-512.0} , {512.0,512.0}

limit                   =       allow-root;no-couple-jump;noduel;
player_capacity         =       4096

[Terrain_bg26]
szmappath               = map
nareawidth              = 512
nareaheight             = 512
nnumareas               = 1
nnumcols                = 1
nnumrows                = 1
vgridsize               = 2.0f
vheightmin              = 0.0f
vheightmax              = 800.0f

#--------------------------------------------------------------------------------------
[World_bg27]
is_battle_world         = 1
battle_id               = 10 
battle_type		= 3
battle_max_player_count = 15
battle_need_level_min = 135
battle_need_level_max = 150
reborn_count_need	= 1
battle_kickout_time_min = 10
battle_kickout_time_max = 20
battle_kickout_close_time = 30

index                   =       127
tag                     =       127
cid                     =       10001,2,13
base_path               =       b24/
max_sight_range         =       30

grid                    =       {70,70,20.5,-717.5,-717.5}
local_region            =       {-512,-512.0} , {512.0,512.0}

limit                   =       allow-root;no-couple-jump;noduel;
player_capacity         =       4096

[Terrain_bg27]
szmappath               = map
nareawidth              = 512
nareaheight             = 512
nnumareas               = 1
nnumcols                = 1
nnumrows                = 1
vgridsize               = 2.0f
vheightmin              = 0.0f
vheightmax              = 800.0f

#--------------------------------------------------------------------------------------
[World_bg28]
is_battle_world         = 1
battle_id               = 10 
battle_type		= 3
battle_max_player_count = 15
battle_need_level_min = 135
battle_need_level_max = 150
reborn_count_need	= 1
battle_kickout_time_min = 10
battle_kickout_time_max = 20
battle_kickout_close_time = 30

index                   =       128
tag                     =       128
cid                     =       10001,2,13
base_path               =       b24/
max_sight_range         =       30

grid                    =       {70,70,20.5,-717.5,-717.5}
local_region            =       {-512,-512.0} , {512.0,512.0}

limit                   =       allow-root;no-couple-jump;noduel;
player_capacity         =       4096

[Terrain_bg28]
szmappath               = map
nareawidth              = 512
nareaheight             = 512
nnumareas               = 1
nnumcols                = 1
nnumrows                = 1
vgridsize               = 2.0f
vheightmin              = 0.0f
vheightmax              = 800.0f

#宋金战场
#--------------------------------------------------------------------------------------
[World_bg31]
is_battle_world         = 1
battle_id               = 12
battle_type             = 5
battle_max_player_count = 200
battle_need_level_min = 1
battle_need_level_max = 150
battle_kickout_time_min = 10
battle_kickout_time_max = 20
battle_kickout_close_time = 30

index                   =       131
tag                     =       131
cid                     =       10003,2,13
base_path               =       b31/
max_sight_range         =       30

grid                    =       {70,70,20.5,-717.5,-717.5}
local_region            =       {-512,-512.0} , {512.0,512.0}

limit                   =       allow-root;faction-team;no-fly;no-couple-jump;noduel;can-use-battleground-skill-mater;
;limit                   =       allow-root;faction-team;no-couple-jump;noduel;can-use-battleground-skill-mater;
player_capacity         =       4096

[Terrain_bg31]
szmappath               = map
nareawidth              = 512
nareaheight             = 512
nnumareas               = 1
nnumcols                = 1
nnumrows                = 1
vgridsize               = 2.0f
vheightmin              = 0.0f
vheightmax              = 800.0f
a


After clicking gs.conf you'll have to add the new map to the start up list.
Code:
world_servers		= 	gs01;gs02;gs03;gs04;gs05;gs06;gs07;gs08;gs09;gs10;gs11;gs12;gs13;gs14;gs15;gs16;gs17;gs18;gs19;gs20;gs309

Once you see that you will edit it.
ex:
Code:
world_servers		= 	gs01;gs02;gs03;gs04;gs05;gs06;gs07;gs08;gs09;gs10;gs11;gs12;gs13;gs14;gs15;gs16;gs17;gs18;gs19;gs20;gs30;gs309

As you see I used gs30 as a example. Though you do not have to rename the map folder z30 to make the map work.
So lets say that we are working with map a13
We would add it like so:
Code:
[World_gs30]
index 			= 	30
tag			=	30
cid			= 	0,2,13
base_path		=	a13/
max_sight_range		=	30

grid                    =       {70,70,20.5,-717.5,-717.5}
local_region		=	{-512,-512.0} , {512.0,512.0}

limit			= 	allow-root;
player_capacity		=	4096

[Terrain_gs30]
szMapPath		= map 
nAreaWidth 		= 512
nAreaHeight 		= 512
nNumAreas 		= 1
nNumCols 		= 1
nNumRows 		= 1
vGridSize 		= 2.0f
vHeightMin 		= 0.0f
vHeightMax 		= 800.0f

#--------------------------------------------------------------------------------------
The name of the map does not matter. It could be a13 or even z13, Though the server does not run by the name of the map it runs by the "gs"
When adding a new map it is best to add it above gs309 to prevent bugs.
Once done go into your elements.data and search for the keyword "Teleport" once there edit the id teleport 2043.
After doing so go below the current teleport listings and add the information needed to go to that map. So if you wanted to go to the a13 map you'd type 30 as the maps teleport location. 30 = gs30
Once you have the X Y Z Coords set save the elements.data and patch it to your client and server.
Then test it out. You will have to mess around with the Coords until you find the one you like.
It is best to use element_tt to edit the X Y Z coords. Most of the other editors bugs.

Note: Maps from other PWE games may be harder to add then the current game maps.
Make sure that the map that you try to add has all the files it needs listed in that folder, or the map won't work.
Hope this helps!

Henmoro.
 
Last edited:
Joined
Oct 28, 2011
Messages
2,465
Reaction score
1,258
if you have console_cmd.txt inside the configs.pck file and it has the debug commands.

take a shortcut to C:\client_folder\element\elementclient.exe to the desktop

right click it and under general:
"C:\client_folder\element\elementclient.exe" game: cpw console: 1

start the game from the shortcut with that line exactly as i've typed it.

in game: shift-key/tilde-key ~ <--
drops down debug console window
turn on position, type:
d_showpos
turn it off, again type:
d_showpos

shift-key/tilde-key will close the console drop down window when done.

Do use caution in this window.


Increased font size for easier reading.
 
Last edited:
Newbie Spellweaver
Joined
Feb 19, 2008
Messages
18
Reaction score
0
This is grate, I am new to all this so please bear with my nooby question, but how do you teleport in the new map, I know you need to put port coordinates in txt file, but i haven't figured out how to get in new map yet. If this is alread in the forum some were please forgive this error.
 
Newbie Spellweaver
Joined
Nov 12, 2011
Messages
22
Reaction score
1
Once done go into your elements.data and search for the keyword "Teleport" once there edit the id teleport 2043.
After doing so go below the current teleport listings and add the information needed to go to that map. So if you wanted to go to the a13 map you'd type 30 as the maps teleport location. 30 = gs30
Once you have the X Y Z Coords set save the elements.data and patch it to your client and server.
Then test it out. You will have to mess around with the Coords until you find the one you like.
It is best to use element_tt to edit the X Y Z coords. Most of the other editors bugs.

the answer to your question is on this thread itself.
That is how to add the teleport option to the Sunstream NPC, now if your question is related to knowing which Coords you need, those are different for every map so you have to figure that out on your own.
 
Newbie Spellweaver
Joined
Jan 16, 2011
Messages
83
Reaction score
8
<DarkNightsComing> if you have console_cmd.txt inside the configs.pck file and it has the debug commands.

take a shortcut to C:\client_folder\element\elementclient.exe to the desktop

right click it and under general:
"C:\client_folder\element\elementclient.exe" game: cpw console: 1

start the game from the shortcut with that line exactly as i've typed it.

in game: shift-key/tilde-key ~ <--
drops down debug console window
turn on position, type:
d_showpos
turn it off, again type:
d_showpos

shift-key/tilde-key will close the console drop down window when done.

Do use caution in this window.

Once I type the d_showpos and hit enter I get Wrong parameter number and no chords show up above my char's head. It strikes me as odd cause my short cut batch file that I use for my pw server works with no issues. Not sure why this doesn't. Most of the other commands I tested did work though. Any ideas to my issue. Thanks for the guide and help.
 
Joined
Oct 28, 2011
Messages
2,465
Reaction score
1,258
Shortcut on desktop should have this:

C:\JadeDynasty\element\elementclient.exe # game: # cpw # console: # 1


Notice the spaces depicted by --> # <-- sign. Remove pound sign and replace with spaces

Here is my attached console_cmd.txt file to be used by repacking into your client.

This file sits inside "configs.pck" primary folder "configs", use sPCK to repack it:
1.To extract your configs.pck file:
sPCK -x "C:\JadeDynastyClientFolderLocation\element\configs.pck"
2. To compress your configs.pck.files folder back into configs.pck (make sure old one is renamed so there is no naming issue and you have a file for restoration if needed):
sPCK -c "C:\JadeDynastyClientFolderLocation\element\configs.pck.files"


console_cmd.txt (found in the v1477 client)

Code:
//  Console commands in Element Client

#_begin	  //  String table begin ...

"exit"

// ========== Debug commands ==========

"d_cameramode"
"d_boundbox"
"d_rtdebug"
"d_npcid"
"d_itemid"
"d_runspeed"
"d_goto"
"d_gotoline"
"d_fly"
"d_c2scmd"
"d_c2scmdp"
"d_viewradius"
"d_relogin"
"d_skill"
"d_render_water"
"d_render_grass"
"d_render_forest"
"d_render_shadow"
"d_render_outline"
"d_turnaround"
"d_testdist"
"d_gfx"
"d_showpos"
"d_trnlayer"
"d_a3dstat"
"d_gamestat"
"d_treelod"
"d_fps"
"d_playerradius"
"d_showid"
"d_skipframe"
"d_modelupdate"
"d_minidump"
"d_settimeofday"
"d_getservertime"
"d_task"
"d_mipmapbias"
"d_updatelua"
"d_trncull"
"d_gscmd"
"d_delcmd"
"d_fixedcamera"
"d_towerdefense"
"d_camturnspeed"
"d_cutscene"
"d_hdr"
"d_skillnotarget"
"d_buyrepuitem"
"d_anm"
"d_gamesnake"
"d_tinygame"

// ========== GM commands ==========

"gm_kickout_role"
"gm_kickout_user"
"gm_list_user"
"gm_online_num"
"gm_restart_sev"
"gm_shutup_role"
"gm_shutup_user"
"gm_moveto_player"
"gm_callin_player"
"gm_broadcast"
"gm_showid"
"gm_forbid_role"
"gm_trigger_chat"
"gm_generate"
 

Attachments

You must be registered for see attachments list
Last edited:
Status
Not open for further replies.
Back
Top