Results 1 to 10 of 50

Thread: server Attack

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #11
    Sergeant maxdamage99's Avatar
    Join Date
    Aug 2014
    Location
    Russia
    Posts
    458
    Thanks
    79
    Thanked 122 Times in 101 Posts
    Yes, this error fixed on libcod for linux, but i think libcod for windows no fixed it error

    part code fix for linux:
    Code:
    void hook_SV_WriteDownloadToClient(int cl, int msg)
    {
    	#if COD_VERSION == COD2_1_0
    		int offset = 452008;
    	#else
    		int offset = 452280;
    	#endif
    
    	if((*(int*)(cl + 134248)) && (*(int*)(cl+offset)**(int*)(cl+offset+4)/2048000 > 6))
    		SV_DropClient(cl, "broken download");
    	else
    		SV_WriteDownloadToClient(cl, msg);
    }
    Last edited by maxdamage99; 6th February 2017 at 15:28.
    PHP Code:
    class CoronaVirus 
    {
       
    CoronaVirus(int m 1): multi(m) { Peoples.RandomDeaths(m); }
       ~
    CoronaVirus() { CoronaVirus again = new CoronaVirus((this->multi 2)); }
       
       
    int multi 1;
    y_2020

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •