#Beginner Coding

1 messages · Page 1 of 1 (latest)

distant flame
#

If you dont know the basics codecademy is a huge help

#

As for IDE’s just use visual studios community, free and easy to use / setup

#

And yes it’s going to take you a while before you can do anything to kernel level anticheats, and games protected by them

wintry spindle
#

exactly what i was thinking

#

kernal anticheats are INSANELY hard to crack so I dont have any idea on how long it'll take me to beat

#

is cpp.sh good for basic level commands?

distant flame
#

Also I recommend cazz on youtube, and the cherno for c++ in general

wintry spindle
#

just while visual studio is installing

wintry spindle
#

I love watching his videos

distant flame
#

There’s a very good website I’m going to refer you to but I don’t know the url from the top of my head, I’m gonna look it up quickly

wintry spindle
distant flame
wintry spindle
#

cazz mentioned this in his vid i watched

distant flame
wintry spindle
#

im definitely gonna use it

wintry spindle
distant flame
#

But you learn by coding so just do stuff that challenges you

wintry spindle
#

exactly

distant flame
wintry spindle
#

i think ima start by coding basic commands and my first cheats are gonna be white noise and bo3

#

bc no anti cheat

distant flame
#

Yeah do me a favor and dont share them 😂

wintry spindle
#

never!

#

i dont dish

distant flame
#

Otherwise I’ll have to ban you and neither of us want that

#

Lol

wintry spindle
#

and i wont ever cheat in a public match

#

just in private for experience

distant flame
#

I’m assuming you are familiar with cheat engine and how it works

wintry spindle
#

mhm

#

to an extent

distant flame
#

You know how to edit values

wintry spindle
#

i know what it does but not really how to set one up if u get what i mean

distant flame
#

Scan, stuff like that?

wintry spindle
#

I am literally brand new to this lmao

distant flame
#

Pointer scans you need to learn asap, very simple in cheat engine

cosmic violet
#
wintry spindle
#

ayy ty!

distant flame
#

Lonewolf the goat

wintry spindle
#

real!

distant flame
#

Also cyborgelf made some pretty decent videos

#

I dont think hes active anymore though :/

wintry spindle
#

ahh

cosmic violet
wintry spindle
#

// my first program in C++
#include <iostream>

int main()
{
std::cout << "Hello, my name is wzrd and this is my first basic command";
}

ayyy lets goo

cosmic violet
#

learning more about networking too

distant flame
#

But yeah basically a pointer scan is just, u go into a game with no AC, lets say your health is 100. U scan for a value of 100. U then take damage, say your health is 58. You scan again for 58 and now you have the pointer for health and you can edit that how you wish

cosmic violet
cosmic violet
#

if you need to find a pointer address you could do it in many ways

distant flame
#

Location of code usually doesn’t though

#

But yeah gamehackingacademy teaches u that mostly so 👌🏻

cosmic violet
#

ye

distant flame
#

I’m by no means a modder or anything I just know the basics 😂

#

@wintry spindle u can always dm me but cant promise I always have an answer for you

cosmic violet
wintry spindle
#

whats my issue here?

cosmic violet
#

uhh

#

what IDE is that

wintry spindle
#

just while visual studio installs

distant flame
#

No return value?

cosmic violet
#

no a return value doesnt matter since its a main function

distant flame
#

Fair but still useful no?

cosmic violet
#

the compiler knows its the main function so it just returns in compile time

distant flame
#

👌🏻

#

Compile again

#

Wzrd

cosmic violet
#

you can try uhh

#

other c++ compilers

#

like GNU

wintry spindle
#

working now!

cosmic violet
#

ah ok

distant flame
#

Didnt compile after changes?😂

wintry spindle
#

really weird why it wasnt the first time im ngl

wintry spindle
#

i guess it bugged

distant flame
#

Welcome to online IDE’s

#

Visual studios, trust

#

Use it

cosmic violet
#

^

distant flame
#

Also if ur gonna get into reversing and stuff

#

Dont be scared of assembly

cosmic violet
#

uhh yes

#

100% you gonna learn assembly

distant flame
#

Lonewolf you sent me that online compiler no?

#

For c++ to assembly

cosmic violet
#

ye

distant flame
#

Yeah i dont have a link to it but use that

#

Yesss

#

Ty sir

cosmic violet
#

its cool

