Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - Leon

#1061
Hints & Tips / Re: RON: Edge of Reality
Mon 09/02/2009 20:10:30
Not sure which wall you mean...
Spoiler
Use the sticky pole on the hole in the passage at the bottom of the screen. Tricky, because the pole is longer than the screen is high.... But it eventually should result in a key.
[close]
#1062
Hints & Tips / Re: RON: Edge of Reality
Mon 02/02/2009 08:52:44
Two things:

Spoiler
1: The mime on the gallow has some interesting stuff for you.
2: Elandra has something too that you need. But becareful what you say (save before you talk). One wrong sentence and she won't give it. If you'd like to know what to say, let me know. If you already talked to her, I'm afraid you have to restart/restore.
[close]
#1063
The problem with the bird is the time you need to jump in the air. So you have to jumpo earlier than when the bird reaches it's lowest point. I must say, a very difficult point in the game indeed. Here's how I solved it:

Spoiler
Go to the center of the screen where two small rocks are on the ground. Use the hand cursor over the opening of the cave and when the bird is coming down, click to jump to grab it’s paws and when done right, the bird will take you for a flight.
[close]
#1064
Hints & Tips / Re: Norbi Winter Special help
Sat 31/01/2009 08:25:20
If you just hold on untill this afternoon, I'll post the translated solution for you... I have to play it first so..

Here you can find the English version. I must say that the Dutch one had some issues missing so... if you use this one, you can't go wrong ;-)

If you just want an answer for a certain problem in the game, and not read the complete solutiuon, just ask and we'll solve only that one.
#1065
That's because 'warrent' is unknown to the computer. Type in 'warrant' (with an A) or 'search warrant' and you'll get a response.
#1066
Well, then you haven't been to the right place;D
#1067
Yep I did,

Spoiler
When you get the alien. but don't erase the tape or when you get the alien but erase the tape too early.
[close]
#1068
Well, actually there was one.... sort of.. It was in my drafts folder because I couldn't get Ray to be kidnapped. Now I've seen your solution, I finished mine and put it along with the rest. Thanks for that last push...  :)
#1069
Hints & Tips / Re: Barn Dilemma Help
Mon 26/01/2009 19:39:06
The parts I gave you were from the walkthrough;D

I only know of one major flaw in this game (as mentioned in the walkthrough).
#1070
@buloght:

Spoiler
'Administer' the virus.. This is done through the atmosphere.
[close]
#1071
Playing multiple times has its (dis)advantages: found another minor thingie....

Spoiler
During the intro Annie is talking to messagebot. Then she says:
I don't think I will ever understand you Bots, mailbot.
[close]
#1072
Great game! Congratulations with another fine release.

When I use the plant in my house:
Spoiler
This plant serves no purpose save for pure decoration.
[close]
Is it me or a typo? (rethorical: me of course)
#1073
Hints & Tips / Re: Barn Dilemma Help
Sun 25/01/2009 11:00:36
So when there's light...
Spoiler
Move the clamp standing on the box to discover the WIRE under it.
Spoiler
[close]
[close]
#1074
Hints & Tips / Re: Barn Dilemma Help
Sun 25/01/2009 01:52:52
You don't mix the air with the light potion. You apply the potion 'to air'.

Spoiler
Take the ingredients needed (or take them all) and use them in order on the pot standing on the stove in the middle. When done you should have one bottle with ALCOHOL and one with a POTION.

Leave the kitchen on the right and use the rope to climb into the attic. Use the bottle with weird stuff to put it on the ground. Open the bottle to add air and then use the bottle with alocohol on the potion on the floor to create light.
[close]
#1075
Oh, I triumphed alright. It was just that you were a few minutes too early  ;D

I must say it didn't go as easy as many of the recent releases so, good job!

Found a typo:
Spoiler
while using the litmus paper on the can: I'll put a feww drops --> few.
[close]
#1076
Congratulations with this release! Let's see what I can mess up...  :)
#1077
A permit is easilly obtained....
Spoiler
... by going to the inn. The drunk at the table has something in his pocket.
[close]
As for the rest:
Spoiler
- Don't worry about the drink, that's much later..
- Dito for the undertown. You'll know when you're ready.
- There won't be anyone in the harbour so you can stop looking there.
[close]
Other suggestions:
Spoiler
Help the beggar on the avenue. Somehow he is the key to everything else...
[close]
#1078
Man, if all was that simple... thnx! Worked like a charm (after tweaking the output).

The string.format together with a GUI is what I use at the moment for debugging but it's sometimes too fast. That's why the file comes in handy.

Thnx again.

#1079
Thanks for the answers.
I realised the way of thinking too late. Why close what can't be opened in  the first place?  :)

It still doesn't work. But another error though: Error: Null Pointer Referenced (on the line with >>)

I try to write the contents of a 6x6 grid to file, so I get 6 chars on 6 lines:
The complete code:

Code: ags

    int aa = 1;
    int bb = 1;
    String myStr;
    File* myoutput = File.Open("grid.txt", eFileAppend);
    if (myoutput == null) {
      Display("Error opening file.");
    }
    else {
      while (aa < 7) {
        while (bb < 7) {
>>        myStr = myStr.Append(String.Format("%d",GetGrid(aa, bb)));
          bb++;
          myoutput.WriteRawLine(myStr);
        }
        bb = 1;
        myStr = "";
        aa++;
      }
    myoutput.WriteRawLine(myStr);
    myoutput.Close();     
    }


Two more questions about this.

-When a file doesn't exist and you use eFileAppend, is the file created? Or should I do a File.Exist first then?
-Does it matter where this function resides? At the moment it's in the room script. I tried it in the global with an import in the room script with the same result.

[edit]

When I come to think of this... why this whole exercise... Is there a way to see the value of variables at runtime? In VisualStudio you have the Watch-option to see them at breakpoint and 'play' with them. Is anything similar in AGS possible?
#1080
For simple debugging purposes, I'm trying to write certain stats to a file. But each time I do, I get an error message. My code (actually to test) straight from the manual:

Code: ags

function Log_Grid()
{
   File *output = File.Open("c:\temp.tmp", eFileWrite);
   if (output == null)
      Display("Error opening file.");
   else {
      output.WriteString("test string");
      output.Close();
   }
}


Now all I get is error opening file, no matter what I try. What can be wrong?

Two remarks on this piece of code:

1: Shouldn't the output.Close(); be moved one bracket down? In this example the file gets opened, if nothing is written to it, it stays open.
2: Why aren't there brackets after the first if?

In my opinion, the code should look like:

Code: ags

function Log_Grid()
{
   File *output = File.Open("c:\temp.tmp", eFileWrite);
   if (output == null) {
      Display("Error opening file.");
   }
   else {
      output.WriteString("test string");
   }
   output.Close();
}


But also that doesn't work (Error opening file...)
If anyone could guide me to the correct solution..

SMF spam blocked by CleanTalk