The online racing simulator
Searching in All forums
(58 results)
Bremskiller18akaHeinz
S2 licensed
Quote from Fire_optikz001 :or you cpuld use your mouse as wheel where Gas /break is Y axis and Sterring is X axis

also you should come try out my cruise server ("[SC] Cruise Demo" OR "[SC] Cruise Server 1")

[SC] Cruise....... lol
Bremskiller18akaHeinz
S2 licensed
Quote from broken :If you are unsure of the people you lead a server with, and you are the coder then make sure you add some sort of protection to your insim. Say a expiration date. After it has passed make your insim deactivate. That's the only right you have in the lfs world.. And basically that's the main rule on the internet: Protect your software or consider it stolen.

This is good

expiration date

Thanx
hm..z
Bremskiller18akaHeinz
S2 licensed
yes you have right.......

i understand the LC_INSIM was stolen ?

why is it here in the forum ?

hm.... ok

^^ thanx

Regards

Seidel
Insim Stealer !
Bremskiller18akaHeinz
S2 licensed
Hello guys

i have a little problem.....

i have lead the MiD German Cruise and makes a insim for it
few days later...... he has kicked me from the team and i got banned
on the server , teamspeak .........

i have the usernames from the stealers....
but i dont post it.....

what can i make ?

i have any right´s ?

Sry for my bad english.....

Regards

Seidel
My Insim / My Server [ Deleted ]
Bremskiller18akaHeinz
S2 licensed
Deleted !!!
Last edited by Bremskiller18akaHeinz, . Reason : Please Delete it
^^ omg
Bremskiller18akaHeinz
S2 licensed
This isnt working !
thats have crashed my complete insim......

Bremskiller18akaHeinz
S2 licensed
i have found me fail very thanx

i have used the wrong codes.......
Bremskiller18akaHeinz
S2 licensed
ya its working nice ...... only on my computer ??????
why isnt this working on a host ? here my code

Why my host ?

^7host ^7: ^8!job
^7host ^7: ^8!beer
^7host ^7: ^8!pizza
^7host ^7: ^8!donuts

case 200:
InSim.Send_MST_Message("!job");
break;

case 222:
InSim.Send_MST_Message("!donuts");
break;

case 223:
InSim.Send_MST_Message("!pizza");
break;

case 224:
InSim.Send_MST_Message("!beer");
break;
Last edited by Bremskiller18akaHeinz, .
Bremskiller18akaHeinz
S2 licensed
STOOOOOPPPPPPP !!!!!!


I have all !!
its now working !!!!


i have to edit my ID xD

Very Thanx !
Bremskiller18akaHeinz
S2 licensed
ya thats working but my problem is now i dont need NCN
i need this code for a
InSim.Send_BTN_CreateButton("^6!job: ^7Delivery a Pizza", Flags.ButtonStyles.ISB_LEFT, 5, 40, 50, 80, 225, [COLOR=Red]Connections[GetConnIdx(Players[GetPlyIdx(MCI.Info[i].PLID)].UniqueID)].UniqueID, 40, true);[/COLOR]

!!! Thanx !!!
Bremskiller18akaHeinz
S2 licensed


WOW you good !

Very very thanx !!!!
woOps......
Bremskiller18akaHeinz
S2 licensed
sry for my begging
and my bad english......

i have test it to code but i cant i understand its.....
i want to ask.......

Can everywhere please code me an Exsample

Like this
I have a job button
when i press it than i accept a job.....



Regards

Seidel
Bremskiller18akaHeinz
S2 licensed
ah.... ok thanx i test it......
Bremskiller18akaHeinz
S2 licensed
i cant find anything..... whats me help.....
Bremskiller18akaHeinz
S2 licensed
Edit the redline !


watch here in red


InSim.Send_BTN_CreateButton("^6Welcome to the ^7Bank", Flags.ButtonStyles.ISB_DARK, [COLOR=Red]8, 40, 25, 80, 211, [/COLOR]Connections[GetConnIdx(Players[GetPlyIdx(MCI.Info[i].PLID)].UniqueID)].UniqueID, 2, false);

