Recent comments

  • Benchmarking Lua   12 years 40 weeks ago

    Using http://sourceforge.net/p/safelua/wiki/LuaJIT%20binaries/ since I'm a lowly windows user and amateur modder :)

    Respective times: 0.015, 0.094, 0.093, 0.469, 0.279, 0.015

    Analysis: about ten times faster with JIT in general, but only 5x faster with math.sin; difference between math.sqrt and ^0.5 disappears; comparison of number and string act the same, fluctuate between 0 and 0.32

    So, rough rule, you get ten times as many instructions with JIT :)

    edit: oh, and no longer a fresh boot, which probably matters; i have little doubt that I am part of multiple botnets since I'm the kind of guy that just downloads binaries instead of compiling from source :)

    Looking at the number of brutally basic instructions in the first loop, and doing a little math, it appears that I'm processing about 2.6 billion instructions per second with Lua JIT. Which makes sense, since I'm running a 2.6gHz processor, I'm just surprised to see perfect efficiency. 0.016 appears to be the limit of precision returned from os.clock()-- that's about a 60th of a second, so that's a good amount of precision.

  • Benchmarking Lua   12 years 40 weeks ago

    Rule number 1 of optimization: Premature optimization is the root of all evil :)

    Oh and ToME uses luajit2 already

  • Benchmarking Lua   12 years 40 weeks ago

    math.randomseed(1234); local time = os.clock(); local p; for i=1, 10^7 do p = math.sin(math.random()*math.pi*2) end; print(os.clock()-time)
    0.766

    math.randomseed(1234); local sintable = {};local sin = function(x) if not sintable[x] then sintable[x] = math.sin(x) end
    return sintable[x] end; local time = os.clock(); local p; for i=1, 10^7 do p = sin(math.random()*math.pi*2) end; print(os.clock()-time)
    7.36

    Conclusion: random is too good, we're not memoizing anything :)

    math.randomseed(1234); local time = os.clock(); local p; for i=1, 10^7 do a = 360*math.floor(math.random()*math.pi*2*360);p = math.sin(a) end; print(os.clock()-time)
    0.9529

    math.randomseed(1234); local sintable = {};local sin = function(x) if not sintable[x] then sintable[x] = math.sin(x) end return sintable[x] end
    local time = os.clock(); local p; for i=1, 10^7 do a = 360*math.floor(math.random()*math.pi*2*360);p = sin(a) end;print(os.clock()-time)
    0.922

    Conclusion: don't bother memoizing sin tables, not worth it.

  • Benchmarking Lua   12 years 40 weeks ago

    See title.

    LuaJIT is your friend (regarding performance), DarkGod. :)

  • New awesome, timed, ingame event!   12 years 40 weeks ago

    A permanent artifact across characters of this power is sure to imbalance the game.

  • Ruined Dungeon   12 years 40 weeks ago

    I took the time to dig out every single mine-able wall, and no dice. The missing mob seems to have straight up disappeared.

  • Fated Beta   12 years 40 weeks ago

    appears to be working, loads to character select screen.

  • Fated Beta   12 years 40 weeks ago

    I'm not totally sure, but I believe I've just fixed your problem in a new version. Can you post on the forum thread if you have further problems? Easier to get details there. (It's a very high priority for me to fix any problems, but sometimes I need more info to do it right.)

  • New awesome, timed, ingame event!   12 years 40 weeks ago

    This artifact gives me a vision of the future.... It is DarkGod... He is tied to a pole... being stoned... by *spoiler*...

    The future NEVER lies.

    Good event, Kudos on being clever!

  • Fated Beta   12 years 40 weeks ago

    standard graphical

  • Fated Beta   12 years 40 weeks ago

    Are you, by any chance, using Classic UI?

  • Fated Beta   12 years 40 weeks ago

    completely bugged under 1.0.1

    Wont run.

  • Werebeast Class   12 years 40 weeks ago

    Without a solid way(talent) of lower equilibrium, the EQ based talents are a waste....the heal/devour simply dont return enough equilibrium.

    Am i missing something??

  • New awesome, timed, ingame event!   12 years 40 weeks ago

    I'd like to see this powerful artefact in the regular store. 1000g is a good price.

  • Werebeast Class   12 years 40 weeks ago

    update for new version??

  • Druid Class   12 years 40 weeks ago

    Hello Housepet!!!! Excellent work, i think this class may be worthy of inclusion in the base game....Darkgod?:)

    Hey umm....in Druid Class Beta 2, could you change Water spout and Bolts from the Blue to *NOT* hit your own character? Particularly with Bolts from the blue...to hit yourself and get an auto daze is pretty much GG post 30. I havent tested everything out but skills that cause you to hit yourself at random are umm...bad:)

    Also, DG may not like a class with AM base, as it somewhat short circuits the Whole Zigur line.

    Could you replace AM with something like a Shape changing skill set??(Wildshaper).

  • Backup Guardians   12 years 41 weeks ago

    Deleted as I've found how to edit.

  • Tales of Maj'Eyal is available on Shiny Loot!   12 years 41 weeks ago

    Does anyone know if Shiny Loot supports paying through iDeal?

  • Tales of Maj'Eyal is available on Shiny Loot!   12 years 41 weeks ago

    Waiting to see it on Steam though. Donated through the site already. Is there cosmetic value for also getting it from shinyloot? :) Else rather keep the dona train running here.

    This minion is having great fun.

  • All Rare Monsters, All The Time   12 years 41 weeks ago

    The addon hasn't been updated for newer versions of the game (notice it says it's for b43) and is thus considered incompatible by the game. To find out if it actually is incompatible would require having a look at the code.

  • classes-brawler   12 years 41 weeks ago

    Well written and detailed,i am positive this will help people play those (sometimes frustrating)brawlers!

  • All Rare Monsters, All The Time   12 years 41 weeks ago

    I tried this a few times. I put it in the add-ons section, and opened the game, but it wasn't on the add-ons list there. This add-on sounds pretty cool, I would like to play it.

  • Evil deed: I wasted 200 years of mankind's time!   12 years 41 weeks ago

    At least I can claim 1 month of it, and it's 1 month I will never regret.

  • achievements   12 years 41 weeks ago
    Lol

    There [s]is[/s] was no comment here.

  • Evil deed: I wasted 200 years of mankind's time!   12 years 42 weeks ago

    The 200 year prohibition must end!