Hopzone vote reward

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
sahar
Posts: 582
Joined: Mon Jun 20, 2011 2:40 pm
Contact:

Hopzone vote reward

Post by sahar »

Is there any script that currently works on hopzone without the need of adding like 10 jars that will bypass their javascript/cookie protections?
User avatar
Bencratus
Posts: 51
Joined: Wed Jan 07, 2015 11:38 pm
Contact:

Re: Hopzone vote reward

Post by Bencratus »

Hello, sahar,

Code: Select all

-con.addRequestProperty("User-Agent", "Mozilla/4.76");
+con.addRequestProperty("User-L2Hopzone", "Mozilla/4.76");

+if(!Config.YOUR_HOPZONE_CONFIG.endsWith(".html"))
+Config.YOUR_HOPZONE_CONFIG+=".html";
*Or just add link with .html end
Test it and say if it works:)

Best Regards,
Bencratus
User avatar
UnAfraid
L2j Veteran
L2j Veteran
Posts: 4199
Joined: Mon Jul 23, 2007 4:25 pm
Location: Bulgaria
Contact:

Re: Hopzone vote reward

Post by UnAfraid »

Bencratus wrote:Hello, sahar,

Code: Select all

-con.addRequestProperty("User-Agent", "Mozilla/4.76");
+con.addRequestProperty("User-L2Hopzone", "Mozilla/4.76");

+if(!Config.YOUR_HOPZONE_CONFIG.endsWith(".html"))
+Config.YOUR_HOPZONE_CONFIG+=".html";
*Or just add link with .html end
Test it and say if it works:)

Best Regards,
Bencratus
-con.addRequestProperty("User-Agent", "Mozilla/4.76");
+con.addRequestProperty("User-L2Hopzone", "Mozilla/4.76");
I don't think so

https://github.com/UnAfraid/topzone/blo ... eward.java
Image
User avatar
Bencratus
Posts: 51
Joined: Wed Jan 07, 2015 11:38 pm
Contact:

Re: Hopzone vote reward

Post by Bencratus »

UnAfraid wrote:
Bencratus wrote:Hello, sahar,

Code: Select all

-con.addRequestProperty("User-Agent", "Mozilla/4.76");
+con.addRequestProperty("User-L2Hopzone", "Mozilla/4.76");

+if(!Config.YOUR_HOPZONE_CONFIG.endsWith(".html"))
+Config.YOUR_HOPZONE_CONFIG+=".html";
*Or just add link with .html end
Test it and say if it works:)

Best Regards,
Bencratus
-con.addRequestProperty("User-Agent", "Mozilla/4.76");
+con.addRequestProperty("User-L2Hopzone", "Mozilla/4.76");
I don't think so

https://github.com/UnAfraid/topzone/blo ... eward.java
Hi, UnAfraid,

but you posted TopZone, he asking HopZone and seems he using old script, which checks every sec votes.
Your script is amazing, but it is only for TopZone.

Best Regard,
Bencratus
User avatar
UnAfraid
L2j Veteran
L2j Veteran
Posts: 4199
Joined: Mon Jul 23, 2007 4:25 pm
Location: Bulgaria
Contact:

Re: Hopzone vote reward

Post by UnAfraid »

I gave it as example.
The request type should remain User-Agent the value should be changed.
Image
User avatar
Zoey76
L2j Inner Circle
L2j Inner Circle
Posts: 7005
Joined: Tue Aug 11, 2009 3:36 am

Re: Hopzone vote reward

Post by Zoey76 »

This is High Five support, use Script support and share the scripts if you want help and if you want the features use Custom Features Requests!
Powered by Eclipse 4.30 ๐ŸŒŒ | Eclipse Temurin 21 โ˜• | MariaDB 11.3.2 ๐Ÿ—ƒ๏ธ | L2J Server 2.6.3.0 - High Five ๐Ÿš€

๐Ÿ”— Join our Discord! ๐ŸŽฎ๐Ÿ’ฌ
sahar
Posts: 582
Joined: Mon Jun 20, 2011 2:40 pm
Contact:

Re: Hopzone vote reward

Post by sahar »

Making hopzone in the user agent doesn't work, they actually check if the browser has JS in order to be able to visit the site.
I got an idea how to do this, so thanks for the help, i'll manage :)
Sdw
L2j Veteran
L2j Veteran
Posts: 855
Joined: Mon May 03, 2010 8:38 am
Location: France

Re: Hopzone vote reward

Post by Sdw »

There is one user agent with open bar on all site, just think
User avatar
disorder35
Posts: 700
Joined: Sat Aug 01, 2009 3:29 pm

Re: Hopzone vote reward

Post by disorder35 »

sahar wrote:Making hopzone in the user agent doesn't work, they actually check if the browser has JS in order to be able to visit the site.
I got an idea how to do this, so thanks for the help, i'll manage :)
did you fix it? I need to fix mine as well. Have tried many different ways and none worked.
So What?????
Post Reply