Jump to content

Szakalaka

Members
  • Posts

    1,339
  • Credits

  • Joined

  • Last visited

  • Days Won

    3
  • Feedback

    0%

Posts posted by Szakalaka

  1. The idea of abstarct factory is to skip IF or SWITCH CASE checks for current state. The switch case by opcodes for concrete factory is fine and the way to create concrete packet.

    Instead of having the enum with state abstract factory would be instantiated to concrete one with current state. And voila, if u receive a packet from game it will NOT get checked "am i in auth? am i in connected? " NO because the factory would be set.

     

    Thats enough thats for feedback :D

  2. They say noone understands good programmers. And noone seems to understand me :)

     

    GamePacketHandler implements some abstract factory. And inside it has a switch based on cases lol. Every case should be another factory and the main GamePacketHandler should be set to factory of current state. Thats my point of view.

  3. Drop that whole class and make a big ass enum :D

    Im afraid we dont understand eachother. But it happens sometimes :)

     

    And to Tryskell - i would like to completly get rid of the switch between 3 states. You can instantiate concrete factory instead of changing the state enum and then switch casing esecially when 99% packtes are ingame packets. Everytime a game packet comes it checks "hey maybe in im connected on authed state" ? NO.

  4. Hello. Been lookin inside l2j sources for inspiration for own project ( no i, dont write lineage emulator, just and abstract universal base i made my authserver on ) and i stumbled upon the GamePacketHandler.java

     

    Thats a decent factory pattern but the switch case CONNECTED AUTHED IN_GAME does not fit here.

    So whats my problem? You switch the client state and so the factory goes to right "subfactory under the case". Thats definitely should be an abstarct factory and instead of the switch case state you should instantiate a conrete factory for every state. What do you think about it?

    Greetz
     

  5. Before i finish i will write a bit on usage.

     

    How to use:

    In one folder: Loader.exe is my loader, szaka.des is my secret file, key.txt contains your key

    Loader can register or start loading. Example usage

    Enter:
    1 - confirm key and start the loader
    2 - try to register key from key.txt
    Choice:
    > 2
    Hurray! Registered new key!

    Enter:
    1 - confirm key and start the loader
    2 - try to register key from key.txt
    Choice:
    > 2
    This key has already been registered

    Enter:
    1 - confirm key and start the loader
    2 - try to register key from key.txt
    Choice:
    > 1
    Key is valid. Starting
    [0] scan for l2.bin l2.exe: 66 processes running
    [1] scan for l2.bin l2.exe: 66 processes running
    [2] scan for l2.bin l2.exe: 62 processes running

     

    Esay isnt it ^_^

  6. You can use almost all autoclick programs and bypass smartguard , something special on ur tool ?

     

    Botting with clicker is like walking with closed eyes

  7. Hello. Id like to present a cheap and functional bot. It works on smartguard, supports H5 and Interlude. I am finishing authentication right now, i can give few beta keys to trusted testers soon.

    Features:
     

    - Autotarget (intelligent)

    - Autoattack

    - Hunting polygon

    - Using skills (delay, mana, hp conditions)

    - Using items (also delay, mana, hp conditions)

     

    Goin to add spam functionality (chat, pms etc)

     

    Please keep topic clean i am open for suggestions. Price will be around 10e monthly. I put a lot of heart in updating and makin it invisible with every antibot updates.

×
×
  • Create New...