Guida [FIX] Cube r_info server crasher

Stato
Discussione chiusa ad ulteriori risposte.

Paranoimia

Utente Bronze
15 Novembre 2014
6
3
4
40
I want to share with you a fix for a new exploit which affects all the games 2089, 34k and 40k. I will not share how to make it, only the fix, but this bug is very dangerous and bad guys will find out sooner or later how it works.

It takes 30 seconds to do it after logging ingame and the bug will crash the whole server and cause a rollback.

game/src/cube.cpp

Look for this line:

Codice:
resultCount = resultList.size();

And add after it:

Codice:
if (resultCount == 0)
    return;

In the same file, find this line:

Codice:
if(false== bCatchInfo)

And replace it with:

Codice:
if(!bCatchInfo || materialInfoText.size()==0)

Now you are safe!
 
Stato
Discussione chiusa ad ulteriori risposte.
Indietro
Top Bottom