It is currently Mon Dec 11, 2017 6:10 am

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: The GlobalInt-debug option
PostPosted: Sun Mar 20, 2011 11:45 am 
Offline
Forum Administrator
User avatar

Joined: Tue Sep 25, 2001 8:28 pm
Posts: 11434
Location: The Netherlands
The blue frog mode was mostly used by us developers to quickly test things and after being unlocked is mostly used by players to cheat. One of the least exciting parts of the debug menu is the global int option, which sets the value of a large amount of variables used in the game. Those variables are usually manipulated by the script and changing them usually doesn't have any immediate effects. (if any effect at all) Many of them were used to let room code blocks and global code blocks communicate with one another and others were meant to be used in combination with normal variables which cannot be manipulated by the debug menu. So changing them, for the most part, doesn't really do anything or simply causes certain parts of the game to stop functioning correctly. (though there ARE a few vars that are semi-cheats when manipulated)

The reason I'm posting them is because one of the board members was fiddling with them and asked me for a list. Since there's not gonna be another version of QFG2 planned anyhow, I figured I'd post it publically, rather than just send it over through PM/mail, so people can have fun with it if they like that kind of thing, as long as they understand we're not responsible for them breaking stuff.

I didn't bother to clarify any of the comments behind the numbers, in fact I can't even remember many of them. :)

Quote:
1 When set to 0, hero has stopped walking (used with walking arrow keys)


2 level of water in hero's waterskins
0=empty 1=Almost Empty 2=Half-full 3=Mostly full 4=Full


3 Players HERO type
1=Fighter 2=Magic User 3=Thief


4 Player imported hero into game (pressed IMPORT button)


5 Hero walking, running or sneaking
0=walk mode 1=run mode 2=sneak mode


6 Time of DAY/NIGHT
0=dawning 1=mid-morning 2=midday 3=mid-afternoon 4=Sunset 5=night is young 6=Midnight 7=Not yet dawn


7 'Everything you do hurts' message has been displayed


8 Global int for freezing day/night etc timers


9 Global int for character select screen WHICHBUTTON


10 Global int for Interface11 being switched on


11 global int for which spell is currently selected


12 global int to determine whether the hero is riding the saurus or not


13 global int to determine which NPC player is talking to if multiple NPC's are on screen


14 global int to identify the item that's being bought


15 global int to keep track of x-location in desert


16 global int to keep track of y-location in desert


17 global int to determine appearance of caged beast


18 global int to determine whether hero is in desert or not


19 global int to control Fire Elemental. 0: before arrival, 1: present, 2: defeated


20 global int to control Air Elemental. 0: before arrival, 1: present, 2: defeated


21 global int to control Earth Elemental. 0: before arrival, 1: present, 2: defeated


22 global int to control Water Elemental. 0: before arrival, 1: present, 2: defeated


23 global int to keep track of Julanar: 0: don't know about tree 1: Aziza/Harik told you, 2: got gift of sacrifice, 3: got Fruit of Compassion


24 global int to keep track of poison cure pill status. 0: none taken, 1: taken


25 global int to assist with disabling the bounce of the Force Bolt in WIT


26 global int to keep track zap status


27 global int to assist non-blocking moving


28 global int to keep track of x-ray specs status


29 global int to block mana usage/exp gain while trying to use spells


30 global int to help with levitate


31 global int to keep track of EOF initiation status


32 global int to keep track of fading during combat


33 global int to keep track of amount of times you passed the rope challenge


34 global int to determine which vision Aziza conjures


35 global int to check if sign of inn is burned or not


36 global int to keep track of Griffin status


37 x position of dead Griffin


38 y position of dead Griffin


39 can drop the katta pin now


40 Rocky's health


41 Shapeir part is over


42 Can sleep at tree


43 Knows about components


45 Looked in Omar's purse


46 Soulforge reminder var


47 Soulforge reminder var 2


48 Aziza paladin points var


49 Qualified as paladin and get 6 extra paladin points


50 assists with getting saurus back to stable


51 contains direction/loop of arrow


52 whether Force Bolt Flurry has been lost (1) or won (2)


53 Player has entered Khaveen's house

54 Debug var, monster summoned
1=scorpion, 2=brigand, 3=terrorsaurus
4=ghoul, 5=jackal, 6=jackal(2x)
7=jackal(3x), 8=jackal(4x), 9=jackal(5x), 10=Rocky, 11=nothing, 0=cancel


