Jump to content

L2 Codename - Simple Cp Hp And Mp Auto-Clicker


Maniek1

Recommended Posts

I want to present simple CP, HP and MP clicker. I created L2 Codename for my own needs some time ago, since i'm not using it too often i rebuild it and decided to share. You just need to set buttons for potions, show program your CP bar then press START and you ready to go  ;)

 

b399c3c1121bef7amed.jpg

 

763e4b6276428d9amed.jpg

 

Site of L2 codename:

http://L2Codename.ugu.pl

free hosting

 

 

##################### Update 15-03-2013

 

*Quick healing potion are now available

 

*Customizable timers for potions

 

Download :

http://l2codename.ugu.pl/L2Codename%200.3.zip

 

 

##################### Update 22-03-2013

 

*Start/Stop and "Get color" with customizable buttons

 

Download :

http://l2codename.ugu.pl/L2Codename0.32.zip

 

My List To Do:

Customizable timers for potions

Info about update - like red dot in the corner

Ability to use potions at any bar - TopTop222

Add Quick Healing potions -  zenernom

Start/Get color with customizable buttons - mainpmf

Link to comment
Share on other sites

  • 2 weeks later...

nice to see some interest ;)

 

TopTop222, using two other bars is quite easy to do. As for now i'm a bit busy at college and my other program but i think that tommorow i will find some time to work on the L2 Codename.

 

My List To Do:

Customizable timers for potions

Info about update - like red dot in the corner

Ability to use potions at any bar - TopTop222

 

if you got any other ideas i will gladly read them ;)

Link to comment
Share on other sites

My graphics card broke, so i could't do any work for 2 days.

 

UgliBiBagli this program use color detection so using potion up to some set in % level is a bit hard, but remember that program fill you cp/hp/mp up to point where you checked color (Ctrl+F2), so don't take color from end of cp bar, but use Ctrl+F2 in point where you want program to stop using pots.

 

My List To Do:

Customizable timers for potions

Info about update - like red dot in the corner

Ability to use potions at any bar - TopTop222

Add Quick Healing potions -  zenernom

Link to comment
Share on other sites

##################### Update 15-03-2013

 

*Quick healing potion are now available

 

*Customizable timers for potions

 

Download :

http://l2codename.ugu.pl/L2Codename%200.3.zip

 

My List To Do:

Customizable timers for potions

Info about update - like red dot in the corner

Ability to use potions at any bar - TopTop222

Add Quick Healing potions -  zenernom

Link to comment
Share on other sites

Decent simple little clicker, works well and clean.

 

To the Author:

    You should obfuscate, or protect, your code better. At the present time it's 100% unprotected. While obfuscating will not fully protect your code, it will rename most variables/classes/functions/methods/objects to basic names "button1" "bool 1" etc, making it harder for people to follow.

 

I did notice, you don't already rename elements in, at least in this project, projects to related names. IE "button1" I would name something like button_Start. You should.

 

 

Try to stay away from timers, use threads. Also it's not necessary to stop/start the timer/threads when the potion (click) isn't needed, Simply don't send the SendKeys().

 

 

You don't need, and imo it looks more messy, to use 'this.' in most of your calls. IE this.label7.txt, if you are calling it from the owner itself. It just makes more code/text..

                this.button1.Text = "STOP";
                if (!this.timer1.Enabled)
                {
                    this.timer1.Start();
                }
                string str2 = "";
                if (this.label7.Text != "off")
                {
                    str2 = str2 + this.label7.Text + " ";
                }

 

(You are using more memory and resources to store this data than is needed, because labels and controls include other things like graphics for the forms, settings, etc)

instead of using labels to store all your variables for ON/OFF keys, and pixel locations(this is very bad practice). Make normal Form1 or global variables to store all that info, like:

label7:
private string cp_50_hotkey;
label12:
private int x_postion = 0;

 

or even..

private Point cp_bar_point; , then you would save some conversions and/or casting in later code...

Then you can use invokes/callbacks and getters and setters to manipulate the data.

 

I was curious to see how you went about the pixel location, detection, and updating function.. But yeah.. Not a bad little quickie clicker.

Link to comment
Share on other sites

To the Author:

    You should obfuscate, or protect, your code better. At the present time it's 100% unprotected. While obfuscating will not fully protect your code, it will rename most variables/classes/functions/methods/objects to basic names "button1" "bool 1" etc, making it harder for people to follow.

 

I did notice, you don't already rename elements in, at least in this project, projects to related names. IE "button1" I would name something like button_Start. You should.

 

