- Joined
- Feb 19, 2008
- Messages
- 1,055
- Reaction score
- 492
Another glorious Python project (not commenting based on code quality, but language choice), this one is r18, again I found this in the Spanish community. This is under development.
Screenshots:
Code Sample:
Download Link
Credit:
Tenma Matsukaze ~ Primary Developer
KяσzT ~ Primary Developer
Developer's Note:
This is only a base, it's not functional for a hotel. Based on a few minutes of going through the code, it's just hotel view thus far.
As usual, no support included.
Screenshots:
Code Sample:
Code:
from Core.ConfigurationData import ConfigurationData
from Core.Logging import Logging
from Network.GameConnectionListener import GameConnectionListener
from Storage.Database import Database
__author__ = 'KrozT'
class BlazeEnvironment():
# Vars camouflaged
__Configuration = None
__Storage = None
__HabboHotel = None
__GameConnection = None
__MusConnection = None
def __init__(self):
# Show logo and others, for decoration.
Logging().appendWhiteLine(1)
Logging().appendBlazeLogo()
Logging().appendBlazeLine("Starting all Blaze systems...")
# Load configuration file...
self.__Configuration = ConfigurationData("Settings/configuration.ini")
if self.__Configuration.getProperty("software.author") != "KrozT":
Logging().appendErrorLine("Theft of credits detected to author in the config file.")
# Starting MySQL Connection
Logging().appendBlazeLine("Connecting to Database...")
self.__Storage = Database(self.__Configuration.getProperty("db.hostname"),
self.__Configuration.getProperty("db.username"),
self.__Configuration.getProperty("db.password"),
self.__Configuration.getProperty("db.name"),
self.__Configuration.getProperty("db.port"))
# Starting Habbo Emulation - Pronto!
Logging().appendBlazeLine("Loading HabboHotel System...")
self.__HabboHotel = None # Need continue...
# Starting Game Socket
Logging().appendBlazeLine("Starting Game Socket System...")
self.__GameConnection = GameConnectionListener(self.__Configuration.getProperty("game.tcp.bindip"),
self.__Configuration.readInteger("game.tcp.port"))
# Starting MUS Socket - Pronto!
Logging().appendBlazeLine("Starting MUS Socket System...")
self.__MusConnection = None # Need continue...
# Ready!
Logging().appendBlazeLine("Blaze Emulator is ready to receive connections.")
[USER=1333341624]Property[/USER]
def getConfig(self):
return self.__Configuration
[USER=1333341624]Property[/USER]
def getStorage(self):
return self.__Storage
[USER=1333341624]Property[/USER]
def getHabboHotel(self):
return self.__HabboHotel
[USER=1333341624]Property[/USER]
def getGameSocket(self):
return self.__GameConnection
Download Link
You must be registered to see links
Credit:
Tenma Matsukaze ~ Primary Developer
KяσzT ~ Primary Developer
Developer's Note:
This is only a base, it's not functional for a hotel. Based on a few minutes of going through the code, it's just hotel view thus far.
As usual, no support included.
Attachments
You must be registered for see attachments list