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.

[RMXP] Net Rmxp Online 2.0

Status
Not open for further replies.

sbach

Member

I have a fix for you :

Go to : [SC] Scene_Character              Line 158 ( the "def use_character" )

Replace "use_character" by this :

EDIT IMPORTANT !!!!

Code:
    def use_character
    Network::Main.socket.send("ODTSELECTPG|#{@id+1}|<->")
    $game_temp.chr_in_use = @id+1
      #$game_system.save_data = [
     # $1.to_s,  # Nome
     # $2.to_i,  # HP
     # $3.to_i,  # SP
     # $4.to_i,  # EXP
     # $5.to_i,  # LEVEL
     # $6.to_i,  # CLASS
     # $7.to_i,  # MAP
     # $8.to_i,  # WPN
     # $9.to_i,  # ARMOR 1
     # $10.to_i, # ARMOR 2
     # $11.to_i, # ARMOR 3
     # $12.to_i, # ARMOR 4
     # $13.to_i, # X
     # $14.to_i, # Y
     # $15.to_i, # DIR
     # $16.to_s, # CHARACTER_NAME
     # $17.to_i, # CHARACTER_HUE
     # $19.to_s, # GUILD_NAME
     # $20.to_s, # EXP
     # $21.to_i, # STR
     # $22.to_i, # INT
     # $23.to_i, # DEX
     # ]
    @act = $game_actors[1]
    @map      = @info_c[@id][6].to_i
    @name     = @info_c[@id][0].to_s
    @level    = @info_c[@id][4].to_i
    @weapon   = @info_c[@id][7].to_i
    @xp       = @info_c[@id][3].to_i
    @armor_1  = @info_c[@id][8].to_i
    @armor_2  = @info_c[@id][9].to_i
    @armor_3  = @info_c[@id][10].to_i
    @armor_4  = @info_c[@id][11].to_i
    @hp       = @info_c[@id][1].to_i
    @mp       = @info_c[@id][2].to_i
    @class    = @info_c[@id][5].to_i
    @x    = @info_c[@id][12].to_i
    @y    = @info_c[@id][13].to_i
    @dir    = @info_c[@id][14].to_i
    @character = @info_c[@id][15].to_s
    @hue = @info_c[@id][16].to_i
    $game_temp.guild_name = @info_c[@id][17].to_s

    @str =  @info_c[@id][18].to_i
    @int =  @info_c[@id][19].to_i
    @dex =  @info_c[@id][20].to_i
    @agi =  @info_c[@id][21].to_i
    
    if @map != 0 then
    $game_temp.player_transferring = true
    $game_temp.player_new_map_id = @map
    $game_temp.player_new_x = @x
    $game_temp.player_new_y = @y
    $game_temp.player_new_direction = @dir
    $game_temp.player_transferring = false
    $game_map.setup(@map)
    $game_player.moveto(@x,@y)
    end 
  
    

      
    $game_temp.id_loaded = @id + 1
    @act.set_chara(@character,@hue)
    @act.name = @name
    @act.level = @level
    @act.exp = @xp
    @act.equip_wpn(@weapon)
    @act.equip_arm1(@armor_1)
    @act.equip_arm2(@armor_2)
    @act.equip_arm3(@armor_3)
    @act.equip_arm4(@armor_4)
    @act.hp = @hp
    @act.sp = @mp
    @act.class_id = @class
    @act.str = @str
    @act.int = @int
    @act.dex = @dex
    @act.agi = @agi 
    
    $game_player.refresh
    

    Network::Main.socket.send("REQUESTDATA|<->")
    Network::Main.send_start
    $scene = Scene_Map.new
    $neet_to_transfer = true
    

  end

After that go to :    o  Window_Char                  Line 24 ( the "def data=(t)" )

Replace it by :

