The online racing simulator
Searching in All forums
(114 results)
mkserve
S2 licensed
personally i dont care how difficult the application was to create, the fact that he came up with the project idea, and produced something with others in mind, is a testiment to his worth.

Great job Shaun, I look forward to your next project
mkserve
S2 licensed
Quote from wheel4hummer :The text is fuschia not pink!

There;s always one that has to nit-pick isn't there

:: hides from wheel4hummer :: hehehe
mkserve
S2 licensed
Quote from NeoArnold :I have a question....

it has an exclusive server for children less to 13 years? I have a nephew of 9 years old who it likes much to play LFS but always I put him in a single player because in the normal servers, most of the people they do not like to run with children, or novices.


Thanks.

There are a couple on here, that are on at certains times of the day. UKCT is considering starting one that will be left up 24/7, however we would need a few admins to keep eye on this server, as we have too many to watch already, and a minors server would require more attention than we could give it.

However this is still in the thoughts stage, we are still waiting for opinions from you guys as to wether it's needed, or if we already have enough
mkserve
S2 licensed
i do remember on of my team mates (cough, cough, SAMH!!!!) Making me crash by spamming me with "PINK FLAG - MIKES RACING"

mkserve
S2 licensed
i'm not sure what's going on, i thought someone else was setting a box up, didn't want to step on anyones toes.

the max age of racers, we'd probably set around 13 or so, as most racers over that age, are reasonably compatent anyways.

This being said, If we are still missing a kids server, UKCT will glady set one up, and yes, we could do with external admins for the kids server if it takes off

ta

Mike
mkserve
S2 licensed
Quote from Dygear :Give me like 5 days. Seeing as lurLFSd is pretty much MIA, I'm going to make my own InSim Program in PHP. Programmable via php plugins and all.

sounds like a kewl project.
mkserve
S2 licensed
Quote from thisnameistaken :Yeah I like the foreign people. I like most of them anyway, except the Spanish, French, German, Belgian, Italian, Finnish, Swedish, Latvian, Estonian, American, Swiss, Austrian, Canadian, Russian, Danish and Australian ones. And of course the Norwegians - I haven't forgotten about you, Norway. Your time will come.


Oh yes.

ROFLMAO ... i nearly fell off my seat cause of that!

Personally i think the multicultural aspect of LFS is a great thing, another part of what makes the LFS community special.
mkserve
S2 licensed
ahh yeah... i forgot about that... although it turned up in my list as recently posted to, so i thought an extra 60 secs wouldnt hurt .
I'm sure if a mod wanders in here they'll probs close it
mkserve
S2 licensed
hmm. Nice to see a thread that started off pointless, but amusing turn into another flaming session

as was once famously said by someone i cant remember :\

"cant we all just get along?"
mkserve
S2 licensed
Annoying Backmarkers????? I AM ALWAYS A BACKMARKER DAMNIT

hehehehe
mkserve
S2 licensed
KDE comes with a the tool ksnapshot (part of kdegraphics). It lets you easily photograph the whole screen or a single window. You can find it in the menu K -> Graphics -> More Programs or run it with alt-f2 -> ksnapshot

