Can anyone help me with this? =/

General talk about editing, cheating, and deprotecting maps.

Moderator: Cheaters

bojanglemistser
Old Wrinkly Member
Posts: 238
Joined: March 2nd, 2007, 5:52 pm
Location: USA

Can anyone help me with this? =/

Post by bojanglemistser »

this is what i believe is the trigger that makes it so you cant play alone in RAGOS Orpg if it is what do i need to change to make it so u cant play in singleplayer

im able to read jass a little bit but this doesnt make much sense to me =/

function Trig_video_Actions takes nothing returns nothing
call ShowInterfaceForceOff(GetPlayersAll(),0.00)
call SetUserControlForceOff(GetPlayersAll())
call TransmissionFromUnitTypeWithNameBJ(GetPlayersAll(),Player(0),'nmed',"Advicer:",GetRectCenter(GetPlayableMapRect()),null," If you play the first time: Read the questlog!",bj_TIMETYPE_SET,8.00,false)
call PlaySoundBJ(gg_snd_NewTournament)
call TriggerSleepAction(6.50)
call TransmissionFromUnitTypeWithNameBJ(GetPlayersAll(),Player(0),'nmed',"Advicer:",GetRectCenter(GetPlayableMapRect()),null,"Player1 (Red) can turn on/off the PvP (Player versus Player)!",bj_TIMETYPE_SET,6.50,false)
call TriggerSleepAction(6.50)
call TransmissionFromUnitTypeWithNameBJ(GetPlayersAll(),Player(0),'nmed',"Advicer:",GetRectCenter(GetPlayableMapRect()),null,"There are 7 extra maps where you can load your heroes. They are called: |cffff0000Ahn'Quiraj|r, |cffff0000The Frozen Throne|r, |cffff0000Onyxia's Lair|r, |cffff0000Zul'Kunda|r, |cffff0000Illidan's Last Bastion|r, |cffff0000Ironforge|r and |cffff0000Battlegrounds|r.",bj_TIMETYPE_SET,8.00,false)
call TriggerSleepAction(8.00)
call SetUserControlForceOn(GetPlayersAll())
call ShowInterfaceForceOn(GetPlayersAll(),1.00)
call ResumeMusicBJ()
call SelectUnitForPlayerSingle(gg_unit_hwtw_0000,Player(0))
call SelectUnitForPlayerSingle(gg_unit_hwtw_0109,Player(1))
call SelectUnitForPlayerSingle(gg_unit_hwtw_0006,Player(2))
call SelectUnitForPlayerSingle(gg_unit_hwtw_0242,Player(3))
call SelectUnitForPlayerSingle(gg_unit_hwtw_0243,Player(4))
call SelectUnitForPlayerSingle(gg_unit_hwtw_0019,Player(5))
call SelectUnitForPlayerSingle(gg_unit_hwtw_0018,Player(6))
call SelectUnitForPlayerSingle(gg_unit_hwtw_0021,Player(7))
call SelectUnitForPlayerSingle(gg_unit_hwtw_0022,Player(8))
call SelectUnitForPlayerSingle(gg_unit_hwtw_0037,Player(9))
if (Trig_video_Func023C()) then
call DisableTrigger(gg_trg_testensaveNEU)
call DisableTrigger(gg_trg_savehorseNEU)
call DisplayTextToForce(GetPlayersAll(),"|cffff0000You can't save your hero because you play alone!!!")
else
endif
endfunction

anyone know what to change to make this single player?
when life gives you lemons you use the lemon juice to squirt people in their eyes
User avatar
Aero
Forum Staff
Posts: 829
Joined: January 28th, 2007, 8:10 pm
Title: JASS Programmer
Location: Canada

Re: Can anyone help me with this? =/

Post by Aero »

Easy
bojanglemistser wrote:this is what i believe is the trigger that makes it so you cant play alone in RAGOS Orpg if it is what do i need to change to make it so u cant play in singleplayer

im able to read jass a little bit but this doesnt make much sense to me =/

