Junior Spellweaver
- Joined
- Oct 4, 2007
- Messages
- 173
- Reaction score
- 74
Read thread, you need to change some in code: http://forum.ragezone.com/f197/release-legend-mu-client-server-1195391-post9069370/#post9069370I've the next error, i compiled it with Visual Studio 2019 but using Platform Toolset Visual Studio 2013 (v120)
You must be registered to see links
I tried to use full client of legend.mu + main.dll compiled by Jorge2016 from tuservermu and doesnt work
I tried to use full client of legend.mu + main.exe (from @myheart) + main.dll compiled by Jorge2016 from tuservermu and doesnt work
In both cases the main doesnt open
How we can connect to our local server to continue working and fix some problems that we could have when we try to connect to 127.0.0.1?
Srry If I ask some "newbie" questions, I'm web developer, it's my first time with C++/ mains/dlls compiled.. and a lot of new stuffs
What version of VS you have installed? I didnt wanted to bother with console error when compiling boost 1.55 with vs2019, after i was getting errors with server. So i used newest version.
Boost_1_55_0 on windows10 64bits
Btw, its unpacked now?since Webzen switched to use themida, some people can't hooking dll. so i leave hooked main 1.19.46 here:
You must be registered to see links
Mine main.dll + main from @myheart is working, but i'm getting disconnected from server...I tried to use full client of legend.mu + main.dll compiled by Jorge2016 from tuservermu and doesnt work
I tried to use full client of legend.mu + main.exe (from @myheart) + main.dll compiled by Jorge2016 from tuservermu and doesnt work
In both cases the main doesnt open
How we can connect to our local server to continue working and fix some problems that we could have when we try to connect to 127.0.0.1?
Srry If I ask some "newbie" questions, I'm web developer, it's my first time with C++/ mains/dlls compiled.. and a lot of new stuffs
###### Log Begin ######
-------------------------------------------------------------------------------------
Mu online 1.19Ћ (Kor) executed. (1.19.46.0)
2021/03/10 10:31
------------------------------------------------------------------------------------
> To read config.ini.
> gg init success.
-------------------------------------------------------------------------------------
> Screen size = 800 x 600.
> Start window success.
> OpenGL init success.
-------------------------------------------------------------------------------------
CGFxMBoxShop Not Found Model : 6174
> Loading ok.
[Connect to Server] ip address = 127.0.0.1, port = 44405
Failed to connect.
2021/03/10 10:31
[Send Packet Error] WSAGetLastError() != WSAEWOULDBLOCK
[Socket Closed][Clear PacketQueue]
[Socket Closed][Clear PacketQueue]
> Login Scene init success.
Destroy
I think server side we can check with any client, ConnectServer will get proper error in log or console.I have same, all good but when main is load than it disconnect.
Maybe some ports in config server side or its problem main?
Thx for reply, but i still dont know how to fix main.There are some logs like "crashlog" that are useless.
They were created for a purpose that we never finished.
This server does not require a specific client version.
Just need to be sure that packets are the same for some features.
What Editor did you use to edit ServerList.bmd?also, i edited ServerList.bmd for server code 0 (original doesn't have entry for code 0).
GFxMBoxShop Not Found Model : 6174> Loading ok.
[Connect to Server] ip address = 127.0.0.1, port = 44405
Failed to connect. 2021/03/10 18:40
[Send Packet Error] WSAGetLastError() != WSAEWOULDBLOCK
[Socket Closed][Clear PacketQueue]
[Socket Closed][Clear PacketQueue]
> Login Scene init success.
Destroy
ProtocolCore: C1,04,F4,06,
ProtocolCore: C1,06,F4,03,00,00,
CGFxMBoxShop Not Found Model : 6174> Loading ok.
[Connect to Server] ip address = 192.168.1.150, port = 44405
> Login Scene init success.
Send Request Server List.
Success Receive Server List.
Success Receive Server List.
[ReceiveServerConnect][Socket Closed][Clear PacketQueue]
[Connect to Server] ip address = 192.168.1.150, port = 55509
¼¹ö¿ÍÀÇ Á¢¼ÓÁ¾·á.
[Socket Closed][Clear PacketQueue]
[Socket Closed][Clear PacketQueue]
Destroy
Can you export your complete database? Because mine is really trashed and I got missing tables. At the moment there's too many posts with incomplete and different tables. We need an export that works.got login window
to connect, you need to set (in settings table, mu_online_game):
Account.ConnectCheckTime - 180
Can you export your complete database? Because mine is really trashed and I got missing tables. At the moment there's too many posts with incomplete and different tables. We need an export that works.
got login window
to connect, you need to set (in settings table, mu_online_game):
Account.ConnectCheckTime - 180
GameServer.Serial -> same as serial in Offset.h (main.dll source)
GameServer.Version -> same as version in Offset.h (main.dll source)
Network.MaxConnectionPerIP - must be higher than 0
also, u need to copy EncDec key (or set your own) in PacketEncDec.h (main.dll source) and EncDec.h (server source) (key_1 and key_2 arrays)
static const char ClientVersion[8] = "1.07.17";
static const char ClientSerial[17] = "jw45af7xf4wxj198";
static const uint8 key_1[MAX_KEY_1] = { 0x75, 0x99, 0x5C, 0xBA, 0x44, 0x2C, 0x87, 0x66 };
static const uint8 key_2[MAX_KEY_2] = { 0xF3, 0xB3, 0x64, 0x36, 0xBE, 0xF6, 0x52, 0x01 };
static const uint8 key_final[MAX_KEY_1][MAX_KEY_2] =
{
0x22, 0x8F, 0x3B, 0x0A, 0x8E, 0x6A, 0x51, 0x32,
0xBA, 0xCC, 0xAA, 0xBF, 0xFB, 0x54, 0x24, 0x47,
0x00, 0xA1, 0x21, 0x02, 0x02, 0x21, 0xAB, 0x9F,
0xFE, 0x3A, 0xB0, 0x86, 0xBA, 0xAF, 0x34, 0x55,
0xCB, 0x63, 0x8D, 0xEA, 0x56, 0xE8, 0x51, 0x29,
0x7D, 0x2B, 0x5F, 0xC3, 0xB1, 0xE9, 0x8A, 0xFB,
0xBC, 0x89, 0x9F, 0xB2, 0xE7, 0x23, 0xA8, 0x3A,
0x6D, 0xFF, 0x5C, 0x58, 0x8B, 0x25, 0xAF, 0x62
};
I think, this line of code is useless. If you check all other Socket class usage you can find that no one is using this protected method by any kind.Also, I didn't compile the older version of Boost and I just downloaded the latest compiled version for Boost 1.75.0 - MSVC 14.2 (32 bit) to use with the latest Visual Studio (2019) and C++17:
-You must be registered to see links
The problem with that is that in the latest version of Boost the boost::asio::io_service got deprecated and replaced by boost::asio::io_context (You must be registered to see links).
I just want the server to start so I just blindly replaced io_service with io_context but I don't know if that replacement is the only necessary change related to this io_service deprecated API.
Anyway, here's a temporary patch to compile the project and get to see the Servers List:
- View attachment 169322
_socket.get_executor().context()
insert into settings (`server_id`, `key`, `value`) values (0, 'GameServer.Active', 1)
p.s. Why 0.75 client didnt got disconnect then?
I think it's problem with client
note:
i have added my local ip: 192.168.1.150 in offset.h.
No updates for: clientversion and clientserial
if i use 127.0.0.1 i get disconnected when i open main.exe and the servers list is not displayed and i get this muerror.log:
used client:
- handrey04 - full client (test) - http://forum.ragezone.com/f197/release-legend-mu-client-server-1195391/#post9068930
used main.exe: (without this main nothing happened on execution)
- posted by myheart
- http://forum.ragezone.com/f197/release-legend-mu-client-server-1195391/index8.html#post9070569
-You must be registered to see links
How to create account? Now i didnt have disconnect, but i doing something wrong with create account because account invalid...
INSERT INTO `mu_login`.`accounts` ( `account`, `password`, `email`, `security_code`, `register`, `golden_channel`, `secured` )
VALUES
(
'user234',
SHA2 ( CONCAT( "user234", ":", "password" ), 256 ),
'user@email.com',
'12digitsphra',
NOW( ),
1500434821,
1
);
2021-03-11_03:25:39 INFO Opening DatabasePool 'database_characters'. Asynchronous connections: 1, synchronous connections: 2.
ERROR Could not connect to MySQL database at 127.0.0.1: Authentication plugin 'caching_sha2_password' cannot be loaded: The specified module can not be found.
2021-03-11_03:25:39 ERROR DatabasePool database_characters NOT opened. There were errors opening the MySQL connections. Check your SQLDriverLogFile for specific errors.
[B]ERROR Cannot connect to GameServer database 127.0.0.1;3306;root;root;database_game[/B]