.. Found that on a site... never had to do it myself, (most of my linux stuff is done via SSH, no GUI

Hope it helps
mkserve
S2 licensed
Quote from evilgeek :i really, really shouldn't do this, but i just can't help myself...

may i ask how, exactly, someone who can't afford an S2 license can afford 3D Studio Max and Maya? last i checked they cost over $1000 each.

(you don't have to answer. in fact, i dare you not to.)

I'm guessing he found the evil Torrent (or Usenet).

either that or he now has no money cause he actually paid for them, now he's skint for the next 4 years
mkserve
S2 licensed
Quote from St4Lk3R :I saw you used my tutorial from the wiki. This one is completely useless because it is not already adapted to the new InSim. I'll have a free day tomorrow, I'm gonna check out how the new insim works and rewrite the tutorial then.

Well, i wouldn't say useless, it gave me a good starting block to look at, I was hoping i could just modify the packets to fit in with Insim v4. My Problem is, this is the first time i've worked in PHP outside of delivering and retrieving simple strings.

I'm going to continue with this method for personal usage only, as the new manager is being written in basic, as it was before.. However i think if i can crack making this work in PHP, it would ease some future projects we have up our sleeve, and hopefully give me a much better understanding of Insim

Again, i would like to thank everyone for thier help so far.. One of the things i have come to love about LFS, is the community involved with it
mkserve
S2 licensed
Yeah. The only Issue is, I been given a dealine of, by the Next release to get this working. Becky's stuff works until we move to Patch W, then The STCC (as it was formerly known) is dead, unless i get this sorted, lol

We got our Resident Expert on the case now too looking over all these posts to help me come to grips with it.


Thanks loads for all your help guys
mkserve
S2 licensed
that's what happens when you let LFS Devs loose in real cars
mkserve
S2 licensed
Quote from MAD3.0LT :i can see where he is going with his idea and i can see what other people are saying but what i say goes ok NO ARGUMENTS


we need to be able to have Team Socca matchs with gole posts and a ball that we ram out cars into to score points (like Top gear socca)







PS. i really dont want that but i could see it being amusing for like 5mins of fun

+3 from me... anyone up for writing a mod? LMFAO!!
mkserve
S2 licensed
Errr... No, lol.. I'm still trying to work out how the packet stuff is structured,

The old system (that becky wrote) had already translated the V3 info, and then simply asked my API based on simple strings (lfsuser=this&point=that) for example,

working with this is completely new to me.

If i had an example of a packet that you would send in the new format, with an explination of what does what in that packet, it would be greatly appreciated


ta

Mikey.
mkserve
S2 licensed
Hmm.. OK. I found some info on creating the listening server with PHP, and all seems well there.

I dont think i am constucting the insim packets correctly here (i'm a n00b outside of PHP).

Running from an insim turorial i have this :-

<?php 
$packet  
"";
$packet .= "ISI\0";
$packet .= pack("S"$localport);     
$packet .= pack("c"38);          
$packet .= pack("c"1);                  
$packet .= str_pad($adminPW16"\0");    
// Send packet
fwrite($sender$packetstrlen($packet)); 
?>

this connects, then based on a tutorial for INSIM i tried this.


<?php 
echo "Connected! Requesting Version packet...\n\n";
// The version-request packet is a simple InSimPack with ID "VER" and Value 0.
$packet "VER\0" pack("i"intval(0));
// send packet
fwrite($sender$packetstrlen($packet));
$packet false;
// receive answer from LfS: a packet with ID "VER"
$timeout time() + 2;
while (!
$packet && time() <= $timeout) {
  if (
$packet fread($receiver256)) {
    break;
  }
}
// check if really a version-packet arrived or something else we cant deal with at the moment
if (!$packet || substr($packet03) != "VER") {
  echo 
"No version package arrived, sorry :-(\n\n";
}
else {
  
// Parse version-package
  
$lfsV trim(substr($packet,  48)); // char
  
$lfsP trim(substr($packet126)); // char
  
$isv_raw substr($packet182);          // word
  
if(strlen($isv_raw) < 2) {
    
$isv_raw str_pad($isv_raw2"\0");
  }
  
$temp unpack("S",$isv_raw);
  
$insimV $temp[1];
  
  
// Show some version-information
  
echo "LfS Version-information:\n  LfS Product: $lfsP\n"
     
"  LfS Version: $lfsV\n  InSim Version: $insimV\n\n";
}
echo 
"Requesting InSimMulti-Package with Hostname now...\n\n";
// Now we request an InSimMulti-Package to get the LfS Hostname (if LfS is in multiplayer mode)
// To perform the request, we simply send an InSimPack with ID = "ISM" and Value = 0.
$packet "ISM\0" pack("i"intval(0));
// send packet
fwrite($sender$packetstrlen($packet));
$packet false;
// receive answer from LfS: a packet with ID "ISM"
$timeout time() + 2;
while (!
$packet && time() <= $timeout) {
  if (
$packet fread($receiver256)) {
    break;
  }
}

// check if really a ISM-packet arrived or something else we cant deal with at the moment
if (!$packet || substr($packet03) != "ISM") {
  echo 
"No InSimMulti-package arrived, sorry :-(\n\n";
}
// Get LfS connection type: are we connected to a client (0) or a server (1)?
$type_raw substr($packet41);
$temp unpack("c"$type_raw);
$type $temp[1];
echo 
"LfS type: " . (($type == 0)?"Client":"Server") . "\n\n";
// Get LfS Hostname
$hostname trim(substr($packet832));
if(empty(
$hostname)) {
  echo 
"Not in multiplayer mode\n\n";
}
else {
  echo 
"Hostname: $hostname";
}
// if we are connected to a server, restart it
if($type == 1) {
  echo 
"Now forcing server restart...\n\n";
  
// To inform the users, we will first send a MST(MessageTypePack)-packet to the server containing
  // the information that the server will be restarted now.
  // then we will force a server reinit, also using a MST.
  
$packet "MST\0" str_pad("^1SORRY, BUT THE SERVER WILL BE RESTARTED IN 3 SECONDS"64"\0");
  
fwrite($sender$packetstrlen($packet));
  
$packet "MST\0" str_pad("/reinit"64"\0");
  
fwrite($sender$packetstrlen($packet));
}
?>

then i disconnect


<?php 
$packet 
"ISC\0" pack("i"intval(0));
fwrite($sender$packetstrlen($packet));
fclose($sender);
fclose($receiver);
?>

This doesnt do anything exept connect and then disconnect?

If i can just figure out this basic bit.. I'm sure i can get it construct all the rest of what i need :-(

ty in advance to anyone that can help (btw i am writing for the new W17 patch),


Mikey
mkserve
S2 licensed
yeah... i'd never played with TCP Streams in PHP... It's always been mysql etc, and basic FSock, Not keepalives etc.

Looks simple enough tho, so i gonna have a crack in PHP

ta

Mike
mkserve
S2 licensed
Hmm actually now i think about it. maybe i could just create the TCP Streams in PHP? <G>

err... i'll have a stab at that, unless someone can think of a better way to do it

ta

Mike
a call for help from a stressed Team Member <G>
mkserve
S2 licensed
Hi All.
Well, as some of you know, i have been charged with creating the new STCC system. However, My programming skills (other than PHP) are rather sucky.

I have managed to get a basic idea of how Insim Works, and i would like some help from someone.

I am writing in Delphi, and becky gave me the source in Basic.

What i am basically trying to write is a Simple API that passes insim information to my PHP script, and then parses my PHP results back

for example if a user joins, It will send that information to my PHP script, my PHP script will look up that user, Do some maths etc with it and send the information back as a player message,

This is basically how the old system worked, except all the insim communication was done by becki's program, including driver aids / bans etc, It would be so much easier for me if i can use my native language (PHP) and there was a program in between basically feeding my PHP script events then returning it's reply to them.

can this be done? is anyone willing to help me?

Plllleaaassseeeee???

ty in advance

Mikey.
mkserve
S2 licensed
coding??? eh???
mkserve
S2 licensed
i wish ya the best of luck then matey

Anyone offering services to the LFS community, both paid and non paid get a +1 from me
mkserve
S2 licensed
Hi all. I was having a word with Fordman Earlier, and he needs to move his broadband etc soon enough.

the UKCT has agreed to setup a kids server on his behalf,
however. He wont be able to admin it, and although we can setup a reporting system (in the interests of child safety etc), we need a few admins willing to moderate the server for us, as with the UKCTRA development, both myself and SamH will be unable to do much with regards to admin.

We will, of course have a reporting system (not like the wreckers barricade), where a report of anything worrying will be emailed to a number of admins.

Please no PM's keep it in the forum, so if anyone has objections over someone becoming an Admin, it can be made.

Also we need an idea of what class the server should be (i am assuming demo server), and also, what it should be called (we dont mind dropping UKCT from the servers name if need be.. we're not "brand crazy" lol

Even just a "dont bother" would do, if you'd rather set something up elsewhere


ta


Mikey
mkserve
S2 licensed
Quote from Cr!t!calDrift :And what happens if there are multiple people in the car?

Maybe they could all run on thier hands so the car can run upside down?

ok. I think my mind is starting to unravel already
FGED GREDG RDFGDR GSFDG