Against bots
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
-
- Posts: 271
- Joined: Wed Mar 19, 2008 10:16 am
Re: Against bots
There is at least one way : Alliance crests...
- janiii
- L2j Veteran
- Posts: 4269
- Joined: Wed May 28, 2008 3:15 pm
- Location: Slovakia
Re: Against bots
yep, crestsVapulabe wrote:There is at least one way : Alliance crests...

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!
- denser
- Posts: 1392
- Joined: Wed May 30, 2007 9:13 pm
- Location: Russia
- Contact:
Re: Against bots
like clan image on shield 

Tiger, once tasted human flesh, will want to taste it again
L2J - the place where glad to see you any time!
L2J - the place where glad to see you any time!
- janiii
- L2j Veteran
- Posts: 4269
- Joined: Wed May 28, 2008 3:15 pm
- Location: Slovakia
Re: Against bots
captcha in l2j
it is not a fake




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!
- poltomb
- L2j Veteran
- Posts: 225
- Joined: Wed Jul 13, 2005 7:13 am
- Location: USA
Re: Against bots
There is also another option. It may not be the best (requires you to go to a website with a browser), but it may be better than nothing (and you can have better captchas than the crest idea).
- The server generates an url, this url is stored in the DB and linked to the account because it will be needed in the future.
- This url is sent to the player as a chat or as a system message or both (at least chat is recommended)
- The player navigates to this url, and a captcha is presented.
- Player enters the answer to the captcha at the website. When the captcha is entered, the player's account is verified.
- If the player does not enter the captcha, any *NEW* mobs the player attacks do not give any exp, sp, or drops.
(Current mobs that the player is attacking still give drops/exp)
- jurchiks
- Posts: 6769
- Joined: Sat Sep 19, 2009 4:16 pm
- Location: Eastern Europe
Re: Against bots
you might turn off damage or make it miss all hits instead of exp and drops, it would be a little more effective (mobs would still hit you back of course)
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
- janiii
- L2j Veteran
- Posts: 4269
- Joined: Wed May 28, 2008 3:15 pm
- Location: Slovakia
Re: Against bots
Using crests for own images doesnt mean the images cannot be larger - as you see on my screenshot the image is 32x16, so in fact they can be larger.
For your system with external link the player has no possibility to open it in a browser directly, he would have to write it down and then write and open it manually, copying the address is also impossible afaik.poltomb wrote:...
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!
- RiZe
- Posts: 122
- Joined: Mon Mar 24, 2008 12:44 am
- Location: Czech Republic
- Contact:
Re: Against bots
That's great idea I think. I like the combination with the website because it's more complicated for L2 related bot to access the web and parse some captcha. At least for now. Even the implementation isn't so complicated for experienced adminpoltomb wrote:...

Edit: Yes, it's more complicated for player too but still better than some extra client modding and installing some tools etc
- janiii
- L2j Veteran
- Posts: 4269
- Joined: Wed May 28, 2008 3:15 pm
- Location: Slovakia
Re: Against bots
there is no client modding needed to show own images.. still the captcha in game is easier as typing some link in browser by hand. as player ir is enough annoying to do some captcha at all and doing it externally on browser, having game client minimized is really much more annoying than captcha in game.RiZe wrote:Edit: Yes, it's more complicated for player too but still better than some extra client modding and installing some tools etc
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!
- RiZe
- Posts: 122
- Joined: Mon Mar 24, 2008 12:44 am
- Location: Czech Republic
- Contact:
Re: Against bots
That's true but I'm wondering how is it possible to show the image sent to client. I'll send the captcha to the client by using AF AllyCrest, right? And now that's the point. How to use the image sent to the client in HTML?
- janiii
- L2j Veteran
- Posts: 4269
- Joined: Wed May 28, 2008 3:15 pm
- Location: Slovakia
Re: Against bots
idea:RiZe wrote:That's true but I'm wondering how is it possible to show the image sent to client. I'll send the captcha to the client by using AF AllyCrest, right? And now that's the point. How to use the image sent to the client in HTML?
- convert common image (png, bmp, jpg, ...) to dds (DirectDraw Surface) - image has to have dimensions of power of 2 (2,4,8,16,32,64,...)
- send the dds as byte array to client through PledgeCrest packet - random id can be used (e.g. named imgId)
- in htm use <img src=\"Crest.crest_" + Config.SERVER_ID +"_" + imgId + "\" width=32 height=16> - use the image dimensions
as i already wrote, it works for me fine

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!
- denser
- Posts: 1392
- Joined: Wed May 30, 2007 9:13 pm
- Location: Russia
- Contact:
Re: Against bots
larger image can be construct from several smaller - or as i wrote - we have LARGE enough images on PLEDGE SHIELD 

Tiger, once tasted human flesh, will want to taste it again
L2J - the place where glad to see you any time!
L2J - the place where glad to see you any time!
- janiii
- L2j Veteran
- Posts: 4269
- Joined: Wed May 28, 2008 3:15 pm
- Location: Slovakia
Re: Against bots
tested and with PledgeCrest i can set images 128x128 and also 256x256 (did not test more
). should be really more than enough
no critical error on client.
256x256

i know i dont have much fantasy to make nice test images :/


256x256

i know i dont have much fantasy to make nice test images :/
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!
- RiZe
- Posts: 122
- Joined: Mon Mar 24, 2008 12:44 am
- Location: Czech Republic
- Contact:
Re: Against bots
Hm, I smell a lot of new possibilities with this stuff not only for some protection
-
- Posts: 271
- Joined: Wed Mar 19, 2008 10:16 am
Re: Against bots
Hmmm.... what about some complex quest with a "treasure map" shown (not a mark on game map, only a simple map with very few info about where it is located)...
It could be interresting to have L2J "system calls" available in python and java quests which would send such a graphic from a PNG or jpeg image...
It could be interresting to have L2J "system calls" available in python and java quests which would send such a graphic from a PNG or jpeg image...