• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

[8.5] The Forgotten Server 0.3.5pl1 (Crying Damson)

Status
Not open for further replies.
[25/10/2009 06:21:14] vase,2008,3
[25/10/2009 06:21:14] amphora,2023,4
[25/10/2009 06:21:14] vase,2008,3
[25/10/2009 06:21:14] amphora,2023,4
[25/10/2009 06:21:14] vase,2008,3
[25/10/2009 06:21:14] amphora,2023,4
[25/10/2009 06:21:15] vase,2008,3
[25/10/2009 06:21:15] amphora,2023,4
[25/10/2009 06:21:15] vase,2008,3
[25/10/2009 06:21:15] amphora,2023,4


what the hell does this mean.
 
[25/10/2009 06:21:15] Parameter 'keyword_reply3' missing. Skipping...



Also this is bothering me....

Only 20% of players can connect to my server?
 
bug distro yes! some flaw in it to! called telnet! only useabel in windows xp!
 
hey should be good if the developers put a configuration of base speed...
 
@yoko
do you mean the vocs base speed? data/xml/vocations.xml?
 
no that when you get lvl dont run that much cuz ppls dont like low lvl servers but high speed SUX
 
Anybody can help me?
Some player are crashing my server! Using Mabegomb! I'm using TFS 0.3.5pl1
Some script to stop it? I searched many post.. but doesnt work!
CAN SOMEONE HELP ME PLEASE?
 
anyone can tell me if theres a way to config, to server, auto set mine IP, at start UP
i mean a line like this:
ip="auto"

or ir theres some kind of code in source like this one that i found in otfans:
Code:
std::string getGlobalIP()
{
    WSADATA wsaData;

    if(WSAStartup(MAKEWORD(2, 0), &wsaData) != 0)
        return "Not found";

    SOCKET s = socket(AF_INET, SOCK_STREAM, 0);
    HOSTENT *host;
    host = gethostbyname("www.whatismyip.com");
    SOCKADDR_IN sin;
    memset(&sin, 0, sizeof sin);
    
    sin.sin_family = AF_INET;
    sin.sin_addr.s_addr = ((struct in_addr*)(host->h_addr))->s_addr;
    sin.sin_port = htons(80);

    if(connect(s, (struct sockaddr*)&sin, sizeof(sin)) != SOCKET_ERROR){
        //std::cout << "Connected" << std::endl;
        std::string request = "GET http://www.whatismyip.com/automation/n09230945.asp HTTP/1.1\r\nHost: www.whatismyip.com\r\n\r\n";
        if(send(s, request.c_str(), request.length(), 0) != request.length())
            std::cout << "Error sending request: " << WSAGetLastError() << std::endl;

        char buffer[2048];
        std::string response;
        recv(s, (char*)&buffer, 2048, 0);
        response = std::string(buffer);
        int start = int(response.find("\r\n\r\n"));
        int iplength = response.length()-start;

        std::string ip = "";
        for(int i = start; i < response.length(); i++){
            if((response.at(i) >= '1' && response.at(i) <= '9') || response.at(i) == '.') ip += response.at(i);
        }
		
		closesocket(s);
		
        return ip;
    }
    else{
        std::cout << "Could not connect: " << WSAGetLastError() << std::endl;
    }
    
    return "127.0.0.1"; 
}

thank you
 
@renan
shit bro you don't have to use all that java coding
in ip type your no-ip dns
ip="myserver.hopto.org"
 
@renan
shit bro you don't have to use all that java coding
in ip type your no-ip dns
ip="myserver.hopto.org"

hum... mate, i get that code in otfans and must to recompile the engine to this work, its like a MOD, to auto update the IP in the config.lua,

and i already try use mine HOST insted of mine IP but, the players cant join the game.
like:
IP( work ):ip= xxx.xxx.xxx.xxx

host (doesnt work):ip= xxx.xxxxxxxxxx.xxx

cuz this i came here, to see if this function its already implemented on TFS 0.3.5pl1, ur i must to recompile.

btw thank you mate, i hope that i can solve this! or simple understand how this work =P
ty!
sry bad english
=`(
 
actually.. tfs does support dns on config.lua
u can use myip.com on your config.lua just fine.. just make sure u updated myip.com before open your server..
 
actually.. tfs does support dns on config.lua
u can use myip.com on your config.lua just fine.. just make sure u updated myip.com before open your server..

so, i just, can put mine host name instead of mine IP? and it will work properly?

like ip="mineotserverhost.com.ws"

i will try, thnk you!
 
Status
Not open for further replies.
Back
Top