DragonCross - Source Code + Tabbed Inventory

11/02/2016 06:50 Mike Oxmaul#16
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
11/02/2016 07:05 Avalion#17
Quote:
Originally Posted by Jupsi332 View Post
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.

Bad way to business. Have you tried learning about business ideas from google.com?

8/8 work m8. These server owners should learn to write up contracts, maybe you'll be out of business...
11/02/2016 07:14 Kaev <3#18
Quote:
Originally Posted by Jupsi332 View Post
mein schönes tabbed ~.~

da sieht man mal wieder warum man nix jemanden anderen geben darf
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.
11/02/2016 07:14 KetchupSamurai#19
Quote:
Originally Posted by Jupsi332 View Post
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
I didn't release it for fame, nor did i steal it.

I released it because of cry baby cuntflap's like yourself who think you own the scene. Whereas you continue to scam and scumbag people.

Them prices are taking a hit now and look @ you crying now, about 3 - 4 hrs ago it was all ego talking and now the inner bitch in you shines bright.
11/02/2016 07:16 darren0020#20
Quote:
Originally Posted by Jupsi332 View Post
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.

So, go on and cry home to mommy, We'll wait. It's not like it takes a brain surgeon to re-invent this shit and do it > 100x better, Here: Have some real code.

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 "";
}
Sadly... 90% of this community, yourself included, probably don't understand which specific problem this specific function would solve... sadface; Oh well, time to get back on my level so I don't catch this pathetic variant of aids.

Oh wait, it doesn't use hungarian notation, therefore it's bad... Kappapride.
11/02/2016 10:19 Kaev <3#21
Quote:
Originally Posted by darren0020 View Post
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 "";
}
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)

EDIT: And there is a memory leak in it. You only call freeaddrinfo(res); when you don't find a valid IPv4 Address. ;)
11/02/2016 10:25 darren0020#22
Quote:
Originally Posted by Kaev <3 View Post
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)
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).

Edit: It probably does; I just copied this from something I released years back now and can't be fucked to actually check my current iteration of it; that said, it never really DOES "find nothing.", so it likely does just create some bs memory leak. I more just provided it as a satirical approach to FlyFF developer's view of programming.
11/02/2016 10:30 Kaev <3#23
Quote:
Originally Posted by darren0020 View Post
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).
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.

EDIT: And if you really never find nothing, then you should fix that memory leak asap. Because every resolve will end in a memory leak then. :P
11/02/2016 10:31 darren0020#24
Quote:
Originally Posted by Kaev <3 View Post
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.
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.
11/02/2016 12:00 .HeyEyay.#25
[Only registered and activated users can see links. Click Here To Register...]
11/02/2016 22:37 Lumi#26
Hui ^^ Reavern muss wieder ran. ;3

Btw.:

Was ist das? __GAMMA_CLOCKWORK
11/02/2016 23:48 Reavern#27
Quote:
Originally Posted by ​Lumi View Post
Hui ^^ Reavern muss wieder ran. ;3
Ist in diesem Fall nicht weiter schlimm... solange es nicht weiter ausartet.
Falls doch flattern bei einigen wieder Warnings/Infras rein ;)

Das gilt als Warnung für alle, die hier weiter posten wollen. Achtet auf eure Schreib weise, sonst werde ich einschreiten.

Watch your language if you are giong to post here. I will not tolerate flame, insults or stupid arguments like "I am better than you" (nobody cares anyway).




@[Only registered and activated users can see links. Click Here To Register...]
If you want to argue, post it on my profile (public). Don't start meaningless arguments in a release like that.
If you want to complain about your warning or my way of moderation, post it right here: [Only registered and activated users can see links. Click Here To Register...]

And because you asked who I am to determine what a stupid argument is: I'm the Moderator of this section.
11/08/2016 23:01 Flyffmausi#28
Quote:
Originally Posted by ​Lumi View Post
Hui ^^ Reavern muss wieder ran. ;3

Btw.:

Was ist das? __GAMMA_CLOCKWORK

Da es NICHT der Source Code von Dragon Cross (nicht mal ansatzweise) ist,
vermutlich eine billige Version vom _WORLD_BOSS System ohne Belohnung
11/09/2016 09:40 teejayu1#29
How to Fix PetfilterBW i got error please help...UNDEFINED VARIABLE OF PETFILTERBW please help TY
11/09/2016 23:10 khemomo#30
how does glow pet works here? thanks