[XP] RPG Maker XP Online System (RMX-OS)

Started by Blizzard, June 20, 2009, 11:52:23 am

Previous topic - Next topic

crzyone9584

Quote from: Aqua on February 03, 2010, 08:54:57 pm
Um... I'm pretty sure you can...
Just have the server select screen go to a new scene that asks for the password for the protected server.

Of course, it'd require an edit.


I figured it would require a edit. I'm just not good with ruby and rgss. Then again i could have it go to a blank map ask for the password through events till i find a scripter. But i was just wondering so once i have a decent amount of a game that I'm just now starting i could have a dev server for like admins and few beta testers to test out new things until the bugs are worked out.

Blizzard

There's no need. Just make two clients. One that has in the configuration the normal server and another one that has the normal server and the test server. People with the configured connection to the normal server simply won't have access to the other server and that's that. We're practically doing the same while working on Remexos.
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

holy416m

Quote from: Blizzard on February 03, 2010, 08:34:01 am
I meant on the PC of a friend or something like that.
Quote from: edwardthefma on February 03, 2010, 01:28:19 pm
have you tried reinstalling mysql you might not have it installed properly
8)

Blizzard@Err... no...
edwardthefma@how's the proper way to install it...? :???:

crzyone9584

Quote from: Blizzard on February 04, 2010, 03:48:05 am
There's no need. Just make two clients. One that has in the configuration the normal server and another one that has the normal server and the test server. People with the configured connection to the normal server simply won't have access to the other server and that's that. We're practically doing the same while working on Remexos.


I was trying to make it easer on me so i wouldnt have to worry about to two clients. but i guess that two clients would be the easier way to though.

whitespirits

Quick question is a pvp script due out obv with abs ? thanks

Blizzard

February 04, 2010, 01:17:04 pm #405 Last Edit: February 04, 2010, 01:19:00 pm by Blizzard
Not with the first version of the Blizz-ABS plugin. I'll either update the plugin later or make a separate PvP plugin.
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

ShadowIce

AHHHH! PLEASE help me! I have tried
port forwarding on my router, and it doesn't work when I try to use my external IP. >< Here, I made a pic so u can see I'm doing it right or not:

http://i406.photobucket.com/albums/pp148/DarkShadowWing/pf.png

Can u tell me the name of the app I am port forwarding as well as what I'm doing wrong and how to fix it?

Here's my config:

NAME = 'RMX-OS Server'
HOST = 'myextip'
PORT = 50000
RMXOS_VERSION = 1.08

LOG_MESSAGES = false
LOG_ERRORS = true
LOG_ACTIONS = true

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

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

INBOX_SIZE = 10

EXTENSIONS = [
]


(RMX-OS) Options:

#:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=
# RPG Maker XP Online System (RMX-OS)
#------------------------------------------------------------------------------
# Author: Blizzard
#:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=
#   
#  This work is protected by the following license:
# #----------------------------------------------------------------------------
# # 
# #  Creative Commons - Attribution-NonCommercial-ShareAlike 3.0 Unported
# #  ( http://creativecommons.org/licenses/by-nc-sa/3.0/ )
# # 
# #  You are free:
# # 
# #  to Share - to copy, distribute and transmit the work
# #  to Remix - to adapt the work
# # 
# #  Under the following conditions:
# # 
# #  Attribution. You must attribute the work in the manner specified by the
# #  author or licensor (but not in any way that suggests that they endorse you
# #  or your use of the work).
# # 
# #  Noncommercial. You may not use this work for commercial purposes.
# # 
# #  Share alike. If you alter, transform, or build upon this work, you may
# #  distribute the resulting work only under the same or similar license to
# #  this one.
# # 
# #  - For any reuse or distribution, you must make clear to others the license
# #    terms of this work. The best way to do this is with a link to this web
# #    page.
# # 
# #  - Any of the above conditions can be waived if you get permission from the
# #    copyright holder.
# # 
# #  - Nothing in this license impairs or restricts the author's moral rights.
# # 
# #----------------------------------------------------------------------------
#
#:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=
#
# Information:
#
#   There is a documentation for this system. Read it in order to learn how to
#   use this system. A server also comes with this system.
#
#
# If you find any bugs, please report them here:
# http://forum.chaos-project.com
#:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=

#==============================================================================
# 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(['Localhost', 'myextip', 50000])
    #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 = true
    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


Thanks!

Blizzard