55 Game Clock Debug mode enabled

56 Ugarte scene finished, Zayisha scene prepared

57 Triggers Issur's arm wrestling game

58 Assists with brigands in alleyway combat transition

60 global int to store sound volume

61 global int to store music volume

62 global int to store game speed

63 global int to assist with character selection help

64 global int to assist chest system 0: normal, 1: player's inventory 2: chest's inventory

65 global int to assist bargaining responses

66 global int to assist conversations

67 global int to determine which character the player is talking to. 0: text parser only, 1: P&C or combo.

68 global int to assist with metalworker job

69 global int to assist with issur robbery job

70 global int to determine which guard you speak to

71 global int to keep track of Issur's arm wrestling status

72 global int to keep track of dispel potion knowledge 0=don't know 1=Aziza/Harik told hero about it 2=Harik has asked for ingredients 3=Harik has given the potions

73 global int to determine which NPC to tell about

74 global int to determine right answer to Aziza's test

75 determines selected alleyway map 0 = Original, 1 = Simplified

76 Determines character's alleyway location

77 Determines compass direction on screen: 0 = North, 1 = East, 2 = South, 3 = West

78 Determines current question being asked in WIT sequence

79 Determines if hero was kicked out of WIT

80 Choose a new bell in Erasmus' WIT test if game is restored

81 if Fetch has been used already in Erasmus' tests

82 keeps track of whether mirage Easter egg has been seen or not

85 Keeps track of whether Hero entered a desert screen from the top edge

86 Determines if the Hero came from a plaza screen when teleporting using the magic map (value = room number)

87 Alleyway system: 0 = normal, 1 = simple

88 Determines which character should speak in the close-up of the end ceremony

89 Determines if the hero has stopped the wind blowing in the forbidden city

90 Fire chamber var

91 Fire chamber var

92 Rope charges left

93 befriended Sharaf

94 is palace gate open or closed

95 visited Zayishah

96 Assist with Give Spells menu

97 Amount of daggers thrown in room

98 Learned Sword Dance

99 Learned Cannonball Strike

100 Learned Quadruple Slash

101 Learned Force Bolt Power up

102 Learned Flame Dart Power up

103 Assists with amount of jackalmen in escapebattle function

104 Assists with stopping walking guards when rope is being used

105 keeps track of whether the golfer has been seen or not

106 Assists with 1st thief job trapdoor

107 Assists with time/date of 1st thief job

108 Turns certain messages off permanently

109 Is hero currently casting a spell or not

110 Enemy stats are recorded from now on

111 Alleyway city block 1...16

112 Khaveen dead

113 save game GUI blocked 0 = enabled, 1 = disabled

114 Addy dead, end sequence started

115 Stable board given for free

116 if 1: not defeated Baba Yaga in QFG1

117 assists with returning reward to Rakeesh

118 whether Dinarzad told you break-in address or not

119 amount of allowed meals left at inn

120 assists with resetting monsterstatus back to 0

121 silly clowns on or off

122 kicked Simba already or not

123 talked to Simba already or not

124 heard about pin or not

125 assists with Air Elemental death

126 Zayishah's part finished

127 fought ghoul once

128 Guard caught you going for bellows

129 Can play FBF-game

130 Can play WW-game

131 Assists with GreetAndBye-function

132 Assists with X-ray-glasses being displayed in shopping GUI or not

133 Assists with message displayed on Easter egg signs

134 Assists with saurus returning home

135 Assists with annoying guards at Raseir palace

136 Assists with optional thief job

137 Has metalworkers job been done or not

138 Has Issur break-in been done or not

139 Has Wizard's Whirl been won or lost

140 Instructions for wizard's whirl given or not

141 Stores page of warrior's diary

142 Activates graffiti message

143 Stores status of alleyway brigand

144 Stores which class alleyway brigand imitates (0=fighter,1=mage,2=thief,3=all)

145 Earth given to Julanar

146 Water Elemental stops moving

147 help for saurus battle has been given

148 Water given to Julanar

149 Reversal active

150 type of opponent hp meter

151 Instructions for Force Bolt Flurry have been given or not

152 Keeps guard from reacting until the bellows has been fetched completely

153 Gave Shema flowers after dance

154 Globalint for use in room 6 (guard catching you)

