can someone help me with a anti single player trigger(s)

General talk about editing, cheating, and deprotecting maps.

Moderator: Cheaters

User avatar
xxxlord
Senior Member
Posts: 116
Joined: October 14th, 2007, 6:52 pm
Title: more godlikethen you

can someone help me with a anti single player trigger(s)

Post by xxxlord »

ok well im trying to turn off the anti SP in TBR 1.33 i know its already been hacked i just want to hack the SP in this so it gives you a trigger that calls custom defeat witch i found cause it says ingame "not enough players"
Spoiler:
function zpx takes nothing returns nothing
call CustomDefeatBJ(GetEnumPlayer(),"Not Enough Players")
endfunction
so A do i delete it or B leave it alone and find the player counter with the slote >.> well i tried finding the player slot

i found what i think to be it not sure
Spoiler:
loop
exitwhen vgo>=12
if(GetPlayerController(Player(vgo))==MAP_CONTROL_USER and GetPlayerSlotState(Player(vgo))==PLAYER_SLOT_STATE_PLAYING)then
set vGo=vGo+1
endif
set vgo=vgo+1
endloop
i cant give the whole function cause its a half a mile long anyways what i think is the player counter is the vGo=vGO+1 so i tried editing the vGo=vGo+1 to vGo=vGo+2 it still does not work it says not enough players so what would i be doing wrong


EDIT: i found something strange looking for playerchatevent and i found
Spoiler:
call TriggerRegisterPlayerChatEvent(Cj,Player(0),"-cheats",false)
call TriggerRegisterPlayerChatEvent(Cj,Player(1),"-cheats",false)
call TriggerRegisterPlayerChatEvent(Cj,Player(2),"-cheats",false)
call TriggerRegisterPlayerChatEvent(Cj,Player(3),"-cheats",false)
call TriggerRegisterPlayerChatEvent(Cj,Player(4),"-cheats",false)
call TriggerRegisterPlayerChatEvent(Cj,Player(5),"-cheats",false)
call TriggerRegisterPlayerChatEvent(Cj,Player(6),"-cheats",false)
call TriggerRegisterPlayerChatEvent(Cj,Player(7),"-cheats",false)
is that part of a admin cheat system or is it something that kicks you when you type -cheats nvm i followed the trigger path and found a custom defeat trigger so if you hack this map don't use the activator -cheats
Spoiler:
function Jwe takes nothing returns nothing
call CustomDefeatBJ(GetTriggerPlayer(),"Fucking CHEATER!!! Go take a bath in acid and light yourself on fire you small dick motherfucker.")
set io=NT(GetTriggerPlayer())
call ForGroupBJ(io,function JUe)
set N=(N-10)
call QuestMessageBJ(bj_FORCE_ALL_PLAYERS,1,("Hero xp gain reduced to "+("|cffff0000"+(I2S(N)+"|r%."))))
endfunction
man the guy that made TBR is kinda violent aint he lawl so searching for playerchatevent is your friend and then tracing the trigger it calls or the triggeraddaction it does :D
Last edited by xxxlord on March 7th, 2008, 8:31 pm, edited 1 time in total.
95% Percent of teens would have a breakdown if Hannah Montana was standing on the edge of a tower, ready to jump. Copy and paste this if you're part of the 5% yelling "Jump, Bitch!!!
User avatar
JJ2197
Legendary Genius
Posts: 1311
Joined: August 8th, 2007, 8:10 am
Title: Legendary Genius²
Location: St. George Utah

Re: can someone help me with a anti single player trigger(s)

Post by JJ2197 »

Try looking for PLAYER_SLOT_STATE_PLAYING instead of MAP_CONTROL_USER

and the vgo is just changing the palyer() number the other is seeing how many there are...
Computer Specs:
Motherboard: GA-990FXA-UD3
CPU: FX-8350 @ 4.0GHz
PSU: Corsair CX500
RAM: G.Skill Ripjaws X 8GB @ 1866
GPU: Radeon HD 4870 1GB
HDD: OCZ Vertex series 30GB SSD
Case: Antec 900
Monitor: Toshiba 32"
OS: Windows 7 Ultimate
User avatar
xxxlord
Senior Member
Posts: 116
Joined: October 14th, 2007, 6:52 pm
Title: more godlikethen you

Re: can someone help me with a anti single player trigger(s)

Post by xxxlord »

there are a lot of those i dunno witch to edit T_T

is this it
Spoiler:
function YT takes nothing returns boolean
return(GetPlayerController(Player(-1+(bj_forLoopAIndex)))==MAP_CONTROL_USER)and(GetPlayerSlotState(Player(-1+(bj_forLoopAIndex)))==PLAYER_SLOT_STATE_PLAYING)
endfunction


this?
Spoiler:
function OOv takes nothing returns boolean
return(Ev[bj_forLoopAIndex]!=null)and(sv[bj_forLoopAIndex])and(GetPlayerSlotState(Player(-1+(bj_forLoopAIndex)))==PLAYER_SLOT_STATE_PLAYING)
endfunction

this?

Spoiler:
function Ntv takes nothing returns boolean
return(GetPlayerController(Player(-1+(bj_forLoopAIndex)))==MAP_CONTROL_USER)and(GetPlayerSlotState(Player(-1+(bj_forLoopAIndex)))==PLAYER_SLOT_STATE_PLAYING)and(Ev[bj_forLoopAIndex]!=null)
endfunction
this?

Spoiler:
function Ntv takes nothing returns boolean
return(GetPlayerController(Player(-1+(bj_forLoopAIndex)))==MAP_CONTROL_USER)and(GetPlayerSlotState(Player(-1+(bj_forLoopAIndex)))==PLAYER_SLOT_STATE_PLAYING)and(Ev[bj_forLoopAIndex]!=null)
endfunction
there are more after that there are so many what do i do just edit the playercounter(player-1+ to -2+ or +2 or what?
Last edited by xxxlord on March 7th, 2008, 11:33 pm, edited 1 time in total.
95% Percent of teens would have a breakdown if Hannah Montana was standing on the edge of a tower, ready to jump. Copy and paste this if you're part of the 5% yelling "Jump, Bitch!!!
User avatar
JJ2197
Legendary Genius
Posts: 1311
Joined: August 8th, 2007, 8:10 am
Title: Legendary Genius²
Location: St. George Utah

Re: can someone help me with a anti single player trigger(s)

Post by JJ2197 »

Look for ones that end up disabling the save trigger or kicking you...
Computer Specs:
Motherboard: GA-990FXA-UD3
CPU: FX-8350 @ 4.0GHz
PSU: Corsair CX500
RAM: G.Skill Ripjaws X 8GB @ 1866
GPU: Radeon HD 4870 1GB
HDD: OCZ Vertex series 30GB SSD
Case: Antec 900
Monitor: Toshiba 32"
OS: Windows 7 Ultimate
User avatar
xxxlord
Senior Member
Posts: 116
Joined: October 14th, 2007, 6:52 pm
Title: more godlikethen you

Re: can someone help me with a anti single player trigger(s)

Post by xxxlord »

i found the 2 that call the action to custom defeat you but cant find the dis able save trigger JJ do me a fav and get on chat please
95% Percent of teens would have a breakdown if Hannah Montana was standing on the edge of a tower, ready to jump. Copy and paste this if you're part of the 5% yelling "Jump, Bitch!!!