February 04, 2010, 03:09:20 pm #407 Last Edit: February 04, 2010, 03:10:57 pm by Blizzard
The point of ports is that you don't have to know the app using the port but only the port. You need to configure it for 50000 (since that's the one you're using in your configuration). If you really think the application part is going to make a difference, you can try "ruby" or "rubyw". In any case, you should rather try www.portforward.com
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

ShadowIce

the problem with my router is that u HAVE to add a name to the application. it sucks, i know. but its what i have to do unfortunately

ShadowIce

February 04, 2010, 03:21:02 pm #409 Last Edit: February 04, 2010, 03:38:37 pm by ShadowIce
i just tried what u said and it still didnt work

i also tried the port checker php file i made and it returned this:


The address "127.0.0.1:50000" is closed and cannot be used at this time


even though i had the server on

ShadowIce

anyone? this is REAL frusterating

i already KNOW how to port forward..

i just cant get it to be used with my external ip ><

it says 127.0.0.1:50000 is open

BUT it says that w.x.y.z:50000 (my ext ip) is closed..

crzyone9584

February 04, 2010, 05:03:17 pm #411 Last Edit: February 04, 2010, 05:49:18 pm by crzyone9584
Quote from: ShadowIce on February 04, 2010, 03:41:18 pm
anyone? this is REAL frusterating

i already KNOW how to port forward..

i just cant get it to be used with my external ip ><

it says 127.0.0.1:50000 is open

BUT it says that w.x.y.z:50000 (my ext ip) is closed..


Ok so its the same with me but im still able to connect. For the server put the computers internal address as the host. in the game client just put the external. Or how i did it was us no-ip.com if you dont have static address See if it works. it works for me.

My problem is i keep getting this error trying to login.
QuoteMySQl server has gone away
./Data/Action_Handler.rb:57:in 'query'
./Data/Action_Handler.rb:57:in 'try_login'
./Data/Client.rb:111:in 'check_connection'
./Data/Client.rb:47:in 'handle'
./Data/Server.rb:173:in 'block in run'


I restart server and it will be ok for the first two connects then it throws that error again. I've tried both my linux box and my windows box. both throw exact errors. Any suggestions?

ShadowIce

Internal IP didnt work man.

Any other ideas?

crzyone9584

QuoteNAME = 'RMX-OS Server'
HOST = 'shouldbeinternal not ex'
PORT = 50000 (is your port correctly forwarded to the right internal? ex 192.168.x.a and not x.b?
RMXOS_VERSION = 1.08

LOG_MESSAGES = false
LOG_ERRORS = true
LOG_ERRORS = true
LOG_ACTIONS = true

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

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

INBOX_SIZE = 10

EXTENSIONS = [
]


look at my qoutes. thats what happened to me. figured out i had use internal of the computer i was using to find that out open up command line (if vista type cmd in the search box on start menu hit enter) type ipconfig in the cmd. write down the 192.168.x.x number then double check you forward your ports right. I forwarded both tcp and upd to be on save side. Then for the RMX-OS option script do this

Go to no-ip.com sign up for free. on the server computer download their free program set up a host. Then run their program will update ip when it needs to be. Then in the option script put the name of the host you made. If you need help with this just hit me up on aim: kir royale 9584 and we can see whats the problem with your server. Also double check that your mysql is correct to.

whitespirits

Special request can some 1 upload rxm-os with all current scripts from abs to global etc my critp implement in failing im just rubbish lol

crzyone9584

i can give ya everything except the abs. im having issues with it lol.

whitespirits

same its quite boring without abs to play with :D i can only talk to friends on game for so long lol

crzyone9584

you dont need the abs. just make mosters. grant it idk if your team would be able to battle with you. but it still better than nothing.

Blizzard

@ShadowIce: Your IP needs to be 192.168.X.Y. 127.0.0.1 is not open toward outside.

@crzyone9584: The MySQL connection died. O_o Try a low DATABASE_CONNECTION_TIMEOUT setting (i.e. 1 which means it will reconnect every minute).

@whitespirits: It's really easy. Put all Blizz-ABS plugins below Blizz-ABS and all RMX-OS plugins below RMX-OS. Add the server extensions to the extensions folder and add their filenames to the EXTENSIONS array in the config. That's it.
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

crzyone9584

Thanks blizzard. I just installed a local mysql to my Linux box. and now i dont have that issue. figured it be faster that way lol.