ridetpro

Member
  • Content Count

    89
  • Joined

  • Last visited

  • Days Won

    1

ridetpro last won the day on July 20 2018

ridetpro had the most liked content!

Community Reputation

49 Good

1 Follower

About ridetpro

  • Rank
    Friendly

Profile Information

  • Gender
    Male

Recent Profile Visitors

904 profile views
  1. ridetpro

    open VS2019 Upgrade - Crash

    RIP Windows XP. Its support ended at least 5 years ago - it's time to move the fuck on. Microsoft has finally dropped XP support from their current compiler, vss2019 no longer support xp
  2. ridetpro

    Game/Auth handshake vulnerability

    First you need to download OVH api, which is available in PHP or Python. AntiDDOS option. Add new IP on permanent mitigation I was surprised too, to see how great that API from OVH is. If you ever want to use this API, I suggest you send the data from the source to the website with the help of the web API embedded in the Metin2 source, then from website call the OVH api. And yes, all DDOS methods send packets. I was referring strictly to the topic, the method by which this attacker killed your server was through packets sent to auth/channels. Anonymous packets, without a name.. With the code posted below, all incoming packets to auth will be wrote intro a text file then u can block em in few minutes.. Or you can blacklist them to ovh mitigation. Anyway, that's not really necessary right now.. As i said that's just a HOTFIX, it was a hotfix that worked very well.
  3. ridetpro

    Game/Auth handshake vulnerability

    else if (!m_pPacketInfo->Get(bHeader, &iPacketLen, &c_pszName)) { if (g_bAuthServer) LOG_IP("%s",inet_ntoa(lpDesc->GetAddr().sin_addr)); sys_err("Input: Unknown header:%d, Last header:%d(%d), Remain bytes:%d, fd:%d", bHeader, bLastHeader, iLastPacketLen, m_iBufferLeft, lpDesc->GetSocket()); lpDesc->SetPhase(PHASE_CLOSE); return true; } Or you can save all the ip that send unknown packets to auth/game. After about 1 - 5 minutes you will have all the ips of the attacker and you can block them in the firewall. Or if you use OVH you can use OVH_API to filter IPs through the mitigation system. This is the hotfix I used.
  4. void CInputDB::ItemLoad(LPDESC d, const char * c_pData) // You missed this part switch (p->window) { case INVENTORY: case DRAGON_SOUL_INVENTORY: { item->AddToCharacter(ch, TItemPos(p->window, p->pos)); } break; case EQUIPMENT: { if (item->CheckItemUseLevel(ch->GetLevel())) { if (!item->EquipTo(ch, p->pos)) { v.push_back(item); } } else { v.push_back(item); } } break; }
  5. ridetpro

    open Freebsd

    If you want a good answer, then you should learn to ask a good question. Try to give as many details as possible. Where did you want us to know you have a physical server at home? What have you tried so far? Have you ever tried to solve yourself before you post here? How do you try to connect to the internet? Cable / Wi-Fi? Do you have static ip? / Do you have dynamic ip? Are you sure the network card works? Which router model do you use? It's normal not to respond when you try ping because the server is not connected to the internet. Steps should be exactly the same as those posted above, just that you have to jump over the Bridged Adapter.
  6. ridetpro

    open Freebsd

    Go to : Network->Adapter 1->Select bridged adapter (And select the adapter through which you are connected to the internet, in my case I am connected via WI-fi) Go to your adapter list You need the default gateway and the netmask Write in console bsdconfig -> Networking management Select DNS nameserver and set them like this Select network Interfaces Select your interface Add ipaddr xxx.xxx.xxx.254, your default gateway adress, last three digits should be 254 Add netmask xxx.xxx.xxx.xxx Select save/exit click ok When this question apper, click yes. Select exit, click ok. Reboot vbox machine. Machine ip will be xxx.xxx.xxx.254
  7. Use a spoiler, no one is forced to scroll down to see those errors. For some of us, it's enough to see the first line of the syserr. Check here
  8. ridetpro

    Damage hit color

    You can do this with paint, I think.
  9. ridetpro

    open Change size of enum?

    You need c++11 or c++14 not sure in server
  10. ridetpro

    c++ [RLS]RenderTarget

    It's probably not an error, it's a code problem. The client must be set to debug mode. Now change the launcher's output directory to the client's folder. Now make this change in Debugging. (UserInterface -> Properties -> Debugging) Open a new debugging instance: In this way, you will be able to see the call stack. Once the debug instance begins, log in to the client and wait for the crash. When the crash will appear you will be able to see callStack in visual studio ..
  11. ridetpro

    open Change size of enum?

    The compiler will choose the actual type used based on the enumeration constants. But you can do the following: // Enum can handle long long enum EFoo : std::int64_t { Foo1, Foo2, Foo3, } // Enum can handle int enum EFoo : std::int32_t { Foo1, Foo2, Foo3, }
  12. ridetpro

    open [get_language()] in when ... begin

    qc.cc parse() case ST_WHEN_NAME before current_when_argument += os.str(); I did something similar some time ago, I gave you the clues to look for. If you fail, I'll give you the codes. Follow the example above.
  13. You better recompile whole extern with the same version of GCC, the same FLAGs.
  14. ridetpro

    solved delete

    Way 1: /usr/local/etc/rc.d/mysql_server Way 2: //etc/rc.conf mysql_dbdir="/var/db/mysql_name" https://www.ufsexplorer.com/solutions/recover-deleted-files-bsd.php
  15. ridetpro

    open Question about new std functions and lambdas

    Try to donate exp intro guild after those conversions