Burgershot
  • Home
  • Members
  • Team
  • Help
  • Search
  • Register
  • Login
  • Home
  • Members
  • Help
  • Search
Burgershot open.mp Questions and Suggestions [Suggestion] Dynamically loading / unloading plugins

 
  • 0 Vote(s) - 0 Average
Suggestion Dynamically loading / unloading plugins
JustMichael
Offline

Forum Manager

Posts: 189
Threads: 3
Joined: Feb 2019
Reputation: 17
Location: England
#8
2019-05-26, 12:56 PM
(2019-05-26, 12:54 PM)Gravityfalls Wrote: Hot loading can come handy in case you want to load a certain thing without restarting your serve - this might be more work but should be added, this can come handy in a way that you can load all your plugins depending on the includes you've in your script, you can just do a small define to check whether the library is included or not and then load the respective plugin for it. This is just an idea, because I really hate to set up SA-MP servers.

The huge problem with this, is that a plugin could get updated and add/change natives and then your server wouldn't function correctly since it would be trying to call natives that no longer exists or have changed and give an unexpected output.

This would be seriously bad, and I don't recommend this approach at all.
Remember to always refer to J0sh as `J0sh...`

@ Networks/Servers
San Andreas Gaming Network (Owner/Founder)
San Andreas Gaming (Owner/Founder)
Grand Theft Cop's n Robber's (Owner)
Britannia Roleplay (Owner/Founder)
Alpine RP (Owner/Founder)
Aluminium Network (Maintainer)
AlphaDM (Tech Support)

# Services
Burgershot.gg (Forum Manager)
open.mp (Member)

~ Languages/Frameworks
Pawn, C, C++, C#, Javascript, Typescript, Lua, Python, Go, Rust, PHP, SQL,
Angular, React, Vue, Svelte, Laravel, Rocket
« Next Oldest | Next Newest »



Messages In This Thread
Dynamically loading / unloading plugins - by XeroX - 2019-05-25, 11:15 PM
RE: Dynamically loading / unloading plugins - by JustMichael - 2019-05-25, 11:20 PM
RE: Dynamically loading / unloading plugins - by Josh - 2019-05-25, 11:28 PM
RE: Dynamically loading / unloading plugins - by JustMichael - 2019-05-25, 11:29 PM
RE: Dynamically loading / unloading plugins - by ohmios - 2019-05-25, 11:56 PM
RE: Dynamically loading / unloading plugins - by Josh - 2019-05-26, 12:55 PM
RE: Dynamically loading / unloading plugins - by Gravityfalls - 2019-05-26, 12:54 PM
RE: Dynamically loading / unloading plugins - by JustMichael - 2019-05-26, 12:56 PM

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Burgershot - Powered by our Community and MyBB Original Theme by Emerald

Linear Mode
Threaded Mode