User Tag List

Page 3 of 4 FirstFirst 1 2 3 4 LastLast
Results 21 to 30 of 34

Thread: Yet Another Script Problem (YASP)

  1. #21
    Ultimate Prankster Lucario QDB Manager
    Just registered
    Nimono's Avatar
    Join Date
    Nov 2005
    Location
    Static Void Kingdom
    Age
    32
    Posts
    1,963
    Mentioned
    5 Post(s)
    Tagged
    2 Thread(s)
    vBActivity - Stats
    Points
    6,276
    Level
    24
    vBActivity - Bars
    Lv. Percent
    43.94%

    Re: Yet Another Script Problem (YASP)

    Quote Originally Posted by Saffith View Post
    Wait... Are you not running the script in the game before looking for the output? 'Cause you have to do that first.
    Wait, I have to do that? Last time I tried that, I could've sworn there was no output whatsoever....

    Edit: Nope, no output whatsoever. Would you like to see the allegro.log?

  2. #22
    Is this the end?
    ZC Developer
    Saffith's Avatar
    Join Date
    Jan 2001
    Age
    41
    Posts
    3,389
    Mentioned
    178 Post(s)
    Tagged
    6 Thread(s)
    vBActivity - Stats
    Points
    6,433
    Level
    24
    vBActivity - Bars
    Lv. Percent
    70.08%

    Re: Yet Another Script Problem (YASP)

    Sorry, been busy lately... :p
    Try putting a Trace() as the very first statement in run(), where it can't possibly miss it. If that doesn't give you something, it must be unable to write to the file properly for some reason.

  3. #23
    Ultimate Prankster Lucario QDB Manager
    Just registered
    Nimono's Avatar
    Join Date
    Nov 2005
    Location
    Static Void Kingdom
    Age
    32
    Posts
    1,963
    Mentioned
    5 Post(s)
    Tagged
    2 Thread(s)
    vBActivity - Stats
    Points
    6,276
    Level
    24
    vBActivity - Bars
    Lv. Percent
    43.94%

    Re: Yet Another Script Problem (YASP)

    Quote Originally Posted by Saffith View Post
    Sorry, been busy lately... :p
    Try putting a Trace() as the very first statement in run(), where it can't possibly miss it. If that doesn't give you something, it must be unable to write to the file properly for some reason.
    I think I got it to work once, but... It gave me a lot of numbers that made no sense....

    Edit: By the way, do you happen to know how to correctly work the functions "Link->Warp" and "Link->PitWarp"? Every time I use the latter, nothing really happens when it's called. Take a look at this excerpt of code from my Harp of Ages script:

    Code:
    else if (Link->Item[ID2])
    		{
    			if (CurMap == 2 || CurMap == 4 || CurMap == 6 || CurMap == 8 || CurMap == 10)
    			{
    				Time = 0;
    				Link->PitWarp(WrpDMap2, WrpScrn2);
    				Quit();
    			}
    			else if (CurMap == 1 || CurMap == 3 || CurMap == 5 || CurMap == 7 || CurMap == 9)
    			{
    				Time = 1;
    			}
    		}
    If he has item x, this code will warp Link to a certain dmap (The "WrpScrn2" is always the same screen number Link is on), but for some reason, it never really does anything... See, I put all the code for all 3 tunes from OoA into this one script, for ease, but... Could that be the problem? Or is it, for some reason, checking for ALL the maps there?

  4. #24
    Is this the end?
    ZC Developer
    Saffith's Avatar
    Join Date
    Jan 2001
    Age
    41
    Posts
    3,389
    Mentioned
    178 Post(s)
    Tagged
    6 Thread(s)
    vBActivity - Stats
    Points
    6,433
    Level
    24
    vBActivity - Bars
    Lv. Percent
    70.08%

    Re: Yet Another Script Problem (YASP)

    Quote Originally Posted by pikaguy900 View Post
    I think I got it to work once, but... It gave me a lot of numbers that made no sense....
    How do you mean? They just weren't what you expected, or they literally couldn't have been generated by the script?

    Edit: By the way, do you happen to know how to correctly work the functions "Link->Warp" and "Link->PitWarp"? Every time I use the latter, nothing really happens when it's called.
    Hm. They should work just about the same way. If one works and the other doesn't, I'm inclined to think it's a bug.
    I've been meaning to start looking at the compiler stuff. I suppose I'll look into it if DD doesn't beat me to it.

  5. #25
    Ultimate Prankster Lucario QDB Manager
    Just registered
    Nimono's Avatar
    Join Date
    Nov 2005
    Location
    Static Void Kingdom
    Age
    32
    Posts
    1,963
    Mentioned
    5 Post(s)
    Tagged
    2 Thread(s)
    vBActivity - Stats
    Points
    6,276
    Level
    24
    vBActivity - Bars
    Lv. Percent
    43.94%

    Re: Yet Another Script Problem (YASP)

    Quote Originally Posted by Saffith View Post
    How do you mean? They just weren't what you expected, or they literally couldn't have been generated by the script?

    Hm. They should work just about the same way. If one works and the other doesn't, I'm inclined to think it's a bug.
    I've been meaning to start looking at the compiler stuff. I suppose I'll look into it if DD doesn't beat me to it.
    1: They were a lot of numbers that were usually things like "0.000000001" and then all these seemingly-random numbers placed to tell what that stupid number's value was....

    2: Yeah, the code for the Tune of Currents part of the script is basically the same as the code for the Tune of Ages part. Neither work. Only the "Tune of Echoes" part works, because it changes a certain combo (And I also have to MOVE the FFC at its location because of the bug I was told about with FFCs. )... Or, maybe I'm using the wrong items.....

  6. #26
    Is this the end?
    ZC Developer
    Saffith's Avatar
    Join Date
    Jan 2001
    Age
    41
    Posts
    3,389
    Mentioned
    178 Post(s)
    Tagged
    6 Thread(s)
    vBActivity - Stats
    Points
    6,433
    Level
    24
    vBActivity - Bars
    Lv. Percent
    70.08%

    Re: Yet Another Script Problem (YASP)

    Quote Originally Posted by pikaguy900 View Post
    1: They were a lot of numbers that were usually things like "0.000000001" and then all these seemingly-random numbers placed to tell what that stupid number's value was....
    I'm still not quite certain I see what you mean... Can you give a specific example of this?

  7. #27
    Ultimate Prankster Lucario QDB Manager
    Just registered
    Nimono's Avatar
    Join Date
    Nov 2005
    Location
    Static Void Kingdom
    Age
    32
    Posts
    1,963
    Mentioned
    5 Post(s)
    Tagged
    2 Thread(s)
    vBActivity - Stats
    Points
    6,276
    Level
    24
    vBActivity - Bars
    Lv. Percent
    43.94%

    Re: Yet Another Script Problem (YASP)

    Quote Originally Posted by Saffith View Post
    I'm still not quite certain I see what you mean... Can you give a specific example of this?
    *sigh* Okay, the stuff is still in the allegro.log file...

    Decrypting...okay.
    Opening...okay.
    Reading Header...okay.
    Reading Rules...okay.
    Reading Strings...okay.
    Reading Doors...okay.
    Reading DMaps...okay.
    Reading Misc. Data...okay.
    Reading Misc. Colors...okay.
    Reading Game Icons...okay.
    Reading Items...okay.
    Reading Weapons...okay.
    Reading Maps...okay.
    Reading Combos...okay.
    Reading Combo Aliases...okay.
    Reading Color Data...okay.
    Reading Tiles...okay.
    Reading MIDIs...okay.
    Reading Cheat Codes...okay.
    Reading Init. Data...okay.
    Reading Custom Guy Data...okay.
    Reading Custom Link Sprite Data...okay.
    Reading Custom Subscreen Data...okay.
    Reading FF Script Data...okay.
    Reading SFX Data...okay.
    Done.
    128 83 0
    128 83
    128 83 0
    128 83
    128 83 0
    128 83
    128 83 0
    128 83
    128 83 0
    128 83
    128 83 0
    128 83
    128 83 0
    128 83
    128 83 0
    128 84
    128 84 0
    128 84
    128 84 0
    128 84
    128 84 0
    128 84
    128 84 0
    128 84
    128 84 0
    128 84
    128 84 0
    128 84
    128 84 0
    128 84
    128 84 0
    128 84
    128 84 0
    128 85
    128 85 0
    128 85
    128 85 0
    128 85
    128 85 0
    128 85
    128 85 0
    128 85
    128 85 0
    128 85
    128 85 0
    128 85
    128 85 0
    128 86
    128 86 0
    128 86
    128 86 0
    128 86
    128 86 0
    128 86
    128 86 0
    128 86
    128 86 0
    128 87
    128 87 0
    128 87
    128 87 0
    128 87
    128 87 0
    128 87
    128 87 0
    128 88
    128 88 0
    128 88
    128 88 0
    128 88
    128 88 0
    128 88
    128 88 0
    128 89
    128 89 0
    128 89
    128 89 0
    128 89
    128 89 0
    128 89
    128 89 0
    128 90
    128 90 0
    128 90
    128 90 0
    128 90
    128 90 0
    128 91
    128 91 0
    128 91
    128 91 0
    128 91
    128 91 0
    128 91
    128 91 0
    128 92
    128 92 0

    It's basically a lot of that with increasing numbers...

    Edit: Which eventually start becoming random...

  8. #28
    Is this the end?
    ZC Developer
    Saffith's Avatar
    Join Date
    Jan 2001
    Age
    41
    Posts
    3,389
    Mentioned
    178 Post(s)
    Tagged
    6 Thread(s)
    vBActivity - Stats
    Points
    6,433
    Level
    24
    vBActivity - Bars
    Lv. Percent
    70.08%

    Re: Yet Another Script Problem (YASP)

    Ah, that? That's not from Trace(). It's just some debugging stuff in the current build.

    Trace() will only print one number on each line, and it will always be to four decimal places.

  9. #29
    Ultimate Prankster Lucario QDB Manager
    Just registered
    Nimono's Avatar
    Join Date
    Nov 2005
    Location
    Static Void Kingdom
    Age
    32
    Posts
    1,963
    Mentioned
    5 Post(s)
    Tagged
    2 Thread(s)
    vBActivity - Stats
    Points
    6,276
    Level
    24
    vBActivity - Bars
    Lv. Percent
    43.94%

    Re: Yet Another Script Problem (YASP)

    Quote Originally Posted by Saffith View Post
    Ah, that? That's not from Trace(). It's just some debugging stuff in the current build.

    Trace() will only print one number on each line, and it will always be to four decimal places.
    Well then, Trace() is broken, since it's not giving me ANYTHING.

    Oh, what about my other problem? I tried changing the item required to use the "Tune of Currents" effect, but the effect STILL doesn't happen.

  10. #30
    Is this the end?
    ZC Developer
    Saffith's Avatar
    Join Date
    Jan 2001
    Age
    41
    Posts
    3,389
    Mentioned
    178 Post(s)
    Tagged
    6 Thread(s)
    vBActivity - Stats
    Points
    6,433
    Level
    24
    vBActivity - Bars
    Lv. Percent
    70.08%

    Re: Yet Another Script Problem (YASP)

    Well then, Trace() is broken, since it's not giving me ANYTHING.
    Just to be sure, you have tried putting a call to Trace() somewhere where it can't possibly be missed (like as the first statement in run()) to be absolutely certain whether it works, right?
    The thing is, I haven't heard of any problems with it before, and I haven't seen any myself. If you're the only one it's not working for, well, I'm having trouble thinking of a reason that might be.

    Oh, what about my other problem? I tried changing the item required to use the "Tune of Currents" effect, but the effect STILL doesn't happen.
    Isn't that the one that works with Link->Warp() but not Link->PitWarp()?
    If that's the one, I really think it must just be a bug, or else the function simply hasn't been implemented yet.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Armageddon Games is a game development group founded in 1997. We are extremely passionate about our work and our inspirations are mostly drawn from games of the 8-bit and 16-bit era.
Social