COT RPG POM FOC V0.66B

General talk about editing, cheating, and deprotecting maps.

Moderator: Cheaters

slipstream
Newcomer
Posts: 17
Joined: April 27th, 2009, 6:46 am

COT RPG POM FOC V0.66B

Post by slipstream »

ok ive managed to put JJ's cp into the map myself but I havent been able to enable single player

when I join the map by myself it comes up I am the last person playing and have 20 minutes before save/load is disabled wvwn though i cant a save even before 20 minutes so can anyone tell me how I would disable this?

Ive found the funtion that does this but I have no idea how to disable it, anyone know?
Spoiler:

Code: Select all

Trigger: Anti single player8
//
// There is no way that I am aware of that gives me the ability to block players from using cheat codes in single player.  What is the fun of playing a map when you can kill everyone in one hit and then save that now overpowered hero to slaughter people on battle.net when the player had maybe 30 minutes on the map?  Therefore we have altered how the single player version saves.  This trigger detects that only one player is playing and switches to the game cache instead of the Save Code generator.  
//===========================================================================
function Trig_Anti_single_player8_Func002Func003Func001001 takes nothing returns boolean
    return ( GetPlayerSlotState(Player(0)) == PLAYER_SLOT_STATE_EMPTY )
endfunction

function Trig_Anti_single_player8_Func002Func003Func001002 takes nothing returns boolean
    return ( GetPlayerController(Player(0)) == MAP_CONTROL_COMPUTER )
endfunction

function Trig_Anti_single_player8_Func002Func003Func002001 takes nothing returns boolean
    return ( GetPlayerSlotState(Player(1)) == PLAYER_SLOT_STATE_EMPTY )
endfunction

function Trig_Anti_single_player8_Func002Func003Func002002 takes nothing returns boolean
    return ( GetPlayerController(Player(1)) == MAP_CONTROL_COMPUTER )
endfunction

function Trig_Anti_single_player8_Func002Func003Func003001 takes nothing returns boolean
    return ( GetPlayerSlotState(Player(2)) == PLAYER_SLOT_STATE_EMPTY )
endfunction

function Trig_Anti_single_player8_Func002Func003Func003002 takes nothing returns boolean
    return ( GetPlayerController(Player(2)) == MAP_CONTROL_COMPUTER )
endfunction

function Trig_Anti_single_player8_Func002Func003Func004001 takes nothing returns boolean
    return ( GetPlayerSlotState(Player(3)) == PLAYER_SLOT_STATE_EMPTY )
endfunction

function Trig_Anti_single_player8_Func002Func003Func004002 takes nothing returns boolean
    return ( GetPlayerController(Player(3)) == MAP_CONTROL_COMPUTER )
endfunction

function Trig_Anti_single_player8_Func002Func003Func005001 takes nothing returns boolean
    return ( GetPlayerSlotState(Player(4)) == PLAYER_SLOT_STATE_EMPTY )
endfunction

function Trig_Anti_single_player8_Func002Func003Func005002 takes nothing returns boolean
    return ( GetPlayerController(Player(4)) == MAP_CONTROL_COMPUTER )
endfunction

function Trig_Anti_single_player8_Func002Func003Func006001 takes nothing returns boolean
    return ( GetPlayerSlotState(Player(5)) == PLAYER_SLOT_STATE_EMPTY )
endfunction

function Trig_Anti_single_player8_Func002Func003Func006002 takes nothing returns boolean
    return ( GetPlayerController(Player(5)) == MAP_CONTROL_COMPUTER )
endfunction

function Trig_Anti_single_player8_Func002Func003Func007001 takes nothing returns boolean
    return ( GetPlayerSlotState(Player(6)) == PLAYER_SLOT_STATE_EMPTY )
endfunction

function Trig_Anti_single_player8_Func002Func003Func007002 takes nothing returns boolean
    return ( GetPlayerController(Player(6)) == MAP_CONTROL_COMPUTER )
endfunction

function Trig_Anti_single_player8_Func002Func003Func008001 takes nothing returns boolean
    return ( GetPlayerSlotState(Player(8)) == PLAYER_SLOT_STATE_EMPTY )
endfunction

function Trig_Anti_single_player8_Func002Func003Func008002 takes nothing returns boolean
    return ( GetPlayerController(Player(8)) == MAP_CONTROL_COMPUTER )
endfunction

function Trig_Anti_single_player8_Func002Func003C takes nothing returns boolean
    if ( not GetBooleanOr( Trig_Anti_single_player8_Func002Func003Func001001(), Trig_Anti_single_player8_Func002Func003Func001002() ) ) then
        return false
    endif
    if ( not GetBooleanOr( Trig_Anti_single_player8_Func002Func003Func002001(), Trig_Anti_single_player8_Func002Func003Func002002() ) ) then
        return false
    endif
    if ( not GetBooleanOr( Trig_Anti_single_player8_Func002Func003Func003001(), Trig_Anti_single_player8_Func002Func003Func003002() ) ) then
        return false
    endif
    if ( not GetBooleanOr( Trig_Anti_single_player8_Func002Func003Func004001(), Trig_Anti_single_player8_Func002Func003Func004002() ) ) then
        return false
    endif
    if ( not GetBooleanOr( Trig_Anti_single_player8_Func002Func003Func005001(), Trig_Anti_single_player8_Func002Func003Func005002() ) ) then
        return false
    endif
    if ( not GetBooleanOr( Trig_Anti_single_player8_Func002Func003Func006001(), Trig_Anti_single_player8_Func002Func003Func006002() ) ) then
        return false
    endif
    if ( not GetBooleanOr( Trig_Anti_single_player8_Func002Func003Func007001(), Trig_Anti_single_player8_Func002Func003Func007002() ) ) then
        return false
    endif
    if ( not GetBooleanOr( Trig_Anti_single_player8_Func002Func003Func008001(), Trig_Anti_single_player8_Func002Func003Func008002() ) ) then
        return false
    endif
    return true
