Author Topic: SCP bug hunting drive! Calling all programmers!  (Read 15657 times)

0 Members and 1 Guest are viewing this topic.

Offline chief1983

  • Still lacks a custom title
  • Moderator
  • 212
  • ⬇️⬆️⬅️⬅️🅰➡️⬇️
    • Minecraft
    • Skype
    • Steam
    • Twitter
    • Fate of the Galaxy
Re: SCP bug hunting drive! Calling all programmers!
For crap's sake...Tortoise is a common program used by thousands of developers, and the source code isn't anything but TEXT FILES!  (well, a couple libs...) You can read them yourself!  It's monitored by dozens of developers who are constantly working on it, and the oversight and commit logs would show anything that someone slipped in (I hope...).  That's the whole point of open source being more secure than closed source, the oversight.  Jeez, your parents are at more of a risk having a Windows PC on the internet in the first place than downloading and running the FS source.  How's that for a detailed post?
Fate of the Galaxy - Now Hiring!  Apply within | Diaspora | SCP Home | Collada Importer for PCS2
Karajorma's 'How to report bugs' | Mantis
#freespace | #scp-swc | #diaspora | #SCP | #hard-light on EsperNet

"You may not sell or otherwise commercially exploit the source or things you created based on the source." -- Excerpt from FSO license, for reference

Nuclear1:  Jesus Christ zack you're a little too hamyurger for HLP right now...
iamzack:  i dont have hamynerge i just want ptatoc hips D:
redsniper:  Platonic hips?!
iamzack:  lays

 

Offline CP5670

  • Dr. Evil
  • Global Moderator
  • 212
Re: SCP bug hunting drive! Calling all programmers!
It doesn't matter. It's not like he is going to do anything with the code anyway. :p

 

Offline Mars

  • I have no originality
  • 211
  • Attempting unreasonable levels of reasonable
Re: SCP bug hunting drive! Calling all programmers!
You can always rebel you know akenbosch
It doesn't matter. It's not like he is going to do anything with the code anyway. :p
I think we all saw that one coming.

Is there an online C++ tutorial y'all would recommend?

 

Offline jr2

  • The Mail Man
  • 212
  • It's prounounced jayartoo 0x6A7232
    • Steam
Re: SCP bug hunting drive! Calling all programmers!
yeah, we have one. "the virus might be newer than the virus library". paranoia.... :doubt:

only zips available are the btrl build and the retail code.

Umm, AVG Anti-Virus is one of the most updated AV software there is.  Catches stuff Snortin' Norton and MchackAfee don't catch.

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: SCP bug hunting drive! Calling all programmers!
only zips available are the btrl build and the retail code.

So use the BtRL code. It's basically 3.6.9 Official.

Look for very old bugs.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 

Offline Shade

  • 211
Re: SCP bug hunting drive! Calling all programmers!
Quote
Is there an online C++ tutorial y'all would recommend?
http://www.cprogramming.com/tutorial.html
Report FS_Open bugs with Mantis  |  Find the latest FS_Open builds Here  |  Interested in FRED? Check out the Wiki's FRED Portal | Diaspora: Website / Forums
"Oooooooooooooooooooooooooooooooooooooooh ****ing great. 2200 references to entry->index and no idea which is the one that ****ed up" - Karajorma
"We are all agreed that your theory is crazy. The question that divides us is whether it is crazy enough to have a chance of being correct." - Niels Bohr
<Cobra|> You play this mission too intelligently.

 

Offline pecenipicek

  • Roast Chicken
  • 211
  • Powered by copious amounts of coffee and nicotine
    • Minecraft
    • Skype
    • Steam
    • Twitter
    • PeceniPicek's own deviantart page
Re: SCP bug hunting drive! Calling all programmers!
also, what does one need except the tortoisecvs for getting started with the code?
Skype: vrganjko
Ho, ho, ho, to the bottle I go
to heal my heart and drown my woe!
Rain may fall and wind may blow,
and many miles be still to go,
but under a tall tree I will lie!

