Posts

C# Conditional Checking

C# Conditional Checking Last Revision: 17th February 2019 Conditional checking is in every piece of programing: from simplistic to complex. In this tutorial, we'll cover if and switch statements. Note: In C# (and other languages), the equals signs has 2 types - assignment and condition. Assignment Assignment is used to assign a value to a variable (var number = 20) Conditional Conditional is used when comparing 2 or more values to each other ( tempA == tempB ) //Assignment (One = symbol) int Year = 2019; float PI = 3.142; float money = 3.50; float addUp = PI + money; //Conditional (Two = symbol) if (Year == 2019) //Is the variable "Year" equal 2019? { Console.WriteLine( "Hey, its 2019!" ); } else { Console.WriteLine( "Wooh, it isn't 2019!" ); } if (PI == money) //Is the variable "PI" is the same value as variable "money"? { Console.WriteLine( "PI is the same as money!...

C# Object Oriented Programming

Image
Object Oriented Programming Last Revision: 12th September 2018 Object Oriented Programming is a brand new(ish) way to program your project. Notice the word Object Oriented  is used in the title. We create blocks ( Objects ) inside a Class , which can be re-used at any point of the program! Let's get cracking! Let's say a business wanted you to create a program for them, they want to hold data on Games. They want you to make a program which helps them to organise their games for them. Let's go! Step 1: Planning Whenever you start a project, it's probably best to plan out how your program will work. This will (Hopefully) reduce work time as you already know what to implement. Let's go through some techniques: Abstraction Abstraction is an OOP technique which restricts what you see and what the class sees. For example let's look at a UML Diagram: Without Abstraction, the crazy client is able to program the same actions and functions as th...

C# Tutorial - Iteration Statements

Image
C# Tutorial - Iteration Statements Last Revision: 12th September 2018 Iterations helps the process of going through multiple variations of large or small collection groups (Arrays, Lists etc) Today I'll be explaining through 4 iterations with their benefits: Do ... While Loop For Loop For each Loop While Loop When do I use Iteration loops in my program? It's best to use an iteration loop when you need to process variables that contain indexes or a range. Here is example of both: Iteration 1 - Do While Loop & While Loop The Do While Loop acts differently to its partner in crime, the While Loop. The Do While Loop does the execution then the validation as the While Loop does the validation then the execution. Here is a few code samples: These two Iterations produces the following outputs: DoWhileInt Number: 1 DoWhileInt Number: 2 DoWhileInt Number: 3 DoWhileInt Number: 4 DoWhileInt Number: 5 DoWhileInt Number: 6 DoWhi...

C# Memory - Tutorial

Image
C# Memory Tutorial Learn how to make a cheat/trainer using the power of c#! Why use C# language to create a cheat like this? The joys of C# is that it is easy to understand. It's like of like C# is the big brother for Visual Basic. Most cheats tend to use SDK and C++ to create cheats but I'd recommend getting use the the C language in general! If you have experience in coding then the process of learning C# will be smooth. You have a greater chance of learning c# quicker if you have experience of java or javascript. If your like me, who was all for visual basic then it can take a while! Why no use C++ like everyone else is using? It's all down to how you like the language, I don't mind C++ but Reverse Engineering doesn't seem to work for me with C++. I've retried different methods of getting C++ to work but it seems that C++ isn't working for me, so you're stuck with me in C#. :) C++ or C#? What do you recommend? What ever your com...
Image
Hammer Vscript Tutorial: Basic True/False Statement Hello, fellow coders! This is the worded version of my tutorial from my other video: CHECK IT OUT!  :P Goal after this tutorial : The ability to know how to add your very own vscript to create more functions or better ways to get around your map depending on the type of map you are creating. LET'S START!  1.  Step 1 - Creating the vscript file Creating the vscript file is quite simple. There is no compiler needed, so there is no waiting at all. There is many ways to create this file, either using windows default note editor or what I use "Notepad++" I would prefer to you guys to use Notepad++. If you do, load it up! Then go to: Language >> L >> Lua I know this is not the correct language we are using (Which is squirrel) but it is basically using the same structure, also structures are highlighted in blue which is amazing!) Then save the empty file - ...