endfunction

function Trig_Anti_single_player8_Func002C takes nothing returns boolean
    if ( not Trig_Anti_single_player8_Func002Func003C() ) then
        return false
    endif
    return true
endfunction

function Trig_Anti_single_player8_Actions takes nothing returns nothing
    if ( Trig_Anti_single_player8_Func002C() ) then
        call DisableTrigger( gg_trg_NPS_Save )
    else
        set udg_Multiplayer = true
    endif
endfunction
thanks Slip
Image
User avatar
Senethior459
Forum Staff
Posts: 2618
Joined: June 2nd, 2007, 6:53 pm
Title: I Just Lost the Game

Re: COT RPG POM FOC V0.66B

Post by Senethior459 »

In the function at the end, function Trig_Anti_single_player8_Actions, change it from this:
function Trig_Anti_single_player8_Actions takes nothing returns nothing
if ( Trig_Anti_single_player8_Func002C() ) then
call DisableTrigger( gg_trg_NPS_Save )
else
set udg_Multiplayer = true
endif
endfunction

to this:
function Trig_Anti_single_player8_Actions takes nothing returns nothing
if ( Trig_Anti_single_player8_Func002C() ) then
call EnableTrigger( gg_trg_NPS_Save )
set udg_Multiplayer=true
else
set udg_Multiplayer = true
endif
endfunction
My Warcraft III Tool Collection
If you want to chat/game with me:
Blizzard: Senethior459#1962
Discord: Kyle#7409
Steam: Spacekidkyle
slipstream
Newcomer
Posts: 17
Joined: April 27th, 2009, 6:46 am

Re: COT RPG POM FOC V0.66B

Post by slipstream »

k tried this and it still comes up with it detects there is only 1 player ingame and I have 20 minutes before save/load is disabled even though I cant save within this 20 mins anyway,

So is there any chance that someone else could have a go at hacking it to see if its just me?
Image
slipstream
Newcomer
Posts: 17
Joined: April 27th, 2009, 6:46 am

Re: COT RPG POM FOC V0.66B

Post by slipstream »

bump?
Image
User avatar
haxorico
Super Moderator
Posts: 3198
Joined: February 24th, 2009, 1:31 pm
Location: JEW LAND
Been thanked: 1 time

Re: COT RPG POM FOC V0.66B

Post by haxorico »

post the original uncheated map and it will be more helpfull...
Image
Spoiler:
(02:24:09)

Code: Select all

ChatBot: FatherSpace logs into the Chat.
(02:24:28) Lanaya: Gtfo ken.
(02:24:33) ChatBot: FatherSpace logs out of the Chat.
(02:24:40) Lanaya: Thought so. bitch.
(02:24:44) ChatBot: FatherSpace logs into the Chat.
(02:24:48) FatherSpace: Can I come back yet?
(02:24:51) Lanaya: What'd i say earlier.
(02:24:51) Lanaya: No.
(02:24:58) FatherSpace: Let's try this...
(02:25:01) ChatBot: Lanaya has been logged out (Kicked).

Code: Select all


(14:33:51) 2Pac: Do you know what'S so funny?
(14:34:01) Lanaya: No, please show me.
(14:34:07) 2Pac: This.
(14:34:09) ChatBot: Lanaya has been logged out (Kicked).
(14:34:10) 2Pac: 

Code: Select all

(14:35:59) haxorico: No one will belive me if I say "I got this song from 2pac on MSN" lolz ^^
(14:36:02) Lanaya: lolz.
(14:36:16) 2Pac: I AIN'T DEAD FFS.
(14:36:26) 2Pac: I'm a living legend, y'now.
(14:37:17) haxorico: why is 2Pac a legend?
(14:37:28) Lanaya: He's the worse rapper evar.

Code: Select all

(15:42:51) Lanaya: can i suck , . . .

Code: Select all

(13:55:21) ChatBot: 2Pac rolls 1d100 and gets 1.
(13:55:21) ChatBot: haxorico rolls 1d2 and gets 2.
(13:55:27) haxorico: owned?

Code: Select all

GeorgeMots: xplain what happens in SP. Why cant you save?
dast.-:i need play with 2 players

Code: Select all

(21:53:08) (673237): plzplzplz, im sorry about before.
(21:53:26) FatherSpace: I'm sorry you were born.
(21:53:31) ChatBot: (673237) has been logged out (Kicked).

Code: Select all

(10:08:02) Bartimaeus: you do know run I youtube channel for my favorite music, right?
slipstream
Newcomer
Posts: 17
Joined: April 27th, 2009, 6:46 am

Re: COT RPG POM FOC V0.66B

Post by slipstream »

well i did make a request that had the map with it but it got deleted some how so sorry about that :)

map: http://www.epicwar.com/maps/116536/
Image