Chaos Project

RPG Maker => RPG Maker Scripts => Script Troubleshooting => Topic started by: R5GAMER on July 22, 2014, 11:49:49 pm

Title: No-Ip and RMX-OS (resolved)
Post by: R5GAMER on July 22, 2014, 11:49:49 pm
Hello!

I read about on various issues related to No-Ip but I still have not figured out how to solve the problem ..

Here, the client code:
Spoiler: ShowHide

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

 module Options
   SERVERS = []
   SAVE_DATA = {}
   CREATION_DATA = {}
   #::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
   # General
   #::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
   GAME_VERSION = 1.0
   #::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
   # Server Connection Settings
   #::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
   SERVER_REFRESH = 400
   SERVER_TIMEOUT = 200
   SERVERS.push(['Débutant', 'goh.servegame.com', 54269])
   #::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
   # Security
   #::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
   RESERVED_USERNAMES = ['admin', 'root', 'moderator', 'server', 'guild',
       'none']
   RESERVED_GUILDNAMES = ['admin', 'root', 'moderator', 'server', 'guild',
       'none']
   ENCRYPTION_SALT = 'XS'
   #::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
   # Network
   #::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
   PING_TIMEOUT = 1
   #::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
   # System
   #::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
   USERPASS_MIN_LENGTH = 3
   USERPASS_MAX_LENGTH = 16
   CHATINPUT_WIDTH = 300
   CHATBOX_WIDTH = 300
   CHATBOX_LINES = 7
   CHATINPUT_MAX_LENGTH = 100
   PM_MAX_LENGTH = 100
   GUILDNAME_MAX_LENGTH = 32
   CHAT_BUBBLES = false
   REMEMBER_LOGIN = true
   DISABLED_CHAT_COMMANDS = []
   AUTOSAVE_FREQUENCY = 30
   GUILD_NAME_SPRITES = true
   LEGACY_SAVE_METHOD = false
   #::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
   # Exchange Data
   #::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
   EXCHANGE_VARIABLES = ['@character_name', '@x', '@y', '@direction',
       '@move_speed', '@walk_anime', '@step_anime', '@real_x', '@real_y',
       '@pattern']
   #::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
   # 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',
       'Graphics.frame_count'
   ]
   # 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



Here, the server code:
Spoiler: ShowHide

NAME = 'Serveur_Débutant'
HOST = '192.168.0.39'
PORT = 54269
GAME_VERSION = 1.0

DEBUG_MODE = true
LOG_MESSAGES = true
LOG_ERRORS = true
LOG_ACTIONS = true

MAXIMUM_CONNECTIONS = 50
LOGIN_TIMEOUT = 120
AUTO_RESTART = true
RESTART_TIME = 5
USE_IP_BANNING = true
RUBY_PROMPT = true
EXTENDED_THREADING = true
OPTIMIZE_DATABASE_ON_STARTUP = false

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

INBOX_SIZE = 20

EXTENSIONS = ["Connexion_Log", "ExtensionSkeleton", "Global_Switch.rb", "MsgDay", "Report_Player", "Restart", "SystemABS"
]



My all port is open :
Spoiler: ShowHide

192.168.0.39                             192.168.0.39
Protocole: UDP                           Protocole: TCP
WAN : 54269                              WAN: 54269
LAN : 54269                               LAN: 54269


The problem is that the client can not find the server ..
Thanks for the help..

P.S: I'm using RMX-OS Server on Windows Server 2008 R2
Title: Re: No-Ip and RMX-OS
Post by: Ryex on July 23, 2014, 12:41:50 am
well,  here's a few question I'll need answered to help you.

what your network set up like?
do you have a modem? a router? both?
do your forwarded ports accept connection form all ip addresses?
whats your internal and external IP?
Title: Re: No-Ip and RMX-OS
Post by: Zexion on July 23, 2014, 02:09:38 am
Use a site to check if your port is open. Some of the ones I used:
http://www.canyouseeme.org/
http://www.yougetsignal.com/tools/open-ports/

If this fails then you need to forward your ports and it has nothing to do with the server.
Title: Re: No-Ip and RMX-OS
Post by: R5GAMER on July 23, 2014, 10:01:02 am
Quote from: Zexion on July 23, 2014, 02:09:38 am
Use a site to check if your port is open. Some of the ones I used:
http://www.canyouseeme.org/
http://www.yougetsignal.com/tools/open-ports/

If this fails then you need to forward your ports and it has nothing to do with the server.


Thanks .... xD