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

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

Previous topic - Next topic

G_G

Mkay I was just checking. *phew* lol

winkio

nice, Blizz.  Very nice.

G_G

WINKIOIOIOIOIOIOIOIOIOIOIOIOIOIOIOIOIOI

:) Nice to see ya again

Hellfire Dragon

I made a parallel process that with this script call

$network.name == $game_actors[1]


Shouldn't that change the character name to the registered name?

Blizzard

$game_actors[1].name = $network.name


And it's enough if you run this once when a new game is started.
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.

Hellfire Dragon

June 30, 2009, 07:56:31 am #105 Last Edit: June 30, 2009, 07:57:36 am by Hellfire Dragon
Works perfect, ty Blizzy :)

feandrad

Quote from: game_guy on June 26, 2009, 04:25:51 pm
It is running and it is checked. I even tried changing the ip in everything to my localhost 127.0.0.1
again same thing. THe server said it connected to the host and database but its still not working ;__;


I have the same problem, the server said it connected but in the game appears offline....

Blizzard

You probably did something you weren't supposed to. Is it the latest version and have you read the installation guide step by step properly?
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.

Hellfire Dragon

June 30, 2009, 06:36:24 pm #108 Last Edit: June 30, 2009, 06:37:33 pm by Hellfire Dragon
Did you remember to upgrade the SQL database? In the server folder go to Database and use the 0.83 to 0.84.sql if you were using 0.83 other use the RMX-OS SQL Database.sql

feandrad

June 30, 2009, 06:52:07 pm #109 Last Edit: June 30, 2009, 09:53:04 pm by Starrodkirby86
Quote from: Hellfire Dragon on June 30, 2009, 06:36:24 pm
Did you remember to upgrade the SQL database? In the server folder go to Database and use the 0.83 to 0.84.sql if you were using 0.83 other use the RMX-OS SQL Database.sql


I download the lastest version directly (v0.84).

Quote from: Blizzard on June 30, 2009, 06:23:08 pm
You probably did something you weren't supposed to. Is it the latest version and have you read the installation guide step by step properly?


Yes I've read the instalation guide a dozen of times and I can't find the problem.

Here is my Options script

Spoiler: ShowHide

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

module RMXOS::Options
 
 SERVERS = []
 SAVE_DATA = {}
 CREATION_DATA = {}
 #::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
 # Server / Connection Settings
 #::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
 SERVER_REFRESH = 200
 SERVER_TIMEOUT = 200
 SERVERS.push(RMXOS::Server.new('Server Local', '127.0.0.1', 54269))
 #SERVERS.push(RMXOS::Server.new('Endil', '127.0.0.1', 54268))
 #SERVERS.push(RMXOS::Server.new('Sally', '5.184.209.29', 54269))
 #SERVERS.push(RMXOS::Server.new('BlizzDev', '161.53.76.80', 54269))
 #SERVERS.push(RMXOS::Server.new('My Server', 'www.myserver.net', 54269))
 #::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
 # System
 #::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
 MIN_USERPASS_LENGTH = 3
 MAX_USERPASS_LENGTH = 16
 CHATINPUT_WIDTH = 320
 CHATBOX_WIDTH = 320
 CHATBOX_LINES = 8
 CHATINPUT_MAX_LENGTH = 40
 #::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
 # 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




I use windows Vista x64, that's change anything??

G_G

did you run the server?

Blizzard

What about cfg.ini of the server? Did you set that one up right?
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.

feandrad

Quote from: Blizzard on July 01, 2009, 05:30:55 am
What about cfg.ini of the server? Did you set that one up right?


Here is my config.ini:

Spoiler: ShowHide

NAME = 'Localhost'
HOST = '127.0.0.1'
PORT = 54269
RMXOS_VERSION = 0.84

LOG_MESSAGES = false
LOG_ERRORS = false
AUTO_RESTART = true
RESTART_TIME = 5