155 Globalint for use in room 6 (guard catching you)

156 Globalint for keeping track of water supply in chest

157 Globalint to determine if player has typed "suck blue frog" yet

158 Makes WALK the active icon in special levitating situations (with hand/eye/walk icons available)

159 Hero escaped from Raseir jail cell

160 If Saurus is present at the Oasis

161 Keeps track of whether the hero was overloaded when he entered WIT

162 Keeps track of whether the hero ripped open the QFG2 game box

163 Helps with bypassing warning when directly tossing attack spells at patrolling guards

164 Helps with bypassing SetAlternativeTint delay bug

165 Helps with transporting back to the Blue Parrot Inn when it's time to go there

166 Helps with dropping/storing money

167 Keeps track of how you got the bellows 1: won, 2: convinced, 3: stole

168 Keeps track of whether you've seen Julanar or not

169 CoPilot: On/Off

170 CoPilot: Attack value

171 CoPilot: Defense value

172 CoPilot: Block/Dodge

173 CoPilot: Sidestep/Back

174 CoPilot: Offense/Counter

175 CoPilot: Maximum Swings

176 Owe Issur money from EOF membership

177 Gradual increase of comm/honor stat when greeting

178 Aziza's annoyance level 0=happy, 9>=PO'ed

179 Aziza asked about tea

180 Can apologize to Aziza

181 Damage meter on/off

182 message for hero needing room for spell casting disabled or not

183 helps with Sharkee Easter egg appearance

184 helps with Prince of Persia Easter egg appearance

185 helps with blocking the left sidestep in Rocky battles

186 keeps track of how many topics were discussed with Aziza

187 calls the saurus to your current location

188 stores the date on which the metal workers job was given and adds 2 days

189 stores the date on which the weaponer's job was given and adds 2 days

190 this one gets set to 1 to indicate powder tossed at ghoul outside of combat

191 saurus stays away due to you trying to injure it

192 keeps track of which alleyway merchant you're talking to

193 assists with fetching Omar's purse from the ground

194 global int to keep track which enemy is chasing hero

195 global int to keep track of number of jackalmen

196 global int to keep track of enemy maximum HP

197 global int to special sequence key presses

198 global int to determine battle speed (normal or slow)

199 global int to determine whether a battle is going on or not

200 global int to check keypresses for battle sequences

201 global int that determines difficulty. 1 is easy, 3 is hard

202 global int to guide key redefining

203 global int to block/unblock stat screen (1=blocked, 0=unblocked)

204 global int to assist with resting GUI

205 global int to block arrow keys (0 is enabled, 1 is disabled)

206 global int to check if hero is dead or not

207 global int to keep track of hero being chased or not

208 global int to assist monsters crossing over into the next screen

209 condition of leather boots

210 escaped or victory in battle

211 Can obtain ghoul head

212 Can obtain Dervish Beard

213 Can obtain Incense

214 Forbidden City part started

215 helps with magic repeater hotkey

216 helps with Dialogue Interface/Alleyway Layout options on GUI 19

217 helps with Dialogue Interface/Alleyway Layout options on GUI 19

218 helps with Dialogue Interface/Alleyway Layout options on GUI 19

219 helps with Dialogue Interface/Alleyway Layout options on GUI 19

220 helps with Dialogue Interface/Alleyway Layout options on GUI 19

221 0=Harik hasn't mentioned powder of burning 1=Harik has mentioned powder of burning

222 Message appeared in Zayisha alley screen

223 No-encounter mode on (global int 54 set to 11 permanently)

224 Prevents you from putting more than one waterskin on the plaza floor

225 Set to 1 when challenging Rakeesh on day 12

226 Allows you to reply to old man in metal worker's house

227 Keeps track of item that's currently offered in shop GUI

228 Amount of dirt you can throw

229 Amount of sand from cloth bags you can throw

230 Amount of sand from baskets you can throw

231 helps with R2D2 Easter egg appearance

232 helps with Al Emmo Easter egg appearance

233 checks if Detect has already been cast in Erasmus' pre-test

234 a random guard is talking

235 assists with Shameen and Shema at midnight switchover at inn

236 assists with talk option 1 during midnight switchover at inn

237 assists with talk option 2 during midnight switchover at inn

238 assists with Shameen and Shema at midnight switchover at inn

239 Hero has met Rakeesh

