Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Net Rmxp Online 2.0

Hello I've used Net Rmxp Online 2.0 since long....

And I was still wondering how to get more than 100 maps....


Because when you try to play with a map above 100,the events don't works(or work really bad)


So if you can tell me how to fix it please ^^  :smile:
 
Well this is not a problem that I've ever heard/seen of, I know that with Net RMXP 2.0 events had to be made after you convert the maps and place them in the server files. That may be your problem? I'm not quite sure try and post back with a bit more detail or test to see if my solution fixes the issue.
 
You may or may not have to change a line of code in main (you'll spot it a mile off, don't worry). Then just testplay but as soon as the window pops up (before everything including the title screen) press F2 I believe it is, that should make a folder and place the converted maps in there for you to copy over to the server files. However if these maps have events on it'll most likely cause the server to have a fit and not work, so you may need to make a seperate 'server' and 'client' version of your game to convert the maps and such for the server.
 
I've tried F2 for a while,and nothing happened in the mapdata folder (which is in the Server 2.0 folder)

Here's how I proceeded:

I launched the server, then I launched my game by the database.

After that I quickly pressed F2 and nothing happened.

I went into the folder "mapdata" which is in the folder "data" which is in the folder server (I don't know if you know what I'm saying....)



And I do not quite understand?


I must select a map then press F2?

Or do otherwise?


Can you help me?
 
No. Like I said you open the game in the editior, hit testplay and F2 as soon as the window appears (the option may be turned off, it is as default), this should conver the maps into a folder called 'converted'. If it doesn't work when you do this go into the script Editor and in main find;
Code:
  
  #map_export
Then change it to;
Code:
    map_export

This should work, if not I have no clue what you are doing wrong..
 
I HAVE found the problem.



The NetPlay RMXP Online 2.0 main script haven't got a " #map_export "


Here's the code :

Code:
#==============================================================================
# ** Netplay Main
#------------------------------------------------------------------------------
#  After defining each class, actual processing begins here.
#==============================================================================

begin


  Network::Main.initialize
  $Respawn = []
  # Font used in windows 
  $defaultfonttype = $fontface = $fontname = Font.default_name = "Tahoma"
  # Font size used
  $defaultfontsize = $fontsize = Font.default_size =  14
  
  $mouse = $Mouse = Game_Mouse.new
  $Mouse.visible
  # Sets default font settings.
  Font.default_name = "Arial"
  Font.default_size = 18
  Font.default_color = Color.new(0, 0, 0)
  Font.default_bold = false
  Font.default_italic = false
  # Change the $fontface variable to change the font style
  $fontface = "Arial"
  # Change the $fontsize variable to change the font size
  $fontsize = 24
  # Prepare for transition
  Graphics.freeze
  # Make scene object (title screen)
  $scene = Scene_Connect.new
  # Call main method as long as $scene is effective
  while $scene != nil
      $scene.main
  end
  
  # Fade out
  Network::Main.close_socket 
  Graphics.transition(25)
  #exit
rescue Errno::ENOENT
  Network::Main.close_socket 
  # Supplement Errno::ENOENT exception
  # If unable to open file, display message and end
  filename = $!.message.sub("No such file or directory - ", "")
  print("Unable to find file #{filename}.")
  time = Time.now
  time = time.strftime("%a %d %b %Y, %X") 
  File.open("ErrorLog.rxdata","a+"){ |fh| fh.puts("On <<#{time}>> the file <<#{filename}>> was missing." )}
ensure
  Network::Main.close_socket if Network::Main.socket != nil
end



Ps : Netplay Plus 2.0 has got a " #map_export " and by the way has got a converted folder...


Netplay2.0 main script :


Code:
#==============================================================================
# ** Main
#------------------------------------------------------------------------------
#  After defining each class, actual processing begins here.
#==============================================================================

begin
  for f in Dir["./temp/pm[0-9]*.rxdata"]
    File.delete(f)
  end
  
  #map_export
  
  Graphics.frame_rate = 47
  Font.default_name = "Tahoma"
  Font.default_size = 16
  Font.default_color = Color.new(0,0,0,255)
  # Prepare for transition
  Graphics.freeze
  
  # Make scene object (title screen)
  #$Mouse = Game_Mouse.new
  #$Mouse.visible
  $scene = Scene_Login.new
  # Call main method as long as $scene is effective
  while $scene != nil
    $scene.main
  end
  # Fade out
  Graphics.transition(20)
rescue Errno::ENOENT
  # Supplement Errno::ENOENT exception
  # If unable to open file, display message and end
  filename = $!.message.sub("No such file or directory - ", "")
  print("Unable to find file #{filename}.")
  Network.disconnect
ensure
  Network.disconnect
  #Network.disconnect rescue nil
  for f in Dir["./temp/pm[0-9]*.rxdata"]
    File.delete(f)
  end
end





How to proceed now  :huh:
 
Use NetplayPlus 2.0 or wait until 3.0 or alternativly just learn how to script which would be advised on working on a ORPG... Otherwise I mean, these basic errors will be slowing you down for a long, long time.
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top