function Trig_video_Actions takes nothing returns nothing
call ShowInterfaceForceOff(GetPlayersAll(),0.00)
call SetUserControlForceOff(GetPlayersAll())
call TransmissionFromUnitTypeWithNameBJ(GetPlayersAll(),Player(0),'nmed',"Advicer:",GetRectCenter(GetPlayableMapRect()),null," If you play the first time: Read the questlog!",bj_TIMETYPE_SET,8.00,false)
call PlaySoundBJ(gg_snd_NewTournament)
call TriggerSleepAction(6.50)
call TransmissionFromUnitTypeWithNameBJ(GetPlayersAll(),Player(0),'nmed',"Advicer:",GetRectCenter(GetPlayableMapRect()),null,"Player1 (Red) can turn on/off the PvP (Player versus Player)!",bj_TIMETYPE_SET,6.50,false)
call TriggerSleepAction(6.50)
call TransmissionFromUnitTypeWithNameBJ(GetPlayersAll(),Player(0),'nmed',"Advicer:",GetRectCenter(GetPlayableMapRect()),null,"There are 7 extra maps where you can load your heroes. They are called: |cffff0000Ahn'Quiraj|r, |cffff0000The Frozen Throne|r, |cffff0000Onyxia's Lair|r, |cffff0000Zul'Kunda|r, |cffff0000Illidan's Last Bastion|r, |cffff0000Ironforge|r and |cffff0000Battlegrounds|r.",bj_TIMETYPE_SET,8.00,false)
call TriggerSleepAction(8.00)
call SetUserControlForceOn(GetPlayersAll())
call ShowInterfaceForceOn(GetPlayersAll(),1.00)
call ResumeMusicBJ()
call SelectUnitForPlayerSingle(gg_unit_hwtw_0000,Player(0))
call SelectUnitForPlayerSingle(gg_unit_hwtw_0109,Player(1))
call SelectUnitForPlayerSingle(gg_unit_hwtw_0006,Player(2))
call SelectUnitForPlayerSingle(gg_unit_hwtw_0242,Player(3))
call SelectUnitForPlayerSingle(gg_unit_hwtw_0243,Player(4))
call SelectUnitForPlayerSingle(gg_unit_hwtw_0019,Player(5))
call SelectUnitForPlayerSingle(gg_unit_hwtw_0018,Player(6))
call SelectUnitForPlayerSingle(gg_unit_hwtw_0021,Player(7))
call SelectUnitForPlayerSingle(gg_unit_hwtw_0022,Player(8))
call SelectUnitForPlayerSingle(gg_unit_hwtw_0037,Player(9))
if (Trig_video_Func023C()) then
call DisableTrigger(gg_trg_testensaveNEU)
call DisableTrigger(gg_trg_savehorseNEU)
call DisplayTextToForce(GetPlayersAll(),"|cffff0000You can't save your hero because you play alone!!!")
else
endif
endfunction

anyone know what to change to make this single player?
Go to "function Trig_video_Func023C takes nothing returns boolean"

Change it to this

Code: Select all

function Trig_video_Func023C takes nothing returns boolean
return false
endfunction
"Prendre garde du bojanglemister ou il pourrait juste probablement faire ces ponys apparaître dans votre maison"...Nice sig...I speak French btw

It's not quite right though...What were you trying to say so I can give a better translation
bojanglemistser
Old Wrinkly Member
Posts: 238
Joined: March 2nd, 2007, 5:52 pm
Location: USA

Post by bojanglemistser »

Lol its supposed to mean somtin stupid i used google to translate it

ttp://www.google.com/language_tools

this is what shows up when u do french to english with it but this is also wrong =/
To take guard of the bojanglemister or it could just probably reveal these ponys in your house

Edit:By the way Thank you for showing me how to do this so i can add singleplayer to my ragos and post it here for the ppl who want it

its version 5.05
when life gives you lemons you use the lemon juice to squirt people in their eyes
wsensor
Newcomer
Posts: 8
Joined: February 26th, 2007, 10:30 pm

Post by wsensor »

I was messing around with a map with a script like that... but all i did was put // infront of the call disable things... it worked for me ... only problem if i load too many times it seems to crash hehehe... imacheatdummy XD

my new passtime is everytime i get a new map of an old one i thought i already have i look for player_state_resource XD if i find something that modifies gold or anything with a command i then look around till i find all the cheats XD it gives me something to do while waiting for the map to start...
m e o w
bojanglemistser
Old Wrinkly Member
Posts: 238
Joined: March 2nd, 2007, 5:52 pm
Location: USA

Post by bojanglemistser »

wsensor wrote:I was messing around with a map with a script like that... but all i did was put // infront of the call disable things... it worked for me ... only problem if i load too many times it seems to crash hehehe... imacheatdummy XD

my new passtime is everytime i get a new map of an old one i thought i already have i look for player_state_resource XD if i find something that modifies gold or anything with a command i then look around till i find all the cheats XD it gives me something to do while waiting for the map to start...
Aero already helped me with this xD
when life gives you lemons you use the lemon juice to squirt people in their eyes