Facebook Twitter YouTube Frictional Games | Forum | Newsletter | Dev Blog | Dev Wiki | Support


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

Posts: 252
Joined: Jun 2006
Reputation: 6
Post: #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 all posts by this user
WindexGlow Offline
Posting Freak

Posts: 1,108
Joined: Mar 2007
Reputation: -7
Post: #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 all posts by this user
Luis Offline
Frictional Games

Posts: 252
Joined: Jun 2006
Reputation: 6
Post: #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 all posts by this user
WindexGlow Offline
Posting Freak

Posts: 1,108
Joined: Mar 2007
Reputation: -7
Post: #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 all posts by this user
Thread Closed 




User(s) browsing this thread: 1 Guest(s)