Author Topic: PQAGI Demo!!!  (Read 11046 times)

0 Members and 2 Guests are viewing this topic.

Offline Nick Sonneveld

Re:PQAGI Demo!!!
« Reply #30 on: November 27, 2002, 12:03:19 AM »
after looking at some your spelling smg.. I don't think you have a right to pick on other people's spelling anyway.

- Nick
Nick Sonneveld  |  AGI Dev  |  NAGI

Offline Patrick

Re:PQAGI Demo!!!
« Reply #31 on: November 27, 2002, 06:41:26 AM »
oh ok.

Nick...i was just asking him if he knew the rule  ::)


Offline SGreenslade

Re:PQAGI Demo!!!
« Reply #32 on: November 29, 2002, 05:40:51 PM »
Pretty nice so far for a demo. Hey I get a message after getting the apple that tells me to get closer.
Insert your favorite expletive here

Offline Patrick

Re:PQAGI Demo!!!
« Reply #33 on: November 29, 2002, 10:12:07 PM »
i corrected it...although...after i give it to the girl i found if i type get apple...it comes up with a message...how do i get it to not?


Offline SGreenslade

Re:PQAGI Demo!!!
« Reply #34 on: December 03, 2002, 09:36:51 PM »
must have a conflict somewhere with your flags...
Insert your favorite expletive here

Offline Patrick

Re:PQAGI Demo!!!
« Reply #35 on: December 04, 2002, 03:06:38 PM »
doubt it... the only place that i really use flags in the game is in the swordsman's place and in the tree's place...i just copied and pasted for the doors...i really JUST now actually understand them... ::)


Offline Andrew_Baker

Re:PQAGI Demo!!!
« Reply #36 on: December 04, 2002, 04:52:05 PM »
Then that's your conflict...  for instance, the apple.  I can pick it up again and get points from it after I've given it to the girl, because you didn't set a flag telling the interpreter that the apple was no longer available.
I hope you realize that one day I will devour the Earth.

Offline Patrick

Re:PQAGI Demo!!!
« Reply #37 on: December 04, 2002, 09:19:24 PM »
OK then, i would do something like this..(please correct me if i am wrong)

If(said("Get","Apple") {
If(isset(f104)) {
 ...
code for NOT GETTING APPLE?
}
Else
Code for getting Apple THEN set f104
....
return();

am i remotely right?


Offline Nick Sonneveld

Re:PQAGI Demo!!!
« Reply #38 on: December 04, 2002, 09:55:00 PM »
ideally, you would check the said option LAST.  cause once it matches, you have to do some tricky stuff to make further stuff.  (that's why you have that "I don't understand what you said" last)

so  if (flag)
{
if (said(...))
{
}
}

that way, the template code will still catch it if the flag isn't
set.

- Nick
Nick Sonneveld  |  AGI Dev  |  NAGI

Offline Nick Sonneveld

Re:PQAGI Demo!!!
« Reply #39 on: December 05, 2002, 03:01:35 PM »
btw smg.. there's something wrong with the code in your defines.txt (my compiler barfed on it) :)

you use controllers like c101 and c108.  These don't exist.  AGI only allows for controllers 0-39. (or -49.. I have to check.. but go with -39).  Use anything else and you're asking for it.

It *may* help with your crashing problem.

- Nick
Nick Sonneveld  |  AGI Dev  |  NAGI

Offline Patrick

Re:PQAGI Demo!!!
« Reply #40 on: December 05, 2002, 03:06:07 PM »
well...i really dont use the Sierra interpreter...i use the one that you made...NAGI...maybe the people should jsut use thout one...but ok


Offline HWM

Re:PQAGI Demo!!!
« Reply #41 on: December 05, 2002, 05:36:09 PM »
People, the whole 'bug' is a result of the fact that  Smartguy packed it with an 2.272 interpreter... Which doesn't recognize command 161 and thus 'crashes'.

Offline Patrick

Re:PQAGI Demo!!!
« Reply #42 on: December 05, 2002, 06:01:25 PM »
161..that is it! I always got that before...i asked about it...and i was directed to the best intrepeter ever...NAGI



SMF 2.0.19 | SMF © 2021, Simple Machines
Simple Audio Video Embedder

Page created in 0.056 seconds with 21 queries.