roBrowser - Ragnarok Online for Web Browsers

ah i see roBrowser is like. Software-free. so people do not need install RO in ur pc. but you can browser ingame.. correct? 
play in browser*
default_tongue.png


 
March 2014 news

  • Add support for
2013 december packets.
[*]Massive bugs fixes and optimizations (thanks for feedback).
[*]Remove some memory leaks
[*]Add GZIP compression in remote client (and http cache).
[*]Add visual casting spells to skills.
[*]Add support for high jump packet (sliding entities) and body relocation.
[*]Now able to attack players by pressing SHIFT keyu (or /noshift /ns).
[*]Add skipServerList config to skip server list if there is only one element in the list.
[*]Add skipIntro config to skip the intro window.
[*]Add autoLogin config (I let you imagine - facebook api ?).
[*]Now displaying GM sprites.
[*]Add support for text color (what player are saying + Admin text - yellow).
[*]Introduce SI_CLAIRVOYANCE (maya purple card).
[*]The character can now move to pick an item on the ground.
[*]Add shadow table DB (to display shadow size).
[*]Remove sprite 111 and 139 from scene.
[*]Introduce QPet system.


Screenshots of the Month

Skill Spell :
magiccast.jpg

targetlock.jpg

 
Pet features:
petinfo.jpg

slot-machine.jpg

 
Maya purple card:
clairvoyance.jpg
 
Note: the "Slot Machine" in the Pet Capture is different than the official one, this one use all the animation frames stored in the sprite/action and looks (in my opinion) really better.

 
things are getting more awesome than ever!

 
2014/04/02 16:42:09 [error] 16301#0: *106 open() "/usr/share/nginx/html/roBrowser/client/data/texture/lots/ro2_leafy01.bmp" failed (2: No such file or directory), client: 111.91.78.91,
This even happens if I load my RO Folder (Via Drag and Drop) Using Chrome. (I have the file in GRF in local folder, even in data folder of local folder, Also that file exists in the data folder of VPS and GRF) The above file also exists.

This causes MAP to not load and loading stucks at 100% (after char select)

 
Last edited by a moderator:
[Sat Apr 05 20:21:43 2014] [error] [client 127.0.0.1] File does not exist: C:/Xampp/htdocs/ro/client/data/texture/xc3x80xc2xafxc3x80xc3xbaxc3x80xc3x8exc3x85xc3x8dxc3x86xc3xa4xc3x80xc3x8cxc2xbdxc2xba/bgi_temp.png, referer: http://localhost/ro/build/ThreadEventHandler.js[Sat'>http://localhost/ro/build/ThreadEventHandler.js[Sat Apr 05 20:21:43 2014] [error] [client 127.0.0.1] File does not exist: C:/Xampp/htdocs/ro/client/data/lua files/admin/pcjobname.lub, referer: http://localhost/ro/build/ThreadEventHandler.js[Sat'>http://localhost/ro/build/ThreadEventHandler.js[Sat Apr 05 20:21:43 2014] [error] [client 127.0.0.1] File does not exist: C:/Xampp/htdocs/ro/client/data/lua files/admin/pcjobnamegender.lub, referer: http://localhost/ro/build/ThreadEventHandler.js[Sat'>http://localhost/ro/build/ThreadEventHandler.js[Sat Apr 05 20:21:43 2014] [error] [client 127.0.0.1] File does not exist: C:/Xampp/htdocs/ro/client/data/lua files/datainfo/weapontable.lub, referer: http://localhost/ro/build/ThreadEventHandler.js[Sat'>http://localhost/ro/build/ThreadEventHandler.js[Sat Apr 05 20:21:44 2014] [error] [client 127.0.0.1] File does not exist: C:/Xampp/htdocs/ro/client/data/texture/xc3x80xc2xafxc3x80xc3xbaxc3x80xc3x8exc3x85xc3x8dxc3x86xc3xa4xc3x80xc3x8cxc2xbdxc2xba/scroll0down.png, referer: http://localhost/ro/build/ThreadEventHandler.js
Apache errors..

@edit

In Chrome It works great but when i am using firefox it only shows black screen..

@edit

I managed to make it work with firefox. I didn't notice that I set debug to true. >.<

 
Last edited by a moderator:
@Dastgir Pojee

