I think it's worth changing now that you don't have much done yet (from what I've seen on your Github). ES6 is pretty sweet.You know me so well!
Need an opinion on whether or not this should be re-written using ES6 or continued using ES5
How is adding a random pathfinding class without even using it a feature?Started on v2, uploaded it to the GitHub Repo:
You must be registered for see links
It's ES5 because idrk doesn't matter to me.
Frameworks, Libraries, etc I'll be using for v2:
node-stopwatch - Profiling
winston - Logging
LINQ - querying
MySQL, PostgresSQL - database handling
pathfinding - A*, BestFirst, Jump-Point Search Grid Algorithm
redis - caching, IPC, etc (Will get into that more)
seqeulize - database ORM
rxJS / async - handling request asynchronously
nodemon - code editing without reloading the server
This might honestly be my favorite (and hopefully your favorite) emulator, if ever completed.
This emulator will follow the microservices architecture replicated from Habbo.com's Java server (Developer Insider), this means that it'll communicate across processes strictly for load-balancing, speed, and stability.
If the navigator ran on a separate process and crashed, the whole hotel wouldn't go down, just the navigator, and the users online would be alerted that the navigator is being worked on or whatever.
Even though you could technically work on the server without rebooting using nodemon, this is kind-of like a +1.
Feedback is appreciated, let me know your suggestions/opinions!
What random pathfinding class?How is adding a random pathfinding class without even using it a feature?
Working on a CMS to run alongside it and due to certain circumstances the CMS is main priority right now before I can start working on the emulator again.What happened to the development of this emulator?
Started byYou must be registered for see links,You must be registered for see links.
Working on a CMS to run alongside it and due to certain circumstances the CMS is main priority right now.
You started this project 2 years ago & now your excuse is another project. Guess it's going to be like any project you do. Thread closed due to lack of updates.????????????
mb man I was a lil ticked off because of others on the thread (you know who). And to your answer about the database structure... yes and no. The structure is inspired by Plus but it probably won't be too similar and too simple to convert without some type of tool.Looks good keep up the good work. Btw, I never expect you to finish it within 1 month. the thread was basically in-active. If you messaged me asking for it to be re-opened with this, then I would of re-opened it. But instead you posted an "abuse" thread. But yeah, Like i said. project looks good, don't know if this has been answered before, but is the DB Structure going to be similar to others to allow people to switch without hassle? or your own?
if (this._size > 0) {
this._source.fill(chunk);
if (this._size < chunk.length) {
this._offset = this._size; // equivalent to this.incrementIndex(this._size);
await _write(chunk.slice(this._size, chunk.length),
null,
() => {
this.resetIndex();
});
}
this._size -= chunk.length;
return;
}
Bruh please make this NoSQL/MongoDB and not MySQLYou must be registered for see links
You must be registered for see links
Buffer offset-writes logic fixed, yet buffer allocation doesn't write over zero-buffers.
One error fixed, another error appears. Zero-buffers aren't replaced by bytes written which i guess makes sense since the write functions don't use .fill() but use .alloc()
ByteBuf no longer contains 2 offsets for concurrent read/write operations, the way you'll have to write to a buffer would be by calling ByteBuf.writer() function before anything else.
Downgraded to a 2012-2013 client release version since I don't feel like fixing up the encryption just yet.
Daddy's home.
Fixed all occurring byte parsing errors as well as implementing the RC4 and RSA encryption (beta) although neither are being used on this client version (patched).
The current agenda is structuring the users table for the database and writing the outgoing packet handlers for the login / hotelview. If anyone has any ideas on how I should design the MySQL database (foreign keys, auto-inc, etc) then feel free to express your ideas on this thread.
I plan on refactoring a lot of the bits and pieces of the source code throughout the development because writing a functional Node app requires extensive logic and sacrifice.