Development Blog Update - Tomorrow's engine test

1262729313247

Comments

  • ozmonatovozmonatov Join Date: 2010-04-09 Member: 71267Members
    <!--quoteo(post=1764456:date=Apr 10 2010, 02:26 AM:name=XainGM)--><div class='quotetop'>QUOTE (XainGM @ Apr 10 2010, 02:26 AM) <a href="index.php?act=findpost&pid=1764456"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec--><img src="http://www.computermagic.gr/Fun/StrangeMaths/FromWhereComesThisHole/FromWhereComesThisHoleUK.gif" border="0" class="linked-image" /><!--QuoteEnd--></div><!--QuoteEEnd-->

    For the one interested/bored-out-of-hell, <a href="http://www.cut-the-knot.org/Curriculum/Fallacies/CurryParadox.shtml" target="_blank">here's</a> something to read about Curry's "paradox" while waiting. It even has an applet you can play with, yay!
  • F O XF O X Join Date: 2010-02-20 Member: 70652Members
    I'm gonna eat all my medication if they don't give a link in the next hour.
  • kefka0kefka0 Join Date: 2010-04-09 Member: 71268Members
    <!--quoteo(post=1764484:date=Apr 10 2010, 02:39 AM:name=XainGM)--><div class='quotetop'>QUOTE (XainGM @ Apr 10 2010, 02:39 AM) <a href="index.php?act=findpost&pid=1764484"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->what does that have to do with the problem? ad the sum of each piece, then see if that equals the sum of the total triangle. If it does, then how can the bottom triangle be true?<!--QuoteEnd--></div><!--QuoteEEnd-->

    Here's a good way to understand, if you haven't yet. The green triangle is 5 units wide, 2 units tall, so its slope is 2/5. The red triangle is 8 units wide, 3 units tall, its slope is 3/8. 2/5 is not equal to 3/8, although it is close. So when the triangles are lined up it looks like its a continuous line but the slops are different, therefore you dont have a real triangle, in either diagram.
  • AnthoniAnthoni Join Date: 2009-04-10 Member: 67129Members
    edited April 2010
    --This is a comment in Lua
    --[[
    This is a multi-line comment in Lua
    ]]--

    str = "String" --That is a string
    num = 343 --That is a number

    --if statement
    if (num == 343) then
    --Do Something
    end

    --Tables
    TBL_A = { 4, 5, 6 }

    TBL_B = {}
    TBL_B.a = 5
    TBL_B.b = 6
    TBL_B.c = 7
  • ZEROibisZEROibis Join Date: 2009-10-30 Member: 69176Members, Constellation
    <!--quoteo(post=1764472:date=Apr 9 2010, 08:33 PM:name=FocusedWolf)--><div class='quotetop'>QUOTE (FocusedWolf @ Apr 9 2010, 08:33 PM) <a href="index.php?act=findpost&pid=1764472"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->The area used up by the blocks is the same. Their just in a configuration that doesn't resemble a solid triangle. Seriously want ns2 now lol.<!--QuoteEnd--></div><!--QuoteEEnd-->

    Actually the slope of the top line is slightly different.
  • IeptBarakatIeptBarakat The most difficult name to speak ingame. Join Date: 2009-07-10 Member: 68107Members, Constellation, NS2 Playtester, Squad Five Blue, NS2 Map Tester, Reinforced - Diamond, Reinforced - Shadow
    Dammit why is every number I notice 343!?
  • AnthoniAnthoni Join Date: 2009-04-10 Member: 67129Members
    lua_number = 434 --Muhahahahaha
  • remiremi remedy [blu.knight] Join Date: 2003-11-18 Member: 23112Members, Super Administrators, Forum Admins, NS2 Developer, NS2 Playtester
    <!--quoteo(post=1764469:date=Apr 9 2010, 05:32 PM:name=XainGM)--><div class='quotetop'>QUOTE (XainGM @ Apr 9 2010, 05:32 PM) <a href="index.php?act=findpost&pid=1764469"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->What? no, they are exactly the same. Measure them if you want. Print it out and you can re-configure them as shown.<!--QuoteEnd--></div><!--QuoteEEnd-->
    No what he means is that the whole shape is not actually a triangle though it looks very close. The two smaller triangles are not mathematically similar. This is where the "extra" space comes from.
  • F O XF O X Join Date: 2010-02-20 Member: 70652Members
    Ok then i'm gonna spam some code too randomly picked from one of my project :

    foreach ($separe as $vkey => $vvalue) {
    $vnewkey = $vkey+1;
    $vcond = $vcond . "'$vvalue'";
    if ($vnewkey < $nbmots) {
    $vcond = $vcond . " OR mot_mot=";
    }
    }

    $ccexp = mysql_query("
    SELECT mc.moc_id
    FROM t_motcle AS mc
    INNER JOIN t_mot AS m ON mc.mot_id = m.mot_id
    WHERE (
    (m.mot_mot = '$onlymot' AND mc.mot_ordre = 1)
    ) AND NOT EXISTS (
    SELECT *
    FROM t_motcle AS p2
    WHERE p2.moc_id = mc.moc_id
    AND p2.mot_ordre = 2
    )
    GROUP BY mc.moc_id
    HAVING COUNT(*) = 1
    ");
    $nbrepr = mysql_num_rows($ccexp);
  • CowThingCowThing Join Date: 2010-03-03 Member: 70818Members
    function nsrelease(date)
    if date == now then
    happy = true
    end
    end
  • cerberus414cerberus414 Join Date: 2005-05-07 Member: 51098Members, Constellation, Reinforced - Shadow
    Egg or a chicken.... Go
  • FocusedWolfFocusedWolf Join Date: 2005-01-09 Member: 34258Members
    edited April 2010
    <!--quoteo(post=1764498:date=Apr 9 2010, 09:41 PM:name=wulf)--><div class='quotetop'>QUOTE (wulf @ Apr 9 2010, 09:41 PM) <a href="index.php?act=findpost&pid=1764498"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->I think I'll go chase some leprechauns to pass the time.

    <a href="http://www.youtube.com/watch?v=nda_OSWeyn8" target="_blank">http://www.youtube.com/watch?v=nda_OSWeyn8</a><!--QuoteEnd--></div><!--QuoteEEnd-->

    lol i take your youtube video that makes fun of dumb people, which all just happen to be African American in this video, and raise you some excellent college humor videos:

    <a href="http://www.youtube.com/watch?v=yX8yrOAjfKM" target="_blank">http://www.youtube.com/watch?v=yX8yrOAjfKM</a>

    <a href="http://www.youtube.com/watch?v=HBsdV--kLoQ" target="_blank">http://www.youtube.com/watch?v=HBsdV--kLoQ</a>
  • ZEROibisZEROibis Join Date: 2009-10-30 Member: 69176Members, Constellation
    edited April 2010
    <!--quoteo(post=1764509:date=Apr 9 2010, 08:46 PM:name=Psyke)--><div class='quotetop'>QUOTE (Psyke @ Apr 9 2010, 08:46 PM) <a href="index.php?act=findpost&pid=1764509"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->No what he means is that the whole shape is not actually a triangle though it looks very close. The two smaller triangles are not mathematically similar. This is where the "extra" space comes from.<!--QuoteEnd--></div><!--QuoteEEnd-->
    Yea that is what I said. If they were the same they would have lines of the same slope. I was just pointing out that line b/c you see that right away.
  • ToneeTonee Wub wuB UK Join Date: 2003-10-25 Member: 21926Members, Constellation
    <!--quoteo(post=1764512:date=Apr 10 2010, 02:48 AM:name=cerberus5)--><div class='quotetop'>QUOTE (cerberus5 @ Apr 10 2010, 02:48 AM) <a href="index.php?act=findpost&pid=1764512"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->Egg or a chicken.... Go<!--QuoteEnd--></div><!--QuoteEEnd-->

    The Chicken came first, it then caught a disease that enabled itself to duplicate
  • PipiPipi Join Date: 2009-12-09 Member: 69550Members
    <!--quoteo(post=1764499:date=Apr 9 2010, 09:41 PM:name=ChuckstarNL)--><div class='quotetop'>QUOTE (ChuckstarNL @ Apr 9 2010, 09:41 PM) <a href="index.php?act=findpost&pid=1764499"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->We really need a NS2 riddle mod now. Pipi, get crackin' on it. :P<!--QuoteEnd--></div><!--QuoteEEnd-->

    I'd most likely be working on the Gorge race mod ! :D
  • ZEROibisZEROibis Join Date: 2009-10-30 Member: 69176Members, Constellation
    Also how long is this taking to build. Dam they should have just sent me the source and I could have built and tormented it by now!
  • douchebagatrondouchebagatron Custom member title Join Date: 2003-12-20 Member: 24581Members, Constellation, Reinforced - Shadow
    <!--quoteo(post=1764456:date=Apr 9 2010, 08:26 PM:name=XainGM)--><div class='quotetop'>QUOTE (XainGM @ Apr 9 2010, 08:26 PM) <a href="index.php?act=findpost&pid=1764456"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec--><img src="http://www.computermagic.gr/Fun/StrangeMaths/FromWhereComesThisHole/FromWhereComesThisHoleUK.gif" border="0" class="linked-image" /><!--QuoteEnd--></div><!--QuoteEEnd-->
    green triangle has slope of -2/5, orange triangle has slope of -3/8s. it's not a triangle, just looks like one. the point where the green triangle meets the orange is a vertex, there is an angle there, it's just not immediately obvious.
  • AnthoniAnthoni Join Date: 2009-04-10 Member: 67129Members
    --[[
    This is an example. NOT actual NS2 Lua API
    ]]--

    WEAPON = {}

    WEAPON.Damage = 5
    WEAPON.Recoil = 1
    WEAPON.Sound = "sounds/fire1.wav"

    function WEAPON:PrimaryFire()
    local pl = WEAPON:GetOwner()
    local trace = pl:GetTraceRes()
    local ent = trace:Entity()

    if ( ent == "client") then
    ent:AddHealth( -10 )
    end

    end
  • ItalianmagicItalianmagic Join Date: 2008-12-13 Member: 65755Members
    <!--quoteo(post=1764475:date=Apr 9 2010, 09:34 PM:name=Pipi)--><div class='quotetop'>QUOTE (Pipi @ Apr 9 2010, 09:34 PM) <a href="index.php?act=findpost&pid=1764475"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->Riddle: <b>A man has a few eggs in a basket and is selling them. First customer buys one-half of all his eggs plus one half of an egg. Second customer buys one-half of all his eggs plus one half of an egg. Third customer buys one-half of all his eggs plus one half of an egg. The man has sold all his eggs without breaking one. How many eggs did the man have in his basket?</b><!--QuoteEnd--></div><!--QuoteEEnd-->

    Pipi... i got a riddle for you...

    Riddle: If Billy has 4 apples and Susie has 9, why don't they just shut up and eat?
  • SteeeeveSteeeeve Join Date: 2004-02-18 Member: 26684Members, Constellation
    <!--quoteo(post=1764486:date=Apr 9 2010, 09:39 PM:name=Prefix)--><div class='quotetop'>QUOTE (Prefix @ Apr 9 2010, 09:39 PM) <a href="index.php?act=findpost&pid=1764486"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->The green triangle has a w:h ratio of 5:2 and the red 8:3, they arn't the same.

    It creates a space by moving the triangles around, but it is the same area.<!--QuoteEnd--></div><!--QuoteEEnd-->Also called the "slope" of the line. The top object is bowed "in" a little and the bottom is bowed "out" a little created space for one square :)
  • fodder0fodder0 Join Date: 2003-11-17 Member: 23067Members
    i feel something coming
  • kefka0kefka0 Join Date: 2010-04-09 Member: 71268Members
    <!--quoteo(post=1764511:date=Apr 10 2010, 02:48 AM:name=CowThing)--><div class='quotetop'>QUOTE (CowThing @ Apr 10 2010, 02:48 AM) <a href="index.php?act=findpost&pid=1764511"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->function nsrelease(date)
    if date == now then
    happy = true
    end
    end<!--QuoteEnd--></div><!--QuoteEEnd-->

    while (true)
    {
    print("NS2 Release in ") + (int)rand()*100 + ("days");
    }

    releaseNS2();
  • EddieEddie Join Date: 2004-10-22 Member: 32412Members, Constellation
    <!--quoteo(post=1764510:date=Apr 9 2010, 08:47 PM:name=F O X)--><div class='quotetop'>QUOTE (F O X @ Apr 9 2010, 08:47 PM) <a href="index.php?act=findpost&pid=1764510"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->Ok then i'm gonna spam some code too randomly picked from one of my project :

    foreach ($separe as $vkey => $vvalue) {
    $vnewkey = $vkey+1;
    $vcond = $vcond . "'$vvalue'";
    if ($vnewkey < $nbmots) {
    $vcond = $vcond . " OR mot_mot=";
    }
    }

    $ccexp = mysql_query("
    SELECT mc.moc_id
    FROM t_motcle AS mc
    INNER JOIN t_mot AS m ON mc.mot_id = m.mot_id
    WHERE (
    (m.mot_mot = '$onlymot' AND mc.mot_ordre = 1)
    ) AND NOT EXISTS (
    SELECT *
    FROM t_motcle AS p2
    WHERE p2.moc_id = mc.moc_id
    AND p2.mot_ordre = 2
    )
    GROUP BY mc.moc_id
    HAVING COUNT(*) = 1
    ");
    $nbrepr = mysql_num_rows($ccexp);<!--QuoteEnd--></div><!--QuoteEEnd-->

    You have more SQL then Lua there buddy
  • madgunamadguna Join Date: 2010-03-19 Member: 71016Members
    <!--quoteo(post=1764524:date=Apr 9 2010, 09:52 PM:name=fodder0)--><div class='quotetop'>QUOTE (fodder0 @ Apr 9 2010, 09:52 PM) <a href="index.php?act=findpost&pid=1764524"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->i feel something coming<!--QuoteEnd--></div><!--QuoteEEnd-->

    That's what she said!
  • AnthoniAnthoni Join Date: 2009-04-10 Member: 67129Members
  • sadistisadisti Join Date: 2010-04-09 Member: 71269Members
    One thing I miss in new FPS games, the chicken cannon. Get to work modders.

    Also, I need new pants.
  • CowThingCowThing Join Date: 2010-03-03 Member: 70818Members
    <!--quoteo(post=1764524:date=Apr 9 2010, 08:52 PM:name=fodder0)--><div class='quotetop'>QUOTE (fodder0 @ Apr 9 2010, 08:52 PM) <a href="index.php?act=findpost&pid=1764524"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->i feel something coming<!--QuoteEnd--></div><!--QuoteEEnd-->
    So do I.


    If you know what I mean.
  • kdracukdracu Join Date: 2010-04-09 Member: 71262Members
    <!--quoteo(post=1764524:date=Apr 10 2010, 04:52 AM:name=fodder0)--><div class='quotetop'>QUOTE (fodder0 @ Apr 10 2010, 04:52 AM) <a href="index.php?act=findpost&pid=1764524"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->i feel something coming<!--QuoteEnd--></div><!--QuoteEEnd-->
    STOP IT WITH THE TEASING DUDE.. i was almost in bed sleeping..
  • Draco_2kDraco_2k Evil Genius Join Date: 2009-12-09 Member: 69546Members
    <!--quoteo(post=1764524:date=Apr 10 2010, 04:52 AM:name=fodder0)--><div class='quotetop'>QUOTE (fodder0 @ Apr 10 2010, 04:52 AM) <a href="index.php?act=findpost&pid=1764524"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->i feel something coming<!--QuoteEnd--></div><!--QuoteEEnd-->
    Sorry.
  • ItalianmagicItalianmagic Join Date: 2008-12-13 Member: 65755Members
    <!--quoteo(post=1764525:date=Apr 9 2010, 09:52 PM:name=kefka0)--><div class='quotetop'>QUOTE (kefka0 @ Apr 9 2010, 09:52 PM) <a href="index.php?act=findpost&pid=1764525"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->while (true)
    {
    print("NS2 Release in ") + (int)rand()*100 + ("days");
    }

    releaseNS2();<!--QuoteEnd--></div><!--QuoteEEnd-->

    for (int timeRemaining = 10; timeRemaining > 0; timeRemaining++) {
    print("Another second passes, we're going to release soon!");
    }
    releaseNS2();
Sign In or Register to comment.