The online racing simulator
Searching in All forums
(17 results)
alistairuk
S2 licensed
We are migrating server as per announcement here: http://www.lfsforum.net/showthread.php?p=816294#post816294

We will be back in a few hours
alistairuk
S2 licensed
We are having some problems and are restarting the server, we will let you all know when its back up.

Update @ 1432 BST: Servers are back up, however we can not find the fault with the LFS servers, we will keep working on it.
Last edited by alistairuk, .
alistairuk
S2 licensed
The problem should now be fixed. Please let me know if it hasn't updated.
alistairuk
S2 licensed
Hi, this problem should already have been resolved (around a week ago) - if it is occuring again, please send a message to the developer via facebook so that I can view your profile.

If you do not wish to do this, please tell me the "last updated" information from the bottom of the box.

I have a flight to catch, but I will look at it tomorrow.

Ps. I also need either your facebook user ID (the 8 - 12 digit number) and/or your CTRA username.
alistairuk
S2 licensed
We are aware of a technical fault with the raceauthority.com web site and are correcting this now.

It has now been fixed as of 2205
alistairuk
S2 licensed
Quote from SamH :AFAIK it's running as a service. I didn't write it and it's running under a different account from the one I'm using.

shhh stop giving my babys secrets away - assuming its my thing your talking about

In Sam's defense he is sucessfully resisting all my attempts to PHP him
alistairuk
S2 licensed
Quote from SamH :Well, a couple of reasons for it not being open source, really. Firstly, I don't really believe in open source software as a base premise. That's an ethos, and neither correct nor incorrect, but still the perspective I hold on this project. There's no reason for it to be open source, when it's actually regarded by the team as proprietory UKCT software. Smile

Secondly, the software isn't coded in a common language. It's not VB or a C variant but in Blitz. I only know of one other active LFSer, that hasn't been involved in the coding of the X-System, but who has used the same language. The X-System wouldn't really benefit from open source exposure and would just undermine the proprietory nature of the system. Smile

Lastly, LFS wouldn't benefit from more CTRA clones right now. Unfortunately the userbase is already at full stretch and another CTRA-type licencing system would just dilute the community further. When S2 gets the exposure that going Golden Master will bring, the upsurge in new players may make clones more feasible.. but even then, that won't necessarily mean that it would be in the best interests of UKCT, CTRA or the community at large to release the underlying code to open source. Smile

To further Sams response; The CTRA system consists of numerous components which all work together so making any one part available wouldn't really do much good.

With the code available to persons outwith UKCT there is also the potential security risk that it would present - we are still not entirley sure how efficient and secure the code is. As I believe is apparent by the random crashes Sam is still trying to work out, which was one of the reasons we were looking into C# for portions of the system.
alistairuk
S2 licensed
Quote from Jakg :CompuTeam Race Authority.

Computeam is a name from back when UKCT was split into two teams - Computeam Racing (CTR) and SlipStream Racing (SSR).

BTW - Everyone in UKCT calls it C-T-R-A.

We do? I call it "seetraks" on a good day and I wont repeat what I call it when I hear sam saying "ali...."
alistairuk
S2 licensed
Quote from AstroBoy :Im a supporter of myspace wheres my justice?

As much as I hate mySpace if there is adequate interest, once the development platform for myspace is released in a few weeks I'll do it for myspace as well.
alistairuk
S2 licensed
Quote from SamH :Yesss... about that seemingly random string of characters... if only that had been ALL that was!!

It wasn't that important

Quote from SamH :
Facebook caches the licence, sadly. It's supposed to randomly display one of your 3 licence statuses.. CTRA, SS or BnJ I'll ask Ali if he can change it to show all 3.

damn you! I really should have refreshed first.
alistairuk
S2 licensed
Quote from Bean0 :Ah yes, the string of seemingly random characters is gone as well

Does the license pic change at all?
It always seems to show my SS license, I would much rather it showed my Titanium one

It should be random, however facebook seems to cache images to save bandwidth.

I have changed it to display the 3 license types, so all 3 should be shown on your profile next time your stats update.
alistairuk
S2 licensed
My apologies for the minor oversight on my part.

As I am sure you’re aware I can only test this with a limited number of accounts and it just so happened the accounts I tested it with where all from England. Thus I did not notice my minor flaw of having WHERE Country=’England’ in my mySQL code.

At least it’s not as bad as the typing error it had yesterday – Sam knows what I mean.

All the profiles should have been updated with the correct information as of 1744 UK time.

Again, apologies for the mistake!
alistairuk
S2 licensed
it appears to be working now, thank you so much for your help.
alistairuk
S2 licensed
I hope this is what you mean;


