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

#41
Try the solution from this thread.
#42
You have already posted here. Please be patient.
#43
Glad I could help. :)

Quote from: Monsieur OUXX on Wed 25/07/2007 16:06:17
int x = tab[(i MACRO2) + MACRO1];   also works and is more consistent with the meaning of my macros.

Right, better put the +'s in there to be on the safe side (as +- equals -).

Quote from: Monsieur OUXX on Wed 25/07/2007 16:06:17So "(i+MACRO1) MACRO2" looks like it should give exactly the same result as "i+MACRO1  MACRO2"

I'll let someone else answer this since I'd surely get it wrong... ;)
#44
Try
Code: ags

int x = tab[(i+MACRO1) MACRO2];

I think it's because of right-to-left evaluation.
#45
There are links to three sites in the walktrough section I linked to above. All the articles in there still need to be put in the wiki.
#46
If you find any, please consider putting them on the AGS wiki.
#47
Advanced Technical Forum / Re: Starting issue
Fri 20/07/2007 15:55:38
First, try uninstalling, then re-installing the .NET framework and see if the problem goes away.

Older AGS versions can be found here.
#48
Thanks, I've sent jasonkay a pm, he maintains that site.
#49
Quote from: Alliance on Wed 18/07/2007 07:18:38
Go to /home/yourusername/Games/AGS/ATOTK in whatever file browser you use
Right click on ags, choose "use custom command"

For the custom command type "gnome-terminal" if you use regular Ubuntu with the GNOME desktop

I also don't understand what this is supposed to do. I don't even have have a "use custom command" option when I right-click either the ags binary or the game exe.

(Edit: Ah, you didn't say to click "Open with Other Application" first.)

I do it this way: I have several ags versions stored in a single location, usr/local/bin, i.e.
/usr/local/bin/ags272
/usr/local/bin/ags272-setup
/usr/local/bin/ags271
/usr/local/bin/ags271-setup
...and so on.
I have ags272 associated with exe files (via "Open with Other Application...") so I can quickly test games by double-clicking, or I can create a launcher (shortcut) that runs
"ags272 /usr/local/games/ags/twokingdoms/ATOTK.exe".

Quote from: Radiant on Wed 18/07/2007 13:42:10
The music isn't MIDI, it's MP3.

Ah, I thought I hadn't set up MIDI correctly when I heard no music.
I had to check "Use digital music pack if available" in ags-setup and now there's music.

--

Hm, strange. Recently, every game I play, either with the 2.71 or 2.72 engine (btw: no matter if run from /usr/local/bin or copied to the gamedir), crashes with this error message when I exit (via a Quit function or Alt+X):

Quote
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  134 (XFree86-VidModeExtension)
  Minor opcode of failed request:  10 (XF86VidModeSwitchToMode)
  Value in failed request:  0x2800001
  Serial number of failed request:  4635
  Current serial number in output stream:  4640

Error: the program has exited without requesting it.
Program pointer: +9902  (write this number down), ACI version 2.72.920
If you see a list of numbers above, please write them down and contact
Chris Jones. Otherwise, note down any other information displayed.
Aborted (core dumped)

And it doesn't restore my previous desktop resolution so it's very annoying having to revert it every time.

It only happens when I run games fullscreen, when running in a window they exit without the error message. Looks like I have to run them in a window for now.
#50
Quote from: Pumaman on Tue 17/07/2007 22:43:14
With the move towards removing system limits, it will no longer possible for module authors to declare things like:
int characterStatus[AGS_MAX_CHARACTERS];

No longer possible? Do you mean this won't compile anymore?
#51
Quote from: Vince Twelve on Mon 16/07/2007 07:17:16Does a blocking function not actually change the cursor to the wait mode?  It seems like it only changes the mouse's graphic.

Exactly.
#52
Strange, with the v2.72 Linux engine all the drops seem to stay in one place:



I tried something like this once, but I wanted the drops to also be drawn in front of objects and characters, so I had to rawdraw them as well. I also wanted the drops  to stay in place in the room and not move with the screen/viewport in scrolling rooms so I had to calculate (part of) the rest of the room as well. Needless to say, it all got pretty slow pretty quick. :-\
Then again, I used sprites for the raindrops. I'm curious to see how this demo performs in higher resolutions. Looking forward to the module!
#53
Just a quick note to clarify that you can also do simulated 2D or 3D arrays without this module, as described here and here.
#54
AGS can play videos, but not flash (swf) files directly. You have to convert the flash animations to a video first.
And you can't play videos in a seperate window, they can only be played full-screen (unless you play the whole game in a window, obviously).
#55
Beginners' Technical Questions / Re: AI Games
Mon 09/07/2007 20:56:42
Quote from: R4L on Mon 09/07/2007 20:26:29
Quote
Note : there is a state machine module existing somewhere; i remember it confused an admin a lot because he didn't know of what use it could be...

This won't run on the newest AGS either; I've already tried.

Well, then tell the author, it won't fix itself. Knowing that people are trying to use your module can be a powerful motivator.
#56
If you don't know already, you don't have to remove every line manually.
You could set it up like this:

Code: ags

// main script header

// Uncomment the following line to compile a Linux/Mac version:
//#define NOPLUGINS


Code: ags

// some script

#ifndef NOPLUGINS
  SnowRain.Go(); // or whatever the plugin function is called
#endif


So if NOPLUGINS is not defined (i.e. commented out in the script header), the code between the ifndef and endif lines is simply skipped at compile time.
This way, you only have to uncomment one line in the main script header to enable a plugin-free compile.
#57
GG, I can understand wanting to replace winsetup.exe, but what if your setup program doesn't run on my machine? Why else would someone manually do gamename.exe --setup anyway? I'm totally against this.
#58
Yes please! This game looks awesome!
#59
First, ask the developers what the game is trying to do on "Room 124 script (line 411)".
Judging from previous threads, it's probably a problem with playing a video.

Are you able to see any videos at all in the game? The intro movie is a video, no? Does that work?

I don't know what version of AGS Al Emmo was compiled with, but try running it with the latest engine.

If all else fails, you may have to delete (better: rename) the problematic movie file. Find out which one it is by asking the developers about the script line above.
#60
Quote from: strazer on Mon 24/04/2006 12:35:54
- Post the announcement thread in the main Technical Forum
- Thread subject line: "MODULE: MyModule v1.00 - Optional short description"
- State which version of AGS it was written for
- Moderators will move the thread to the Technical Archive at the appropriate time

This is to make sure the module is tested first and free of the most obvious bugs before it goes in the archive.
SMF spam blocked by CleanTalk