roBrowser - Ragnarok Online for Web Browsers

@sever
Is the problem still here ? I did some fixes some weeks ago about charset problem because of urlencode.

@daison3
It's not using socket.io. For now it's using different ways depending of the browser support:

  • Node Socket - if running as a node-wekbit package (not fully implemented)
  • TCPSocket - depending of the support, for now it's only supported on Firefox OS App
  • Chrome Socket - if running as a chrome app.
  • WebSocket - (need to setup a websocket proxy server, using nodejs, to support the websocket handshake).
  • Java Socket - last case, need to install a java applet.

@Edgarchik

You can send me a pm with your mail so I'll activate it.

The forum/server going to switch to a new web host soon, too much limitation with the current one...

 
I can't register as well keyworld, will pm you my registration emai

 
If I have much time, I'll try to support this system, importing socket.io while you said that it supports nodejs.

 
Thanks, It was resolved after your updates.

I haven't went back to developing robrowser lately.

But it seems that your demo robrowser has lesser lag than mine.

Is wsproxy slowing the browser?

How do I boost latency?

I also tried the mail system. Maybe my server setup for mail system is broken.

Thanks.

 
Last edited by a moderator:
@daison3

Why importing socket.io ? socket.io use a nodejs library called ws. I use ws directly in roBrowser so there is no need to add another layer to the system.

If you are worry about support with older browser, then you have to know that it will not work in all case since it required a up to date browser to support WebGL.

@sever

My wsproxy is hosted on the server where is running the emulator, so the connection from the proxy to the server is local and fast. You should not have problems except if your proxy is hosted in another country than the emulator, or if you have too much people connected on the proxy at the same time.

The mail system is not implemented yet
default_smile.png


 
how to include/bind wsproxy with athena-start?

how do i run ws proxy on the background?

it does not retain or spawn another process everytime i run wsproxy with '&'

 
@@KeyWorld

is there anything I can do in order to help the project? any time consuming task like, building effect/music files/lists or something like that?

 
@@KeyWorld

is there anything I can do in order to help the project? any time consuming task like, building effect/music files/lists or something like that?
Fork it, complete it as Much as you can.And when @@KeyWorld comes back, just make a PR,

So kinda, we have good progress,

(Hoping I can contribute to this project next year, since I will be learning java/JavaScript/asp and all kind of web stuff next year)

 
can someone provide a video guide on how to setup the robrowser? because the guide in the robrowser.com is a bit confusing. thanks! 
default_thx.gif


 
Guys... I'm too stupid to setup roBrowser...

I used a clean hercules version, compiled it with packetver 20141022,

I've set up roBrowser like described on the getting-started guide,

I've managed to connect to the server/create character,

Once I want to connect to the map server (when I select the character to play the game) I get a "Disconnected from Server" message with 

These packets:

[Network] Send:  PACKET_CH_SELECT_CHAR {CharNum: 0}
Network] Recv: PACKET_HC_REFUSE_ENTER {ErrorCode: 0}
 
Everything's fine on the login/char/map-server, no error or anything, it just stops there.
 
This is my index.php for roBrowser:
 
<!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://localhost/roBrowser/client/",
width: 800,
height: 600,
development: false,
servers: [{
display: "Demo Server",
desc: "roBrowser's demo server",
address: "127.0.0.1",
port: 6900,
version: 25,
langtype: 12,
packetver: 20141022,
packetKeys: true,
socketProxy: "ws://localhost:5999/",
adminList: [2000000]
}],
skipServerList: true,
skipIntro: false,
};
var RO = new ROBrowser(ROConfig);
RO.start();
}
window.addEventListener("load", initialize, false);
</script>
</head>
<body>
<div id="robrowser">Initializing roBrowser...</div>
</body>
</html>
Could anyone help me on this, please? >_< Already tried different packetversions, no change....
 
Last edited by a moderator:
what should I do?
 
It keeps only the load msg
[state]: Starting wsProxy on port 5999 ..
wsproxy.png

 
Back
Top