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

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

Previous topic - Next topic

Skaaz

Hi, I am looking for someone to install RMX-OS on my server via TeamViewer.
I can not do it because I do not understand the instructions are in English (I am French sui ...)
I would like to launch a project on RMX-OS because it is a big forward for RPG Maker, I like it, and kudos to Blizzard!

Drakens

Hi !

Congratulations on your mod, it looks great !  8)

But I can not start the server, the window opens and closes almost as early. Can you tell me why ?

Sorry if the answer was already written but I have not had the courage to watch the 86 previous pages ....  :(

Soulshaker3

Quote from: Drakens on July 19, 2014, 12:20:05 pm
But I can not start the server, the window opens and closes almost as early. Can you tell me why ?


Make sure you've enough free RAM because that's a common problem wth that type of problem
Hellow?

Drakens

Thank soulshaker3 for your answer, but I do not think it is that. I have 8 GB of ram....  :uhm:

Soulshaker3

As I never worked with RMX OS i don't know much about it make sure you've admin privileges and what version of Ruby are you using?
Hellow?

Sylphe

Hey ! I'm doing a buddy list window, it works but I have 1 annoying problem :

In my buddy list, I let the player remove any buddy he wants, but when you remove a buddy you have to CONFIRM it by typing /y ID_of_Request in the chat...
And I don't know how to confirm it manually, in the script. ( I want to make a window saying "Are you sure ? YES / NO " and when YES I remove manually the buddy in the code )

I thought of a way : sending automatically the message /y ID but I don't know how to get the ID of the request
I don't want to create a server extension just for that, but if it is the only way... ._.
blindly follow his heart can lead to the loss

Sylphe, descendant of Zoldik Family.
Quote from: TedBearTRY KEEP UP

Blizzard

July 29, 2014, 04:02:20 pm #1706 Last Edit: July 29, 2014, 04:03:39 pm by Blizzard
Quote from: Sylphe on July 29, 2014, 03:44:55 pm
I thought of a way : sending automatically the message /y ID but I don't know how to get the ID of the request


Yes, this is the way you are supposed to do this.

The ID of the request is sent back with the chat message that asks you to confirm. It always ends with the ID. e.g.

QuoteAre you sure you want to remove YYY as your buddy? (ID: XXXX)


Also, you shouldn't remove the buddy manually in the code. The server will send a message to confirm that the buddy has been deleted and will do it for you. All you have to do is send him the confirmation with the proper ID.
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.

Sylphe

Ok thank you !!
I found how to get the ID of the request, so I will create a parameter that register the last request ID :)
But the ID of the request is not sent when I am in the buddy list scene :S I'm searching how to listen to the server messages manually
blindly follow his heart can lead to the loss

Sylphe, descendant of Zoldik Family.
Quote from: TedBearTRY KEEP UP

Blizzard

Call this in the update method of your scene before your other stuff.

$network.listen
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.

Sylphe

July 29, 2014, 07:32:52 pm #1709 Last Edit: July 29, 2014, 09:18:26 pm by Sylphe
Ohh yeaah so simple line for great use :D
I have one more (and last I hope) problem
it's with IDs, you use LETTERS XD so my script that give me the first number in message (= the ID) :
message[/\d+/]

doesn't work with IDs 1A, 1B, 1C etc, I get 1 only :S

EDIT : Oookay I think I found how to get it, with the LONGEST line of code I ever made in ruby ._.

message.split(message[/\d+/], 2)[1].split(//).first

I think the time to run it, the player can go watch the entire trilogy of The Lord of the Rings but it works :D

blindly follow his heart can lead to the loss

Sylphe, descendant of Zoldik Family.
Quote from: TedBearTRY KEEP UP

Blizzard

Use [0-9a-fA-F] instead of \d. I use hexadecimal values for compactness.
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.

Sylphe

oh but the \d works well :D
But anyway I changed this line, you also Use A B C D without any number for ID's so I did something more general :)

I just found a bug, when you delete a buddy who is not connected, the game disconnect you with this error
Spoiler: ShowHide

or " You have been disconnected" then I go back to RMX-OS title screen

And here is the code for first error
Spoiler: ShowHide

class SocketError < StandardError
 
  ENOASSOCHOST = 'getaddrinfo: no address associated with hostname.'
 
  def self.check
    errno = Winsock.WSAGetLastError
    raise Errno.const_get(Errno.constants.detect {|c|
      Errno.const_get(c).new.errno == errno}
line 2549 =>   )
  end
 
end
blindly follow his heart can lead to the loss

Sylphe, descendant of Zoldik Family.
Quote from: TedBearTRY KEEP UP

PhoenixFire

I'm actually going to attempt to see just how bad this clashes with XPA, but, the documentation for this is all messed up (the .chm file that downloads in the folder shows up as all blank pages  ._.  so I was wondering if there's a  working alternate file..)
Quote from: Subsonic_Noise on July 01, 2011, 02:42:19 amNext off, how to create a first person shooter using microsoft excel.

