Add version info to ppData
#1

Would be very good to get version string or version info as hex from ppData, like:

pawn Код:
pAMXFunctions = ppData[PLUGIN_DATA_AMX_EXPORTS];
What I would like to see is:

pawn Код:
iServerVersion = ppData[PLUGIN_DATA_SERVER_VERSION];
Why this would be good? For memory hacking plugins to detect version automaticly. Now we can detect version by checking logprintf address or in any other different ways, but this would be the best. It's just 1 minutes of work.

In R server releases (R1, R2, R3, ...) structures do not change 90% of time, so with this I would know how to create YSF (and other memory hacking plugin developers too if they will use pattern scan) future compatible without recompiling.
Reply
#2

It seems that nobody cares, RC3 will be another fail i guess.
Reply
#3

Quote:
Originally Posted by nGen.SoNNy
Посмотреть сообщение
It seems that nobody cares, RC3 will be another fail i guess.
And the "Worst, Most Pessimistic, Ignorant And Stupid Post of Whole 2015 Being Only March" award goes to...!
Reply
#4

I'm not a plugin programmer, but I'm sure that some plugins have their ways of knowing SA:MP versions, but this could be useful in someone.

Off T: RC3 is coming, it may be a while, but be patient.
Reply
#5

Im all for it, but I'd rather see it as a native so scripts can use it as well.
Reply
#6

Quote:
Originally Posted by admantis
Посмотреть сообщение
And the "Worst, Most Pessimistic, Ignorant And Stupid Post of Whole 2015 Being Only March" award goes to...!
I'd actually say part of that award should go to you. You're commenting in a topic you don't really know much about.

Plugin developers spend countless hours making plugins only to see them fall apart with every new version. Even simple things that would help us a lot. It's easy to get bitter about it.
Reply
#7

Quote:
Originally Posted by Slice
Посмотреть сообщение
I'd actually say part of that award should go to you. You're commenting in a topic you don't really know much about.

Plugin developers spend countless hours making plugins only to see them fall apart with every new version. Even simple things that would help us a lot. It's easy to get bitter about it.
I am pretty sure he was actually talking about the mod development itself, as if RC1 and RC2 weren't enough for him. I'm not against adding this (or improving plug-in support), I am only against ungrateful members. I hope you understand my point.
Reply
#8

I'm really not experienced in memory hacking, but why does the server memory structure change that much from a release to another ? Kalcor's will ?
Reply
#9

Quote:
Originally Posted by admantis
Посмотреть сообщение
And the "Worst, Most Pessimistic, Ignorant And Stupid Post of Whole 2015 Being Only March" award goes to...!
You shall not talk...i'm not a big developer but i edit the source of plugins for my server and this is my opinion. RC1 / RC2 = updates for Roleplay servers so i guess RC3 will come with a new frying pan. I admin that the "ghost mode" thing from MTA it's the most useful feature for everyone.
Reply
#10

Uhm.. If you haven't already contributed a suggestion here or here, then you can't exactly moan its only for role-play servers. Other than this, I'd like to clarrify my TDM server would benifit from this (so not JUST role-play servers), as many other servers such as the new stunt objects would be useful for stunt servers.
Reply
#11

Quote:
Originally Posted by Sledgehammer
Посмотреть сообщение
Uhm.. If you haven't already contributed a suggestion...
I can bet just 1% or less of the sugestions will be used in the nexte release Evertytime it's just like this because in my opinion...the sa-mp devs will only listent to the big servers like GamerX or something like this. With 0.3.7 we got big or smaller fonts, better security till rusians will fuc* all the servers again and new roleplay objects. I just like the "ghost mod". SA-MP don't even own an efficient ban system, right? We can't even ban a player by it's "own unique ID" or something like this. Most of the server still use /rangeban so...?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)