[SIZE=2][COLOR=#2b91af]IS_ISI[/COLOR][/SIZE][SIZE=2] objConnect = [/SIZE][SIZE=2][COLOR=#0000ff]new[/COLOR][/SIZE][SIZE=2][COLOR=#2b91af]IS_ISI[/COLOR][/SIZE][SIZE=2](0, [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].strLFSPass, [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].strAppName);
[/SIZE][SIZE=2][COLOR=#2b91af]Byte[/COLOR][/SIZE][SIZE=2][] data = PacketToData( objConnect );[/SIZE]
[SIZE=2]

[/SIZE]

When the debug pauses and I inspect the objects the objConnect has the correct values (as in structure above), is it possible ive defined the structure wrong?
alistairuk
S2 licensed
Ok, ive run it but I get a TypeMissMatch error at;

Marshal.StructureToPtr(SourceStruct, Ptr, false);
alistairuk
S2 licensed
Cheers, i'll give that a try.

No idea, I just copied and pasted it from Visual C# 2008 and it coloured it automatically.
C# Initial Packet Query
alistairuk
S2 licensed
Hi all,

I am attempting to connect to the InSim on an LFS server using c#.

So far I have:


[SIZE=2][COLOR=#2b91af]TcpClient[/COLOR][/SIZE][SIZE=2] objTCPC = [/SIZE][SIZE=2][COLOR=#0000ff]new[/COLOR][/SIZE][SIZE=2][COLOR=#2b91af]TcpClient[/COLOR][/SIZE][SIZE=2]([/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].strRemoteHost, [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].intRemortPort);[/SIZE]
[SIZE=2][COLOR=#2b91af]NetworkStream[/COLOR][/SIZE][SIZE=2] objNS = objTCPC.GetStream();[/SIZE]
[SIZE=2][COLOR=#2b91af]Console[/COLOR][/SIZE][SIZE=2].WriteLine([/SIZE][SIZE=2][COLOR=#a31515]"TCP Connected {0}:{1}"[/COLOR][/SIZE][SIZE=2], [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].strRemoteHost, [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].intRemortPort);[/SIZE]
[SIZE=2][COLOR=#008000]//Send Connection Packet[/COLOR][/SIZE]
[SIZE=2][COLOR=#2b91af]IS_ISI[/COLOR][/SIZE][SIZE=2] connect = [/SIZE][SIZE=2][COLOR=#0000ff]new[/COLOR][/SIZE][SIZE=2][COLOR=#2b91af]IS_ISI[/COLOR][/SIZE][SIZE=2](0, [/SIZE][SIZE=2][COLOR=#a31515]"pass"[/COLOR][/SIZE][SIZE=2], [/SIZE][SIZE=2][COLOR=#a31515]"appname"[/COLOR][/SIZE][SIZE=2]);[/SIZE]

Basically the problem is I havn't used Structures before and in order to send the IS_ISI structure I created I need to convert it to a Byte array.

Can anyone help me out? The structure is defined as per the InSim specifications file;

[SIZE=2][SIZE=2][COLOR=#008000]//InSim Init - Packet to initialise the InSim System [/COLOR][/SIZE]
[SIZE=2][COLOR=#0000ff]public[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]struct[/COLOR][/SIZE][SIZE=2][COLOR=#2b91af]IS_ISI[/COLOR][/SIZE]
[SIZE=2]{[/SIZE]
[SIZE=2][COLOR=#0000ff]static[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]byte[/COLOR][/SIZE][SIZE=2] Size = 44;[/SIZE]
[SIZE=2][COLOR=#0000ff]static[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]byte[/COLOR][/SIZE][SIZE=2] Type = 1; [/SIZE][SIZE=2][COLOR=#008000]//ISP_ISI[/COLOR][/SIZE]
[SIZE=2][COLOR=#0000ff]static[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]byte[/COLOR][/SIZE][SIZE=2] ReqI = 1; [/SIZE][SIZE=2][COLOR=#008000]//Requests IS_VER packet[/COLOR][/SIZE]
[SIZE=2][COLOR=#0000ff]static[/COLOR][/SIZE][SIZE=2][COLOR=#2b91af]UInt16[/COLOR][/SIZE][SIZE=2] UDPPort = 0; [/SIZE][SIZE=2][COLOR=#008000]//Port for UDP Replies 0 - 65535[/COLOR][/SIZE]
[SIZE=2][COLOR=#0000ff]static[/COLOR][/SIZE][SIZE=2][COLOR=#2b91af]UInt16[/COLOR][/SIZE][SIZE=2] Flags = 32; [/SIZE][SIZE=2][COLOR=#008000]//Bit flags for options[/COLOR][/SIZE]
[SIZE=2][COLOR=#0000ff]static[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]byte[/COLOR][/SIZE][SIZE=2] Sp0 = 0;[/SIZE]
[SIZE=2][COLOR=#0000ff]static[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]byte[/COLOR][/SIZE][SIZE=2] Prefix = System.Text.[/SIZE][SIZE=2][COLOR=#2b91af]Encoding[/COLOR][/SIZE][SIZE=2].ASCII.GetBytes([/SIZE][SIZE=2][COLOR=#a31515]"$"[/COLOR][/SIZE][SIZE=2])[0];[/SIZE]
[SIZE=2][COLOR=#0000ff]public[/COLOR][/SIZE][SIZE=2][COLOR=#2b91af]UInt16[/COLOR][/SIZE][SIZE=2] Interval;[/SIZE]
[SIZE=2][COLOR=#0000ff]public[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]char[/COLOR][/SIZE][SIZE=2][] Admin;[/SIZE]
[SIZE=2][COLOR=#0000ff]public[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]char[/COLOR][/SIZE][SIZE=2][] IName;[/SIZE]
[SIZE=2][COLOR=#0000ff]public[/COLOR][/SIZE][SIZE=2] IS_ISI([/SIZE][SIZE=2][COLOR=#2b91af]UInt16[/COLOR][/SIZE][SIZE=2] Interval, [/SIZE][SIZE=2][COLOR=#0000ff]string[/COLOR][/SIZE][SIZE=2] Admin, [/SIZE][SIZE=2][COLOR=#0000ff]string[/COLOR][/SIZE][SIZE=2] IName)[/SIZE]
[SIZE=2]{[/SIZE]
[SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].Interval = Interval;[/SIZE]
[SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].Admin = Admin.ToCharArray();[/SIZE]
[SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].IName = IName.ToCharArray();[/SIZE]
[SIZE=2]}[/SIZE]

[SIZE=2]}[/SIZE]
[/SIZE]

FGED GREDG RDFGDR GSFDG