Jump to content

Photo

Zelda Classic 2.5 RC4


  • This topic is locked This topic is locked
266 replies to this topic

#91 Saffith

Saffith

    IPv7 user

  • Members

Posted 29 August 2012 - 09:51 AM

QUOTE(Octorockoncrack @ Aug 28 2012, 08:20 PM)  
Wait, in here? It doesn't seem like the right place...anyway:

Piece of cake:
CODE
ffc script TileAtLinksPosition {
     void run(int combo, int cset, int width, int height) {
          while(true) {
              Screen->DrawCombo(1, Link->X, Link->Y, combo, Clamp(width, 1, 20), Clamp(height, 1, 20), cset, -1, -1, 0, 0, 0, 0, 0, true, OP_OPAQUE);
              Waitframe();
          }
     }
}

D0: Combo
D1: CSet
D2: Width (in tiles, defaults to 1)
D3: Height (in tiles, defaults to 1)

#92 Lemmy Koopa

Lemmy Koopa

    We are the champions

  • Members
  • Location:Ohio

Posted 29 August 2012 - 10:18 AM

I'm finding that I can't use my sword in a lot of quests that have the "Use A and B to select items" rule off.

Anyone else?

#93 aaa2

aaa2

    Wizard

  • Banned

Posted 29 August 2012 - 10:24 AM

QUOTE(Gleeok @ Aug 29 2012, 04:48 AM)  

Yeah sorry, meant to quote the more pertinent part. icon_razz.gif

I think this part of your script may be the cause:
CODE

  ...
  Screen->Rectangle(6, 0, 0, 512, 512, 0, 1.0, 0, 0, 0, true, 128);
  Screen->SetRenderTarget(1);
  ...

Replace it with this:
CODE

  Screen->SetRenderTarget(1);
  Screen->Rectangle(0, 0, 0, 512, 512, 0, 1.0, 0, 0, 0, true, 128); //you are clearing the bitmap I assume.


..and see if that fixes it first.

