The online racing simulator
Searching in All forums
(482 results)
burnsy1882
S2 licensed
Driver added to Team Kitty.
burnsy1882
S2 licensed
this is an awesome idea. in there now, and yeah, can't get myself away from it .

some suggestions though:
1. maybe increase the time limit on the races. if two new drivers are pitted against each other, it may take longer than normal for one or the other to finish and win.
2. for betting: it'd be nice if the system would announce the cars that the upcoming racers will be driving. a driver could be good in one car, but not another.
3. the betting menu should be smaller (without that huge space above), unless you are gonna use it for something else.
4. i assume the "Next Track Change" function isn't working yet, as it's always N/A. It also may be nice if the system would either have that function working, or would cancel your bet when the track changes. You may decide that you want to bet on someone different for the different environment.

if i think of others, i'll add to this. otherwise, again, great idea.
burnsy1882
S2 licensed
not able to change the color of the line. LFS allows only white.
burnsy1882
S2 licensed
Quote from Fischfix :is it possible to have another button for the admin like: "start safetycar period" in which
1) a fcy is displayed

i don't understand what a "fcy" is
Quote :
2) pits are closed until the leader is behind the pacecar (can also be admin triggered)

there's already a button to close and open the pits
Quote :
3) open pits

same as above
Quote :
4) give out "green next time by" command (again admin triggered)

DWB, from IGTC admin team, came up with an ingenious way to do that, just rename the red flag options to do that exact thing.
Quote :
5) gives a stop and go penalty to the ai pacecar (so it goes to pitroad next time)
6) restarts the race after a random period of time after the pacecar crosses pit entrance
7) send pacecar to spectate

these three, i don't understand what you are doing. first, why are you using an ai pacecar? and why would it be necessary to restart the race after you just did the pacecar lap? seems pretty redundant.

in a nut shell, this program was only to help out those admins who are permanent admins/marshals on the server, plus a human driven SC.

so, 2-4 are handled for you, the rest i don't understand.
burnsy1882
S2 licensed
Team Kitty skin for their IGTC entry.
Last edited by burnsy1882, .
burnsy1882
S2 licensed
Team Name: Team Kitty
Car Model: XRR
Team Manager: K.Burns [burnsy1882]
Team Vice-Manager: A.Terrahe [appiepils]
Drivers:
K.Burns [burnsy1882]
A.Terrahe [appiepils]
L.Kaczmarek [mischief007]
H.van Arem [FireFox86]
Last edited by burnsy1882, . Reason : remove driver
burnsy1882
S2 licensed
Quote from pearcy_2k7 :Replays men replays!

Quote from rc10racer :Replays are not full but only what i have.

http://www.filesharefree.com/423356

the replay is posted in the results and points thread for the round.
burnsy1882
S2 licensed
a quick google search would have found you a "wheel". don't reinvent it.

http://www.codeproject.com/KB/miscctrl/A_Gauge.aspx

i was gonna use this for an idea i had for outgauge, but never got around to it.

PS. yeah, i see your edit, but others may find some use for the code too
burnsy1882
S2 licensed
Quote from Gil07 :DWB, what's the diference between the Ajax tracker and the other?

the AJAX tracker will refresh the data on screen, behind the screen. you won't see the browser automatically refresh like the other, normal one.
burnsy1882
S2 licensed
Quote from Wikipedia: LSD's :Geared LSDs are less prone to wear than the clutch type, but both output shafts have to be loaded to keep the proper torque distribution characteristics. Once an output shaft becomes free (e.g. one driven wheel lifts off the ground; or a summer tire comes over ice while another is on dry tarmac when the car goes uphill), no torque is transmitted to the second shaft and the torque-sensitive differential behaves like an open differential.

i don't really see any difference between a Torsen and a regular Clutch-Pack, but it would be nice to see in LFS, to actually compare the two, to see which is better for a specific car in LFS.
burnsy1882
S2 licensed
S1/2, i tried /axload, /axlist, etc, etc on demo. they don't work on, at least as far as i can tell, on a demo server, as they rightfully shouldn't. but yes, i went to single-player, added two restricted area, invisible marshals to that inside part of the chicane, then renamed it to BL1_.lyt. uploaded, then connected and tested it out. worked just fine.

while in there, if you go to place other objects, the original marshals do not show up. kinda odd, but as long as it works, no biggie. it's too bad this functionality wasn't available for demo servers pre-Y18.
burnsy1882
S2 licensed
actually, all i did was setup some marshal circles, without the actual marshals, in that chicane area and named the layout BL1_.lyt. that way it's loaded anytime it gets to that track.
burnsy1882
S2 licensed
yup, that worked. thanks.
burnsy1882
S2 licensed
Quote from Shotglass :does /axload work when youre logged in as an admin or right in the dedi console?

no, and i don't have access to the dedi console, 500servers.
burnsy1882
S2 licensed
Quote from Scawen :In fact, layouts with only marshall circles are allowed, just no actual objects.

Objects would allow so many possibilities, that's not the idea of the demo.

ok, so may i ask how i would set up a marshal on my demo servers to stop racers from using the gap in the BL1 chicane? do i make a layout myself and upload it as BL1_.lyt? i've tried going myself on the server to place an object, but as usual i'm not able to, so i would guess the procedure would be like above?

EDIT: just tested that, so that obviously doesn't work. the demo server just ignores the layout.

EDIT 2: <VENT> i need to vent, so i thought i'd do it here and not open a new thread. my demo server was still Y patch as there were people on it, and didn't want to boot them off. some really good racing on there with XFG @ BL1, was cool to see the demoers behaving. then when i connect up, just to watch a little, this guy immediately asks to be banned, as he's flying down the back straight at like 200mph. yeah, brake hack. so, /ban 999. and he comes back, /ban 999, and he comes back. he obviously knew how to get his modem to get a new IP, but i still don't see the point in doing this other than wanting to be an attention whore. so after awhile, i gave up, gave a message to the other nice racers about the one spoiler of the server, and changed it to Y18. hopefully some pre-Y18 racers register and come back.</VENT>
Last edited by burnsy1882, .
burnsy1882
S2 licensed
i think everybody is looking at this new patch in the opposite way that it should be. no offense, but i think scawen accidentally detailed it backwards.

there are actually no real changes to S1/2 hosts. the change is demo servers now allow S1/2 users to connect with their usernames, and continue to log miles, laps, PB's, etc, etc. that's all. and the obvious changes of demo users have to register usernames too.
burnsy1882
S2 licensed
i guess i can revise my problem. i did some testing to see if, when the program is exited poorly (no cleanup, no disconnect), mysql still closes the connection. i watched the connections with mysql administrator, and did both kinds of close, the one that ran the connect.close() and the one where it wouldn't get run. both times the connection still closed by itself.

now i guess a new question. if the program is terminated in a poor way, would information get lost/corrupted when mysql terminates the connection, and not when the connect.close() is run? the data that gets written to the db is not volitile, as it would just get emptied and new data written to it next time.
console exit problem
burnsy1882
S2 licensed
i need to exit out of a console program i'm making nicely. meaning, i need to do some cleanup before actually quitting the program. for instance, i would need to close a mysql connection.

here's the code i have so far that i've found from other sites:
// test mysql area
MySqlCommand cmd = new MySqlCommand();
Object returnValue;
MySqlConnection connect = new MySqlConnection("<removed>");

// end area

/// <summary>
/// Starts up the program
/// </summary>
/// <param name="args">The args.</param>
static void Main(string[] args)
{
SetConsoleCtrlHandler(new ControlEventHandler(OnControlEvent), true);

try
{
Process[] pr;
pr = Process.GetProcessesByName(Process.GetCurrentProcess().ProcessName);
if (pr.Length > 1)
{
//Console.WriteLine("Only 1 instance of SingleInstanceTest is allowed...");
Environment.Exit(0);
}
else
{
//Console.WriteLine("There can be only 1...");
}
//Console.ReadLine();
}
catch (Exception ex)
{
Console.WriteLine(ex.Message);
}

Program p = new Program();
p.Config();
p.Setup();
p.Start();
p.Goooo();
}

public enum ConsoleEvent
{
CTRL_C = 0,
CTRL_BREAK = 1,
CTRL_CLOSE = 2,
CTRL_LOGOFF = 5,
CTRL_SHUTDOWN = 6
}

public delegate void ControlEventHandler(ConsoleEvent consoleEvent);

[System.Runtime.InteropServices.DllImport("kernel32.dll")]
static extern bool SetConsoleCtrlHandler(ControlEventHandler e, bool add);

public static void OnControlEvent(ConsoleEvent consoleEvent)
{

//connect.Close();
Console.WriteLine("Event: {0}", consoleEvent);
Console.ReadLine();
}

this code will actually work, but only if you use CTRL+C instead of the X in the corner of the console. the program will wait until the OnControlEvent processes. however, if you use the X in the corner, the program will Breakpoint there, but it will still exit itself, breaking past the breakpoint. i think that this is a drawback of the OS killing the thread, and not a real problem with the console program.

has anybody had to do a similar kind of thing for a console program, and would you be willing to post your code to try out?

also, it's possible for me to use this code now, just limit the closing of it to CTRL+C, but how do i get to my connect.Close(); from inside the OnControlEvent? connect is referenced at the top of the code snippet, which is outside of the main.
burnsy1882
S2 licensed
it's a problem with the Shift+U function, not TV Director. if you go to edit a camera, move the camera a little with the right click button, you'll notice that the black areas go away.
burnsy1882
S2 licensed
Quote from Gekkibi :Ya, and this what I meant. If I would like marshals to use race director, but not anything else, I would give hime the "$ovalAdmin", but not the admin-password. That's why it would be better to have automatic restart and lap-reduction.

no, in order to use the command that you configured, the person who wants to use has to be an admin of the server, otherwise they will not see anything. just as he said above, it's a security thing. otherwise, anybody would be spamming the server with button clicks and all.

also, a Red Flag normally is to halt the race to speed up a cleanup after a wreck, and thus would not restart a race, so that's why it's just showing a red flag. you could also use the red flag for after a race to stop people driving around the track and get them into the pitlane or something.
burnsy1882
S2 licensed
i'd have to agree. the first time i ran into this problem was when i just got the P5W DH DLX, which also pretty much just came out, and i was installing Vista Beta. and after some searching, found out that i needed to actually get even newer BIOS for it.
burnsy1882
S2 licensed
well, it's probably mobo dependent. my P5W DH DLX had it enabled by default, but it's always the first thing when installing vista that you need to check.
burnsy1882
S2 licensed
you need to turn off RAID on the mobo, as vista does not come with RAID drivers at the beginning, and it locks up trying to access the harddrives. if you are wanting to use RAID, you have to load the raid driver on a separate floppy to load up when prompted to press a keystroke to load the driver.

i had the same problem when i first got vista for my E6600, P5W DH DLX mobo. updated the BIOS and turned off the RAID, and it worked. i turned it off, as i wasn't going to use RAID.
FGED GREDG RDFGDR GSFDG