Giter Site home page Giter Site logo

Comments (9)

MrAntares avatar MrAntares commented on August 18, 2024 1

Added /api.html and tools/build/index.html anyways. The client/index.php is already there.

fd610f1
87e93e9

Feel free to list any still missing files.

from robrowserlegacy.

MrAntares avatar MrAntares commented on August 18, 2024 1

@cheffNFT You are absolutely right, it is somewhat confuzing to get started, but really it is not that complicated. There are many options, but I never tried all of them only one. Out server uses websocket+wsproxy. It is the best method so far.

  • You install and start the WSProxy on a port like myserver:5900, that points to the server's address that you use with a normal desktop client, like myserver:6900.
  • You add your grfs and the DATA.INI (grf order) to the client/resources folder in robrowser and the clientinfo.xml (client-server information) to the client/data folder and if required set up the client/configs.php so that everything points to the right folder and file.
  • You create a blank html with a DIV that has the ID "robrowser"
  • You add a script that references the api.js
  • You add a script that configures the roBrowser api with websocket+proxy and you provide all the addresses and settings, eg:
function initialize() {
				var ROConfig = {
					target:        document.getElementById("robrowser"),
					type:          ROBrowser.TYPE.FRAME,
					application:   ROBrowser.APP.ONLINE,
					remoteClient:  "http://yourserver/client/",
					servers: 'data/clientinfo.xml',
					socketProxy: 'ws://yourserver:5900',
					development:    true,
					packetver: 20120410
				};
				var RO = new ROBrowser(ROConfig);
				RO.start();
			}
  • and finally call the initialize after the page loads at the end of your script tag:
window.addEventListener("load", function(){ 
					initialize();
				}, false);

That is all.
Unfortunately, you need to understand a bit how this whole stuff works on client and server side and a bit of HTML/JavaScript to make it work, because there are many things you can configure, but you can always peek from a working example, just like I did from the original roBrowser test server.

from robrowserlegacy.

waken22 avatar waken22 commented on August 18, 2024 1

I'm gonna point out my experience, because i think it could be useful for a future detailed guide.

If you are having problems to login to map-server consider the following steps:

1- Disable pincode.
2- Disable packet_obfuscation. (no idea if this is supported out of the box by robrowser using Packet Encryption)
3- If you are using wsproxy (in windows) i needed to press enter to make it work, it's weird but it happened to me.

And if robrowser is not loading the resources, please, open the network chrome tab and check if the path is correct or not, and then modify ROConfig.remoteClient accordingly.

from robrowserlegacy.

waken22 avatar waken22 commented on August 18, 2024 1

And another reminder, for remote client yes, it's kinda obvious but you are gonna need a web server (apache using xamp, lamp) or whatever to serve the php files.

from robrowserlegacy.

wjrosa avatar wjrosa commented on August 18, 2024

Hello!
You will still need those files. I guess they got removed due to copyright issues (that caused the original repository to be taken down). But I think you can still grab them there:
https://github.com/vthibault/roBrowser/

from robrowserlegacy.

juliolitwin avatar juliolitwin commented on August 18, 2024

@MrAntares
Which client version you recommend to use?

from robrowserlegacy.

MrAntares avatar MrAntares commented on August 18, 2024

I use clientver 30, which is 2012.04.10. Our server didn't change version eversince, because the login window was removed, and I didn't want to fiddle with the 3rd party login tools. The last packet change that is implemented is 2014.10.22 if I remember correctly. Any change after that needs to be implemented (but many are missing from before as well). I'm not sure how rAthena handles packets nowadays, but you can always reference it's source how packets are implemented, or ask for help from rA devs.

from robrowserlegacy.

xptodevx avatar xptodevx commented on August 18, 2024

there are no settings.js anymore. I'm not very surprised people not using this alternative, the installation docs originally were impossible to follow. literally, even for experienced devs and operators, the instructions are far from clear and straightforward.
I dont know if the chrome app is possible now because the older file settings.js is not there anymore and I dont know why.
another point of concern, where the hell should we download compatible client version? which one is exactly perfect for this?

from robrowserlegacy.

MrAntares avatar MrAntares commented on August 18, 2024

Fixed in b094c85

from robrowserlegacy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.