Question about triggers in unprotected map...

General talk about editing, cheating, and deprotecting maps.

Moderator: Cheaters

Hacktually
Newcomer
Posts: 6
Joined: April 19th, 2009, 9:42 pm

Question about triggers in unprotected map...

Post by Hacktually »

OK so I unprotected Mad Balls Arena and the triggers are all in one file named init in the following format:
Spoiler:
// Map deprotected by X-deprotect (version 2006-10-02) by zibada
// http://dimon.xgm.ru/xdep/
// Visit our modmaking community at http://xgm.ru/


function zX takes real ZX returns nothing
local real vO
local real st=TimerGetElapsed(udg_timer03)
if st<=0 then
set udg_timer03=CreateTimer()
call TimerStart(udg_timer03,0xF4240,false,null)
endif
if(ZX>0)then
loop
set vO=ZX-TimerGetElapsed(udg_timer03)+st
exitwhen vO<=0
if(vO>bj_POLLED_WAIT_SKIP_THRESHOLD)then
call TriggerSleepAction(.1*vO)
else
call TriggerSleepAction(bj_POLLED_WAIT_INTERVAL)
endif
endloop
endif
endfunction
Is there any way to restore GUI triggers or was this map written in JASS...or? I am fairly new to this kind of stuff so any help would be appreciated. Thanks in advance!
User avatar
Senethior459
Forum Staff
Posts: 2618
Joined: June 2nd, 2007, 6:53 pm
Title: I Just Lost the Game

Re: Question about triggers in unprotected map...

Post by Senethior459 »

Sorry, but that's how they are. When a map is protected, the GUI triggers are deleted, leaving the entire map only in Jass form. There's a tool called UnProtect that says it can restore triggers, but we've never gotten it to work right.
My Warcraft III Tool Collection
If you want to chat/game with me:
Blizzard: Senethior459#1962
Discord: Kyle#7409
Steam: Spacekidkyle
User avatar
Risen
Forum Staff
Posts: 811
Joined: January 1st, 2008, 12:58 am

Re: Question about triggers in unprotected map...

Post by Risen »

MaD is a decent JASS-er, I know him.
That map uses a miniature physics system, If you can get it converted to GUI completely, I'll do you the favor and cut my dick off. :P
Image
Wanna learn to hack maps? --> Guide
Hacktually
Newcomer
Posts: 6
Joined: April 19th, 2009, 9:42 pm

Re: Question about triggers in unprotected map...

Post by Hacktually »

Risen wrote:MaD is a decent JASS-er, I know him.
That map uses a miniature physics system, If you can get it converted to GUI completely, I'll do you the favor and cut my dick off. :P
lol I think I will just cut my losses...

;)