Page 3 of 3 FirstFirst 123
Results 21 to 24 of 24
  1. #21
    yizheng
    yizheng is offline
    Awesome to the MAX yizheng's Avatar
    Join Date
    2010 Aug
    Posts
    743
    Thanks Thanks Given 
    124
    Thanks Thanks Received 
    728
    Thanked in
    187 Posts
    Rep Power
    15
    Quote Originally Posted by awp3le View Post
    Can you give me a some game name with some GG or similar? I do have good Net speed so Ill download it fast and test it... And please m8 if you can.. Make Video With that your SendKeys Works? Please ... ?
    An example is Aika Sea version.. Link to site: Welcome to AIKASEA - The Best Free to Play Online Game!

    lets see if send key works there.

  2. #22
    ferret228
    ferret228 is offline
    Guest
    Join Date
    2012 Dec
    Posts
    1
    Thanks Thanks Given 
    0
    Thanks Thanks Received 
    0
    Thanked in
    0 Posts
    Rep Power
    0
    That sample works well for me (I have test it on free server (not java server))
    Code:
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Runtime.InteropServices;
    using System.Diagnostics;
    using System.Threading;
    using System.Windows.Forms;
    
    namespace hndlTest
    {
        class Program
        {
            [DllImport("User32.dll")]
            public static extern int SendMessage(IntPtr hWnd, int uMsg, int wParam, int lParam);
    
            [DllImport("user32.dll", EntryPoint = "PostMessage")]
            public static extern int PostMessage(IntPtr hWnd, uint Msg, uint wParam, uint lParam);
    
            static private void Click()
            {
                IntPtr win_handle = new IntPtr();
                string win_title = "II"; // set Lineage 2 window title here
                foreach (Process p in Process.GetProcesses())
                {
                    if (p.MainWindowTitle.Contains(win_title))
                    {
                        win_handle = p.MainWindowHandle;
                        break;
                    }
                }
    
                PostMessage(win_handle, 0x100, (uint)Keys.B, 0);
            }
            static void Main(string[] args)
            {
                Click();
                Console.ReadKey();
            }
        }
    }
    p.s.

    Same code with FindWindow("class","title"); or FindWindowEx(.....) wont work, becouse it obtains wrong handle.

    +

    If you want to send commands to several lineage 2 window you could try to rename it's titles somehow.

  3. #23
    sica21
    sica21 is offline
    Guest
    Join Date
    2012 Jan
    Posts
    1
    Thanks Thanks Given 
    1
    Thanks Thanks Received 
    0
    Thanked in
    0 Posts
    Rep Power
    0

    paket inject

    isnt better to inject via pakets ? iv tested to the code above but had no luck .

  4. #24
    insomnia215
    insomnia215 is offline
    Guest
    Join Date
    2014 Feb
    Posts
    3
    Thanks Thanks Given 
    0
    Thanks Thanks Received 
    0
    Thanked in
    0 Posts
    Rep Power
    0

    Smile Control send and send

    I have had no problem in using send keys and or control send keys to any server or any game even retail, i have found some issues in the past with needing #requireadmin, or even some times needing to open proc memory also was needed to send keys or send contol send. Here is a example of one of my simple clickers that can do both. GL you can contact me if you need more detailed information.



    And no packet injecting is easily detectable vs using simulated key strokes

Page 3 of 3 FirstFirst 123

Similar Threads

  1. [Game] Lineage Customized Renders
    By Rimbros in forum Renders
    Replies: 1
    Last Post: 2012-06-27, 10:53 AM
  2. [Game] Lineage Creatures and NPC renders
    By Grooguz in forum Renders
    Replies: 0
    Last Post: 2011-10-09, 01:28 PM
  3. [Game] Lineage Renders Pack
    By CriticalError in forum Renders
    Replies: 0
    Last Post: 2011-09-15, 02:39 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •