Raised This Month: $51 Target: $400
 12% 

smac.inc changed enum names/values between versions


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 05-07-2014 , 12:39   smac.inc changed enum names/values between versions
Reply With Quote #1

So, it's come to my attention that SMAC has changed some of the values in the DetectionType enum in the current version of smac.inc. This happened between the 0.8.5.2 and 0.8.6.0 releases dev versions according to the two source code repos (I can't link to them because DMCA stuff).

This breaks source-code compatibility with anything written against the older versions of smac.inc as the values they reference are no longer there.

Not only that, but the values that are there have been modified significantly. This means that even for the values that these plugins do have, they're passing incorrect values in for SMAC_CheatDetected and checking wrong values for the SMAC_OnCheatDetected forward.
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 05-09-2014 at 11:43.
Powerlord is offline
Ade
I love purple
Join Date: May 2010
Old 05-08-2014 , 03:07   Re: smac.inc changed enum names/values between versions
Reply With Quote #2

0.8.5.2?
__________________
Ade is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 05-08-2014 , 10:55   Re: smac.inc changed enum names/values between versions
Reply With Quote #3

Quote:
Originally Posted by Ade View Post
0.8.5.2?
Yes, 0.8.5.2.
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline
WildCard65
Veteran Member
Join Date: Aug 2013
Location: Canada
Old 05-08-2014 , 11:19   Re: smac.inc changed enum names/values between versions
Reply With Quote #4

last stable release I know if is smac 0.8.5.1
WildCard65 is offline
2NASTY4U
Senior Member
Join Date: Mar 2014
Old 05-08-2014 , 18:16   Re: smac.inc changed enum names/values between versions
Reply With Quote #5

No. 0.8.5.2.
2NASTY4U is offline
Lucky_luck
AlliedModders Donor
Join Date: May 2011
Location: Germany
Old 05-08-2014 , 21:20   Re: smac.inc changed enum names/values between versions
Reply With Quote #6

Latest Version is "0.8.5.1"
Lucky_luck is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 05-08-2014 , 21:36   Re: smac.inc changed enum names/values between versions
Reply With Quote #7

Quote:
Originally Posted by Lucky_luck View Post
Latest Version is "0.8.5.1"
The latest version in the current source code repo is 0.8.6.0. The latest version in the old source code repo is 0.8.5.2. Again, I can't link to either of them due to DMCA stuff.
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline
Jargon
SourceMod Donor
Join Date: Jun 2012
Location: Sydney, Australia
Old 05-08-2014 , 22:56   Re: smac.inc changed enum names/values between versions
Reply With Quote #8

So the auto updater isn't working anymore? I thought they patched that?
Jargon is offline
psychonic

BAFFLED
Join Date: May 2008
Old 05-09-2014 , 08:41   Re: smac.inc changed enum names/values between versions
Reply With Quote #9

The latest actual release is 0.8.5.1, as can be seen in the download thread and on the download page on the SMAC website.

0.8.5.2 was the dev version in the old repository, and 0.8.6.0, the dev version in the new repository.
psychonic is offline
WildCard65
Veteran Member
Join Date: Aug 2013
Location: Canada
Old 05-09-2014 , 11:16   Re: smac.inc changed enum names/values between versions
Reply With Quote #10

Quote:
Originally Posted by psychonic View Post
The latest actual release is 0.8.5.1, as can be seen in the download thread and on the download page on the SMAC website.

0.8.5.2 was the dev version in the old repository, and 0.8.6.0, the dev version in the new repository.
Good to know I'm not going insane.
WildCard65 is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:02.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode