Chaos Project

RPG Maker => RPG Maker Scripts => Script Troubleshooting => Topic started by: xHakix on July 22, 2010, 12:17:42 am

Title: Problem with RMX-OS
Post by: xHakix on July 22, 2010, 12:17:42 am
Hello, i'm having a trouble with RMX-OS: other people can't connect to my server and yes, i have port forwarded.

Spoiler: ShowHide

(http://img340.imageshack.us/img340/1448/tcp.png)
(http://img52.imageshack.us/img52/7973/udp.png)


This is my client config:

Spoiler: ShowHide


#==============================================================================
# module RMXOS
#------------------------------------------------------------------------------
# Main module for all RMX-OS classes and procedures.
#==============================================================================

module RMXOS
 
  #============================================================================
  # module RMXOS::Options
  #----------------------------------------------------------------------------
  # Contains options used for the game that can be set up.
  #============================================================================

  module Options
 
    SERVERS = []
    SAVE_DATA = {}
    CREATION_DATA = {}
    #::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
    # Server Connection Settings
    #::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
    SERVER_REFRESH = 200
    SERVER_TIMEOUT = 200
    SERVERS.push(['Blue Server', 'bluesv.no-ip.org', 54269])
    #SERVERS.push(['Me', '5.133.77.216', 54269])
    #SERVERS.push(['BlizzDev', '161.53.76.80', 54269])
    #SERVERS.push(['My Server', 'www.myserver.net', 54269])
    #::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
    # Security
    #::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
    RESERVED_USERNAMES = ['admin', 'root', 'moderator', 'server', 'guild',
        'none']
    RESERVED_GUILDNAMES = ['admin', 'root', 'moderator', 'server', 'guild',
        'none']
    ENCRYPTION_SALT = 'XS'
    #::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
    # Network
    #::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
    PING_TIMEOUT = 2
    #::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
    # System
    #::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
    USERPASS_MIN_LENGTH = 3
    USERPASS_MAX_LENGTH = 16
    CHATINPUT_WIDTH = 480
    CHATBOX_WIDTH = 480
    CHATBOX_LINES = 8
    CHATINPUT_MAX_LENGTH = 200
    PM_MAX_LENGTH = 200
    GUILDNAME_MAX_LENGTH = 32
    CHAT_BUBBLES = true
    REMEMBER_LOGIN = false
    DISABLED_CHAT_COMMANDS = []
    AUTOSAVE_FREQUENCY = 30
    EXTENDED_AUTOSAVE = false
    #::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
    # Save Data
    # - see the documentation to learn how to set up which data is being saved
    #   by RMX-OS.
    #::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
    # save container variable definitions
    SAVE_CONTAINERS = [
        '$game_system',
        '$game_switches',
        '$game_variables',
        '$game_self_switches',
        '$game_party',
        '$game_actors',
        '$game_map',
        '$game_player'
    ]
    # general save data setup
    SAVE_DATA['Graphics.frame_count'] = []
    SAVE_DATA[Game_System] = ['@timer', '@timer_working', '@menu_disabled']
    SAVE_DATA[Game_Switches] = ['@data']
    SAVE_DATA[Game_Variables] = ['@data']
    SAVE_DATA[Game_SelfSwitches] = ['@data']
    SAVE_DATA[Game_Party] = ['@gold', '@steps', '@actors', '@items',
        '@weapons', '@armors']
    SAVE_DATA[Game_Actors] = ['@data']
    SAVE_DATA[Game_Map] = ['@map_id']
    SAVE_DATA[Game_Player] = ['@x', '@y', '@real_x', '@real_y',
        '@character_name', '@encounter_count']
    SAVE_DATA[Game_Actor] = ['@actor_id', '@name', '@character_name',
        '@character_hue', '@class_id', '@weapon_id', '@armor1_id',
        '@armor2_id', '@armor3_id', '@armor4_id', '@level', '@exp', '@skills',
        '@hp', '@sp', '@states', '@maxhp_plus', '@maxsp_plus', '@str_plus',
        '@dex_plus', '@agi_plus', '@int_plus']
    # for all classes that must have default arguments specified
    CREATION_DATA[Game_Actor] = '1'
 
  end
 
end



My server config:

Spoiler: ShowHide


NAME = 'Blue Server'
HOST = 'bluesv.no-ip.org'
PORT = 54269
RMXOS_VERSION = 1.14

LOG_MESSAGES = false
LOG_ERRORS = true
LOG_ACTIONS = true

DEBUG_MODE = false

MAXIMUM_CONNECTIONS = 50
LOGIN_TIMEOUT = 30
AUTO_RESTART = false
RESTART_TIME = 5
PREVENT_ZOMBIE_CLIENTS = false
RUBY_PROMPT = false
OPTIMIZE_DATABASE_ON_STARTUP = true
DATABASE_CONNECTION_TIMEOUT = 60

SQL_HOSTNAME = '127.0.0.1'
SQL_USERNAME = 'root'
SQL_PASSWORD = 'gomu123'
SQL_DATABASE = 'rmxosdb'

INBOX_SIZE = 10

EXTENSIONS = [
'ExtensionSkeleton', 'Gold', 'BABS', 'Verson', 'DAN', 'User', 'Guild'
]



P/s: Yes, i did RTFM  :P
Title: Re: Problem with RMX-OS
Post by: stripe103 on July 22, 2010, 03:58:30 am
Have you tried going to http://www.ipchicken.com/ on your server computer and put that IP either directly into the client or into the config or the bluesv.no-ip.org address. I haven't used those addresses so I don't really know how they works but I guess you put in a IP.
Title: Re: Problem with RMX-OS
Post by: Blizzard on July 22, 2010, 05:07:47 am
Your IP address is 10.0.0.4, it even says that in the port forwarding screen.
Your client configuration needs to use your external IP address. Go to www.whatsmyip.org to find out your external IP.
Title: Re: Problem with RMX-OS
Post by: xHakix on July 22, 2010, 10:27:35 am
Well, i have a dynamic IP so my external ip changes every day. That's why i have to use no-ip  :(

Btw, the ip address i have to setup in the sever config is 10.0.0.4, right?
Title: Re: Problem with RMX-OS
Post by: Blizzard on July 22, 2010, 10:40:57 am
Server config, yes. It should be 10.0.0.4. Your external IP can be an URL if it will redirect the users to the proper server every time your dynamic IP changes.
Title: Re: Problem with RMX-OS
Post by: stripe103 on July 22, 2010, 12:05:50 pm
I would have set the IP to a static one instead.
Title: Re: Problem with RMX-OS
Post by: WhiteRose on July 22, 2010, 12:35:50 pm
Quote from: stripe103 on July 22, 2010, 12:05:50 pm
I would have set the IP to a static one instead.

That's not really in his control; that's determined by his ISP. However, most ISPs keep your IP addresses fairly steady. They only change about once a month or so.
Title: Re: Problem with RMX-OS
Post by: xHakix on July 23, 2010, 12:28:09 am
I have edited ip address in my server config to 10.0.0.4 but they still can't connect to my server  :(
Title: Re: Problem with RMX-OS
Post by: Blizzard on July 23, 2010, 03:09:25 am
As I said, you need to set up the client to connect to your external IP if you already portforwarded.
Title: Re: Problem with RMX-OS
Post by: xHakix on July 23, 2010, 03:32:39 am
Yes, i did change the ip address in client config but they still can't connect  :(
Title: Re: Problem with RMX-OS
Post by: Blizzard on July 23, 2010, 05:16:29 am
Then you're doing something wrong. Either the client's config does not have the right IP address or your port forwarding is not working right.
Title: Re: Problem with RMX-OS
Post by: G_G on July 23, 2010, 03:39:41 pm
This
HOST = 'bluesv.no-ip.org'

Should be your internal ip
Open the command prompt, type in ipconfig Look for IPv4 Address, thats what you place there.