The online racing simulator
Insim Basic help!
(8 posts, started )
Insim Basic help!
I have just started my own InSim its empty the only codes i see is the codes to make it connect too the server and that part works corect (See: Basic , Attachment) And as you see iam using c#

I have been trying figure out myself and asking other peaple but i am not coming anywhere with those questions i will write bewlow.

Every question i have been testing myself several times and cant get it work,
This is nooby by me but i really want some help

(i learn best STEP by STEP)

1. How/Where to add finished codes?

2.And if question 1 sorted. Whats the code for EX.
i type in chat *** !website *** and then it answers me with this
***www.ncss.bugs3.com***

That was it for today I really want some help and a bit detailed.
Sorry for bad english but i think you understand!
Attached images
Basic.png
1. Either in the Program.cs, or by making classes for things (if you're familair with Object Oriented Programming)
2. IS_MSO packet. You also have to bind it so the insim listens to the packets.

For example:

insim.Bind<IS_MSO>(Message);

You can call that function whatever you want, as long as they match of course.

Next:

private void Message(InSim insim, IS_MSO MSO)
{
// Content here
}

Try this page: http://www.brunsware.de/insim/annotated.html

This method should work for all packet types.
Thank you, But can you do a step by step what to do(add finished codes), Sorry i feel so stupid but iam new
Sorry, but I'm only here to help. I am not going to write finished code for you.

With the things that I provided you should be able to get the content people write. You just have to see if they type "!help" or whatever you want to catch.

See if you get data through with the MSO packet and work from that.
No i didnt mean that mate! i just didnt get what you said how to add finished codes! where what section and where!?
When i add it below the conect codes to the server i just get error so iam doing it wrong
You can always look at other projects to learn how to use this library.
Here's an exaple i have made long time ago, you can use it to check what goes where. Also reading the whole topic will make you understand more as it has lots of examples.

https://www.lfsforum.net/showt ... php?p=1651859#post1651859
Oket thanks, I learned 1 thing and that was about console,

To sort this the best way i think i need someone i can chat to Through skype or something

skype: davidsturesson.98
Please add
All solved
All solved

Insim Basic help!
(8 posts, started )
FGED GREDG RDFGDR GSFDG