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

#741
I'm currently trying to get back to some AGS scripting, but obviously I got quite rusty.

Could anyone please help me with this error?
Code: ags

//AGS 3.3 RC1
Tiles.asc(484): Error (line 484): export offset too high; script data size too large?


In tiles.ash, I have a struct:
Code: ags

struct ctile_sprites {
  DynamicSprite *spr;
  int code;
  short frm_speed[MAX_FRAME_TILE];
  short frames_in_use;
  short frame_counter;
  short ani_delay;
  short ani_delay_counter;
};


In tiles.asc I create the struct like this and try to export it (at the bottom of the script). The error occurs.
Code: ags

ctile_sprites tile_sprites[NUM_MAX_SPRITES];
// a few lines later ...
export tile_sprites;


Now the interesting part is: when I overwrite those two lines to something stupid, the error remains
Code: ags

int blargh;
export blargh;


When I now copy and paste those two lines a few lines above, it works fine. Like those script lines were haunted.
Am I missing something?

--EDIT: Sorry already found it myself:
A few lines earlier is a pretty huge struct (tiles[100000]) which I also export. It seems like I can't export anything else after that. I moved the needed lines above this mega struct and it works fine now.
#742
Yes, we all want 3.3.0 to be finally released. But pretty pretty please consider fixing the Undo-History :~(

Unfortunately this behavior is quite unpredictable. It seems that after a couple of minutes, the history for a file is simply gone.
This works pretty well for me:
Edit a few scripts and save. Now read the forums. After a few minutes come back to AGS. Now the Undo-History from the last edited file exists, for the other files it's gone or just reaches 1-2 steps back.

To be honest this is driving me nuts, because at some points I can't remember what I did to break the game. Only that now I can't undo my way out of this mess ;)
#743
It seems like we could never agree on any splash :)
Why not doing it like TheGimp (as in Paint, not as in Pulp Fiction): each major release gets a new splash.
Clean#2 would be the winner for 3.4 and everyone disliking it can wait until the next contest for 3.5.
#744
Quote from: Crimson Wizard on Fri 18/10/2013 22:56:46
I wish to know what happened to ShattenReyze, and its "guitar hero" minigame :).
(A pity Abstauber's website is usually down)

Oh, sorry that I overlooked this for so long.
The rhythmgame got canceled due to technical difficulties. Unfortunately I wasn't able to calibrate and adjust the sync (and lag) between the screen and game. In other words: if the framerate dropped for whatever reason, the audio files and the graphics where out of sync. And for those rhythmgames you have to 100% accurate or they'll drive you mad ;)
Here's the last version, with a nice pseudo 3d overhaul by cat http://reyze.sonores.de/Rhythmgame_cat_0_3.zip
Unfortunately only "breaking the law" works properly.

As for ShattenReyze, there's tiny bit of movement currently
#745
A few month later... can't we just have the combined version? I think most people are happy with it.
#746
The Rumpus Room / Re: Name the Game
Tue 04/02/2014 15:25:34
Yup
#747
Two editor related  things I've noticed:

1) When I save a script (ash or asc), the undo-history for that file is gone afterwards
2) I alter the font size inside the editor via CTRL-mousewheel. After saving a file, the font size will be reset to the old size.

Sorry if this has already been reported, I admit I haven't read through the whole thread yet :-[
#748
The Rumpus Room / Re: Name the Game
Tue 04/02/2014 13:20:08
I also own an Infocom collection since the Amiga days.

.... yeah it was Frobnia :D

Here's the next:
#749
hey, thanks! Well, to miss the once-in-a-year chance to meet you all is a thing to sigh and sob about.
..maybe I should start working on games to not loose contact  :cheesy:
#750
I'm not the greatest pixel pusher around, but here's a start. All you need to add is animations :)

[imgzoom]http://shatten.sonores.de/wp-content/uploads/2014/02/drew_start.gif[/imgzoom]
#751
*sigh* we're officially out, but it has nothing to do with lawn moving.
It's more a reproduction related thing ;)
#752
The Rumpus Room / Re: Name the Game
Tue 04/02/2014 07:34:16
Is it Border Zone?
#753
Looking great - a huge leap indeed from the Anaheim version 8-)
#754
The Rumpus Room / Re: The MSPaint game
Thu 30/01/2014 14:17:07


Next:FFFFFFFFFUUUUUUUUU
#755
I'm all for the Netherlands, although I doubt that I can make it this year :~(
#756
I just deleted a few buttons myself without any errors. The problem might be, that you've also deleted the graphics in the sprite folder.
To fix you problem, go to guiscript.asc and start at line 551. There you find lines like:

Code: ags
    SetActionButtons(eGA_GiveTo, "a_button_give    0  125  138 Qq");

Comment out all those lines referring to the buttons you've already deleted - also for the other languages (in other words, do it 5 times)

This should do it
#757
The Rumpus Room / Re: Have a Merry Christmas
Tue 24/12/2013 11:07:52
yay, merry Christmas and/or happy holidays! :-D
#758
The Rumpus Room / Re: Name the Game
Wed 11/12/2013 08:27:24
hmm... something like Legacy of Kain?
#759
Site & Forum Reports / Re: Bug reports
Wed 27/11/2013 11:20:37
yay - phone forums are back online. Thanks!
#760
The Rumpus Room / Re: Name the Game
Tue 26/11/2013 10:44:01
Weehee, it is!
(and it's awesome)
SMF spam blocked by CleanTalk