Solved Let the user change offsets (C#)

Hexui Undetected CSGO Cheats Sinkicheat PUBG Cheat

Mikail601

Newbie
Full Member
Jan 11, 2014
10
132
0
Hey, i want to make something that can make the users change the offset so they can use it for other servers of the game i want to hack.

Code in C#

Here is a little piece of my code:
C#:
bool Hastespeed = false;
String HastePointer = "1075A158";
int[] HasteOffset = { I want in this part a textbox so people can use their own offsets in here};
int HasteValue = 75;
How to do this?

In the form it is:

checkbox1 -> button 1 -> textbox1 -> to change it to a custom offset.
 
Last edited:

Crazywink

Hacker
Meme Tier VIP
Dank Tier Donator
Jul 18, 2012
626
4,613
17
Just convert the string to an int. :) Int32.Parse(textBox1.Text);

-Crazywink
 

Mikail601

Newbie
Full Member
Jan 11, 2014
10
132
0
If i add this to the button1_click event it gives me an error

C#:
HasteOffset = Int32.Parse(textBox1.Text);
am i doing something wrong or am i putting this on the wrong place?
 

Crazywink

Hacker
Meme Tier VIP
Dank Tier Donator
Jul 18, 2012
626
4,613
17
Make sure to include the curly brackets.

int[] HasteOffset = { Int32.Parse(textBox1.text) };

Also, is there a reason you're storing it in an array, do you have multiple offsets you're changing?
 

Mikail601

Newbie
Full Member
Jan 11, 2014
10
132
0
I have just one offset, but i tried and it didnt work. If i tryed to add a diferent offset it gave me some weard error without studio running, i runned the program as administrator to.
 
Attention! Before you post:

Read the How to Ask Questions Guide
99% of questions are answered in the Beginner's Guide, do it before asking a question.

No Hack Requests. Post in the correct section.  Search the forum first. Read the rules.

How to make a good post:

  • Fill out the form correctly
  • Tell us the game name & coding language
  • Post everything we need to know to help you
  • Ask specific questions, be descriptive
  • Post errors, line numbers & screenshots
  • Post code snippets using code tags
  • If it's a large project, zip it up and attach it

If you do not comply, your post may be deleted.  We want to help, please make a good post and we will do our best to help you.

Community Mods