Results 1 to 2 of 2
  1. #1
    AeroMan's Avatar
    Join Date
    Dec 2008
    Gender
    male
    Location
    Hell
    Posts
    3,294
    Reputation
    189
    Thanks
    3,049
    My Mood
    Busy

    Post #Lesson 1 - Synthaxes

    I should probably post those tutorial in the C++ section.
    But since everyone is to lazy to go there including myself i just post it here.


    #Lesson 1 - Synthaxes
    What is a synthax?
    - A synthax is simply a character ( "{" and "}" ).
    - Often when you get an error it's because you have misplaced or have fergotten a synthax, which can be really annoying.

    We start of with a new project for this (WIN32 > Dll > Empty Project).


    We write our basic function and include our windows header.


    As you can see i marked "CODEBLOCK 1", keep the code underneath it in mind.

    Code:
    //CODEBLOCK 1
    *(long*)(dwExamplePtr + 0x44C) = 3;
    This code resprisents Visual Premium, ofcourse this is just an example and will not work.

    So now we want to add another code.

    Let's pretend this is our Premium Time.
    Code:
    {
    	*(long*)(dwExamplePtr + 0x450) = 3600;
    }
    I see alot of people do this, WHY?
    This is like standing in front of a door and sticking in the key to unlock the door, once it's unlocked lock it again to then unlock it AGAIN.
    It's not needed and a waste of time.

    Those synthaxes are completely useless.


    Let's be honest, this code is alot nicer.
    It's not a problem with small codes, but once you get a huge code you WILL get into trouble doing this.


    Any questions? ASK THEM!
    Last edited by AeroMan; 09-02-2014 at 07:44 AM.

  2. The Following 5 Users Say Thank You to AeroMan For This Useful Post:

    armour199915 (09-22-2015),Jhem (09-02-2014),pusongbato (09-03-2014),WhiteHat PH (09-02-2014),znoen (09-02-2014)

  3. #2
    WhiteHat PH's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Location
    Some Where I Belong
    Posts
    1,350
    Reputation
    25
    Thanks
    3,100
    My Mood
    Aggressive
    Very Nice Tutorial ! Good Job!






    When Im gone dont forget me cause I will come back someday.



    Youtube Channel


     


Similar Threads

  1. [Release] #Lesson 2 | RapidFire Hacks . [Source Code][C++ Knowledge]
    By syahid1709 in forum Blackshot Hacks & Cheats
    Replies: 5
    Last Post: 05-26-2013, 02:06 AM
  2. [Help Request] Aquiring a good c++ coding/lessons links.
    By crazy301 in forum Combat Arms Coding Help & Discussion
    Replies: 4
    Last Post: 07-23-2012, 09:18 AM
  3. When do the coding lessons start?
    By pikamew4 in forum Combat Arms Help
    Replies: 1
    Last Post: 12-08-2010, 01:34 PM
  4. Private hacking lesson for an AWM retail code?
    By bambell in forum WarRock - International Hacks
    Replies: 12
    Last Post: 09-21-2007, 04:44 PM
  5. a Couple WPE Weapon codes?
    By phil823 in forum WarRock - International Hacks
    Replies: 16
    Last Post: 02-10-2006, 02:14 PM