re: Yupi Emulator [C# 6/NHibernate/Post-Shuffle]
Quote:
Originally Posted by
FullmetalPride
dear lord in heaven..
This will definitely be the next generation of Azure ;)
And by that, I mean that future generations will learn what not to do when writing a Habbo emulator. Redundant loops, trying to use C# like ActionScript (every object a var [book title idea!]), and just flat out abuse of C#.
Although, I have to ask, why all this hate on him for not running code analysis and other VS tools? The only thing I ever need is Task Manager, Wireshark, and code formatting. Occasionally I need to break or step into a new thread, but that's it, really.
I guess with something like a game server you need advanced analysis?
Every variable can be used as whatever, lol. The compiler turns it into var anyways
re: Yupi Emulator [C# 6/NHibernate/Post-Shuffle]
Quote:
Originally Posted by
Dominic
Every variable can be used as whatever, lol. The compiler turns it into var anyways
Just because the compiler turns it into var is no excuse for making source code unreadable/hard to understand for humans.
re: Yupi Emulator [C# 6/NHibernate/Post-Shuffle]
Quote:
Originally Posted by
Quackster
Just because the compiler turns it into var is no excuse for making source code unreadable/hard to understand for humans.
Someone should follow Dominic's idea and write an emulator in MSIL. Skip the high level process.
re: Yupi Emulator [C# 6/NHibernate/Post-Shuffle]
I'd gently ask to keep the useless discussion of formatting, var usage, etc, to a minimum. Let the developer make more progress before even start to judge the work.
Good luck with the project, OP.
- - - Updated - - -
OP, I would also like to ask you to add some screenshots, since it's about the game itself... Show some features you have on.
re: Yupi Emulator [C# 6/NHibernate/Post-Shuffle]
Quote:
Originally Posted by
FullmetalPride
dear lord in heaven..
This will definitely be the next generation of Azure ;)
And by that, I mean that future generations will learn what not to do when writing a Habbo emulator. Redundant loops, trying to use C# like ActionScript (every object a var [book title idea!]), and just flat out abuse of C#.
Although, I have to ask, why all this hate on him for not running code analysis and other VS tools? The only thing I ever need is Task Manager, Wireshark, and code formatting. Occasionally I need to break or step into a new thread, but that's it, really.
I guess with something like a game server you need advanced analysis?
Yeah, thanks. I'm running Resharper Code Analysis Tool, VS Code Analysis, and CodeMaid, also using profilling tools.
Thanks ;), And yes you're right.
- - - Updated - - -
Quote:
Originally Posted by
Quackster
Just because the compiler turns it into var is no excuse for making source code unreadable/hard to understand for humans.
Exactly. Putting everything as "var" is weirdly, and bad for Code Control. You don't know what type is is, and if you have so many castings, the var can't know what is the right type. Also is bad for "look" the code and for a clean code.
for the compiller doesn't matter if is var or not. (maybe) but for us developers and users. Yes.
re: Yupi Emulator [C# 6/NHibernate/Post-Shuffle]
Quote:
Originally Posted by
sant0ro
Yeah, thanks. I'm running Resharper Code Analysis Tool, VS Code Analysis, and CodeMaid, also using profilling tools.
Thanks ;), And yes you're right.
- - - Updated - - -
Exactly. Putting everything as "var" is weirdly, and bad for Code Control. You don't know what type is is, and if you have so many castings, the var can't know what is the right type. Also is bad for "look" the code and for a clean code.
for the compiller doesn't matter if is var or not. (maybe) but for us developers and users. Yes.
Overusing var is for bad programmers/very lazy programmers imo.
re: Yupi Emulator [C# 6/NHibernate/Post-Shuffle]
Quote:
Originally Posted by
Jax
Overusing var is for bad programmers/very lazy programmers imo.
I must be very lazy then! Somehow i don't feel any better by using it's original type, I find var much cleaner than having to write like (string[]). That's just me, eheh.
I do, however, understand that when doing a production emulator (AzureSharp) it's not good enough to just use 'var', because not everyone understands what 'var' is. :love:
Anyways, let's do what @Droppy said and stick on topic
re: Yupi Emulator [C# 6/NHibernate/Post-Shuffle]
Quote:
Originally Posted by
Dominic
I must be very lazy then! Somehow i don't feel any better by using it's original type, I find var much cleaner than having to write like (string[]). That's just me, eheh.
I do, however, understand that when doing a production emulator (AzureSharp) it's not good enough to just use 'var', because not everyone understands what 'var' is. :love:
Anyways, let's do what @
Droppy said and stick on topic
I think anyone readin' through a C# source will know what var means. However i'm with Alex, if you want people to learn off your code you should use the right Types when defining things.. and it's really ugly to use var.
I think I have the solution for this entire project, ditch the Azure base, ditch C#... use DataFlex. Visual DataFlex. Cream!
re: Yupi Emulator [C# 6/NHibernate/Post-Shuffle]
Updated. And added new release.
re: Yupi Emulator [C# 6/NHibernate/Post-Shuffle]
Now can use in hotel? I can not create rooms is giving error
re: Yupi Emulator [C# 6/NHibernate/Post-Shuffle]
Excellent work Claudio!
Full support! What CMS are you currently using? And what SWF's pack?
re: Yupi Emulator [C# 6/NHibernate/Post-Shuffle]
Quote:
Originally Posted by
d3veloper
Excellent work Claudio!
Full support! What CMS are you currently using? And what SWF's pack?
Hello i'm using directly a client, injecting directly sso ticket.
On topic:
1. Pushed
2. Updated
3. Added Travis
- - - Updated - - -
Added Images.
re: Yupi Emulator [C# 6/NHibernate/Post-Shuffle]
@sant0ro ahahah yes I thought you inject it directly when I saw your SSO ticket on the db.
I would like to test it but I'm gettin' an error when I try to connect: in the Emu I see that's quoted a different build than the one you're using, so I think it's related to my SWF (before you ask me: yes, I'm using your Habbo.swf). Due to this reason I ask you what pack are you using... :P
re: Yupi Emulator [C# 6/NHibernate/Post-Shuffle]
Quote:
Originally Posted by
d3veloper
@
sant0ro ahahah yes I thought you inject it directly when I saw your SSO ticket on the db.
I would like to test it but I'm gettin' an error when I try to connect: in the Emu I see that's quoted a different build than the one you're using, so I think it's related to my SWF (before you ask me: yes, I'm using your Habbo.swf). Due to this reason I ask you what pack are you using... :P
Use the Habbo.swf from the thread.
Please don't use the "releases" since aren't done..
But you can download last commit, from master. And test it.
re: Yupi Emulator [C# 6/NHibernate/Post-Shuffle]
I srsly dont like your personality,
but I whish you best luck and success with this development!