[Tool/Web/Other] [C++] SA:MP Plugin Template Library (samp-ptl)
#1

SA:MP Plugin Template Library (samp-ptl)


Description:

C++17 template library that allows you to create your own plugins for SA:MP server very easy and fast.

Main features:
  • Safe C++ AMX API with errors handling
  • Pool of scripts (gamemode at the end)
  • Easy executing the callbacks (publics) with optional caching
  • Easy registration of natives: auto-conversion parameters from cell type to common C++ types. You may also define your own conversions
  • Logging
  • Checking for a version match between the plugin and scripts
Examples:
https://github.com/urShadow/samp-ptl...master/example
https://github.com/urShadow/Pawn.CMD
https://github.com/urShadow/Pawn.Regex

Source code:
https://github.com/urShadow/samp-ptl
Reply
#2

Another 5-Star release from you how could we expect any less?
Reply
#3

Your contributions are really excellent, 5 stars
Reply
#4

Looks pretty cool man, wondering if you'd be interested in possibly implementing a PoC I wrote a few years back to determine from PAWN which plugins are loaded: https://github.com/Whitetigerswt/Dynamic_Natives. The technique is described on the GitHub page. I'm sure there's room for improvement as well.

I think it'd fit perfectly in some plugin framework to handle "behind-the-scenes". Let me know what you think.
Reply
#5

Another 5 start contribution form you again, you're an inspiration, keep it up mate
Reply
#6

Quote:
Originally Posted by Whitetiger
View Post
Looks pretty cool man, wondering if you'd be interested in possibly implementing a PoC I wrote a few years back to determine from PAWN which plugins are loaded: https://github.com/Whitetigerswt/Dynamic_Natives. The technique is described on the GitHub page. I'm sure there's room for improvement as well.

I think it'd fit perfectly in some plugin framework to handle "behind-the-scenes". Let me know what you think.
It's a very interesting idea. I will think about the implementation with minimum AMX overhead.
Reply
#7

Quote:
Originally Posted by YourShadow
View Post
It's a very interesting idea. I will think about the implementation with minimum AMX overhead.
Sure, hit me up in a PM or the steam in my signature and I can try to clarify if you misunderstand something. The SA-MP AC link in my signature was also using this technique, so you could check that plugin for more than just a PoC.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)