|
You last visited: Today at 08:49
Advertisement
constants.cpp ändern
Discussion on constants.cpp ändern within the Metin2 Private Server forum part of the Metin2 category.
12/27/2021, 16:25
|
#1
|
elite*gold: 0
Join Date: Dec 2021
Posts: 24
Received Thanks: 2
|
constants.cpp ändern
Kann mir einer nur sagen was diese bedeuten, damit ich die richtigen Zahlen einsetzen kann?
const DWORD exp_table_euckr[PLAYER_EXP_TABLE_MAX + 1]
const DWORD exp_table_common[PLAYER_EXP_TABLE_MAX + 1]
const DWORD exp_table_newcibn[PLAYER_EXP_TABLE_MAX + 1 ]
const DWORD party_exp_distribute_table[PLAYER_MAX_LEVEL_CONST + 1]
Code:
0,
10, 10, 10, 10, 15, 15, 20, 25, 30, 40, // 1 - 10
50, 60, 80, 100, 120, 140, 160, 184, 210, 240, // 11 - 20
270, 300, 330, 360, 390, 420, 450, 480, 510, 550, // 21 - 30
600, 640, 700, 760, 820, 880, 940, 1000, 1100, 1180, // 31 - 40
1260, 1320, 1380, 1440, 1500, 1560, 1620, 1680, 1740, 1800, // 41 - 50
1860, 1920, 2000, 2100, 2200, 2300, 2450, 2600, 2750, 2900, // 51 - 60
3050, 3200, 3350, 3500, 3650, 3800, 3950, 4100, 4250, 4400, // 61 - 70
4600, 4800, 5000, 5200, 5400, 5600, 5800, 6000, 6200, 6400, // 71 - 80
6600, 6900, 7100, 7300, 7600, 7800, 8000, 8300, 8500, 8800, // 81 - 90
9000, 9000, 9000, 9000, 9000, 9000, 9000, 9000, 9000, 9000, // 91 - 100
10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, // 101 - 110
12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 111 - 120
12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 121 - 130
12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 131 - 140
12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 141 - 150
12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 151 - 160
12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 161 - 170
12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 171 - 180
12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 181 - 190
12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 191 - 200
12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 201 - 210
12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 211 - 220
12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 221 - 230
12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 231 - 240
12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 241 - 250
12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 251 - 260
12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 261 - 270
12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 271 - 280
12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 281 - 290
12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 291 - 300
12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 301 - 310
12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 311 - 320
12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 321 - 330
12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 331 - 340
12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 341 - 350
12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 351 - 360
12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 361 - 370
12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 371 - 380
12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 381 - 390
12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 391 - 400
12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 401 - 410
12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 411 - 420
12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 421 - 430
12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 431 - 440
12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 441 - 450
12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 451 - 460
12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 461 - 470
12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 471 - 480
12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 481 - 490
12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 491 - 500
const int aiExpLossPercents[PLAYER_EXP_TABLE_MAX + 1]
Code:
0,
5, 5, 5, 5, 5, 5, 5, 5, 5, 4, // 1 - 10
4, 4, 4, 4, 4, 4, 4, 4, 4, 4, // 11 - 20
4, 4, 4, 4, 4, 4, 4, 3, 3, 3, // 21 - 30
3, 3, 3, 3, 3, 3, 3, 3, 3, 3, // 31 - 40
3, 3, 3, 3, 2, 2, 2, 2, 2, 2, // 41 - 50
2, 2, 2, 2, 2, 2, 2, 2, 2, 2, // 51 - 60
2, 2, 1, 1, 1, 1, 1, 1, 1, 1, // 61 - 70
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 71 - 80
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 81 - 90
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 91 - 100
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 101 - 110
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 111 - 120
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 121 - 130
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 131 - 140
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 141 - 150
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 151 - 160
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 161 - 170
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 171 - 180
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 181 - 190
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 191 - 200
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 201 - 210
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 211 - 220
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 221 - 230
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 231 - 240
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 241 - 250
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 251 - 260
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 261 - 270
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 271 - 280
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 281 - 290
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 291 - 300
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 301 - 310
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 311 - 320
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 321 - 330
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 331 - 340
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 341 - 350
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 351 - 360
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 361 - 370
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 371 - 380
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 381 - 390
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 391 - 400
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 401 - 410
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 411 - 420
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 421 - 430
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 431 - 440
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 441 - 450
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 451 - 460
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 461 - 470
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 471 - 480
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 481 - 490
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 491 - 500
|
|
|
12/27/2021, 16:31
|
#2
|
elite*gold: 5
Join Date: Oct 2021
Posts: 298
Received Thanks: 73
|
Quote:
Originally Posted by I bims 1 WLAN
Kann mir einer nur sagen was diese bedeuten, damit ich die richtigen Zahlen einsetzen kann?
const DWORD exp_table_euckr[PLAYER_EXP_TABLE_MAX + 1]
const DWORD exp_table_common[PLAYER_EXP_TABLE_MAX + 1]
const DWORD exp_table_newcibn[PLAYER_EXP_TABLE_MAX + 1 ]
const DWORD party_exp_distribute_table[PLAYER_MAX_LEVEL_CONST + 1]
Code:
0,
10, 10, 10, 10, 15, 15, 20, 25, 30, 40, // 1 - 10
50, 60, 80, 100, 120, 140, 160, 184, 210, 240, // 11 - 20
270, 300, 330, 360, 390, 420, 450, 480, 510, 550, // 21 - 30
600, 640, 700, 760, 820, 880, 940, 1000, 1100, 1180, // 31 - 40
1260, 1320, 1380, 1440, 1500, 1560, 1620, 1680, 1740, 1800, // 41 - 50
1860, 1920, 2000, 2100, 2200, 2300, 2450, 2600, 2750, 2900, // 51 - 60
3050, 3200, 3350, 3500, 3650, 3800, 3950, 4100, 4250, 4400, // 61 - 70
4600, 4800, 5000, 5200, 5400, 5600, 5800, 6000, 6200, 6400, // 71 - 80
6600, 6900, 7100, 7300, 7600, 7800, 8000, 8300, 8500, 8800, // 81 - 90
9000, 9000, 9000, 9000, 9000, 9000, 9000, 9000, 9000, 9000, // 91 - 100
10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, // 101 - 110
12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 111 - 120
12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 121 - 130
12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 131 - 140
12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 141 - 150
12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 151 - 160
12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 161 - 170
12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 171 - 180
12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 181 - 190
12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 191 - 200
12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 201 - 210
12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 211 - 220
12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 221 - 230
12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 231 - 240
12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 241 - 250
12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 251 - 260
12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 261 - 270
12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 271 - 280
12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 281 - 290
12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 291 - 300
12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 301 - 310
12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 311 - 320
12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 321 - 330
12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 331 - 340
12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 341 - 350
12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 351 - 360
12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 361 - 370
12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 371 - 380
12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 381 - 390
12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 391 - 400
12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 401 - 410
12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 411 - 420
12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 421 - 430
12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 431 - 440
12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 441 - 450
12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 451 - 460
12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 461 - 470
12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 471 - 480
12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 481 - 490
12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, 12000, // 491 - 500
const int aiExpLossPercents[PLAYER_EXP_TABLE_MAX + 1]
Code:
0,
5, 5, 5, 5, 5, 5, 5, 5, 5, 4, // 1 - 10
4, 4, 4, 4, 4, 4, 4, 4, 4, 4, // 11 - 20
4, 4, 4, 4, 4, 4, 4, 3, 3, 3, // 21 - 30
3, 3, 3, 3, 3, 3, 3, 3, 3, 3, // 31 - 40
3, 3, 3, 3, 2, 2, 2, 2, 2, 2, // 41 - 50
2, 2, 2, 2, 2, 2, 2, 2, 2, 2, // 51 - 60
2, 2, 1, 1, 1, 1, 1, 1, 1, 1, // 61 - 70
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 71 - 80
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 81 - 90
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 91 - 100
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 101 - 110
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 111 - 120
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 121 - 130
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 131 - 140
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 141 - 150
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 151 - 160
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 161 - 170
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 171 - 180
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 181 - 190
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 191 - 200
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 201 - 210
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 211 - 220
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 221 - 230
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 231 - 240
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 241 - 250
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 251 - 260
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 261 - 270
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 271 - 280
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 281 - 290
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 291 - 300
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 301 - 310
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 311 - 320
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 321 - 330
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 331 - 340
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 341 - 350
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 351 - 360
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 361 - 370
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 371 - 380
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 381 - 390
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 391 - 400
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 401 - 410
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 411 - 420
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 421 - 430
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 431 - 440
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 441 - 450
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 451 - 460
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 461 - 470
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 471 - 480
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 481 - 490
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 491 - 500
|
Nummer 1 regelt den Party Bonus sprich Gruppen Bonus.
Nummer 2 regelt die EXP die man nach dem Tod verlieren kann.
|
|
|
12/28/2021, 20:35
|
#3
|
elite*gold: 0
Join Date: Dec 2021
Posts: 24
Received Thanks: 2
|
Genau das wollte ich wissen. Die oberen 3:
const DWORD exp_table_euckr[PLAYER_EXP_TABLE_MAX + 1]
const DWORD exp_table_common[PLAYER_EXP_TABLE_MAX + 1]
const DWORD exp_table_newcibn[PLAYER_EXP_TABLE_MAX + 1 ]
sind wahrscheinlich nur EXP, die man beim lvln bekommt?
|
|
|
 |
