NOTD AFTERMATH 1.5c having problem finding a trigger

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

NOTD AFTERMATH 1.5c having problem finding a trigger

Post by xxxlord »

well ok i hacked NOTD aftermath with a cheat pack now i have a problem there is no anti SP it allows you to save load and play in SP but this is where the trouble begins see you need at least 6 people in the game to get medals you cant do it in SP by your self so my problem is i need to find the trigger that says you need at least 6 people in the game to get the medal and or find the triggers in jass and make the game think there is 5 people +me in the game now im not great at jass and i am kinda noobish but could someone tell me what i should search for to find the triggers to make it think there is more 5 or more people in the game xantan wont tell me he is being lazy what els is new lolz anyways thank you if you could this would really help :)






Spoiler:
function I8V takes nothing returns nothing
local integer i=1
local integer I9V=0
set VE[1]="|cffff0000"
set VE[2]="|cff0000ff"
set VE[3]="|cff00ffff"
set VE[4]="|cff551a8b"
set VE[5]="|cffffff00"
set VE[6]="|cffffa500"
set VE[7]="|cff008b00"
set VE[8]="|cffda70d6"
set VE[9]="|cff696969"
set VE[11]="|cff4682b4"
loop
exitwhen i>12
if GetPlayerSlotState(Player(i-1))==PLAYER_SLOT_STATE_PLAYING and GetPlayerController(Player(i-1))==MAP_CONTROL_USER then
set G=G+1
set EV[G]=i
call D4("PNames",i,GetPlayerName(Player(-1+(i))))
endif
set i=i+1
endloop
set AV=G
call SetPlayerHandicap(Player(13),.7+I2R(AV)*.01)
call SetPlayerHandicap(Player(14),.7+I2R(AV)*.01)
if G>5 then
set SR=5
call SetPlayerHandicap(Player(13),GetPlayerHandicap(Player(13))+(.01*(G-5)))
call SetPlayerHandicap(Player(14),GetPlayerHandicap(Player(14))+(.01*(G-5)))
else
set SR=G
endif
set i=1
loop
exitwhen I9V==1
set I9V=1
set i=1
loop
exitwhen i>=G
if D[EV]<D[EV[i+1]]then
call XOV(i,i+1)
set I9V=0
endif
set i=i+1
endloop
endloop
endfunction



xantan says the G=G in there is what i need to edit set it to G=G+7 but hes stoned and i don't know if he is sure and hell he does not evin know hes sure so if someone could tell me that would be nice



EDIT: well i gots a problem i edited the G=G+1 to a G=G+7 and well when ever i try to load it in bnet and play alone it fatal's right after load is done when i try to play it on SP just SP with out bnet it loads but hacks wont turn on BTW i used JJ's new pack to hack da map
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
weirdone2
Forum Staff
Posts: 926
Joined: June 3rd, 2007, 8:03 pm

Re: NOTD AFTERMATH 1.5c having problem finding a trigger

Post by weirdone2 »

I don't see why it would crash from just changing g=g+1 to g=g+7, did you add more then just that?
User avatar
Aero
Forum Staff
Posts: 829
Joined: January 28th, 2007, 8:10 pm
Title: JASS Programmer
Location: Canada

Re: NOTD AFTERMATH 1.5c having problem finding a trigger

Post by Aero »

Yes, doing that will make it crash horribly.

Just change this:
if GetPlayerSlotState(Player(i-1))==PLAYER_SLOT_STATE_PLAYING and GetPlayerController(Player(i-1))==MAP_CONTROL_USER then

to this:
if GetPlayerSlotState(Player(i-1))==PLAYER_SLOT_STATE_PLAYING then

And throw in some computer players.
User avatar
xxxlord
Senior Member
Posts: 116
Joined: October 14th, 2007, 6:52 pm
Title: more godlikethen you

Re: NOTD AFTERMATH 1.5c having problem finding a trigger

Post by xxxlord »

question do you mean comp players like = when you host the game change 6 of the slots to computer easy or what ever or do you mean do it in jass in some way if it is jass please tell me how i would do it aero please


edit:i tried adding computer(easy) to the game and to see if i could get the players that way well i got a problem when ever there are 1 or 2 players there are either 1 or 2 NPC marines in town well after i added the computer(easy) and edited the trigger you told me to edit in jass well the marines are still there
Spoiler:
Image

So my question is does the game think there are more players but the trigger that adds marines just doesn't change when you edit the the PLAYER_SLOT_STATE_PLAYING trigger?




EDIT: well i got it to work but sorry to ask for to much i need it to think theres more then 6 i filled all the slots with comp players and it only has 1 extra one join the game so um what do i do to get 6?
Last edited by xxxlord on March 17th, 2008, 5:23 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
Aero
Forum Staff
Posts: 829
Joined: January 28th, 2007, 8:10 pm
Title: JASS Programmer
Location: Canada

Re: NOTD AFTERMATH 1.5c having problem finding a trigger

Post by Aero »

Just add 1 computer player.
ie: change a slot to Computer (Easy) before pressing Create Game
User avatar
weirdone2
Forum Staff
Posts: 926
Joined: June 3rd, 2007, 8:03 pm

Re: NOTD AFTERMATH 1.5c having problem finding a trigger

Post by weirdone2 »

Did i assume to quickly. Though I don't see where it crashes at. :S O well it looks more like EV mite be what to trick anyway. o.0
User avatar
xxxlord
Senior Member
Posts: 116
Joined: October 14th, 2007, 6:52 pm
Title: more godlikethen you

Re: NOTD AFTERMATH 1.5c having problem finding a trigger

Post by xxxlord »

no i know that aero but i added more then one computer easy and only got 1 i need at least 5 others of dem
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!!!