The online racing simulator
Searching in All forums
(39 results)
2
bmw318ise30
S3 licensed
Quote from kagus :It's not working because it isn't added.
To add that command you will need C# or C++.
Than double click on LsGO InSim(File Size 7kb).
Drag in ChatCommands.cs file in the C#.
Add this code after teststring command:

[Command("help", "help")]
public void help(string Msg, string[] StrMsg, Packets.IS_MSO MSO)
{
if (StrMsg.Length > 0)
{
InSim.Send_MTC_MessageToConnection("^1»^1 Your Cruise Name here - Help List:", MSO.UCID, 0);
InSim.Send_MTC_MessageToConnection("^1»^7!help - ^2Display this vindow.", MSO.UCID, 0);
InSim.Send_MTC_MessageToConnection("^1»^7 Your command1 - ^2 Your txt", MSO.UCID, 0);
InSim.Send_MTC_MessageToConnection("^1»^7 Your command2 - ^2 Your txt", MSO.UCID, 0);
InSim.Send_MTC_MessageToConnection("^1»^7 Your command3 - ^2 Your txt", MSO.UCID, 0);
InSim.Send_MTC_MessageToConnection("^1»^7 Your command4 - ^2 Your txt", MSO.UCID, 0);
}
else
{
InSim.Send_MTC_MessageToConnection("^1»^7 Invalid command. See ^2!help^7 for a command list", MSO.UCID, 0);
}
}

I only posted the sample. You will need add all other commands by you own.

i cant add (!help not work again..
bmw318ise30
S3 licensed
Quote from kagus :It's not working because it isn't added.
To add that command you will need C# or C++.
Than double click on LsGO InSim(File Size 7kb).
Drag in ChatCommands.cs file in the C#.
Add this code after teststring command:

[Command("help", "help")]
public void help(string Msg, string[] StrMsg, Packets.IS_MSO MSO)
{
if (StrMsg.Length > 0)
{
InSim.Send_MTC_MessageToConnection("^1»^1 Your Cruise Name here - Help List:", MSO.UCID, 0);
InSim.Send_MTC_MessageToConnection("^1»^7!help - ^2Display this vindow.", MSO.UCID, 0);
InSim.Send_MTC_MessageToConnection("^1»^7 Your command1 - ^2 Your txt", MSO.UCID, 0);
InSim.Send_MTC_MessageToConnection("^1»^7 Your command2 - ^2 Your txt", MSO.UCID, 0);
InSim.Send_MTC_MessageToConnection("^1»^7 Your command3 - ^2 Your txt", MSO.UCID, 0);
InSim.Send_MTC_MessageToConnection("^1»^7 Your command4 - ^2 Your txt", MSO.UCID, 0);
}
else
{
InSim.Send_MTC_MessageToConnection("^1»^7 Invalid command. See ^2!help^7 for a command list", MSO.UCID, 0);
}
}

I only posted the sample. You will need add all other commands by you own.

how add other commands??
Last edited by bmw318ise30, .
bmw318ise30
S3 licensed
Hi pls help how add police user and serine for police thnks
bmw318ise30
S3 licensed
Quote from flame cze :http://wk-d.com/downloads/ - live for speed siren sound

thnks and how add police user?
bmw318ise30
S3 licensed
Quote from dougie-lampkin :this is an open source insim cruise application, released under the bsd licence.

However, if you do not understand even basic programming concepts or are unfamiliar with insim and/or .net, then this is not for you. In the current state you will need to modify the source in order to get it to work as you wish. There is also no documentation aside from the code itself.

It started out as a little hobby for myself 6 months ago, but turned into so much more. I eventually had it on a server, as uktc cruise, but then changed to [mcc]cruise. I grew tired of it all yesterday, and decided to just release the bloody thing! So here it is!

It uses t-ronx's lfs_external as a base, with parts of mcgas001's cruise tutorial thrown in for good measure. Both of these are excellent pieces of work, and a big thanks to both parties It is written in visual c# by myself, dougie-lampkin (rob fenlon), and with no warranty or support whatsoever! I will try and help you if you ask an intelligent question, but please don't try and use this if you have no c# experience.

As this is an open project you do not need to wait for myself to fix bugs or add features. If you do modify it, please feel free to post an updated version.

I'm truly sorry for the slightly messy code, but it was my first ever c# experience, so i learnt as i progressed. This can be seen as parts of it are better practice than others...

Features:
  • cash flow
  • buy/sell cars
  • bank
  • advanced police system
  • trading mini-game
  • random speed traps
  • intelligent pit fines
  • pitting from garages check
  • km system (note: It does count kms, i just haven't added an on-screen display!)
  • intelligent price-list
  • admin refunds
  • admin insim update/restart features
  • displays other's cash/cars at !stats
  • swear filter
  • negative cash protection
and much more...

Once again, this is a very large starting block to run your own cruise server. You will need at least basic understanding of programming concepts and what the insim protocol is and can do, to take it further. there is little documentation aside from the code itself. If you do not heed this and at least try, then you will not get assistance.

V1.0.2 - http://www.lfsforum.net/showthread.php?p=801201#post801201

v1.0.1 - http://www.lfsforum.net/showthread.php?p=800515#post800515

v1.0.0 - attached

how add police ??? And siren for police..
bmw318ise30
S3 licensed
Quote from sankkuq :i added that to chatcomands.cs end after towtruck commands but wont work InSim.Send_MTC_MessageToConnection("", MSO.UCID); <-- those lines are underlined with red : / error is no overload for method 'send_mtc_messagetoconnection'takes 2 arguments. Sey everything what i need to do to add it : D

HELP PLS CANT WORK (!help) HOW FIX PLS HELPPP
bmw318ise30
S3 licensed
Quote from Victor :Moved to correct forum

this is the programmer forum?
insim pls help
bmw318ise30
S3 licensed
Quote :

hi this is cruise insim find in this forum but dont work !help pls fix and tell me http://www.sendspace.com/file/cjm5ui
Last edited by bmw318ise30, .
bmw318ise30
S3 licensed
hi this is cruise insim find in this forum but dont work !help pls fix and tell me http://www.sendspace.com/file/cjm5ui
Help me insim
bmw318ise30
S3 licensed
I have this insim but i cant find police serien
Help insim problem
bmw318ise30
S3 licensed
Hello! I have a problem when I write !help I read ''» Invalid command. See !help for a command list'' I want commands codes for pay,send please... HELPPP PLS
buy cruice insim
bmw318ise30
S3 licensed
Gonna pay for cruise insim with paysafe and how much selling insim costs?
help cruice insim
bmw318ise30
S3 licensed
hi thnis is cruise insim find in this dorum but dont work !help pls fix and tell me http://www.sendspace.com/file/cjm5ui
Help i need cruise insim
bmw318ise30
S3 licensed
HI I NEED CRUICE INSIM WITH


.Cash flow
Buy/Sell cars
Bank
Advanced police system
jobs
-kms
- street names
- buy cars new, and can sell to other players.
- "admin menu" (a menu for admins that got all info about players)
- bank
- Cadet system simple one in the beginning
- speed limits
2
FGED GREDG RDFGDR GSFDG