1. Notice: Any major exploits will be deleted. Please PM an Admin instead of posting them.
  2. Welcome to the Brawl website! Feel free to look around our forums. Join our growing community by typing /register in-game!

Glitch A few lines of code - Gamebreaking with more sopfisticated code(not gona share it here)

Discussion in 'MC-War' started by Hitchens, Jan 8, 2016.

Thread Status:
Please be aware that this thread is more than 30 days old. Do not post unless the topic can still be discussed. Read more...
  1. Hitchens

    Hitchens Well-Known Member

    Joined:
    Oct 21, 2013
    Messages:
    1,392
    Ratings:
    +413
    Autoscoping is A PROBLEM.. (Too easy)

    import win32api, win32con
    import sfml
    import time
    def click(x,y):
    time.sleep(0.01)
    win32api.mouse_event(win32con.MOUSEEVENTF_RIGHTDOWN,x,y,0,0)
    win32api.mouse_event(win32con.MOUSEEVENTF_RIGHTUP,x,y,0,0)


    time.sleep(0.18)

    win32api.mouse_event(win32con.MOUSEEVENTF_LEFTDOWN,x,y,0,0)
    win32api.mouse_event(win32con.MOUSEEVENTF_LEFTUP,x,y,0,0)
    op = 0
    while True:

    time.sleep(0.01)
    if sfml.Mouse.is_button_pressed(sfml.Mouse.LEFT):
    if op == 1:
    x, y = win32api.GetCursorPos()
    click(x,y)
    else:
    pass
    if sfml.Mouse.is_button_pressed(sfml.Mouse.MIDDLE):
    op = 1

    if sfml.Mouse.is_button_pressed(sfml.Mouse.RIGHT):
    op = 0

    It would be easy to check the difference between clicks.. and ban if the difference tend to be a spesific time.
     
  2. Signatured

    Signatured War 2.0 Developer

    Joined:
    Sep 13, 2013
    Messages:
    3,819
    Ratings:
    +1,402
    We already have something like this on WarZ, but in Java :wink:
     
    • Like Like x 1
  3. Phanta

    Phanta Well-Known Member

    Joined:
    Jan 1, 2014
    Messages:
    2,555
    Ratings:
    +997
    >writing clientside code for bukkit
    >writing code native to windows
    >not even using java
    I rate 5/7
     
  4. Hitchens

    Hitchens Well-Known Member

    Joined:
    Oct 21, 2013
    Messages:
    1,392
    Ratings:
    +413
    .... do you rate my code 9/7 if code it in Nasm?

    @NomNuggetNom
    @Phanta

    Or C?... or Golang?... or Flat assembler... or Coolbasic... or HTML (Apache Cordova) or....
     
  5. NomNuggetNom

    NomNuggetNom Professional Breaker

    Joined:
    May 17, 2015
    Messages:
    338
    Ratings:
    +634
    I consider only Assembly code good code.
     
    • Like Like x 1
  6. jacobkolstad

    jacobkolstad Well-Known Member

    Joined:
    Aug 5, 2013
    Messages:
    1,848
    Ratings:
    +200
    Malbolge code, is that "good code"?
     
  7. Hitchens

    Hitchens Well-Known Member

    Joined:
    Oct 21, 2013
    Messages:
    1,392
    Ratings:
    +413
  8. Phanta

    Phanta Well-Known Member

    Joined:
    Jan 1, 2014
    Messages:
    2,555
    Ratings:
    +997
    nonono
    use arm assembly
    it's what all our plugins are written in
     
  9. Hitchens

    Hitchens Well-Known Member

    Joined:
    Oct 21, 2013
    Messages:
    1,392
    Ratings:
    +413
    @Phanta
    Why should a lazy programmer use arm assembly?
     
Loading...
Similar Threads Forum Date
Not a Bug A few lines of code - Gamebreaking MC-War Jan 11, 2016
Loneliness Quiz Off Topic Nov 20, 2017
Reminder: Map Deadlines MinecraftBuild Jun 29, 2017
United Airlines Off Topic Apr 11, 2017
Showcase City Skylines! MinecraftBuild Mar 19, 2017
Thread Status:
Please be aware that this thread is more than 30 days old. Do not post unless the topic can still be discussed. Read more...