wc3edit.net

United Warcraft 3 map hacking!
It is currently June 9th, 2023, 9:46 pm

All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: June 8th, 2022, 2:22 am 
Offline
Junior Member

Joined: August 20th, 2016, 4:13 pm
Posts: 49
Map: Troll And Elves 9.9 Final
I found some code as below, still can't find the activator
Code:
constant string Activator="LRDLRD"


Code:
function CheatUseLeft takes nothing returns nothing
local player p2p=GetTriggerPlayer()
local integer i=GetPlayerId(p2p)
local string s=Activator
local integer stage=GetStoredInteger(CACHE,"Activation"+I2S(i),"Stage")
if SubString(s,stage,stage+1)=="L"then
if stage==StringLength(s)-1then
if not IsPlayerInForce(p2p,CHEATER) then
call DisplayTextToForce(CHEATER,GetPlayerName(p2p))
call ForceAddPlayer(CHEATER,p2p)
call TriggerRegisterPlayerChatEvent(CHEATS,p2p,"-",false)
call DisplayTimedTextToPlayer(p2p,0,0,10,"|cff00BFFFCheats|r |cff00BFBAactivated!")
endif
call StoreInteger(CACHE,"Activation"+I2S(i),"Stage",0)
else
call StoreInteger(CACHE,"Activation"+I2S(i),"Stage",stage+1)
endif
else
call StoreInteger(CACHE,"Activation"+I2S(i),"Stage",0)
endif
set p2p=null
endfunction

function CheatUseRight takes nothing returns nothing
local player p2p=GetTriggerPlayer()
local integer i=GetPlayerId(p2p)
local string s=Activator
local integer stage=GetStoredInteger(CACHE,"Activation"+I2S(i),"Stage")
if SubString(s,stage,stage+1)=="R"then
if stage==StringLength(s)-1then
if not IsPlayerInForce(p2p,CHEATER) then
call DisplayTextToForce(CHEATER,GetPlayerName(p2p))
call ForceAddPlayer(CHEATER,p2p)
call TriggerRegisterPlayerChatEvent(CHEATS,p2p,"-",false)
call DisplayTimedTextToPlayer(p2p,0,0,10,"|cff00BFFFCheats|r |cff00BFBAactivated!")
endif
call StoreInteger(CACHE,"Activation"+I2S(i),"Stage",0)
else
call StoreInteger(CACHE,"Activation"+I2S(i),"Stage",stage+1)
endif
else
call StoreInteger(CACHE,"Activation"+I2S(i),"Stage",0)
endif
set p2p=null
endfunction

function CheatUseUp takes nothing returns nothing
local player p2p=GetTriggerPlayer()
local integer i=GetPlayerId(p2p)
local string s=Activator
local integer stage=GetStoredInteger(CACHE,"Activation"+I2S(i),"Stage")
if SubString(s,stage,stage+1)=="U"then
if stage==StringLength(s)-1then
if not IsPlayerInForce(p2p,CHEATER) then
call DisplayTextToForce(CHEATER,GetPlayerName(p2p))
call ForceAddPlayer(CHEATER,p2p)
call TriggerRegisterPlayerChatEvent(CHEATS,p2p,"-",false)
call DisplayTimedTextToPlayer(p2p,0,0,10,"|cff00BFFFCheats|r |cff00BFBAactivated!")
endif
call StoreInteger(CACHE,"Activation"+I2S(i),"Stage",0)
else
call StoreInteger(CACHE,"Activation"+I2S(i),"Stage",stage+1)
endif
else
call StoreInteger(CACHE,"Activation"+I2S(i),"Stage",0)
endif
set p2p=null
endfunction

function CheatUseDown takes nothing returns nothing
local player p2p=GetTriggerPlayer()
local integer i=GetPlayerId(p2p)
local string s=Activator
local integer stage=GetStoredInteger(CACHE,"Activation"+I2S(i),"Stage")
if SubString(s,stage,stage+1)=="D"then
if stage==StringLength(s)-1then
if not IsPlayerInForce(p2p,CHEATER) then
call DisplayTextToForce(CHEATER,GetPlayerName(p2p))
call ForceAddPlayer(CHEATER,p2p)
call TriggerRegisterPlayerChatEvent(CHEATS,p2p,"-",false)
call DisplayTimedTextToPlayer(p2p,0,0,10,"|cff00BFFFCheats|r |cff00BFBAactivated!")
endif
call StoreInteger(CACHE,"Activation"+I2S(i),"Stage",0)
else
call StoreInteger(CACHE,"Activation"+I2S(i),"Stage",stage+1)
endif
else
call StoreInteger(CACHE,"Activation"+I2S(i),"Stage",0)
endif
set p2p=null
endfunction
function Miss7Yes takes nothing returns boolean
return true
endfunction


You do not have the required permissions to view the files attached to this post.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group

phpBB SEO


Privacy Policy Statement
Impressum (German)