• 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
open.mp Server RC1
#1
Happy New Year @everyone

It's here!

It's finally here!

After four years, two rewrites, arguments and drama, and countless other hurdles; it is finally here!

Release Candidate 1 (RC1) of the open.mp server.

This, hopefully, represents the final version of the code for our 1.0 release, and if everything goes smoothly with this version we will be able to finally openthe so-called open.mp in just a few days from now.

Before I get in to the meat of the release I want to first sincerely thank every member of the open.mp team for helping the mod get this far. It has not been easy, mostly because of how invested everyone truly was - we all wanted what was best for the mod, for the community, for SA:MP, for our servers, and for our players; we wouldn't have embarked on this journey if that wasn't the case. Unfortunately strong differing opinions on what is bestsometimes causes friction. But we're here now. So to all, a huge thank you:
  • Amir
  • Cheaterman
  • Freaksken
  • Graber
  • Hual
  • Josh
  • JustMichael
  • kseny
  • Nexius
  • pkfln
  • Potassium
  • Southclaws
  • TommyB
  • Y_Less
  • Zeex
  • And probably more...

Anyway, now the bit you actually care about...

Now we're out of beta, we're (if all goes well this week) releasing on time. So along with the server itself, which you've seen a dozen times before, we have some new goodies for you:

Pawn

The download has the official includes, no more patching the old SA:MP includes with omp.inc, now we're doing it properly! It also has a new compiler. Ever wonder when 3.10.11 was coming? Well wait no longer (if you built it yourself, you could think of this one as 3.10.12)! With this combination you'll probably get loads of new warnings, but worry not - we have a tool for that as well, to automatically upgrade a load of code, adding well-defined symbol names, const, and more in all the right places. Maybe you already noticed this, you've been using it for months, but the virtual machine (the bit inside the server) has been updated as well! Oh, and all those string natives you know and love, like SendClientMessage and AddMenuItem? They all format now. All of them*.

Documentation on the updated includes:

https://github.com/openmultiplayer/omp-stdlib

Documentation on the new compiler:

https://github.com/openmultiplayer/compiler/
https://github.com/pawn-lang/compiler/

Documentation on qawno:

https://github.com/openmultiplayer/qawno/

Documentation on the upgrader tool:

https://github.com/openmultiplayer/upgrade

A full list of what's available:
  • Symbol length limit increased to 64, no more OnPlyrDoTheTing to try and fit your names in. Leading to...
  • Multiple natives decompressed - is Col short for Colour or Collision? Now you know!
  • Tags. Tags everywhere. See the included documentation.
  • The official includes are finally const-correct. No more complaining that some people might not have them.
  • Compiler version updated: __nameof, __addressof, fixes, and too many more things to go in to here.
  • switch is way faster.
  • More warnings for previously undetected issues. The more problems the compiler can find, the fewer you need to.
  • An upgradertool to add tags and const to user-code and fix several new warnings.
  • More consistent naming. Every native has been closely examined and compared to ensure the maximum level of similarity and intuitiveness in naming.
  • Added {Float, _}:... everywhere. What does this mean? It means no more format()**- think y_va but natively.
  • -O2, the highest pawn optimisation level, works when using the new compiler and VM. Some includes may need to be updated, but some already have. To help with that...
  • The __optimisation macro was added so code can configure itself when compiled with -O2.

*Almost all of them.
**Almost no more format().

SDK

Pawn is the long-standing, and still official, way to write modes for your server. It isn't going away, but for those of you who want more control we are finally releasing the full SDK (the Software Development Kit). This is a C++ interface to the server, the same one used by all the components that make up the core open.mp code. Anything they can do you can do too (compared to plugins, which were only designed to provide functions to pawn, not write modes).

We have some documentation under way, it takes time unfortunately. But in the meantime have several example components for those of you who want to get straight stuck in. These are all templates you can build upon, and go from basically nothing to a fully working component with most common features:

https://github.com/openmultiplayer/empty-template
https://github.com/openmultiplayer/basic-template
https://github.com/openmultiplayer/pawn-template
https://github.com/openmultiplayer/full-template

Also a few terms to get you started, so you can start to understand what it is that you're reading:
  • Component - A logical individual piece of the server, like objects or pickups. Ones you don't need don't need to be loaded.
  • Extension - Code that extends another bit of code. You can write component extensions, but the most common ones are player extensions, which define some structure of data to be associated with a player in addition to all their normal data like health and weapons.
  • UID - Unique IDentifier, a number that represents your component, and your component alone. This ia always required and can be got here: http://open.mp/uid
  • Entity - A thing, usually a thing a player can interact with, and which you might have a lot of. Objects are entities, but other players are also entities, even commands in a processor could be called entities.
  • Pool - Something that holds entities. When you have a lot you need to be able to access them by name or ID in some way, this is what a pool does.
  • Interface - Components use an abstract base class as an interface. This declares which methods a component has, but doesn't contain the code for the methods. Interfaces are passed around so that components can communicate with each other, but implementations are kept private.
  • SDK - The collection of all the interfaces defined by the core server.
  • ABI - An Application Binary Interface is the way compiled code talks to other compiled code. The interfaces exported by the SDK are ABI stable, which means that using two components compiled at different times will still work together.
  • pawn-natives - The library on which all native declarations are built. Useing a wrapper called SCRIPT_API around this library: https://github.com/openmultiplayer/pawn-natives
  • Event - Something that happens externally. Things like players connecting and typing commands are events. Any component can define events and tell other components when those events happen.
  • Handler - A component that wants to know when an event happens.

Features

Beside all the new features announced for pawn, there are several new (and newly announced) features in the server:
  • Per-player gang zones, as were in YSF.
  • Per-player pickups, also as in YSF.
  • AttachPlayerObjectToPlayer.
  • Better PawnPlus support.
  • :memory:, and other special names support in SQLite.
  • SQLite open flags.
  • exclude config option to not load certain components.
  • Show config parse errors, don't just silently fail.
  • SDK major version check, just in case we ever make major server changes (hopefully we won't).

Fixes

There were a few new bugs introduced in beta 11, and a few minor ones left over from before. The ones fixed include:
  • funcidx already registered warning.
  • GDK plugins (streamer etc) missing natives.
  • Random crash on GMX.
  • GDK callbacks sometimes not called.
  • No logging when requested in SQLite component.
  • Some settings not reset on GMX.
  • NPCs were connecting when there were a lot done at once.
  • .so was still needed in Linux legacy plugin names.

Links

Firstly, of course, is the new server version:

https://github.com/openmultiplayer/server-beta/releases

Secondly, the forums are back up. Head there for all your questions:

https://forum.open.mp/

Or if you prefer:

https://vk.com/open_mp

Finally, despite it being offered a few times, we have explicitly resisted any money up to this point; because we didn't feel it was right until we had proven ourselves with a release. With this post, that time is now, so if anyone wants to help support us (all donations will go towards infrastructure and future client dev work), it would be most appreciated:

https://www.patreon.com/open_mp
https://opencollective.com/openmultiplayer

And of course everything is still in active development, so please do check all the links above regularly to see what's new that we have.
  Reply


Messages In This Thread
open.mp Server RC1 - by Y_Less - 2023-01-05, 10:37 PM
RE: open.mp Server RC1 - by Ezio_Auditore - 2023-01-05, 10:42 PM
RE: open.mp Server RC1 - by VIRUXE - 2023-01-05, 10:49 PM
RE: open.mp Server RC1 - by pokerface - 2023-01-05, 10:55 PM
RE: open.mp Server RC1 - by Pinch - 2023-01-05, 10:56 PM
RE: open.mp Server RC1 - by RhaegarX - 2023-01-05, 11:10 PM
RE: open.mp Server RC1 - by awehombre - 2023-01-05, 11:16 PM
RE: open.mp Server RC1 - by DowDaw - 2023-01-05, 11:24 PM
RE: open.mp Server RC1 - by Dolan - 2023-01-06, 12:43 AM
RE: open.mp Server RC1 - by Kenth - 2023-01-06, 01:32 AM
RE: open.mp Server RC1 - by Venes_Birufue - 2023-01-06, 04:42 AM
RE: open.mp Server RC1 - by irinelbro69 - 2023-01-06, 10:42 AM
RE: open.mp Server RC1 - by Giga - 2023-01-06, 11:21 AM
RE: open.mp Server RC1 - by eakwarp - 2023-01-06, 12:42 PM
RE: open.mp Server RC1 - by Chris - 2023-01-06, 12:47 PM
RE: open.mp Server RC1 - by jensen - 2023-01-06, 01:00 PM
RE: open.mp Server RC1 - by denNorske - 2023-01-06, 01:01 PM
RE: open.mp Server RC1 - by marcelog09 - 2023-01-06, 04:44 PM
RE: open.mp Server RC1 - by Phoenixx - 2023-01-07, 03:07 PM
RE: open.mp Server RC1 - by Ace - 2023-01-07, 10:27 PM
RE: open.mp Server RC1 - by ANĐELKOVIĆ - 2023-01-08, 06:44 PM
RE: open.mp Server RC1 - by helion_prime - 2023-01-10, 12:03 AM
RE: open.mp Server RC1 - by Josh - 2023-01-10, 03:31 AM
RE: open.mp Server RC1 - by matbcvo - 2023-01-10, 12:24 AM
RE: open.mp Server RC1 - by iAmir - 2023-01-12, 08:00 AM
RE: open.mp Server RC1 - by Potassium - 2023-01-10, 01:49 AM
RE: open.mp Server RC1 - by Undertaker - 2023-01-10, 06:01 AM
RE: open.mp Server RC1 - by Deity - 2023-01-10, 06:54 AM
RE: open.mp Server RC1 - by Retvieval - 2023-01-12, 06:44 PM
RE: open.mp Server RC1 - by iAmir - 2023-01-12, 06:50 PM
RE: open.mp Server RC1 - by Y_Less - 2023-02-08, 11:16 AM
RE: open.mp Server RC1 - by Garasiya - 2023-03-11, 04:46 PM
RE: open.mp Server RC1 - by matijagolgov - 2023-05-19, 12:44 PM
RE: open.mp Server RC1 - by crychazer - 2023-05-27, 08:38 PM
RE: open.mp Server RC1 - by N0FeaR - 2023-09-21, 08:46 PM
RE: open.mp Server RC1 - by cesarmiguel0512 - 2024-03-22, 07:59 PM
RE: open.mp Server RC1 - by eakwarp - 2024-03-27, 07:12 AM

Forum Jump: