
Loto manager htm - request to sniff
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
- janiii
- L2j Veteran
- Posts: 4269
- Joined: Wed May 28, 2008 3:15 pm
- Location: Slovakia
Loto manager htm - request to sniff
could anybody please sniff the htm of the loto manager (first page, first link - purchase ticket, loto instructions)? thanks 

DO NOT EVEN TRY TO MESS WITH ME!
forum flOOder dancing dEVILoper ♀
I don't give private support - PM will be ignored!
forum flOOder dancing dEVILoper ♀
I don't give private support - PM will be ignored!
-
- Posts: 149
- Joined: Sat Sep 12, 2009 4:18 pm
Re: Loto manager htm - request to sniff
teach me how to
- LasTravel
- Posts: 888
- Joined: Tue Jan 05, 2010 12:08 am
- Location: Spain
Re: Loto manager htm - request to sniff
Main:
Purchase Lottery Ticket
Continue:
Continue (when u chose 5 numbers):
Can't check what happens when i use "Your lucky numbers have been selected above." because I don't have adena XD
Lottery instructions:
Current lottery jackpot:
Previous winning numbers/Prize claim:
Code: Select all
<html><body>Lottery Ticket Seller:<br> Hello! Welcome to the Aden Lottery owned and operated by the Innadril Merchants Association!<br> Every ticket is a potential winner! Step right up!<br> <A action="Link lotto007.htm">Purchase Lottery Ticket</a><br> <A action="bypass -h menu_select?ask=-301&reply=2">Current lottery jackpot<br> <a action="bypass -h menu_select?ask=-301&reply=101">Previous winning numbers/Prize claim<br></body></html>
Code: Select all
<html><body>Lottery Ticket Seller:<br>Thank you for playing the lottery.<br>One Lottery Ticket costs 2000 Adena.<br>If you wish to play the lottery, press the button.<br><center><a action="bypass -h menu_select?ask=-301&reply=5">Continue</a><br><a action="link lotto008.htm">Lottery instructions</a><br><a action="link lotto003.htm">Quit</a></center></body></html>
Code: Select all
<html><body>Lottery Ticket Seller:<br>This is Round 12 of today's Lottery. Choose five numbers:<br> <center><table width=240 height=120 border=0 cellspacing=0 cellpadding=0><tr><td><img src="L2UI.lottotl" width=20 height=20></td><td><img src="L2UI.lottotc" width=200 height=22></td><td><img src="L2UI.lottotr" width=20 height=20></td></tr><tr><td><img src="L2UI.lottoml" width=20 height=80></td><td align=center valign=top><table width=200 height=80 border=0 cellspacing=0 cellpadding=0> <tr><td><button value="" action="bypass menu_selected?ask=-777&reply=1" fore="L2UI.lottoNum01" back="L2UI.lottoNum01a_check" width=40 height=20></td><td><button value="" action="bypass menu_selected?ask=-777&reply=2" fore="L2UI.lottoNum02" back="L2UI.lottoNum02a_check" width=40 height=20></td><td><button value="" action="bypass menu_selected?ask=-777&reply=4" fore="L2UI.lottoNum03" back="L2UI.lottoNum03a_check" width=40 height=20></td><td><button value="" action="bypass menu_selected?ask=-777&reply=8" fore="L2UI.lottoNum04" back="L2UI.lottoNum04a_check" width=40 height=20></td><td><button value="" action="bypass menu_selected?ask=-777&reply=16" fore="L2UI.lottoNum05" back="L2UI.lottoNum05a_check" width=40 height=20></td></tr><tr><td><button value="" action="bypass menu_selected?ask=-777&reply=32" fore="L2UI.lottoNum06" back="L2UI.lottoNum06a_check" width=40 height=20></td><td><button value="" action="bypass menu_selected?ask=-777&reply=64" fore="L2UI.lottoNum07" back="L2UI.lottoNum07a_check" width=40 height=20></td><td><button value="" action="bypass menu_selected?ask=-777&reply=128" fore="L2UI.lottoNum08" back="L2UI.lottoNum08a_check" width=40 height=20></td><td><button value="" action="bypass menu_selected?ask=-777&reply=256" fore="L2UI.lottoNum09" back="L2UI.lottoNum09a_check" width=40 height=20></td><td><button value="" action="bypass menu_selected?ask=-777&reply=512" fore="L2UI.lottoNum10" back="L2UI.lottoNum10a_check" width=40 height=20></td></tr><tr><td><button value="" action="bypass menu_selected?ask=-777&reply=1024" fore="L2UI.lottoNum11" back="L2UI.lottoNum11a_check" width=40 height=20></td><td><button value="" action="bypass menu_selected?ask=-777&reply=2048" fore="L2UI.lottoNum12" back="L2UI.lottoNum12a_check" width=40 height=20></td><td><button value="" action="bypass menu_selected?ask=-777&reply=4096" fore="L2UI.lottoNum13" back="L2UI.lottoNum13a_check" width=40 height=20></td><td><button value="" action="bypass menu_selected?ask=-777&reply=8192" fore="L2UI.lottoNum14" back="L2UI.lottoNum14a_check" width=40 height=20></td><td><button value="" action="bypass menu_selected?ask=-777&reply=16384" fore="L2UI.lottoNum15" back="L2UI.lottoNum15a_check" width=40 height=20></td></tr><tr><td><button value="" action="bypass menu_selected?ask=-777&reply=32768" fore="L2UI.lottoNum16" back="L2UI.lottoNum16a_check" width=40 height=20></td><td><button value="" action="bypass menu_selected?ask=-777&reply=65536" fore="L2UI.lottoNum17" back="L2UI.lottoNum17a_check" width=40 height=20></td><td><button value="" action="bypass menu_selected?ask=-777&reply=131072" fore="L2UI.lottoNum18" back="L2UI.lottoNum18a_check" width=40 height=20></td><td><button value="" action="bypass menu_selected?ask=-777&reply=262144" fore="L2UI.lottoNum19" back="L2UI.lottoNum19a_check" width=40 height=20></td><td><button value="" action="bypass menu_selected?ask=-777&reply=524288" fore="L2UI.lottoNum20" back="L2UI.lottoNum20a_check" width=40 height=20></td></tr> </table> </td><td><img src="L2UI.lottomr" width=20 height=80></td></tr><tr><td><img src="L2UI.lottobl" width=20 height=20></td><td><img src="L2UI.lottobc" width=200 height=22></td><td><img src="L2UI.lottobr" width=20 height=20></td></tr></table></center> <br><A action="Link lotto007.htm">Return</a><br> </body></html>
Code: Select all
<html><body>Lottery Ticket Seller:<br>This is Round 12 of today's Lottery. Choose five numbers:<br> <center><table width=240 height=120 border=0 cellspacing=0 cellpadding=0><tr><td><img src="L2UI.lottotl" width=20 height=20></td><td><img src="L2UI.lottotc" width=200 height=22></td><td><img src="L2UI.lottotr" width=20 height=20></td></tr><tr><td><img src="L2UI.lottoml" width=20 height=80></td><td align=center valign=top><table width=200 height=80 border=0 cellspacing=0 cellpadding=0> <tr><td><button value="" action="" fore="L2UI.lottoNum01" back="L2UI.lottoNum01a_check" width=40 height=20></td><td><button value="" action="" fore="L2UI.lottoNum02" back="L2UI.lottoNum02a_check" width=40 height=20></td><td><button value="" action="" fore="L2UI.lottoNum03" back="L2UI.lottoNum03a_check" width=40 height=20></td><td><button value="" action="" fore="L2UI.lottoNum04" back="L2UI.lottoNum04a_check" width=40 height=20></td><td><button value="" action="" fore="L2UI.lottoNum05" back="L2UI.lottoNum05a_check" width=40 height=20></td></tr><tr><td><button value="" action="" fore="L2UI.lottoNum06" back="L2UI.lottoNum06a_check" width=40 height=20></td><td><button value="" action="bypass menu_selected?ask=-777&reply=6528" fore="L2UI.lottoNum07a_check" back="L2UI.lottoNum07" width=40 height=20></td><td><button value="" action="bypass menu_selected?ask=-777&reply=6464" fore="L2UI.lottoNum08a_check" back="L2UI.lottoNum08" width=40 height=20></td><td><button value="" action="bypass menu_selected?ask=-777&reply=6336" fore="L2UI.lottoNum09a_check" back="L2UI.lottoNum09" width=40 height=20></td><td><button value="" action="" fore="L2UI.lottoNum10" back="L2UI.lottoNum10a_check" width=40 height=20></td></tr><tr><td><button value="" action="" fore="L2UI.lottoNum11" back="L2UI.lottoNum11a_check" width=40 height=20></td><td><button value="" action="bypass menu_selected?ask=-777&reply=4544" fore="L2UI.lottoNum12a_check" back="L2UI.lottoNum12" width=40 height=20></td><td><button value="" action="bypass menu_selected?ask=-777&reply=2496" fore="L2UI.lottoNum13a_check" back="L2UI.lottoNum13" width=40 height=20></td><td><button value="" action="" fore="L2UI.lottoNum14" back="L2UI.lottoNum14a_check" width=40 height=20></td><td><button value="" action="" fore="L2UI.lottoNum15" back="L2UI.lottoNum15a_check" width=40 height=20></td></tr><tr><td><button value="" action="" fore="L2UI.lottoNum16" back="L2UI.lottoNum16a_check" width=40 height=20></td><td><button value="" action="" fore="L2UI.lottoNum17" back="L2UI.lottoNum17a_check" width=40 height=20></td><td><button value="" action="" fore="L2UI.lottoNum18" back="L2UI.lottoNum18a_check" width=40 height=20></td><td><button value="" action="" fore="L2UI.lottoNum19" back="L2UI.lottoNum19a_check" width=40 height=20></td><td><button value="" action="" fore="L2UI.lottoNum20" back="L2UI.lottoNum20a_check" width=40 height=20></td></tr> </table> </td><td><img src="L2UI.lottomr" width=20 height=80></td></tr><tr><td><img src="L2UI.lottobl" width=20 height=20></td><td><img src="L2UI.lottobc" width=200 height=22></td><td><img src="L2UI.lottobr" width=20 height=20></td></tr></table></center> <br><a action="bypass -h menu_selected?ask=-778&reply=6592">Your lucky numbers have been selected above.</a> </body></html>
Lottery instructions:
Code: Select all
<html><body>Lottery Ticket Seller:<br>Here is how to play the lottery:<br>Select five numbers between 1 and 20. Your prize is determined by how many winning numbers you match.<br>First place goes to those who pick all five winning numbers. First place prize amount is 60% of the total jackpot amount, minus the fourth place prize.<br>Second place goes to those who pick four out of the five winning numbers. Second place prize amount is 20% of the total jackpot amount, minus the fourth place prize.<br>Third place goes to those who pick three out of the five winning numbers. Third place prize amount is 20% of the total jackpot amount, minus the fourth place prize.<br>Those who pick two or less of the winning number may receive 200 Adena. <br>The prize money for each category will be divided equally amongst winners. If there are no winners in any category, those winnings are transferred to the next jackpot.<br>Lottery Tickets are sold on a weekly basis, starting at 7:10 pm every Saturday until 6:50 pm the following Saturday.<br>The winning numbers are announced at 7:00 pm every Saturday. All times are subject to change.<br>I wish you luck! Enjoy the lottery.<br><A action="Link lotto003.htm">Back</a><br><A action="Link lotto007.htm">Buy a Lottery Ticket.</a><br></body></html>
Code: Select all
<html><body>Lottery Ticket Seller:<br>Welcome to the Aden Lottery owned and operated by the Innadril Merchants Association!<br>May I have your attention please!<br>The total jackpot amount so far for the Round 12 Lottery is 24000 Adena.<br><br><center><A action="Link lotto003.htm">Back</a><br></center></body></html>
Code: Select all
<html><body>There has been no winning lottery ticket.<br><A action="Link lotto003.htm">Return</a><br></body></html>
- janiii
- L2j Veteran
- Posts: 4269
- Joined: Wed May 28, 2008 3:15 pm
- Location: Slovakia
Re: Loto manager htm - request to sniff
thank you LasTravel! 
could you get a screenshot from what it writes on /partyinfo please? ^^

could you get a screenshot from what it writes on /partyinfo please? ^^
DO NOT EVEN TRY TO MESS WITH ME!
forum flOOder dancing dEVILoper ♀
I don't give private support - PM will be ignored!
forum flOOder dancing dEVILoper ♀
I don't give private support - PM will be ignored!
- LasTravel
- Posts: 888
- Joined: Tue Jan 05, 2010 12:08 am
- Location: Spain
Re: Loto manager htm - request to sniff
Without party:

With party:


Code: Select all
Type:0x62 (SystemMessage)Size: 9+2Recive time: 09:04:48:1160002 d MsgID: <Party Information> ID:1030 (0x0406)0006 d typesCount: 0 (0x00000000)
Code: Select all
Type:0x62 (SystemMessage)Size: 9+2Recive time: 09:04:48:1160002 d MsgID: ======================== ID:490 (0x01EA)0006 d typesCount: 0 (0x00000000)
With party:

Code: Select all
Type:0x62 (SystemMessage)Size: 9+2Recive time: 09:08:27:4750002 d MsgID: <Party Information> ID:1030 (0x0406)0006 d typesCount: 0 (0x00000000)
Code: Select all
Type:0x62 (SystemMessage)Size: 9+2Recive time: 09:08:27:7410002 d MsgID: Looting method: Finders keepers ID:1031 (0x0407)0006 d typesCount: 0 (0x00000000)
Code: Select all
Type:0x62 (SystemMessage)Size: 9+2Recive time: 09:08:27:7410002 d MsgID: ======================== ID:490 (0x01EA)0006 d typesCount: 0 (0x00000000)
- janiii
- L2j Veteran
- Posts: 4269
- Joined: Wed May 28, 2008 3:15 pm
- Location: Slovakia
Re: Loto manager htm - request to sniff
oooo, thaaaanks 

DO NOT EVEN TRY TO MESS WITH ME!
forum flOOder dancing dEVILoper ♀
I don't give private support - PM will be ignored!
forum flOOder dancing dEVILoper ♀
I don't give private support - PM will be ignored!
-
- L2j Veteran
- Posts: 355
- Joined: Wed Sep 02, 2009 11:18 am
- Location: Czech Republic
Re: Loto manager htm - request to sniff
Your lucky numbers have been selected above.
Code: Select all
<html><body>Lottery Ticket Seller:<br>Thank you for playing the lottery. <br> The winners will be announced at 19:00 on Saturday <br><center><a action="Link lotto003.htm">Return</a><br></center></body></html>
-
- L2j Veteran
- Posts: 355
- Joined: Wed Sep 02, 2009 11:18 am
- Location: Czech Republic
Re: Loto manager htm - request to sniff
Here is small system message fix 

Code: Select all
Index: data/scripts/handlers/bypasshandlers/Loto.java===================================================================--- data/scripts/handlers/bypasshandlers/Loto.java (revision 7723)+++ data/scripts/handlers/bypasshandlers/Loto.java (working copy)@@ -201,8 +201,7 @@ return; Lottery.getInstance().increasePrize(price); - sm = SystemMessage.getSystemMessage(SystemMessageId.ACQUIRED_S1_S2);- sm.addNumber(lotonumber);+ sm = SystemMessage.getSystemMessage(SystemMessageId.EARNED_ITEM_S1); sm.addItemName(4442); player.sendPacket(sm);
Code: Select all
Type:0x62 (SystemMessage)Size: 17+2Recive time: 10:57:21:1410002 d MsgID: You have earned $s1. ID:54 (0x0036)0006 d typesCount: 1 (0x00000001)000A d 0=Str,1=Int,2=NpcID,3=ItmID,4=SklID,6=Amnt: 3 (0x00000003)000E s data: ?