View Full Version : How to do insim with C#
91mason91
21st April 2008, 00:02
Hi, as the tilte says, how do you make the insim?
I have downloaded a tutrial but have no idea what im doing
I also have C# which i also have no idea what im doing:shrug:
and i havent got a clue what people are on about like "form1" or exe:scratchch
I might sound stpid but im only 16 and dont have any computer experiance, so i was wondering if u could help me with insim and how to use it on C#?:scratchch
If you reply positively i thank you very much:thumb:
wien
21st April 2008, 06:38
Not to sound harsh, but if you have little computer experience programming an insim application will likely be waaay over your head.
Best thing you can do is probably to set the whole insim thing off to the side for the time being and instead look up a few beginner tutorials on C# programming. Focus on the basics of programming before you jump off the deep end with an insim application.
DarkTimes
21st April 2008, 07:38
Yes, you'll need to learn some programming first of all, before you can write an InSim program. You don't need to become an expert, but if you spend time learning about the basics of how programming works, then the whole thing should make a lot more sense to you.
For Visual C# a good place to start is Microsoft's Learn C# (http://msdn2.microsoft.com/en-gb/vcsharp/aa336766.aspx) homepage.
You need to walk before you can run. :)
91mason91
21st April 2008, 09:18
ok thnx guys.
i had a lokk at the tutrial and it seems hard:(
i was wondering does anyone have a base i could start with and then continue on with it please:D
DarkTimes
21st April 2008, 09:20
If you're looking to make a Cruise style addon, then there is a working example here:
http://www.lfsforum.net/showthread.php?t=39706
the_angry_angel
21st April 2008, 09:36
i was wondering does anyone have a base i could start with and then continue on with it please:DThere are several, but trust us. You will fail to understand things properly for a while, and this may result in getting some irritated responses if you start asking for very basic things. We are not here to teach you how to program - there are other people, websites and resources who are better suited to that task.
With that in mind I point you towards LFS External (http://www.lfsforum.net/showthread.php?t=30012), which is a .NET library that does all of the networking related stuff for InSim, and lets you just write your program.
If you don't want to use LFS External, and want to write the entire application from scratch, including all the networking stuff (which I seriously do not recommend if you're new to programming), then take a look at DarkTimes' post in Guide: My first InSim Application (http://www.lfsforum.net/showthread.php?t=39481).
mcgas001
21st April 2008, 09:58
Learn C# first.
Introduction to Visual C# 2008 Express Edition (http://msdn2.microsoft.com/en-gb/beginner/bb964631.aspx)
Introduction to the C# Programming Language (http://msdn2.microsoft.com/en-gb/beginner/bb308730.aspx)
Introduction to Windows Forms Applications (http://msdn2.microsoft.com/en-gb/beginner/bb308801.aspx)
Lesson 1: Getting Started (http://msdn2.microsoft.com/en-gb/beginner/bb308735.aspx)
Lesson 2: Creating a User Interface (http://msdn2.microsoft.com/en-gb/beginner/bb308738.aspx)
Lesson 3: Handle Events and Set Properties (http://msdn2.microsoft.com/en-gb/beginner/bb308741.aspx)
Lesson 4: Variables, Statements, and Operators (http://msdn2.microsoft.com/en-gb/beginner/bb308744.aspx)
Lesson 5: Branching and Recursion (http://msdn2.microsoft.com/en-gb/beginner/bb308747.aspx)
Lesson 6: Object Oriented Programming (http://msdn2.microsoft.com/en-gb/beginner/bb308750.aspx)
Lesson 7: The .NET Framework (http://msdn2.microsoft.com/en-gb/beginner/bb308753.aspx)
Lesson 8: Working with SQL Server 2005 Express (http://msdn2.microsoft.com/en-gb/beginner/bb308822.aspx)
Lesson 9: Databinding (http://msdn2.microsoft.com/en-gb/beginner/bb308827.aspx)
Lesson 10: Working with XML (http://msdn2.microsoft.com/en-gb/beginner/bb308812.aspx)
Lesson 11: Handling Exceptions (http://msdn2.microsoft.com/en-gb/beginner/bb308817.aspx)
Lessons 12 – 16: The RSS Reader Project (http://msdn2.microsoft.com/en-gb/beginner/bb308830.aspx)
bye...
vane
21st April 2008, 16:10
but im only 16
arey you trying to say 16 year olds can't operate computers? lol its an Owen's Cruise Server member :)
shaun463
21st April 2008, 16:15
Learn Visual Basic first. It's simple to learn and very simillar to C# :). Also Evo if a 9 year old can make a fairly good InSim app a 16 year old can.
91mason91
22nd April 2008, 22:10
lmao thnx guys that LFS external was useful.:thumb:
im still learing but i managed to put !send (amount) (username) and
!tow.:nod:
Im still getting to grips with it and will continue to learn.
thnx huys for all ur help:thumb:
dougie-lampkin
22nd April 2008, 22:23
m still learing but i managed to put !send (amount) (username) and
!tow
Wow, better than SOME people around here! (No names mentioned, just very heavily implied :D)
One word of warning (advice really) though - try not to depend on other people for learning help. As TAA said, the internet is much more qualified to teach you than the LFS community :)
A site I find particularly helpful is this (http://www.functionx.com/vcsharp/index.htm). It explains everything simply, has help listed for all of the .NET controls, and has lots of examples :shrug:
DarkTimes
22nd April 2008, 22:26
When I'm writing a C# program my bible starts here, everything you could never need for .NET development and more. :)
http://msdn2.microsoft.com/en-us/library/ms229335.aspx
Of course the best aid when working with C# is the fantastic Visual Studio intellisense. It's one of the things I really miss when working with other languages. :(
mcgas001
23rd April 2008, 09:24
Of course the best aid when working with C# is the fantastic Visual Studio intellisense. It's one of the things I really miss when working with other languages. :(
Indeed, RAD (http://en.wikipedia.org/wiki/Rapid_application_development) is very handy and saves a lot of time.
Bob Smith
23rd April 2008, 12:16
im still learing but i managed to put !send (amount) (username) and
!tow.:nod:
Oh no, please no, let it not be true... not MORE insim cruise server systems?
/me quitely whimpers in the corner
Shotglass
23rd April 2008, 20:01
Oh no, please no, let it not be true... not MORE insim cruise server systems?
/me quitely whimpers in the corner
what insim needs is a way to spawn ais at specific locations with certain preset behaviours (im mostly thinking of wrecking human players here) and a way to track their damage and we can all have same proper good fun coding insim plugins
Stigpt
24th April 2008, 09:38
what insim NEEDS is the ability to shoot a user in the face whenever they think of uttering the words "I want an insim to do cruise server!".
AndroidXP
24th April 2008, 10:15
The phrase "I want an insim" alone is bad enough.
Bob Smith
24th April 2008, 12:56
The phrase "I want an insim" alone is bad enough.
And it needs to be shouted in a demanding, child like voice.
Stigpt
24th April 2008, 13:03
I'd propose that we answer ANYONE demanding "I wantz an insimz!!111!!!ELEVEN!"
with
" http://www.lfs.net/file_s2.php?id=80 there ya go. the insim is in ther."
sun
25th April 2008, 20:21
I already told him to 'Look at tutorials' or 'look at books'. but guess what ?
He Never listened. He just went on Extreme and he even asked me to send my InSim to him but i refused and told him to read tutorials
arey you trying to say 16 year olds can't operate computers? lol its an Owen's Cruise Server member :)
lol, its not any more my meber idiot:D
wien
26th April 2008, 00:30
...Is it possible to have an aneurysm from excessive irony? Because I think I just had one.
JamesF1
26th April 2008, 00:38
Just for reference, an aneurysm is unlikely to be what you meant, considering an aneurysm is a defect or weakness, rather than an occuring event... they do, however, often result in stroke. The joys of having a trainee doctor for a girlfriend.
Dygear
26th April 2008, 02:41
Just for reference, an aneurysm is unlikely to be what you meant, considering an aneurysm is a defect or weakness, rather than an occuring event... they do, however, often result in stroke. The joys of having a trainee doctor for a girlfriend.
Actually, it's both and it most often results in, well, death. Oh the joys of being an EMT.
wien
26th April 2008, 02:53
Ouch. Doctr0wnd.
jonny211984
27th April 2008, 23:20
well my freind u are just as bad your insim would be nothing without me adding all the buttons and stuff u were asking me to send my stuff to you so dont go on at him when u do the same
AndroidXP
28th April 2008, 06:17
:munching_
91mason91
28th April 2008, 22:44
lol thnx jonny for that.
Owen your.....well......a twat:)
U would literaly have no insim if it wernt for jonny
Android ur so random u do that in every post iv seen so far:D:thumbsup:
vBulletin® v3.8.6, Copyright ©2000-2012, Jelsoft Enterprises Ltd.