Tried it and it definately made it a lot worse(and did not fix the problem). To the possible question why it made it worse:
If i do it with your proposed solution the whole screen that i draw everything on is not being cleared out, which means you can see what is below. This creates a very distorted effect when scrolling. So the part i do( Screen->Rectangle(6, 0, 0.....) is necessary. Adding your suggestion as an addition only also causes more problems(namely layer 2 stops working also). This is probably caused by that layer 0, which is drawn above layer 2 (layer 2 is background) is cleared out, which breaks layer 2.

What i do not get is however why some parts of layer 1 are not drawn and why parts of the screen that existed before in zquest but have been deleted show up when drawing(it makes no sense). If you want i can send you the questfile with full script if requested also script in a seperate .z file.

#94 Octorockoncrack

Octorockoncrack

    Crystal Warrior

  • Members
  • Real Name:Tyler
  • Location:walking The Path

Posted 29 August 2012 - 01:10 PM

When I try compiling the script into ZC, I get an error message:

Line 53: Unexpected Identifier, expecting semicolon or or, on token waitframe.
Fatal Error P00: Can't open or parse input file.

#95 SUCCESSOR

SUCCESSOR

    Apprentice

  • Banned
  • Real Name:TJ

Posted 29 August 2012 - 01:13 PM

DrawCombo needs a ;

Edited by SUCCESSOR, 29 August 2012 - 01:13 PM.


#96 Saffith

Saffith

    IPv7 user

  • Members

Posted 29 August 2012 - 01:34 PM

Oops. icon_razz.gif Fixed it.


QUOTE(Lemmy Koopa @ Aug 29 2012, 11:18 AM)  

I'm finding that I can't use my sword in a lot of quests that have the "Use A and B to select items" rule off.

Anyone else?

Someone would've mentioned it, surely. What quests have you had that problem with?

#97 Lemmy Koopa

Lemmy Koopa

    We are the champions

  • Members
  • Location:Ohio

Posted 30 August 2012 - 11:18 AM

QUOTE(Saffith @ Aug 29 2012, 02:34 PM)  

Oops. icon_razz.gif Fixed it.
Someone would've mentioned it, surely. What quests have you had that problem with?


I tried playing quests again and it seems to no longer be doing it. I think the client got glitched that one time, but a lot of times I couldn't use sword in a lot of older quests.

#98 Evan20000

Evan20000

    P͏҉ę͟w͜� ̢͝!

  • Members
  • Real Name:B̵̴̡̕a҉̵̷ņ̢͘͢͜n̷̷ę́͢d̢̨͟͞
  • Location:B̕҉̶͘͝a̶̵҉͝ǹ̵̛͘n̵e̸͜͜͢d҉̶

Posted 30 August 2012 - 03:53 PM

I think I may have stumbled upon a possible midi bug.

The song just plays outright wrong notes in ZC, but it sounds fine in ZQ and any other midi player. I'm not sure if it's due the the instruments in the song, but something seems to be up. (It's song 31 in the quest file I sent you, Saffith)

EDIT: I've re-uploaded the song into my quest and now it doesn't do it. Very strange.

#99 MoscowModder

MoscowModder

    Sometimes lurking. Rarely posting.

  • Members
  • Location:Wisconsin

Posted 31 August 2012 - 07:39 PM

I just downloaded the latest version of ZC (build 1558) from shardstorm.com, which claims that super bombs and other counters were no longer limited to 255. I tested that with my script that uses the super bomb counter for output, and it still didn't display numbers higher than 255 (256 = 0, 257 = 1, etc).

#100 Saffith

Saffith

    IPv7 user

  • Members

Posted 31 August 2012 - 07:54 PM

That wasn't a new build, just the same one repackaged.

#101 MoscowModder

MoscowModder

    Sometimes lurking. Rarely posting.

  • Members
  • Location:Wisconsin

Posted 31 August 2012 - 08:04 PM

Okay, that's annoyingly confusing. The fact that the changes are listed under the 'new' build really made it seem like they made it in.

Ah, well.

#102 Tree

Tree

    Everything must go away

  • Members
  • Real Name:Mundy Fumple McStroodlestein
  • Location:The Milky Way Galaxy

Posted 02 September 2012 - 02:11 AM

I don't know if I'm the only one who's had this problem, but when I try to open Zelda Classic, it doesn't open. It'll show the icon on the task bar for like a slit second while the computer screen flashes as if it were starting a program, then just stops. It doesn't launch at all.

Does anyone know what I'm talking about? If so, please help!

#103 Gleeok

Gleeok

    It's dangerous to dough alone, bake this.

  • Members
  • Real Name:Pillsbury
  • Location:Magical Land of Dough

Posted 02 September 2012 - 03:09 AM

QUOTE(aaa2 @ Aug 29 2012, 08:24 AM)  

Tried it and it definately made it a lot worse(and did not fix the problem). To the possible question why it made it worse:
If i do it with your proposed solution the whole screen that i draw everything on is not being cleared out, which means you can see what is below. This creates a very distorted effect when scrolling. So the part i do( Screen->Rectangle(6, 0, 0.....) is necessary. Adding your suggestion as an addition only also causes more problems(namely layer 2 stops working also). This is probably caused by that layer 0, which is drawn above layer 2 (layer 2 is background) is cleared out, which breaks layer 2.

What i do not get is however why some parts of layer 1 are not drawn and why parts of the screen that existed before in zquest but have been deleted show up when drawing(it makes no sense). If you want i can send you the questfile with full script if requested also script in a seperate .z file.


I think I see how you are going about that now. It's starting to get complicated as there are possibly three separate issues there. :\ I'll try and debug it on Tuesday, when I get back home.


QUOTE
I don't know if I'm the only one who's had this problem, but when I try to open Zelda Classic, it doesn't open. It'll show the icon on the task bar for like a slit second while the computer screen flashes as if it were starting a program, then just stops. It doesn't launch at all.

Does anyone know what I'm talking about? If so, please help!


What does allegro.log say?

#104 Thomas G. House

Thomas G. House

    Senior

  • Members

Posted 02 September 2012 - 03:17 AM

MP3s don't play in ZQuest.

#105 Orithan

Orithan

    Studying Scientist - Commission from Silvixen

  • Members
  • Location:Australia

Posted 02 September 2012 - 07:31 AM

QUOTE(L L L L L LINK @ Sep 2 2012, 06:17 PM)  

MP3s don't play in ZQuest.

Same here, except that I have two of them that do work and both of those are about 5 megs in size (mind you, all of the MP3s that I have are Touhou ones icon_heh.gif and some of them exceed 10 megs while some others are just above 1 meg in size). I don't really think this has anything to do with the size.
I haven't tried this, but could you try checking the filenames of each of your MP3s and make sure that they start with alphanumeric characters and then see if they play in ZQ.
nsf. gbs. etc... all work for me.


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users