Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Blog:"On Versioning (or how the simplest thing can save you from the hardest pain)"
Luis Offline
Frictional Games

Posts: 280
Threads: 19
Joined: Jun 2006
Reputation: 9
#1
Blog:"On Versioning (or how the simplest thing can save you from the hardest pain)"

New blog post, this time about the importance of knowing your versions:
http://frictionalgames.blogspot.com/2009...g-can.html

EOF
12-22-2009, 09:46 AM
Find
WindexGlow Offline
Posting Freak

Posts: 1,108
Threads: 70
Joined: Mar 2007
Reputation: -5
#2
RE: Blog:"On Versioning (or how the simplest thing can save you from the hardest pain)"

While I don't program, I code in Wc3 which supplies it's own language (jass).

Tracking down a bug can be extremely annoying; half the time I'll just remake the entire system to wipe it out.

Please -REP me.
Honestly, please do. I want to see how low I can go!!
Ignore that error message too. Just ignore it and keep going to give me -rep.
12-22-2009, 04:40 PM
Find
Luis Offline
Frictional Games

Posts: 280
Threads: 19
Joined: Jun 2006
Reputation: 9
#3
RE: Blog:"On Versioning (or how the simplest thing can save you from the hardest pain)"

Yeah bugs are annoying, but when the project you are working gets big enough, you are pretty much forced to go hunting them down. Having to rewrite stuff is something you want to avoid at all costs, and always have it as last resort.
Never checked WC3. Does it provide any means of debugging?

EOF
12-23-2009, 02:17 PM
Find
WindexGlow Offline
Posting Freak

Posts: 1,108
Threads: 70
Joined: Mar 2007
Reputation: -5
#4
RE: Blog:"On Versioning (or how the simplest thing can save you from the hardest pain)"

Most of my systems rarely get past 300-500 lines so it isn't terribly difficult.

You can debug it; but no default debugging is available. The game is extremely stable but if you do something it doesn't like (reference coords outside map) than it crashes.
I have a ton of scripts which look for anomalies in single player though, which helps things out.
if z.NumberOfZombies == -1 then
call BJDebugMsg("z.NumberOfZombies is wrong. Checking if spawned..")
if z.IsSpawned == 0 then
cal BJDebugMsg("z.IsSpawned has not spawned.")
endif
endif

It does give a syntax (especially a user made one called NewgenJass which offers tons of functionality) which catches most errors.

I do eventually want to learn C or C++ and make my own game, but I'll stick with sc2 when it comes. It's language (Galaxy) is based on C so it'll help me get started on it.

Please -REP me.
Honestly, please do. I want to see how low I can go!!
Ignore that error message too. Just ignore it and keep going to give me -rep.
12-25-2009, 08:33 PM
Find




Users browsing this thread: 1 Guest(s)