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.

Server Source

I have a problem.

For the last 6 months, I've been working on an online game (working very nicely, too :) ) and it occurred to me not long after I'd started that I'd need the server source code.
I'm using an executable server by sweet vengeance (NetRMXP Online 2.1.7) and I need a way of editing what the server sends.
Currently, I have had to stick to sending global messages, client to client, and making only the recipient process the data:

Code:
# from within the code

@socket.send("ALL|self.method_name(#{recipient_id}, #{val1}, #{val2}")

 

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

 

#upon recieval from the net

def self.method_name(id,val1,val2)

  if id == self.id

    do_stuff

  end

end

But this is causing a lot of unnecessary lag.
Having all players in the server send their stats to all players, only to have 1 player process it (in 1 case) is ridiculous.

My options are running out.

So, my main point/question is
Is there a method of extracting Ruby code running from within an executable? People say you can extract the code from the memory from the RGSS Player, so would the same thing work here?
I need help, guys.
Thanks for reading :)
ZenVirZan
 

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