Skip to content

Commit

Permalink
Change timings
Browse files Browse the repository at this point in the history
  • Loading branch information
barealek committed Oct 27, 2023
1 parent d68641a commit 8daaa3f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cs2hop/cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@ func main() {
}

}
time.Sleep(1 * time.Millisecond)
time.Sleep(10 * time.Millisecond)
}
}
2 changes: 1 addition & 1 deletion cs2hop/internal/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ func (c *Client) ForceJump() error {
var bytesWritten uintptr
procWriteProcessMemory.Call(processHandle, forceJump, uintptr(unsafe.Pointer(&player)), uintptr(unsafe.Sizeof(player)), uintptr(unsafe.Pointer(&bytesWritten)))

time.Sleep(4 * time.Millisecond)
time.Sleep(3 * time.Millisecond)

// Write 256 to forceJump to make the next jump possible
newForceJumpValue := uint32(256)
Expand Down

0 comments on commit 8daaa3f

Please sign in to comment.