02:20.29 | *** join/#opencombat bryjen (~bryjen@2002:45a6:8281:0:0:0:0:1) |
04:10.51 | *** join/#opencombat guu (guu@myth.gibbscam.com) |
05:01.06 | *** join/#opencombat creeperz (creeperz@host-40-145-230-24.midco.net) |
06:10.02 | *** join/#opencombat creeperz (~creeperz@host-40-145-230-24.midco.net) |
07:16.37 | *** join/#opencombat JeffM2501 (~JeffM@Patlabor221.active.supporter.pdpc) |
07:16.37 | *** mode/#opencombat [+o JeffM2501] by ChanServ |
11:30.01 | *** join/#opencombat creeperz (creeperz@host-40-145-230-24.midco.net) |
11:31.57 | *** join/#opencombat m0nkey_poo (~creeperz@host-40-145-230-24.midco.net) |
11:33.57 | *** join/#opencombat Jacks_Colon (creeperz@host-40-145-230-24.midco.net) |
11:35.47 | *** join/#opencombat Jacks_Colon (creeperz@host-40-145-230-24.midco.net) |
11:42.47 | *** join/#opencombat creeperz (creeperz@host-40-145-230-24.midco.net) |
13:56.20 | *** join/#opencombat Grumbler (~Grumbler@grumbler.bronze.supporter.pdpc) |
17:00.20 | *** join/#opencombat JeffM2501 (~JeffM@Patlabor221.active.supporter.pdpc) |
17:00.21 | *** mode/#opencombat [+o JeffM2501] by ChanServ |
17:06.09 | orchid | morning |
17:08.38 | JeffM2501 | hello |
17:08.46 | JeffM2501 | how are you today? |
17:09.58 | orchid | I'm ok |
17:10.12 | orchid | do you use an ssh key on sf? |
17:10.22 | JeffM2501 | never was able to get them to work |
17:10.33 | JeffM2501 | I've never had keys work anywhere |
17:10.41 | orchid | learner set one up for me last night, but now I cant commit anything |
17:10.48 | JeffM2501 | hmmm |
17:11.01 | orchid | cvs [server aborted]: "commit" requires write access to the repository |
17:11.05 | JeffM2501 | I know they take some time to propigate |
17:11.21 | orchid | it committed the Changelog only |
17:11.42 | orchid | maybe the changelog has less restrictive perms? |
17:11.49 | JeffM2501 | no |
17:11.51 | JeffM2501 | it's allor none |
17:12.09 | JeffM2501 | if you pull your key on your side, will it revert to password? |
17:12.29 | orchid | hmm I can try |
17:12.31 | orchid | but |
17:12.34 | orchid | <PROTECTED> |
17:12.36 | orchid | works fine |
17:12.48 | orchid | bzgirl@sc8-pr-shell1 bzgirl $ pwd |
17:12.48 | orchid | /home/users/b/bz/bzgirl |
17:13.20 | orchid | but maybe thats a different server than the cvs on? |
17:13.21 | orchid | one* |
17:13.31 | JeffM2501 | yeah it could be |
17:13.44 | JeffM2501 | in fact I am sure they are difrent systems |
17:13.53 | orchid | ok |
17:14.12 | Grumbler | orchid, before you actually commit, dont suppose you could change the name from /mute to something else...... there is a -mute and there might be confusion |
17:14.13 | JeffM2501 | and I was just saying try it to see if it's the key or not |
17:14.57 | orchid | Grumbler: hmm, -mute is an option to play without sound? |
17:16.11 | *** join/#opencombat newbie_dont (~janko@dle187.neoplus.adsl.tpnet.pl) |
17:16.19 | Grumbler | yep, i was thinking of the noobs....and well me. |
17:16.53 | *** part/#opencombat newbie_dont (~janko@dle187.neoplus.adsl.tpnet.pl) |
17:17.34 | JeffM2501 | what did you add? |
17:17.44 | orchid | hmm, its not that hard to change but its in alot of files, also I thought of /quiet but people would spell it wriong in a hurry, quiet, queit quit :) |
17:17.57 | orchid | I added a TALK perm |
17:18.05 | orchid | and an /mute /unmute command |
17:18.06 | JeffM2501 | ahh |
17:18.13 | JeffM2501 | /suddap |
17:18.23 | orchid | you can now run a server with no talking at all :) |
17:18.28 | JeffM2501 | you may want to make it CHAT for the perm |
17:18.37 | JeffM2501 | if voice com is ever added talk could mean soething difrent |
17:19.33 | Grumbler | <PROTECTED> |
17:30.06 | *** join/#opencombat bryjen (~bryjen@63.147.94.151) |
17:46.07 | Grumbler | is that this happy song http://www.pastiche.info/topliens/zik/numanumaye.htm or another... |
17:51.11 | JeffM2501 | wonder girl by poplab |
17:52.48 | Grumbler | wonder girl by poplab.......i am just so out of the loop |
17:58.08 | Grumbler | the dude on the website looks like the news guy from SNL |
18:00.19 | JeffM2501 | http://myth.gibbscam.com/temp/Music%20for%202005%20Where%20are%20the%20flying%20cars/ |
18:08.39 | JeffM2501 | and that's a bad thing? |
18:08.51 | Grumbler | nope |
18:08.59 | Grumbler | just what popped into my head |
18:11.06 | JeffM2501 | heh |
18:38.24 | *** join/#opencombat amathis (~amathis@cpe-024-165-183-118.midsouth.rr.com) |
18:38.29 | amathis | JeffM2501: how goes g3d? |
18:38.47 | JeffM2501 | ehh |
18:38.51 | JeffM2501 | time is not on my side |
18:40.04 | amathis | I just got the sudden urge of making a replica of the SGC |
18:40.11 | amathis | that you can walk through |
18:40.32 | JeffM2501 | umm ok |
18:40.35 | amathis | heh |
18:40.35 | amathis | :P |
18:40.40 | JeffM2501 | do it in radeant |
18:40.44 | JeffM2501 | radiant |
18:40.48 | amathis | radient? |
18:40.51 | amathis | *radiant? |
18:40.59 | JeffM2501 | quake3 map editor |
18:41.05 | amathis | oh |
18:41.12 | amathis | I want to make a stargate Game actually |
18:41.15 | amathis | that would be pretty cool |
19:08.39 | JeffM2501 | most of the FPS engines could do it |
19:24.30 | amathis | what engine would you recommend/ |
19:24.53 | JeffM2501 | hard to say |
19:24.56 | JeffM2501 | free or non free? |
19:25.08 | amathis | I don't know the first thing about games |
19:25.09 | amathis | ugh |
19:25.12 | JeffM2501 | you do |
19:25.20 | JeffM2501 | you don't know the 5th thing |
19:25.24 | JeffM2501 | but you know the first |
19:25.49 | JeffM2501 | there are even engines with tehre own scripting langs |
19:25.52 | JeffM2501 | no programing |
19:30.19 | JeffM2501 | simplest would be like a quake mod |
19:38.19 | amathis | I want to make an open sourced game |
19:38.32 | amathis | I have all these great ideas |
19:38.36 | amathis | I just cannot fulfill them |
19:38.49 | JeffM2501 | quake is open sourced |
19:38.51 | JeffM2501 | so is quake 2 |
19:40.54 | amathis | if I could get fscking g3d working on this machine I would use it |
19:42.12 | amathis | which is better |
19:42.16 | amathis | ogre, or cs? |
19:43.13 | JeffM2501 | the are difrenet |
19:43.20 | JeffM2501 | CS is a complete game system |
19:43.29 | JeffM2501 | ogre is a 3d engine framework |
19:43.41 | JeffM2501 | g3d isn't a full engine |
19:43.57 | JeffM2501 | it's more of an openGL/SDL wraper with some nice framework stuff |
19:44.06 | JeffM2501 | you'd build an engine on top of it |
19:45.11 | JeffM2501 | what type of lib you pick is based on how much code you want to do |
19:45.30 | amathis | ok |
19:45.35 | amathis | let's say I am new to game making |
19:45.35 | JeffM2501 | do you want to build your own low level network, sound, and 3d scenegraph code? |
19:45.41 | amathis | and limited programming |
19:45.49 | JeffM2501 | quakemod |
19:46.03 | amathis | and it could make a game like quake? |
19:46.25 | JeffM2501 | if you just moded the quake2 system |
19:46.33 | JeffM2501 | you'd provide a lib that just defined how the game worked |
19:46.42 | JeffM2501 | you'd be reusing the entire quake world engine |
19:46.44 | JeffM2501 | the network |
19:46.47 | JeffM2501 | the sound |
19:46.49 | JeffM2501 | the input |
19:46.50 | JeffM2501 | all that |
19:46.58 | JeffM2501 | you'd just say how stuff behaved |
19:47.02 | JeffM2501 | and what it looked like. |
19:47.03 | amathis | where can you get quake 2 source? |
19:47.15 | JeffM2501 | ibot google quake2 source |
19:47.39 | JeffM2501 | there are even versions of the engine that have enhanced features. |
19:48.48 | *** join/#opencombat guu (guu@myth.gibbscam.com) |
19:49.48 | amathis | I don't Urban Terror |
19:49.50 | amathis | ugh |
19:49.59 | amathis | Urban Terror, have you heard of it? |
19:50.01 | JeffM2501 | that's for quake3 |
19:50.02 | JeffM2501 | yeah |
19:50.10 | amathis | it is free right? |
19:50.14 | amathis | or do you have to have quake3? |
19:50.17 | JeffM2501 | it's a free mod for q3 |
19:50.20 | JeffM2501 | you have to have q3 |
19:50.27 | JeffM2501 | q3 shoudl be open sourced soon |
19:50.54 | amathis | hrm |
19:51.37 | JeffM2501 | UT is just a set of maps, scripts, models, and a DLL that tells q3 what to do |
20:34.06 | amathis | hm |
20:50.46 | amathis | JeffM2501: how can I check if float a; is infact a number? |
20:50.58 | amathis | and not a letter or something |
20:51.19 | amathis | is_numeric() :P |
20:51.31 | amathis | I know that is a php function |
20:51.45 | JeffM2501 | umm |
20:51.46 | JeffM2501 | no |
20:51.50 | JeffM2501 | if it's a float |
20:51.54 | JeffM2501 | it's ALLWAYS a number |
20:51.59 | JeffM2501 | it can't be a letter |
20:52.07 | JeffM2501 | C is a typed language |
20:52.44 | JeffM2501 | floats are allways floating point numbers |
20:52.48 | JeffM2501 | ints are always integers |
20:52.52 | JeffM2501 | strings are text |
20:53.25 | amathis | no I mean.. |
20:53.31 | amathis | how can I tell if a variable is set |
20:53.36 | amathis | it actually IS something? |
20:53.36 | JeffM2501 | set it |
20:53.46 | JeffM2501 | variables are ALLWAYS something |
20:53.54 | JeffM2501 | init them at creation |
20:53.58 | JeffM2501 | float a = 0; |
20:54.13 | JeffM2501 | C++ does not auto init, so variables are created with garbage in them |
20:54.21 | JeffM2501 | you are responsible for initing them |
20:54.33 | JeffM2501 | this is why you often init to a standard default value |
20:54.41 | JeffM2501 | or 0 |
20:54.45 | JeffM2501 | or NULL |
20:55.03 | JeffM2501 | the language itself dosn't know if you set it or not |
20:55.10 | JeffM2501 | what are you doing? |
20:56.46 | amathis | jsut messing around with stuff :) |
20:57.08 | JeffM2501 | basicly you should know if it's inited or not by your program design |
20:57.20 | JeffM2501 | the language dosn't have an tools to help deal with slopy design |
20:57.24 | JeffM2501 | since all those tools take time. |
20:58.59 | amathis | ok |
21:09.40 | amathis | hmm |
21:09.52 | amathis | if you get something like negative three halves |
21:09.55 | amathis | -3/2 |
21:10.06 | amathis | should it display it as a decimal? |
21:10.08 | amathis | or what? |
21:10.11 | JeffM2501 | yeah |
21:10.18 | amathis | it isn't |
21:10.18 | JeffM2501 | well depends how you display it |
21:10.19 | amathis | crap |
21:10.21 | JeffM2501 | and what you store it in |
21:10.25 | JeffM2501 | what are you storing it in? |
21:10.26 | amathis | a float |
21:10.27 | JeffM2501 | a float? |
21:10.31 | JeffM2501 | how are you seting it? |
21:10.41 | JeffM2501 | float a = -1.5; |
21:10.51 | amathis | not exactly |
21:10.55 | amathis | it is a formula |
21:11.02 | JeffM2501 | how are you seting the float? |
21:11.23 | amathis | float xIntercept1 = (-1*(b) + sqrt((b*b)-4*(a)*(c))) / 2*(a); |
21:11.33 | JeffM2501 | those are inits |
21:11.37 | JeffM2501 | that your deviding by |
21:11.42 | JeffM2501 | 2.0f |
21:11.44 | JeffM2501 | not 2 |
21:12.01 | JeffM2501 | 1/3 is an int division and will return 0 |
21:12.12 | JeffM2501 | 1.0/3.0 is a float division and will return 0.333333333 |
21:12.25 | JeffM2501 | it's how the compiler knows how to do the math operator |
21:12.31 | JeffM2501 | same for multiplicaiton |
21:12.43 | JeffM2501 | tho it dosn't usualy jack the result |
21:13.03 | JeffM2501 | what is a b and c? |
21:13.05 | JeffM2501 | more floats? |
21:13.07 | amathis | yes |
21:13.22 | JeffM2501 | then your constants need .0f after them |
21:13.29 | JeffM2501 | or just .0 if your doing doubles |
21:13.36 | JeffM2501 | for math work you probably want doubles |
21:13.37 | JeffM2501 | not floats |
21:13.41 | JeffM2501 | more percision |
21:13.55 | amathis | ok |
21:13.58 | amathis | I am doing that though |
21:14.53 | amathis | it still returns a whole number |
21:14.55 | amathis | for some reason |
21:15.03 | amathis | -6 when it should return - 3/2 |
21:15.18 | JeffM2501 | then it's order of ops |
21:15.32 | amathis | hmm |
21:15.32 | JeffM2501 | if that is your exact code up there |
21:15.35 | JeffM2501 | it won't work |
21:15.37 | amathis | it returned fine last time |
21:15.41 | amathis | maybe it was a coincedence |
21:16.19 | amathis | (-1.0*(b) + sqrt((b*b)-4.0*(a)*(c))) / 2.0*(a) |
21:16.26 | amathis | how should that be to give you the quadratic equation |
21:16.55 | JeffM2501 | I'd break it up |
21:17.00 | JeffM2501 | into sub variables |
21:17.04 | JeffM2501 | makes it easyer to debug |
21:17.40 | amathis | I don't see anything wrong with it |
21:17.47 | amathis | it gave fine answers first few times |
21:20.15 | JeffM2501 | then step on thru |
21:21.46 | amathis | there is nothing wrong with the formula |
21:23.45 | JeffM2501 | probalby not |
21:23.56 | JeffM2501 | but untill you know what the input and output is for each section |
21:24.02 | JeffM2501 | everything you do is a guess |
21:24.05 | JeffM2501 | step on thru |
21:24.21 | JeffM2501 | verify that what you think is going in is going in, and that the computations are don in the same order |
21:24.33 | JeffM2501 | you got some extra whacky praens |
21:24.40 | JeffM2501 | (a) dosn't do anything |
21:24.51 | amathis | does guu do spellchecking? |
21:24.55 | amathis | guu: spell symetry |
21:24.56 | guu | amathis: are you 11? |
21:24.57 | JeffM2501 | dono |
21:24.59 | amathis | ugh |
21:25.10 | amathis | do you know how to spell symetry? |
21:25.19 | JeffM2501 | ibot spell symetry |
21:25.25 | amathis | sweet |
21:52.49 | amathis | hmm |
21:53.00 | amathis | is there an easy way to figure out the greatest of 4 or 5 numbers? |
21:54.36 | amathis | hmm |
21:54.38 | amathis | say I have data |
21:54.43 | amathis | of ordered pairs |
21:54.50 | amathis | of a quadratic on a parabla |
21:54.51 | amathis | say.. |
21:54.57 | amathis | x | y |
21:55.00 | amathis | ____ |
21:55.06 | amathis | 3 | 0 |
21:55.08 | amathis | ____ |
21:55.13 | amathis | 2 | 0 |
21:55.15 | amathis | ____ |
21:55.20 | amathis | 0 | 4 |
21:55.24 | amathis | _____ |
21:55.29 | amathis | 2 | 6 |
21:55.41 | amathis | those are the two x intercepts, the y intercept, and the vertex |
21:55.45 | amathis | (in that order) |
21:55.58 | amathis | how can I tell what the greatest value of X is, and the greatest value of y there |
21:56.10 | amathis | so I can set the max of my loop for figuring out ordered pairs |
22:00.48 | JeffM2501 | sort them |
22:01.05 | JeffM2501 | simplest is to stick em in a set |
22:01.09 | JeffM2501 | and that'll sort on insert |
22:01.24 | JeffM2501 | or put em in a vecot and sort em |
22:01.30 | JeffM2501 | or do your own sort |
22:02.17 | JeffM2501 | you set some pair to an aribirarialy SUPER low value |
22:02.26 | JeffM2501 | then go thru the pairs |
22:02.38 | JeffM2501 | testing each to see if it's biger then the temp pair |
22:02.45 | JeffM2501 | if it's biger then set the temp to it |
22:02.49 | JeffM2501 | if it's smaller just move on |
22:03.00 | JeffM2501 | when your done the temp will have the bigest |
22:25.24 | *** join/#opencombat creeperz (~creeperz@host-40-145-230-24.midco.net) |