240 Triggers Elemental arriving on scene

241 Increments time after going back to room after midnight switchover

242 Gives delayed water message

243 Gives delayed food message

244 Gave beggar food or money

245 Time when ghost oil was applied

246 Ghost oil is active

247 Pizza Elemental defeated

248 Tried to pick up pizza box

249 Slices of elemental pizza left

250 guard cannot enter when climbing down from magic rope (bellows scene)

251 helps setting cursor back to interact after picking the lock of an alleyway door through the menu

252 Determines Astrologer's fortune-answer

253 alleyway names translated or not

254 auto-critical off or on

255 Aziza spoke about Julanar for the first time

256 kicked out of Aziza's house

257 Has been in Dinarzad's screen

258 If 1...set cursor back

259 Activates beast in Dervish' daily news tree

260 Are Raseir Palace Gates closed or open

261 Helps out with returning to Aziza's P&C tree

262 Lasham gave you dirt

263 Tossed dirt in Air Elemental

264 Assists with fetching Pizza

265 Keapon gave you dirt

266 Assists with maintaining tint in combat transition during mainclock0 or mainclock25

267 Also assists with maintaining tint in combat transition during mainclock0 or mainclock25

268 Again assists with maintaining tint in combat transition during mainclock0 or mainclock25

269 Makes sure you can only get honor bonus once when greeting Rakeesh

270 Got it fairly

271 Finished Combat Tutorial

272 Amount of flowers given to Shema in one sitting

273 Total amount of flowers given to Shema

274 Shameen/Shema flower chat easter egg took place

275 keeps track of whether Graham Easter egg has been seen or not

276 is 1 if player skipped Zayisha and trash mirror is triggered

281 If set to 1, auto-saves are made during every combat attack

285 Alley/Desert logging is turned on if set to 1

300 guard cannot enter when climbing down from magic rope (bellows scene)

350 EOF: Brother scorpion=1; Brother saurus=2

351 NPC's can't wander in during saurus in Gates Plaza cutscene

352 Disable TAB key inventory screen

353 WIT:Erasmus' Pretest solved

354 1=TALK clicked on SCOREE 2=TALK clicked on Sloree

355 Dinarzad reduced price of 3rd thief job info: 15=15 Dinars... 18=18 Dinars

356 Angered Ferrari

357 0=haven't got bracelet 1=bracelet tangled 2=Got Jade Bracelet from 3rd break-in house

357 Levitated from directly beneath swords in 3rd break-in house

358 Reset var for levitating below swords in 3rd break-in house

359 Gave Julanar all gifts

482 Store's spell when middle-clicking

483 Seen Dervish Beard note in Guild Hall

485 Don't run levrise code when set to 1

486 Something to do with using the waterskin

487 Set to 1 if Arrow Keys were already blocked prior to levitating/magic rope

495 cheat for unlocking battle mode without killing Pizza Elemental

497 global int for guards catching hero in Raseir fountain plaza at night

498 global int for test GUI regarding elementals

499 global int for quest in test GUI


Image


Top
 Profile  
 
 Post subject: Re: The GlobalInt-debug option
PostPosted: Sun Mar 20, 2011 6:05 pm 
Offline
Royal Vizier Status
User avatar

Joined: Thu Mar 18, 2004 6:20 am
Posts: 2047
Location: Somewhere in Ohio...
Wow. Cool stuff, Erpy.

Quote:
3 Players HERO type
1=Fighter 2=Magic User 3=Thief

I tried this one. Any value of four or higher turns you into a Paladin! Oh, the irony...

Quote:
19 global int to control Fire Elemental. 0: before arrival, 1: present, 2: defeated
20 global int to control Air Elemental. 0: before arrival, 1: present, 2: defeated
21 global int to control Earth Elemental. 0: before arrival, 1: present, 2: defeated
22 global int to control Water Elemental. 0: before arrival, 1: present, 2: defeated

This is very helpful for using the Time Warp option.

Quote:
31 global int to keep track of EOF initiation status

The one thing only a Fighter can do.

Quote:
35 global int to check if sign of inn is burned or not

Sweet; the burned sign always annoyed me.

Quote:
49 Qualified as paladin and get 6 extra paladin points

I wonder if fiddling with this is how one poster a while back claimed to have beaten the honorless flag.

Quote:
62 global int to store game speed

If only I could access this in QfG3...

