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

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

Previous topic - Next topic

Ryex

I'm kinda considering revamping it to use an embedded ruby, load and configure RMXOS on the fly and other cool stuff. but only when I have the time

Also, i think it is about time that you note that a Ruby On Rails service is NOT explicitly able to run RMX-OS.
I no longer keep up with posts in the forum very well. If you have a question or comment, about my work, or in general I welcome PM's. if you make a post in one of my threads and I don't reply with in a day or two feel free to PM me and point it out to me.<br /><br />DropBox, the best free file syncing service there is.<br />

ShinoTakado

Comands:
$game_temp.name_sprites = false
$game_temp.chat_visible = false
$game_temp.chat_sprites = false
$game_temp.chat_active = false

Stopped working! o_o

They either operate too late, but most do not work at all. If you call them one by one script, the client hangs, Oo" Please, help,

Blizzard

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.

KK20

So many people keep reporting that error. It's almost like it should be stickied or made more obvious to the users.

Other Projects
RPG Maker XP Ace  Upgrade RMXP to RMVXA performance!
XPA Tilemap  Tilemap rewrite with many features, including custom resolution!

Nintendo Switch Friend Code: 8310-1917-5318
Discord: KK20 Tyler#8901

Join the CP Discord Server!

ShinoTakado

Wow, I created a new script, but it did not help, o_o
Chat window not disappears during the cutscene. Not through shared events. Not through a script call.

Blizzard

It doesn't work through event execution because it shows up after the event is done. That's because the chat box is shown in the next frame update where you actually do have control over your character.
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.

Zexion

The way I did cutscenes with RMX-OS was simple. I had lots of hud and chat things on the screen, so before I actually play the cutsene I'd set it up by fading the screen to black, silence the music, etc. Then I'd do a common event call that switches everything off, and then turns on the cutscene switch. If you don't want to have switches used, then set up a player touch autorun(or parallel process) on the step you want the player to stand on, and make sure you have the first event directly behind it. After you call the common event, fade screen, etc. force the player one step forward, and the next one will start.

Idk if that would work because I always just used one switch to activate the cutscene for that map. I think you could also use a variable in conjunction with a switch to determine exactly which cutscene should run. (given that there are multiple cutscenes on the one map)

ShinoTakado

Thank you all again for the help)

Blizzard

March 29, 2013, 07:46:24 pm #1468 Last Edit: March 29, 2013, 07:47:39 pm by Blizzard
I've updated RMX-OS to v1.22. Ryex had a suggestion and he reported a bug so I fixed those along with a few other things that used to annoy/confuse developers.


  • Fixed problem where player data would not be sent to all players until they enter a common map.

  • Changed code when using commands like chat_active to update immediately.

  • Added GUILD_NAME_SPRITES client option.

  • Added /wr chat command.

  • Added code to automatically load binaries of proper Ruby version.

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.

Wizered67

Very nice update Blizzard, glad to see your still adding some new stuff to it. Out of curiosity, what does /wr do?

Blizzard

When you use /w USERNAME MESSAGE, it's tedious to type out the username each time. So now you can use /wr MESSAGE (whisper repeat) to send a whisper message to the same player to whom you sent the previous one.

/w Blizzard Hi, there.
/wr Did you release the new version of RMX-OS yet?
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.

wooethanking

 Script 'Os script' line 2345 :Errno::ECONNABORTED occured . how to fix it can anyone help?
An establish connection was aborted by the software in your host machine.


PLs tell me how to fix

Blizzard

Please read the manual.
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.

isnortmana

April 16, 2013, 12:57:21 am #1473 Last Edit: April 16, 2013, 01:08:50 am by isnortmana
how do events(non scripted) work with the game being online (I don't know how to script) and is there some kind of auction house/mailing system that can work with this?


EDIT:i assume progress is saved on the server

Blizzard

Yes, progress is saved on the server. But keep in mind that each player has their own set of events. If you need synchronized events, you should use the Global Switches and Variables plugin.
You can simply event your auction house and then use global switches and variables to make sure it works synchronized for all players.
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.

isnortmana

April 16, 2013, 11:35:51 am #1475 Last Edit: April 16, 2013, 01:39:22 pm by isnortmana
okay im am having issues with this I follow the manual step by step I have my database setup ive donloaded ruby everything I need but when I run the .rb file the command prompt is running but says (my computers name) is not allowed to connect to server then terminates repeatedly I don't know what I did wrong

EDIT:i changed the host back to default and I chaned the sql host to my ip and I no longer get this user isn't allowed to connect i get a new error just says unexpected was going to post image but not sure how......

EDIT: i changed the ips around i used the default ip for the rmx-os config file and my ip for my management software Heidi something like that it trys to load but fails i can see my server when i go in the game but says offline  

i think i found problem -_- i went into MySQL command typed in password did \r to restart server says there isn't one specified/connected ive read manual again and again but i still don't know how to connect a server to mysql

Blizzard

Alright, let's take this from the beginning.

1. SQL_HOST should stay 127.0.0.1 (or localhost) if the MySQL server is on the same PC. Don't change the port either.
2. Make sure that you created a root account with a password and that you see SQL_USERNAME and SQL_PASSWORD.
3. Make sure that your MySQL service is running. Usually after installation you will get a window to start it. You can check if it's running in Control Panel->Administrative Tools->Services. If it's not running, turn it on. You also might want to set it to start up automatically on your PC if you need it.

Check these things first, then we'll take it from there.
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.

isnortmana

April 16, 2013, 03:26:25 pm #1477 Last Edit: April 16, 2013, 04:23:13 pm by isnortmana
Quote from: Blizzard on April 16, 2013, 02:52:23 pm
Alright, let's take this from the beginning.

1. SQL_HOST should stay 127.0.0.1 (or localhost) if the MySQL server is on the same PC. Don't change the port either.
2. Make sure that you created a root account with a password and that you see SQL_USERNAME and SQL_PASSWORD.
3. Make sure that your MySQL service is running. Usually after installation you will get a window to start it. You can check if it's running in Control Panel->Administrative Tools->Services. If it's not running, turn it on. You also might want to set it to start up automatically on your PC if you need it.

Check these things first, then we'll take it from there.

okay all this is set up and MySQL is running(set to automatic)

Blizzard

Now try running RMX-OS and check if it works. If not, post the error message.
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.

isnortmana

April 16, 2013, 05:59:37 pm #1479 Last Edit: April 16, 2013, 07:37:41 pm by isnortmana
it says no database selected im using Heidi an honestly its confusing I had it set up but got a syntax error at line 1 idk if Heidi is good for this but other ones I found were just trials

EDIT: I have toyed with the database a bit more I tried using my ip but says cant connect trhough it and when I use the host ip it gives me a syntax error at line 1 and so far I havnt found anything useful on how to resolve this error

-- SQL Database for RMX-OS
-- by Blizzard
START TRANSACTION;

-- these two are used to create the database and can be ommited in case the database already exists
CREATE DATABASE IF NOT EXISTS `rmxosdb` DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci; USE `rmxosdb`;
DROP TABLE IF EXISTS `save_data`;
DROP TABLE IF EXISTS `inbox`;
DROP TABLE IF EXISTS `buddy_list`;
DROP TABLE IF EXISTS `user_data`;
DROP TABLE IF EXISTS `guilds`;
DROP TABLE IF EXISTS `ips`;
DROP TABLE IF EXISTS `users`;

-- Registered Users
CREATE TABLE `users` (
   `user_id` INT(10) UNSIGNED NOT NULL AUTO_INCREMENT,
   `username` VARCHAR(32) NOT NULL UNIQUE,
   `password` VARCHAR(11) NOT NULL,
   `usergroup` INT(10) NOT NULL DEFAULT 0,
   `banned` TINYINT(1) NOT NULL DEFAULT 0, PRIMARY KEY (`user_id`)
) ENGINE = InnoDB DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci;

-- IPs
CREATE TABLE `ips` (
   `user_id` INT(10) UNSIGNED NOT NULL,
   `ip` VARCHAR(15) NOT NULL, PRIMARY KEY (`user_id`, `ip`), FOREIGN KEY (`user_id`) REFERENCES users(`user_id`) ON
DELETE CASCADE
) ENGINE = InnoDB DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci;

-- Guilds
CREATE TABLE `guilds` (
   `guild_id` INT(10) UNSIGNED NOT NULL AUTO_INCREMENT,
   `leader_id` INT(10) UNSIGNED NOT NULL UNIQUE,
   `guildname` VARCHAR(32) NOT NULL UNIQUE,
   `password` VARCHAR(11) NOT NULL, PRIMARY KEY (`guild_id`), FOREIGN KEY (`leader_id`) REFERENCES users(`user_id`) ON
DELETE CASCADE
) ENGINE = InnoDB DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci;

-- Special User Data
CREATE TABLE `user_data` (
   `user_id` INT(10) UNSIGNED NOT NULL,
   `notrade` TINYINT(1) NOT NULL DEFAULT 0,
   `lastlogin` DATETIME NOT NULL,
   `guild_id` INT(10) UNSIGNED DEFAULT NULL, PRIMARY KEY (`user_id`), FOREIGN KEY (`user_id`) REFERENCES users(`user_id`) ON
DELETE CASCADE, FOREIGN KEY (`guild_id`) REFERENCES guilds(`guild_id`) ON
DELETE SET NULL
) ENGINE = InnoDB DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci;

-- Buddy List
CREATE TABLE `buddy_list` (
   `user1_id` INT(10) UNSIGNED NOT NULL,
   `user2_id` INT(10) UNSIGNED NOT NULL, PRIMARY KEY (`user1_id`, `user2_id`), FOREIGN KEY (`user1_id`) REFERENCES users(`user_id`) ON
DELETE CASCADE, FOREIGN KEY (`user2_id`) REFERENCES users(`user_id`) ON
DELETE CASCADE
) ENGINE = InnoDB DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci;

-- PM Inbox Data
CREATE TABLE `inbox` (
   `pm_id` INT(10) UNSIGNED NOT NULL AUTO_INCREMENT,
   `recipient_id` INT(10) UNSIGNED NOT NULL,
   `sendername` VARCHAR(32) NOT NULL,
   `senddate` DATETIME NOT NULL,
   `message` TEXT NOT NULL,
   `unread` TINYINT(1) NOT NULL DEFAULT 1, PRIMARY KEY (`pm_id`), FOREIGN KEY (`recipient_id`) REFERENCES users(`user_id`) ON
DELETE CASCADE
) ENGINE = InnoDB DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci;

-- Saved Data
CREATE TABLE `save_data` (
   `user_id` INT(10) UNSIGNED NOT NULL,
   `data_name` VARCHAR(255) NOT NULL,
   `data_value` TEXT NOT NULL, PRIMARY KEY (`user_id`, `data_name`), FOREIGN KEY (`user_id`) REFERENCES users(`user_id`) ON
DELETE CASCADE
) ENGINE = InnoDB DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci; COMMIT;
mysql