GoldenEye: Source Forums

  • December 03, 2024, 05:49:34 pm
  • Welcome, Guest
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: March 09, 2008 - Can I has silly error?  (Read 16039 times)

0 Members and 1 Guest are viewing this topic.

Anthony

  • GES Plugin Coder
  • Secret Agent
  • **
  • Posts: 74
  • Reputation Power: 0
  • Anthony has no influence.
  • Offline Offline
March 09, 2008 - Can I has silly error?
« on: March 10, 2008, 07:21:24 am »

Hey guys,
This weekend has been a lot of structure, HUD, LUA, and blah blah blah. There was one thing worth noting that I though was kind of funny. Killer Monkey is currently doing a lot of the game mode base code for the LUA engine, and he was stuck due to some data problem. He was using a class that I suggested created by Allied Modders, "sh_vector." It uses the same syntax as a basic C vector, but it is much more memory efficient and overall better coded. For some reason the vector wasn't being refilled the second time the server started, so he was blaming the vector stuff as well as some other stuff that seemed a bit harsh. He went to dinner and I took a quick look at the code. In the parser for the LUA, it had a fail-safe method to make sure the parser wasn't parsing the same stuff twice. It looked like this:
Code: [Select]
if(bParsed)
    return; // already parsed?

It just so happens that the vector gets filled right after this, and since Killer Monkey forgot to reset the value of bParsed to false, it would never get there. Yeah, lame post, I know. But hey, if I wrote everything that happened you guys wouldn't have anything to look forward to! :P
Your coder,
Anthony Iacono
Logged

killermonkey

  • GES Programmer
  • Retired Lead Developer
  • GE:S Fanatic
  • *
  • Posts: 5,473
  • Reputation Power: 346
  • killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!
  • Offline Offline
    • DroidMonkey Apps
Re: March 09, 2008 - Can I has silly error?
« Reply #1 on: March 10, 2008, 08:12:56 pm »

HAHA, that was like the biggest jaw dropper. He looks at the shit with a second pair of eyes and was like "did you reset bParsed?" and I was like, Mother F'er lol

totally l33t. But on another note, LUA works GREAT! it won't be long before we are playing You Only Live Twice!
Logged

VC

  • Valiant Varanidæ, Citrus Jockey
  • Retired Developer
  • GE:S Fanatic
  • *****
  • Posts: 2,843
  • Reputation Power: 16
  • VC is working their way up.VC is working their way up.VC is working their way up.
  • Offline Offline
Re: March 09, 2008 - Can I has silly error?
« Reply #2 on: March 10, 2008, 11:51:30 pm »

I'm still waiting on L&LD. : j
Logged
"As for VC's scripts they have not broken the game at all, in fact the game has never felt better." -- KM
"(03:12:41 PM) KM: I would call you a no life loser, but you are useful"
"(03:12:59 PM) VC: Go ahead.  I am, and I am."

mbsurfer

  • Inactive Tester
  • 00 Agent
  • ***
  • Posts: 794
  • Reputation Power: 41
  • mbsurfer is a force to reckon with.mbsurfer is a force to reckon with.mbsurfer is a force to reckon with.mbsurfer is a force to reckon with.mbsurfer is a force to reckon with.mbsurfer is a force to reckon with.mbsurfer is a force to reckon with.mbsurfer is a force to reckon with.
  • Offline Offline
Re: March 09, 2008 - Can I has silly error?
« Reply #3 on: March 11, 2008, 01:25:31 am »

President and Capture the Key sounded like fun game modes too.  Just not the usual Goldeneye feel.
Logged
Pages: [1]   Go Up