Help with Clicking buttons in C#
Bremskiller18akaHeinz
S2 licensed
Hello
i need help with a clicking button system
i have to create a few buttons the proplem is [ No Action ]

Here my code

BANK EXAMPLE

// City Bank
int BankDist = ((int)Math.Sqrt(Math.Pow(MCI.Info[i].X - (296 * 196608), 2) + Math.Pow(MCI.Info[i].Y - (-331 * 196608), 2)) / 65536);
if (BankDist < 4 && (MCI.Info[i].Speed / 147) <= 3)
{
if (Connections[GetConnIdx(Players[GetPlyIdx(MCI.Info[i].PLID)].UniqueID)].InBank == 0)
{
MCI_Update(MCI.Info[i].PLID);
Connections[GetConnIdx(Players[GetPlyIdx(MCI.Info[i].PLID)].UniqueID)].InBank = 1;

[COLOR=Red] InSim.Send_BTN_CreateButton("", Flags.ButtonStyles.ISB_DARK, 40, 40, 25, 80, 210, Connections[GetConnIdx(Players[GetPlyIdx(MCI.Info[i].PLID)].UniqueID)].UniqueID, 2, false);
InSim.Send_BTN_CreateButton("^6Welcome to the ^7Bank", Flags.ButtonStyles.ISB_DARK, 8, 40, 25, 80, 211, Connections[GetConnIdx(Players[GetPlyIdx(MCI.Info[i].PLID)].UniqueID)].UniqueID, 2, false);
InSim.Send_BTN_CreateButton("^6!insert: ^7[ AMOUNT ]", Flags.ButtonStyles.ISB_CLICK, 5, 40, 35, 80, 213, Connections[GetConnIdx(Players[GetPlyIdx(MCI.Info[i].PLID)].UniqueID)].UniqueID, 2, false);
InSim.Send_BTN_CreateButton("^6!balance", Flags.ButtonStyles.ISB_CLICK, 5, 40, 40, 80, 212, Connections[GetConnIdx(Players[GetPlyIdx(MCI.Info[i].PLID)].UniqueID)].UniqueID, 2, false);
InSim.Send_BTN_CreateButton("^6!withdraw: ^7 [ AMOUNT ]", Flags.ButtonStyles.ISB_CLICK, 5, 40, 45, 80, 214, Connections[GetConnIdx(Players[GetPlyIdx(MCI.Info[i].PLID)].UniqueID)].UniqueID, 2, false);
InSim.Send_BTN_CreateButton("^6!bankbonus", Flags.ButtonStyles.ISB_CLICK, 5, 40, 50, 80, 215, Connections[GetConnIdx(Players[GetPlyIdx(MCI.Info[i].PLID)].UniqueID)].UniqueID, 2, false);[/COLOR]

}

}
else if (BankDist > 14)
{
MCI_Update(MCI.Info[i].PLID);
Connections[GetConnIdx(Players[GetPlyIdx(MCI.Info[i].PLID)].UniqueID)].InBank = 0;
[COLOR=Red]InSim.Send_BFN_DeleteButton(0, 210, Connections[GetConnIdx(Players[GetPlyIdx(MCI.Info[i].PLID)].UniqueID)].UniqueID);
InSim.Send_BFN_DeleteButton(0, 211, Connections[GetConnIdx(Players[GetPlyIdx(MCI.Info[i].PLID)].UniqueID)].UniqueID);
InSim.Send_BFN_DeleteButton(0, 212, Connections[GetConnIdx(Players[GetPlyIdx(MCI.Info[i].PLID)].UniqueID)].UniqueID);
InSim.Send_BFN_DeleteButton(0, 213, Connections[GetConnIdx(Players[GetPlyIdx(MCI.Info[i].PLID)].UniqueID)].UniqueID);
InSim.Send_BFN_DeleteButton(0, 214, Connections[GetConnIdx(Players[GetPlyIdx(MCI.Info[i].PLID)].UniqueID)].UniqueID);
InSim.Send_BFN_DeleteButton(0, 215, Connections[GetConnIdx(Players[GetPlyIdx(MCI.Info[i].PLID)].UniqueID)].UniqueID);
[/COLOR]
}