The Apocalypse Project needs YOU! - recruiting info thread.

 

Offline Turey

  • Installer dude
  • 211
  • The diminutive form of Turambar.
    • FreeSpace Open Installer Homepage
Re: SCP bug hunting drive! Calling all programmers!
also, what does one need except the tortoisecvs for getting started with the code?

http://winmerge.org/

Also, a compiler helps a lot.
Creator of the FreeSpace Open Installer.
"Calm. The ****. Down." -Taristin
why would an SCP error be considered as news? :wtf: *smacks Cobra*It's a feature.

 
Re: SCP bug hunting drive! Calling all programmers!
only zips available are the btrl build and the retail code.

So use the BtRL code. It's basically 3.6.9 Official.

Look for very old bugs.

Do people get an bonus for fixing the Red Alert bug?

 

Offline taylor

  • Super SCP/Linux Guru
  • Moderator
  • 212
    • http://www.icculus.org/~taylor
Re: SCP bug hunting drive! Calling all programmers!
Do people get an bonus for fixing the Red Alert bug?
HOLY **** dude!  How many times do we have to say that the damn thing was fixed MONTHS AGO!!!!

 

Offline akenbosch

  • Pretentious Noob
  • 29
  • doesent care about canon
Re: SCP bug hunting drive! Calling all programmers!
Do we get a bonus for fixing the "cant read model file: none" in -wep.tbms?

Burn the sucker out of the sky!
EAT PHOTONS INFIDEL! MAY THE HEAT OF A THOUSAND SUNS CONSUME YOU! :mad2:


snail gives a debriefing: http://www.hard-light.net/forums/index.php/topic,48825.msg991954.html#msg991954

 

Offline taylor

  • Super SCP/Linux Guru
  • Moderator
  • 212
    • http://www.icculus.org/~taylor
Re: SCP bug hunting drive! Calling all programmers!
Do we get a bonus for fixing the "cant read model file: none" in -wep.tbms?
I think that one is already fixed actually, but perhaps only in my Xt builds at the moment.  I think that there is a Mantis bug relating to this, in an obscure way at least, which I had already commented on.  I don't see a related change in my diff though, so it's either already committed to CVS, or I fixed a similar problem for ships and forgot about weapons.


But if you guys want bugs to fix then just go through Mantis.  If you have a bug that's not in Mantis then add it.  But don't just make up bugs to fix as part of this bug hunt, fix something that we really need fixed.  Please.

 

Offline akenbosch

  • Pretentious Noob
  • 29
  • doesent care about canon
Re: SCP bug hunting drive! Calling all programmers!
like the d3d code?

Burn the sucker out of the sky!
EAT PHOTONS INFIDEL! MAY THE HEAT OF A THOUSAND SUNS CONSUME YOU! :mad2:


snail gives a debriefing: http://www.hard-light.net/forums/index.php/topic,48825.msg991954.html#msg991954

 

Offline taylor

  • Super SCP/Linux Guru
  • Moderator
  • 212
    • http://www.icculus.org/~taylor
Re: SCP bug hunting drive! Calling all programmers!
like the d3d code?
I think that someone is already working on that actually.

But there are 204 open bugs in Mantis at the moment, 59 of those not being assigned to anyone.  We've got everything ranging from a major rewrite to a small tweak, so there should be something fixable by a coder of just about any experience level.  Just have a look at the ones that aren't assigned to anyone.  If none of those peak your interest then have a look at ones that are assigned to someone, ask them if you can take care of it instead, and then go about fixing it.

 

Offline chief1983

  • Still lacks a custom title
  • Moderator
  • 212
  • ⬇️⬆️⬅️⬅️🅰➡️⬇️
    • Minecraft
    • Skype
    • Steam
    • Twitter
    • Fate of the Galaxy