Code:
  def data=(t)
    @data=t
    @map_name = get_map_name(@data[6].to_i)
    @map_name = "Newbie" if @map_name == nil
    @name     = @data[0].to_s
    @level    = @data[4].to_s
    @weapon   = @data[7].to_i
    @xp       = @data[3].to_s
    @armor_1  = @data[8].to_i
    @armor_2  = @data[9].to_i
    @armor_3  = @data[10].to_i
    @armor_4  = @data[11].to_i
    @hp       = @data[1].to_s
    @mp       = @data[2].to_s
    @class    = @data[5].to_i
    @guild    = @data[17].to_s
  
    draw
    @active=true
    @visible=true
  end




Edit :

- I will update the files on the server.
 
Could you be so kind to upload the files to another filehost too? Mediafore is down and seem to be soo for a while.  :sad: I only need the server and the guide.
 

sbach

Member

I try just now and they all work !
But if someone say that the filehost don't work too, i will upload on an other server.
I am making a new version with rgss variables for the script text.
It will be faster to translate.
 
It can be because of the storms in my country... Some parts of the internet are down here.
It dosnt sound likely but it can be the reason.

Edit:

After some reserching it seems Mediafire has started to block a huge list of countries. All around the internet theres other persons who have come up with the same conclussion. I can use a proxy to access the files but you should consider uploading to another host.
 

Oburi

Member

Heres a Rapidshare mirror...


New Server and Italian Client :
http://rapidshare.com/files/101476150/N ... lease2.rar

French Client ( Need the new server ) :
http://rapidshare.com/files/101476149/N ... French.zip

English Client ( Need the new server ) :
http://rapidshare.com/files/101476148/N ... nglish.zip

Italian Guide :
http://rapidshare.com/files/101476146/Guida.txt

English Guide :
http://rapidshare.com/files/101476147/Guide.txt

German Language for server ( Thanks to Oburi ) :
http://rapidshare.com/files/101476145/German.zip

All in one pack:
http://rapidshare.com/files/101476963/Files.rar
 
Thanks for the fix, it works really good now  :thumb:

also im not sure if this is a bug but when your at the character select, if you push exit the server crashes... is that my computers fault?
 
sbach":2e9irniu said:
I have a fix for you :

Go to : [SC] Scene_Character              Line 158 ( the "def use_character" )

Replace "use_character" by this :

EDIT IMPORTANT !!!!

Code:
    def use_character
    Network::Main.socket.send("ODTSELECTPG|#{@id+1}|<->")
    $game_temp.chr_in_use = @id+1
      #$game_system.save_data = [
     # $1.to_s,  # Nome
     # $2.to_i,  # HP
     # $3.to_i,  # SP
     # $4.to_i,  # EXP
     # $5.to_i,  # LEVEL
     # $6.to_i,  # CLASS
     # $7.to_i,  # MAP
     # $8.to_i,  # WPN
     # $9.to_i,  # ARMOR 1
     # $10.to_i, # ARMOR 2
     # $11.to_i, # ARMOR 3
     # $12.to_i, # ARMOR 4
     # $13.to_i, # X
     # $14.to_i, # Y
     # $15.to_i, # DIR
     # $16.to_s, # CHARACTER_NAME
     # $17.to_i, # CHARACTER_HUE
     # $19.to_s, # GUILD_NAME
     # $20.to_s, # EXP
     # $21.to_i, # STR
     # $22.to_i, # INT
     # $23.to_i, # DEX
     # ]
    @act = $game_actors[1]
    @map      = @info_c[@id][6].to_i
    @name     = @info_c[@id][0].to_s
    @level    = @info_c[@id][4].to_i
    @weapon   = @info_c[@id][7].to_i
    @xp       = @info_c[@id][3].to_i
    @armor_1  = @info_c[@id][8].to_i
    @armor_2  = @info_c[@id][9].to_i
    @armor_3  = @info_c[@id][10].to_i
    @armor_4  = @info_c[@id][11].to_i
    @hp       = @info_c[@id][1].to_i
    @mp       = @info_c[@id][2].to_i
    @class    = @info_c[@id][5].to_i
    @x    = @info_c[@id][12].to_i
    @y    = @info_c[@id][13].to_i
    @dir    = @info_c[@id][14].to_i
    @character = @info_c[@id][15].to_s
    @hue = @info_c[@id][16].to_i
    $game_temp.guild_name = @info_c[@id][17].to_s

    @str =  @info_c[@id][18].to_i
    @int =  @info_c[@id][19].to_i
    @dex =  @info_c[@id][20].to_i
    @agi =  @info_c[@id][21].to_i
    
    if @map != 0 then
    $game_temp.player_transferring = true
    $game_temp.player_new_map_id = @map
    $game_temp.player_new_x = @x
    $game_temp.player_new_y = @y
    $game_temp.player_new_direction = @dir
    $game_temp.player_transferring = false
    $game_map.setup(@map)
    $game_player.moveto(@x,@y)
    end 
  
    

      
    $game_temp.id_loaded = @id + 1
    @act.set_chara(@character,@hue)
    @act.name = @name
    @act.level = @level
    @act.exp = @xp
    @act.equip_wpn(@weapon)
    @act.equip_arm1(@armor_1)
    @act.equip_arm2(@armor_2)
    @act.equip_arm3(@armor_3)
    @act.equip_arm4(@armor_4)
    @act.hp = @hp
    @act.sp = @mp
    @act.class_id = @class
    @act.str = @str
    @act.int = @int
    @act.dex = @dex
    @act.agi = @agi 
    
    $game_player.refresh
    

    Network::Main.socket.send("REQUESTDATA|<->")
    Network::Main.send_start
    $scene = Scene_Map.new
    $neet_to_transfer = true
    

  end

