C
C#ā€¢5mo ago
Turtles

āœ… Accessing memory pointers in C#

I want to make a WPF C# program where you can change a game's memory pointer. How do i do this?
123 Replies
Turtles
Turtlesā€¢5mo ago
by change, i mean change the value of that pointer
Jimmacle
Jimmacleā€¢5mo ago
sounds a lot like cheating to me, maybe you should read the server rules
Vi Ness
Vi Nessā€¢5mo ago
Is cheating against Discord's ToS? I don't see where #info-and-rules mentions cheating
RubyNovaDev
RubyNovaDevā€¢5mo ago
it doesn't mention cheating specifically because it covers it with the more general terms specifically, you can't use discord to aid you in violating another software's TOS and uh cheating generally breaks that
Vi Ness
Vi Nessā€¢5mo ago
Ah okay, so it is part of Discord's ToS. Thank you
RubyNovaDev
RubyNovaDevā€¢5mo ago
@Turtles with the above stated, please elaborate on why you need this
Turtles
Turtlesā€¢5mo ago
lmao if i were to cheat i would just use cheat engine no, but, i just want to push myself further in programming and since i speedrun the game i am focusing on for this, it allows me to also learn more about the game so can yall help me lol is there like a nuget package or smt for this
Jimmacle
Jimmacleā€¢5mo ago
does the game support modding? like, officially?
Turtles
Turtlesā€¢5mo ago
technically yes? you can mod certain things in the game that the devs intended also what does that have to do with anything
Jimmacle
Jimmacleā€¢5mo ago
because that affects whether what you're trying to do violates the game's TOS or not
Turtles
Turtlesā€¢5mo ago
bro idk i do not read the tos its a decade old game
Jimmacle
Jimmacleā€¢5mo ago
realistically the majority of reasons you'd want to modify the memory of a game externally is to cheat
Turtles
Turtlesā€¢5mo ago
i already said im not gonna cheat?
Jimmacle
Jimmacleā€¢5mo ago
i mean, you didn't say what you were going to do either
Turtles
Turtlesā€¢5mo ago
bruh amazing argument 10/10 i ask a question in the help channel and now im being interviewed like i killed someone lol
Jimmacle
Jimmacleā€¢5mo ago
because 99% of people asking what you're asking are trying to cheat
Turtles
Turtlesā€¢5mo ago
why would i make a program to cheat just use cheat engine
Vi Ness
Vi Nessā€¢5mo ago
That's hyperbole. They just want to make sure you're not breaking the rules
Turtles
Turtlesā€¢5mo ago
omg obviously its a hyperbole plus, cheating in a singleplayer game doesnt effect anything
Vi Ness
Vi Nessā€¢5mo ago
You still haven't said what you're trying to do, other than "it's not cheating lmao"
Turtles
Turtlesā€¢5mo ago
yes i have
Jimmacle
Jimmacleā€¢5mo ago
you haven't
Turtles
Turtlesā€¢5mo ago
^
Jimmacle
Jimmacleā€¢5mo ago
you know what we mean when we ask that question
Turtles
Turtlesā€¢5mo ago
no i dont lol i answered your quesiton
Jimmacle
Jimmacleā€¢5mo ago
what is your end goal with modifying the memory of this game? if you want help you need to be specific anyway
Turtles
Turtlesā€¢5mo ago
i do not have a goal in mind. its just to be better at programming jeez i do not need to be specific with this
Vi Ness
Vi Nessā€¢5mo ago
When you talk about speedrunning, cheating is affecting things if you're trying to cheat
Turtles
Turtlesā€¢5mo ago
omg cheat engine im not making another cheat engine
Jimmacle
Jimmacleā€¢5mo ago
there are exceedingly few projects that require this kind of thing that aren't cheating
Turtles
Turtlesā€¢5mo ago
bro if i wanted to cheat, i would just use cheat engine
Jimmacle
Jimmacleā€¢5mo ago
even if your specific use case right now isn't cheating, it has very few uses other than that
Turtles
Turtlesā€¢5mo ago
what is this lmao
Vi Ness
Vi Nessā€¢5mo ago
Can you explain how changing another process's memory furthers you as a programmer or helps you understand the game more than Cheat Engine can?
Jimmacle
Jimmacleā€¢5mo ago
if you want to play with pointers you don't need to mess with a game to do that
Turtles
Turtlesā€¢5mo ago
it furthers me as a programmer by just programming more bruh ok what if i said i just wasnt gonna do this for a game what then what would you answer with this is actually aids
Jimmacle
Jimmacleā€¢5mo ago
then i'd say the same thing
Turtles
Turtlesā€¢5mo ago
one question
Jimmacle
Jimmacleā€¢5mo ago
reading/modifying memory of another process is almost always used for cheating
arion
arionā€¢5mo ago
var x = 69;