I don't think it's related to the image. Even if roBrowser can't run a resource it continue to run (except if it's a RSW, GND or GAT file, but in this cas it show an error window).

So your best luck here is to open your web browser development console to check for errors.

 
@Dastgir Pojee

I don't think it's related to the image. Even if roBrowser can't run a resource it continue to run (except if it's a RSW, GND or GAT file, but in this cas it show an error window).

So your best luck here is to open your web browser development console to check for errors.
GET http://xxxx:12500/client/data/lua%20files/admin/pcjobname.lub 404 (Not Found)
:12500/client/data/lua%20files/admin/pcjobname.lub:1
GET http://xxxx:12500/client/data/lua%20files/admin/pcjobnamegender.lub 404 (Not Found) :12500/client/data/lua%20files/admin/pcjobnamegender.lub:1
GET http://xxxx:12500/client/data/lua%20files/datainfo/weapontable.lub 404 (Not Found)
:12500/client/data/lua%20files/datainfo/weapontable.lub:1
 
But, PacketClient = 20130807 , So Shoundn't it read luafiles514 folder?
 
Would it be possible to add some kind langtype support, such as chinese? Seems changing encoding on browser is not enough to display those characters.

 
@Dastgir Pojee

No for now roBrowser doesn't read luafiles514 folder (what the hell is this name ?)

But to be honest, I have some doubts about lua support and I think about dropping it from roBrowser and instead playing with javascript file stored in DB (I don't have a good enough lua/lub loader).

@Aeonim

Just change the page meta charset (from api.html if you are using the api to run roBrowser) would be enough.

 
@Dastgir Pojee

No for now roBrowser doesn't read luafiles514 folder (what the hell is this name ?)

But to be honest, I have some doubts about lua support and I think about dropping it from roBrowser and instead playing with javascript file stored in DB (I don't have a good enough lua/lub loader).

@Aeonim

Just change the page meta charset (from api.html if you are using the api to run roBrowser) would be enough.
its named luafiles514 because it is compiled with (lua 5.1.4)

What if we have customs and want to use it with roBrowser, we would need to edit other files for roBrowser?

 
That make sense.

For now roBrowser only parse some lub files.

// (from src/DB/DBManager.js) DB.loadLuaByteTable('data/lua files/admin/pcidentity.lub', onLoad()); DB.loadLuaByteTable('data/lua files/admin/pcjobname.lub', onLoad()); DB.loadLuaByteTable('data/lua files/admin/pcjobnamegender.lub', onLoad()); DB.loadLuaByteTable('data/lua files/datainfo/accessoryid.lub', onLoad()); DB.loadLuaByteTable('data/lua files/datainfo/accname.lub', onLoad()); DB.loadLuaByteTable('data/lua files/datainfo/npcidentity.lub', onLoad()); DB.loadLuaByteTable('data/lua files/datainfo/jobname.lub', onLoad()); DB.loadLuaByteTable('data/lua files/datainfo/petinfo.lub', onLoad()); DB.loadLuaByteTable('data/lua files/datainfo/weapontable.lub', onLoad());And there is no guaranty at all that it do it well (the loader is buggy).So for now if you want to be sure to have custom hats/mobs, better to add it directly on the DB folder.

For items, it load them from old client files.

 
That's the first thing I tried, apparently it truncates multi-byte character into single byte.
Ok I see, so I guess I just need an option to parse string as uint16 instead of uint8 to make it work.Just to be sure, it means the max length of your character's name in chinese is 12 ? (24/2)

 
If my .htacess is not producing any error, does it mean that my webhost is not reading it?

# Cause I am using http://client.domainname.com/ErrorDocument 404 /index.phpasdfsafd
I use asdfsafd to produce an error.. but It shows only white screen.

If my webhost is not reading it what should I do ?.

 
Last edited by a moderator:
That's the first thing I tried, apparently it truncates multi-byte character into single byte.
Ok I see, so I guess I just need an option to parse string as uint16 instead of uint8 to make it work.Just to be sure, it means the max length of your character's name in chinese is 12 ? (24/2)
As packet specification, yes it would be 12.But I'm not sure use uint16 would solve the problem though, because a string can also mixed with numbers and English alphabets, those are still single byte.

 
Back
Top