ERROR:WorldSocket::handle_input_header: client xxx.xxx.xxx.xxx sent malformed packet size = 18245 , cmd = 1952981076
What is the problem? How to fix
ERROR:WorldSocket::handle_input_header: client xxx.xxx.xxx.xxx sent malformed packet size = 18245 , cmd = 1952981076
What is the problem? How to fix
Hey bro.
Thanks for the pack!!! i love it. Every update is amazing, great work
Does any1 know how to grant pvp ranks? i tried all kinds of commands and all failed, i wanna test some things with pvp gear, but cant wear it since it requires pvp ranks
@ brotalnia thx for the repack! Using your custom sqls and database work very well in docker with ubuntu 16.04 as container! However, i tried updating to ubuntu 18.04 and noticed that the openssl 1.0->1.1 transition requires code changes. I attempted to do the same as cmangos (commit Transitional Auth update for OpenSSL 1.1 * cmangos/mangos-classic@ea34b4c * GitHub ), but i didn't succeed and compilations still fails.
I remember seeing a pull request in the former elysium/lightshope repo for openssl 1.1 support but unfortunately this pull request is not public anymore and has not been merged. Do you maybe still have access to the old stuff an could post the diff of this pull request? Thanks you very much!
Here is my openssl patch, which fails... maybe someone sees what i am missing
Code:diff --git a/src/shared/Auth/Hmac.cpp b/src/shared/Auth/Hmac.cpp index 9e21f6ef..f8e51627 100644 --- a/src/shared/Auth/Hmac.cpp +++ b/src/shared/Auth/Hmac.cpp @@ -21,13 +21,13 @@ HmacHash::HmacHash(const uint8* data, int length) { - HMAC_CTX_init(&m_ctx); - HMAC_Init_ex(&m_ctx, data, length, EVP_sha1(), NULL); + m_ctx = HMAC_CTX_new(); + HMAC_Init_ex(m_ctx, data, length, EVP_sha1(), NULL); } HmacHash::~HmacHash() { - HMAC_CTX_cleanup(&m_ctx); + HMAC_CTX_free(m_ctx); } void HmacHash::UpdateBigNumber(BigNumber* bn) @@ -37,17 +37,17 @@ void HmacHash::UpdateBigNumber(BigNumber* bn) void HmacHash::UpdateData(const std::vector<uint8>& data) { - HMAC_Update(&m_ctx, data.data(), data.size()); + HMAC_Update(m_ctx, data.data(), data.size()); } void HmacHash::UpdateData(const uint8* data, int length) { - HMAC_Update(&m_ctx, data, length); + HMAC_Update(m_ctx, data, length); } void HmacHash::Finalize() { uint32 length = 0; - HMAC_Final(&m_ctx, m_digest, &length); + HMAC_Final(m_ctx, (uint8*)m_digest, &length); // MANGOS_ASSERT(length == SHA_DIGEST_LENGTH); } diff --git a/src/shared/Auth/Hmac.h b/src/shared/Auth/Hmac.h index 757c1021..865f06eb 100644 --- a/src/shared/Auth/Hmac.h +++ b/src/shared/Auth/Hmac.h @@ -40,7 +40,7 @@ class HmacHash uint8* GetDigest() { return m_digest; }; int GetLength() { return SHA_DIGEST_LENGTH; }; private: - HMAC_CTX m_ctx; + HMAC_CTX* m_ctx; uint8 m_digest[SHA_DIGEST_LENGTH]; }; #endif
Last edited by zapafad; 04-08-2018 at 06:30 AM.
Do you mean this one:
Update to OpenSSL 1.0.2k * brotalnia/server@c6cbab3 * GitHub
So for some reason my Mangosd.exe crashes whenever my level 8 Warlock logs in. When I logged out I had my imp out and it shows it being out on the character select screen but isn't summoned when I log in as the character. When it crashes it doesn't create a crash report nor does it give me an error it just claims it stops working, I'm using the x86 version of the files and I've tried a clean installation of the server to fix this but I can't seem to fix this. The only thing I've done is change the server name and drag the x86 files that were provided in the repack to the root folder and replaced the normal repack files.
@ brotalnia, thx. I probably must have misread the version number or remembered wrongly. However this patch hinted me that there a header files included, which i totally missed. So 1.0.2 headers and 1.1.0 system version is a bad ideaCmangos seems to only rely on the system version. Maybe i can incorporate these changes from cmangos to this core. Otherwise i have to update the header files. But 1.0.2 is still supported until the end of 2019 so it is not yet a problem.
Where can i add/remove gm commands for specific gm level?
Hi,
Would like to thank you for your hard work first of all and also to ask you a couple of things.
1. I have see that in the mangosd.cfg there is an option for AHBot how do you enable it?
2. Creatures perform excessive ammount or dodge/parry/rezist even when below player lvl
Thank you.
EDIT :
I have managed to enable the AHBot but it adds just ac a couple or crafting items to the neutral AH (Booty Bay). So now the question is how do i change it to add items to Horde and Alliance AH and also to change what items it adds?
Last edited by TeCHnO4EveR; 04-19-2018 at 01:51 AM. Reason: palatially solved
Am I missing something? It seems there's no .lookup item or .additem commands?
Yes i am lvl 3 GM and .gm on
Is it possible to add a script for automatic dueling resets (Reset hp, reset power, reset cooldowns) for everyone participating in the duel. Without recompiling? maybe possible with "Script Editor"?
Hi, those two commands work . Type .commands for a list of all available commands.
Hope it helps
If you mean change the minimum security level for a given command, you can do that in the database. Just add it to the `command` table with the `security` level you want. The security ranks go from 0 for normal player to 6 for GM with full powers.
You can set what items are added by the AH bot in the database. They are inside the `auctionhousebot` table. To change which AH it puts them on you have to edit the ahbot settings in mangosd.conf.
AHBot.ah.id = 1
AHBot.ah.guid = 79706
AHBot.ah.fid = 12
This will make it post items in the Alliance auction house for example. The first value is the AH id from AuctionHouse.dbc, the second is the GUID of the auctioneer spawn it will use to post the items, and the third is his faction template id.
The maximum account security level is 6, not 3.
account set gmlevel krs14 6
I am afraid there is no script command for resetting cooldowns. If there was one, you could add a second effect to the Duel spell (ID 7266) with type ScriptedEffect (77) in the `spell_template` or `spell_effect_mod` tables and then add a script to it in `spell_scripts` using the editor.
As an alternative you can change the security of the "cooldown" command to 0 by adding it in the `command` table. This will make it available to all players, so they will be able to manually reset their cooldowns by typing it in chat.
Last edited by brotalnia; 04-19-2018 at 09:21 AM.