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

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

Previous topic - Next topic

whitespirits

Hi guys, so i started a new project making sure everything was updated and literally just added the abs and controller, it shows up fine as online but when i go to create a character im getting this error

Spoiler: ShowHide

Blizzard

Are you sure that you copied the scripts properly? The configuration script of RMX-OS does define that constant that this error is reporting as missing.
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.

whitespirits

April 25, 2014, 02:01:35 pm #1642 Last Edit: April 25, 2014, 02:14:12 pm by whitespirits
Im having this error blizz by literally just downloading the RMX-OS without adding anthing

So i re executed the server database on navicat and tried it again, same thing is happening, server is online but this error shows in error report

QuoteFri Apr 25 17:45:11 GMT Summer Time 2014:
uninitialized constant RMXOS::Options::LEGACY_SAVE_METHOD
(RMX-OS) Script:6372:in `initialize'
(RMX-OS) Script:6237:in `new'
(RMX-OS) Script:6237:in `waiting_for_server'
(RMX-OS) Script:6229:in `each'
(RMX-OS) Script:6229:in `waiting_for_server'
(RMX-OS) Script:5684:in `waiting?'
(RMX-OS) Script:5977:in `update_blizzabsrmxos_alias'
ABS CONTROLLER:1167:in `update'
(RMX-OS) Script:5549:in `main'
(RMX-OS) Script:5546:in `loop'
(RMX-OS) Script:5551:in `main'
-<:::RMX-OS Main:::>-:46


Nothing moves in the server side of things

Blizzard

Weird, it looks like it's really not there.

Just open up the Options script and find this line:

GUILD_NAME_SPRITES = true


Add this below:

LEGACY_SAVE_METHOD = false


and you're good to go. I'll reupload the RMX-OS package.
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.

whitespirits

Getting save error in rmx-os, so i updated to latest rmx-os and added abs and the controller and its causing problems

Spoiler: ShowHide

Zexion

yeah you need to go to LEGACY_SAVE_METHOD = false and make it true

Blizzard

Either that or actually upgrade the database with the provided SQL script.
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.

whitespirits

thanks guys, still having same  save error with legacy on or off, i re executed the sql file with navicat with no avail, i did however notice the date on the sql database file was 2013? maybe this hasn't been updated in rmx-os package?

Zexion

The download should be completely up to date. I've been using the current package in building my game and everything works o-o
I had the save error aswell, but it went away when i used the legacy save method

Blizzard

:facepalm: I forgot to add the database update script. I'll do it when I get home.
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.

whitespirits

Thanks blizz, are the files updated yet?

Blizzard

Good you reminded me, I almost forgot. I uploaded the updated files just now.
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.

whitespirits

thanks blizz all seems to be working! thanks a lot!

andrian_fk

Hey, Blizz.. i wonder..
when an event is move route command "Move toward player" is setted, which player will be chased?
(P.S sorry if my english bad  :shy: )
BTW, nice script Blizz!  :haha:

Blizzard

In case of enemies, that player that is currently assigned as processing unit. So you shouldn't use it. But if it's a plain event, they are not synchronized so each player's event will move toward that player.
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.

Epherex

June 03, 2014, 05:47:43 pm #1655 Last Edit: June 03, 2014, 05:48:49 pm by Epherex
Hey there!
I am having a strange problem, and I don't know how to solve it.
I'm doing everything correctly, checking everything I can to see if I can find the problem, but nothing seems to be working.
It seems to be a client-side problem:
The database is configured correctly, everything is connected, I have no extensions installed, both the client and the server are configured correctly. I start the server, no errors, absolutely perfect. But when I start the client, it says that the server is offline. No, I'm not doing anything stupid, and it seems like the problem is with the client, because I checked the socket with a simple PHP code and it worked, so the server is actually running, but my client can't find it.
I changed the port to see if it worked, but it didn't. Fowarded the port, not expecting results, still didn't work.
ATM I have no other machines to check if the problem is with my PC, but I remember that some years ago, before the 2.0 version, everything worked, and this is a long age problem, I'm having it for like 2 years now, already formatted my PC at least 2 times and the problem remains.
Sorry for any inconvenience.

edit:
I assure you there's no configuration problem, so please don't ask for it.

G_G

What IP are you using in your client configuration? I remember having a router issue one time where I was running a server and I couldn't connect with my internal IP. I had to use localhost or my external IP. Have you tried using all three?

Blizzard

What IP are you running the server on? Have you tried using 127.0.0.1 and have you tried using a network adapter's IP? If more than one network adapter is present, make sure you are using the proper IP. Post your server and client configurations as well so we can take a look at them.

Also, try this: Simply download the package again and run it with the server and client without any changes to the configuration (except SQL setup).
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.

Epherex

June 03, 2014, 06:07:55 pm #1658 Last Edit: June 03, 2014, 06:14:03 pm by Epherex
Quote from: Blizzard on June 03, 2014, 06:00:58 pm
What IP are you running the server on? Have you tried using 127.0.0.1 and have you tried using a network adapter's IP? If more than one network adapter is present, make sure you are using the proper IP. Post your server and client configurations as well so we can take a look at them.

Also, try this: Simply download the package again and run it with the server and client without any changes to the configuration (except SQL setup).

Tried localhost, 127.0.0.1, 192.168.0.194 (local network adapter IP), and I don't have more than one network adapter.

Server config
Spoiler: ShowHide
NAME = 'Test Game'
HOST = '127.0.0.1'
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 = false
RESTART_TIME = 5
USE_IP_BANNING = true
RUBY_PROMPT = true
EXTENDED_THREADING = true
OPTIMIZE_DATABASE_ON_STARTUP = false

SQL_HOSTNAME = 'localhost'
SQL_USERNAME = 'root'
SQL_PASSWORD = 'yey'
SQL_DATABASE = 'rmxosdb'

INBOX_SIZE = 20

EXTENSIONS = [
]


Game config
Spoiler: ShowHide
#:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=
# 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 = {}
   #::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
   # General
   #::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
   GAME_VERSION = 1.0
   #::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
   # Server Connection Settings
   #::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
   SERVER_REFRESH = 400
   SERVER_TIMEOUT = 200
   SERVERS.push(['Localhost', '127.0.0.1', 54269])
   #SERVERS.push(['BlizzDev', '88.207.40.168', 54269])
   #SERVERS.push(['LAN', '192.168.0.2', 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 = 5
   #::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
   # System
   #::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
   USERPASS_MIN_LENGTH = 3
   USERPASS_MAX_LENGTH = 16
   CHATINPUT_WIDTH = 640
   CHATBOX_WIDTH = 640
   CHATBOX_LINES = 6
   CHATINPUT_MAX_LENGTH = 200
   PM_MAX_LENGTH = 200
   GUILDNAME_MAX_LENGTH = 32
   CHAT_BUBBLES = true
   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


As you can see, the configs are the defaults, except the password on the SQL connection.

Edit:
Using my external IP doesn't work because my PC doesn't recognize it (I have an internet router).

Zexion

Going off what blizz said,
First, if using your personal machine to host the server, make sure to host using your IPv4 adress. (type ipconfig in a cmd prompt to get this address)
To connect on the machine that is hosting the server, use the IPv4 adress aswell.
All outside connections must use your public ip address. (I suggest using no-ip so that it covers your address incase it changes.)
Lastly, make sure the ports match, and make sure they are forwarded! Also, don't try connecting with 127.0.0.1 unless the server is hosted on it. Idk why this causes it to freeze for me.