After that go to :    o  Window_Char                  Line 24 ( the "def data=(t)" )

Replace it by :

Code:
  def data=(t)
    @data=t
    @map_name = get_map_name(@data[6].to_i)
    @map_name = "Newbie" if @map_name == nil
    @name     = @data[0].to_s
    @level    = @data[4].to_s
    @weapon   = @data[7].to_i
    @xp       = @data[3].to_s
    @armor_1  = @data[8].to_i
    @armor_2  = @data[9].to_i
    @armor_3  = @data[10].to_i
    @armor_4  = @data[11].to_i
    @hp       = @data[1].to_s
    @mp       = @data[2].to_s
    @class    = @data[5].to_i
    @guild    = @data[17].to_s
  
    draw
    @active=true
    @visible=true
  end




Edit :

- I will update the files on the server.

After updating the client, it works great untill i go from map 3 to map 4. Map 3 has monsters and map 4 doesn't, I get this error; NoMethod Error occurred while running script undefined method 'online_move_down(down will be left,right,up some times)' for nil:NilClass. I hope you can help me.

Edit: I think I found a temp fix for this; all I did was create invisible monsters and hide them, and that seems to work..
 
Developers of RMXP Online Plus 2.0, Please you can create a option on server to change the server IP, users cant use hamachi because this =/
 
Okay i found another really annoying bug, when i log onto my account the music in my starting map begins to play and when i log in with one of my characters the same song keeps playing even though i have another song for that map

EDIT: something else is that the respawn point always seem to be on the same map you died.... is it supposed to be like that? if so, how can i change it?
 
sephiroth976":1nrd55s1 said:
something else is that the respawn point always seem to be on the same map you died.... is it supposed to be like that? if so, how can i change it?

Yes, use $Respawn[0] = map_id; $Respawn[1] = x; $Respawn[2] = y and if you want let the server instanlty save this data use Network::Main.save_server_pg
 
I didn't get how to get the translated version... it stays in french even after I got the english client. I CAN'T UNDERSTANDDD!
 
Abel16":2j74h733 said:
So, well hum..., I am able to open the server and the game, but I do not know how to create an account.

Also an error message in Italian seems when I click on "local server."

Could you help me?

Ps : I've got the English version

Here you can see my screen shots :

http://img142.imageshack.us/img142/8738/sanstitre33ja6.jpg[/img]

http://img142.imageshack.us/img142/2725/sanstitre44ks8.jpg[/img]

http://img101.imageshack.us/img101/2014/sanstitre555ic2.jpg[/img]

WHY ARE YOU SO LOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG
 
Status
Not open for further replies.

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