2 Attachment(s)
Re: [Release] Legend.mu client & server source code S16 1.1
Quote:
Originally Posted by
Sam3000
Into mu_online_game.character_base
"race";"strength";"agility";"vitality";"energy";"leadership";"life";"mana";"life_per_level";"mana_per_level";"life_per_vitality";"mana_per_energy";"world";"level";"points";"recovery_life";"recovery_mana";"recovery_shield";"recovery_stamina";"points_levelup";"points_levelup_plus";"points_levelup_master";"points_levelup_majestic"
1;50;50;50;50;0;500;500;15.0;15.0;15.0;15.0;1;1;50;15.0;15.0;15.0;15.0;15;15;15;15
I know that this is wrong values
Updated. Same issue, no character is created after I press OK
Attachment 169333Attachment 169334
I also have these errors in the GameServer log:
Quote:
Loading Gate...
Wrong Gate Loaded :2 - World: 1
Wrong Gate Loaded :3 - World: 1
Wrong Gate Loaded :5 - World: 1
Wrong Gate Loaded :6 - World: 1
I found some errors in the Database log for: LoginServer
Quote:
2021-03-11_15:17:57 INFO DatabasePool 'database_login' opened successfully. 3 total connections running.
2021-03-11_15:18:25 ERROR SQL(p): INSERT INTO accounts_security (account_id, account, ip, mac, disk_serial) VALUES (1, 'user', '192.168.1.150', 'MAC_HERE', 1458217639)
[ERROR]: [1062] Duplicate entry '1' for key 'PRIMARY'
2021-03-11_15:18:25 WARN Transaction aborted. 3 queries not executed.
And in the Database log for ServerLink:
Quote:
2021-03-11_15:17:57 INFO DatabasePool 'database_characters' opened successfully. 3 total connections running.
2021-03-11_15:18:32 ERROR SQL(p): INSERT INTO character_info (account_id, race, name, strength, agility, vitality, energy, leadership, life, mana, points, level, world, world_x, world_y, slot) VALUES (1, 16, 'bhregerger', 50, 50, 50, 50, 0, 500, 500, 50, 1, 1, 130, 130, 0)
[ERROR]: [1364] Field 'guid' doesn't have a default value
2021-03-11_15:18:32 ERROR Unhandled MySQL errno 1364. Unexpected behaviour possible.
2021-03-11_15:18:32 WARN Transaction aborted. 1 queries not executed.
I'll look later at the errors
Re: [Release] Legend.mu client & server source code S16 1.1
Quote:
Originally Posted by
ispyder
Alter table characters.character_info, set to guid AUTO_INCREMENT flag. Forgot about it
Alter table login.accounts_security, remove primary key
- - - Updated - - -
Quote:
Originally Posted by
ispyder
I also have these errors in the GameServer log:
It coz you dont have world_template for each world.
From code
Quote:
if ( !sWorldMgr->IsWorld(add_gate->world) )
{
sLog->outError(LOG_DEFAULT, "Wrong Gate Loaded :%u - World: %u", add_gate->id, add_gate->world);
delete add_gate;
continue;
}
Re: [Release] Legend.mu client & server source code S16 1.1
Quote:
Originally Posted by
Sam3000
Do you have full world_template?
nope, i'm working on it
Quote:
Originally Posted by
Sam3000
yes :)
Re: [Release] Legend.mu client & server source code S16 1.1
Quote:
Originally Posted by
dudusiao
yes :)
How? :D
Mine cant
Re: [Release] Legend.mu client & server source code S16 1.1
Quote:
Originally Posted by
Sam3000
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.
It's seems that 1.55 boost doesnt know about my vs2019 or newest version from 2013 year and cant get proper tool set
So you can find some workarounds:
1) use mingw compiler
2) change end-of-line symbol
3) use some other hacks in .bat
4) try boost 1.54
That i found when googling
- - - Updated - - -
I was using vs2019 comunity edition...I unnistall it, what version of VS is needed? I could download vs2013 update5 but x86...not x64
Re: [Release] Legend.mu client & server source code S16 1.1
Quote:
Originally Posted by
metallica
I was using vs2019 comunity edition...I unnistall it, what version of VS is needed? I could download vs2013 update5 but x86...not x64
I'm using VS2019 commuunity eidition :D
Re: [Release] Legend.mu client & server source code S16 1.1
Quote:
Originally Posted by
Sam3000
How? :D
Mine cant
Everything works, just one problem with gameserver:
2021-03-11_16:12:10 INFO ========================================================2021-03-11_16:12:10 INFO ========================================================2021-03-11_16:12:10 INFO >>>>>>>>>>>>>>>>>>>>> GAME SERVER <<<<<<<<<<<<<<<<<<<<<<2021-03-11_16:12:10 INFO ========================================================2021-03-11_16:12:10 INFO ========================================================2021-03-11_16:12:10 INFO Process priority class set to HIGH2021-03-11_16:12:10 INFO Starting DB...2021-03-11_16:12:10 ERROR Cannot connect to MuLog database 127.0.0.1;3306;root;123456;mu_online_log
I'm using files from your repo
Re: [Release] Legend.mu client & server source code S16 1.1
Quote:
Originally Posted by
Sam3000
How? :D
Mine cant
i didn't do anything, i created character and can move.
Re: [Release] Legend.mu client & server source code S16 1.1
How come gameserver immediately closes after opening it. And it's working fine for you guys :D
Re: [Release] Legend.mu client & server source code S16 1.1
Quote:
Originally Posted by
myheart
But that client dont use Main.dll how you "hook" that main.dll from the source of mesosa to main.exe?
- - - Updated - - -
Quote:
Originally Posted by
Donatas Soltys
Everything works, just one problem with gameserver:
2021-03-11_16:12:10 INFO ========================================================2021-03-11_16:12:10 INFO ========================================================2021-03-11_16:12:10 INFO >>>>>>>>>>>>>>>>>>>>> GAME SERVER <<<<<<<<<<<<<<<<<<<<<<2021-03-11_16:12:10 INFO ========================================================2021-03-11_16:12:10 INFO ========================================================2021-03-11_16:12:10 INFO Process priority class set to HIGH2021-03-11_16:12:10 INFO Starting DB...2021-03-11_16:12:10 ERROR Cannot connect to MuLog database 127.0.0.1;3306;root;123456;mu_online_log
I'm using files from your repo
Check if exist this database: mu_online_log
Re: [Release] Legend.mu client & server source code S16 1.1
Quote:
Originally Posted by
dudusiao
i didn't do anything, i created character and can move.
Maybe i need to recreate characters after db changes... I will try.
Re: [Release] Legend.mu client & server source code S16 1.1
Quote:
Originally Posted by
metallica
But that client dont use Main.dll how you "hook" that main.dll from the source of mesosa to main.exe?
- - - Updated - - -
Check if exist this database: mu_online_log
http://forum.ragezone.com/image/png;...AASUVORK5CYII=
https://i.imgur.com/H1L87If.png
Re: [Release] Legend.mu client & server source code S16 1.1
Quote:
Originally Posted by
Donatas Soltys
How come gameserver immediately closes after opening it. And it's working fine for you guys :D
Server always closes on any errors, wrong settings (like empty settings) it dies coz dont have proper error handler.
Or maybe proper error output on start like "this settings need to be set for server".
And any database error just kills server with proper database log.
- - - Updated - - -
Quote:
Originally Posted by
Donatas Soltys
Everything works, just one problem with gameserver:
2021-03-11_16:12:10 INFO ========================================================2021-03-11_16:12:10 INFO ========================================================2021-03-11_16:12:10 INFO >>>>>>>>>>>>>>>>>>>>> GAME SERVER <<<<<<<<<<<<<<<<<<<<<<2021-03-11_16:12:10 INFO ========================================================2021-03-11_16:12:10 INFO ========================================================2021-03-11_16:12:10 INFO Process priority class set to HIGH2021-03-11_16:12:10 INFO Starting DB...2021-03-11_16:12:10 ERROR Cannot connect to MuLog database 127.0.0.1;3306;root;123456;mu_online_log
I'm using files from your repo
Did you change login/password for mysql?
Re: [Release] Legend.mu client & server source code S16 1.1
Quote:
Originally Posted by
Sam3000
Server always closes on any errors, wrong settings (like empty settings) it dies coz dont have proper error handler.
Or maybe proper error output on start like "this settings need to be set for server".
And any database error just kills server with proper database log.
- - - Updated - - -
Did you change login/password for mysql?
root 123456
ConnectServer, LoginServer, ServerLink works with no problems.
im using databases from your github repo
Re: [Release] Legend.mu client & server source code S16 1.1
Quote:
Originally Posted by
metallica
But that client dont use Main.dll how you "hook" that main.dll from the source of mesosa to main.exe?
I use the following main.exe for that client. With this main.exe you can use your compiled Main.dll.
Quote:
Originally Posted by
ispyder