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

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

Previous topic - Next topic

stripe103

Quote from: ojp2010 on September 06, 2010, 07:06:06 pm
You need to register a new log in name if you are logging in for the first time.

It would say that the username is not registered.

Did you set up all script extensions right?

ojp2010

If I empty all my tables and try to log in with nothing in the username and password fields, I get that return. I don't know thought it may help. lol. Let you guys figure it out. :)

Billy

It works now, thanks for the help. After creating 3 accounts it finally let me log in without the error  :P

Blizzard

Your network must have been slow then.
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.

ojp2010

September 09, 2010, 07:43:25 pm #884 Last Edit: September 09, 2010, 08:16:42 pm by ojp2010
I am having a problem setting up my server to the public. Here is what I have done so far.

RMX-OS Options Script:
Spoiler: ShowHide

     #::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
    # Server Connection Settings
    #::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
    SERVER_REFRESH = 400
    SERVER_TIMEOUT = 200
    SERVERS.push(['Localhost', '75-107-249-128.cust.wildblue.net', 55781])
    #SERVERS.push(['Me', '5.133.77.216', 54269])
    #SERVERS.push(['BlizzDev', '161.53.76.80', 54269])
    #SERVERS.push(['My Server', 'www.myserver.net', 54269])
    #::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::


RMX-OS Config:
Spoiler: ShowHide
NAME = 'RMX-OS Server'
HOST = '75-107-249-128.cust.wildblue.net'
PORT = 54269
RMXOS_VERSION = 1.15

LOG_MESSAGES = false
LOG_ERRORS = true
LOG_ACTIONS = true

DEBUG_MODE = false

MAXIMUM_CONNECTIONS = 50
LOGIN_TIMEOUT = 30
AUTO_RESTART = true
RESTART_TIME = 5
USE_IP_BANNING = true
PREVENT_ZOMBIE_CLIENTS = false
RUBY_PROMPT = false
OPTIMIZE_DATABASE_ON_STARTUP = true
DATABASE_CONNECTION_TIMEOUT = 60

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


What is happening when I start the server:
Spoiler: ShowHide


Port Checker:
Spoiler: ShowHide


EDIT: Client is working, but the server isn't.  Still getting the same error with it.

Ryex

