Register for your free account! | Forgot your password?

Go Back   elitepvpers > Shooter > S4 League
You last visited: Today at 16:13

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



FagNet Debugging

Discussion on FagNet Debugging within the S4 League forum part of the Shooter category.

Reply
 
Old   #1
 
Gokumvm's Avatar
 
elite*gold: 0
Join Date: Sep 2015
Posts: 30
Received Thanks: 8
FagNet Debugging

Hello, I optimized FagNet a little bit but I can't really manage to Debug and Compile it.... Everytime I press F5 to Debug it says there were build errors do you want to continue from the last successful build? When I press yes it runs the FagNetGame.exe but there are no changes at all, How can I tell? Because I changed the Ready for Connections! message to see if it would change. But it doesn't... Can anyone help me please?
Gokumvm is offline  
Old 12/01/2015, 12:35   #2
 
golle12's Avatar
 
elite*gold: 29
Join Date: Aug 2011
Posts: 640
Received Thanks: 493
You need to look which error the compiler throow out...
golle12 is offline  
Old 12/01/2015, 12:40   #3
 
Gokumvm's Avatar
 
elite*gold: 0
Join Date: Sep 2015
Posts: 30
Received Thanks: 8
Quote:
Originally Posted by golle12 View Post
You need to look which error the compiler throow out...
Thanks for replying thomas, but there are alot of errors... I added you on Skype


EDIT: Fixed most errors, all errors I have now is FagNetCore.exe could not be found, ( I dont have it so) and some IPAdress errors..
Gokumvm is offline  
Old 12/01/2015, 16:45   #4
 
golle12's Avatar
 
elite*gold: 29
Join Date: Aug 2011
Posts: 640
Received Thanks: 493
FagNetCore is a dll not an exe :/
golle12 is offline  
Old 12/01/2015, 16:48   #5
 
Gokumvm's Avatar
 
elite*gold: 0
Join Date: Sep 2015
Posts: 30
Received Thanks: 8
Quote:
Originally Posted by golle12 View Post
FagNetCore is a dll not an exe :/
I know! Thats why I am freaking out. I only have the .dll and not the exe!
Gokumvm is offline  
Old 12/01/2015, 16:54   #6
 
Apasp®'s Avatar
 
elite*gold: 441
Join Date: Dec 2011
Posts: 347
Received Thanks: 603
Quote:
Originally Posted by Gokumvm View Post
I know! Thats why I am freaking out. I only have the .dll and not the exe!


you need no exe "FagNetCore"
Apasp® is offline  
Old 12/01/2015, 17:00   #7
 
Gokumvm's Avatar
 
elite*gold: 0
Join Date: Sep 2015
Posts: 30
Received Thanks: 8
Quote:
Originally Posted by Apasp® View Post


you need no exe "FagNetCore"
Then what is this idiot?
Gokumvm is offline  
Old 12/01/2015, 17:05   #8
 
golle12's Avatar
 
elite*gold: 29
Join Date: Aug 2011
Posts: 640
Received Thanks: 493
The problem is you changed the project settings from dll into exe... . But if you really want to write a private server, than rewrite it completly and write it by your own maybe in c++ because it is faster and better, but if you want to stay in c# you can use it. I´m still writing on a pre-season 1 server in c++ and i know what I´m telling, because the performance from FagNet is really bad and, if you write it by your own, you know what you want to do and you understand it better instead you use an open source from people who said that you need to rewrite it, so you should think about, if you can programming and reversing, if this is not given, then you should learn the basics from both of them and you can continue your project anyway you could get some problems in the future.
golle12 is offline  
Thanks
1 User
Old 12/01/2015, 17:21   #9
 
Gokumvm's Avatar
 
elite*gold: 0
Join Date: Sep 2015
Posts: 30
Received Thanks: 8
Quote:
Originally Posted by golle12 View Post
The problem is you changed the project settings from dll into exe... . But if you really want to write a private server, than rewrite it completly and write it by your own maybe in c++ because it is faster and better, but if you want to stay in c# you can use it. I´m still writing on a pre-season 1 server in c++ and i know what I´m telling, because the performance from FagNet is really bad and, if you write it by your own, you know what you want to do and you understand it better instead you use an open source from people who said that you need to rewrite it, so you should think about, if you can programming and reversing, if this is not given, then you should learn the basics from both of them and you can continue your project anyway you could get some problems in the future.
Well idk how I changed it from DLL into exe but maybe you're right, I don't have the C# Requierements to write my own emulator dude. Neither can I Reverse or Program, I'm just editing the source because I'm learning and trying to understand the Language. I think It's a good starter exercise though.. Can we talk on Skype instead of epvp?
Gokumvm is offline  
Old 12/01/2015, 17:21   #10
 
