Re: SampSharp - Write gamemodes in .NET -
WopsS - 22.04.2017
Quote:
Originally Posted by Jay_
I'm considering putting together a proposal for a community project for a SA-MP server with a gamemode coded in C# using vNext of this library (which supports .Net Core). Following the most up to date and best practices, we could put together a fairly decent project. Open source on GitHub, a decent branching strategy with pull requests and code reviews, following a decent agile methodology, fully integrated with a CI environment with automated deployments to a development and staging environment (and eventually production), good coding practices - SOLID, DRY, unit testing etc. and a decent testing strategy which requires a tester to sign off functionality before it's completed.
Just wondering before I present my idea if there are many experienced C# developers in this community that would be willing to get involved? (Preferably older than 15  )
We'd need some testers too!
|
I can give you a hand. You should start a topic about that
Re: SampSharp - Write gamemodes in .NET -
renatog - 22.04.2017
Quote:
Originally Posted by Jay_
I'm considering putting together a proposal for a community project for a SA-MP server with a gamemode coded in C# using vNext of this library (which supports .Net Core). Following the most up to date and best practices, we could put together a fairly decent project. Open source on GitHub, a decent branching strategy with pull requests and code reviews, following a decent agile methodology, fully integrated with a CI environment with automated deployments to a development and staging environment (and eventually production), good coding practices - SOLID, DRY, unit testing etc. and a decent testing strategy which requires a tester to sign off functionality before it's completed.
Just wondering before I present my idea if there are many experienced C# developers in this community that would be willing to get involved? (Preferably older than 15  )
We'd need some testers too!
|
That sounds good! But before I engage, more info would be nice
Re: SampSharp - Write gamemodes in .NET -
WooTFTW - 22.04.2017
I could probably help too with some things.
Re: SampSharp - Write gamemodes in .NET -
amirm3hdi - 25.04.2017
Quote:
Originally Posted by AwareWolf
I want a list of the features TypeScript, PHP, and Python has that C# doesn't to support that asinine comment. I'll wait.
|
You probably never heard of Python 3
Re: SampSharp - Write gamemodes in .NET -
MrViolence101 - 26.04.2017
Quote:
Originally Posted by amirm3hdi
You probably never heard of Python 3
|
Python is for newbies. High school drop-outs. No Offence. I'll leave it there.
Re: SampSharp - Write gamemodes in .NET -
ikkentim - 26.04.2017
All languages are great for their own reasons, and in different contexts they do their duties better. Python definitely is a great language, but in my opinion c# is better fitting for writing gamemodes.
Let's leave the language war here, shall we?
Re: SampSharp - Write gamemodes in .NET -
BR3TT - 26.04.2017
Quote:
Originally Posted by MrViolence101
Python is for newbies. High school drop-outs. No Offence. I'll leave it there.
|
That's weird, there are so many job ads I see every day looking for Python developer.
OT: Not sure how this thread got into a language war though, if you don't like C# don't use the plugin? If you want to see another language used in SA-MP, go make it yourself. I might consider using this myself, I'm currently learning C# by myself and this could make things interesting.
Re: SampSharp - Write gamemodes in .NET -
ikkentim - 26.04.2017
Quote:
Originally Posted by BR3TT
If you want to see another language used in SA-MP, go make it yourself.
|
I might add, that in the next version, the SampSharp plugin is very flexibe, allowing people to write support for other languages without having to touch c++
Re: SampSharp - Write gamemodes in .NET -
AwareWolf - 26.04.2017
Quote:
Originally Posted by amirm3hdi
You probably never heard of Python 3
|
You probably never developed in C# .NET
edit
Out of respect for ikkentim, not going to reply anymore, sorry I read your message after posting.
Re: SampSharp - Write gamemodes in .NET -
amirm3hdi - 26.04.2017
Quote:
Originally Posted by MrViolence101
Python is for newbies. High school drop-outs. No Offence. I'll leave it there.
|
OMFG

WTF
Re: SampSharp - Write gamemodes in .NET -
NoahF - 26.04.2017
Love it! Awesome plugin for those of us that use C#.
Re: SampSharp - Write gamemodes in .NET -
Richi - 25.05.2017
That was amazing, i will use it! Good job bro! C# it's the future.
Re: SampSharp - Write gamemodes in .NET -
CoaPsyFactor - 25.05.2017
Quote:
Originally Posted by Richi
C# it's the future.
|
Well - not quite, but it sure is better than PAWN xD
As long as Microsoft doesn't support C# on *nix operating systems, it won't be future.
And yes I know - there is Mono framework that is basically C# for all operating systems, but its performances cannot be compared to .NET and its not official Microsoft
Re: SampSharp - Write gamemodes in .NET -
ikkentim - 25.05.2017
Quote:
Originally Posted by CoaPsyFactor
Well - not quite, but it sure is better than PAWN xD
As long as Microsoft doesn't support C# on *nix operating systems, it won't be future.
And yes I know - there is Mono framework that is basically C# for all operating systems, but its performances cannot be compared to .NET and its not official Microsoft 
|
Microsoft actually supports dot net on Linux these days. Check out dot net core, which you can use with the upcoming version of sampsharp.
Re: SampSharp - Write gamemodes in .NET -
CoaPsyFactor - 26.05.2017
Quote:
Originally Posted by ikkentim
Microsoft actually supports dot net on Linux these days. Check out dot net core, which you can use with the upcoming version of sampsharp.
|
I see they made huge progress since they announced it.
My mistake
Re: SampSharp - Write gamemodes in .NET -
Richi - 28.05.2017
I have a problem when I load my mappings. I have converted them as indicated here (
http://sampsharp.timpotze.nl/converting-objects)
Here I put the code:
http://i.imgur.com/qOz9h6F.png
And this is the error that gives me in the console when I start the GM:
http://i.imgur.com/Glx4Sav.png
Can anybody help me?
Re: SampSharp - Write gamemodes in .NET -
Cadilab - 29.05.2017
This is amazing. I started working on some projects with this plugin so far so good
Re: SampSharp - Write gamemodes in .NET -
Gigi-The-Beast - 05.06.2017
@ikkentim would it be difficult to make a wrapper for FCNPC ?
And how it is going for 0.8, are you making some progress?
Will you implement the "gamemode reload without server restart" option?
Re: SampSharp - Write gamemodes in .NET -
daemondas - 09.06.2017
Quote:
Originally Posted by Richi
|
Use GlobalObject not DynamicObject.

example:
Код:
new GlobalObject(353, new Vector3(player.Position.X, player.Position.Y, player.Position.Z-1), new Vector3(90, 90, 90));
Respuesta: SampSharp - Write gamemodes in .NET -
Richi - 11.06.2017
It is not feasible to use global objects with the amount of objects we have on our server. I have already solved the problem and charged the objects externally. It would be luxurious if they put the version for CentOS 64 bits of the server.