Attano / Left4Downtown2

First github clone!
27 stars 33 forks source link

not compatibility with SourceMod 1.8 #11

Open Electr0 opened 8 years ago

Electr0 commented 8 years ago

i get error with use this on stable build of SourceMod 1.8

Exception reported: GameRules unsupported or not available; file a bug report

in error.log: L 06/06/2016 - 10:35:57: Info (map "c1m1_hotel") (file "errors_20160606.log") L 06/06/2016 - 10:35:57: [SM] Exception reported: GameRules unsupported or not available; file a bug report L 06/06/2016 - 10:35:57: [SM] Blaming: l4d2_boss_rush.smx() L 06/06/2016 - 10:35:57: [SM] Call stack trace: L 06/06/2016 - 10:35:57: [SM] [0] L4D_GetVersusMaxCompletionScore

Electr0 commented 8 years ago

i see code around getting GameRules and verify gamedata of 1.8 and found changes can break work: https://github.com/alliedmodders/sourcemod/commit/ad9de71ac9346ec3c1ad0569b81e7c9e408f30d8 for it: https://github.com/alliedmodders/sourcemod/commit/88cb74213c06e73fd0f7e0470301ff1ccf15ebbd

i am think for users have this issue temp fix: add back old gamerules gamedata what used in extension at this moment.

for fix compatibility with 1.8+ gamedata need copy changes from: https://github.com/alliedmodders/sourcemod/commit/88cb74213c06e73fd0f7e0470301ff1ccf15ebbd

Attano commented 8 years ago

Thanks for the heads up, but I honestly don't see any reason whatsoever to use anything above Sourcemod 1.6 or 1.7 for L4D2. For a long time now the game hasn't received any updates that would warrant pairing it with a newer SM release. In fact, since these newer releases are mostly shaped for CS:GO, they just induce incompatibilities and issues for older games such as L4D2, which are very much stable on SM 1.6 and below.

While you are of course free to use the latest available version of Sourcemod, specifically for L4D2 my personal advice to you would be to avoid doing that, and instead to rollback onto SM 1.6.4. This will save you precious time in the future and will rid you of possible issues caused by newer SM releases.