Jump to content
KeyWorld

roBrowser - Ragnarok Online for Web Browsers

Recommended Posts

Help! I can already connect to my own server, and the sprites are loading well. The textures on the other hand are not found. I have attached screenshots below. I already added permissions to the data folder and everything else in it.

 

 

 

oasQbRd.jpg

 

2zhphsp.jpg

 

 

Failed to load resource: the server responded with a status of 404 (Not Found) http://192.168.1.213...½º/bgi_temp.bmp

[Thread] Can't get file (data/texture/À¯ÀúÀÎÅÍÆäÀ̽º/bgi_temp.bmp)
Edited by sever

Share this post


Link to post
Share on other sites

@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...

Share this post


Link to post
Share on other sites

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.

Edited by sever

Share this post


Link to post
Share on other sites

@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 :)

Share this post


Link to post
Share on other sites

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 '&'

Why not use screen command?? ( http://herc.ws/board/topic/6502-guide-installing-and-using-screen/?fromsearch=1 )

Share this post


Link to post
Share on other sites

@@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?

Share this post


Link to post
Share on other sites

@@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)

Share this post


Link to post
Share on other sites

@@Dastgir I can't do anything right now since I don't know where to start from :P

Do the party system maybe(I guess that's incomplete)

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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....

Edited by raiken21

Share this post


Link to post
Share on other sites
On 8/30/2014 at 5:11 PM, sever said:

Help! I can already connect to my own server, and the sprites are loading well. The textures on the other hand are not found. I have attached screenshots below. I already added permissions to the data folder and everything else in it.

 

 

 

oasQbRd.jpg

 

2zhphsp.jpg

 

 

Failed to load resource: the server responded with a status of 404 (Not Found) http://192.168.1.213...½º/bgi_temp.bmp

[Thread] Can't get file (data/texture/À¯ÀúÀÎÅÍÆäÀ̽º/bgi_temp.bmp)

@Dastgirknow how to fix it?

I have the same problem, does not load my grf but the (grf.robrowser) loads normal.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.