Mythruna
April 25, 2024, 02:32:54 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Welcome to the new forums. See "Announcements" for a note for new users.
 
   Home   Help Search Login Register  
Pages: 1 [2] 3
  Print  
Author Topic: Networking, steps forward and backwards...  (Read 22119 times)
pspeed
Administrator
Hero Member
*****
Posts: 5612



View Profile
« Reply #15 on: December 13, 2012, 03:22:48 PM »

Not until an error in the engine causes the division of zero.
0/0 = 0. *check*

Edit: No black-hole.
Technically infinity.
^Which includes negative numbers and decimals. :3
The answer to every question that CANNOT be answered is: BLACK HOLE!!!

Anyway, I want to see a video of what happens xD Is it like in other games, or is it something NEW that people will be like "I WANT TO BUY THIS GAME, JUST CUS OF THAT-O-BUG!!!" type-o-the-thing?
Also, release a Physics Engine release, with a discloser saying: VERY UNSTABLE, your computer may explode into a Blackhole with the slight chance of you being sucked into it if your CPU is equal to 0/0, or less... or more... or some other direction of calculation!

Nothing so interesting.  For a second you see the world and then you see blackness.  And then I spent the next three hours bug hunting.
Logged
Teknonick
Sr. Member
****
Posts: 438


View Profile
« Reply #16 on: December 13, 2012, 03:28:53 PM »

Not until an error in the engine causes the division of zero.
0/0 = 0. *check*

Edit: No black-hole.
Technically infinity.
^Which includes negative numbers and decimals. :3
The answer to every question that CANNOT be answered is: BLACK HOLE!!!

Anyway, I want to see a video of what happens xD Is it like in other games, or is it something NEW that people will be like "I WANT TO BUY THIS GAME, JUST CUS OF THAT-O-BUG!!!" type-o-the-thing?
Also, release a Physics Engine release, with a discloser saying: VERY UNSTABLE, your computer may explode into a Blackhole with the slight chance of you being sucked into it if your CPU is equal to 0/0, or less... or more... or some other direction of calculation!

Nothing so interesting.  For a second you see the world and then you see blackness.  And then I spent the next three hours bug hunting.
FTW xD... It doesn't just SPAZ? lol... Anyway, did you find that bug? Or did yo- *Trips over Bug*
Logged
pspeed
Administrator
Hero Member
*****
Posts: 5612



View Profile
« Reply #17 on: December 13, 2012, 03:42:31 PM »

FTW xD... It doesn't just SPAZ? lol... Anyway, did you find that bug? Or did yo- *Trips over Bug*

The object that the camera was locked to ended up at NaN, NaN, Nan... so couldn't see anything else.

I did find the bug and fixed the symptoms at least.  I mean, I fixed the problem of contact resolution when two objects of the same size + shape exactly occupy the same spot and rotation.  In this case, the distance between them was 0 so the code the determines where the contact point was and in which direction just needed to be tweaked to handle that case.

There was still some other bug where applying friction was messed up.  I never did figure out why exactly a certain value goes negative even after the above fix but I did add a check for when the relative planar impulse is 0... no friction necessary in that case anyway.
Logged
Michael
Donators
Hero Member
***
Posts: 2166



View Profile
« Reply #18 on: December 13, 2012, 04:20:56 PM »

could you do a do-while loop and say something like:
Code:
do {
(code)
} while (x == [negative operator command thingy]) x++;
?
Logged
BenKenobiWan
Friendly Moderator
Donators
Hero Member
***
Posts: 674


Jesus loves you!


View Profile
« Reply #19 on: December 13, 2012, 06:24:20 PM »

could you do a do-while loop and say something like:
Code:
do {
(code)
} while (x == [negative operator command thingy]) x++;
?
Code:
Do {
X++
} while (x < 0)
I think that's how your code should be. In C++, anyway.
It probably isn't what you'd want in Paul's case, though.
Logged
Michael
Donators
Hero Member
***
Posts: 2166



View Profile
« Reply #20 on: December 13, 2012, 06:44:19 PM »

lol you messed up ben.
1.) you put a capital 'x' and a lowercase 'x' so one x won't be affected.
2.) Forgot semicolons Wink
3.) 'Do' should be lowercase, 'do'

Should be:
Code:
do {
x++;
} while (x < 0);
Logged
pspeed
Administrator
Hero Member
*****
Posts: 5612



View Profile
« Reply #21 on: December 13, 2012, 07:39:21 PM »