Quote:
82 keeps track of whether mirage Easter egg has been seen or not
85 Keeps track of whether Hero entered a desert screen from the top edge

Interesting.

Quote:
88 Determines which character should speak in the close-up of the end ceremony

I wonder if this could force Rakeesh to present Soulforge...

Quote:
102 Learned Flame Dart Power up

And there's the Wizard-only element. Now where's the Thief's?

Quote:
105 keeps track of whether the golfer has been seen or not

Were the Desert Silly Clowns supposed to be one-time events? I seem to recall seeing the golfer more than once.

Quote:
110 Enemy stats are recorded from now on

Automatic Warrior's Diary?

Quote:
116 if 1: not defeated Baba Yaga in QFG1

I had a feeling this was in here somewhere. Pity it doesn't carry over all the way to QfG4.

Quote:
127 fought ghoul once

Huh. I thought the boots trigger was getting hit by the acid spit puddle rather than just fighting a ghoul.

Quote:
130 Can play WW-game

Hmmm. A bit more fair than just activating the charged Flame Dart.

Quote:
143 Stores status of alleyway brigand

Ah, there you are, Broomie. :p

Quote:
157 Globalint to determine if player has typed "suck blue frog" yet

Heh-heh-heh.

Quote:
162 Keeps track of whether the hero ripped open the QFG2 game box

In other words, who's a mint-condition collector and who's not. :lol

Quote:
176 Owe Issur money from EOF membership

I'm not paying that jerk if I can avoid it.

Quote:
190 this one gets set to 1 to indicate powder tossed at ghoul outside of combat

<blinks> Powder of Burning used on a ghoul? Why didn't I ever think of that? Gotta try it...

Quote:
206 global int to check if hero is dead or not

I'm reminded of someone who made an edited screenshot to make the hero look like a zombie...

Quote:
226 Allows you to reply to old man in metal worker's house

Heh-heh-heh.

Quote:
230 Amount of sand from baskets you can throw

It's a pity there are never any freebies from Saba (or Toshur, for that matter).

Quote:
245 Time when ghost oil was applied
246 Ghost oil is active

Ghost oil, undead unguent, same difference.

Quote:
249 Slices of elemental pizza left

At last! I can get the eight-slice large pizza I ordered! :D

Quote:
262 Lasham gave you dirt
265 Keapon gave you dirt

I wonder how connected these two are, as I remember getting a message about Lasham already giving you earth after getting some from Keapon instead.

Quote:
270 Got it fairly

It?

Quote:
274 Shameen/Shema flower chat easter egg took place

Heh-heh-heh.

Quote:
276 is 1 if player skipped Zayisha and trash mirror is triggered

Interesting...

Quote:
355 Dinarzad reduced price of 3rd thief job info: 15=15 Dinars... 18=18 Dinars

How low can she go?

Quote:
357 0=haven't got bracelet 1=bracelet tangled 2=Got Jade Bracelet from 3rd break-in house
357 Levitated from directly beneath swords in 3rd break-in house

Um...which is it?

Quote:
495 cheat for unlocking battle mode without killing Pizza Elemental

Heh-heh-heh.

_________________
There is balance in all things. Live in symmetry with the world around you. If you must blow things up and steal from those around you, THAT'S WHAT RPGS ARE FOR!

Official Member of the VGL Street Team
Image


Top
 Profile  
 
 Post subject: Re: The GlobalInt-debug option
PostPosted: Sun Mar 20, 2011 7:37 pm 
Offline
Forum Administrator
User avatar

Joined: Tue Sep 25, 2001 8:28 pm
Posts: 11434
Location: The Netherlands
Some of them were added, then became obselate but were never removed. Stats used to be recorded for monsters only after the diary was found. This was changed later.

About the trash mirror, we implemented a safety net based on a question from a beta tester asking if the hero waited around Raseir until it was night and then got arrested without ever seeing Zayisha, if the game would get into a dead end situation. So we made it so a damaged (but still functional) mirror could be taken from the trash pile in the alleyway screen with the exit of the secret passageway from the dungeons if Zayisha's mirror was missed. However, the question turned out to be a hypothetical one and we forgot at that point that time is frozen (globalint 8 is set to 1) between Ugarte's arrest and Zayisha's encounter, so this scenario can't be reached. (unless you unfreeze time with the debug mode)

Image


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

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:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group