1. Post #1
    Gold Member
    LuaStoned's Avatar
    September 2007
    1,358 Posts
    A few people of you might now the game from FaceBook, others who don't just watch the pictures.

    At the moment it's at a quite playable/funny status, the only thing is, that i can't release it yet.

    Although you can test it here:
    217.172.178.120:27048 - Flood 2 | GMod.biz

    So, whats this game about? - Typing as fast & correct as you can!
    You can gain specials, and activate them by just typing in there name.
    -> fire: will remove all current words.
    -> slow: will slower the fall speed of all current words
    -> wind: will blow away all your missed/bad spelled words
    -> ice: will freeze all words for 10 seconds

    Pictures Old:



    Pictures New:


    I can't release it until i've found a way to pass the data clientside to my webhost, so if any of you know a secure way, just tell me :)
    Reply With Quote Edit / Delete Reply Austria Show Events Winner Winner x 2Friendly Friendly x 1 (list)

  2. Post #2
    Yobdren's Avatar
    June 2008
    2,394 Posts
    You could parse the words as you call them and check if they have x characters in them.

  3. Post #3
    leeetdude's Avatar
    April 2009
    434 Posts
    Sexy :P
    Reply With Quote Edit / Delete Reply Germany Show Events Optimistic Optimistic x 1 (list)

  4. Post #4
    Sykore's Avatar
    June 2008
    117 Posts
    Well Done The-Stone.
    Looks like you put some effort into this.
    Reply With Quote Edit / Delete Reply Australia Show Events Artistic Artistic x 1 (list)

  5. Post #5
    dill pickle pringle EXTREME

    May 2005
    479 Posts
    I don't see a words per minute statistic in those screenshots. Would be interesting to see.
    Reply With Quote Edit / Delete Reply United States Show Events Optimistic Optimistic x 1 (list)

  6. Post #6
    Gold Member
    Entoros's Avatar
    October 2008
    2,318 Posts
    local four = {}
    local five = {}
    local six = {}
    for _,v in ipairs(string.Explode("\n",file.Read("filepath.txt"))) do
    	local str = string.Trim(v)
    	local len = string.len(str)
    	if len == 4 then table.insert(four,str)
    	elseif len == 5 then table.insert(five,str)
    	elseif len == 6 then table.insert(six,str)
    	end
    end

    Just replace "filename.txt" with the data file.

    ...But because I'm so nice, I did it for you!

    Fours: http://pastebin.com/m372a2138
    Fives: http://pastebin.com/m3193b3f7
    Sixes: http://pastebin.com/m4733f819
    Reply With Quote Edit / Delete Reply United States Show Events Optimistic Optimistic x 1 (list)

  7. Post #7
    Gold Member
    LuaStoned's Avatar
    September 2007
    1,358 Posts
    local four = {}
    local five = {}
    local six = {}
    for _,v in ipairs(string.Explode("\n",file.Read("filepath.txt"))) do
    	local str = string.Trim(v)
    	local len = string.len(str)
    	if len == 4 then table.insert(four,str)
    	elseif len == 5 then table.insert(five,str)
    	elseif len == 6 then table.insert(six,str)
    	end
    end

    Just replace "filename.txt" with the data file.

    ...But because I'm so nice, I did it for you!

    Fours: http://pastebin.com/m372a2138
    Fives: http://pastebin.com/m3193b3f7
    Sixes: http://pastebin.com/m4733f819
    Wow, you are awesome dude! :D

    /could you tell me how you've done it? (with which programm)

    And ofc your name will be mentioned. (Is your FP name ok?)
    Reply With Quote Edit / Delete Reply Austria Show Events Optimistic Optimistic x 1 (list)

  8. Post #8
    Gold Member
    Sippeangelo's Avatar
    August 2006
    603 Posts
    There is no way to safely pass the data to your webhost.
    Reply With Quote Edit / Delete Reply Sweden Show Events Optimistic Optimistic x 1 (list)

  9. Post #9
    Gold Member
    LuaStoned's Avatar
    September 2007
    1,358 Posts
    There is no way to safely pass the data to your webhost.
    This is my main problem >:|

    €dit: Go and check it out at 217.172.178.120:27048 - Flood 2 | GMod.biz - it's up now! :)
    Reply With Quote Edit / Delete Reply Austria Show Events Artistic Artistic x 1 (list)

  10. Post #10
    I will huff and puff and FLIP YOUR FUCKING TABLES
    Lyokanthrope's Avatar
    October 2005
    7,190 Posts
    Aggh I hate this game.
    I get worse every time I play.
    Looks like a nice recreation in Lua though, nice job!

  11. Post #11
    leeetdude's Avatar
    April 2009
    434 Posts
    So, he cant update it now cause ftp is down.
    (Lol forgot to pay client cp bill...)
    Reply With Quote Edit / Delete Reply Germany Show Events Optimistic Optimistic x 1 (list)

  12. Post #12
    Gold Member
    Entoros's Avatar
    October 2008
    2,318 Posts
    Wow, you are awesome dude! :D

    /could you tell me how you've done it? (with which programm)

    And ofc your name will be mentioned. (Is your FP name ok?)
    Thanks. That's just lua. All you need to do is put that huge text file in your /data directory, and run this script in your /lua/autorun/client directory.

    Yeah, just call me Entoros. If you need any more help, just ask.

  13. Post #13
    Gold Member
    CrashLemon's Avatar
    November 2007
    997 Posts
    I just played the original one and it's awesome, can't wait for yours I guess.

  14. Post #14
    Gold Member
    Megalan's Avatar
    October 2005
    562 Posts
    hm, i think i can help with your problem. What do you mean by way to pass the data clientside to webhost?

  15. Post #15
    Yobdren's Avatar
    June 2008
    2,394 Posts
    He wants to send data from the client to his webhost.

  16. Post #16
    Gold Member
    LuaStoned's Avatar
    September 2007
    1,358 Posts
    Yes, i was thinking of retrieving a password + timestamp, and send pw + score back within 2 seconds or so, but the client could still hack it easily :/

  17. Post #17
    Gold Member
    Megalan's Avatar
    October 2005
    562 Posts
    hm, why not send data to server using datastream and then send data to webhost from server?
    Reply With Quote Edit / Delete Reply Russian Federation Show Events Dumb Dumb x 1 (list)

  18. Post #18
    Yobdren's Avatar
    June 2008
    2,394 Posts
    Because he wants a clientside addon, duh.

  19. Post #19
    Noodle man's Avatar
    April 2009
    558 Posts
    A mysql database?
    Reply With Quote Edit / Delete Reply United Kingdom Show Events Dumb Dumb x 2 (list)

  20. Post #20
    Gold Member
    Pecius's Avatar
    May 2007
    1,623 Posts
    For storing informations: yes
    for receiving informations directly from client: no

  21. Post #21
    Gold Member
    CrashLemon's Avatar
    November 2007
    997 Posts
    If you make it as an addon, do not include the "submit stats" option or whatever and tell them to connect to your server where they can play and submit their stats there.

    This will allow you to make it as an addon, and if players want to compete, they'll have to join your server where you'll have a server sided version and a score uploading system. You'll still be able to send the data to clients but they'll only be able to upload it from the server your game is on.

    But that's my opinion ;)

  22. Post #22
    Gold Member
    Entoros's Avatar
    October 2008
    2,318 Posts
    Yeah, honestly there's no way to make the program clientside and allow score submitting without cheating.

    I have kind of a vague idea: you might be able to do it so that when you save a score clientside, it saves it with some sort of random keycode that corresponds to your webhost (that's the troublesome part). Then the client can't submit a score without the keycode added on, so they can't submit scores independent of the system or tell the system they got a score higher than they did.

    ...Although they could still make it so they got 100,000 points every time they got a word or something, so there's really no way. It has to be on a server, like CrashLemon said.

  23. Post #23
    Gold Member
    LuaStoned's Avatar
    September 2007
    1,358 Posts
    Well, it's currently pure clientside, but the server admin is the one who could save fake scores ...

  24. Post #24
    Gold Member
    thomasfn's Avatar
    July 2008
    2,965 Posts
    The only other way to do it purely clientside is using a binary. That way, you could encode all the connection data and stuff and send it all in the binary which is harder for people to decompile. It still isn't perfect, but what system is?

  25. Post #25
    Ghast's Avatar
    February 2009
    280 Posts
    I'm surprised no one has made this before, and damnit I'm glad that you did.

  26. Post #26
    Lappyexpert's Avatar
    March 2008
    23 Posts
    Use datastream to pass the data to server and then have the server use http.get to pass to webhost and have the php script check for ip address of connector.

  27. Post #27
    Gold Member
    LuaStoned's Avatar
    September 2007
    1,358 Posts
    Ok, haven't worked on it the last few days because i wasn't at home.

    Does anyone know a few features that might fit?

    €dit: I thougt about a background/better desing for it, any ideas?
    /something like this?

  28. Post #28
    Ghast's Avatar
    February 2009
    280 Posts
    Make a little picture of something that the text can float on instead of a gray bar.

  29. Post #29
    Gold Member
    LuaStoned's Avatar
    September 2007
    1,358 Posts
    Make a little picture of something that the text can float on instead of a gray bar.
    The original game looks like this:


    Could someone create the following images?
    [list][*]Background like the picture above (size: 580x334)[*]Papyrus roll to display the words:
    [list][*]1 Left part (size: *x18)[*]1 Middle part (size: 16x18)[*]1 Right part (size: *x18)[/list][/list]

  30. Post #30
    krassell's Avatar
    January 2009
    351 Posts
    Wow! Interesting!
    Good job, Stoned! :D
    Also i'd suggest adding some texture that will be under text flying with it. (NOT BACKGROUND!)

  31. Post #31

    July 2009
    3 Posts
    Hi im new in this .... how can i test this game , I played the facebook version and its grate.... !!

  32. Post #32
    Gold Member
    LuaStoned's Avatar
    September 2007
    1,358 Posts
    Join the server (ip is given in #1 post) and say !typeracer in the chat.

    That's all! :)

  33. Post #33
    Max.Powers's Avatar
    July 2009
    67 Posts
    The song for some reason on your server bothers me lol.

  34. Post #34

    July 2009
    3 Posts
    hi i made me an acount at game monitor but i dont know how to enter in the game... if some one could help me plz

  35. Post #35

    July 2009
    3 Posts
    I got a accout at steam but it says Server is not responding.

  36. Post #36
    michaelmokle's Avatar
    July 2007
    31 Posts
    Wow Stoned I Knew You Could Make Some Great Scripts But This Just Tops Them All. Excellent Work.
    Reply With Quote Edit / Delete Reply United States Show Events Bad Spelling Bad Spelling x 1 (list)

  37. Post #37
    Gold Member
    Jamie932's Avatar
    July 2008
    2,590 Posts
    Wow Stoned I Knew You Could Make Some Great Scripts But This Just Tops Them All. Excellent Work.
    Please Dont Talk Like This With A Capital Letter At The Begining Of Every God Forsaken Word. It Gets Rather Annoying. Thankyou Good Sir.
    Reply With Quote Edit / Delete Reply United Kingdom Show Events Agree Agree x 1 (list)

  38. Post #38
    Gold Member
    Robbis_1's Avatar
    July 2005
    344 Posts
    The most "secure way" would probably be to include a .dll that encrypts the data and then sends it. The problem is that paranoid people won't download it because it might be a virus and releasing the source code would just make people decode it.
    Reply With Quote Edit / Delete Reply Sweden Show Events Dumb Dumb x 1 (list)

  39. Post #39
    Gold Member
    LuaStoned's Avatar
    September 2007
    1,358 Posts
    Ok, got some updates and it's near the first release! :D


  40. Post #40
    Gold Member
    Jamie932's Avatar
    July 2008
    2,590 Posts
    The fonts a bit unclear, But apart from that it looks nice.
    Reply With Quote Edit / Delete Reply United Kingdom Show Events Agree Agree x 1 (list)