Results 1 to 11 of 11
  1. #1
    x2Sorcer's Avatar
    Join Date
    Oct 2012
    Gender
    male
    Posts
    55
    Reputation
    10
    Thanks
    334
    My Mood
    Bored

    Deactivating Laser

    Hi,

    it's me again and I'm trying to deactivate the laser, which I activated by writing a 0-byte to the relevant address. Works fine, but I can't find out how to deactivate it again. Tried to write a 1-byte to the address, but that only crashes the game.

    Any ideas?

    Many thanks in advance
    x2Sorcer

  2. #2
    Kenshin13's Avatar
    Join Date
    May 2011
    Gender
    male
    Location
    Cloud 9
    Posts
    3,473
    Reputation
    564
    Thanks
    5,876
    My Mood
    Psychedelic
    If you browsed the memory region, you'd see the byte you overwrote was origionally 0x25;
    Code:
    //Turn off
    *(BYTE*)0x4D14B7 = 0x25; //IW5M/Tekno
    
    //Turn on
    *(BYTE*)0x4D14B7 = NULL;

  3. #3
    x2Sorcer's Avatar
    Join Date
    Oct 2012
    Gender
    male
    Posts
    55
    Reputation
    10
    Thanks
    334
    My Mood
    Bored
    Oh, yeah. Shame on me - don't know why I didn't thought of this
    Okay, one last question: Im trying to enable the advanced UAV - it is no problem with the normal UAV, that works as a charm. But when i activate the advanced UAV, the dots on the minimap turn into the triangles for half a second and then turn back into dots, so it doesn't stay active. Any idea?

  4. #4
    Kenshin13's Avatar
    Join Date
    May 2011
    Gender
    male
    Location
    Cloud 9
    Posts
    3,473
    Reputation
    564
    Thanks
    5,876
    My Mood
    Psychedelic
    Quote Originally Posted by x2Sorcer View Post
    Oh, yeah. Shame on me - don't know why I didn't thought of this
    Okay, one last question: Im trying to enable the advanced UAV - it is no problem with the normal UAV, that works as a charm. But when i activate the advanced UAV, the dots on the minimap turn into the triangles for half a second and then turn back into dots, so it doesn't stay active. Any idea?
    Make a timer to re-write them every few milliseconds. (I used 5ms);
    Code:
    //In a thread
    void AdvUAV()
    {
       while(1)
       {
          *(BYTE*)CG->AdvUAV = 0x1;
          Sleep(5);
       }
    }

  5. #5
    Geometrical's Avatar
    Join Date
    Jul 2012
    Gender
    male
    Location
    In the middle of nowhere.
    Posts
    1,036
    Reputation
    331
    Thanks
    10,027
    My Mood
    Chatty
    Dim Buffer As Byte() = {&H25}
    WriteMemory(&HAddress, Buffer)

    It isn't 30 just because cheat engine reads that as first value.

  6. #6
    luizimloko's Avatar
    Join Date
    Feb 2011
    Gender
    male
    Location
    fs:[0]
    Posts
    1,799
    Reputation
    136
    Thanks
    9,832
    My Mood
    Yeehaw
    Code:
    // Variable:
    DWORD Laser_Pattern;
    INT Laser_Function;
    
    // Pattern Scan:
    Laser_Pattern = FindPattern(iw5mp, 0x401000, (PBYTE)"\x74\x25\x8B\x0F\x8B\x54\x24\x78", "xxxxxxxx");
    
    // Bytes:
    
    "\x74\x25" // Off
    "\x90\x90" // On
    
    //Function:
    
    if(Laser_Function)
         memcpy((PVOID)Laser_Pattern, "\x90\x90", 2);
     else
         memcpy((PVOID)Laser_Pattern, "\x74\x25", 2);
    Contributor Since: 02-18-2012

    WarFace Brazil:


    Crossfire Brazil ( X-Trap ):


    WarRock Brazil ( HackShield ):



  7. The Following User Says Thank You to luizimloko For This Useful Post:

    Geomatrical the 7th (11-23-2012)

  8. #7
    Geomatrical the 7th's Avatar
    Join Date
    Oct 2012
    Gender
    male
    Location
    ?
    Posts
    669
    Reputation
    17
    Thanks
    768
    Quote Originally Posted by luizimloko View Post
    Code:
    // Variable:
    DWORD Laser_Pattern;
    INT Laser_Function;
    
    // Pattern Scan:
    Laser_Pattern = FindPattern(iw5mp, 0x401000, (PBYTE)"\x74\x25\x8B\x0F\x8B\x54\x24\x78", "xxxxxxxx");
    
    // Bytes:
    
    "\x74\x25" // Off
    "\x90\x90" // On
    
    //Function:
    
    if(Laser_Function)
         memcpy((PVOID)Laser_Pattern, "\x90\x90", 2);
     else
         memcpy((PVOID)Laser_Pattern, "\x74\x25", 2);
    Watch Out We Got a badass over here

  9. #8
    Kenshin13's Avatar
    Join Date
    May 2011
    Gender
    male
    Location
    Cloud 9
    Posts
    3,473
    Reputation
    564
    Thanks
    5,876
    My Mood
    Psychedelic
    And -InSaNe- already posted that pattern.

  10. #9
    x2Sorcer's Avatar
    Join Date
    Oct 2012
    Gender
    male
    Posts
    55
    Reputation
    10
    Thanks
    334
    My Mood
    Bored
    Another question to the Advanced UAV. Im refreshing the aUAV every milisecond (1ms), but anyway it is flickering ingame, means it flahes from advanced to normal uav and back again. Any idea?

    Thanks in advance
    Sorcer

  11. #10
          ( ° ͜ʖ͡°)╭∩╮
    Former Staff
    MarkHC's Avatar
    Join Date
    Nov 2011
    Gender
    male
    Location
    127.0.0.1
    Posts
    2,751
    Reputation
    66
    Thanks
    14,306
    My Mood
    Angelic
    Quote Originally Posted by x2Sorcer View Post
    Another question to the Advanced UAV. Im refreshing the aUAV every milisecond (1ms), but anyway it is flickering ingame, means it flahes from advanced to normal uav and back again. Any idea?

    Thanks in advance
    Sorcer
    As far as I tried, you can't do that in a timer... It has to be faster than 1ms... Either you create a thread and put your code inside it... or move on to C++ :P


    CoD Minion from 09/19/2012 to 01/10/2013

  12. #11
    Kenshin13's Avatar
    Join Date
    May 2011
    Gender
    male
    Location
    Cloud 9
    Posts
    3,473
    Reputation
    564
    Thanks
    5,876
    My Mood
    Psychedelic
    If you use an internal hack, as Insane said, the game executes it faster. Especially if it hooks a game function.

Similar Threads

  1. Laser tag for combat arms
    By Tall kiwi in forum Combat Arms Hacks & Cheats
    Replies: 26
    Last Post: 05-04-2009, 08:11 AM
  2. Laser tag for combat arms
    By Tall kiwi in forum Combat Arms Hacks & Cheats
    Replies: 10
    Last Post: 05-01-2009, 06:39 AM
  3. Email registration has been deactivated.
    By arunforce in forum News & Announcements
    Replies: 19
    Last Post: 02-07-2009, 07:27 PM
  4. Laser Spy microphone
    By arunforce in forum General
    Replies: 4
    Last Post: 08-20-2007, 07:26 AM
  5. You like cats? and lasers? look at this
    By xtrylanx in forum General
    Replies: 14
    Last Post: 07-13-2007, 10:18 PM