Jump to content
  • 0

How to setup RoBrowser?


Amellia sizilia sembiring

Question


  • Group:  Members
  • Topic Count:  40
  • Topics Per Day:  0.01
  • Content Count:  108
  • Reputation:   4
  • Joined:  01/04/12
  • Last Seen:  

Hi, i found interesting things for me that call RoBrowser. and try to setup it but i dont know why it still dont connect to server.

this is my step by step in setup RoBrowser:
1. i get the source code then place it to web server.
2. i place data.ini,custom.grf,data.grf, and rdata.grf to resources.
3. i created web client with api.js. the web client source code like this.

 

<!DOCTYPE html>
<html>
<head>
<title>ROBrowser's App from http://www.robrowser.com</title>
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
<script type="text/javascript" src="../api.js"></script>
<script type="text/javascript">
function initialize() {
var ROConfig = {
target:        document.getElementById("robrowser"),
type:          ROBrowser.TYPE.FRAME,
application:   ROBrowser.APP.ONLINE,
remoteClient:  "http://127.0.0.1/client/",
width:          800,
height:         600,
development:    false,
servers: [{
display:     "Demo Server",
desc:        "roBrowser's demo server",
address:     "127.0.0.1",
port:        6900,
version:     51,
langtype:    0,
packetver:   20141022,
packetKeys:  true,
adminList:   [2000000]
}],
skipServerList:  true,
skipIntro:       false,
};
var RO = new ROBrowser(ROConfig);
RO.start();
}
window.addEventListener("load", initialize, false);
</script>
</head>
<body>
<h1>Ragnarok Online in the browser </h1>
<div id="robrowser">Initializing roBrowser...</div>
</body>
</html>

is there something miss it?

 

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.01
  • Content Count:  102
  • Reputation:   8
  • Joined:  01/26/15
  • Last Seen:  

I believe you have to access robrowser setup page and make it create the client.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  26
  • Topics Per Day:  0.01
  • Content Count:  350
  • Reputation:   43
  • Joined:  09/07/12
  • Last Seen:  

you remote client is set to your localhost,

If you're not hosting the client in your localhost, be sure to change it.

Edited by benching
Link to comment
Share on other sites

×
×
  • Create New...