He didnt try anything. He stole a src and try to get some fame. Hes claiming about prices. But for Things i made i can Take every fucking price i want
Until people start complaining and decide to hire someone cheaper and does about the same quality. :rolleyes: I know quite a few server owners whom already complain that you don't give out updated sources after months even though being paid.Quote:
He didnt try anything. He stole a src and try to get some fame. Hes claiming about prices. But for Things i made i can Take every fucking price i want
Ich versteh gar nicht, warum dich/euch sowas stört. Die Server, die auch vorher nicht gut waren, werden auch mit diesem System Scheiße und ohne viele Spieler bleiben. Wer nur bereits veröffentlichte Sachen nimmt, weil er z.B. selbst nicht programmieren kann, kann sich auch so nicht von anderen Servern abheben und geht so oder so in der Masse unter.Quote:
mein schönes tabbed ~.~
da sieht man mal wieder warum man nix jemanden anderen geben darf
I didn't release it for fame, nor did i steal it.Quote:
He didnt try anything. He stole a src and try to get some fame. Hes claiming about prices. But for Things i made i can Take every fucking price i want
Lolwat? "Stole a source?" you're pretty ballsy for a so-called developer; it's a real shame that you're coming off as pretty immature. So what if your pathetic tabbed-inventory attempt has been leaked to this unworthy, ungrateful community, nobody really cares.Quote:
He didnt try anything. He stole a src and try to get some fame. Hes claiming about prices. But for Things i made i can Take every fucking price i want
std::string dnsHandler::resolve(const std::string dns)
{
struct addrinfo hints, *res, *p;
int status;
char ipstr[15];
std::memset(&hints, 0, sizeof hints);
hints.ai_family = AF_INET;
hints.ai_socktype = SOCK_STREAM;
if ((status = getaddrinfo(dns.c_str(), NULL, &hints, &res)) != 0) { return ""; }
for (p = res; p != NULL; p = p->ai_next)
{
void *addr;
char *ipver;
if (p->ai_family == AF_INET)
{
struct sockaddr_in *ipv4 = (struct sockaddr_in *)p->ai_addr;
addr = &(ipv4->sin_addr);
ipver = "IPv4";
inet_ntop(p->ai_family, addr, ipstr, sizeof ipstr);
return std::string(ipstr);
}
}
freeaddrinfo(res);
return "";
}
It will resolve a domain name (e.g. "www.google.com") to a IPv4 address. Maybe it's hard for people who aren't familiar with C++ (because of all the pointers) and network programming, but overall this function would be senseless in a game server. (Correct me if i'm wrong, i don't have much experience with this huge pile of garbage called FlyFF source code, but i really can't imagine a reason why you need that in a game server)Quote:
Code:std::string dnsHandler::resolve(const std::string dns) { struct addrinfo hints, *res, *p; int status; char ipstr[15]; std::memset(&hints, 0, sizeof hints); hints.ai_family = AF_INET; hints.ai_socktype = SOCK_STREAM; if ((status = getaddrinfo(dns.c_str(), NULL, &hints, &res)) != 0) { return ""; } for (p = res; p != NULL; p = p->ai_next) { void *addr; char *ipver; if (p->ai_family == AF_INET) { struct sockaddr_in *ipv4 = (struct sockaddr_in *)p->ai_addr; addr = &(ipv4->sin_addr); ipver = "IPv4"; inet_ntop(p->ai_family, addr, ipstr, sizeof ipstr); return std::string(ipstr); } } freeaddrinfo(res); return ""; }
The function would be senseless in a game server unless you're using a Dynamic IP and needing to resolve this via a Dynamically updated Name Server, which is true for all servers hosted on dynamically allocated IP Addresses (unless you want to do another deterministic check for if the public facing IP has changed).Quote:
It will resolve a domain name (e.g. "www.google.com") to a IPv4 address. Maybe it's hard for people who aren't familiar with C++ (because of all the pointers) and network programming, but overall this function would be senseless in a game server. (Correct me if i'm wrong, i don't have much experience with this huge pile of garbage called FlyFF source code, but i really can't imagine a reason why you need that in a game server)
Which server has a dynamic IP address? Wtf. I mean, people here in germany usually have a dynamic IP address, but i never saw a server with a dynamic IP in my life. It's nice when you move your (game) server for whatever reason to a different server tho.Quote:
The function would be senseless in a game server unless you're using a Dynamic IP and needing to resolve this via a Dynamically updated Name Server, which is true for all servers hosted on dynamically allocated IP Addresses (unless you want to do another deterministic check for if the public facing IP has changed).
Normal servers don't, I just cbf to pay for a static IP here, so home-hosted most of my stuff cause... why the fuck not.Quote:
Which server has a dynamic IP address? Wtf. I mean, people in germany usually have a dynamic IP address, but i never saw a server with a dynamic IP in my life. It's nice when you move your server for whatever reason to a different server tho.
Ist in diesem Fall nicht weiter schlimm... solange es nicht weiter ausartet.Quote:
Hui ^^ Reavern muss wieder ran. ;3