[Helpe] HTTP_ERROR_MALFORMED_RESPONSE
#1

PHP код:
forward AntiFurtoBloqueioGM(indexresponse_codedata[]);
#define PAG_HOSPED          "antifurtodogamemode.playvirtualreality.esy.es/CodigoInternoDoGameMode.txt"
#define CODIGO              "Triplo_xXx"
//OnGameModeInit()
HTTP(0HTTP_GETPAG_HOSPED"""AntiFurtoBloqueioGM");
public 
AntiFurtoBloqueioGM(indexresponse_codedata[])
{
    new 
Respostas[24];
    if(
response_code == 200)
    {
        if(
strcmp(dataCODIGO))
        {
            print(
"Cуdigo Interno do gamemode Incorreto ! ! !");
               
printf("Resposta do Servidor: %s ! ! !",data);
            
SendRconCommand("exit");
        }
        else
        {
            print(
"Cуdigo Interno do gamemode correto ! ! !");
               
printf("Resposta do Servidor: %s ! ! !",data);
        }
        return 
1;
    }
    else if(
response_code == 1)
    {
        
Respostas "Conexгo Ruim";
    }
    else if(
response_code == 2)
    {
        
Respostas "Nгo conectado";
    }
    else if(
response_code == 3)
    {
        
Respostas "Nгo й possнvel conectar";
    }
    else if(
response_code == 4)
    {
        
Respostas "Nгo й possнvel gravar";
    }
    else if(
response_code == 5)
    {
        
Respostas "Conteъdo muito grande";
    }
    else if(
response_code == 6)
    {
        
Respostas "Resposta deformada";
    }
    else if(
response_code == 403)
    {
        
Respostas "Cуdigo Proibido";
    }
    else if(
response_code == 404)
    {
        
Respostas "Pбgina nгo encontrada";
    }
    else if(
response_code == 500)
    {
        
Respostas "Erro de servidor";
    }
    else
    {
        
Respostas "Resposta desconhecida";
    }
    
printf("Cуdigo de resposta %d: %s ! ! !",response_code,Respostas);
    
printf("Resposta do Servidor: %s ! ! !",data);
    print(
"GameMode Sem permissгo para uso ! ! !");
    
SendRconCommand("exit");
    return 
1;

response_code == 6 ? what ?

antifurtodogamemode.playvirtualreality.esy.es/CodigoInternoDoGameMode.txt

what's wrong ?
Reply
#2

I've tryed the online interpreter and it works fine for me.

Check proxy settings on your server.
Reply
#3

Quote:
Originally Posted by Borg
Посмотреть сообщение
I've tryed the online interpreter and it works fine for me.

Check proxy settings on your server.
could be more specific on how I do that? check the proxy settings of my server?

residential PC!
Reply
#4

I cannot exactly say what is going on, but I think something can change data that the server receive. Did you try different URLs? Did you try to access received data[]?
Reply
#5

@EDIT forgot to translate English pro
but used different URL's! Does not receive any data (not print anything)! But differs URL with only 1 character he's back but with various data and telling the gamemode Incorrect Internal Code.
Reply
#6

The script works fine on my PC too. This is not script-related error. Try to check your internet connection settings, firewall, proxy and so on. Try different files and different URLs.
Reply
#7

It was the anti virus that was blocking, I disabled web protection al Run, vlw al grateful for the help you friend ! ! !

Thank you for your help ! ! !

+ rep to you ! ! !
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)