Archived copy of war3source.com, the War3Source forum (2009–2020), rebuilt from the Internet Archive by wc3mods.net. This page was captured on 2012-10-25 (original capture). Forum · All archived topics · Wiki · Bug tracker · Blog
Chat

War3:Source
October 24, 2012, 09:11:26 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Download: http://war3source.com/index.php?board=9.0
What is War3Source?: http://war3source.com/index.php?topic=200.0
Sample Stats: http://war3source.com/war3stats
Steam Community Group: http://steamcommunity.com/groups/war3source
War3Source SVN Checkout: http://ownageclan.com/svn/war3source/
War3Source servers: http://www.game-monitor.com/search.php?vars=war3_version=
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: plugin integrity check  (Read 662 times)
Ownz
Developer
Administrator
Hero Member
*****
Posts: 2046



View Profile WWW Email
« on: June 29, 2011, 09:16:05 AM »

some plugins, namely "statistics" and "extension helper" require integrity checking, as in these plugins are not meant to be modified. Modifying these files can cause crashes and inaccurate data.

.smx files are compressed using the zlib, and also have timestamp and file paths in then, so each compile of the same file produces a file that looks completely different.

To force integrity, this is what is proposed:
Prevent users from compiling by warning them when they try to compile. However users are able to compile by removing the warning. Integrity checking is done by the extension library, and features are not enabled if integrity is not met.

Plugin must initiate a call to the extension, which then hashes the file, checks with a webserver to see if the hash is valid.
« Last Edit: June 29, 2011, 04:46:04 PM by Ownz » Logged

DarkEnergy
Frenzzy
Full Member
***
Posts: 217


337905984 frenzzy@live.ru
View Profile WWW
« Reply #1 on: June 29, 2011, 03:48:47 PM »

This is all necessary just for global stats?  I mean the 'extensions' which appeared in 1.2.2.x
Logged

O_o
Ownz
Developer
Administrator
Hero Member
*****
Posts: 2046



View Profile WWW Email
« Reply #2 on: June 29, 2011, 03:51:36 PM »

i want stats to be collected in the matter it is intended to

and extensions and its dll are for shopmenu2 and integrity checking and other things
Logged

DarkEnergy
Glider⠠⠵
Global Moderator
Sr. Member
*****
Posts: 413


⠠⠵


View Profile
« Reply #3 on: June 30, 2011, 10:48:47 AM »

I totally missed this post: Global stats without 2 races contributing as if it was just one? FUCKING HELL YEAH!
Logged

qwerty
Jr. Member
**
Posts: 87


View Profile
« Reply #4 on: July 03, 2011, 09:17:08 PM »

i want stats to be collected in the matter it is intended to

and extensions and its dll are for shopmenu2 and integrity checking and other things

you should seriously add an option to not send stats.  some servers use non-standard races (aka, the stats for human alliance is different, etc...)

that would screw the global stats up, wouldn't it?
Logged
Glider⠠⠵
Global Moderator
Sr. Member
*****
Posts: 413


⠠⠵


View Profile
« Reply #5 on: July 04, 2011, 10:40:50 AM »

thats what the integrity check verifys.
Logged

stinkyfax
Full Member
***
Posts: 116


View Profile Email
« Reply #6 on: July 06, 2011, 09:12:08 AM »

you really don't like SM policy requiring source being open, do you?
Logged

Ownz
Developer
Administrator
Hero Member
*****
Posts: 2046



View Profile WWW Email
« Reply #7 on: July 06, 2011, 09:16:34 AM »

wheres your latest wowmod source?
Logged

DarkEnergy
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!