Interacting with L2 using a browser

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
davide874
Posts: 112
Joined: Sat Apr 19, 2008 10:45 am

Interacting with L2 using a browser

Post 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 :)
User avatar
Sirpaypi
Posts: 108
Joined: Mon May 18, 2009 11:51 pm
Location: Moяocco.

Re: Interacting with L2 using a browser

Post 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.
Saying that Java is nice because it works on all OSes is like saying that anal sex is nice because it works on all genders.
davide874
Posts: 112
Joined: Sat Apr 19, 2008 10:45 am

Re: Interacting with L2 using a browser

Post 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!
Ax3lknight
Posts: 5
Joined: Sun Jun 21, 2009 5:56 pm

Re: Interacting with L2 using a browser

Post 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 :)
User avatar
RiZe
Posts: 122
Joined: Mon Mar 24, 2008 12:44 am
Location: Czech Republic
Contact:

Re: Interacting with L2 using a browser

Post 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.
User avatar
Szponiasty
Advanced User
Advanced User
Posts: 557
Joined: Mon Apr 21, 2008 1:31 pm
Location: Eastern Poland

Re: Interacting with L2 using a browser

Post 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)
And in the next chronicle they went into space, fighting the evil empire... In a galaxy far, far away xD
User avatar
leanndr
Posts: 92
Joined: Fri Dec 04, 2009 1:01 am

Re: Interacting with L2 using a browser

Post 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
"Arrogance diminishes wisdom" / "Arrogância diminui a sabedoria"
Post Reply