This is my first "published" program and i admit i don't know much about protecting code. I just spend few minutes reading and i update L2 Codename with some security.

 

Try to stay away from timers, use threads. Also it's not necessary to stop/start the timer/threads when the potion (click) isn't needed, Simply don't send the SendKeys().

 

It's one way to do it ;)

 

You don't need, and imo it looks more messy, to use 'this.' in most of your calls. IE this.label7.txt, if you are calling it from the owner itself. It just makes more code/text..

 

in orginal code there isn't any "this", for sure not used like this.

 

(You are using more memory and resources to store this data than is needed, because labels and controls include other things like graphics for the forms, settings, etc)

instead of using labels to store all your variables for ON/OFF keys, and pixel locations(this is very bad practice). Make normal Form1 or global variables to store all that info, like:

 

At start i get some errors and printing info in labels was helpfull, later on i keep writing L2 Codename this way. It's not some big project so it did't bother me. If there will be interest and project will grow i will probably rewrite code.

 

Thanks for your opinion ;)

 

Link to comment
Share on other sites

Allow in the settings for us to change the CTRL+F1/F2 keys to whatever bindings we want because sometimes I find myself wanting to do force attack and when I press those keys I end up disabling the program, it's quite inconvenient.

Link to comment
Share on other sites

My List To Do:

Customizable timers for potions

Info about update - like red dot in the corner

Ability to use potions at any bar - TopTop222

Add Quick Healing potions -  zenernom

Start/Get color with customizable buttons - mainpmf

 

mc2100

Like i wrote earlier, Press Ctrl+F2 not at end of CP bar but at point where you want program to stop using cp Pots

 

Next update will probably come out tommorow ;)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Posts

    • Thank you for your reply. I have removed it from the L2Server.exe file, but the L2Server still crashes. It doesn't crash if I don't start l2npc, otherwise it will crash within a few days at the latest.
    • Welcome to my store :  https://topestore.mysellix.io/fr/ 2015-2022 Aged Discord Account 2015 Discord Account : 50.99 $ 2016 Discord Account : 10$ 2017 Discord Account :3.99 $ 2018 Discord Account : 3.50$ 2019 Discord Account : 2.70 $ 2020 Discord Account :1.50$ 2021 Discord Account :0.99$ 2022 Discord Account :0.70$ Warranty :Lifetime Payment Methods : Crypto/ PayPal Contact Me On Discord Or Telegram Discord : @ultrasstore11 Telegram : https://t.me/ultrastore1 Welcome to my store :  https://topestore.mysellix.io/fr/ 2015-2022 Aged Discord Account 2015 Discord Account : 50.99 $ 2016 Discord Account : 10$ 2017 Discord Account :3.99 $ 2018 Discord Account : 3.50$ 2019 Discord Account : 2.70 $ 2020 Discord Account :1.50$ 2021 Discord Account :0.99$ 2022 Discord Account :0.70$ Warranty :Lifetime Payment Methods : Crypto/ PayPal Contact Me On Discord Or Telegram Discord : @ultrasstore11
    • L2 ArenaWar: Low Rate PvP Server with Free Buffs & Autofarm [PVP]⚔️ [Free]🆓 Classic Interlude with  3x XP rates! Free starter pack(no grade) to kickstart your adventure! Autofarm for convenient grinding! Free buffs to keep you fighting fit! (2 job buffs) No experience loss on death! (Except with Karma) Clear Karma system to keep things fair! ⚖️ Active community of 800-1k players! Join our Discord to learn more! >> Discord <<     Server website: https://l2arenawar.com/en/    
    • This is dedication! 2 years working on a problem. Congratulations!
    • You indeed have to save player position over Enterworld to properly clean it up later (if you don't, even trying to delete packet content would eventually keep it up), that's what we do with debug packet (which is a reusable Map of ExServerPrimitive packets) on aCis.   It doesn't solve the FPS stuttering - more you draw/delete lines, more your client becomes laggy. It's like if client wasn't deleting drawn points/lines properly, but instead simply hide them and redrawn content above.   If you got a solution, I would happy to integrate it.   You should check aCis#Player _debug packet integration, it allows very big amount of lines/points to be drawn, it is also reusable.   https://gitlab.com/Tryskell/acis_public/-/blob/master/aCis_gameserver/java/net/sf/l2j/gameserver/model/actor/Player.java?ref_type=heads https://gitlab.com/Tryskell/acis_public/-/blob/master/aCis_gameserver/java/net/sf/l2j/gameserver/network/clientpackets/EnterWorld.java?ref_type=heads  
  • Topics

×
×
  • Create New...