[HELP] Mercury Emulator [HELP]

Berkaygndz

Member
Sep 13, 2014
70
0
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
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
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;

        }
    }
}


I Need it bcs my users are waiting thank you !
 

Berkaygndz

Member
Sep 13, 2014
70
0
It's Fixed, But it says "could not connect to remote server" I Can Take A Photo but, "could not connect to remote server" is turkish. So, Can You help me ?

sorry for my bad english! im turkish!
 

Users who are viewing this thread

Top