Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Server Development
Habbo Retros
Habbo Q&A
[HELP] Mercury Emulator [HELP]
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Berkaygndz" data-source="post: 322455" data-attributes="member: 52279"><p>Hey Guys, How Are you? I need Your Help I'm Having This Problem:The remote name could not be resolved holobox.com.es</p><p>here is my config file;</p><p>[CODE]## Mercury Emulator System Configuration File</p><p>## Must be edited for the server to work</p><p></p><p>## MySQL Configuration</p><p>db.hostname=localhost</p><p>db.port=3306</p><p>db.username=root</p><p>db.password=</p><p>db.name=hotel</p><p></p><p>## MySQL pooling setup (controls amount of connections)</p><p>db.pool.minsize=1</p><p>db.pool.maxsize=500</p><p></p><p>## Game TCP/IP Configuration</p><p>game.tcp.bindip=25.135.119.245</p><p>game.tcp.port=30004</p><p>game.tcp.conlimit=11000</p><p>game.tcp.conperip=100</p><p>game.tcp.enablenagles=true</p><p></p><p>## MUS TCP/IP Configuration</p><p>mus.tcp.bindip=25.135.119.245</p><p>mus.tcp.port=300008</p><p>mus.tcp.allowedaddr=25.135.119.245</p><p></p><p>## Client configuration</p><p>client.ping.enabled=1</p><p>client.ping.interval=20000</p><p>client.maxrequests=300[/CODE]</p><p>and extrasettings.txt:</p><p>[CODE]# Mercury ExtraSettings #</p><p></p><p># Credits/Pixels Loop</p><p>currency.loop.enabled=true</p><p>currency.loop.time.in.minutes=15</p><p>credits.to.give=3000</p><p>pixels.to.give=100</p><p></p><p># Diamonds Loop</p><p>diamonds.loop.enabled=true</p><p>diamonds.to.give=1</p><p>diamonds.vip.only=true</p><p></p><p># Navigator New 2014 Style</p><p>navigator.newstyle.enabled=true</p><p></p><p># Change Name Settings #</p><p>change.name.staff=true</p><p>change.name.vip=false</p><p>change.name.everyone=false</p><p></p><p># Beta stuff and NUX gifts #</p><p>enable.beta.camera=true</p><p>newuser.gifts.enabled=false</p><p>newuser.gift.yttv2.id=</p><p></p><p># Interactive stuff #</p><p>everyone.use.floor=true</p><p>figuredata.url=http://127.0.0.1/game/figuredata.xml</p><p>youtube.thumbnail.suburl=youtubethumbnail.php?Video[/CODE]</p><p>extrasettings.cs:</p><p>[CODE]using System;</p><p>using System.Collections.Generic;</p><p>using System.Linq;</p><p>using System.Text;</p><p>using System.IO;</p><p></p><p>namespace Mercury.Core</p><p>{</p><p> class ExtraSettings</p><p> {</p><p> internal static bool CURRENCY_LOOP_ENABLED = true;</p><p> internal static int CURRENTY_LOOP_TIME_IN_MINUTES = 15;</p><p> internal static int CREDITS_TO_GIVE = 3000;</p><p> internal static int PIXELS_TO_GIVE = 100;</p><p></p><p> internal static bool DIAMONDS_LOOP_ENABLED = true;</p><p> internal static bool DIAMONDS_VIP_ONLY = true;</p><p> internal static int DIAMONDS_TO_GIVE = 1;</p><p></p><p> internal static bool CHANGE_NAME_STAFF = true;</p><p> internal static bool CHANGE_NAME_VIP = false;</p><p> internal static bool CHANGE_NAME_EVERYONE = false;</p><p></p><p> internal static bool NEW_USER_GIFTS_ENABLED = true;</p><p> internal static bool NAVIGATOR_NEW_ENABLED = true;</p><p> internal static bool ENABLE_BETA_CAMERA = true;</p><p> internal static uint NEW_USER_GIFT_YTTV2_ID = 4930;</p><p></p><p> internal static bool EVERYONE_USE_FLOOR = true;</p><p> internal static string FIGUREDATA_URL = "http://127.0.0.1/game/figuredata.xml";</p><p></p><p></p><p> internal static bool RunExtraSettings()</p><p> {</p><p> if (!File.Exists("extra_settings.txt"))</p><p> {</p><p> return false;</p><p> }</p><p> else</p><p> {</p><p> foreach (string Line in File.ReadAllLines("extra_settings.txt", Encoding.Default))</p><p> {</p><p> if (String.IsNullOrWhiteSpace(Line) || !Line.Contains("="))</p><p> {</p><p> continue;</p><p> }</p><p></p><p> string[] PARAMS = Line.Split('=');</p><p></p><p> switch (PARAMS[0])</p><p> {</p><p> case "currency.loop.enabled":</p><p> if (PARAMS[1] != "true")</p><p> {</p><p> CURRENCY_LOOP_ENABLED = false;</p><p> }</p><p> break;</p><p></p><p> case "currency.loop.time.in.minutes":</p><p> int i = 15;</p><p> if (int.TryParse(PARAMS[1], out i))</p><p> {</p><p> CURRENTY_LOOP_TIME_IN_MINUTES = i;</p><p> }</p><p> break;</p><p></p><p> case "credits.to.give":</p><p> int j = 3000;</p><p> if (int.TryParse(PARAMS[1], out j))</p><p> {</p><p> CREDITS_TO_GIVE = j;</p><p> }</p><p> break;</p><p></p><p> case "pixels.to.give":</p><p> int k = 100;</p><p> if (int.TryParse(PARAMS[1], out k))</p><p> {</p><p> PIXELS_TO_GIVE = k;</p><p> }</p><p> break;</p><p></p><p> case "diamonds.loop.enabled":</p><p> if (PARAMS[1] != "true")</p><p> {</p><p> DIAMONDS_LOOP_ENABLED = false;</p><p> }</p><p> break;</p><p></p><p> case "diamonds.to.give":</p><p> int l = 100;</p><p> if (int.TryParse(PARAMS[1], out l))</p><p> {</p><p> DIAMONDS_TO_GIVE = l;</p><p> }</p><p> break;</p><p></p><p> case "diamonds.vip.only":</p><p> if (PARAMS[1] != "true")</p><p> {</p><p> DIAMONDS_VIP_ONLY = false;</p><p> }</p><p> break;</p><p></p><p> case "navigator.newstyle.enabled":</p><p> if (PARAMS[1] != "true")</p><p> {</p><p> NAVIGATOR_NEW_ENABLED = false;</p><p> }</p><p> break;</p><p></p><p> case "change.name.staff":</p><p> if (PARAMS[1] != "true")</p><p> {</p><p> CHANGE_NAME_STAFF = false;</p><p> }</p><p> break;</p><p></p><p> case "change.name.vip":</p><p> if (PARAMS[1] != "true")</p><p> {</p><p> CHANGE_NAME_VIP = false;</p><p> }</p><p> break;</p><p></p><p> case "change.name.everyone":</p><p> if (PARAMS[1] != "true")</p><p> {</p><p> CHANGE_NAME_EVERYONE = false;</p><p> }</p><p> break;</p><p></p><p> case "enable.beta.camera":</p><p> if (PARAMS[1] != "true")</p><p> {</p><p> ENABLE_BETA_CAMERA = false;</p><p> }</p><p> break;</p><p> case "newuser.gifts.enabled":</p><p> if (PARAMS[1] != "true")</p><p> {</p><p> NEW_USER_GIFTS_ENABLED = false;</p><p> }</p><p> break;</p><p></p><p> case "newuser.gift.yttv2.id":</p><p> uint u;</p><p> if (uint.TryParse(PARAMS[1], out u))</p><p> {</p><p> NEW_USER_GIFT_YTTV2_ID = u;</p><p> }</p><p> break;</p><p></p><p> case "everyone.use.floor":</p><p> if (PARAMS[1] != "true")</p><p> {</p><p> EVERYONE_USE_FLOOR = false;</p><p> }</p><p> break;</p><p></p><p> case "figuredata.url":</p><p> FIGUREDATA_URL = PARAMS[1];</p><p> break;</p><p></p><p> default: break;</p><p> }</p><p> }</p><p> }</p><p></p><p> return true;</p><p></p><p> }</p><p> }</p><p>}</p><p>[/CODE]</p><p></p><p></p><p>I Need it bcs my users are waiting thank you !</p></blockquote><p></p>
[QUOTE="Berkaygndz, post: 322455, member: 52279"] Hey Guys, How Are you? I need Your Help I'm Having This Problem:The remote name could not be resolved holobox.com.es here is my config file; [CODE]## Mercury Emulator System Configuration File ## Must be edited for the server to work ## MySQL Configuration db.hostname=localhost db.port=3306 db.username=root db.password= db.name=hotel ## MySQL pooling setup (controls amount of connections) db.pool.minsize=1 db.pool.maxsize=500 ## Game TCP/IP Configuration game.tcp.bindip=25.135.119.245 game.tcp.port=30004 game.tcp.conlimit=11000 game.tcp.conperip=100 game.tcp.enablenagles=true ## MUS TCP/IP Configuration mus.tcp.bindip=25.135.119.245 mus.tcp.port=300008 mus.tcp.allowedaddr=25.135.119.245 ## Client configuration client.ping.enabled=1 client.ping.interval=20000 client.maxrequests=300[/CODE] and extrasettings.txt: [CODE]# Mercury ExtraSettings # # 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=true diamonds.to.give=1 diamonds.vip.only=true # Navigator New 2014 Style navigator.newstyle.enabled=true # Change Name Settings # change.name.staff=true 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= # Interactive stuff # everyone.use.floor=true figuredata.url=http://127.0.0.1/game/figuredata.xml youtube.thumbnail.suburl=youtubethumbnail.php?Video[/CODE] extrasettings.cs: [CODE]using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; namespace Mercury.Core { class ExtraSettings { internal static bool CURRENCY_LOOP_ENABLED = true; internal static int CURRENTY_LOOP_TIME_IN_MINUTES = 15; internal static int CREDITS_TO_GIVE = 3000; internal static int PIXELS_TO_GIVE = 100; internal static bool DIAMONDS_LOOP_ENABLED = true; internal static bool DIAMONDS_VIP_ONLY = true; internal static int DIAMONDS_TO_GIVE = 1; internal static bool CHANGE_NAME_STAFF = true; internal static bool CHANGE_NAME_VIP = false; internal static bool CHANGE_NAME_EVERYONE = false; internal static bool NEW_USER_GIFTS_ENABLED = true; internal static bool NAVIGATOR_NEW_ENABLED = true; internal static bool ENABLE_BETA_CAMERA = true; internal static uint NEW_USER_GIFT_YTTV2_ID = 4930; internal static bool EVERYONE_USE_FLOOR = true; internal static string FIGUREDATA_URL = "http://127.0.0.1/game/figuredata.xml"; internal static bool RunExtraSettings() { if (!File.Exists("extra_settings.txt")) { return false; } else { foreach (string Line in File.ReadAllLines("extra_settings.txt", Encoding.Default)) { if (String.IsNullOrWhiteSpace(Line) || !Line.Contains("=")) { continue; } string[] PARAMS = Line.Split('='); switch (PARAMS[0]) { case "currency.loop.enabled": if (PARAMS[1] != "true") { CURRENCY_LOOP_ENABLED = false; } break; case "currency.loop.time.in.minutes": int i = 15; if (int.TryParse(PARAMS[1], out i)) { CURRENTY_LOOP_TIME_IN_MINUTES = i; } break; case "credits.to.give": int j = 3000; if (int.TryParse(PARAMS[1], out j)) { CREDITS_TO_GIVE = j; } break; case "pixels.to.give": int k = 100; if (int.TryParse(PARAMS[1], out k)) { PIXELS_TO_GIVE = k; } break; case "diamonds.loop.enabled": if (PARAMS[1] != "true") { DIAMONDS_LOOP_ENABLED = false; } break; case "diamonds.to.give": int l = 100; if (int.TryParse(PARAMS[1], out l)) { DIAMONDS_TO_GIVE = l; } break; case "diamonds.vip.only": if (PARAMS[1] != "true") { DIAMONDS_VIP_ONLY = false; } break; case "navigator.newstyle.enabled": if (PARAMS[1] != "true") { NAVIGATOR_NEW_ENABLED = false; } break; case "change.name.staff": if (PARAMS[1] != "true") { CHANGE_NAME_STAFF = false; } break; case "change.name.vip": if (PARAMS[1] != "true") { CHANGE_NAME_VIP = false; } break; case "change.name.everyone": if (PARAMS[1] != "true") { CHANGE_NAME_EVERYONE = false; } break; case "enable.beta.camera": if (PARAMS[1] != "true") { ENABLE_BETA_CAMERA = false; } break; case "newuser.gifts.enabled": if (PARAMS[1] != "true") { NEW_USER_GIFTS_ENABLED = false; } break; case "newuser.gift.yttv2.id": uint u; if (uint.TryParse(PARAMS[1], out u)) { NEW_USER_GIFT_YTTV2_ID = u; } break; case "everyone.use.floor": if (PARAMS[1] != "true") { EVERYONE_USE_FLOOR = false; } break; case "figuredata.url": FIGUREDATA_URL = PARAMS[1]; break; default: break; } } } return true; } } } [/CODE] I Need it bcs my users are waiting thank you ! [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
[HELP] Mercury Emulator [HELP]
Top