The online racing simulator
Searching in All forums
(173 results)
Robbo01
S3 licensed
good that its back but why has it been down so long doesnt look like much changed to me
Robbo01
S3 licensed
Quote from XmaX :
2. When The racecontrol comens out with the Name Safty Car i wanted that shows: "Safty car.... my text".

How is that possible? Sorry for bad english

Greets

just check if there PlayerName contains "Safety Car" or is "Safety Car" and then if someones name is that send a MST or a RCM what ever one u want
Robbo01
S3 licensed


you only need these

int X; // X map (65536 = 1 metre)
int Y; // Y map (65536 = 1 metre)

MCI.Info[i].X / 65536
MCI.Info[i].Y / 65536

put them in a button and it will show u the X , Y co-ordinates for that place you are at.
Robbo01
S3 licensed
so if you tell us what the problem we may be able to help?

if you have made a copy of the code in your code have you deleted the original bank code? because that might be the problem if it says INT BankDistance already in use?
Robbo01
S3 licensed
if your trying to say what other styles u can use for the button

#define ISB_C1 1 // you can choose a standard
#define ISB_C2 2 // interface colour using
#define ISB_C4 4 // these 3 lowest bits - see below
#define ISB_CLICK 8 // click this button to send IS_BTC
#define ISB_LIGHT 16 // light button
#define ISB_DARK 32 // dark button
#define ISB_LEFT 64 // align text to left
#define ISB_RIGHT 128 // align text to right

from InSim.txt
Robbo01
S3 licensed
what?
Robbo01
S3 licensed
the warehouse is in the un used pits (fake pits, old pits) and so is the lottery just drive in them and find out the lotto drop of point is near the corner that splits in two u can go round the outside or the inside but the inside has a barrier going across is on one of them sides, and the bank is at the first corner i think the one with the deep hole in the sand trap.
Robbo01
S3 licensed
lol read the small print
Robbo01
S3 licensed
Quote from racing.xz :and one more problem where in witch file I need to paste a code for example !tow comand

open form1.cs
Robbo01
S3 licensed
he wants to stop people from paying over a certain amount and something that will stop his insim crashing if someone pays like !pay 99999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 etc..
Robbo01
S3 licensed
Quote from ReVoX :@Robbo01: You have reason, this detect the side of the pit and pit.

Making a rectangle with X and Y?

ye just use X,Y Co-ordinates to make a rectangle for the pits and if they are in there make it safe pit else Not Safe
Robbo01
S3 licensed
private void MCI(Packets.IS_MCI MCI)
{
for (int i = 0; i < Players.Count; i++)
{
decimal Speed = (decimal)((MCI.Info[i].Speed * (100f / 32768f)) * 3.6f);
decimal ConvSpeed = (decimal)(Speed * 25 / 1000);
Players[GetPlyIdx(MCI.Info[i].PLID)].Payout += ConvSpeed;
}
}
System.Timers.Timer BackUp = new System.Timers.Timer(300000);

void BackUp_Elapsed(object sender, System.Timers.ElapsedEventArgs e)
{
foreach (clsConnection C in Connections)
FileInfo.UpdateUserLeave(C.Username, C.Cash, C.Cars);
}
}
}

like that i think that might work
Robbo01
S3 licensed
Quote from Kordan59 :Its corect ?

<?php 
  
// Form load
        
private void Form1_Load(object senderEventArgs e)
        {
            try
            {
                
PayUser.Enabled true;
                
PayUser.Elapsed += new System.Timers.ElapsedEventHandler(PayUser_Elapsed);
                if (
System.IO.Directory.Exists(UserInfo) == falseSystem.IO.Directory.CreateDirectory(UserInfo);
                
// Connect to InSim
                
cfg = new ConnectionSettings("127.0.0.1"299990Flags.InSimFlags.ISF_MCI'!'1000"*****""^3French Cruise");
                
InSim = new InSimInterface(cfg);
                
InSim.Connect();BackUp.Enabled true;
BackUp.Elapsed += new System.Timers.ElapsedEventHandler(BackUp_Elapsed);
?>

But where add that ?

<?php 
System
.Timers.Timer BackUp = new System.Timers.Timer(300000);
 
void BackUp_Elapsed(object senderSystem.Timers.ElapsedEventArgs e)
{
    foreach (
clsConnection C in Connections)
    
FileInfo.UpdateUserLeave(C.UsernameC.CashC.Cars);
}
?>


just put it anywhere but not in a method like at the bottom of the code..
Robbo01
S3 licensed
Quote from ReVoX :uhm, possible with MCI.Info[i].Node?
this nodes no is true, is a example.

if ((MCI.Info[i].Node < 0) && (MCI.Info[i].Node > 10))
{
}

not unless u want them to have a free pit on the road outside of the pits also. or ANY area in the noes between 0 - 10
Robbo01
S3 licensed
amazing
Robbo01
S3 licensed
Quote from dougie-lampkin :Which is basically what I said...why doesn't anyone read my highly informative posts

lol :P
Robbo01
S3 licensed
Quote from mcgas001 :You do realise the code above, If there is more then 3 players, Can be potentially dangrous?

they probably dont cause there servers never have more than 3 players in
Robbo01
S3 licensed
Quote from sun :ok, guys, where going abit off the topic here in the thread...

well ur problem has been solved?
Robbo01
S3 licensed
Quote from Marco1 :Mh. But i want something like a second connection list .
Thats all.

And the problem with the Officer#Marco <<chase>> [ABC] abcde it only shows the host name

SO PLEASE LFS PIMP MY INSIM !

PLEASE HELP ME

THE PPL WHO HELPED TO FIX MY PROBLEMS GET 100k CASH ON MY SERVER + A GTR


ONLY IF THE PROBLEM FIXED U CAN GET THE CASH AND THE CAR

lol.
Robbo01
S3 licensed
That was a waste of time
Robbo01
S3 licensed
Quote from St4Lk3R :
And also: How to ask questions the smart way!

rofl. didnt know such things existed!
Robbo01
S3 licensed
Quote from matze54564 :But you cant drive with half 45% throttle and 30% Brake and next corner 45-25% Brake and some other corner with 70% Throttle. Thats the problem, and this is why i use the mouse y Axis for throttle and brake. I hope the developers change it in the next version of LFS, because i dont want buy a wheel.

use separate buttons for gas and brake? when i used mouse i used:

Left mouse click - Gas
Right mouse click - Brake
C - Clutch
S - Shift Up
A - Shift Down
Space - Handbrake
Mouse - Steer

and i think the FBM can change gear if its over revving
Robbo01
S3 licensed
i already told you on msn that someone had posted the code to work out distance on here i think it was "Dark Times" i just cant remember wer
Robbo01
S3 licensed
people would probably need to see the code that makes there distance km to see if u have it right..
Robbo01
S3 licensed
Quote from AaronH :mmm i donwloaded it and for some reason they are psd format, and when opened they are blank?



any ideas ?

what program u opening them with?
FGED GREDG RDFGDR GSFDG