Jump to content

mpj123

Legendary Member
  • Posts

    1,922
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by mpj123

  1. Hey guys, since my other post was rudely locked: http://www.maxcheaters.com/topic/192338-l2net-source-code/

     

    I just came here to let you know there is no virus in this, but if you really think there is, simply don't download it. The source can be modified to run on L2.NET again, I'm sure it's not that hard for any semi-competent coder. This is a very powerful tool.  Hope someone can either learn from it or revive it. 

  2. I was only looking out for your well being. Good luck in life :), I know there's some good inside that little heart of yours. I've seen it!

     

    PS. You really should let the small things go, I was only trying to help you figure out your problem. Hard to look at a snippet (which had no sleeps) and then get ringed out after the user posts the part with the sleep part in it. But O.K. I must of been at fault. :)

  3. Well mate, let's keep this one alive,

    I personaly request any mod, to delete my older L2Net Shares (should be 2 shares with maps and stuff, but since there is an auto updater, let's stick to this topic)

     

    Peace

     

    trust me, I always wanted to keep this updated, but they took away my edit rights after i went from a mod to a legendary member... funny how I was stripped of my privs after 3 years of service. And it took 3 more years of legendary member bitching until they re-added our rights. There's a legendary member forum, and it was literally littered with bitching about no edit rights.

  4. create an outline of your room using the bounding polygon, simply go to each corner of the room, and click on "add current location" to create the box or shape needed. And then go to the targeting tab, and make sure the radio button called "In Box" is checked (all the buttons to the left should be checked)

  5. I have a theory in mind to fix this bot protection, but there is going to be lots of tweaking and packet analysis before I can create a prototype.

     

    I will need a bit of the community's help in order to do this.

     

    In the L2NET directory, find the folder called Text, delete all the old logs

     

    Char name:

     

    Then I also need server side packet dumps. Here is how you do it.

     

    Log in with L2.NET using ipjack. Turn on Server dump mode from Scripting Options

     

    Once this is done, Kill a gremlin or two and log off. Go back to the Text Directory and send me the log file. I will need about 50 samples in order for this to work. :)

     

    (You will require an L2NET key for this to work.)

  6. Whoever was having trouble with the buffing, could you try this script?

    //credit to obce for half the code :P
    //finished by mpj123
    //v1.2
    Define_Global int step 0
    Define_Global int ok 0
    ////////////////////////////////
    
    define_global int pak_tar 0
    define_global int pak_atk 0
    define_global int move 0
    define_global int validate 0
    define_global int use_it 0
    define_global int open_inv 0
    define_global int save_inv2 0
    define_global int save_inv1 0
    define_global int open_skill 0
    define_global int open_skill2 0
    define_global int use_skill 0
    //
    for a 0 255 1
    SET_EVENT "<&SCRIPTEVENT_CLIENTPACKET&>" "<&SYSTEM_CURRENTFILE&>" opc "<&a&>"
    SET_EVENT "<&SCRIPTEVENT_CLIENTPACKETEX&>" "<&SYSTEM_CURRENTFILE&>" opc "<&a&>"
    next
    
    step = 1
    print_text "Target something ..."
    SAY_TO_CLIENT "<&CHANNEL_PRIVATE&>" "Target something ..."
    do
    sleep 1000
    loop ok == 0
    ok = 0
    step = 2
    
    print_text "Move ..."
    SAY_TO_CLIENT "<&CHANNEL_PRIVATE&>" "Move ..."
    do
    sleep 1000
    loop ok == 0
    ok = 0
    step = 3
    
    print_text "Move again ..."
    SAY_TO_CLIENT "<&CHANNEL_PRIVATE&>" "Move again ..."
    do
    sleep 1000
    loop ok == 0
    ok = 0
    step = 4
    
    print_text "Use any item ... "
    SAY_TO_CLIENT "<&CHANNEL_PRIVATE&>" "Use any item ..."
    do
    sleep 1000
    loop ok == 0
    ok = 0
    step = 5
    
    print_text "Open inventory ... "
    SAY_TO_CLIENT "<&CHANNEL_PRIVATE&>" "Open inventory ..."
    do
    sleep 1000
    loop ok == 0
    ok = 0
    step = 6
    
    print_text "Open skills ..."
    SAY_TO_CLIENT "<&CHANNEL_PRIVATE&>" "Open skills ..."
    do
    sleep 1000
    loop ok != 1
    ok = 0
    step = 7
    
    print_text "Use a skill ... (any one of them, even if you cant use it)"
    SAY_TO_CLIENT "<&CHANNEL_PRIVATE&>" "Use a skill ... (any one of them, even if you cant use it)"
    do
    sleep 1000
    loop ok != 1
    ok = 0
    step = 8
    
    print_text "FORCE attack something using the CONTROL key!"
    SAY_TO_CLIENT "<&CHANNEL_PRIVATE&>" "FORCE attack something using the CONTROL key!"
    do
    sleep 1000
    loop ok != 1
    ok = 0
    
    
    print_text "Stop attacking and stay still somewhere to finish the last step, waiting 3 seconds"
    SAY_TO_CLIENT "<&CHANNEL_PRIVATE&>" "Stop attacking and stay still somewhere to finish the last step, waiting  3 seconds"
    sleep 3000
    step = 9
    
    print_text "Close inventory ... "
    SAY_TO_CLIENT "<&CHANNEL_PRIVATE&>" "Close inventory ... "
    do
    sleep 1000
    loop ok == 0
    
    call block_packets
    step = 10
    
    print_text " rdy - target <&pak_tar&>"
    print_text " rdy - target <&pak_atk&>"
    print_text " rdy - move <&move&> i validate <&validate&>"
    print_text " rdy - use _it <&use_it&>"
    print_text " rdy  - open inv <&open_inv&>"
    print_text " rdy  - save_inv2 <&save_inv2&>"
    print_text " rdy  - open_skill <&open_skill&>"
    print_text " rdy  - open_skill2 <&open_skill2&>"
    print_text " rdy  - use_skill <&use_skill&>"
    SAY_TO_CLIENT "<&CHANNEL_PRIVATE&>" "All Ready!"
    
    for a 0 255 1
    SET_EVENT "<&SCRIPTEVENT_SELFPACKET&>" "<&SYSTEM_CURRENTFILE&>" opc "<&a&>"
    SET_EVENT "<&SCRIPTEVENT_SELFPACKETEX&>" "<&SYSTEM_CURRENTFILE&>" opc "<&a&>"
    next
    
    do
    sleep 10000
    loop 1 == 1
    END_SCRIPT
    
    
    
    
    
    
    function opc
    define int temp_ex 0
    define int pak 0
    //print_text " pakiet dlugosc <&packet.LENGTH&>"
    if step == 1
         if packet.LENGTH == 18
            packet.read_byte pak_tar
            Print_text " id stored <&pak_tar&>"
            ok = 1
            return void
        endif
    
    endif
    
    if step == 2
         if packet.LENGTH == 29
            packet.read_byte move
            Print_text " id stored <&move&>"
            ok = 1
            return void
        endif   
    
    endif
    
    if step == 3
         if packet.LENGTH == 21
            packet.read_byte validate
            Print_text " id stored <&validate&>"
            ok = 1
            return void
        endif   
    
    endif
    
    
    
    if step == 4
        if packet.LENGTH == 9
            packet.read_byte use_it
            Print_text " id stored <&use_it&>"
            ok = 1
    
            return void
        endif   
    
    endif
    
    
    if step == 5
        if packet.LENGTH == 1
            packet.read_byte open_inv
            Print_text " id stored <&open_inv&>"
            ok = 1
    
            return void
        endif   
    
    endif
    
    
    if step == 6
        if ok == 0
            if packet.LENGTH == 1
                packet.read_byte open_skill
                Print_text " id stored <&open_skill&>"
                ok = 2
    
                return void
            endif   
        endif
    
        if ok == 2
            if packet.LENGTH == 1
            packet.read_byte open_skill2
                if open_skill2 != open_inv
                    if open_skill2 != open_skill
                        Print_text " id stored <&open_skill2&>"
                        ok = 1
    
                        return void
                    endif
                endif
            endif
        endif
    
    endif
    
    if step == 7
         if packet.LENGTH == 10
            packet.read_byte use_skill
            Print_text " id stored <&use_skill&>"
            ok = 1
    
            return void
        endif   
    
    endif
    
    if step == 8
        if packet.LENGTH == 18
            packet.read_byte pak_atk
            if pak_atk != pak_tar
                Print_text " id stored <&pak_atk&>"
                ok = 1
    
                return void
            endif
        endif   
    
    endif
    
    if step == 9
        if packet.LENGTH != 15
            packet.read_byte save_inv1
            packet.read_int16 save_inv2
            if save_inv2 <= 0
                SAY_TO_CLIENT "<&CHANNEL_PRIVATE&>" "You need to stop attacking to be able to capture the close inventory  packet!"
                print_text "You need to stop attacking to be able to capture the close inventory packet!"
                return void
            endif
            if save_inv2 >= 257
                SAY_TO_CLIENT "<&CHANNEL_PRIVATE&>" "You need to stop attacking to be able to capture the close inventory  packet!"
                print_text "You need to stop attacking to be able to capture the close inventory packet!"
                return void
            endif
            Print_text " id stored <&save_inv1&> i 2 byte <&save_inv2&>"
            ok = 1
            return void
        endif   
    
    endif
    
    if step == 10
    packet.read_byte pak
        if pak == 31
            packet.RESET_INDEX
            packet.write_byte pak_tar
            injectbb packet
            return void
        endif
        if pak == 1
            packet.RESET_INDEX
            packet.write_byte pak_atk
            injectbb packet
            return void
        endif
        if pak == 15
            packet.RESET_INDEX
            packet.write_byte move
            injectbb packet
            return void
        endif
    
        if pak == 89
            packet.RESET_INDEX
            packet.write_byte validate
            injectbb packet
            return void
        endif
    
        if pak == 25
            packet.RESET_INDEX
            packet.write_byte use_it
            injectbb packet
            return void
        endif
        if pak == 20
            packet.RESET_INDEX
            packet.write_byte open_inv
            injectbb packet
            return void
        endif
    
        if pak == 80
            packet.RESET_INDEX
            packet.write_byte open_skill
            injectbb packet
            return void
        endif
    
        if pak == 166
            packet.RESET_INDEX
            packet.write_byte open_skill2
            injectbb packet
            return void
        endif
    
        if pak == 57
            packet.RESET_INDEX
            packet.write_byte use_skill
            injectbb packet
            return void
        endif
    
    
        if pak == 208
            packet.read_int16 temp_ex
            if temp_ex == 36
                packet.RESET_INDEX
                packet.write_byte save_inv1
                packet.write_int16 save_inv2
                injectbb packet
                return void
            endif
        endif
    
    endif
    return void
    
    function block_packets
    print_text " blocked"
    BLOCK_SELF_ALL
    BLOCKEX_SELF_ALL
    block_SELF 31 // target
    block_SELF 15 // move
    block_SELF 89 // vaidate
    block_SELF 25 // use item
    block_SELF 20 // open inv
    block_SELF 36 // save inv
    block_SELF 80 // open skill1
    block_SELF 166 // open skill2
    block_SELF 1 // force attack
    block_SELF 57 // force spell
    return void
    

×
×
  • Create New...