NosFun source code !

03/04/2014 16:04 Kubixiorek#16
Thanks, now its working. YOLO

Why when i run it and login, they say me nothing (no channels, server, etc.)
03/04/2014 16:17 IceTrailer#17
Quote:
Originally Posted by Kingrap View Post
sk8ter08 a moment and i tell you how to solve.. ^^


-- EDIT --

Okay, try to change it:

Code:
err < 0 ? closesocket(Listen) && WSACleanup() && std::cout<<"Errore, impossibile avviare l'ascolto del server!"<<std::endl : std::cout<<"Listen() avviato con successo!"<<std::endl;
With it:

Code:
if(err < 0)
	{
		closesocket(Liste);
		WSAcleanup();
		std::cout<<"Errore, impossibile avviare l'ascolto del server!"<<std::endl
	}
	else
	{
		std::cout<<"Listen() avviato con successo!"<<std::endl;
	}
are you using the version 2012 or more ?

4000 = EN
4001 = DE
4002 = FR
4003 = IT
4004 = PL
4005 = ES
4006 = CZ
4007 = RU
4008 = TR
Thanks for your help.

I use Visual Studio 2013 for it

I replaced the line you pasted with this.

Code:
	if (err < 0)
	{
		closesocket(Listen);
		//WSAcleanup(); 
		std::cout << "Errore, impossibile avviare l'ascolto del server!" << std::endl;
	}
	else
	{
		std::cout << "Listen() avviato con successo!" << std::endl;
	}
WSAcleanup(); is not defined so I made a '//' in front of it

So .. is the function WSAcleanup important for the procedure?

After that I compiled it and it seems working.
03/04/2014 17:23 Kingrap#18
Yes ! sorry man, a my error.. I've written fast it so.. xD

Change

Code:
WSAcleanup()
In

Code:
WSACleanup()
And Change

Code:
closesocket(Liste);
In

Code:
closesocket(Listen);
Tell me if there are problems.. ^^
03/04/2014 17:24 Kubixiorek#19
Why when i run it and login, they say me nothing (no channels, server, etc.)
03/04/2014 17:47 k4r3r#20
I think, that you need login server... I tried with WAAT, but one of window dissapers, when running ;p
03/04/2014 17:48 Kingrap#21
Quote:
Originally Posted by Kubixiorek View Post
Why when i run it and login, they say me nothing (no channels, server, etc.)
Im not dynamo ! give me a screen of the client.. :P
03/04/2014 17:58 Paint3r#22
Quote:
Originally Posted by Kingrap View Post
Im not dynamo ! give me a screen of the client.. :P
Its because you havnt a login server?^^
03/04/2014 18:01 Kingrap#23
Its only gameserver, you can use another login server.. Example WAAT login server, where is the problem ? <.<
03/04/2014 19:00 Paint3r#24
Quote:
Originally Posted by Kingrap View Post
Its only gameserver, you can use another login server.. Example WAAT login server, where is the problem ? <.<
Sorry i meant Kubixiorek
03/04/2014 19:08 Kingrap#25
Ah, okay.. no problems so ! XD
03/04/2014 20:16 Abraxas Ethar#26
could you give me the proof that you have the right to publish the work of Giorigo1? (per pm)
03/04/2014 20:35 giorigo2#27
Kingrap, can you upload the screen where I tell you that you can publish this files..?
Thanks.. 'Cuz i dont remember ^^
03/04/2014 20:56 Kingrap#28
Quote:
Originally Posted by giorigo2 View Post
Kingrap, can you upload the screen where I tell you that you can publish this files..?
Thanks.. 'Cuz i dont remember ^^
it's some months ago, i haven't the conversation of skype.. :handsdown:

But if you have changed idea only tell me it and i remove the download.. Where is the problem ? Why haven't you sent to me a private message ?

And sorry giorigo but the most of code into this project is coded by me, have you forgot it ? uhmmm ! multithreading ? packets management ? haven't you copied it from my project released some time ago ? yes ? so you aren't the unique that can say 'yes or not' cause the code is in part alto my job.. ^^
03/04/2014 21:07 giorigo2#29
Uhmm.. Your code is only the multithreading.. The packets management is my ^^
Dont say bullshits..
03/04/2014 21:09 szymek111#30
I got login server soo can i publish it giorigo ?