AlCapone 67 Posted April 7, 2015 Share Posted April 7, 2015 (edited) Hi all I have 2 questions for you guys: 1º How can I see all config comands like, because I have allwip source but I dont know all config he have. 2º How can I change the revision when I compile the game. P.D: I am new in this soo all help is good . Thanks for all Edited August 19, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
JachuPL 308 Posted April 7, 2015 Share Posted April 7, 2015 (edited) Hi all I have 2 questions for you guys: 1º How can I see all config comands like, because I have allwip source but I dont know all config he have. 2º How can I change the revision when I compile the game. P.D: I am new in this soo all help is good . Thanks for all 1. open config.cpp and find config_load() or sth like that with "load" in name. You will see TOKEN("x") where x is a config input (in ex., START_LEVEL as shown on image) 2. version.cpp file Edited August 19, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
AlCapone 67 Posted April 8, 2015 Author Share Posted April 8, 2015 (edited) Hi all I have 2 questions for you guys: 1º How can I see all config comands like, because I have allwip source but I dont know all config he have. 2º How can I change the revision when I compile the game. P.D: I am new in this soo all help is good . Thanks for all 1. open config.cpp and find config_load() or sth like that with "load" in name. You will see TOKEN("x") where x is a config input (in ex., START_LEVEL as shown on image) 2. version.cpp file 2º fprintf(fp, "game perforce revision: %sn", __P4_VERSION__); fprintf(fp, "%s@%s:%sn", __USER__, __HOSTNAME__, __PWD__); fclose(fp); If i delet p4_version and put hm some numbers is ok? Edited August 19, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Premium V0iĐ 114 Posted April 8, 2015 Premium Share Posted April 8, 2015 Yes my version.cpp looks like: fprintf(fp, "game perforce revision: 40250"); Link to comment Share on other sites More sharing options...
.Devil. 28 Posted April 8, 2015 Share Posted April 8, 2015 (edited) Hi all I have 2 questions for you guys: 1º How can I see all config comands like, because I have allwip source but I dont know all config he have. 2º How can I change the revision when I compile the game. P.D: I am new in this soo all help is good . Thanks for all 1. open config.cpp and find config_load() or sth like that with "load" in name. You will see TOKEN("x") where x is a config input (in ex., START_LEVEL as shown on image) 2. version.cpp file 2º fprintf(fp, "game perforce revision: %sn", __P4_VERSION__); fprintf(fp, "%s@%s:%sn", __USER__, __HOSTNAME__, __PWD__); fclose(fp); If i delet p4_version and put hm some numbers is ok? It's ok, but as string. If you'll need to write an integer change game perforce revision: %sn to game perforce revision: %dn Edited August 19, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
.Devil. 28 Posted April 8, 2015 Share Posted April 8, 2015 #deleteme Link to comment Share on other sites More sharing options...
Premium Galet 509 Posted April 8, 2015 Premium Share Posted April 8, 2015 Nah, you have to change the version in the Makefile. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now