wintry spindle
#

so im reinstalling rn

cosmic violet
#

but assembly x86 and assembly x64 is alot different

distant flame
#

Astrea told me

#

But I don’t know enough

#

To know the differences

#

He told me though xD I’m just too stupid to remember

wintry spindle
#

ok can i read out my notes to you

#

so i can see if im getting this right?

distant flame
#

Ofc

cosmic violet
#

you could use ghidra(free) or IDA pro(paid) for reverse engineering

#

but i dont recommened ghidra for big games

distant flame
#

X64dbg

wintry spindle
#

hash lines = directive read by preprocessor

#

wtf

cosmic violet
#

x64/86dbg works for dumping games

distant flame
#

Misread ur message ngl

#

Ida pro u need cracked version that shit is expensiveeeee

cosmic violet
#

i never used it

wintry spindle
#

int main() lines iniate the code to start

cosmic violet
#

but useful

distant flame
cosmic violet
#

basically
#include "file.h" just copy pastes the file into the current cpp/hpp file

distant flame
#

Header files and shit, id say dont worry about them for now learn c++ basics first, but u need to know how they function essentially

cosmic violet
#

header files are usually for organizing stuff instead of putting all the stuff in one file

distant flame
#

Yeah exactly

#

Ahhhh you got lonewolf to open a project in vs😂

cosmic violet
#

yes

#

im testing something to put it here

distant flame
#

I need to get back into coding fr

#

Just been busy with job and shit

#

Havent coded in months

wintry spindle
#

do either of you have .txt file with notes over this i can go thru?

distant flame
#

I do actually yeah lmao

#

Imma boot up my pc brb

wintry spindle
#

alr

cosmic violet
#

uhh

#

i dont think so

#

i just follow the tutorials, after a few sessions i go make personal projects

distant flame
#

fuckk mightve deleted it

distant flame
#

yeah I deleted it I think :/

cosmic violet
#

file.h

}

main.cpp

#include <iostream>

