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 - Chrille

#181
The Rumpus Room / Re: *Guess the Movie Title*
Sun 01/01/2012 17:13:27


#182
The Rumpus Room / Re: *Guess the Movie Title*
Sun 01/01/2012 15:49:13
It's 'The Car' !
#183
Is it possible to reach a dead end in this version?
#184
Hints & Tips / Vohaul Strikes Back!
Tue 27/12/2011 19:31:05
Quote from: pcj on Mon 26/12/2011 20:35:11
Quote from: agentbauer on Mon 26/12/2011 20:33:54
Yes I know, but can't find anything.
He doesn't want the bucket...

Spoiler
Try looking for an umbrella.
[close]

I can't find one, it's not the parasol I take it? :/
#185
I can't believe I missed that File.Delete function and the fact that you can create folders using the SetSaveGameDirectory function means that I already have what I need. Thanks a bunch!

EDIT: Actually, it seems you can't save all files in the created save game dir, like for example Sprite.SaveToFile ("$MYDOCS$/MyGame/sprite.bmp");. Meaning I'd have to save the in the gamedir subdirectory, which would cause problems in recent versions of Windows. Boo :/
#186
Ah, right. Yeah that'd be best I guess.
#187
Ah, hadn't considered the security risks. Perhaps it could be limited to dealing with files in the .exe directory or its sub-folders?
#188
I miss the ability to manage files from within AGS, such as creating & deleting folders and renaming, copying & deleting files. Would it be hard to write a module or to implement this directly into AGS?
#189
I'd love to go to San Francisco or close by. I'd go there for a few days extra to follow the paths in Hitchcock's Vertigo and especially one of my favourite games, Manhunter: San Francisco. At this point though I fear that for the first time since the tradition of Mittens began I'd be unable to due to cash limitations.
#190
Ah I can't wait to see last year's BJ finished! I'm currently living in Berlin btw so if any of you guys are ever in town let me know!
#191
Excellent photos, CJ. Looks like you guys had fun as always, really sad to have missed this year.
#192
Can't make it this year as I'm busy moving at the time. Hope you guys have alot of fun!
#193
I think you're missing some brackets. Your current code does nothing for the 'else' condition and runs the code below it every time. Here's how the code should look:

Code: ags

function hSacoLixo_Interact()
{
  if (cJake.HasInventory(iPills)){
  cJake.Say("There's nothing more there.");
  GiveScore(-5);
  GUITexto.Text = ("");
  }
  else {
  cJake.Say ("I found some Sleeping pills.");
  GUITexto.Text = ("New item taken.");
  cJake.AddInventory (iPills);
  GiveScore(5);
  SetTimer(1, (5*40));
  }
}
#194
Awesome! I'm developing my game with a gamepad in mind.
#195
Neither, it happens when I'm editing the script file. Might have been hitting tab or pasting something into it.
#196
I was just doing some scripting when all of a sudden AGS crashed and warned me that the game files might be corrupt. I was quite shocked because even though I did a backup just a few days ago there was still quite alot of work done in that time.

After the game crashed I tried loading my game again and got an error message in swedish that translates to something like:
"Index was outside the matrix boundaries" (+ several lines of code displayed that were probably executed when the program crashed)

AGS crashed as I was editing some lines in one of the script .ash files, so I opened it up in notepad and simply removed the line I was typing as the crashed. The game loaded fine after that and everything seems to work as it should. Seems like no big deal.

I'm still quite worried though. Is it possible something might have been corrupted and if so, could that data still be corrupted?


Edit: This happened again, not long afterwards, the script looked about the same and the crash occured at roughly the same line. I moved things around a bit and it hasn't crashed again. Perhaps this is a bug that can tracked and fixed? I still have the 'broken' files if you want them, CJ.
#197
Adventure Related Talk & Chat / Re: AGS Steam
Wed 18/08/2010 16:59:40
Sounds like a great idea!
#198
I thought about using the int, but it's easier as you say to just use String.Format when calling the function. It's very rarely I need String.Format really, would just have been a luxury :)
#199
I'd like to know if you can use String.Format in functions in the same way that Display() works.

Here's the very basic function:

Code: ags
function Message (String text) {
 dostuff;
}


and here's how it's used with String.Format
Code: ags
Message (String.Format ("bla bla bla %d",stat));


With Display, you don't have to enter String.Format, and that's how I'd like my function to work.
It's a small problem that I hardly ever run into. Still, if it's possible...
#200
I love the new AGS, up until last fall I hadn't used AGS since ca 2004. Thanks for all the work you've put into AGS, CJ.
SMF spam blocked by CleanTalk