Can everywher tell me
how to make a button clickable

z.b the button [Insert amount] and when i click this button i have insert the amount in to the bank.....


Sry for my bad english

Regard

Seidel
Bremskiller18akaHeinz
S2 licensed


Thanx now its Working !

Bremskiller18akaHeinz
S2 licensed
sry ^^ thanx i try it....
Bremskiller18akaHeinz
S2 licensed
HERE DISTANCE BONUS !


// Distance Bonus
if (Connections[GetConnIdx(Players[GetPlyIdx(MCI.Info[i].PLID)].UniqueID)].DistanceSincePit >= [COLOR=Red]50000[/COLOR])
{
Connections[GetConnIdx(Players[GetPlyIdx(MCI.Info[i].PLID)].UniqueID)].Cash += 2500;
Connections[GetConnIdx(Players[GetPlyIdx(MCI.Info[i].PLID)].UniqueID)].BonusDone += 1;
InSim.Send_MST_Message("/msg ^6•^8 " + Connections[GetConnIdx(Players[GetPlyIdx(MCI.Info[i].PLID)].UniqueID)].PlayerName + " ^7received ^6€2500");
InSim.Send_MST_Message("/msg ^6•^2 Reason:^7 Distance bonus");
Connections[GetConnIdx(Players[GetPlyIdx(MCI.Info[i].PLID)].UniqueID)].DistanceSincePit = 0;
}

50000 = 50 KM


Regards......
Seidel
oh.....
Bremskiller18akaHeinz
S2 licensed
i help u again....
you must learn to code.....

watch here .....

// Health Timer
private void HCount_Elapsed(object sender, System.Timers.ElapsedEventArgs e)
{
try
{
foreach (clsConnection Ply in Connections)
{
Ply.Health -= [COLOR=Red]1[/COLOR]; [COLOR=DarkGreen][ EDIT THIS TO -= 02 or what you want ][/COLOR]
}
}
catch { }
}

Ragards....
hm......
Bremskiller18akaHeinz
S2 licensed
Watch this......
you must edit the Red marked line......

Flags.ButtonStyles.ISB_C2, [COLOR=Red]5, 15, 0, 115, 110,[/COLOR] (Connections[GetConnIdx(Players[GetPlyIdx(MCI.Info[i].PLID)].UniqueID)].UniqueID), 2, false);

5 = [ Big or smaler ]
15 = Position [ wide ]
0 = Position [ Higher or lower ]
115 = Position [ Left or Right ]
110 = Button [ id ]

I hope this helps you......

just try it.....

Regards....

Seidel
Bremskiller18akaHeinz
S2 licensed
I says thanx ..... the problem is i undstand this
where i must take it ?
i dont have anything of string.format..... in my insim



string.Format("{0:0}", totalDistance); // Round to 1 decimal place

......
Bremskiller18akaHeinz
S2 licensed


Sry doesnt work......

i dont want to begging......

can anywhere please make me a code for this ?

here is my code again.....
and it show my driven Km likes Km: 6
and i wants to have it so Km: 6,1
please dont give me a code this looking so Km: 6,100 :ashamed:



InSim.Send_BTN_CreateButton("^7" + Connections[GetConnIdx(Players[GetPlyIdx(MCI.Info[i].PLID)].UniqueID)].TotalDistance / 1000, Flags.ButtonStyles.ISB_C2, 5, 15, 145, 6, 162, (Connections[GetConnIdx(Players[GetPlyIdx(MCI.Info[i].PLID)].UniqueID)].UniqueID), 2, false);


Sry about this all.....
Bremskiller18akaHeinz
S2 licensed
haha ^^

this is FailzZ
i dont saw it
sry broken..........
FGED GREDG RDFGDR GSFDG