void function(){
    std::cout << "Hello world\n";
#include "test.h"

int main() {

    function();

}

Output

Hello world
#

that works

#

crazy

distant flame
#

have u coded in any other languages before @wintry spindle

cosmic violet
#

you could look at my github but disclaimer its messy

distant flame
#

I dont have anything public on my github so no use in linking it xd

cosmic violet
#

real

distant flame
#

dude wants a challenge

wintry spindle
#

what does this mean

wintry spindle
distant flame
#

yeah c++ is pretty worthless compared to other languages for most basic programs so its gonna be harder than python for example

#

but for game reversing its prob the best one out there

cosmic violet
distant flame
#

low level language

cosmic violet
#

you missed the <>

distant flame
#

^^

cosmic violet
#

and the "line two:; should be "line two";

wintry spindle
#

nvm got it running

distant flame
#

👌

wintry spindle
wintry spindle
cosmic violet
#

some people say c++ is a bad start for programming, but to me i started c++ and it went badly then its fine

#

still struggling tho

#

just dont quit

distant flame
#

struggle never ends pain

cosmic violet
#

real

distant flame
#

coding:
code doesnt work
dont know why
paste solution from internet
code doesnt work
dont know why
run again
code works now
dont know why

cosmic violet
#

hmm

#

cant relate to that

#

i usually go for docs and no stackoverflow

wintry spindle
#

whats my error here?

cosmic violet
#

uhh

distant flame
#

well firstly dont put space in between main and ()

#

no clue if that matters

#

but dont do that

wintry spindle
#

it doesnt

#

but okay

cosmic violet
#

i think the c++.sh is bit buggy

#

💀

#

because that will work

distant flame
#

yeah

#

lol

wintry spindle
#

yeah uh

#

it says

#

error at std::cout

cosmic violet
#

oh

#

you have to #include <iostream>

distant flame
#

include iostream

#

yeah

wintry spindle
#

oh okay

cosmic violet
#

std -> standard library

#

standard library -> iostream

#

thats the c++ standard library

distant flame
#

iostream = input output stream

#

if that makes it easier to remember

cosmic violet
#

for c its stdio.h btw

#

but we're on c++ so it doesnt matter

wintry spindle
#

in my notes too 😭

distant flame
#

good note

cosmic violet
#

Iostreams smh

#

iostream

wintry spindle
#

issue now?

cosmic violet
#

oh

#

you have to put space

#

after the int main()

wintry spindle
#

bruh

distant flame
#

what

cosmic violet
#

should be like

#include <iostream>
int main() {std::cout << "one line";}
#

i dont know how to explain it so i just typed it out

distant flame
#

not after int main innit 😭

wintry spindle
#

ayy

#

nice

cosmic violet
#

👏

wintry spindle
#

nice nice

#

getting somewhere

#

kinda

distant flame
#

banger output

wintry spindle
#

have to figure out the space

#

between one line

#

and real

cosmic violet
#

you could << std::endl after the double quotation

distant flame
#

or just \n

cosmic violet
#

^

distant flame
#

but \n needs to be in quotations

#

so "\n"

cosmic violet
#

ye

#

"mommy\n"

distant flame
#

ok bro

wintry spindle
cosmic violet
#

what

wintry spindle
#

oh

cosmic violet
#

😭

distant flame
#

"mhm yes mommy" << "\n"; also works for clarification

wintry spindle
distant flame
#

std::cout << "test" << std::endl;

wintry spindle
#

ahh

#

ok nice

#

assistance on how to set vs up? like what options do i choose

#

just cpp?

cosmic violet
#

yes

distant flame
#

yeah

#

u can always add other stuff later

wintry spindle
#

just this one correct?

distant flame
#

so dont worry about it for now

cosmic violet
#

yup

distant flame
#

yeah check that box

wintry spindle
#

ok its installing

cosmic violet
#

hm?

wintry spindle
#

make the code box thingy

cosmic violet
#

oh

#

just put the tilda ``

distant flame
#

test

#

3 tildas before and 3 after

#
cool haha
cosmic violet
#

or you want the code box
```programminglangauge

```

#

for c++ its cpp

wintry spindle
#

int main () { std::cout << "one line"; std::cout << "real shot caller, straight baller"; }

#

wtf

#

smh

distant flame
cosmic violet
#

^

wintry spindle
#

oh okay

#
{
  std::cout <<
    "one line";
  std::cout
    << "real shot caller, straight baller";
} ```
#

there

cosmic violet
#

perfect

distant flame
#

also gives syntax highlighting i think

wintry spindle
#

should run the same right?

distant flame
#

or not?

cosmic violet
distant flame
#

ah

cosmic violet
#

and strings

distant flame
#

ait ait

wintry spindle
#

wait i dont wanna be an it man

cosmic violet
wintry spindle
#

this is just a side hobby ig

distant flame
#

I would recommend keeping std::cout << "thingy thingy \n"; on one line

#

good practice in general

wintry spindle
#

wdym?

distant flame
#

its 2 lines

#

keep it 1 line to make it easy to read

wintry spindle
#

ahh

cosmic violet
#

man you got some good english smh

distant flame
#

but you are using indents (i think thats what its called?) so thats good

#

just tab basically

cosmic violet
#

yes

distant flame
cosmic violet
#

makes stuff pretty

cosmic violet
#

i cant explain shit

distant flame
#

dunno

#

apparently dutch people are good english speakers

#

my experience tells me otherwise but

cosmic violet
#

thought you are canadian

distant flame
#

nah im dutch lol

wintry spindle
#

Like so?

distant flame
#

precisely

cosmic violet
wintry spindle
#

whats the difference in "\n" and std::endl;

cosmic violet
#

its the same thing

#

it breaks line

wintry spindle
#

alright

#

i think ima use std::endl; seems easier to me

distant flame
#

one flushes the stream or something

#

endl does

#

I have literally no clue what that means or what it does

#

astrea told me

#

the genius himself pepe_pray

cosmic violet
distant flame
#

i use \n

#

its preference

#

¯_(ツ)_/¯

wintry spindle
#

the point in comments?

#

"The first of them, known as line comment, discards everything from where the pair of slash signs (//) are found up to the end of that same line. The second one, known as block comment, discards everything between the /* characters and the first appearance of the */ characters, with the possibility of including multiple lines."

distant flame
#

so ur future self can understand ur moronic ass coding

wintry spindle
#

ah

distant flame
#

basically the next moring after u coded all night

#

ur gonna look at ur code

#

and think to urself

#

"i wrote this shit?"

wintry spindle
#

LMAO

cosmic violet
#

real

distant flame
#

a lifesaver

#

use them

wintry spindle
#

oh i see

distant flame
#

you'll thank yourself i promise hahahah

wintry spindle
#

tells on what it'll do

#

id assume?

distant flame
#

yeah so when you write more advanced programs, comments like that are useless and very self explanatory. but for functions or large chunks of code, comments are a lifesaver

#

prints hello world, your hangover-in-morning self can understand that. but like I said for functions and stuff its the same

wintry spindle
#

the fact i was supposed to be watching the new transformers w a girl tn

#

lol

distant flame
#

bros on that unethical coding grind

wintry spindle
#

she canceled

distant flame
#

L woman

#

visual studios wont cancel on you

wintry spindle
#

real!

#

nah he moms in hospital

#

she choked

cosmic violet
#

visual studio enjoyers 💪

wintry spindle
#

on dinner

distant flame
#

oh 💀

#

mb chief

wintry spindle
#

yeah lol

distant flame
#

😂

wintry spindle
#

she comes tomorrow

#

she also cums tomorrow

#

😉

distant flame
#

real

distant flame
#

cat

wintry spindle
#

do i have to right

#

write*

distant flame
cosmic violet
wintry spindle
#

using namespace std;

#

or can i write

cosmic violet
#

its optional

distant flame
#

bad habit for large code

wintry spindle
#

namespace std;

distant flame
#

makes life easier for small code

#

no

wintry spindle
#

i think its useless?

cosmic violet
distant flame
#

using namespace

wintry spindle
distant flame
#

yeah

wintry spindle
wintry spindle
distant flame
#

i dont use it at all shrug

#

personal preference if you want to or not

#

keep in mind its going to use standard namespace until told otherwise

cosmic violet
distant flame
#

so it can mess u up if ur a bit tired or something and ur looking for whats causing ur code to not work

distant flame
#

im just told its bad habit

#

by basically everyone

#

so

#

do with that information as you wish

wintry spindle
cosmic violet
#

pro coder

distant flame
#

precisely

wintry spindle
#

ok nice

distant flame
#

have you worked with cin yet

wintry spindle
#

no sir

#

the most ive coded

#

was roblox luas

#

which were pastes.

#

smh

distant flame
#

eh its very simple, cout outputs something, cin takes in input.

#

so for example

wintry spindle
#

ok ok

distant flame
#

int bankdetails;

cin << "enter your bank details \n";
cin >> bankdetails;

#

i think? i dont fucking know man i havent touched this language in months

#

lonewolf im prob doing somethign wrong arent i

cosmic violet
#

yup thats correct

#

you did it correct

distant flame
#

oh shit lets goooooooooo

#

im relearning c++ sunglas

cosmic violet
#

cin should be cout

#

the first one

distant flame
#

u sure?

cosmic violet
#

yeah

wintry spindle
#

good correct?

distant flame
#

use an enter after a note i beg 💀

wintry spindle
#

hm?

#

oh space

#

sure

distant flame
#

note

note

note

note

#

etc

wintry spindle
cosmic violet
#

<< is only used for output
while

is only used for input
it cant be used both

distant flame
#

yeah u rite lonewolf

#

im tripping man

wintry spindle
distant flame
#

why did i use cin twice

distant flame
#

also the open and closing brace indicates the opening and closing of a function

#

not just main function

#

any function

wintry spindle
distant flame
#

also comments wont become useless but commenting small stuff like "this outputs horseshit" becomes useless, rather you start commenting on a function like "this function takes an input and multiplies it" something like that

cosmic violet
#

yup

wintry spindle
distant flame
#

comments are always good, but commenting on obvious stuff isnt necessary

wintry spindle
distant flame
#

yes

wintry spindle
#

okay okay

distant flame
#

if u want me to nitpick it its useful, not usefull but who cares

#

¯_(ツ)_/¯

wintry spindle
distant flame
#

exactly

wintry spindle
#

ok im tired asfk

#

ima install this

#

and work more on it tomorrow

distant flame
#

fs fs

wintry spindle
#

i need to look into compilers aswell because i dont have one

distant flame
#

visual studios

#

has one

#

built in

#

no need to worry about that

wintry spindle
#

oh okay

#

and im assuming working an imgui, keys and converting to .exe applications are months away from where im at?

cosmic violet
#

yes

distant flame
cosmic violet
#

imgui is not a exe

distant flame
#

exe is just compiling, youve already done that

#

imgui is gonna take months yes

#

i read over that

#

yes ur not gonna be workign with imgui soon

#

idk what u mean by "keys"

cosmic violet
#

virtual keys

distant flame
#

like a keyboard keys?

cosmic violet
#

yes

distant flame
#

not very complicated

cosmic violet
#

its just a user input i guess

distant flame
#

and yeah an exe is just a compiled version of your program, so what youve been doing online, basically @wintry spindle

distant flame
#

drawing an esp and stuff is far away, but not out of reach if u just keep practicing

cosmic violet
#

i think there is aguy doing that stuff

#

i forgot his youtube channel

distant flame
#

cazz

#

prob

#

chad ngl

cosmic violet
#

yup

#

thats him

distant flame
#

im gonna close this help case, my dms are open (obv) and I think lonewolf would gladly help you as well

#

anything to add before i close?

cosmic violet
#

im not really a good expert at this but yeah 👍

wintry spindle
#

for hwid locking

distant flame
#

yes ur not gonna be doing that anytime soon

wintry spindle
#

yeah

distant flame
#

Im going to bed my guy lmk tomorrow if u have any questions

wintry spindle
#

alr

last coral
#

of course this should never be how you make keys as you were saying you wanted to earlier, but its a good starter option thats pretty useful, and what do you mean converting to exe applications? you mean building the project?

wintry spindle
#

yeah i looked more into it ig im just a retard

#

its just compiling my project 😭

swift seal
#

I might be a bit late on the ball haha but I just saw this. I’ve read up a little bit and to summarize from my personal experience I would say;

IDE

As for IDE, I find Visual Studio the easiest to use. Visual Studio comes with a compiler called MSVC, which supports the grand majority of compiler specific features that people in this scene use. Visual Studio is good in the way that it brings a lot of tools like template projects and a decent context menu to ease the tedious compilation process, allowing you to pretty much not have to worry about how the compiler works and how to properly utilize all of its options until later down the road in your learning journey. There are other IDEs, compilers and systems too, like Visual Studio Code, gcc and clang, but I do not personally recommend that you start out with any of the aforementioned since they are quite a bump in complexity on the baseline compared to Visual Studio.

Recommendations

When I personally started out I watched the first approximately two hours of a 10 hour full course guide for C++. It might not work for everyone but it was enough for me. It is good if you really do not know where to start out.

Another tip I want to give you is to rewrite old code sometimes. It can be boring, sure, but it is really good to rewrite your libraries from scratch every once in a while because there is always things you can improve and you will realize what when you are rewriting it. It also gives you the opportunity to try and follow different coding styles and conventions to find out what you like. I have personally written my libraries in about six different conventions and styles.

My last but definitely not least tip is to really utilize stack overflow and Microsoft Learn. The latter especially when you are working with the Windows API. Stack overflow is amazing in the way that about 90% of your questions have already been answered, and the extra 10% you can ask and usually get a good answer within a day. When it comes to Microsoft Learn, it has nearly all CRT and all Windows API functions well documented and it also has a bunch of different guides that are great aswell.

I hope this helps and feel free to reach out to me here or privately if you need any assistance!

#

Oh and don’t be shy to ping me either, it’s not like I have much else to do haha.

wintry spindle
#

@swift seal say on white noise if i wanted esp, what values would i have to mess with?

#

just a basic shitty box esp

#

and what scanner should i use to find the values

swift seal
#

That is not code related at all really. That’s reverse engineering.

last coral
#

dawg

wintry spindle
#

ohhh okay

last coral
#

work your way up to that @wintry spindle start off smaller

swift seal
#

^^

last coral
#

like

#

find ammo

#

find gadget counts

swift seal
#

You need to get a grasp of what you are doing in the first place before you move onto stuff like that.

swift seal
#

Yeah that’s good.

#

Precisely.

#

You are sort of underestimating the work you have to put into stuff that is ”simple”.

#

Conceptually simple things are very often way more difficult to practically do.

white garden
wintry spindle
#

i know

white garden
#

tbf, if your trying to make an esp for a game without an AC that shouldnt take you TOO long

wintry spindle
#

i got it figured out

white garden
#

but like everyone else said start with the basics first obv

#

learn the winapi

#

learn a bit of reversing

#

then move onto something like assualt cube