Revolution Server (Java, PRODUCTION)

Status
Not open for further replies.
Actually stopped after I finished navigator, and sending a user to a room. Development currently inactive but I plan on working on it in a few days or so.

This is your 3rd emulator, and you already stopped and you want to start again in a few days. I only have 3 words for you -> waste of time
 
This is your 3rd emulator, and you already stopped and you want to start again in a few days. I only have 3 words for you -> waste of time
>already stopped
Development was active daily until school started? Which happens to be the only thing holding me back. The emulator itself I'd say is pretty much easy sailing from here. "already" is an understatement of the time and work I've put into this emulator if you're unaware of how much progress has been made.

>waste of time
Waste of who's time? How can you assume I don't have the time nor patience to work on an emulator when you're unaware of my schedule.

Let's skip the personal bullshit regarding what I do what my time, let's stay focused on code. Any comments on that? No? Cool.

@Quackster stalking my thread because some people just can't compete #IFeelTheEnvy #NegativeEnergyIsJealousy

Pardon the conflict.
 
Begun working on an emulator in C, still working on it atm.

As for Revolution, encountered a DI error while updating Guice dep. still working on running and testing out epolling on a Linux system so yeah :)

Gotta work on more packets, this will be done soon... when I get a to a stopping point with my C emulator I'll prioritize on what I shall work on more.
 
So you're saying that the Revolution Server is ended?



Observation.: I would not recommend to try to do an Emulator in C. C doesn't ever have strings. Doesn't ever is Object Oriented. Also you need do the Socket System from the scratch.

How you're thinking to code this?
 
Last edited by a moderator:
So you're saying that the Revolution Server is ended?



Observation.: I would not recommend to try to do an Emulator in C. C doesn't ever have strings. Doesn't ever is Object Oriented. Also you need do the Socket System from the scratch.

How you're thinking to code this ****?

There is also no polymorphism in C either.
 
There is also no polymorphism in C either.

Polymorphism is part of the OO programming idiom.

There are many other ways to do things.

Its not a reason that this is impossible.

But honestly, the C sockets are the best out there and properly implemented will outperform any other language.
 
So you're saying that the Revolution Server is ended?



Observation.: I would not recommend to try to do an Emulator in C. C doesn't ever have strings. Doesn't ever is Object Oriented. Also you need do the Socket System from the scratch.

How you're thinking to code this?
Revolution Server is no where near ended, the development has just been going slower due to school, and other interests (C), so naw I'm still working on bits and pieces, I'll post an update log when I update the packet id's from January maybe I'll get some progress done after that.

I'll post a thread on the C emulator when it's far enough in development, right now I've been focused on getting the sockets in order then everything else comes after.

And to briefly answer your question, I'll code it "THE RIGHT WAY". Get it? The way people used to code before the OOP paradigm was introduced everything was either functional or procedural-- so it's definitely not impossible.

"THE RIGHT WAY" = What many programmers tell me how they program.
 
Last edited by a moderator:



Nobody has to understand this, right?
jaden83 - Revolution Server (Java, PRODUCTION) - RaGEZONE Forums

(more code here: )

I hope you know you can make a method returning a void, right?

jaden83 - Revolution Server (Java, PRODUCTION) - RaGEZONE Forums

A booleans value is always true or false => 1 or 0, so its size is always 1. ¯\_(ツ)_/¯
 
Last edited:
Nobody has to understand this, right?
jaden83 - Revolution Server (Java, PRODUCTION) - RaGEZONE Forums

(more retarded code here: )

I hope you know you can make an method returning a void, right?

In C, it is common practice to return ints for better error handling. Example, one could return -1 if the task was unsuccessful.
 
In C, it is common practice to return ints for better error handling. Example, one could return -1 if the task was unsuccessful.

Yes it's used for that, but in this case Jaden didn't added any check that can return -1. Also by default if an execution time happens this method will return void, or better in some cases, will return false (0).

Also the parte of sizeof(bool) - 1, it's kinda lmfao. I didn't get what he tried with that. But whatever.
 
Nobody has to understand this, right?
jaden83 - Revolution Server (Java, PRODUCTION) - RaGEZONE Forums

(more code here: )

I hope you know you can make a method returning a void, right?

jaden83 - Revolution Server (Java, PRODUCTION) - RaGEZONE Forums

A booleans value is always true or false => 1 or 0, so its size is always 1. ¯\_(ツ)_/¯
A boolean is *at least* but not limited to 1 byte, which is why I was getting the size of a bool on the machine and subtracting it by the byte that was read.

method returning a void? Elaborate? My current implementation passes a pointer to object which will be changed, I haven't added errors in yet but 0 is success and -1 means buffer overflow.

Seems like you're nitpicking tbh, but if you truly don't understand my tactics then you can watch more here (Stanford University C lecture)



EDIT:
Another good read.
 
Last edited:
A boolean is *at least* but not limited to 1 byte, which is why I was getting the size of a bool on the machine and subtracting it by the byte that was read.

method returning a void? Elaborate? My current implementation passes a pointer to object which will be changed, I haven't added errors in yet but 0 is success and -1 means buffer overflow.

Seems like you're nitpicking tbh, but if you truly don't understand my tactics then you can watch more here (Stanford University C lecture)



EDIT:
Another good read.

Well, since you have no checks its retarded code.
On the boolean thing you got me.

Sometimes everbody is like Ash, a god damn retardelle ¯\_(ツ)_/¯
 
Well, since you have no checks its retarded code.
On the boolean thing you got me.

Sometimes everbody is like Ash, a god damn retardelle ¯\_(ツ)_/¯
"since you have no checks it's retarded code"

I'm trying to be as nice as I possibly can with you, so right now we're heading towards passive aggressive.

What "checks" are you referring to? You need to acknowledge that you are viewing unfinished code, every function is designed said way for a reason and you a few times in C... you might have no reason at all other than the fact that you know there will be errors to check for in the future.

The current checks that were not committed were checking for buffer overflows, but if you were using the functions correctly and knew the habbo packet structure then you wouldn't have any problems anyway.

It's not about whether it "looks" like it make sense. See that's the difference between writing code, and programming software. In my opinion at least.


No funny **** but...
Doesn't take a genius to figure out where I was going there, just a REAL programmer. and Leon (and anyone who thought the same before reading his post) happen to be the only ones thus far.

Btw, been added these checks -- yet to commit because my computer time has been cut short lately. Got a big test tomorrow.
jaden83 - Revolution Server (Java, PRODUCTION) - RaGEZONE Forums




Any updates on this? ;)
My monitor broke a few days ago and my PC doesn't take VGA (only HDMI) so a replacement is going to be expensive :(

Been using the flat in the family room and I can't be in there monopolizing all day, so every once and a while at night. I'll commit a few bug fixes I made to the source code a while ago to Git because I was holding back until everything was working.
 
Status
Not open for further replies.
Back