Posts for Niamek


1 2
8 9 10
21 22
Post subject: Newbie question about lua.
Experienced Forum User
Joined: 10/23/2009
Posts: 545
Location: Where?
Getting back to lua.. Need to be reminded of something. I'm not sure where my error is for this.
Language: lua

local function position(XY,A,B,C,x,y) --XY: X or Y? + Who? --A: Sprite position mainmemory.readbyte(A) --B: Map position mainmemory.readbyte(B) --C:Map increments mainmemory.readbyte(C) --D:Final position D = A+B+C gui.drawText(x,y,"XY"D) end while true do position(X:,0003,015A,01F2,50,50) emu.frameadvance.() end
Where is my newbie mistake? I have a hard time seeing it, but I believe it's the "XY". Maybe I need to add also 0X before my addresses? What do I have to do if it's 2 bytes instead of one byte? I don't know by looking at the lua functions list.
Post subject: Why more when you have enough?
Experienced Forum User
Joined: 10/23/2009
Posts: 545
Location: Where?
And just to add that, it's already an amazing run. I don't see why he must be doing more than what he did.
Experienced Forum User
Joined: 10/23/2009
Posts: 545
Location: Where?
Finished watching it... This got to be the luckiest TAS ever with all those missed attacks and criticals.
Experienced Forum User
Joined: 10/23/2009
Posts: 545
Location: Where?
MrWint wrote:
I could actually create a run like this with more than 2 games with the tools I used, but you wouldn't be able to play back the result in BizHawk.
I'm curious. If 3 games (blue, green and red) were ran, each picking one different starter, would it save time since it avoids a reset and there is more players that can increase pokemons' EXP. On the other hand, there might be a lot more of trading...
Post subject: 1.11.6 Release
Experienced Forum User
Joined: 10/23/2009
Posts: 545
Location: Where?
So I assume that the trouble with the mGBA core with the savestates are fixed? :) Great job! Minor issue, but maybe it needs an annoucement on the front page of the site?
Post subject: Additionnal info, hopefully it will be enough.
Experienced Forum User
Joined: 10/23/2009
Posts: 545
Location: Where?
Suuper wrote:
@niamek: I am unable to reproduce your error. I don't see how doing something quickly would mess anything up, and I also don't know how quickly you mean for me to do it. If you could find a method of reproducing the error that doesn't require quick clicking, that would be great. (It also seems that this situation is so contrived that nobody would ever accidentally encounter it...) Also, please post the settings you have under "Metadata..." -> "Savestate History Settings"
You have to make the branches alterning as fast as you can. I did do it during my TASing sessions without wanting it to do. I use branches a lot. So I guess it might be a simple matter of doing a lot of branches in a short amount of time. What I noticed is that the longer the run, the more trouble some the branches saving are. Last time I tried to reproduce it, with like 1000 frames, got nothing. However, by upping the ante(20 000 frames), I got it. Maybe it's something with the memory avaibility? (I know next to nothing about coding...) I never toched Metadata since all my downloads. So it should be the default one.
Experienced Forum User
Joined: 10/23/2009
Posts: 545
Location: Where?
I'll definitively watch the run when I can. Can't wait! Watched 2 hours of it. Loved it... I'm in awe of the massive planning you had to do. Respect in that planning. Will latch the last hours later.
Post subject: Speechless
Experienced Forum User
Joined: 10/23/2009
Posts: 545
Location: Where?
What happened? That was amazing! I really don't understand how you can go so far of the track and don't lose a life. Can someone explain that?
Post subject: Nice WIP & a question
Experienced Forum User
Joined: 10/23/2009
Posts: 545
Location: Where?
Wow, I liked what I saw. I expected it to be not that entertaining. Definitively a good job. :) Glad to know that you finished the routing. Why don't you pick up the power Raiser Omega? I'm not sure to understand for that one deviation.
Experienced Forum User
Joined: 10/23/2009
Posts: 545
Location: Where?
Reminds me of that movie of Tekken(?) where the player does a suicide attack, planting his sword on his stomach. But honestly, I did not really like it since it's not as funny as Tekken. But it got it strong points.
Post subject: Some feedbacks
Experienced Forum User
Joined: 10/23/2009
Posts: 545
Location: Where?
Too much repetitive. It's a fighting game, you need to vary a little bit... Unless you're really aiming for the fastest time. But a good job anyway.
Post subject: Emulatable?
Experienced Forum User
Joined: 10/23/2009
Posts: 545
Location: Where?
Nahoc wrote:
niamek wrote:
Iggy's 'Reckin Balls might be a good game to TAS.
Doesn't emulate properly AFAIK.
http://www.mupen64plus.org/wiki/index.php?title=GameCompatibility According to this, maybe it's emulatable.
Post subject: Additionnal infos?
Experienced Forum User
Joined: 10/23/2009
Posts: 545
Location: Where?
Suuper wrote:
I wasn't able to get a "Unable to read beyond the end of the stream." error. (I tried running a game for 2,000 frames, creating 10 branches, then saving.)
Did you try by alternating quickly the two options of creating branches?(don't give a name, just click cancel)? Or even alternate it, but not 50%. I reproduce it frequently by doing this. I just did it from an exported BK2 movie from a tasproj that I reconverted to tasproj.(On GBA... mgba core) Also, try 20 000 frames. After alternating, I click "save as", create a new movie. Open an another movie Reopen the just saved movie. REDDIT: Steps I did:(Feos request, and I should've provided it before) -Open a GBA game -Open TAStudio -Let it play for 17000 frames(Sorry for the length) -Save 5 times with the "Add Branch", 5 times with the "Add Branch with text" (Cancelling each time, so you don't give a name to the branch). You alternate these 10 ten branches: one with the first, one with the second, one with the first... Do it quickly. -Save as X quickly (I named it real quick too) - New movie -Open X
See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.IO.EndOfStreamException: Unable to read beyond the end of the stream. at System.IO.BinaryReader.FillBuffer(Int32 numBytes) at System.IO.BinaryReader.ReadInt32() at BizHawk.Client.Common.TasStateManager.Load(BinaryReader br) at BizHawk.Client.Common.TasMovie.<Load>b__45(BinaryReader br, Int64 length) at BizHawk.Client.Common.BinaryStateLoader.<>c__DisplayClass4.<GetLump>b__3(Stream s, Int64 length) at BizHawk.Client.Common.BinaryStateLoader.GetLump(BinaryStateLump lump, Boolean abort, Action`2 callback) at BizHawk.Client.Common.BinaryStateLoader.GetLump(BinaryStateLump lump, Boolean abort, Action`2 callback) at BizHawk.Client.Common.TasMovie.Load(Boolean preload) at BizHawk.Client.Common.MovieSession.QueueNewMovie(IMovie movie, Boolean record, IEmulator emulator) at BizHawk.Client.EmuHawk.MainForm.StartNewMovie(IMovie movie, Boolean record) at BizHawk.Client.EmuHawk.TAStudio.StartNewMovieWrapper(Boolean record, IMovie movie) at BizHawk.Client.EmuHawk.TAStudio.HandleMovieLoadStuff(TasMovie movie) at BizHawk.Client.EmuHawk.TAStudio.LoadFile(FileInfo file, Boolean startsFromSavestate) at BizHawk.Client.EmuHawk.TAStudio.OpenTasMenuItem_Click(Object sender, EventArgs e) at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e) at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e) at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e) at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e) at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met) at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met) at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea) at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ScrollableControl.WndProc(Message& m) at System.Windows.Forms.ToolStrip.WndProc(Message& m) at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.C
allback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Post subject: Some feedback
Experienced Forum User
Joined: 10/23/2009
Posts: 545
Location: Where?
Great work you're doing. :) I like the result.
Experienced Forum User
Joined: 10/23/2009
Posts: 545
Location: Where?
At least you tried. :) Can't wait to see the next level
Post subject: Robots masters or not?
Experienced Forum User
Joined: 10/23/2009
Posts: 545
Location: Where?
Torturer4246 wrote:
If i'm doing a TAS of Mega Man, can I do one where it's just the robot masters?
If you want to. :) However, it might be not suitable for TASVideos. It might be better on youtube only or on the forum only. Have fun doing the TAS. :)
Experienced Forum User
Joined: 10/23/2009
Posts: 545
Location: Where?
Felt you're more in control, since you're more selective with the blocks. But yeah I loved that ending... especially since you had to hurry up because a bomb were about to blow up. :) You're really improved. I'd suggest you continue trying again. I still think you might be able to improve. :)
Experienced Forum User
Joined: 10/23/2009
Posts: 545
Location: Where?
Felt slower, but loved that ending. :)
Experienced Forum User
Joined: 10/23/2009
Posts: 545
Location: Where?
I think it has been mentionned earlier and that some guys were interested on a TAS of Ogrebattle. Would be sweet to see how a TAS of that game would be... I think there would be ton of luck manipulation there. :) I also like the idea of Pac-man 2.
Experienced Forum User
Joined: 10/23/2009
Posts: 545
Location: Where?
Liked it... While you're on it, how about doing the pokemon mini games? Won't take a lot of time. :) (There ia TAS on youtube of course, but still....)
Experienced Forum User
Joined: 10/23/2009
Posts: 545
Location: Where?
Yeah, the balloon is closer on easy, but I noticed you collecting some shoes on the way. The first shoes might not even help, but the last ones might works? Who knows? :) EDIT: One another idea is to make a bunch of holes intentionally.
Experienced Forum User
Joined: 10/23/2009
Posts: 545
Location: Where?
One idea: I see you collected some shoes. Did you try to make a mad tower and try to jump from the top of the tower before it collapses to much? Since it's a TAS, you should know the "future" blocks, right? Maybe something like build a mad tower, collecting a shoe in the progress, then jump out of it? Yeah I see where you went with the combos, but I still wonder if you tried a little bit to keep the combos going? The first one? or the second one? Maybe it worth it to drop one block so you can keep the combo? Liked it otherwise. :)
Experienced Forum User
Joined: 10/23/2009
Posts: 545
Location: Where?
Ohhh, yeah. Maybe. Did you figure where the bonus blocks goes? I'm curious about that.
Experienced Forum User
Joined: 10/23/2009
Posts: 545
Location: Where?
At about 30 sec, you can drop one L thingy so you can take one "one block" to fill the gap on the bottom and continue the chain. :)
Experienced Forum User
Joined: 10/23/2009
Posts: 545
Location: Where?
Lars_Hendrick wrote:
Obviously what I thought was fairly optimized turns out it wasn't. I actually spent a good amount of time on this but obviously I missed some things. This was actually my third time making it and I thought I had figured it out but Spike shows that there's obviously more work to do. I'm going to go ahead and get this cancelled and post an updated version later.
The best is to post in the forum instead of submitting this. :) I did the same mistake. Don't give up. ^^
1 2
8 9 10
21 22