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

#261
Please use this tracker entry: Add objects to room at runtime
#262
And isn't it written "occurred"? ;)
#263
Quote from: cinfa on Thu 19/10/2006 20:20:25oops, I searched, but didn't find it.Sorry. :-\

Hehe, yeah, there are so many entries up there now that it's not easy to find stuff if you don't know what to look for.

Quote from: cinfa on Thu 19/10/2006 20:20:25By the way, why functions have those names, like hotspot4_a() and not something like hotspot4_look()?

Because the look cursor doesn't necessarily have to be used for looking. So yes, if people customize and rename their cursor modes, it would become confusing.
Something like hotspot4_cursormode1 would probably make more sense.
#264
Your first suggestion is already on the bug and suggestion tracker: http://www.adventuregamestudio.co.uk/tracker.php?action=detail&id=117

Please review the tracker before posting suggestions. You can add comments to a tracker entry to show your support.
#265
Quote from: SilverWizard_OTF on Sat 14/10/2006 11:09:21I noticed that every setup.exe file matches with all AGS game.

That's news to me, unless the exe file names of the games happen to match. All that winsetup.exe does is run the game's exe with the --setup parameter. So the exe file name has to be embedded in the winsetup.exe for it to work. Hence each game has to have its own winsetup.exe.

What you can do, similar to what KhrisMUC described, is right-clicking the game.exe in Windows-Explorer and making a link, then editing the new "Link to game.exe" by right-clicking it and choosing Properties. Then add the --setup parameter to the command so (for example)
  "D:\Games\1213\1213.exe"
becomes
  "D:\Games\1213\1213.exe" --setup
(or is it "D:\Games\1213\1213.exe --setup" ? Not sure.)

Edit:

"Link to" = "Shortcut to"? Don't know what it's called in english versions of Windows.
#266
General Discussion / Re: COmputer Troubles
Mon 16/10/2006 22:19:08
What tool have you used to partition your hard drive?

I found this:

http://ubuntuforums.org/showthread.php?t=41769

Quote
"autocheck not found - skipping AUTOCHK" and the computer rebooted

Quote
To clarify your problem, when you used Partition Magic to set your boot partition, it takes over your MBR as the boot loader & hides your other system partition, which in your case was your Windows partition.

You then installed Ubuntu, which most likely overwrote the MBR with GRUB, which is a linux boot loader. The problem is, GRUB doesn't know how to unhide your Windows partition.

Quote
If you do have GRUB as your boot loader, then all you have to do to unhide your Windows partition is to add an “unhide” command before the “root” line in your menu.lst file.

Edit the your menu.lst file by entering the following command into a terminal.

Code: ags
sudo gedit /boot/grub/menu.lst


Example below:

title Windows XP Professional
unhide (hd0,0)
root (hd0,0)
makeactive
chainloader +1

Try running PartitionMagic (or similar software like a gparted Live-CD) again and see if you can un-hide the missing partitions.
#267
I think a pm is better suited for this.
#268
But the error message
(Exception 0x000000 at EIP=0x000000, AGSEDIT v2.70.601, SIP=26)
suggests that you're using an older version of the editor to open it.

Are you really sure you're running AGS v2.72? Maybe your desktop link points to an older version by accident.
Check the version number by going to the menu Help -> About.
#269
Thank you. I don't want to compile Wine myself, so I'm waiting for the patches to be implemented. Good to know the mouse/keyboard issues can be solved.

Btw, you can only download the patches if you're a member of ubuntuforums.org. Could you please upload them somewhere else for us so we don't have to register?
#270
Perhaps "Button" is the name of one of his GUI controls?
And although GetAtScreenXY is intended to be used statically (i.e. GUIControl.GetAtScreenXY), maybe AGS just doesn't catch the error if the object used is also of the GUIControl type.
#271
Quote from: monkey_05_06 on Fri 06/10/2006 05:27:06though you could try suggesting an optional frame parameter be added to the function (which seems reasonable to me).

Already on the tracker: http://www.adventuregamestudio.co.uk/tracker.php?action=detail&id=502
#272
Quote from: Pumaman on Sun 08/08/2004 16:21:29Sorry, there is no current or planned support for the Mac.

Quote from: Pumaman on Sat 11/06/2005 18:14:22The feasability of a Mac port is currently under investigation. As you mention, because of the recent announcement that Mac is moving to Intel, it may well become much simpler to do a port for the new Intel Macs.

Quote from: Pumaman on Mon 27/06/2005 19:45:58Just in case anyone hasn't noticed, there is now a beta version of a Mac OSX port of the AGS engine here, and testing would be appreciated:
http://www.adventuregamestudio.co.uk/yabb/index.php?topic=21531

So it seems CJ doesn't have any plans for porting it himself, if that's what you're asking.
But you could help to improve the existing Mac port by reporting any issues you have with it to its thread.
#273
Quote from: KhrisMUC on Thu 28/09/2006 16:11:41It doesn't work like this.
Dialog.GetOptionState() returns if the option is turned on or off.

Ok, I assumed s/he turns off the respective dialog options when the correct answer has been chosen.
#274
  if ( (dprvo.GetOptionState(3)) && ...

Writing the conditional statement like that only means it checks if the return value is "not zero", i.e. "!= 0".

But the Dialog.GetOptionState function has the enum return values eOptionOff, eOptionOn and eOptionOffForever. Yes, these enums represent numbers internally, which is why you don't get an error message, but you can't be sure what number they are and if they are non-zero.

So you have to explicitly write it like this:

  if ( (dprvo.GetOptionState(3) == eOptionOffForever) && ...
#275
cBob.Name = "Mark"; ;)
#276
AGS already supports alpha-channels in 32-bit and 16-bit mode.
Make the image translucent in your paint program, then save it in png format and import it into your game.
#277
Have you tried:

Code: ags

  SetMusicRepeat(0);
  PlayMusic(1); // sound1.ogg -> music1.ogg
  SetMusicRepeat(1); 
  PlayMusicQueued(2);
#278
(This is just a template, not a module.)

Joe, please always state which version of AGS is required to use your stuff (for templates, state the version you made it with).
#279
Doesn't SSH's Description module do the same thing?
I don't like the idea of having several modules that basically do the same thing, as newbie-friendly as this one may be. So I probably won't move this to the Tech Archive.
SMF spam blocked by CleanTalk