is possible an ingame voting system?

This is not a Support area! Discuss about the Server here. Non-Server related discussion goes in Off-Topic Discussion.
Forum rules
READ NOW: L2j Forums Rules of Conduct
Locked
dinor
Posts: 141
Joined: Tue Aug 26, 2008 10:07 am

is possible an ingame voting system?

Post by dinor »

I was thinking (again) of this idea.
As the subject say, is it possible to create an ingame voting system where the player will just click on an npc and it will show the vote button from hopzone?

I am just asking if it is possible. I am not asking anyone to make a script.
User avatar
denser
Posts: 1392
Joined: Wed May 30, 2007 9:13 pm
Location: Russia
Contact:

Re: is possible an ingame voting system?

Post by denser »

yes it is possible
Tiger, once tasted human flesh, will want to taste it again
L2J - the place where glad to see you any time!
Lupu1
Posts: 335
Joined: Wed Nov 04, 2009 7:51 am

Re: is possible an ingame voting system?

Post by Lupu1 »

need Client Modding
dinor
Posts: 141
Joined: Tue Aug 26, 2008 10:07 am

Re: is possible an ingame voting system?

Post by dinor »

Lupu1 wrote:need Client Modding
why do you think that?
User avatar
janiii
L2j Veteran
L2j Veteran
Posts: 4269
Joined: Wed May 28, 2008 3:15 pm
Location: Slovakia

Re: is possible an ingame voting system?

Post by janiii »

afaik l2 client is not able to show external web pages.
DO NOT EVEN TRY TO MESS WITH ME!
forum flOOder dancing dEVILoper
I don't give private support - PM will be ignored!
User avatar
denser
Posts: 1392
Joined: Wed May 30, 2007 9:13 pm
Location: Russia
Contact:

Re: is possible an ingame voting system?

Post by denser »

to vote - no need to modify client.
need just java web interface. like bashorg feed...it mod :)
so man ask - it is possible to vote not show internet page. so it IS possible.
Tiger, once tasted human flesh, will want to taste it again
L2J - the place where glad to see you any time!
User avatar
JIV
L2j Veteran
L2j Veteran
Posts: 1882
Joined: Sun Jan 06, 2008 8:17 pm
Location: Slovakia
Contact:

Re: is possible an ingame voting system?

Post by JIV »

im not much for win32api but you could create dll which you attach to l2 and on each client start it open web browser to your server vote site.
User avatar
Pere
Posts: 400
Joined: Sat Jan 05, 2008 11:09 am
Location: Catalunya, Berguedà

Re: is possible an ingame voting system?

Post by Pere »

denser wrote:need just java web interface. like bashorg feed...it mod :)
I thought about it, but then noticed that the top list will receive all the votes from the server IP :mrgreen: so no way without client modding
Bones tardes amics meus tots!
dinor
Posts: 141
Joined: Tue Aug 26, 2008 10:07 am

Re: is possible an ingame voting system?

Post by dinor »

Pere wrote:I thought about it, but then noticed that the top list will receive all the votes from the server IP :mrgreen: so no way without client modding
I was thinking the same thing, but is there a way the command to go from server back to client and then vote? Not straight from server to website. Maybe an external tool writen in java which will just copy it in system folder.

Edit: It's similar to what JIV mean, right?
JIV wrote:im not much for win32api but you could create dll which you attach to l2 and on each client start it open web browser to your server vote site.
User avatar
Pere
Posts: 400
Joined: Sat Jan 05, 2008 11:09 am
Location: Catalunya, Berguedà

Re: is possible an ingame voting system?

Post by Pere »

right, pure c++ and/or assembler, not java
Bones tardes amics meus tots!
User avatar
pokiokio
Posts: 259
Joined: Wed Mar 04, 2009 8:08 pm

Re: is possible an ingame voting system?

Post by pokiokio »

I have noticed on the Freya PTS, on Alt+X there's a button which says 'Homepage' and it takes u to lineage2.com. Also on the Community Board they have added links to some Forum Sections. Hmm... :|
Image
Prolly the youngest L2j user :P
User avatar
Pere
Posts: 400
Joined: Sat Jan 05, 2008 11:09 am
Location: Catalunya, Berguedà

Re: is possible an ingame voting system?

Post by Pere »

you can edit the URLs in system/systring.e.dat, patching the system folder. But you have only 3 URLs..:

