0
서버에 게시하려고 할 때로드 블록에 부딪혔습니다. 나는 함께 TCPLink 클래스의 자식을 만들어 놓은 다음게시 할 때 호스트를 확인할 수 없습니다.
event Opened()
{
//let the php file know what's coming
WorldInfo.Game.Broadcast(self, "REQUEST TEXT: " $ RequestText);
if(bGetData){
SendText("GET /"$TargetPath$"?"$RequestText$" HTTP/1.0"$chr(13)$chr(10));
}else{
SendText("POST /"$TargetPath$" HTTP/1.0"$chr(13)$chr(10));
WorldInfo.Game.Broadcast(self, "SENDING POST");
`log("---------------------------SENDING POST-------------------------");
}
SendText("Host: "$TargetHost$chr(13)$chr(10));
SendText("User-Agent: HTTPTool/1.0"$Chr(13)$Chr(10));
SendText("Content-Type: application/x-www-form-urlencoded"$chr(13)$chr(10));
SendText("Content-Length: "$len(RequestText)$Chr(13)$Chr(10));
SendText(chr(13)$chr(10));
//send securitykey, command and params for php to use
SendText(RequestText);
SendText(chr(13)$chr(10));
SendText("Connection: Close");
SendText(chr(13)$chr(10)$chr(13)$chr(10));
}
가 나는 포스트 (나는 방송을보고 로그 메시지)하지만 로그를 보내려고 알고) (오픈도 (가져 오기 기능이 작동) 이 오류를 표시합니다.
[0042.56] ScriptLog: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>301 Moved Permanently</title>
</head><body>
<h1>Moved Permanently</h1>
<p>The document has moved <a href="http://hosting.zymic.com/forum-spam">here</a>.</p>
</body></html>
내가 잘못하고있는 것에 대한 아이디어가 있습니까?
Whomp wah :(스팸으로 신고하지 않고 게임 개발 서버를 호스팅하는 사람은 누구입니까? – BearInATie