SQL_HOSTNAME = '127.0.0.1' # SQL Host
SQL_USERNAME = 'root' # SQL Username
SQL_PASSWORD = 'penis' # SQL Password
SQL_DATABASE = 'rmxosdb' # SQL Database

EXTENSIONS = [
]


Quote from: game_guy on July 01, 2009, 12:22:52 am
did you run the server?


Of couse I do...  :<_<:  :P

Blizzard

July 01, 2009, 11:07:06 am #113 Last Edit: July 01, 2009, 11:08:33 am by Blizzard
And the SQL root password is surely penis?

What exactly is the problem? Do you get an error message or does it simply not react? Or does it say the server is offline?
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.

feandrad

July 01, 2009, 11:14:18 am #114 Last Edit: July 01, 2009, 11:16:43 am by feandrad
Yes, the password is penis.  :naughty:

The server runs normaly, but the client say it is offline, but he is not!
I don't get any error, I just can't connect because the server appears offline in the game.

Holyrapid

Lol, i popped here from another tab, and saw the egg, and thought for a second, when did i post here, looked up, and saw it was just someone with the same egg. Nice system Blizz. You are the best goddamn scripter int he goddamn world

feandrad

July 01, 2009, 11:21:21 am #116 Last Edit: July 01, 2009, 11:25:42 am by feandrad
Quote from: Pyhankoski on July 01, 2009, 11:18:27 am
Lol, i popped here from another tab, and saw the egg, and thought for a second, when did i post here, looked up, and saw it was just someone with the same egg. Nice system Blizz. You are the best goddamn scripter int he goddamn world!


lol  :V:

Anyway, you are doubleposting Pyhankoski....

Hellfire Dragon

Quote from: feandrad on July 01, 2009, 11:14:18 am
Yes, the password is penis.  :naughty:

The server runs normaly, but the client say it is offline, but he is not!
I don't get any error, I just can't connect because the server appears offline in the game.

Are you sure that the password is right? If you installed XAMPP there were 2 users created named root, one with localhost and the other 127.0.0.1 and if you didn't install XAMPP are you sure it's the right user?

Blizzard

July 01, 2009, 01:53:38 pm #118 Last Edit: July 01, 2009, 01:55:18 pm by Blizzard
Quote from: feandrad on July 01, 2009, 11:14:18 am
The server runs normaly, but the client say it is offline, but he is not!
I don't get any error, I just can't connect because the server appears offline in the game.


If it says that the server is offline, there can only be 4 possible reasons:

1. IP doesn't match on server and in game client. (Judging from your cfg.ini and the options, they do match.)
2. Port doesn't match on server and in game client. (Judging from your cfg.ini and the options, they do match.)
3. You are running the server on localhost (127.0.0.1) and you are trying to connect to localhost (127.0.0.1) on a different computer. If you run the server on localhost, no other computer will be able to access the server. You HAVE TO enter the actual IP on the network.
4. Problem with port forwarding. Google for "port forwarding".
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.

feandrad

July 02, 2009, 12:08:00 am #119 Last Edit: July 02, 2009, 12:17:00 am by Aqua
let me see if I understand. The awnsers 3 and 4 are problems in connections between 2 or more computers, but I'm trying to connect on a server in my own computer. I think the problem is on mySQL. I use version 5.0.

Edit:
Quote from: Hellfire Dragon on July 01, 2009, 12:04:58 pm
Quote from: feandrad on July 01, 2009, 11:14:18 am
Yes, the password is penis.  :naughty:

The server runs normaly, but the client say it is offline, but he is not!
I don't get any error, I just can't connect because the server appears offline in the game.

Are you sure that the password is right? If you installed XAMPP there were 2 users created named root, one with localhost and the other 127.0.0.1 and if you didn't install XAMPP are you sure it's the right user?


Well, the server connects, the mySQL manager can access the database, so I think teh password is correct...  :uhm:
There is two different passwords for '127.0.0.1' and 'localhost', or they are the same for default??  :???:


No double posting within 24 hours!