Page 1 of 1

Interacting with L2 using a browser

Posted: Fri Nov 19, 2010 6:15 pm
by davide874
If you want to receive support we need this info to help you properly.
ยป Find Revision
L2J Revision Number:
L2JDP Revision Number:

The topic name may sound crazy, i know...

I was thinking. In a relationship between a Client (Lineage 2 client) and a Server (L2j console) there must a protocol wich both server and client have to follow in order to interact.
I'm not an expert into this relation, and this is why i wanna ask if such a feature would be possible..

What if one can reproduce the client from a browser? I mean, is it possible to send "commands" to the l2j console using a browser?
For example send the command //admin and popup the html interface into the browser like if i was logged in.

Do you think is possible? If yes, how would you start? Is there a documentation somewhere with the list of packets and their meanings? If no, why?

any comment would be appreciated, give me your opinion :)

Re: Interacting with L2 using a browser

Posted: Fri Nov 19, 2010 6:21 pm
by Sirpaypi
I didn't really got your point, but i understand that you want to control your server from your browser.
I think it's possible using some tricks "JAVA"...

There's a post from nBd sharing a way to control server from IRC channel.
And it's working and we can see what people are saying in-game on a programed channel.
And we can even BAN, Kick, restart and down the server from irc, so it can be possible from a browser using a smart bot.

Re: Interacting with L2 using a browser

Posted: Fri Nov 19, 2010 6:25 pm
by davide874
well, this is actually doable from telnet...the irc thing is just a simple mod wich filters the charhandlers and broadcast the chat into a irc server.

What i'm talking about is a real interaction between browser and client... being able to call the method of any java file using a browser...

Dunnow if someone got my point.. >.< not so easy to explain!

Re: Interacting with L2 using a browser

Posted: Wed Nov 24, 2010 6:30 pm
by Ax3lknight
Its more like for example :
There is a player you want to kick from the game in order to do that you have to log ingame and kick him so is there any way to do the same thing for browser from some website page.

prolly and most obvious way is with some java app running from browser :)

Re: Interacting with L2 using a browser

Posted: Wed Nov 24, 2010 6:55 pm
by RiZe
If I get your point you want to emulate the client through the web browser. Well, I think it could be possible. Propably it would be some client-side application written in JavaScript using WebSockets. The problem is complexity of application like this but it could work.

Btw there is web-based Quake 3 Arena called Quake Live running in browser online and I have to admit that it's really usable. Quake Live Home.

Re: Interacting with L2 using a browser

Posted: Thu Nov 25, 2010 12:25 am
by Szponiasty
It's possible and runs ok. Simplest way is to add one more thread to core, similar to admin console. You won't have too much problems on programming terminal support on both sides (core / php or cgi aware web page). If you'll have problems, PM me. I'll try to help as I did sth like that already (but dont ask me to teach you programming :P)

Re: Interacting with L2 using a browser

Posted: Thu Nov 25, 2010 4:25 am
by leanndr
hmm, would be nice to have on web, the game chat,
like, you can talk with ppl ingame and they can talk with you