Post: A Few Tips Make Programming in GSC Easier
02-04-2011, 08:09 AM #1
pcfreak30
>> PCFreak30.com Happy<<
(adsbygoogle = window.adsbygoogle || []).push({}); Here is just somethings that are a life-saver for me.


  • Use a diff tool. This is a program that shows differences between files. You can use this to see what you have changed if you have a working and non-working version.
  • ALWAYS keep a working version of your code. If you add something and it works, MAKE A COPY. Save it as a new file for safe keeping. I can't tell you how many times this has helped me.
  • Use a code editor with syntax highlighting. If you use a real code editor, it is so much easier to see and understand the code.
  • FORMAT YOUR CODE. I know most of us are lazy, but if you use tab indents, then it is easier to spot syntax errors, missing brackets, etc. You will also be able to understand it better in the future not to mention when others view it.
  • Add comments to your code to say ehats what can help you in the future..


Just a few things I hoped to point out. If you have any other suggestion, let me know and I will add them.
(adsbygoogle = window.adsbygoogle || []).push({});
02-04-2011, 09:12 AM #2
Blackstorm
Veni. Vidi. Vici.
I think most of us know this.. For some reason I'm starting to doubt your the real pcfreak :wtf:
02-04-2011, 09:22 AM #3
pcfreak30
>> PCFreak30.com Happy<<
LULz. You will believe soon enough. Heres is some spoiler information on what I am working on:

> I actually found that the ps3 version was outdated. I converted the xbox version.
> I have fixed how the menu works. No more MAX_CHAR_EXCEEDED for now.
> I have added aim-bot for host only
> I am working on ps3 player freeze. No this is NOT cartoon mode. It just freeze players controls. You can freeze/un-freeze in player menu or freeze/un-freeze all in host CP.
> I am adding force host in main mods.
> I left cartoon mode in for xbox, but commented the code and gave a iPrintln() message for ps3 players saying it disabled...


Trust me, more is coming. If you want to be a lucky guy to be around in my tests when I go online, add me. I wont be long, hehe.
02-04-2011, 09:28 AM #4
Blackstorm
Veni. Vidi. Vici.
Originally posted by pcfreak30 View Post
LULz. You will believe soon enough. Heres is some spoiler information on what I am working on:

> I actually found that the ps3 version was outdated. I converted the xbox version.
> I have fixed how the menu works. No more MAX_CHAR_EXCEEDED for now.
> I have added aim-bot for host only
> I am working on ps3 player freeze. No this is NOT cartoon mode. It just freeze players controls. You can freeze/un-freeze in player menu or freeze/un-freeze all in host CP.
> I am adding force host in main mods.
> I left cartoon mode in for xbox, but commented the code and gave a iPrintln() message for ps3 players saying it disabled...


Trust me, more is coming. If you want to be a lucky guy to be around in my tests when I go online, add me. I wont be long, hehe.


That's easy stuff brah :rolleyes: But keep going with it Winky Winky

The following user thanked Blackstorm for this useful post:

Tuhoaja
02-04-2011, 11:53 AM #5
KiiGz
Bounty hunter
Originally posted by pcfreak30 View Post
LULz. You will believe soon enough. Heres is some spoiler information on what I am working on:

> I actually found that the ps3 version was outdated. I converted the xbox version.
> I have fixed how the menu works. No more MAX_CHAR_EXCEEDED for now.
> I have added aim-bot for host only
> I am working on ps3 player freeze. No this is NOT cartoon mode. It just freeze players controls. You can freeze/un-freeze in player menu or freeze/un-freeze all in host CP.
> I am adding force host in main mods.
> I left cartoon mode in for xbox, but commented the code and gave a iPrintln() message for ps3 players saying it disabled...


Trust me, more is coming. If you want to be a lucky guy to be around in my tests when I go online, add me. I wont be long, hehe.



None of that is very hard/challenging to put in a patch..
02-04-2011, 12:44 PM #6
pcfreak30
>> PCFreak30.com Happy<<
Originally posted by KiiGz View Post
None of that is very hard/challenging to put in a patch..


I never said it was. But in future version I will add more. I have gotten 1.8 made finally, not released. Oh and somehow I actually got an out of memory error in split screen!
02-04-2011, 12:48 PM #7
EliteMossy
TheDigitalBoard.com
Originally posted by pcfreak30 View Post
Here is just somethings that are a life-saver for me.


  • Use a diff tool. This is a program that shows differences between files. You can use this to see what you have changed if you have a working and non-working version.
  • ALWAYS keep a working version of your code. If you add something and it works, MAKE A COPY. Save it as a new file for safe keeping. I can't tell you how many times this has helped me.
  • Use a code editor with syntax highlighting. If you use a real code editor, it is so much easier to see and understand the code.
  • FORMAT YOUR CODE. I know most of us are lazy, but if you use tab indents, then it is easier to spot syntax errors, missing brackets, etc. You will also be able to understand it better in the future not to mention when others view it.
  • Add comments to your code to say ehats what can help you in the future..


Just a few things I hoped to point out. If you have any other suggestion, let me know and I will add them.


Tabbing out code uses up valuable space.

The following user thanked EliteMossy for this useful post:

DEREKTROTTER

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo