• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[JASS] Make game detect game version?

Status
Not open for further replies.
Level 7
Joined
Feb 9, 2007
Messages
56
Hi!

I'd like to know if it's possible to make the game check the game version.
There is a number in the editor that shows how many times you already save your map. You can find it under mapdescription at the bottom.
ex:(map version: 54)

Is there no way to get this number?
 
Level 7
Joined
Dec 26, 2006
Messages
303
Don't really get what you mean with: the game check the game version

And for what reason you want to check how much is it edited??
 
Level 7
Joined
Dec 26, 2006
Messages
303
You can put it manually, just write it yourself.. System can't write it because it's not really important

edit: sorry, I was so stupid... The right is:

You can put it manually, just write it yourself.. System can't read it because it's not really important
 
Level 7
Joined
Dec 26, 2006
Messages
303
Protection so no1 will edit his map, that's his reason?? Dr Super Good is really good, he even can read into other's mind...

But still the answer are no... Well... Good people are make themself as the map maker but stupid, lazy and bad people became an map breaker which edit a good map into a map with cheat or steal all the credits... That's why I often make an campaign style map remembering this style of map will not updated
 
Level 7
Joined
Feb 9, 2007
Messages
56
Its obvious, he wants to use it as a protection to stop people editing his map, still will not work since triggers are easily changed.

Yes, that's what I wanted it for... I know hackers could still delete the triggers, but it would be a lot of work because in the maps i wanna use it is a big chaos :emote_grin:
I don't want to protect the maps because I fear that somebody could steal the credits ect. But it's an ORPG with save/load and I don't want people to have the best items if they are to stupid to beat the bosses...

I use vexorians map optimizer, but that keeps only noobs away ...
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,258
Just open the map with jass shop pro and no matter how protected it is the trigger script appears. Also editing the trigger script via jass shop pro (or jass craft, its upgrade) does not change the version. Just optimize and leave since I have EASILY hacked code systems which were optimized and a version system would not stop me.
 
Level 40
Joined
Dec 14, 2005
Messages
10,532
There are some fairly good ways of anti-protection:

make a function called

JASS:
function AntiProtection takes nothing returns nothing
    if not udg_myGlobalBool then
        call DisplayTextToForce( bj_FORCE_ALL_PLAYERS, "This map was made by JoeUser" )
        set udg_myGlobalBool = true
    else
        call DisplayTextToPlayer( Player( bj_forLoopAIndex ), 0, 0, "This map was made by JoeUser" )
    endif
endfunction

then, later in your script, things like

JASS:
call ExecuteFunc( "AntiProtection" )
//somewhere else
set bj_forLoopAIndex = 0
call ExecuteFunc( "AntiProtection" )

That way, if they delete the function, the map will crash at random places.

Sure, it's not foolproof, but it's the best way I can see of keeping people from releasing faked versions of your map (pasting their names on it)
 
Level 8
Joined
Feb 4, 2007
Messages
389
Just open the map with jass shop pro and no matter how protected it is the trigger script appears. Also editing the trigger script via jass shop pro (or jass craft, its upgrade) does not change the version. Just optimize and leave since I have EASILY hacked code systems which were optimized and a version system would not stop me.

Do not discuss map deprotection or 'hacking' here. That is not what these forums are for. If you want to discuss it, take it somewhere else.
 
Status
Not open for further replies.
Top