Post subject: lua scripts- where are they and tips
Experienced player (704)
Joined: 2/5/2012
Posts: 1799
Location: Brasil
where are they uploaded in the site? i want to learn lua scripting so i'm first reading the tutorials,but i think it would help to see some code that works already since i'm really unable to see how it's being implemented in the TASing,preferably to a simple game that's known.I don't know if it makes any difference but i want to apply them to snes and gba emulators.
I want all good TAS inside TASvideos, it's my motto. TAS i'm interested: Megaman series, specially the RPGs! Where is the mmbn1 all chips TAS we deserve? Where is the Command Mission TAS? i'm slowly moving away from TASing fighting games for speed, maybe it's time to start finding some entertainment value in TASing.
Pokota
He/Him
Joined: 2/5/2014
Posts: 779
There isn't really a single repository for lua scripts. You "can" upload scripts to userfiles, bu-u-ut you can also use stuff such as the code tag on the forums to post lua scripts directly there.
Language: lua

while true do console.log("main loop active") emu.frameadvance() end
I actually have a dedicated thread for lua shenanigans over in the bizhawk subforum, called "Adventures in Lua" if you want to check that out. Outside of that, lua scripts generally end up in the threads for the games they're made for.
Adventures in Lua When did I get a vest?
Masterjun
He/Him
Site Developer, Skilled player (1987)
Joined: 10/12/2010
Posts: 1185
Location: Germany
Sometimes you can find Lua scripts in the Game Resource page of that game.
Warning: Might glitch to credits I will finish this ACE soon as possible (or will I?)
Site Admin, Skilled player (1254)
Joined: 4/17/2010
Posts: 11475
Location: Lake Char­gogg­a­gogg­man­chaugg­a­gogg­chau­bun­a­gung­a­maugg
Bizhawk and fceux include a whole bunch of lua scripts in the downloadable zips.
Warning: When making decisions, I try to collect as much data as possible before actually deciding. I try to abstract away and see the principles behind real world events and people's opinions. I try to generalize them and turn into something clear and reusable. I hate depending on unpredictable and having to make lottery guesses. Any problem can be solved by systems thinking and acting.