September 10, 2010, 01:52:40 am #885 Last Edit: September 10, 2010, 03:11:23 pm by Ryexander
*facepalm* dude, look backwards in the topic there is at least three cases of this being fixed, the problem is that the host address you set up is wrong. look backwards and find the information for the proper setup (I don't feel like finding it for you)
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 />

ojp2010

Quote from: Ryexander on September 10, 2010, 01:52:40 am
*facepalm* dude, look back wards in the topic there is al least thee cases of this being fixed, you host. the problem is that the host address you set up is wrong. look backwards and find the information for the proper setup (I don't feel like finding it for you)



Thanks I will have to check. I just don't have time to troll or search for stuff anymore. I barely get time to even work on my porject cause of work and school. I get stuck and just post log off and sleep. Thanks again, I will check back. Sorry for being an inconvenience.

Ryex

Hey Blizz, look what I found! http://lthzelda.wordpress.com/2010/04/28/rm-4-tcp-sockets-in-rpg-maker-vx/
they guy used code from RMX-OS to do something similar in VX, however he managed to get the server on the client side threaded and thread safe via a Mutex block.
its in the "Game Prototype 2: An Online Community" section
might want to check it out.
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 />

Blizzard

September 14, 2010, 04:33:04 pm #888 Last Edit: September 15, 2010, 12:25:48 pm by Blizzard
I took a quick look at it. I'm not sure if VX can use threads properly, but unless it uses Ruby 1.9.x, it can't. The threads are not real threads and hence one shouldn't bother with synchronization since everything is running sequentially anyway. He might as well use a normal sequential code. The other main reason why I didn't do it is because WinAPI calls are always blocking. They can't be non-blocking. And even if you use virtual-threaded Ruby code, it will freeze in the whole application when it comes across an API call.
I am going to make the data exchange system a bit better and more generic so it's easier to add additional data. I'm having in mind the same subsystem that I used in the Blizz-ABS Controller. The interest algorithms for data exchange he is mentioning can heavily improve performance. Currently the only actual interest areas are maps. But that can be changed. It will increase server load, but it should decrease network load.

As for the rest, by all means, if he can reuse more RMX-OS code, he should. I tried to design specific aspects generically so the very core of RMX-OS can be easily transferred onto VX (pretty much the Network class and everything inside module RMXOS).

He's got a lot figured out already after all. Even why I used tab characters as parameter delimiters in the network communication protocol. xD

An interesting remark I have noticed is the socket code coming from Ruby 1.8.1. Honestly, that's the same way I found it. I couldn't find the original in Ruby 1.8.1 either. O_o

EDIT: Yay, I posted a comment. xD As soon as the moderation staff approves of the comment, you should be able to see 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.

Magus

October 01, 2010, 09:49:32 pm #889 Last Edit: October 02, 2010, 05:22:02 am by Blizzard
UPDATING PROBLEM:
Seriously, this is annoying...  
Spoiler: ShowHide
LEVEL ME DOWN. THE ANTI-BLIZZ GROUP IS AMONG YOU... Do it for the chick below...She watches..<br />

Blizzard

You have added a plugin into the client and not added the server extension or vice versa.
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.

Magus

OKay, I require a little assistance here.

I need to make it so people can actually connect to the server. I have two laptops, so testing this is much easier.

I included in the installation:  rtp standard, rgss10e.dll.  And of course the game.exe, audio data graphics,


What else... How do I make it so that they're able to connect?
LEVEL ME DOWN. THE ANTI-BLIZZ GROUP IS AMONG YOU... Do it for the chick below...She watches..<br />

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.

Magus

October 05, 2010, 02:01:56 pm #893 Last Edit: October 05, 2010, 02:19:14 pm by Magus
Okay, this is bad. Very bad. My clients are UNABLE to save in Rmx-mos. The autosave is working fine for me, but not the client O_O

Edit: it would be nice if someone cooked up a script in which someone could load their game within the game. Much like the "save game" feature, but instead, you're loading the game. A call script for this would be nice.
LEVEL ME DOWN. THE ANTI-BLIZZ GROUP IS AMONG YOU... Do it for the chick below...She watches..<br />

Blizzard

Just log out and then back in. It takes almost the same amount of time.
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.

Magus

No, I mean literally, it makes the Client start the game all the way back over. As in level 1..
LEVEL ME DOWN. THE ANTI-BLIZZ GROUP IS AMONG YOU... Do it for the chick below...She watches..<br />

Wizered67

If thats happening, then there is something wrong with you database probably.

nathmatt

what color format are you using in the server i tyed to send a msg using Color.new  but it didn't sent it it does it i use 1 of the colors you made so i just wanted to know what format that was
Join Dead Frontier
Sorry, I will no longer be scripting for RMXP. I may or may not give support for my scripts. I don't have the will to script in RGSS anymore.
My script


Blizzard

I am using raw byte data in form of a string to transmit the message. On the client you can simply use this:

$network.send_chat_message(message, color)


This will automatically translate it into a format that the server and other clients can read.
On the server you have to use something else.

client.send("CHT\xFF\x7F\x00\t0\tThis is a message")


This one would send the message "This is a message" from the server (hence ID 0 after the first tab character) in an orange color (FF7F00 color code encoded with \xFF\x7F\x00 into the string).
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.

Magus

Okay, I have a slight problem here. I updated one of my clients  recently and now, he's unable to log in: even though his account still exists in the database. Is there anyway I could recover his account? Maybe there should be a script that goes with the "user logging" system that documents both username and password
LEVEL ME DOWN. THE ANTI-BLIZZ GROUP IS AMONG YOU... Do it for the chick below...She watches..<br />