Page 1 of 1
is possible an ingame voting system?
Posted: Tue Jul 13, 2010 2:55 am
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.
Re: is possible an ingame voting system?
Posted: Tue Jul 13, 2010 4:45 am
by denser
yes it is possible
Re: is possible an ingame voting system?
Posted: Tue Jul 13, 2010 6:12 am
by Lupu1
need Client Modding
Re: is possible an ingame voting system?
Posted: Tue Jul 13, 2010 6:20 am
by dinor
Lupu1 wrote:need Client Modding
why do you think that?
Re: is possible an ingame voting system?
Posted: Tue Jul 13, 2010 6:26 am
by janiii
afaik l2 client is not able to show external web pages.
Re: is possible an ingame voting system?
Posted: Tue Jul 13, 2010 6:59 am
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.
Re: is possible an ingame voting system?
Posted: Tue Jul 13, 2010 7:05 am
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.
Re: is possible an ingame voting system?
Posted: Tue Jul 13, 2010 3:42 pm
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

so no way without client modding
Re: is possible an ingame voting system?
Posted: Tue Jul 13, 2010 4:11 pm
by dinor
Pere wrote:I thought about it, but then noticed that the top list will receive all the votes from the server IP

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.
Re: is possible an ingame voting system?
Posted: Tue Jul 13, 2010 4:41 pm
by Pere
right, pure c++ and/or assembler, not java
Re: is possible an ingame voting system?
Posted: Fri Aug 06, 2010 11:25 pm
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...

Re: is possible an ingame voting system?
Posted: Sat Aug 07, 2010 12:16 am
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));}
Re: is possible an ingame voting system?
Posted: Sat Aug 07, 2010 12:00 pm
by pokiokio
Oh, so it's only client-side? That's lame. :/
Re: is possible an ingame voting system?
Posted: Sun Aug 08, 2010 8:16 am
by Lupu1
pokiokio wrote:Oh, so it's only client-side? That's lame. :/
Maybe we will have luck on freya.
Re: is possible an ingame voting system?
Posted: Sun Aug 08, 2010 10:51 pm
by Pere
We are talking about freya..