"Sir, we have this red blinking light on the console."
"Well, just cover it with a piece of tape then."

Smiley
Logged
Michael
Donators
Hero Member
***
Posts: 2166



View Profile
« Reply #22 on: December 13, 2012, 09:34:32 PM »

lol i don't get it but yet I laughed  Undecided
Logged
BenKenobiWan
Friendly Moderator
Donators
Hero Member
***
Posts: 674


Jesus loves you!


View Profile
« Reply #23 on: December 13, 2012, 10:07:44 PM »

lol you messed up ben.
1.) you put a capital 'x' and a lowercase 'x' so one x won't be affected.
2.) Forgot semicolons Wink
3.) 'Do' should be lowercase, 'do'

Should be:
Code:
do {
x++;
} while (x < 0);
I am ashamed and/or rusty. The capital letters were due to my iPad, so I can't be blamed for that, but I forgot semicolons! Shocked
Logged
Moonkey
Hero Member
*****
Posts: 1587

This is probably a picture.


View Profile
« Reply #24 on: December 13, 2012, 10:34:23 PM »

lol you messed up ben.
1.) you put a capital 'x' and a lowercase 'x' so one x won't be affected.
2.) Forgot semicolons Wink
3.) 'Do' should be lowercase, 'do'

Should be:
Code:
do {
x++;
} while (x < 0);
I am ashamed and/or rusty. The capital letters were due to my iPad, so I can't be blamed for that, but I forgot semicolons! Shocked
You noob! What if the fate of the world depended on your Ipad?! Answer: We are all doomed.
Logged

Mythruna: Don't you dare read any posts I made before 2014.
Michael
Donators
Hero Member
***
Posts: 2166



View Profile
« Reply #25 on: December 15, 2012, 01:40:27 PM »

lol you messed up ben.
1.) you put a capital 'x' and a lowercase 'x' so one x won't be affected.
2.) Forgot semicolons Wink
3.) 'Do' should be lowercase, 'do'

Should be:
Code:
do {
x++;
} while (x < 0);
I am ashamed and/or rusty. The capital letters were due to my iPad, so I can't be blamed for that, but I forgot semicolons! Shocked
You noob! What if the fate of the world depended on your Ipad?! Answer: We are all doomed.
iPad* spell it right >:/
Logged
Moonkey
Hero Member
*****
Posts: 1587

This is probably a picture.


View Profile
« Reply #26 on: December 16, 2012, 01:03:09 PM »

lol you messed up ben.
1.) you put a capital 'x' and a lowercase 'x' so one x won't be affected.
2.) Forgot semicolons Wink
3.) 'Do' should be lowercase, 'do'

Should be:
Code:
do {
x++;
} while (x < 0);
I am ashamed and/or rusty. The capital letters were due to my iPad, so I can't be blamed for that, but I forgot semicolons! Shocked
You noob! What if the fate of the world depended on your Ipad?! Answer: We are all doomed.
iPad* spell it right >:/
Not if I'm counting it as a noun. And I'm not nerdy. *winks*

Edit: And I don't like Ipads.
Logged

Mythruna: Don't you dare read any posts I made before 2014.
Michael
Donators
Hero Member
***
Posts: 2166



View Profile
« Reply #27 on: December 16, 2012, 01:41:00 PM »

lol you messed up ben.
1.) you put a capital 'x' and a lowercase 'x' so one x won't be affected.
2.) Forgot semicolons Wink
3.) 'Do' should be lowercase, 'do'

Should be:
Code:
do {
x++;
} while (x < 0);
I am ashamed and/or rusty. The capital letters were due to my iPad, so I can't be blamed for that, but I forgot semicolons! Shocked
You noob! What if the fate of the world depended on your Ipad?! Answer: We are all doomed.
iPad* spell it right >:/
Not if I'm counting it as a noun. And I'm not nerdy. *winks*

Edit: And I don't like Ipads.
nor do i, but spell it right, it looks weird iPad not Ipad
Logged
Iggyjeckel
Donators
Hero Member
***
Posts: 510


View Profile
« Reply #28 on: December 16, 2012, 03:11:08 PM »

Not a fan od apple so i will probably never own an eyePad
Logged
Sean
Donators
Hero Member
***
Posts: 598



View Profile
« Reply #29 on: December 16, 2012, 06:30:06 PM »


They look kind of uncomfortable.  Am I right?
Logged

"People willing to trade their freedom for temporary security deserve neither and will lose both." - Benjamin Franklin
Pages: 1 [2] 3
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.20 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!