elite*gold: 2
Join Date: May 2010
Posts: 846
Received Thanks: 3,938
I suggest you to give up. A project like this is not for people who don't know how to code and i'm not talking about "yes i can code. i wrote a hello world program".
A project like this needs a lot of experience and knowledge.

Also everyone who tries to work with FagNet and fix it is just stupid. The source is terrible and should be only used as a documentation for the s4 protocol.
Even i didn't use the source for my newer emulator versions.

Quote:
Originally Posted by golle12 View Post
maybe in c++ cause its faster and better
I bet 100€ that my C# code is atleast 3 times faster than your C++ code. C++ doesn't make unoptimized and terrible code magically faster.
-PinkiWinki- is offline  
Thanks
7 Users
Old 12/01/2015, 17:26   #11
 
golle12's Avatar
 
elite*gold: 29
Join Date: Aug 2011
Posts: 640
Received Thanks: 493
I guess you are right the performance is dependant from the skills of the coder, but I set the condition on the FagNet Source not on your writing skill so sorry for wrong intension...
golle12 is offline  
Old 12/01/2015, 17:35   #12
 
Terrat's Avatar
 
elite*gold: 130
Join Date: Apr 2012
Posts: 1,173
Received Thanks: 670
C# was slower than C++, this had changed over time and both are at the same level. But that your code will run 100 time´s faster is ****. Golle is using pretty sneak and fast code, yes it is still way optimizable but not it wont fit for 100 times.
Terrat is offline  
Old 12/01/2015, 17:51   #13
 
Gokumvm's Avatar
 
elite*gold: 0
Join Date: Sep 2015
Posts: 30
Received Thanks: 8
Quote:
Originally Posted by Terrat View Post
C# was slower than C++, this had changed over time and both are at the same level. But that your code will run 100 time´s faster is ****. Golle is using pretty sneak and fast code, yes it is still way optimizable but not it wont fit for 100 times.
Could you be more specific? I can't really understand what you're saying. Except for the fact that C# and C++ are both good And that in C++ the code will run faster is bullshit.
Gokumvm is offline  
Old 12/01/2015, 17:56   #14
 
elite*gold: 2
Join Date: May 2010
Posts: 846
Received Thanks: 3,938
Terrat, you're just thinking about small projects. There is not much to talk about "speed" there.

We can come back to this topic when golle and i have a complete emulator. Would be actually interesting to compare them
-PinkiWinki- is offline  
Thanks
1 User
Old 12/01/2015, 17:59   #15
 
golle12's Avatar
 
elite*gold: 29
Join Date: Aug 2011
Posts: 640
Received Thanks: 493
this could take a long time and i am not the only one who write a pre- season 1 Emulator...
golle12 is offline  
Reply


Similar Threads Similar Threads
Fagnet Emulator
07/21/2015 - S4 League - 6 Replies
Hey Guys, have somebody the fagnet files with alice like here: http://s1.directupload.net/images/130821/gg58yh3g. png ?? hat jemand die fagnet files mit alice wie hier: http://s1.directupload.net/images/130821/gg58yh3g. png ?? Lg. Frame
Fagnet
05/27/2015 - S4 League - 2 Replies
https://bitbucket.org/wtfblub/trashnet/ Der Link von Wtfblub klappt nicht mehr >.< Hat das Noch jemand rumfliegen? Mfg. Elektek
S4 Fagnet how to add new items?
01/19/2015 - S4 League - 2 Replies
S4 League Fagnet Server how to shop add new items:confused:
[Frage]Fagnet
09/05/2014 - S4 League - 2 Replies
Some time ago I saw someone publish the source code of s4 beta(Fagnet) anyone can share the source code or the rewrite in c++?? thank you all. :)
About FagNet
07/31/2014 - S4 League - 4 Replies
So I have started making a private server, that is really private, like only for me and some of my friends, but the thing is, it's really slow, like it lags a lot, I am using a vps that has no other games hosted on, if there's anything I can do to the code please let me know, I have tried other hosts and it appears to be from the emulator itself...



All times are GMT +2. The time now is 16:13.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.