Posts for DarkKobold


Experienced Forum User, Published Author, Skilled player (1637)
Joined: 11/15/2004
Posts: 2202
Location: Killjoy
Highness wrote:
Ok. So would it be smarter to have two or more instances of the emulator running, with a different random seed pattern (as two linear patterns would perform the same thing with the same result in both instances) for the bots, or would it just slow down the entire process all in all?
Even if it were lua in one thread, and the frame advance in another, they still need to happen sequentially to sync, as Warp said. Thus, you'd be much better off running two or more instances of the emulator. So, I looked up the random seeding function of lua, and got this ridiculous wall of text.
math.random , math.randomseed
math.random() generates pseudo-random numbers uniformly distributed. Supplying argument alters its behaviour:

    * math.random() with no arguments generates a real number between 0 and 1.
    * math.random(upper) generates integer numbers between 1 and upper.
    * math.random(lower, upper) generates integer numbers between lower and upper. 

    > = math.random()
    0.0012512588885159
    > = math.random()
    0.56358531449324
    > = math.random(100)
    20
    > = math.random(100)
    81
    > = math.random(70,80)
    76
    > = math.random(70,80)
    75

upper and lower must be integer. In other case Lua casts upper into an integer, sometimes giving math.floor(upper) and others math.ceil(upper), with unexpected results (the same for lower).

The math.randomseed() function sets a seed for the pseudo-random generator: Equal seeds produce equal sequences of numbers.

    > math.randomseed(1234)
    > = math.random(), math.random(), math.random()
    0.12414929654836        0.0065004425183874      0.3894466994232
    > math.randomseed(1234)
    > = math.random(), math.random(), math.random()
    0.12414929654836        0.0065004425183874      0.3894466994232

A good* 'seed' is os.time(), but wait a second before calling the function to obtain another sequence! To get nice random numbers use:

    math.randomseed( os.time() )

If Lua could get milliseconds from os.time() the init could be better done.

Nevertheless, in some cases we need a controlled sequence, like the obtained with a known seed.

But beware! The first random number you get is not really 'randomized' (at least in Windows 2K and OS X). To get better pseudo-random number just pop some random number before using them for real:

    -- Initialize the pseudo random number generator
    math.randomseed( os.time() )
    math.random(); math.random(); math.random()
    -- done. :-)

-- This not exactly true. The first random number is as good (or bad) as the second one and the others. The goodness of the generator depends on other things. To improve somewhat the built-in generator we can use a table in the form:

    -- improving the built-in pseudorandom generator
    do
       local oldrandom = math.random
       local randomtable
       math.random = function ()
          if randomtable == nil then
             randomtable = {}
             for i = 1, 97 do
                randomtable[i] = oldrandom()
             end
          end
          local x = oldrandom()
          local i = 1 + math.floor(97*x)
          x, randomtable[i] = randomtable[i], x
          return x
       end
    end

[4] : Why math.random() might give weird results on OSX and FreeBSD?

*...The problem seems to be that when the seeds differ very little the first value of generated by BSD rand() also differ very little. This difference is lost when Lua converts the integer returned by rand() into a real number, effectively preserving only the high bits in the result. When you call math.random(1,100) from Lua, the low-bit difference vanishes and you see the same integer result.

    -- improve seeding on these platforms by throwing away the high part of time, 
    -- then reversing the digits so the least significant part makes the biggest change
    -- NOTE this should not be considered a replacement for using a stronger random function
    -- ~ferrix
    math.randomseed( tonumber(tostring(os.time()):reverse():sub(1,6)) )

There is also lrandom[5] A library for generating random numbers based on the Mersenne Twister. 
Some people are so anal about their random numbers. I mean really, you never know if it is actually random!
Sage advice from a friend of Jim: So put your tinfoil hat back in the closet, open your eyes to the truth, and realize that the government is in fact causing austismal cancer with it's 9/11 fluoride vaccinations of your water supply.
Experienced Forum User, Published Author, Skilled player (1637)
Joined: 11/15/2004
Posts: 2202
Location: Killjoy
jlun2 wrote:
Derakon wrote:
The $10k presumably refers to the cost of buying one of the NWC carts. DarkKobold already has a TASBot for replaying TASes on the real hardware.
You could buy a reproduction cart for 50$ somewhere. :P Edit: TOTALLY CENSORED!
Shhhhh.... I want someone to buy me a real copy of NWC for my collection.... >_<
Sage advice from a friend of Jim: So put your tinfoil hat back in the closet, open your eyes to the truth, and realize that the government is in fact causing austismal cancer with it's 9/11 fluoride vaccinations of your water supply.
Experienced Forum User, Published Author, Skilled player (1637)
Joined: 11/15/2004
Posts: 2202
Location: Killjoy
The score run I'd like to see competed/published is Nintendo World Championship, for the full 6:35 or whatever it is. It would be interesting to see the TAS strategies that people come up with, and how much we can beat the current world record, as well as the 1991 record. Oh, and if anyone has an extra $10,000 lying around, I will totally verify it too.
Sage advice from a friend of Jim: So put your tinfoil hat back in the closet, open your eyes to the truth, and realize that the government is in fact causing austismal cancer with it's 9/11 fluoride vaccinations of your water supply.
Experienced Forum User, Published Author, Skilled player (1637)
Joined: 11/15/2004
Posts: 2202
Location: Killjoy
moozooh wrote:
No seriously, if this guy is not the TASer of the Year, I'll eat my hat.
x2poet?
Sage advice from a friend of Jim: So put your tinfoil hat back in the closet, open your eyes to the truth, and realize that the government is in fact causing austismal cancer with it's 9/11 fluoride vaccinations of your water supply.
Experienced Forum User, Published Author, Skilled player (1637)
Joined: 11/15/2004
Posts: 2202
Location: Killjoy
kaizoman666 wrote:
dunnius wrote:
I think getting the full credits would be preferred if it is possible. (that other video started from "Thank You")
Nope, its not possible. The base of the glitch lies in $0100, the game mode. According to this chart, there is a fade for Yoshi's House (1C), a fade for the enemy list (20), and a fade for the end (26). However, there is no fade nor load for the credits themselves. This is because that is part of Bowser's code, and can not be easily accessed without him. So yeah, the most of the credits you can get is from the Yoshis. Personally, I find going straight to the end more entertaining because it provides an even bigger "broken" feel. I suppose a bonus game Yoshi's House is pretty crazy too, but skipping the whole thing would leave a lasting impression on the viewer.
Going straight to the end screen doesn't really feel like anything other than an accidental glitch, more than an intentional game ending. Additionally, unlike the yoshi credits, the music of the level keeps playing, which makes it seem more like just a splash screen, and less like an actual accomplishment.
Sage advice from a friend of Jim: So put your tinfoil hat back in the closet, open your eyes to the truth, and realize that the government is in fact causing austismal cancer with it's 9/11 fluoride vaccinations of your water supply.
Experienced Forum User, Published Author, Skilled player (1637)
Joined: 11/15/2004
Posts: 2202
Location: Killjoy
From wikipedia: "In the west, the Super Sentai Series are best known as the source material for the American Power Rangers franchise." Also, yes vote.
Sage advice from a friend of Jim: So put your tinfoil hat back in the closet, open your eyes to the truth, and realize that the government is in fact causing austismal cancer with it's 9/11 fluoride vaccinations of your water supply.
Experienced Forum User, Published Author, Skilled player (1637)
Joined: 11/15/2004
Posts: 2202
Location: Killjoy
Nice, another 2005 movie bites the dust. Will watch and vote later.
Sage advice from a friend of Jim: So put your tinfoil hat back in the closet, open your eyes to the truth, and realize that the government is in fact causing austismal cancer with it's 9/11 fluoride vaccinations of your water supply.
Experienced Forum User, Published Author, Skilled player (1637)
Joined: 11/15/2004
Posts: 2202
Location: Killjoy
nfq wrote:
astrotheology
Wow, that is lulz worthy.
Sage advice from a friend of Jim: So put your tinfoil hat back in the closet, open your eyes to the truth, and realize that the government is in fact causing austismal cancer with it's 9/11 fluoride vaccinations of your water supply.
Experienced Forum User, Published Author, Skilled player (1637)
Joined: 11/15/2004
Posts: 2202
Location: Killjoy
Dada wrote:
...but let's all try to take some time out of our busy schedules of buying mostly unnecessary things for each other to acknowledge that we're all idiots, and that our idiocy is what makes us human. And watch out with fireworks.
Fireworks on X-mas? Whoa. Also, buying shit is awesome.
Sage advice from a friend of Jim: So put your tinfoil hat back in the closet, open your eyes to the truth, and realize that the government is in fact causing austismal cancer with it's 9/11 fluoride vaccinations of your water supply.
Experienced Forum User, Published Author, Skilled player (1637)
Joined: 11/15/2004
Posts: 2202
Location: Killjoy
Warp wrote:
And if you are interested in knowing why that pseudodocumentary is full of bullshit, read this: http://conspiracies.skepticproject.com/articles/zeitgeist
Thank you, Warp.
Sage advice from a friend of Jim: So put your tinfoil hat back in the closet, open your eyes to the truth, and realize that the government is in fact causing austismal cancer with it's 9/11 fluoride vaccinations of your water supply.
Experienced Forum User, Published Author, Skilled player (1637)
Joined: 11/15/2004
Posts: 2202
Location: Killjoy
Masterjun wrote:
CoolKirby wrote:
but is it faster to jump to the The End screen or the Thank You screen (with enemy info following it)?
jumping to "THE END" screen is like 2 or 3 frames faster, since you have to move the camera a little bit more. (you have to jump a bit further to the right [URL=http://s7.directupload.net/images/111202/ubhwuszc.png]here[/URL])
I still think going to the credits is more impressive, and worth the 2-3 extra frames. I'm assuming the multiple fish are created to advance the RNG fast. Anyway, does this mean it is almost ready for submission?
andrewg wrote:
uhhhhhhhhh... wow. I often wonder if many other games can be beaten in a similar way.
I do as well - notice that this only seems to occur with very-TASed games - Rockman, Pokemon Yellow, Super Mario Land 2, and now Super Mario World. Makes you wonder how many insane glitches we are missing in less touched titles... and may never see the light of day.
Sage advice from a friend of Jim: So put your tinfoil hat back in the closet, open your eyes to the truth, and realize that the government is in fact causing austismal cancer with it's 9/11 fluoride vaccinations of your water supply.
Experienced Forum User, Published Author, Skilled player (1637)
Joined: 11/15/2004
Posts: 2202
Location: Killjoy
Are any encoders working on an official encode?
Sage advice from a friend of Jim: So put your tinfoil hat back in the closet, open your eyes to the truth, and realize that the government is in fact causing austismal cancer with it's 9/11 fluoride vaccinations of your water supply.
Experienced Forum User, Published Author, Skilled player (1637)
Joined: 11/15/2004
Posts: 2202
Location: Killjoy
[Rule 74, Part 2. That is all.
Sage advice from a friend of Jim: So put your tinfoil hat back in the closet, open your eyes to the truth, and realize that the government is in fact causing austismal cancer with it's 9/11 fluoride vaccinations of your water supply.
Experienced Forum User, Published Author, Skilled player (1637)
Joined: 11/15/2004
Posts: 2202
Location: Killjoy
Slowking wrote:
On the other hand the OoT run uses RAM editing to skip every dungeon and it's normal any%. Guess categorys are not that well defined on this site. :D
OoT uses multiple glitches to skip all the dungeons (roll past door of time, RAM editing, possibly more). Therefore, it is impossible to disallow one glitch to force the player to do all the temples. Instead, there is an all-temples run. In these cases, it is possible to have a run that outlaws the use of a single glitch, and have it follow the path of a standard any%. Additionally, it is impossible to have perfectly defined categories that encompass every single situation. However, any simpleton could point out flaws in these naming systems; they are less than perfect.
Sage advice from a friend of Jim: So put your tinfoil hat back in the closet, open your eyes to the truth, and realize that the government is in fact causing austismal cancer with it's 9/11 fluoride vaccinations of your water supply.
Post subject: Re: Season greetings
Experienced Forum User, Published Author, Skilled player (1637)
Joined: 11/15/2004
Posts: 2202
Location: Killjoy
Warp wrote:
Happy non-religion specific celebration of a festivity happening on or close to the winter solstice, or lack thereof.
HOW DARE YOU START A WAR ON CHRISTMAS ON THIS SITE?!? EVEN THOUGH THE CHRISTIAN HOLIDAY TOOK THE DATE FROM THE PAGAN HOLIDAY OF THE WINTER SOLSTICE, AND WAS CO-OPTED BY THE EMPEROR CONSTANTINE TO MAKE THE TRANSITION TO CHRISTIANITY EASIER, I AM EXTREMELY ANGRY! RAGE!
Sage advice from a friend of Jim: So put your tinfoil hat back in the closet, open your eyes to the truth, and realize that the government is in fact causing austismal cancer with it's 9/11 fluoride vaccinations of your water supply.
Experienced Forum User, Published Author, Skilled player (1637)
Joined: 11/15/2004
Posts: 2202
Location: Killjoy
Slowking wrote:
This is really awesome! Might be a little hard to put this in a "glitched" category, but not the other, because the other uses quite some glitches as well. Maybe make this the default any% and call the other "no gameending glitch" or something. Btw. I still hope whoever is working on the current any% finishes that one first before doing one with this new glitch. I really want to see a how fast a run can get without directly glitching to the ending.
I see it most similar to the X-ray glitch in Super Metroid, or the pipe glitch in Super Mario Land 2. However, in the former case, the x-ray glitch is called the glitched category, since it relies on one game breaking glitch. The latter obsoleted the any% run, because both the previous any% run and the current run both use the pipe glitch. A non-pipe-glitch any% run could still fit on the site. This one is only less obvious, because both runs will use Yoshi. However, one relies on the null-spit glitch, and the other is a sprite-replace-swallow glitch.
Sage advice from a friend of Jim: So put your tinfoil hat back in the closet, open your eyes to the truth, and realize that the government is in fact causing austismal cancer with it's 9/11 fluoride vaccinations of your water supply.
Experienced Forum User, Published Author, Skilled player (1637)
Joined: 11/15/2004
Posts: 2202
Location: Killjoy
My feeling is that this game should not be treated as a normal NES title, but more like we treat hacks - the hack has to be of sufficient value in addition to the quality of the TAS. This game is very poorly implemented, executed, etc. In the last submission, most votes were "yes, because it is short." However, you have to burn the rope was also short, and was not accepted, because of the lack of actual depth. I played this game (when I thought I would be judging it.) While the game is longer (you have to get a key card to go the roof), there is not an extreme amount of depth. Additionally, there isn't much here that screams TAS. Even the one glitch is easy to implement in real time. No vote.
Sage advice from a friend of Jim: So put your tinfoil hat back in the closet, open your eyes to the truth, and realize that the government is in fact causing austismal cancer with it's 9/11 fluoride vaccinations of your water supply.
Experienced Forum User, Published Author, Skilled player (1637)
Joined: 11/15/2004
Posts: 2202
Location: Killjoy
Welcome to TASVideos! It's great to see a new TASer join our community. However, unfortunately your submission doesn't meet our rules and regulations. Specifically, * Fails to beat known records. For these reasons, I am canceling your submission. If you feel I've made a mistake, please contact me by clicking on the "PM" button at the bottom of this post. Otherwise, please don't give up! We're happy to help you refine your work. Make a new thread in the Newbie Corner, or find the existing thread for your game of choice, and we can give you feedback on how to make a truly great TAS.
Sage advice from a friend of Jim: So put your tinfoil hat back in the closet, open your eyes to the truth, and realize that the government is in fact causing austismal cancer with it's 9/11 fluoride vaccinations of your water supply.
Experienced Forum User, Published Author, Skilled player (1637)
Joined: 11/15/2004
Posts: 2202
Location: Killjoy
agwawaf wrote:
True. I didn't say I have rated unequal. I rated seriously. I rated game I am not familiar with seriously and then my rates went that.
Your rates just happen to match perfectly what others rated you? Additionally, your first comment suggested that you had rated out of vengeance. I'd strongly suggest you consider removing those ratings, seeing as you admitted it was out of revenge; otherwise, they'll be removed for you.
Sage advice from a friend of Jim: So put your tinfoil hat back in the closet, open your eyes to the truth, and realize that the government is in fact causing austismal cancer with it's 9/11 fluoride vaccinations of your water supply.
Experienced Forum User, Published Author, Skilled player (1637)
Joined: 11/15/2004
Posts: 2202
Location: Killjoy
Derakon wrote:
I note that the #20 entry on this list was #116 in the original ratings -- in other words, the 14 games or game series in the exclusion list managed to fill in almost 100 songs in the top 116.
That is pretty bad, imo.
Sage advice from a friend of Jim: So put your tinfoil hat back in the closet, open your eyes to the truth, and realize that the government is in fact causing austismal cancer with it's 9/11 fluoride vaccinations of your water supply.
Experienced Forum User, Published Author, Skilled player (1637)
Joined: 11/15/2004
Posts: 2202
Location: Killjoy
One of my personal favorites, cheetahmen II, ranked around 1100. :(
Sage advice from a friend of Jim: So put your tinfoil hat back in the closet, open your eyes to the truth, and realize that the government is in fact causing austismal cancer with it's 9/11 fluoride vaccinations of your water supply.
Experienced Forum User, Published Author, Skilled player (1637)
Joined: 11/15/2004
Posts: 2202
Location: Killjoy
This was.... awful. Sorry, bad pirate game, very little interesting gameplay... Just bad.
Sage advice from a friend of Jim: So put your tinfoil hat back in the closet, open your eyes to the truth, and realize that the government is in fact causing austismal cancer with it's 9/11 fluoride vaccinations of your water supply.
Experienced Forum User, Published Author, Skilled player (1637)
Joined: 11/15/2004
Posts: 2202
Location: Killjoy
This run is deep. Bill "Mad Dog" Rizer understands that soldiers on the other side are simply doing their job, attempting to stophim. He acknowledges that they are just doing what they are told. He spares those who are not in charge. War is ugly, Bill Rizer is the shining beacon of light. Perhaps the Mad Dog is the Wise Dog.
Sage advice from a friend of Jim: So put your tinfoil hat back in the closet, open your eyes to the truth, and realize that the government is in fact causing austismal cancer with it's 9/11 fluoride vaccinations of your water supply.
Experienced Forum User, Published Author, Skilled player (1637)
Joined: 11/15/2004
Posts: 2202
Location: Killjoy
Welcome to TASVideos! It's great to see a new TASer join our community. However, unfortunately your submission doesn't meet our rules and regulations. Specifically, * Uses cheat codes. * Fails to beat best records * Bad goal choices. For these reasons, I am cancelling your submission. If you feel I've made a mistake, please contact me by clicking on the "PM" button at the bottom of this post. Otherwise, please don't give up! We're happy to help you refine your work. Make a new thread in the Newbie Corner, or find the existing thread for your game of choice, and we can give you feedback on how to make a truly great TAS.
Sage advice from a friend of Jim: So put your tinfoil hat back in the closet, open your eyes to the truth, and realize that the government is in fact causing austismal cancer with it's 9/11 fluoride vaccinations of your water supply.
Experienced Forum User, Published Author, Skilled player (1637)
Joined: 11/15/2004
Posts: 2202
Location: Killjoy
I can't figure out - with 800 (NTSC) NES games, and even more Famicom games - most games on this list are repeated numerous times over... Shatterhand takes up 10 or so spots, Castlevania 2 & 3 another 10, and Mega Man 2 & 3 take up another 10.... There don't seem to be many games out of nowhere...
Sage advice from a friend of Jim: So put your tinfoil hat back in the closet, open your eyes to the truth, and realize that the government is in fact causing austismal cancer with it's 9/11 fluoride vaccinations of your water supply.