Hard Light Productions Forums
Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: Bobboau on August 27, 2003, 09:09:23 pm
-
I am going to have to anounce that I have officaly ran out of time, the last month or so of code work I've done has been sort of acounter to the suden stop that I knew was comeing.
this monday I started the new semester and I no longer have the half a day to play around with, my day goes now as such
7:00am - wake up
7:30 - leave for school
8:00 - arrive at school
11:00 (or 2:00 on tuesdays and thursdays) leave school for work
9:00pm - go home from work
11:00-12:00 go to sleep
this means I have only about 2-3 hours to eat, check mesages, do famly things and, do my homework wich I realy would like to try to do this year.
all this meaning that I will most likely have at most a few short hours during the weekends during wich I might be able to do ANY SCP codeing for the entire week, I'm going to try to get my current build up into CVS soon so all my bug fixes are in, but I am no longer (for the next four months at least) going to be able to get the level of work done as I have been able to for the last few months and especaly the last few weeks
so, doesn't this suck?
try an 8:00am calculus class :shaking: :(
-
That must really blow.
-
Awww.... Now what?
-
Originally posted by Bobboau
I am going to have to anounce that I have officaly ran out of time
do my homework wich I realy would like to try to do this year
:lol:
Sorry, but I just found those two lines extremely funny. :)
Bye for now, Bobboau (does that rhyme? :nervous:) Have fun in school. Don't forget to sleep. :p
-
Take care Bobboau, you are a treasure of this community :nod:
-
As he leaves behind his trail of bugs for everyone else to squash... :rolleyes:
Ah well. Good luck Bob, we'll miss you.
-
bye bob!
here's a tip, take multiple daily stops at the local pub. its easyer to stay awake when you are drunk.
-
Don't sweat it Bob, some things are just much more important to the long run of your life than others. Just remember somewhere in your schedule to take the time to relax and enjoy yourself. Makes even the toughest moments easier to handle if you don't have a long term stress build up. :)
-
i am in that boat too
i have to manage a coding project for CS309 - we have to have a fully working gui-intensive real-world-useable high-quality application done THIS SEMESTER
-
God dammit! Guys, don't leave... Or come back soon.
The community needs you. I mean it.
-
I'm not leaving, I just have no time to do anything usfull
and Kaz, that sound like fun :)
-
Build yourself something that could freeze time;)
-
Originally posted by Bobboau
I'm not leaving, I just have no time to do anything usfull
and Kaz, that sound like fun :)
ditto part a
probably on part b
-
I hear all of you...this next week is going to be especially crazy and who knows what the year holds for essays, multimedia assignments, and general crazyness! Enjoy yourselves...its only this fun once :)
-
And lets face it, for Bobboau in the last 2 months, we have Specular lighting, 3d Shockwaves, Animated backdrops and a whole host of other little things :)
From Kazaa we have ongoing Networking and Multiplayer work as well as lots of stuff I haven't heard about :)
I think both of you have earned the right to leave things alone for a few months, besides, hopefully you'll have lots of shiny new ideas for the SCP when you are able to resume ;)
Best of luck with the projects and schoolwork etc, if you put half the energy into that as you have put into us and the SCP, you've got it made :)
Flipside :)
-
what would really get my going is someone/something sucking me back into playing regularily..... I think my network code will do that
-
Kazan, just curious, if I get a mySQL database loaded with required tables, and a PHP script that'll parse commands into the database, is it at all possible for you to perhaps make a small branch of the SCP to make certain calculations and punch them into the PHP script on the website to enter them into the database? Calculations like if an Orion was destroyed, enter command a command that'll delete $row["Orionship"] in the ships table or something like that.
This is for Fleet Wars by the way.
-
the server directly connects to the database - not via the PHP scripts - you could theorectically write PHP software that would trigger every so often (hour or so) that would compare an old value set to a new value set and automatically manipulate your tables for you
ie the infrastruct looks like this
<+ + +> = UDP connection
<-----> = TCP Connection
FreeSpace 2 Game Client < + + + > FS2OpenPXO Server <------> MySQL
then the website would have
MySQL DB <------> PHP
-
There's a problem with that though. an0n's mySQL database that I am using does not allow external connections(so he says), my brother is a professional coder and he does say that the server could run a link to the PHP script with the necessary values punched into the link.
-
external connections = non-localhost connectoins
FS2OpenPXO can run on the same server as the mySQL
furthermore accessing mysql via php is stupid - take more code, more time at execution, lower performance overall, decrease security.
yes it can be done: should it be done? HELL ****ING NO -- i am a professional coder too.
fyi: all of the FS2OpenPXO stuff will be on one central server - ie one computer running both FS2OpenPXOD and mySQLD
so ou would have to write a program to fetch data from the central server in READ-ONLY mode and process it into your own DB
-
Not sure you get what I'm trying to do, or I'm not understanding you.
Fleet Wars is a league, not a stat-tracking system, like your PXO thing will be. It'll be like squadwars, except with capital ships on the teams too, and resource tracking and building.
For one: I can't install FS2OpenPXO onto the server machine with the mySQL database because its RENTED, and i highly doubt they allow you to upload executables and run them :p So the only option i have is to use a PHP step.
-
Originally posted by Bobboau
try an 8:00am calculus class :shaking: :(
I did that last semester.... scored quite well though, made an A. :nod:
Now I have Discrete Mathematics at 8 in the morning, which appears to be the only class worth anything closely intellectually stimulating for the time being.
-
Originally posted by DragonClaw
Not sure you get what I'm trying to do, or I'm not understanding you.
Fleet Wars is a league, not a stat-tracking system, like your PXO thing will be. It'll be like squadwars, except with capital ships on the teams too, and resource tracking and building.
For one: I can't install FS2OpenPXO onto the server machine with the mySQL database because its RENTED, and i highly doubt they allow you to upload executables and run them :p So the only option i have is to use a PHP step.
The FS2OpenPXO server would be one community run server - including "Squadwar" tracking - which would collect all the data yo needed to translate into your FleetWars via PHP scripts that logon to the "PXO" mySQL read-only accout
-
Originally posted by Joey_21
I did that last semester.... scored quite well though, made an A. :nod:
Now I have Discrete Mathematics at 8 in the morning, which appears to be the only class worth anything closely intellectually stimulating for the time being.
my schedule
Com S 309 - Software Engineering (reguring that which i already know)
Com S 362 - Object Oriented Analysis and Design (ditto)
Math 166 - Calculus II (ooh fun, sigma notation! antiderivation... im sooo challenged *pfft*)
Eng 105 - Composition II (yawn)
Psych 101 - Intro to Psych (easy but fun)
-
Originally posted by Kazan
The FS2OpenPXO server would be one community run server - including "Squadwar" tracking - which would collect all the data yo needed to translate into your FleetWars via PHP scripts that logon to the "PXO" mySQL read-only accout
So FleetWar matches would be run on that server?
If not, and even if it does, it doesn't solve the resource-tracking problem unless extra code is coded into the source.
-
I think what he wants is the ability to keep track of things like 'fleet a' has 10 orions with 90 fighters each, one colosus, four hecates, twenty aeolis, and a faustus, 'fleet b' has a similar setup
AFTER A BATTLE,
'fleet b' destroied two of 'fleet a''s orions and tweny of it's fighters (the rest escaped I guess), 'fleet b' lost thirty fighters ten bombers and a hecate,
the fleet stats of each must be updated
I think he needs some way of tracking this, giveing FS sort of a MMOG (or whatever the acronem is) type feel
meh, I'm not a network programer so I won't make any sugestions on how to do this, and I'm not a big online player so I don't realy care that much to be totaly honest, I'm sure something can be done to facilitate this. I mean most of all it would probly take is some sort of mesage being sent anytime anything got blasted, maybe a mesage giveing the end of mission status of all ships.
eh, too tired
-
Yeah thats what I meant. Either have that output to a .txt file or something, so I can punch the values into the database separately, or once i write a php script perhaps send it into the database through that.
But yeah, you got the concept, except the fleets won't nearly be that big(lag issues :p )
-
Originally posted by DragonClaw
So FleetWar matches would be run on that server?
If not, and even if it does, it doesn't solve the resource-tracking problem unless extra code is coded into the source.
the resource tracking problem is _yours_ to resolve!
all the data required for you to track resources can/will be stored in the PXO server - you just have to read the databases - compare to your last copy of them, and then figure out from there
IE: Last Update X Person had N kills of type "Hecate" now then have N+1, they are on Team YourFatMom, and their last battle was against Team StupidVictims - therefore StupidVictims must have lost a hecate
you'd have your own database of propritary data - BUT that could be build off the PXO database
-
Well at the moment all I'm asking is this:
That code be implemented that spits out a .txt file of all ships lost(with names) into the main FS2 directory, or perhaps a freespace2/fleetwar directory. Thats it. Would make my life so-much easier.
-
Originally posted by DragonClaw
Well at the moment all I'm asking is this:
That code be implemented that spits out a .txt file of all ships lost(with names) into the main FS2 directory, or perhaps a freespace2/fleetwar directory. Thats it. Would make my life so-much easier.
convince me of why you cannot simply do it the way i suggested and ill consider it
-
Because it is far too complicated.
[edit] and you aren't making much sense in the first place [/edit]
-
well if you need it to spit out a txt file, that isn't even something to wory about in the net code, someone would just have to imlement something in the end of mission code, the net code wouldn't even have to get involved for that
-
Yeah well I don't even know how to do that, so all I'm asking is a command line option be implemented that spits out a txt file at the end of a mission of every ship lost and what team they were on (even hostile/friendly teams are fine)
-
You could always press F4 at the end of the mission. If you're going to implement a spitter-outer have it spit out that log.
Bob, I'd like to ask you for a small favor as regards to shine mapping, before you go away. My shine maps are growing close to completion, however, I made them all in greyscale. Could you recalibrate the code so the engine uses the intensity of the shine map and ignores the hue? Otherwise all the Vasudan fighters will come out as a silvery grey.
Also, could you turn shine mapping OFF by default unless it finds a shine map, in a similar way to glowmapping? This would improve performance if you decide not to install the shine maps, and would prevent me from having to include lots of blank black maps for those textures we don't want shiny.
Thanks. I'll send you some of my shine maps so you can adjust the code as necessary to make them look good.
-
but it's a scpec map, it's suposed to be that way, you are able to give a ship a diferent specular color than the defuse color, this way you can have for examle a purple highlight on a blue material, it's more flexable this way.
why did you do it that way?
easy way to fix it would be to multiply youre exsisting maps by the defuse colors, but you will still have to touch up things like the cocpits.
there would be no performence boost useing grey scale, in fact thered proobly be a penalty,
and think about it, if it takes the color of a cockpit (black = 0) and multiplys it bt the color of you're specmap (white = 1), whats it gona come out to be? (0 x 1 = 0)
there are a number of reasons why I did it this way.
a comand line option could turn off the loading of defuse maps as shine maps if no shine map is found.
-
Originally posted by DragonClaw
Because it is far too complicated.
[edit] and you aren't making much sense in the first place [/edit]
/me laughs hysterically - quite incorrect
it would be relatively simple you are either incapable or too lazy to do it yourself
ESPECIALLY if we have squadwar store ship-destroyed events and what not
i am not in the business of doing everyone else work for them, and if you didn't notice lately it's been annoying me because i have had a lot of people coming to me asking me to do their work for them