Similar Threads
|
.cpp Dateien richtig ändern
12/31/2021 - Metin2 Private Server - 7 Replies
Hi,
ich hab z.B. folgendes:
//Find
bool InitializeShopTable();
///Add
#if defined(ENABLE_RENEWAL_SHOPEX)
bool InitializeShopEXTable();
|
[How-To] Link your constants.cpp to your item_attr
12/19/2016 - Metin2 PServer Guides & Strategies - 6 Replies
Link your constants.cpp to your item_attr
Hello guys, today im gonna show you a simple trick that lets you use what you have in your Srcs/server/constants.cpp
What are those constants? They simply are the defined skills with they're index number.
You ever asked yourself how to implement on items some bonuses like RESIST CLAW or RESIST ICE or DEFENCE POINTS and stuff like that?
Well in constants.cpp you will face what are the bonus you got in your source (this is not how to implement new...
|
[Release] +5500 Packets structure , client/packets constants
10/07/2012 - CO2 PServer Guides & Releases - 10 Replies
edit : if u know nothing about packets go to this post first
explaining what is packets , and explaining a packet with details and everything
http://www.elitepvpers.com/forum/co2-pserver-disc ussions-questions/2162344-packets-packets-packets. html#post19074533
i start making my very own packet structure to use them on my new proxy but i thought of ripping them from the source
so yeah the following packets is ripped of trinity base source
right now im just providing the packets structure...
|
Core ändern bzw player.cpp und kompilieren.
10/30/2009 - WoW Private Server - 0 Replies
Hallo und zwar möchte ich was in der player.cpp ändern , so habe c++ auch alles nur mein problem jetzt ist
es ist ein vserver unter debian linux und ich weiss nicht wie man die core kompiliert wenn man was geändert hat oder wie ^^ ka ^^
hat jemand ein tut oder kann mir sagen wie?
|
All times are GMT +1. The time now is 08:49.
|
|