Code: Select all

<boody>		<center>		<br> <br> 			<table border=0 cellspacing=0 cellpadding=0 width=755>				<tr>					<td WIDTH=755 align=center valign=top>						<font name="hs12">&$2306;</font>					</td>				</tr>			</table> 			<br> <br> 			<table border=0 cellspacing=0 cellpadding=2 bgcolor=A7A19A width=755>				<tr>					<td WIDTH=100 align=right>&$412;</td>					<td WIDTH=480 align=center>&$413;</td>										<td WIDTH=160 align=center>&$2258;</td>				</tr>			</table> 			<br> 			<table border=0 cellspacing=0 cellpadding=2 width=755>				<tr>					<td FIXWIDTH=100 align=right valign=top>						<img src="l2ui.ActionWnd.bbs_Webfolder" width=32 height=32>					</td>					<td FIXWIDTH=480 align=left valign=top>						<font color="AAAAAA">&$2259;</font><br1><font color="AAAAAA">&$2260;</font>					</td>					<td FIXWIDTH=160 align=center valign=top>						<button value="&$2258;" action="url !2265" back="l2ui_ct1.button.button_df_small_down" fore="l2ui_ct1.button.button_df_small" width="74" height="25"/>					</td>				</tr>			</table> 			<br> 			<table border=0 cellspacing=0 cellpadding=0>				<tr>					<td width=755><img src="l2ui.squaregray" width="750" height="1"></td>				</tr>			</table> 			<br> 			<table border=0 cellspacing=0 cellpadding=2 width=755>				<tr>					<td FIXWIDTH=100 align=right valign=top>						<img src="l2ui.ActionWnd.bbs_Webfolder" width=32 height=32>					</td>					<td FIXWIDTH=480 align=left valign=top>						<font color="AAAAAA">&$2261;</font><br1><font color="AAAAAA">&$2262;</font>					</td>					<td FIXWIDTH=160 align=center valign=top>						<button value="&$2258;" action="url !2266" back="l2ui_ct1.button.button_df_small_down" fore="l2ui_ct1.button.button_df_small" width="74" height="25"/>					</td>				</tr>			</table> 			<br> 			<table border=0 cellspacing=0 cellpadding=0>				<tr>					<td width=755><img src="l2ui.squaregray" width="750" height="1"></td>				</tr>			</table> 			<br> 			<table border=0 cellspacing=0 cellpadding=2 width=755>				<tr>					<td FIXWIDTH=100 align=right valign=top>						<img src="l2ui.ActionWnd.bbs_Webfolder" width=32 height=32>					</td>					<td FIXWIDTH=480 align=left valign=top>						<font color="AAAAAA">&$2263;</font><br1><font color="AAAAAA">&$2264;</font>					</td>					<td FIXWIDTH=160 align=center valign=top>						<button value="&$2258;" action="url !2267" back="l2ui_ct1.button.button_df_small_down" fore="l2ui_ct1.button.button_df_small" width="74" height="25"/>					</td>				</tr>			</table> 			<br> 			<table border=0 cellspacing=0 cellpadding=0>				<tr>					<td width=755><img src="l2ui.squaregray" width="750" height="1"></td>				</tr>			</table> 		</center>	</body></html> 
(got with l2phx + some java like:)

Code: Select all

StringTokenizer st = new StringTokenizer(hex, " ");while (st.hasMoreTokens()){	System.out.print((char)Integer.parseInt(st.nextToken(), 16));}
Bones tardes amics meus tots!
User avatar
pokiokio
Posts: 259
Joined: Wed Mar 04, 2009 8:08 pm

Re: is possible an ingame voting system?

Post by pokiokio »

Oh, so it's only client-side? That's lame. :/
Image
Prolly the youngest L2j user :P
Lupu1
Posts: 335
Joined: Wed Nov 04, 2009 7:51 am

Re: is possible an ingame voting system?

Post by Lupu1 »

pokiokio wrote:Oh, so it's only client-side? That's lame. :/
Maybe we will have luck on freya.
User avatar
Pere
Posts: 400
Joined: Sat Jan 05, 2008 11:09 am
Location: Catalunya, Berguedà

Re: is possible an ingame voting system?

Post by Pere »

We are talking about freya..
Bones tardes amics meus tots!
Locked