Jump to content
  • 0

ERROR Edit Max lv +255


Troian

Question

Hello, I have a problem with editing max level in the source game.
Edition of the game is done properly because the game runs, but when tables.h Please edit
 
Before:
typedef struct SPlayerTable
 

BYTE level;
BYTE level_step;

 
On:
typedef struct SPlayerTable
 

INT    level;
BYTE level_step;

 
Error syserr
SYSERR: Dec 14 11:48:49 :: GetServerLocation: location error name  mapindex 0 0 x 0 empire 1
SYSERR: Dec 14 11:48:57 :: GetServerLocation: location error name  mapindex 0 0 x 0 empire 1

 
Sorry for my English
Link to comment
Share on other sites

  • Answers 10
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

10 answers to this question

Recommended Posts

  • 0
  • Premium

 

this syserr not by the level , it's another thing serch in google about it

 

+ i don't know but i think you should use long

 

int range is from –2,147,483,648 to 2,147,483,647 so you can use int too

 

 

Will I Don't Understand Any Thing In C++ , But Thx For The Info :wub:

 

@Troian Why You Didn't Change BYTE level_step; To Int Too ? :huh:

If you're going to do something, then do it right.

Link to comment
Share on other sites

  • 0
  • Premium

 

this syserr not by the level , it's another thing serch in google about it

 

+ i don't know but i think you should use long

 

int range is from –2,147,483,648 to 2,147,483,647 so you can use int too

 

 

Will I Don't Understand Any Thing In C++ , But Thx For The Info :wub:

 

@Troian Why You Didn't Change BYTE level_step; To Int Too ? :huh:

If you're going to do something, then do it right.

Link to comment
Share on other sites

  • 0

 

 

this syserr not by the level , it's another thing serch in google about it

 

+ i don't know but i think you should use long

 

int range is from –2,147,483,648 to 2,147,483,647 so you can use int too

 

 

Will I Don't Understand Any Thing In C++ , But Thx For The Info :wub:

 

@Troian Why You Didn't Change BYTE level_step; To Int Too ? :huh:

 

 

 

Also I changed nothing helped , I am now very angry at myself because after the withdrawal of the changes I still have this problem , and I did not do beckup'a and now I have a problem with that

Link to comment
Share on other sites

  • 0

 

 

this syserr not by the level , it's another thing serch in google about it

 

+ i don't know but i think you should use long

 

int range is from –2,147,483,648 to 2,147,483,647 so you can use int too

 

 

Will I Don't Understand Any Thing In C++ , But Thx For The Info :wub:

 

@Troian Why You Didn't Change BYTE level_step; To Int Too ? :huh:

 

 

 

Also I changed nothing helped , I am now very angry at myself because after the withdrawal of the changes I still have this problem , and I did not do beckup'a and now I have a problem with that

Link to comment
Share on other sites

  • 0
  • Bronze

well maybe i dont know about that error it happens when the char fail to be created , well there is another thing you should put on your mind , the level is not defined only there there are many refernce to it changing from byte to int is not that simple you are creating by this many warnings it isnt that simple to change a basic function on metin2 + use visual studio for such a thing , well there is another thing there is a deference int and INT are not the same in such a case INT is the correct one however it is still to big i do not think that you will chose a  lv like 2,147,483,647 or something like that and you do not need a negative value –2,147,483,648 (or even -1) there are other changes that must be done (mysql changes) and etc, im sure that there are ppl who already tested this ask them .

my question is why the double posting?

Link to comment
Share on other sites

  • 0

Well that mistake syserra disappeared , but further crashes my server when logging

 

 

syslog CH1

Dec 14 20:49:59 :: Handshake: client_time 0 server_time 170630
Dec 14 20:50:00 :: LOGIN_BY_KEY: troian key 377768826
Dec 14 20:50:01 :: LoginSuccess
Dec 14 20:50:01 ::  player(Troian).job(0)
Dec 14 20:50:01 ::  player().job(0)
Dec 14 20:50:01 ::  player().job(0)
Dec 14 20:50:01 ::  player().job(0)
Dec 14 20:50:01 :: success to 91.234.217.102:13000
Dec 14 20:50:01 :: InputDB::login_success: troian
Dec 14 20:50:02 :: player_select: login: troian index: 0
Dec 14 20:50:02 :: GM_NEW_GET_LEVEL : FIND ACCOUNT
Dec 14 20:50:02 :: PK_MODE: Troian 3
Dec 14 20:50:02 :: PLAYER_LOAD: Troian PREMIUM 0 0, LOGGOFF_INTERVAL 1418586602 PTR: 0x3ce0a000
Dec 14 20:50:02 :: GM_LOGIN(gmlevel=5, name=Troian(58850), pos=(957212, 255430)
Dec 14 20:50:02 :: InputDB: player_load Troian 957212x255430x0 LEVEL 1 MOV_SPEED 100 JOB 0 ATG 14 DFG 4 GMLv 5
Dec 14 20:50:02 :: ITEM_LOAD: COUNT Troian 0
Dec 14 20:50:02 :: QUEST_LOAD: count 0
Dec 14 20:50:02 :: VERSION: Troian 1215955205 metin2client.exe
Dec 14 20:50:06 :: GLOBAL_TIME: Dec 14 20:50:06 time_gap 0
Dec 14 20:50:28 :: DISCONNECT: Troian (DESC::~DESC)
Dec 14 20:50:28 :: SAVE: Troian 957212x255430
Dec 14 20:50:28 :: QUEST clear timer 0
Dec 14 20:50:28 :: SYSTEM: closing socket. DESC #17
Dec 14 20:51:06 :: GLOBAL_TIME: Dec 14 20:51:06 time_gap 0
Dec 14 20:52:06 :: GLOBAL_TIME: Dec 14 20:52:06 time_gap 0
 

 

SYSLOG AUTH

Dec 14 20:47:43 :: SYSTEM: new connection from [109.95.117.75] fd: 15 handshake 3029152951 output input_len 0, ptr 0x2896e000
Dec 14 20:47:44 :: Handshake: client_time 0 server_time 31000
Dec 14 20:47:44 :: AUTH_PHASE 0x2896e000
Dec 14 20:47:45 :: InputAuth::Login : troian(6) desc 0x2896e000
Dec 14 20:47:45 :: SetLoginKey 806609975
Dec 14 20:47:45 :: InputAuth::Login : key 806609975:0x6273b741 login troian
Dec 14 20:47:45 :: QID_AUTH_LOGIN: START 806609975 0x2896e000
Dec 14 20:47:45 :: Create_Time 0 19700101
Dec 14 20:47:45 :: Block Time -2 
Dec 14 20:47:45 :: SetRemainSecs troian 0 type 2
Dec 14 20:47:45 :: SendAuthLogin troian key 666
Dec 14 20:47:45 :: AuthLogin result 1 key 806609975
Dec 14 20:47:45 :: SYSTEM: closing socket. DESC #15
Dec 14 20:49:22 :: SYSTEM: new connection from [109.95.117.75] fd: 15 handshake 2506943594 output input_len 0, ptr 0x2896e000
Dec 14 20:49:22 :: Handshake: client_time 0 server_time 129230
Dec 14 20:49:22 :: AUTH_PHASE 0x2896e000
Dec 14 20:49:22 :: InputAuth::Login : troian(6) desc 0x2896e000
Dec 14 20:49:22 :: SetLoginKey 377768826
Dec 14 20:49:22 :: InputAuth::Login : key 377768826:0x2ba8bbf0 login troian
Dec 14 20:49:22 :: QID_AUTH_LOGIN: START 377768826 0x2896e000
Dec 14 20:49:22 :: Create_Time 0 19700101
Dec 14 20:49:22 :: Block Time -2 
Dec 14 20:49:22 :: SetRemainSecs troian 0 type 2
Dec 14 20:49:22 :: SendAuthLogin troian key 666
Dec 14 20:49:22 :: AuthLogin result 1 key 377768826
Dec 14 20:49:23 :: SYSTEM: closing socket. DESC #15
Dec 14 20:50:02 :: BILLING: ON troian key 377768826 ptr 0x28a29320
Dec 14 20:50:28 :: SetRemainSecs troian 0 type 2
Dec 14 20:50:28 :: BILLING: PUSH troian 26 type 2
Dec 14 20:50:28 :: BILLING: OFF troian key 377768826 ptr 0x28a29320
Dec 14 20:50:28 :: FLUSH_USE_TIME: count 1
Link to comment
Share on other sites

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


  • Activity

    1. 7

      Metin2 2003 Beta Client!!!!!

    2. 32

      Boss Effect Over Head

    3. 1

      Open Source API for Metin2 Server Management - Early Development

    4. 0

      Official Item Combination [18.4]

    5. 2

      Proper SIGNAL management for Windows

    6. 2

      Proper SIGNAL management for Windows

    7. 4

      syserr erorr ( not working OK button on client )

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