20.01.2017, 22:52
Hi,
For some longer time, I've been thinking about something: a client & server sided extension/plugin which would aim to fix some minor & bigger SAMP and GTA bugs, provide more control & information of player's game to the server, and maybe provide a client-sided scripting language (probably JavaScript).
Basic functions would be "exposed" to the scripting language such as: object related, textdraw related, vehicle related (?), and maybe some other. This would put off a lot of job from the server (for example: the object streamer, it could be entirely made on the client's side, with bigger visible objects limit).
The plugin would also allow admins to create better anti-cheats (although that is still questionable, since everything can be bypassed, but providing more information to the server would obviously make it easier to detect stuff)
Seeing the actual situation, we may probably not expect any future updates, so this could also in some way keep SAMP up-to-date. Things like downloading textures, objects, sounds from the server could be provided.
Of course the plugin would be open source, otherwise noone would trust it. It would also require a lot of security checks in the client (and server too) and fast bug fixes to prevent any possible "hacking" through exploits (I'm having some buffer overflows on my mind, just like SAMP had in textdraws etc). It would automatically update itself so it would be easier to keep players safe.
This is all just a theory though, since I haven't even started any work on this (don't even have much time to do that now), but I'd like to see some opinions about this.
I know there have been some attempts to create similar things previously, but most of them based on simple fixes and providing 10000 new checkpoint colours, this would provide a much bigger set of possibilities, and if many servers used it and required it I think it would work out.
Edit
To be clear, I don't aim at over complicating it, the plugin would still keep SAMP the "vanilla" way, without altering the game too much. It would just "connect" SAMP with the game more, in a better way, providing much more functions.
For some longer time, I've been thinking about something: a client & server sided extension/plugin which would aim to fix some minor & bigger SAMP and GTA bugs, provide more control & information of player's game to the server, and maybe provide a client-sided scripting language (probably JavaScript).
Basic functions would be "exposed" to the scripting language such as: object related, textdraw related, vehicle related (?), and maybe some other. This would put off a lot of job from the server (for example: the object streamer, it could be entirely made on the client's side, with bigger visible objects limit).
The plugin would also allow admins to create better anti-cheats (although that is still questionable, since everything can be bypassed, but providing more information to the server would obviously make it easier to detect stuff)
Seeing the actual situation, we may probably not expect any future updates, so this could also in some way keep SAMP up-to-date. Things like downloading textures, objects, sounds from the server could be provided.
Of course the plugin would be open source, otherwise noone would trust it. It would also require a lot of security checks in the client (and server too) and fast bug fixes to prevent any possible "hacking" through exploits (I'm having some buffer overflows on my mind, just like SAMP had in textdraws etc). It would automatically update itself so it would be easier to keep players safe.
This is all just a theory though, since I haven't even started any work on this (don't even have much time to do that now), but I'd like to see some opinions about this.
I know there have been some attempts to create similar things previously, but most of them based on simple fixes and providing 10000 new checkpoint colours, this would provide a much bigger set of possibilities, and if many servers used it and required it I think it would work out.
Edit
To be clear, I don't aim at over complicating it, the plugin would still keep SAMP the "vanilla" way, without altering the game too much. It would just "connect" SAMP with the game more, in a better way, providing much more functions.