Quote from: Zeriab on September 09, 2011, 02:58:58 pm<Remember when computers had turbo buttons?

G_G

Works fine for me. Either your download is corrupted or you need a different program to open CHM files.

Zexion

If you have windows 8/8.1 that could be the issue. I noticed that CHM files are blank sometimes. If you keep trying to open it, eventually it will show everything.

PhoenixFire

Quote from: Zexion on August 05, 2014, 07:28:18 am
If you have windows 8/8.1 that could be the issue. I noticed that CHM files are blank sometimes. If you keep trying to open it, eventually it will show everything.


Looks like that was it =/ took an additional few times of opening it blank. That's an odd little glitch..
Quote from: Subsonic_Noise on July 01, 2011, 02:42:19 amNext off, how to create a first person shooter using microsoft excel.

Quote from: Zeriab on September 09, 2011, 02:58:58 pm<Remember when computers had turbo buttons?

Blizzard

CHM files are compiled HTML files so the rendering engine of Internet Explorer is used to display them. Try updating IE to the newest version and checking Windows Update for updates for IE.
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

Hi guys, so ive been running multiple copies of rmx-os with abs controller and bugs keep poping up and i see that a surge of people a re using rmx-os so im wondering if anyone would like to run some testing to eradicate these?

Sylphe

Yeah we should begin to fix the most annoying bug ... when you cannot attack anyone in the map because of... I dunno why but it's sooo annoying !
blindly follow his heart can lead to the loss

Sylphe, descendant of Zoldik Family.
Quote from: TedBearTRY KEEP UP

PhoenixFire

August 05, 2014, 07:51:46 pm #1719 Last Edit: August 06, 2014, 12:21:35 am by PhoenixFire
Need some help with this one. I'm in the middle of putting this into XPA, and got an interesting error. I had to modify the Main script, and I think I may have somehow messed it up. The code I'm using is:

Spoiler: ShowHide

#==============================================================================

# ** Main

#------------------------------------------------------------------------------

#  After defining each class, actual processing begins here.

#==============================================================================

begin
ERROR_LOG_FILE = 'Error.log' # leave empty for no log

def mod_error(error)
  # load scripts
  scripts = load_data('Data/Scripts.rxdata')
  bt = error.backtrace.clone
  # change backtrace display to show script names
  bt.each_index {|i| bt[i] = bt[i].sub(/\ASection(\d+)/) {scripts[$1.to_i][1]} + "\n"}
  # new error message
  message = error.message + "\n" + bt.join('')
  # write to file if file defined
  if ERROR_LOG_FILE != ''
    File.open(ERROR_LOG_FILE, 'a') {|f| f.write("#{Time.now.to_s}:\n#{message}\n")}
end
return message


begin
rgss_main {
  # loading game data
  $data_actors        = load_data('Data/Actors.rxdata')
  $data_classes       = load_data('Data/Classes.rxdata')
  $data_skills        = load_data('Data/Skills.rxdata')
  $data_items         = load_data('Data/Items.rxdata')
  $data_weapons       = load_data('Data/Weapons.rxdata')
  $data_armors        = load_data('Data/Armors.rxdata')
  $data_enemies       = load_data('Data/Enemies.rxdata')
  $data_troops        = load_data('Data/Troops.rxdata')
  $data_states        = load_data('Data/States.rxdata')
  $data_animations    = load_data('Data/Animations.rxdata')
  $data_tilesets      = load_data('Data/Tilesets.rxdata')
  $data_common_events = load_data('Data/CommonEvents.rxdata')
  $data_system        = load_data('Data/System.rxdata')
  # active connection scene
  $scene = Scene_Servers.new
  Graphics.resize_screen(640, 480)
  # Prepare for transition
  Graphics.freeze
  $scene = Scene_Title.new
  # Call main method as long as $scene is effective
  $scene.main while $scene != nil
  Graphics.transition(20)
  # disconnection
  $network.disconnect
}
rescue SyntaxError
  $!.message.sub!($!.message, mod_error($!))
  raise
rescue
  $!.message.sub!($!.message, mod_error($!))
  raise
ensure
  # disconnection
  $network.disconnect
end


And the error I get is:
Spoiler: ShowHide



I know that there's probably a little bit more to it, so, I've zipped the current project for you to try out.
NOTE: I did in fact get RMX-OS working perfectly with a vanilla install of it. Works great, so I know it's nothing to do with server/client config issues.


Download Zip: Work In Progress
Quote from: Subsonic_Noise on July 01, 2011, 02:42:19 amNext off, how to create a first person shooter using microsoft excel.

Quote from: Zeriab on September 09, 2011, 02:58:58 pm<Remember when computers had turbo buttons?