1 2
7 8
Player (246)
Joined: 8/6/2006
Posts: 784
Location: Connecticut, USA
Yo dudes, just stopping in to throw out a lua fishing script that I worked on, to aid in a casual fishing TAS (going for 9,999 points). I'm definitely not planning on submitting, this is mostly to fuel research for my Fishing Guide. I'll be using janus' file as a base (or a confirmation movie), though it looks like I'll have to get a Coin, buy some bait, get the Spanner, and give myself easy access to the Urkan region. The script can be found here. Link to video From the video description: "This draws the length of each fish over the respective shadows. Also, the list on the left is a quick reference to what is left in the water, including names, lengths, and an asterisk if a fish gives max points. Notice also that a fish will disappear from the list on the right if it's caught. Sorry about the use of frame-skip, and the low quality of the video."
Active player (286)
Joined: 9/1/2008
Posts: 900
hmmm.... would lua scripting influence my run in any way? I mean, for the manor, a well-done fishing round would give me a holy weapon...
Player (246)
Joined: 8/6/2006
Posts: 784
Location: Connecticut, USA
janus wrote:
hmmm.... would lua scripting influence my run in any way? I mean, for the manor, a well-done fishing round would give me a holy weapon...
I think the best type of script would be something that utilized the RNG (after determining how it works) and predicted which fish appeared when. However, I also have a script that frame advances, saves state, enters the fishing spot, checks what I want it to check for, and reloads if it doesn't find it (effectively checking the spot on consecutive frames for what I want). If I find what I want, it pauses, so I can leave it running and come back when that happens. You could tailor it to what you need for the run. Another interesting note, utilizing the format of the lua script's list: If you enter on one frame (e.g. frame 1234) and you have this...
FLY   15
FLY   16
FLY*  21
FLY   19
FLY   17
BAR   134
BAR   187
BAR*  200
... entering that fishing spot a frame later will "shift" the list up, dropping the top and adding a new one at the bottom (of course, discriminating between types of fish):
FLY   16
FLY*  21
FLY   19
FLY   17
FLY   17
BAR   187
BAR*  200
BAR   100
The benefit of this is that you can change the positions of the fish while mostly keeping what you want in there. Your wiggle room here would be the amount of that particular fish. Actually, after typing all that, I'm not sure I answered your question. Are you just looking for fish to buy something from Manillo? The same amount of fish appear in each spot no matter when you enter.
Active player (286)
Joined: 9/1/2008
Posts: 900
they would appear at the exact same spot every time? even then, it might be worthwhile to buy from manillo
Player (246)
Joined: 8/6/2006
Posts: 784
Location: Connecticut, USA
janus wrote:
they would appear at the exact same spot every time? even then, it might be worthwhile to buy from manillo
Not quite. There will be the same amount of fish of each type in each spot, but they will appear in different parts of the area depending on which frame you enter. If you're interested in getting the right amount of fish in an area that're close to the shore, you could use lua similarly to specify which fish you want to appear close (by using the x and y pos of the fish, and the fish type) and the script would keep trying and reloading until you have what you want. Oh also, in other news, the 9,999 points TAS is done. It's not very interesting, but I'll encode and upload it regardless.
Player (246)
Joined: 8/6/2006
Posts: 784
Location: Connecticut, USA
Here's the 9,999 points TAS(uperplay): Link to video Link to video
Wren
He/Him
Joined: 4/11/2005
Posts: 196
Location: Michigan
Seeing that warms my heart. Loved every minute of it.
<i>A little rudeness and disrespect can elevate a meaningless interaction to a battle of wills and add drama to an otherwise dull day.</i>
Player (246)
Joined: 8/6/2006
Posts: 784
Location: Connecticut, USA
I know this might be slightly deviating from the scope of the thread, but I've made a brute-force script that estimates the chances of getting a max length fish from a particular fishing hole. It's set to Puffer right now. Click it, yo. I figure there's enough niche interest in the fishing mini game to make note of this. For example, in about 30,000 trials, a Manillo of max length only occurred 0.45% of the time. That's only a little better than the drop rate for the Goo King Sword! Also, it's necessary to leave the script running overnight (on turbo) to get a sample size of 30,000... is there a good way to speed up the emulator in such a way that won't compromise the script?
Active player (286)
Joined: 9/1/2008
Posts: 900
since my RAM watch for Paladin's Quest was so successful, I want to try it for this game. I found a code (8014 3F22 0000) which yields no random battles. Is this the right address for the battle RAM?
Joined: 9/24/2015
Posts: 11
Hi Everybody I started to make a TAS of Breath of Fire 3. I used the brutal method for the moment to have a beginning to search some value. This is where it block. We are 3 to work on this TAS, sadly we are all beginner in TASing. We have issue to understand how to find some value on the RAM Search or how to dertermine if there's a critical hit or not. This is why i post here because i need some help to figure out how the RAM Search work and how to find what i want to make an optimize TAS Thanks for your answer and help PS : This is a WIP of Breaht of Fire 3 TAS https://youtu.be/mHHtFssX4ZM Here is my movie on Bizhawk https://www.dropbox.com/s/5ey6mz980q1i2hl/breath%20of%20fire%203.bk2?dl=0
Active player (286)
Joined: 9/1/2008
Posts: 900
It's a nice start, however overall it looks at best as good as mine (except that shortcut of attacking yourself in the mine) - In my run I barely pick any treasures as they are not useful - You can manipulate Rei to crit all the time against the first Nu and have the others defend. It's shorter than way.
Post subject: Fishing Scrip
Joined: 9/24/2015
Posts: 11
Hi I've got a problem with the Lua fishing script on Bizhawk, when i activate it, the Lua console says : "LuaInterface.LuaScriptException: [string "main"]:33: attempt to call field 'readwordsigned' (a nil value)" If you can help me to read a lua script it will be very useful for my TAS
Post subject: Re: Fishing Scrip
Former player
Joined: 5/4/2005
Posts: 502
Location: Onett, Eagleland
Maejin512 wrote:
Hi I've got a problem with the Lua fishing script on Bizhawk, when i activate it, the Lua console says : "LuaInterface.LuaScriptException: [string "main"]:33: attempt to call field 'readwordsigned' (a nil value)" If you can help me to read a lua script it will be very useful for my TAS
http://pastebin.com/3fMPPmvC
I think.....therefore I am not Barry Burton
Joined: 9/24/2015
Posts: 11
Thanks for the Lua Script but i've got a problem when i execute it. On bizhawk it look like this http://www.hostingpics.net/viewer.php?id=551990Lua.jpg It's a problem with the position of everything I don't know Lua Script at all so i don't want to change anything Can you please help me ? Thank you :)
Former player
Joined: 5/4/2005
Posts: 502
Location: Onett, Eagleland
I think.....therefore I am not Barry Burton
Active player (286)
Joined: 9/1/2008
Posts: 900
I'm restarting the TAS. Just with the self-attacks in the mine, I estimate the saving to at least 75 seconds. I haven't harvested treasures like Maejin, because I think it's a waste of time I have yet to find the battle address. I thought it was 0x80143F22 from a hacking guide, but to no avail
1 2
7 8