Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 01/17/20 in all areas

  1. M2 Download Center Download Here ( Internal ) Download Here ( GitHub ) Create app at here:[Hidden Content] Copy CLIENT ID Then change Discord.h/DiscordClientID Add images at here: example my image's name is image1 You can also use smallImageKey and smallImageText
    7 points
  2. Hello, this is a small upgrade in order to build libserverkey for OpenSSL 1.0 or greater, it builds with OpenSSL v1.4d (Win32 build) fine. All this changes has to be made in RSACrypto.cpp Function RSACrypto::PublicKey::PublicKey Replace: BN_hex2bn(&rsa_->n, n); BN_hex2bn(&rsa_->e, e); to: #if OPENSSL_VERSION_NUMBER < 0x10100000L BN_hex2bn(&rsa_->n, n); BN_hex2bn(&rsa_->e, e); #else BIGNUM* rsa_n, * rsa_e, * rsa_d; RSA_get0_key(rsa_, (const BIGNUM**)&rsa_n, (const BIGNUM**)&rsa_e, (const BIGNUM**)&rsa_d); BN_hex2bn(&rsa_n, n); BN_hex2bn(&rsa_e, e); RSA_set0_key(rsa_, rsa_n, rsa_e, rsa_d); #endif Function RSACrypto::PublicKey::Alloc Replace: rsa->n = BN_new(); rsa->e = BN_new(); to: #if OPENSSL_VERSION_NUMBER < 0x10100000L rsa->n = BN_new(); rsa->e = BN_new(); #else BIGNUM* n = BN_new(), * e = BN_new(); RSA_set0_key(rsa, n, e, NULL); #endif Function RSACrypto::PublicKey::Copy Replace: BN_copy(to->n, from->n); BN_copy(to->e, from->e); to: #if OPENSSL_VERSION_NUMBER < 0x10100000L BN_copy(to->n, from->n); BN_copy(to->e, from->e); #else BIGNUM* to_n, * to_e,* to_d; const BIGNUM* from_n = RSA_get0_n(from), * from_e = RSA_get0_e(from); RSA_get0_key(to, (const BIGNUM**)&to_n, (const BIGNUM**)&to_e, (const BIGNUM**)&to_d); BN_copy(to_n, from_n); BN_copy(to_e, from_e); RSA_set0_key(to, to_n, to_e, to_d); #endif Function RSACrypto::PrivateKey::Alloc Replace: rsa->d = BN_new(); rsa->p = BN_new(); rsa->q = BN_new(); to: #if OPENSSL_VERSION_NUMBER < 0x10100000L rsa->d = BN_new(); rsa->p = BN_new(); rsa->q = BN_new(); #else BIGNUM* d = BN_new(), * p = BN_new(), * q = BN_new(); RSA_set0_key(rsa, NULL, NULL, d); RSA_set0_factors(rsa, p, q); #endif Function RSACrypto::PrintKey (k, n, e) Replace: char* tmp = BN_bn2hex(k->rsa_->e); to: #if OPENSSL_VERSION_NUMBER < 0x10100000L char* tmp = BN_bn2hex(k->rsa_->e); #else const BIGNUM* rsa_e = RSA_get0_e(k->rsa_); char* tmp = BN_bn2hex(rsa_e); #endif Replace: tmp = BN_bn2hex(k->rsa_->n); to: #if OPENSSL_VERSION_NUMBER < 0x10100000L tmp = BN_bn2hex(k->rsa_->n); #else const BIGNUM* rsa_n = RSA_get0_n(k->rsa_); tmp = BN_bn2hex(rsa_n); #endif Function RSACrypto::PrintKey(k, n, e, d) Replace: char* tmp = BN_bn2hex(k->rsa_->n); to: #if OPENSSL_VERSION_NUMBER < 0x10100000L char* tmp = BN_bn2hex(k->rsa_->n); #else const BIGNUM* rsa_n = RSA_get0_n(k->rsa_); char* tmp = BN_bn2hex(rsa_n); #endif Replace: tmp = BN_bn2hex(k->rsa_->e); to: #if OPENSSL_VERSION_NUMBER < 0x10100000L tmp = BN_bn2hex(k->rsa_->e); #else const BIGNUM* rsa_e = RSA_get0_e(k->rsa_); tmp = BN_bn2hex(rsa_e); #endif Replace: tmp = BN_bn2hex(k->rsa_->d); to: #if OPENSSL_VERSION_NUMBER < 0x10100000L tmp = BN_bn2hex(k->rsa_->d); #else const BIGNUM* rsa_d = RSA_get0_d(k->rsa_); tmp = BN_bn2hex(rsa_d); #endif The changes, explained: 1) the ifdefs are there for compatibility with the old openssl version. 2) OpenSSL 1.0 do not expose the "rsa_" structure, so we need to use OpenSSL own api to get the required data from it. A question that you might have at this point is what is the purpouse of libserverkey. It looks like ymir had an issue about leaking game files back in this day, this might explain why this feature was added. It bundles a RSA private and public key to your core, which verifies if the current machine should be able to use such core or not. It is not an important feature as it isn't that hard to bypass with the required knownledge and it could be removed safetly from the game. I'm thinking about covering this protection in the wiki, until then I hope I made some clarification about this library.
    4 points
  3. Well, as I read the first comments I thought "Ohh yeah.." interesting facts about Aeldra. But after I continued to read everything has changed into one big "What The Fuck is going on here". Since when are there such devious snitches in this scene? I mean that is quite interesting. You are in this scene and you rat out your own Colleagues? That is not exactly the fine English way... However, this is a Forum were the Community should help and support each other and not rat each other out to the "GF". I never heard about these actions before.. I am speechless. Well, even if you are perhaps only telling fantasies @teatone, your behaviour will be certainly not supported by me. Despite all this, I wish you all the best on your further journey. You are no longer welcome here! (order to stay away (domestic authority)) Best regards Raylee
    3 points
  4. Can you f..... go away and stop spamming forum with your shits please? Nobody cares about your messages with no logic, you just searching for attention.
    2 points
  5. M2 Download Center Download Here ( Internal ) Download: Forevermetin2.rar (80.92 MB) Forevermetin2 Summary Do you want to start mapping, modelling or create your own pserver? Then you can have a look at FEM2. The foundation is finished and things are being added. It is made with love, and wants to be treated with love. Before you read on I am still on it, and I will continue to run this project. Although I'm not very active, but it's a long-term project. I dedicate it to the metin2 community. If you want to release this tool somewhere else you are welcome to do so. The best thing is to mention this original thread in the credits. I myself only release it on metin2.dev as I am not active anywhere else. mostly I just keep a lookout for files that are being searched for. Interfaces or Maps Download and test it for yourself These threads were linked in Forevermetin2 FAQ Credits Kind regards Ace
    1 point
  6. Hello everyone, today i'm on my second day trying to expand dynamic shadows view range, i found many limiters here and there for example SHADOW_APPLY_MAX_DISTANCE, bShadow_cutoff but none of those seem to be really affecting shadow range, Dynamic Shadows are rendered inside a square (not a circle so radius like constants mentioned above or distance between mainInstance and targetInstance are not involved) around the current playing character. Do you guys know if there's a cube or a square for dynamic shadows to be rendered on, and if so where is it defined? Hope you can help me I can't really figure it out. SOLVED: matLightProj was set to 2400.0f x 2400.0f x 1 x 15000.0f, changing the height and width of projection matrix will project more shadows UPDATE: larger projection will upscale shadow texture so it results in a shadow quality reduction, it can be partially bypassed by increasing m_wShadowMapSize but only up to a limit of 8192 set by Direct3d8.
    1 point
  7. Looks pretty cool for a basic support, I wonder what other usefull things (ie: Dueling in Channel 1) could be added. Also: Perhaps their gamesdk could provide more integration into metin2
    1 point
  8. Remember @teatone one day the bad things you have done to others will go against you. Trust me.
    1 point
  9. Hi guys this is markus, working for Valve, I must say we indeed closed the servers mentioned for being ilegal copies of our beloved and usual Minecraft.
    1 point
  10. I thought the same at first I've read his bullshit painted message. As he sold his shit for hundred thousands of dollar now he can open a kebab-stand and be unique. Better to not answer to him, just ignore like all of the idiots must be ignored. Like this:
    1 point
  11. Only because you wanna be a big boy spamming to close servers, how about we make a batch mt2server maker so people can make a full server in a matter of minutes fully automated? Seems a fun way to troll you
    1 point
  12. Okay then, please tell us how can GF close a pserver and prove us that GF closed ae, elonia and rubi. I know, you can't. ?
    1 point
  13. Oh please... this is the biggest bullshit I've read so far in the past days, its like when you buy an ice cream, then you get shot in the head and someone says that HE DIED BECAUSE THE ICE CREAM WAS POISONED.
    1 point
  14. Just use fucking LLDB is better than gdb. How to analyze core dump ? lldb path-to-executable -c name.core [Hidden Content] Anoather it's Visual GDB debugger [Hidden Content] I use both and work like a charm, lldb give me 60% more infromation than gdb. Regards
    1 point
  15. Well this issue is incompatibility between compilers, if this happen with discord-rpc only then I'd say it's not compatible with it. You can grab and build Discord rpc from here: [Hidden Content]
    0 points
  16. I'll wait some pservers to test it ?
    0 points
  17. The problem is that the item is deleted immediately after the crash and I can't figure out what's wrong with it..
    0 points
  18. 1- 2- 3- I saved Australia :$ , next i will save the world from Global Warming
    0 points
  19. PeaceMaker is customer of Ch3HP, he have to write good about him or kiddo will ddos his server.
    0 points
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.