The online racing simulator
Is the server stuck on endurance settings ?
Races are really quite long for a Monday night (Aston club rev was 36 laps) I wouldn't mind so much if there was a compulsory pitstop of about 20 minutes or so to break it up a bit and go get some groceries
Considering that even with admin access it can be quite hard to get onto servers it would really have helped to find out which server Tony . I think though, 35 laps of Aston Cadet is just over half hour on STCC2 isn't it? So it's typical of endurance length, it just shouldn't be endurance on STCC2 tonight. The races (no SO) do seem unusually long on STCC2 as it should not be endurance night. I'm not sure why that is happening, but...

I'm about to launch an update of significant proportions and I dont want to go ahead with until i've got somebody on the server itself to monitor CPU/RAM loading and bandwidth usage etc because i've just made quite a significant new feature.

Atm, I can't relaunch the manager without the update that is poised to go starting up, because I already uploaded the $relaunch files before I saw this post. If I relaunch now the update goes live.

So i'll sort this later tonight.

It's no use me changing laps with admin commands, unless I close the server the manager will set them back again.

On the plus side, you get LOTS of points for endurance races
Yes, sry, it was STCC2 server, oops !

I agree, you do get lots of points on endurance and it certainly has it's place but I usually have to take a lie down for the rest of the night after one of those events, so it evens out
I think this sort of thing is happening again... As I post, both STCC1 servers are using Endurance-type lap counts. In STCC1a, Endurance Day is said to be Tuesday, and in 1b it should be Monday... Now, today is Thursday, so I'm utterly flummoxed as to why the servers are using endurance settings, especially at the same time. It's annoying to say the least, coming in to get a few points in fifteen minutes or so, only to see a race on lap three of seventeen.

Any ideas why this is happening?

DE
Something is wrong with my day function and I dont know what, it is returning a '2' for today - it should be returning a 4. Server 1a is set to '2' which is Tuesday (I think).

Anyway, this is the code

[/COLOR]
[COLOR=black]If y<=1752 Then calendar=0 Else calendar=1 ;Julian/Gregorian[/COLOR]
[COLOR=black]If m<3[/COLOR]
[COLOR=black]m=m+12[/COLOR]
[COLOR=black]y=y-1[/COLOR]
[COLOR=black]EndIf[/COLOR]
[COLOR=black]d=(d+(2*m)+(6*(m+1)/10)+y+(y/4)-(y/100)+(y/400)+calendar) Mod 7


If anyone brighter than me can figure out what is wrong with it, or suggest an alternative method lol.

Have I a bracket in the wrong place? I've no idea, tbh calculating the day of the week is all a bit Einstein to me. I thought i'd cracked it, but apparently not.
I've got no idea how to help, but the STCC 1 S1 server just put itself to 18 laps at SO Classic. Last night on SO Sprint 2, races were at 12 laps which is fine, but the server put the length up to 24 after a few races.

I hope you can work out how to fix it.
Quote from Becky Rose :or suggest an alternative method lol.

polling system time ?

oh wait im guessing youre already doing this and dividing it to get months and years ?
Yes, polling the system time gives me a date that I turn into d for day, m for month and y for year, I then need to turn that into a 7 day calendar to get the day of the week which is what the function above does, allegedly. I think it's wrong somewhere though.

I thought I was being all smug by including support for the Julian calendar (I wrote it so I could use the function again in the future), but as it doesnt work all traces of smugness have been replaced by 'wtf'.
well that bit of code doesnt really help trying to figure out whats wrong without showing how you calc y and m

generally id guess it goes haywire due to leap years
y is the year, 2007, m is a value from 1 - 12, and d is the date. That part is working correctly.

FGED GREDG RDFGDR GSFDG