SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Plugin Development

Reply
 
Thread Tools Display Modes
Old 10/04/2017, 08:07 PM   #281
ikkentim
High-roller
 
ikkentim's Avatar
 
Join Date: Jan 2010
Location: Kampen, The Netherlands
Posts: 1,069
Reputation: 189
Default Re: SampSharp - Write gamemodes in .NET

Quick update:

I'm working on an experimental update(v0.8 ) where I put the game mode in a separate process from the server. The game mode and server communicate trough a named socket.

Features:
+ This makes me able to port the game mode library to .NET standard (and I've done so already). This allows you to run your game mode on .NET Framework, .NET Core or Mono!
+ First tests show this named pipes approach is much faster than the communication layer between the plugin and the game mode in older versions of SampSharp
+ You are no longer tied to a specific version of mono, and no longer need to install it into the server directory on Windows
+ .NET Core again, because it's awesome
+ You can hot swap game modes, meaning players don't disconnect from the server while you load a new or updated game mode. This is also very useful while debugging (not having to reconnect over and over)
- Migrating your older game modes over to this version only takes a few minutes


Don't want to mention an ETA because I've got quite a busy schedule coming up, but I hope to do some beta testing next month.
__________________
Greetings,
Tim Potze

Projects
GAMEDEV | Part-time developer working on Parkitect. | Steampage
LSRES | A SA:MP server from the past, and hopefully, back in the future.
SampSharp | Plugin for writing SA:MP gamemodes in C#. | Topic Website Github
SanMap | San Andreas in Go0gle Maps! | Topic Github Sample
ikkentim is offline   Reply With Quote
Old 11/04/2017, 05:11 PM   #282
Jay_
Beta Tester
 
Jay_'s Avatar
 
Join Date: Jul 2009
Posts: 661
Reputation: 183
Default Re: SampSharp - Write gamemodes in .NET

Nice, I'm looking forward to this. The hot swapping of gamemodes in particular would be very useful to me.

Let me know if you need a hand with the testing
Jay_ is offline   Reply With Quote
Old 11/04/2017, 08:09 PM   #283
ikkentim
High-roller
 
ikkentim's Avatar
 
Join Date: Jan 2010
Location: Kampen, The Netherlands
Posts: 1,069
Reputation: 189
Default Re: SampSharp - Write gamemodes in .NET

Quote:
Originally Posted by Jay_ View Post
Nice, I'm looking forward to this. The hot swapping of gamemodes in particular would be very useful to me.

Let me know if you need a hand with the testing
Thanks! I'll post it here and in slack when I've got a beta ready!
__________________
Greetings,
Tim Potze

Projects
GAMEDEV | Part-time developer working on Parkitect. | Steampage
LSRES | A SA:MP server from the past, and hopefully, back in the future.
SampSharp | Plugin for writing SA:MP gamemodes in C#. | Topic Website Github
SanMap | San Andreas in Go0gle Maps! | Topic Github Sample
ikkentim is offline   Reply With Quote
Old 16/04/2017, 06:36 PM   #284
amirm3hdi
Banned
 
Join Date: Apr 2015
Location: Brain
Posts: 265
Reputation: 14
Default Re: SampSharp - Write gamemodes in .NET

That language seems bad.
amirm3hdi is offline   Reply With Quote
Old 17/04/2017, 06:26 PM   #285
ikkentim
High-roller
 
ikkentim's Avatar
 
Join Date: Jan 2010
Location: Kampen, The Netherlands
Posts: 1,069
Reputation: 189
Default Re: SampSharp - Write gamemodes in .NET

Quote:
Originally Posted by amirm3hdi View Post
That language seems bad.
Then you probably don't have much programming experience \_(ツ)_/
__________________
Greetings,
Tim Potze

Projects
GAMEDEV | Part-time developer working on Parkitect. | Steampage
LSRES | A SA:MP server from the past, and hopefully, back in the future.
SampSharp | Plugin for writing SA:MP gamemodes in C#. | Topic Website Github
SanMap | San Andreas in Go0gle Maps! | Topic Github Sample
ikkentim is offline   Reply With Quote
Old 17/04/2017, 07:15 PM   #286
MrViolence101
Huge Clucker
 
MrViolence101's Avatar
 
Join Date: Dec 2013
Location: Port Elizabeth, South Africa
Posts: 212
Reputation: 44
Default Re: SampSharp - Write gamemodes in .NET

Quote:
Originally Posted by amirm3hdi View Post
That language seems bad.
Are you serious? and you think pawno is better?
__________________
Who knew I was such a savage back then

Quote:
Originally Posted by MrViolence101 View Post
thank you for all the good comments and for those who made bad comments, mercy goes to you.
MrViolence101 is offline   Reply With Quote
Old 18/04/2017, 11:52 AM   #287
Jay_
Beta Tester
 
Jay_'s Avatar
 
Join Date: Jul 2009
Posts: 661
Reputation: 183
Default Re: SampSharp - Write gamemodes in .NET

Quote:
Originally Posted by amirm3hdi View Post
That language seems bad.
You couldn't even begin to compare C# with PAWN.
Jay_ is offline   Reply With Quote
Old 19/04/2017, 06:37 PM   #288
WooTFTW
Huge Clucker
 
WooTFTW's Avatar
 
Join Date: May 2011
Location: = GetPlayerPos(WooTFTW);
Posts: 263
Reputation: 37
Default Re: SampSharp - Write gamemodes in .NET

Quote:
Originally Posted by amirm3hdi View Post
That language seems bad.
funny guy
WooTFTW is offline   Reply With Quote
Old 19/04/2017, 09:35 PM   #289
Battlezone
Gangsta
 
Battlezone's Avatar
 
Join Date: Aug 2013
Location: Hello
Posts: 798
Reputation: 125
Default Re: SampSharp - Write gamemodes in .NET

Lovely work by you, I'll be using this in my upcoming summer project
__________________
Battlezone is offline   Reply With Quote
Old 21/04/2017, 10:25 AM   #290
Jay_
Beta Tester
 
Jay_'s Avatar
 
Join Date: Jul 2009
Posts: 661
Reputation: 183
Default Re: SampSharp - Write gamemodes in .NET

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!
__________________
Jay_ is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Write on the map hejsan123 Scripting Help 3 23/09/2012 08:35 AM
How to write something in a VAR? Ihsan_Cingisiz Help Archive 4 29/05/2010 07:24 PM
How Do You Write This? sidhu123 Everything and Nothing 2 12/09/2009 04:05 AM
Write something in big and to the top TimBuk.Ekh Help Archive 3 18/04/2009 07:19 PM


All times are GMT. The time now is 08:08 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.