re: Icarus Server (Production) - [Python, Multi-DB/MySQL]
Quote:
Originally Posted by
Leon
This.
Yeah, dependencies should always be used fresh, repos should only keep source files. :)
re: Icarus Server (Production) - [Python, Multi-DB/MySQL]
I have a huge problem.
When sending a packet I'm instantly disconnected. Not sure if I broke something or there's like another date check somewhere which has fucked me over. :)
re: Icarus Server (Production) - [Python, Multi-DB/MySQL]
Quote:
Originally Posted by
Quackster
I have a huge problem.
When sending a packet I'm instantly disconnected. Not sure if I broke something or there's like another date check somewhere which has fucked me over. :)
Invalid packet for sure.
re: Icarus Server (Production) - [Python, Multi-DB/MySQL]
Quote:
Originally Posted by
MaxZeus
Invalid packet for sure.
Well it's not because I already checked the Chrome console and there's nothing of that nature and it says "failed to parse _-d35" or whatever when there's an invalid packet.
http://i.imgur.com/6r7afmY.png
- - - Updated - - -
So it turns out there was a bit of discrepancy between the location of OutgoingMessageComposer class between the Netty extension and the main project since I remember changing the paths.
Therefore, Java just shit itself whenever the extension had to use that class and would just disconnect me without any errors or warnings, all issues have been resolved now :D:
re: Icarus Server (Production) - [Python, Multi-DB/MySQL]
Quote:
Originally Posted by
Quackster
So it turns out there was a bit of discrepancy between the location of OutgoingMessageComposer class between the Netty extension and the main project since I remember changing the paths.
Therefore, Java just shit itself whenever the extension had to use that class and would just disconnect me without any errors or warnings, all issues have been resolved now :D:
Consider writing unit tests. I know, its a lot of work for such a small project but you get benefits from it because you can automatically test components like these.
re: Icarus Server (Production) - [Python, Multi-DB/MySQL]
Updated main thread.
Quote:
Originally Posted by
The General
Consider writing unit tests. I know, its a lot of work for such a small project but you get benefits from it because you can automatically test components like these.
Yeah, unit testing is important and I do it often, but this error was just an oversight which I missed.
re: Icarus Server (Production) - [Python, Multi-DB/MySQL]
Development closed.
*drops mic*
Comet is now released, and it's literally the best emulator that's ever been released within the Habbo section, the only reason Comet wasn't released is what drove me to create this emulator, but now there's absolutely no point.
I'm sorry it had to end like this, but no one loses because:
- Everyone still gets a fuckin' awesome emulator (Comet)
- I don't have to waste time on this copyright-infringing server
And before anyone asks, did Sulake contact me? No.
@Hoshiko, I'm sorry, but thank you for offering to host my sources when you did.
Download (including source): https://www.mediafire.com/folder/5r61h96qc8r6r/Icarus
(Compiled release is in Icarus-data.zip)
There's no license or anything on these releases, so it's up for grabs for anyone else to work on it. Personally I think this is a really good base to start from and learn to expand your knowledge.
Not sure how long Hoshiko will keep my account up but the sources can also be found at: https://git.alex-dev.org/alex/
If anyone here has a decent rig and likes to play ArmA 3, I've been developing a mod for it, for the past year (first comment was April 28th, 2015).
Some of you guys may be interested. GitHub - OutbreakMod/Outbreak: Outbreak Mod is post-apocalyptic survival mod for ArmA III
re: Icarus Server (Production) - [Python, Multi-DB/MySQL]
Quote:
Originally Posted by
Quackster
Development closed.
*drops mic*
Comet is now released, and it's literally the best emulator that's ever been released within the Habbo section, the only reason Comet wasn't released is what drove me to create this emulator, but now there's absolutely no point.
I'm sorry it had to end like this, but no one loses because:
- Everyone still gets a fuckin' awesome emulator (Comet)
- I don't have to waste time on this copyright-infringing server
And before anyone asks, did Sulake contact me? No.
@
Hoshiko, I'm sorry, but thank you for offering to host my sources when you did.
Download (including source):
https://www.mediafire.com/folder/5r61h96qc8r6r/Icarus
(Compiled release is in Icarus-data.zip)
There's no license or anything on these releases, so it's up for grabs for anyone else to work on it. Personally I think this is a really good base to start from and learn to expand your knowledge.
Not sure how long Hoshiko will keep my account up but the sources can also be found at:
https://git.alex-dev.org/alex/
If anyone here has a decent rig and likes to play ArmA 3, I've been developing a mod for it, for the past year (first comment was April 28th, 2015).
Some of you guys may be interested.
GitHub - OutbreakMod/Outbreak: Outbreak Mod is post-apocalyptic survival mod for ArmA III
I sense sarcasm in this post lol, Comet handles alot of players but it's missing things and bugs. We thank you for even continuing Icarus as you did for your last Habbo Project, could you state what needs to be finished etc and bugs (If any)? and also I play Arma 3, i'll check out the mod!
re: Icarus Server (Production) - [Python, Multi-DB/MySQL]
Quote:
Originally Posted by
KyleeIsProzZ
I sense sarcasm in this post lol, Comet handles alot of players but it's missing things and bugs. We thank you for even continuing Icarus as you did for your last Habbo Project, could you state what needs to be finished etc and bugs (If any)? and also I play Arma 3, i'll check out the mod!
Leon told me that the things missing were ultimately useless for a Habbo retro, two things missing I know are marketplace and Habbo club, useless for a retro :):
My mod is still in development, but you can keep up to date by following it if ya wish.
Quote:
could you state what needs to be finished etc and bugs (If any)? and also I play Arma 3, i'll check out the mod!
Main page has all the features I've done.
There's no sarcasm intended either :D:
re: Icarus Server (Production) - [Python, Multi-DB/MySQL]
Quote:
Originally Posted by
Quackster
Development closed.
*drops mic*
Comet is now released, and it's literally the best emulator that's ever been released within the Habbo section, the only reason Comet wasn't released is what drove me to create this emulator, but now there's absolutely no point.
I'm sorry it had to end like this, but no one loses because:
- Everyone still gets a fuckin' awesome emulator (Comet)
- I don't have to waste time on this copyright-infringing server
And before anyone asks, did Sulake contact me? No.
@
Hoshiko, I'm sorry, but thank you for offering to host my sources when you did.
Download (including source):
https://www.mediafire.com/folder/5r61h96qc8r6r/Icarus
(Compiled release is in Icarus-data.zip)
There's no license or anything on these releases, so it's up for grabs for anyone else to work on it. Personally I think this is a really good base to start from and learn to expand your knowledge.
Not sure how long Hoshiko will keep my account up but the sources can also be found at:
https://git.alex-dev.org/alex/
If anyone here has a decent rig and likes to play ArmA 3, I've been developing a mod for it, for the past year (first comment was April 28th, 2015).
Some of you guys may be interested.
GitHub - OutbreakMod/Outbreak: Outbreak Mod is post-apocalyptic survival mod for ArmA III
Thread Closed, see above.
re: Icarus Server (Production) - [Python, Multi-DB/MySQL]
Thread is re-opened, it's going to be rewritten in Python instead :):
Everything has been redone from scratch, so it will take me a while to get back to the same level of completeness that I was at before.
Main thread updated.
Source is available at: Icarus - Gogs: Go Git Service
re: Icarus Server (Production) - [Python, Multi-DB/MySQL]
No hate or anything but:
PHP Code:
self.response = Response(outgoing.SearchResultSetComposer)
Why use self.response? Can't you just make a local variable since you only use it in that context anyway? (I don't have python experience so if I say something dumb correct me)
re: Icarus Server (Production) - [Python, Multi-DB/MySQL]
Quote:
Originally Posted by
Glaceon
No hate or anything but:
PHP Code:
self.response = Response(outgoing.SearchResultSetComposer)
Why use self.response? Can't you just make a local variable since you only use it in that context anyway? (I don't have python experience so if I say something dumb correct me)
It's needed for the message encoder, when I send a composer back to the socket.
The last else statement from message_encoder.py gets the self.response variable, there's no need for interfaces/abstract classes in Python, because the language is completely dynamic :D:
Code:
def encode(message):
"""
Return outcoming data from client
:param response: the message to parse for client
"""
# Convert string to bytes
if type(message) is str:
return message.encode()
# Build message in bytes for client from response class
elif type(message) is Response:
return message.get_buffer()
# Assume this is a composer class
# Build message in bytes for clients from composer
else:
return message.response.get_buffer()
Re: Icarus Server (Production) - [Python, Multi-DB/MySQL]
Python... although I do not know the language well, this sounds very interesting so I'll be following!
Good luck. :):
--- EDIT ---
It looks incredibly clean.
Re: Icarus Server (Production) - [Python, Multi-DB/MySQL]
What version of Python are you using atm?