Problem with AzureSharp Emulator

Koldo

New Member
Jan 21, 2015
25
0
Good afternoon, I have one problem with the emulator of AzureSharp (2.1.0.2 and 2.1.0.4). THe log is:
15:22:56 - FATAL - AzureSharp.AzureEmulator - Failed to load AzureEmulator.
MySql.Data.MySqlClient.MySqlException (0x80004005): Unable to connect to any of the specified MySQL hosts.
en MySql.Data.MySqlClient.NativeDriver.Open()
en MySql.Data.MySqlClient.Driver.Open()
en MySql.Data.MySqlClient.Driver.Create(MySqlConnectionStringBuilder settings)
en MySql.Data.MySqlClient.MySqlPool..ctor(MySqlConnectionStringBuilder settings)
en MySql.Data.MySqlClient.MySqlPoolManager.GetPool(MySqlConnectionStringBuilder settings)
en MySql.Data.MySqlClient.MySqlConnection.Open()
en AzureSharp.Database.DatabaseManager.GetQueryReactor()
en AzureSharp.AzureEmulator.Initialize()

I checked the configuration files of the emulator and the MySQL host and were correct.
Any solution?.

Best regards.
 

Koldo

New Member
Jan 21, 2015
25
0
Please post your config.
Hi, thanks for your answer. This is the main.config. You need more config?.
## Azure Emulator System Configuration File
## Must be edited for the server to work

## MySQL Configuration
db.hostname=127.0.0.1
db.port=3306
db.username=root
db.password= *no pass*
db.name=azure
db.type=MySQL

## MySQL pooling setup (controls amount of connections)
db.pool.minsize=1
db.pool.maxsize=500

## Game TCP/IP Configuration
game.tcp.bindip=127.0.0.1
game.tcp.port=30000
game.tcp.poolsize=100
game.tcp.enablenagles=false

## When using a proxy, your port could be different. Set here the proxy port.
## If you don't use a proxy, set the same port as 'game.tcp.port'.
game.tcp.port.proxy=30000

## Anti-DDOS
## Note: Keep this disabled this if you are using a proxy.
game.tcp.antiddos=false
game.tcp.conperip=5

## MUS TCP/IP Configuration
mus.tcp.bindip=127.0.0.1
mus.tcp.port=30008
mus.tcp.allowedaddr=127.0.0.1

## Client configuration
client.ping.enabled=1
client.ping.interval=20000
client.maxrequests=300

## Developer Settings
system.debug=false

## Language System
system.lang=english

## Console Clear Timer
console.clear.enabled=false
console.clear.time=20000

## Bots Settings
game.roomswithbotscolor=0
game.botdefaultcolor=31
game.botbadge=BOT

## The minium rank to receive :sa.
game.sa_min_rank=3

Thanks and best regards
 

JDMCPE

New Member
Dec 19, 2014
24
0
Hi, thanks for your answer. This is the main.config. You need more config?.
## Azure Emulator System Configuration File
## Must be edited for the server to work

## MySQL Configuration
db.hostname=127.0.0.1
db.port=3306
db.username=root
db.password= *no pass*
db.name=azure
db.type=MySQL

## MySQL pooling setup (controls amount of connections)
db.pool.minsize=1
db.pool.maxsize=500

## Game TCP/IP Configuration
game.tcp.bindip=127.0.0.1
game.tcp.port=30000
game.tcp.poolsize=100
game.tcp.enablenagles=false

## When using a proxy, your port could be different. Set here the proxy port.
## If you don't use a proxy, set the same port as 'game.tcp.port'.
game.tcp.port.proxy=30000

## Anti-DDOS
## Note: Keep this disabled this if you are using a proxy.
game.tcp.antiddos=false
game.tcp.conperip=5

## MUS TCP/IP Configuration
mus.tcp.bindip=127.0.0.1
mus.tcp.port=30008
mus.tcp.allowedaddr=127.0.0.1

## Client configuration
client.ping.enabled=1
client.ping.interval=20000
client.maxrequests=300

## Developer Settings
system.debug=false

## Language System
system.lang=english

## Console Clear Timer
console.clear.enabled=false
console.clear.time=20000

## Bots Settings
game.roomswithbotscolor=0
game.botdefaultcolor=31
game.botbadge=BOT

## The minium rank to receive :sa.
game.sa_min_rank=3

Thanks and best regards

Since the problem specified is "Unable to connect to any of the specified MySQL hosts.", are you sure your db connection is correct? Please double check and get back to me. :) Are you on a vps? IIS or xampp?
 
