Page 1 of 10 123 ... LastLast
Results 1 to 15 of 140
  1. #1
    ahiddenmessi's Avatar
    Join Date
    Dec 2016
    Gender
    female
    Posts
    249
    Reputation
    10
    Thanks
    120

    Best logitech macro for your logitech mouse v1 (never detectable)




    today im gonna show you how to create your own logitech mouse macro, scripted by yourself.

    i searched many norecoil macros on the internet but they are not for siege, so they are strange af and hard to use. i found a new method to script it for siege, using the Sleep() trick.

    i dont wanna type too much now so i will update this thread soon.

    i found a thread here which just used other games' macro

    Code:
    function OnEvent(event, arg)
    OutputLogMessage("event = %s, arg = %d\n", event, arg)
    if (event == "PROFILE_ACTIVATED") then
    EnablePrimaryMouseButtonEvents(true)
    elseif event == "PROFILE_DEACTIVATED" then
    ReleaseMouseButton(2) -- to prevent it from being stuck on
    end
    if (event == "MOUSE_BUTTON_PRESSED" and arg == 4) then
    recoil = not recoil
    spot = not spot
    end
    if (event == "MOUSE_BUTTON_PRESSED" and arg == 1 and recoil) then
    if recoil then
    repeat
    
    MoveMouseRelative(-2, 5)
    Sleep(10)
    MoveMouseRelative(2, -5)
    Sleep(21)
    
    until not IsMouseButtonPressed(1)
    end
    end
    end

    what im using:

    1. set a var called Sleeptime
    2.Sleep(Sleeptime)
    3. mousebtn7 pressed -> Sleeptime + 1 // increase recoil
    4. mousebtn8 pressed -> Sleeptime - 1 // decrease recoil

    I dont know wtf im saying now my head is fucking painful, sorry, i will edit these shits later.

    example code for G402 mouse: ( probably wont work on other mouses except g402)

    Code:
    --variable definition
    sleeptime = 25
    btn7down = false
    btn8down = false
    
    nextlean = "right"
    
    --func def
    
    function booltostring(mybool)
    
    	if mybool then
    
    		return "true"
    
    	else
    
    		return "false"
    	end	
    
    end
    
    function leanleft()
    
    	PressAndReleaseKey("e") 
    	Sleep(5)
    	PressAndReleaseKey("q")
    	Sleep(5)
    
    end
    
    function leanright()
    
    	PressAndReleaseKey("q") 
    	Sleep(5)
    	PressAndReleaseKey("e")
    	Sleep(5)
    
    
    end
    
    
    
    
    function OnEvent(event, arg)
    
    	--initialization
    	OutputLogMessage("event = %s, arg = %d\n", event, arg)
    
    	-- profile intialization
    	if (event == "PROFILE_ACTIVATED") then
    	OutputLogMessage("profile activated! recoil sleeptime: " .. sleeptime .. "\n")
    	EnablePrimaryMouseButtonEvents(true)
    	elseif event == "PROFILE_DEACTIVATED" then
    	ReleaseMouseButton(2) -- to prevent it from being stuck on
    	end
    
    
    	--check if btn7 and btn8 down
    
    
    		if (event == "MOUSE_BUTTON_PRESSED" and arg == 7 ) then
    
    			btn7down = true
    
    			--OutputLogMessage("btn7 :" .. booltostring(btn7down) .. "\n")
    
    
    		end
    
    
    
    		if (event == "MOUSE_BUTTON_RELEASED" and arg == 7 ) then
    
    			btn7down = false
    			--OutputLogMessage("btn7 :" .. booltostring(btn7down) .. "\n")
    
    		end
    
    
    
    		if (event == "MOUSE_BUTTON_PRESSED" and arg == 8 ) then
    
    			btn8down = true
    
    			--OutputLogMessage("btn8 :" .. booltostring(btn8down) .. "\n")
    
    
    		end
    
    
    
    		if (event == "MOUSE_BUTTON_RELEASED" and arg == 8 ) then
    
    			btn8down = false
    			--OutputLogMessage("btn8 :" .. booltostring(btn8down) .. "\n")
    
    		end
    
    
    
    
    	-- set recoil
    		
    		--btn8 to increase
    
    		if (event == "MOUSE_BUTTON_PRESSED" and arg == 8 ) then   
    
    			sleeptime = sleeptime - 1
    
    			OutputLogMessage("current recoil:" .. sleeptime .. "\n")
    
    
    
    		end
    
    
    		--btn7 to decrease
    
    		if (event == "MOUSE_BUTTON_PRESSED" and arg == 7) then   
    
    			sleeptime = sleeptime + 1
    
    			OutputLogMessage("current recoil:" .. sleeptime .. "\n")
    
    
    
    		end
    
    
    	--reset recoil
    
    
    
    		if (event == "MOUSE_BUTTON_PRESSED" and arg == 8 and IsModifierPressed("alt")) then 
    
    
    			
    			sleeptime = 25
    
    			OutputLogMessage("current recoil:" .. sleeptime .. "\n")
    
    
    		end
    
    
    
    		if (event == "MOUSE_BUTTON_PRESSED" and arg == 7 and IsModifierPressed("alt")) then 
    
    
    			
    			sleeptime = 25
    
    			OutputLogMessage("current recoil:" .. sleeptime .. "\n")
    
    
    		end
    
    
    
    
    
    	--handle recoil
    
    	if (event == "MOUSE_BUTTON_PRESSED" and arg == 1 and IsMouseButtonPressed(3)) then
    		
    		repeat
    
    		
    		MoveMouseRelative(0, 1)
    		Sleep(sleeptime)
    
    
    		until not IsMouseButtonPressed(1)
    		
    	end
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    	--lean tool
    
    
    		--[[if (event == "MOUSE_BUTTON_PRESSED" and arg == 5) then   
    		if IsMouseButtonPressed(5) then
    
    			if nextlean == "right" then
    	
    				PlayMacro("leanleft")
    				
    				nextlean = "left"
    
    			else
    	
    				PlayMacro("leanright")
    
    				nextlean = "right"
    
    			end
    
    		end]]
    
    
    
    --test
    
    --[[btn5keydown = false
    
    if (event == "MOUSE_BUTTON_PRESSED" and arg == 5) then   
    
    btn5keydown = true
    
    OutputLogMessage(booltostring(btn5keydown) .. "\n")
    
    end
    
    
    
    
    if (event == "MOUSE_BUTTON_RELEASED" and arg == 5) then  
    
    
    btn5keydown = false
    
    OutputLogMessage(booltostring(btn5keydown) .. "\n")
    
    end
    
    ]]
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    end

    how to use it :

    press G8 button once to reduce recoil by 1
    press G7 button once to increase recoil by 1
    (test them in custom games)
    (default recoil : 25)
    Alt + G8 or Alt + G7 = reset recoil to 25

    aim and shoot will activate it ( right mouse btn + left mouse btn pressed together)

    there is a lot of trash code sorry.

    this is the first version so i will continue improving it soon( like special recoil helper for suppressor )

    Good bye im gonna sleep first











    - - - Updated - - -

    how to install it :

    dl logitech gaming software , right click your profile icon, scripting, delete everycode there and paste the new one.

    if you are using other logitech mouses, comment here i will customize the code for ya

  2. The Following 5 Users Say Thank You to ahiddenmessi For This Useful Post:

    boy (10-04-2017),dasmer998 (10-23-2017),kiki563308 (10-04-2017),OkieDokie:D (02-27-2018),zyrazi (10-13-2017)

  3. #2
    Matheus Migliani's Avatar
    Join Date
    Jan 2012
    Gender
    male
    Posts
    15
    Reputation
    10
    Thanks
    6
    i have g402
    how to use this?

  4. #3
    mir47253's Avatar
    Join Date
    Nov 2016
    Gender
    male
    Posts
    3
    Reputation
    10
    Thanks
    0
    dude best one yet..thnk u so much..btw i am EaglEyes
    <3

  5. #4
    ahiddenmessi's Avatar
    Join Date
    Dec 2016
    Gender
    female
    Posts
    249
    Reputation
    10
    Thanks
    120
    Quote Originally Posted by Matheus Migliani View Post
    i have g402
    how to use this?
    Bruh I wrote it. Use Logitech gaming software

    - - - Updated - - -

    Quote Originally Posted by mir47253 View Post
    dude best one yet..thnk u so much..btw i am EaglEyes
    <3
    Wait I will diskord you I miss you so much

  6. #5
    Ali Akbar's Avatar
    Join Date
    Jun 2016
    Gender
    male
    Posts
    44
    Reputation
    10
    Thanks
    2
    I'm going to buy Logitech G300S can u make this working on it ?

  7. #6
    ahiddenmessi's Avatar
    Join Date
    Dec 2016
    Gender
    female
    Posts
    249
    Reputation
    10
    Thanks
    120
    Quote Originally Posted by Ali Akbar View Post
    I'm going to buy Logitech G300S can u make this working on it ?
    Sure I can. Just tell me how you want to customise the btns

  8. #7
    ahiddenmessi's Avatar
    Join Date
    Dec 2016
    Gender
    female
    Posts
    249
    Reputation
    10
    Thanks
    120
    update : increase the sleeptime if you have higher sensitivity. ( in variable definition and reset)

  9. #8
    akaysama's Avatar
    Join Date
    Oct 2017
    Gender
    male
    Posts
    1
    Reputation
    10
    Thanks
    0
    Man do one for the G502, will be great

  10. #9
    ahiddenmessi's Avatar
    Join Date
    Dec 2016
    Gender
    female
    Posts
    249
    Reputation
    10
    Thanks
    120
    Quote Originally Posted by akaysama View Post
    Man do one for the G502, will be great
    Sure , what btns do you want to adjust the recoil? And what's your sensitivity?

  11. The Following User Says Thank You to ahiddenmessi For This Useful Post:

    niqqaforever (01-29-2019)

  12. #10
    f00re's Avatar
    Join Date
    Nov 2014
    Gender
    female
    Posts
    3
    Reputation
    10
    Thanks
    0
    Nvm, all this script does it to drag the mouse down. Not really no recoil. Tried with both g403 and g502(Which is the more advanced version of g402)
    Last edited by f00re; 10-09-2017 at 11:38 AM.

  13. #11
    ahiddenmessi's Avatar
    Join Date
    Dec 2016
    Gender
    female
    Posts
    249
    Reputation
    10
    Thanks
    120
    Quote Originally Posted by f00re View Post
    Nvm, all this script does it to drag the mouse down. Not really no recoil. Tried with both g403 and g502(Which is the more advanced version of g402)
    I don't get your meaning of 'advanced' . Even g900 loads scripts in same way

    - - - Updated - - -

    And btw this is what a macro does. Not hacking

  14. #12
    Ali Akbar's Avatar
    Join Date
    Jun 2016
    Gender
    male
    Posts
    44
    Reputation
    10
    Thanks
    2
    Hello Buddy ..
    So I Bought The G300s now i want u to make a favor for me and customize the buttons like this :

    - G7 to increase the recoil
    - G6 to decrease the recoil
    - My Sensitivity : 40 - 40 - 50

    and put in mind that i used G4 for gadget and G5 for PTT ..
    Appreciate your work and waiting for you to response ..

    Thanks
    Last edited by Ali Akbar; 10-10-2017 at 12:57 PM. Reason: adding a note

  15. #13
    ahiddenmessi's Avatar
    Join Date
    Dec 2016
    Gender
    female
    Posts
    249
    Reputation
    10
    Thanks
    120

    Post g300s

    Quote Originally Posted by Ali Akbar View Post
    Hello Buddy ..
    So I Bought The G300s now i want u to make a favor for me and customize the buttons like this :

    - G7 to increase the recoil
    - G6 to decrease the recoil
    - My Sensitivity : 40 - 40 - 50

    and put in mind that i used G4 for gadget and G5 for PTT ..
    Appreciate your work and waiting for you to response ..

    Thanks


    there you go.

    event 7 = increase recoil
    event 6 = decrease recoil
    alt + event 7 = reset recoil
    alt + event 6 = reset recoil

    this might not fit you at first. (cuz we use different DPI )
    after testing tell me if you want more default recoil or less ( the recoil set before you adjust it )

    go to logitech gaming software, siege profile, script, file, import.

    try both 50 and 25. they have different default recoil

    sooner u may tell me the recoil you want for ash or jagger

    then i can set : shift + g7 = ash recoil

    shift + g6 = jagger recoil



    Quote Originally Posted by Matheus Migliani View Post
    i have g402
    how to use this?



    same for you ,

    there you go.

    event 7 = increase recoil
    event 8 = decrease recoil
    alt + event 7 = reset recoil
    alt + event 8 = reset recoil

    this might not fit you at first. (cuz we use different DPI )
    after testing tell me if you want more default recoil or less ( the recoil set before you adjust it )

    go to logitech gaming software, siege profile, script, file, import.

    try both 50 and 25. they have different default recoil

    sooner u may tell me the recoil you want for ash or jagger

    then i can set : shift + g7 = ash recoil

    shift + g8 = jagger recoil

    <b>Downloadable Files</b> Downloadable Files
    Last edited by ahiddenmessi; 10-11-2017 at 07:40 AM.

  16. The Following 17 Users Say Thank You to ahiddenmessi For This Useful Post:

    1150ny (01-27-2018),akaysama (10-11-2017),bf1xxx (11-28-2017),code1391 (02-28-2018),cykablyat1998 (06-17-2020),dimabuhna1996 (03-23-2019),haxorleet (08-16-2018),huge223029 (01-08-2018),katerin (05-13-2020),mangmum (08-17-2020),mckoy1925 (01-30-2018),momyxx (09-06-2019),promo123 (05-22-2018),saolusb (11-26-2017),smegol-noob (11-17-2017),zenvox (01-05-2018),zhz950107 (10-28-2017)

  17. #14
    face100's Avatar
    Join Date
    May 2015
    Gender
    male
    Posts
    17
    Reputation
    10
    Thanks
    8
    Hi, Possible for Logitech G502 Proteus Spectrum ? Thanks

  18. #15
    ahiddenmessi's Avatar
    Join Date
    Dec 2016
    Gender
    female
    Posts
    249
    Reputation
    10
    Thanks
    120
    Quote Originally Posted by face100 View Post
    Hi, Possible for Logitech G502 Proteus Spectrum ? Thanks
    gimme the G key you wanna increase, decrease recoil

    - - - Updated - - -



    try this, same with g402, i think g7 g8 is the best btn for it
    <b>Downloadable Files</b> Downloadable Files

  19. The Following 21 Users Say Thank You to ahiddenmessi For This Useful Post:

    AHITMAN (11-15-2017),akaysama (10-11-2017),alfredogb (03-22-2018),Allen Smithee (12-17-2017),Apex777 (08-14-2018),bard.exe (04-26-2018),DePemy (11-15-2017),Dobrido (11-13-2017),face100 (10-11-2017),harliem (08-25-2018),Jeander (11-29-2017),johan87 (08-12-2020),Kvothe-_- (11-26-2017),lorexa (11-23-2017),Me Gusta (10-23-2017),momyxx (09-06-2019),PauloPaulo123 (10-11-2017),pazze_X (10-21-2017),pkdauto (03-20-2018),shiuan (07-27-2019),VCloud (08-14-2018)

Page 1 of 10 123 ... LastLast

Similar Threads

  1. [Request] Logitech macros for Csgo
    By Danah in forum Counter-Strike 2 Coding & Resources
    Replies: 10
    Last Post: 03-03-2020, 06:46 PM
  2. Logitech macros for cf
    By Danah in forum CrossFire Discussions
    Replies: 2
    Last Post: 03-22-2018, 03:41 AM
  3. [Request] Logitech macros for cf
    By Danah in forum CrossFire Hack Coding / Programming / Source Code
    Replies: 0
    Last Post: 07-04-2017, 03:10 AM
  4. [Release] Logitech Macros for Blackshot
    By OwnOne in forum Blackshot Hacks & Cheats
    Replies: 9
    Last Post: 10-04-2012, 05:06 AM
  5. [Release] Logitech Macros for Blackshot
    By OwnOne in forum Blackshot Hacks & Cheats
    Replies: 6
    Last Post: 09-30-2012, 04:03 PM