Merhaba arkadaşlar ben Nurullah bugun sizlere Python bir emulator vereceğim emulator çok eski bir emulatordür fakat Python ile yazılmış ilk emulatordur.
Görüntüler
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.")
@Property
def getConfig(self):
return self.__Configuration
@Property
def getStorage(self):
return self.__Storage
@Property
def getHabboHotel(self):
return self.__HabboHotel
@Property
def getGameSocket(self):
return self.__GameConnection
Download Link
https://mega.co.nz/#!KRoAFDJJ!xyOQSG...6_Ucn9QmmQ7ybM
Credit:
Tenma Matsukaze ~ Primary Developer
KяσzT ~ Primary Developer
https://mega.co.nz/#!KRoAFDJJ!xyOQSG...6_Ucn9QmmQ7ybM
Credit:
Tenma Matsukaze ~ Primary Developer
KяσzT ~ Primary Developer