please post your other.ini too. thanks.
 

Koldo

New Member
Jan 21, 2015
25
0
Since the problem specified is "Unable to connect to any of the specified MySQL hosts.", are you sure your db connection is correct? Please double check and get back to me. :) Are you on a vps? IIS or xampp?
 
please post your other.ini too. thanks.
Hi, thanks for your answer., I ckecked the connection with the db :(. I use xampp in my own pc. ;)

This is the other.ini file.
# Azure ExtraSettings #

# CRYPTO. Only for powerful servers.
rc4.client.side.enabled=false

# Credits/Pixels Loop
currency.loop.enabled=true
currency.loop.time.in.minutes=15
credits.to.give=3000
pixels.to.give=100

# Diamonds Loop
diamonds.loop.enabled=false
diamonds.to.give=0
diamonds.vip.only=false

# Navigator New 2014 Style
navigator.newstyle.enabled=true

# Change Name Settings #
change.name.staff=false
change.name.vip=false
change.name.everyone=false

# Beta stuff and NUX gifts #
enable.beta.camera=true
newuser.gifts.enabled=false
newuser.gift.yttv2.id=

# API Camera & Thumbnails #
api.hash=
api.hotel.domain=funny-hotel.nl

# Interactive stuff #
everyone.use.floor=true
admin.can.useHTML=true
commands.new.page=false
figuredata.url=*url*
furnidata.url=*url*
youtube.thumbnail.suburl=youtubethumbnail.php?Video

Regards :)
 

JDMCPE

New Member
Dec 19, 2014
24
0
Hi, thanks for your answer., I ckecked the connection with the db :(. I use xampp in my own pc. ;)

This is the other.ini file.
# Azure ExtraSettings #

# CRYPTO. Only for powerful servers.
rc4.client.side.enabled=false

# Credits/Pixels Loop
currency.loop.enabled=true
currency.loop.time.in.minutes=15
credits.to.give=3000
pixels.to.give=100

# Diamonds Loop
diamonds.loop.enabled=false
diamonds.to.give=0
diamonds.vip.only=false

# Navigator New 2014 Style
navigator.newstyle.enabled=true

# Change Name Settings #
change.name.staff=false
change.name.vip=false
change.name.everyone=false

# Beta stuff and NUX gifts #
enable.beta.camera=true
newuser.gifts.enabled=false
newuser.gift.yttv2.id=

# API Camera & Thumbnails #
api.hash=
api.hotel.domain=funny-hotel.nl

# Interactive stuff #
everyone.use.floor=true
admin.can.useHTML=true
commands.new.page=false
figuredata.url=*url*
furnidata.url=*url*
youtube.thumbnail.suburl=youtubethumbnail.php?Video

Regards :)
Hmm, is your mysql using port 3306 in your Xampp Control Panel? Sorry for the late reply, I was busy.
 

Koldo

New Member
Jan 21, 2015
25
0
Hmm, is your mysql using port 3306 in your Xampp Control Panel? Sorry for the late reply, I was busy.
Hi, thanks for your answer. No problem ;)
Yes, my xampp used the port 3306. It's too strange this error :(
its a problem of the emulator? I tested in 2 computers and is the same error.

Best regards :)
 

rent

Member
Sep 24, 2012
408
67
Good afternoon, I have one problem with the emulator of AzureSharp (2.1.0.2 and 2.1.0.4). THe log is:
15:22:56 - FATAL - AzureSharp.AzureEmulator - Failed to load AzureEmulator.
MySql.Data.MySqlClient.MySqlException (0x80004005): Unable to connect to any of the specified MySQL hosts.
en MySql.Data.MySqlClient.NativeDriver.Open()
en MySql.Data.MySqlClient.Driver.Open()
en MySql.Data.MySqlClient.Driver.Create(MySqlConnectionStringBuilder settings)
en MySql.Data.MySqlClient.MySqlPool..ctor(MySqlConnectionStringBuilder settings)
en MySql.Data.MySqlClient.MySqlPoolManager.GetPool(MySqlConnectionStringBuilder settings)
en MySql.Data.MySqlClient.MySqlConnection.Open()
en AzureSharp.Database.DatabaseManager.GetQueryReactor()
en AzureSharp.AzureEmulator.Initialize()

I checked the configuration files of the emulator and the MySQL host and were correct.
Any solution?.

Best regards.
The problem is you're using a shit emulator
 

Users who are viewing this thread

Top