int* y = &x;
var x = 69;

int* y = &x;
pointers
Turtles
Turtlesā€¢5mo ago
most descriptive answer ever šŸ‘
Jimmacle
Jimmacleā€¢5mo ago
there are tons of more useful things to learn about programming if that is your actual goal
Turtles
Turtlesā€¢5mo ago
bro what dude its a simple question gatekeeping information dont you want people to learn?
Jimmacle
Jimmacleā€¢5mo ago
sure, but i don't want to help people hack games
Turtles
Turtlesā€¢5mo ago
dude people have already decompiled the whole game
Jimmacle
Jimmacleā€¢5mo ago
the uses for what you're asking are almost exclusively illegitimate
Turtles
Turtlesā€¢5mo ago
im not trying to hack it
Jimmacle
Jimmacleā€¢5mo ago
why not pick something that isn't in such a gray area to learn?
Turtles
Turtlesā€¢5mo ago
what gain would i even get if i do that its my choice lmao i can choose what i want to learn
Vi Ness
Vi Nessā€¢5mo ago
If the whole game is decompiled what more do you learn about it from accessing its memory? This doesn't line up with your original goal
Jimmacle
Jimmacleā€¢5mo ago
if you really do want to learn it i doubt you'll get help with it here
Turtles
Turtlesā€¢5mo ago
bro because the decompile is really bad
Jimmacle
Jimmacleā€¢5mo ago
because you'll get these questions every time you ask
Turtles
Turtlesā€¢5mo ago
just answer the original question
Jimmacle
Jimmacleā€¢5mo ago
no
Turtles
Turtlesā€¢5mo ago
omg help channel is not being help channel rn
Jimmacle
Jimmacleā€¢5mo ago
how surprising, help channel doesn't help with sketchy projects pick literally anything other than this and people would be glad to help
Turtles
Turtlesā€¢5mo ago
how is this sketch
Jimmacle
Jimmacleā€¢5mo ago
i've explained that several times
Vi Ness
Vi Nessā€¢5mo ago
You know why its not helpful to you right now. Discord ToS has been mentioned multiple times and you haven't given a convincing reason how you wouldn't be breaking the ToS of the game you're trying to modify
Turtles
Turtlesā€¢5mo ago
im not modifying the game its just memory that is not permanent
Vi Ness
Vi Nessā€¢5mo ago
That is literally modifying the game
Jimmacle
Jimmacleā€¢5mo ago
i can count on one hand the number of times i've had to do what you're asking in practice, the number is 0 this isn't something that you do in legitimate programming 99% of the time
Turtles
Turtlesā€¢5mo ago
ok we are different people? have you ever thought of that?
arion
arionā€¢5mo ago
In a nutshell, the reason why servers dont rly wanna have anything to do with the topic of cheating is, is puts the entire discord server in jeopardy. Discord bans servers associated with cheating. The secondary reasoning would be the moral implications
Jimmacle
Jimmacleā€¢5mo ago
if your goal is to learn, why not pick a safer project instead of trying to bully us into telling you what you want?
Turtles
Turtlesā€¢5mo ago
but im not cheating so it doesnt matter jeez how am i bullying what is this bruh
Jimmacle
Jimmacleā€¢5mo ago
seriously, pick any legitimate project and we'd be happy to help
Turtles
Turtlesā€¢5mo ago
this is legitimate
Jimmacle
Jimmacleā€¢5mo ago
this is too much of a gray area regardless of whether you're really cheating or not that is your answer
Turtles
Turtlesā€¢5mo ago
when did trust just not become a thing people had when have i lost your trust?
Vi Ness
Vi Nessā€¢5mo ago
Heck, I'd be happy to help with this one if there wasn't rules involved
Turtles
Turtlesā€¢5mo ago
ok dm's
arion
arionā€¢5mo ago
Its too close to "sussy" territory for the liking is whats likely happening
Turtles
Turtlesā€¢5mo ago
lets go
Vi Ness
Vi Nessā€¢5mo ago
No thanks
Turtles
Turtlesā€¢5mo ago
so youre not happy to help you are lying
Jimmacle
Jimmacleā€¢5mo ago
since kids come into this discord and blatantly ask for help cheating
Turtles
Turtlesā€¢5mo ago
im not?
Jimmacle
Jimmacleā€¢5mo ago
i'm saying it's common enough that that's the reason we don't trust what you're saying
Turtles
Turtlesā€¢5mo ago
where can i learn the information im trying to obtain
Jimmacle
Jimmacleā€¢5mo ago
you're asking about something almost exclusively used in cheating, not telling us what you're actually trying to do, and getting pissed off that we aren't caving
Turtles
Turtlesā€¢5mo ago
just answer that then ill leave
Jimmacle
Jimmacleā€¢5mo ago
google
Turtles
Turtlesā€¢5mo ago
google is smooth brain
Jimmacle
Jimmacleā€¢5mo ago
google is the best tool you have to find information if you can't find it there, you should pick a simpler project
arion
arionā€¢5mo ago
There are legitimate uses for pointers in C#, windows apis for example. But what jIMMACLE is likely trying to say is, you're acting suspicious enough for help on the topic to be risky or dangerous to everyone involved
Vi Ness
Vi Nessā€¢5mo ago
ChatGPT might tell you if you tell it that you're not breaking ToS or doing shady stuff multiple times. Kinda the same way we're asking you about it
Turtles
Turtlesā€¢5mo ago
bro what omg
Jimmacle
Jimmacleā€¢5mo ago
pointers are A-OK, what isn't A-OK is modifying out of process memory
Turtles
Turtlesā€¢5mo ago
how am i sus rn
arion
arionā€¢5mo ago
<:pocky_aa_this_DONTSTEAL:778751000701304832> thats how
Turtles
Turtlesā€¢5mo ago
C# discord server being helpful as always šŸ‘
Jimmacle
Jimmacleā€¢5mo ago
i don't know why you keep saying that as if we'll change our mind
Vi Ness
Vi Nessā€¢5mo ago
You keep saying the same things. Of course you're not getting the information. Nothing has changed
Turtles
Turtlesā€¢5mo ago
you are just gatekeeping information
Jimmacle
Jimmacleā€¢5mo ago
yes
Turtles
Turtlesā€¢5mo ago
yeah like wtf
Jimmacle
Jimmacleā€¢5mo ago
and i've said why several times
Turtles
Turtlesā€¢5mo ago
each of those reasons are not true i am not trying to cheat
Jimmacle
Jimmacleā€¢5mo ago
they are, if you need mods to come back to tell you that we can wait
Turtles
Turtlesā€¢5mo ago
ok
Aaron
Aaronā€¢5mo ago
what game is this even for
Turtles
Turtlesā€¢5mo ago
The Escapists
Aaron
Aaronā€¢5mo ago
eh, probably fine
arion
arionā€¢5mo ago
bro
Turtles
Turtlesā€¢5mo ago
thank you
arion
arionā€¢5mo ago
its unity u dont need pointers
Turtles
Turtlesā€¢5mo ago
its not unity its clickteam fusion šŸ’€
Turtles
Turtlesā€¢5mo ago
clickteam fusion? the unity one is only for the mobile and console ports of the game do research bud
Jimmacle
Jimmacleā€¢5mo ago
ironic
Aaron
Aaronā€¢5mo ago
WriteProcessMemory function (memoryapi.h) - Win32 apps
Writes data to an area of memory in a specified process. The entire area to be written to must be accessible or the operation fails.
Turtles
Turtlesā€¢5mo ago
thank you that is all i ask for
Jimmacle
Jimmacleā€¢5mo ago
you know he just googled that KEKW
Aaron
Aaronā€¢5mo ago
it has no C# equivalent, you just have to p/invoke it eh, I knew the name already
Turtles
Turtlesā€¢5mo ago
ok? i do not care i got what i came for bruh stop typing this thread is over
Jimmacle
Jimmacleā€¢5mo ago
you have a really bad attitude, tbh
Turtles
Turtlesā€¢5mo ago
i said thanks? you literally replied "no" to a question thats a bad attitude
Jimmacle
Jimmacleā€¢5mo ago
enjoy hacking your game
Turtles
Turtlesā€¢5mo ago
i will
Anchy
Anchyā€¢5mo ago
YEP
Want results from more Discord servers?
Add your server
More Posts