Syron 296 Posted February 9, 2015 Share Posted February 9, 2015 (edited) Hello , first off all , if you don't have any ideea what C++ is and you want Wolfman/Lycan full unbugged on your server and other features , you can contact http://metin2dev.org/board/index.php?/user/2058-ken/(Ellie) I will give you everything to run a test-server with Lycan , but you have to work a lot to make something stable , there are a lot of major bugs. The server files doesn't contains any data , no drops , no npcs , no quests. Only the basic things to make it work. With these , i will give you a fully compatible client in English with everything already installed. The SLN files to recompile your own launcher , and the source files for the server. The compiled DB on the Test Server will run mob_proto & item_proto only from MySQL. Screens: Test account: Username: syron Password: test Download links & Virustotal: NEW FILES : This is the hidden content, please Sign In or Sign Up Lycan Test Client (EN) - https://mega.co.nz/#!7F92UIaa!Dq9OpQv66bBmIOTQmY87xNNevq8zM9LHN5PW2hWHJ-o Wolfman Source - https://mega.co.nz/#!aN9j3LKC!jjmRcVlhk1QDY6E0HxMJTbudckTtFrlevfVM4ezvdfI Wolfman Binary SLN - https://mega.co.nz/#!vB8AiSyJ!nN0Wy0M1vylQbU0y14LktF9668buzbGdI2ys_0_0eBo Test Server - https://mega.co.nz/#!CZUG2bhJ!_FNNqK0fr8btKnC2dP52oDFMVOLmN7u_Rd1VwnKvTao item_proto.sql update in English (only rewrite , don't delete the one from Test Server, thanks to Asta ! ) - https://mega.co.nz/#!mRkiyKKB!_ALzJDovYvbNUtsEyKGmPHOll3urFIWoqAplnzFjiEQ Start Positions for Lycan Special Map ( thanks to Denis for some informations! ) (compatible with my Test Server) - https://mega.co.nz/#!XZEDlZgL!QLPZyrhsSvMqFlPYFgPEAfLUseVXtbkqELyezXLDYnM Wolfman Source - This is the hidden content, please Sign In or Sign Up Wolfman Binary SLN - This is the hidden content, please Sign In or Sign Up Test Server - This is the hidden content, please Sign In or Sign Up Start Positions - This is the hidden content, please Sign In or Sign Up Edited August 18, 2022 by Metin2 Dev Core X - External 2 Internal 21 1 1 12 1 36 Link to comment Share on other sites More sharing options...
Premium iRETEMAG 137 Posted February 9, 2015 Premium Share Posted February 9, 2015 Installed, working. Thanks @Syron! Link to comment Share on other sites More sharing options...
asdfghjkesha 98 Posted February 9, 2015 Share Posted February 9, 2015 Thank you, I'll try these. Which Visual Studio do you recommend to use for compiling binary? Link to comment Share on other sites More sharing options...
Syron 296 Posted February 9, 2015 Author Share Posted February 9, 2015 Thank you, I'll try these. Which Visual Studio do you recommend to use for compiling binary? VS2008 + SP1 2 Link to comment Share on other sites More sharing options...
Premium Necro 78 Posted February 9, 2015 Premium Share Posted February 9, 2015 Thank you Link to comment Share on other sites More sharing options...
Tasho 243 Posted February 9, 2015 Share Posted February 9, 2015 I have a question: when you made the start_position u edited start_position.cpp and start_position.h and what? Link to comment Share on other sites More sharing options...
Syron 296 Posted February 9, 2015 Author Share Posted February 9, 2015 I have a question: when you made the start_position u edited start_position.cpp and start_position.h and what? I didn't , i'm still searching that too. But as i see , i tried to remove one of the 7 in start_position files ( they are 7 with wolf , and there is one with index 0 , coordonates 0 ) edit that and see if it works. metin2_map_e1 index in the Test Server is 222 Try here: DWORD g_create_position[4][2] = { { 0, 0 }, { 459800, 953900 }, { 52070, 166600 }, { 957300, 255200 }, }; If you manage to get that working , you can create a simple-quest file to edit that too. quest towntp begin state start begin when login with pc.getqf("first_login") == 0 begin if pc.get_empire() == 1 and pc.get_job() == 4 then pc.warp(xxx, yyy) pc.setqf("first_login", 1) if pc.get_emmpire() == 2 and pc.get_job() == 4 then pc.warp(xxx, yyy) pc.setqf("first_login", 1) if pc.get_empire() == 3 and pc.get_job() == 4 then pc.warp(xxx, yyy) pc.setqf("first_login", 1) else end end end 2 Link to comment Share on other sites More sharing options...
Tasho 243 Posted February 9, 2015 Share Posted February 9, 2015 I did it like this : start_position.cpp : DWORD g_create_position_wolfman[4][2] = { { 0, 0 }, { 808100, 935100 }, { 859300, 935100 }, { 910500, 935100 }, }; start_position.h: extern DWORD g_create_position_wolfman[4][2]; inline DWORD CREATE_START_X_WOLFMAN(BYTE e) { if (e >= 1 && e <= 3) { return g_create_position_wolfman[e][0]; } } inline DWORD CREATE_START_Y_WOLFMAN(BYTE e) { if (e >= 1 && e <= 3) { return g_create_position_wolfman[e][1]; } } still I need to do somenthing else ... with quest is oke. Link to comment Share on other sites More sharing options...
Denis 1474 Posted February 9, 2015 Share Posted February 9, 2015 if (!NewPlayerTable2(&player_create_packet.player_table, pinfo->name, pinfo->job, pinfo->shape, d->GetEmpire())) to if (!NewPlayerTable2(&player_create_packet.player_table, pinfo->name, pinfo->job, pinfo->shape, (pinfo->job == 8 ? 4 : d->GetEmpire()))) at file input_login.cpp and the only thing you need to do is to add the new coords to start_position without creating extra functions like @Tasho did. 3 Link to comment Share on other sites More sharing options...
ValkeryE2 100 Posted February 9, 2015 Share Posted February 9, 2015 Toggle effect work? Link to comment Share on other sites More sharing options...
Syron 296 Posted February 9, 2015 Author Share Posted February 9, 2015 if (!NewPlayerTable2(&player_create_packet.player_table, pinfo->name, pinfo->job, pinfo->shape, d->GetEmpire())) to if (!NewPlayerTable2(&player_create_packet.player_table, pinfo->name, pinfo->job, pinfo->shape, (pinfo->job == 8 ? 4 : d->GetEmpire()))) at file input_login.cpp and the only thing you need to do is to add the new coords to start_position without creating extra functions like @Tasho did. Thanks ! Tested and working. Added to main post. 1 Link to comment Share on other sites More sharing options...
Former Staff Shisui 490 Posted February 9, 2015 Former Staff Share Posted February 9, 2015 What's the mysql password? Link to comment Share on other sites More sharing options...
Syron 296 Posted February 9, 2015 Author Share Posted February 9, 2015 What's the mysql password? There is no MySQL password , it's a backup without mysql folder. You can make a default user instead , here are the steps: 1. cd /var/db 2. rm -rf mysql ( service mysql-server stop before ) 3. service mysql-server start 4. mysql ( run this in SSH ) 5. use mysql; 6. create user 'default'@'%' identified by 'yourpassword'; 7. grant all privileges on * . * to 'default'@'%' with GRANT option; 8. flush privileges; 9. exit 10. service mysql-server restart And you have your own user with full privileges. Then just put up the Test Server MySQL. 1 Link to comment Share on other sites More sharing options...
Former Staff Shisui 490 Posted February 9, 2015 Former Staff Share Posted February 9, 2015 What's the mysql password? There is no MySQL password , it's a backup without mysql folder.You can make a default user instead , here are the steps: 1. cd /var/db 2. rm -rf mysql ( service mysql-server stop before ) 3. service mysql-server start 4. mysql ( run this in SSH ) 5. use mysql; 6. create user 'default'@'%' identified by 'yourpassword'; 7. grant all privileges on * . * to 'default'@'%' with GRANT option; 8. flush privileges; 9. exit 10. service mysql-server restart And you have your own user with full privileges. Then just put up the Test Server MySQL. Ok, do I need to change anything in configs? Link to comment Share on other sites More sharing options...
Syron 296 Posted February 9, 2015 Author Share Posted February 9, 2015 What's the mysql password? There is no MySQL password , it's a backup without mysql folder. You can make a default user instead , here are the steps: 1. cd /var/db 2. rm -rf mysql ( service mysql-server stop before ) 3. service mysql-server start 4. mysql ( run this in SSH ) 5. use mysql; 6. create user 'default'@'%' identified by 'yourpassword'; 7. grant all privileges on * . * to 'default'@'%' with GRANT option; 8. flush privileges; 9. exit 10. service mysql-server restart And you have your own user with full privileges. Then just put up the Test Server MySQL. Ok, do I need to change anything in configs? No. It's a default config. 1 Link to comment Share on other sites More sharing options...
Former Staff Shisui 490 Posted February 9, 2015 Former Staff Share Posted February 9, 2015 (edited) Ok last thing, I hope... Do I need to change start scripts? When I do sh start.sh Thanks so far. Edited August 18, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Syron 296 Posted February 9, 2015 Author Share Posted February 9, 2015 Just create that user in MySQL create user 'mt2user'@'localhost' identified by 'password_from_config'; grant all privileges on * . * to 'mt2user'@'localhost'; flush privileges; 2 Link to comment Share on other sites More sharing options...
Active Member hachiwari 138 Posted February 9, 2015 Active Member Share Posted February 9, 2015 @Syron I can't download full client. Could you send me only root/locale/uiscript files, please? Link to comment Share on other sites More sharing options...
xSaG 15 Posted February 9, 2015 Share Posted February 9, 2015 give skill_proto.sql unbugg pls? Link to comment Share on other sites More sharing options...
Syron 296 Posted February 9, 2015 Author Share Posted February 9, 2015 @Syron I can't download full client. Could you send me only root/locale/uiscript files, please? Sure , but don't wonder then if your client will have errors. https://mega.co.nz/#!vY1FATSC!lpBVHqOBGyc8yMBMiRMrnjml02Txezy27OKFEF7ODCQ give skill_proto.sql unbugg pls? Download the Test Server and grab whatever you want. 1 Link to comment Share on other sites More sharing options...
Former Staff Shisui 490 Posted February 9, 2015 Former Staff Share Posted February 9, 2015 I get connection refused. Link to comment Share on other sites More sharing options...
Syron 296 Posted February 9, 2015 Author Share Posted February 9, 2015 I get connection refused. Verify if item_proto & mob_proto are loaded from MySQL. ( message input when start db.sh ) or check if db is opened ( type 'ps' ) Try to restart db , or restart mysql-server and try again. 1 Link to comment Share on other sites More sharing options...
Former Staff Shisui 490 Posted February 9, 2015 Former Staff Share Posted February 9, 2015 I get connection refused. Verify if item_proto & mob_proto are loaded from MySQL. ( message input when start db.sh ) or check if db is opened ( type 'ps' ) Try to restart db , or restart mysql-server and try again. I needed to start db first. Thanks. Edit: Where or how can I choose the skills? Btw, thank you very much Syron for your support!! I really appreciated! Link to comment Share on other sites More sharing options...
Syron 296 Posted February 9, 2015 Author Share Posted February 9, 2015 I get connection refused. Verify if item_proto & mob_proto are loaded from MySQL. ( message input when start db.sh ) or check if db is opened ( type 'ps' ) Try to restart db , or restart mysql-server and try again. I needed to start db first. Thanks. Edit: Where or how can I choose the skills? Btw, thank you very much Syron for your support!! I really appreciated! Make a quest like the Skill-Teachers , and set Skill_Group to (1) 1 Link to comment Share on other sites More sharing options...
Former Staff Shisui 490 Posted February 9, 2015 Former Staff Share Posted February 9, 2015 (edited) I get connection refused. Verify if item_proto & mob_proto are loaded from MySQL. ( message input when start db.sh ) or check if db is opened ( type 'ps' ) Try to restart db , or restart mysql-server and try again. I needed to start db first. Thanks. Edit: Where or how can I choose the skills? Btw, thank you very much Syron for your support!! I really appreciated! Make a quest like the Skill-Teachers , and set Skill_Group to (1) I forgot about the quests. Thanks. Edit: When compiling the game 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]' gmake: *** [OBJDIR/start_position.o] Error 1 Edited August 24, 2022 by Metin2 Dev Core X - External 2 Internal 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