Re: SCP bug hunting drive! Calling all programmers!
Is there an official code freeze for the stable branch while this bug drive is going on?  It would probably help.
Fate of the Galaxy - Now Hiring!  Apply within | Diaspora | SCP Home | Collada Importer for PCS2
Karajorma's 'How to report bugs' | Mantis
#freespace | #scp-swc | #diaspora | #SCP | #hard-light on EsperNet

"You may not sell or otherwise commercially exploit the source or things you created based on the source." -- Excerpt from FSO license, for reference

Nuclear1:  Jesus Christ zack you're a little too hamyurger for HLP right now...
iamzack:  i dont have hamynerge i just want ptatoc hips D:
redsniper:  Platonic hips?!
iamzack:  lays

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: SCP bug hunting drive! Calling all programmers!
Any new code added to the stable branch should either be a very heavily tested new feature or a bug fix.

So an actual freeze shouldn't be needed.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 

Offline taylor

  • Super SCP/Linux Guru
  • Moderator
  • 212
    • http://www.icculus.org/~taylor
Re: SCP bug hunting drive! Calling all programmers!
Technically the stable branch is in a feature freeze actually.  Nothing should be going in, new feature wise, unless it was already slated for 3.6.10 months ago.  3.6.10 was supposed to ship in July, so it's far too late to just start shoving stuff in now without a very good reason.  There will be exceptions, but don't assume that anything new is safe to commit, regardless of how tested and stable it might be.  Those things should be pushed to 3.6.11 instead.

 

Offline DaBrain

  • Screensniper
  • 212
    • Shadows of Lylat board
Re: SCP bug hunting drive! Calling all programmers!
If this works and you prolong it, you should think about working out some kind of donation system.

I'd probably spend a few bucks to get some bugs fixed. ;)
--------------------------------------------------
SoL is looking for a sound effect artist
Please PM me in case you want to apply
---------------------------------
Shadows of Lylat - A Freespace 2 total conversion
(hosted by Game-Warden)
----------------------------------

 
Re: SCP bug hunting drive! Calling all programmers!
Bug in vecmat.cpp:

Comment mentions the third paramter can be NULL, but never checks for it and always tries to normalize it.
If this function is used with the third paramter being NULL, the game crashes.
I'll ask Backslash to commit this fix so no need for someone else to do it. Just wanted to mention this here, in case someone
might find out that this was actually causing some crashes that haven't been explained yet...

Code: [Select]
//computes the delta angle between two vectors.
//vectors need not be normalized. if they are, call vm_vec_delta_ang_norm()
//the forward vector (third parameter) can be NULL, in which case the absolute
//value of the angle in returned.  Otherwise the angle around that vector is
//returned.
float vm_vec_delta_ang(vec3d *v0,vec3d *v1,vec3d *fvec)
{
float t;
vec3d t0,t1,t2;

vm_vec_copy_normalize(&t0,v0);
vm_vec_copy_normalize(&t1,v1);

  // This test here is new and was missing. Function tried to always normalize fvec which used to cause a crash.
  if (NULL == fvec) {
    t = vm_vec_delta_ang_norm(&t0, &t1, NULL);
  } else {
    vm_vec_copy_normalize(&t2,fvec);
    t = vm_vec_delta_ang_norm(&t0,&t1,&t2);
  }

return t;
}

 

Offline taylor

  • Super SCP/Linux Guru
  • Moderator
  • 212
    • http://www.icculus.org/~taylor
Re: SCP bug hunting drive! Calling all programmers!
Bug in vecmat.cpp:

Comment mentions the third paramter can be NULL, but never checks for it and always tries to normalize it.
If this function is used with the third paramter being NULL, the game crashes.
I'll ask Backslash to commit this fix so no need for someone else to do it. Just wanted to mention this here, in case someone
might find out that this was actually causing some crashes that haven't been explained yet...
That function isn't used anywhere.  I've been meaning to just remove it, but haven't really cared enough to go through the trouble yet.

The _norm() version of that function should be used instead, and with that one it is safe to have fvec as NULL.