00:00
00:00
Newgrounds Background Image Theme
Upgrade Your Account!

HO HO HOPE you become a Newgrounds Supporter this year!

We're working hard to give you the best site possible, but we have bills to pay and community support is vital to keep things going and growing. Thank you for considering!

Become a Supporter so NG can see another Christmas!

The Flash 'Reg' Lounge

3,083,084 Views | 60,186 Replies
New Topic Respond to this Topic

Response to The Flash 'Reg' Lounge 2015-12-09 15:16:00


@glaiel-gamer

Question about the time math and timezones on twitter (too long to tweet). IIRC, you're using Unity, so what do you get from polling the system time? If you can get the timezone of the system you wouldn't even need the timeserver since it just becomes

next_sat_unixtimestamp_utc - (system_time - system_zone * one_hour)

Maybe I'm missing something tho

by the way bombernauts is pretty fun

Response to The Flash 'Reg' Lounge 2015-12-10 02:48:32


At 12/9/15 03:16 PM, Sam wrote: @glaiel-gamer

Question about the time math and timezones on twitter (too long to tweet). IIRC, you're using Unity, so what do you get from polling the system time? If you can get the timezone of the system you wouldn't even need the timeserver since it just becomes

next_sat_unixtimestamp_utc - (system_time - system_zone * one_hour)

Maybe I'm missing something tho

by the way bombernauts is pretty fun

its using a time server so people cant cheat by changing their system clocks, also cause saturday specials need to start simultaneously for everyone and differing time zones or system clocks would mess that up

Response to The Flash 'Reg' Lounge 2015-12-10 03:55:26


that's all I want to hear.

Response to The Flash 'Reg' Lounge 2015-12-10 20:54:37


At 12/10/15 03:55 AM, anibalholcomb wrote: that's all I want to hear.

Games pinging servers for timezones as an anti-cheat measure? I'm not sure that's what I want to hear at all.
Reverse-engineer packets, redirect pings to local host, send fake response.

Unless it's a multiplayer game and the server uses its own time? Context needed, I'm just making guesses.


Programming stuffs (tutorials and extras)

PM me (instead of MintPaw) if you're confuzzled.

thank Skaren for the sig :P

BBS Signature

Response to The Flash 'Reg' Lounge 2015-12-11 15:25:31 (edited 2015-12-11 15:27:17)


At 12/10/15 08:54 PM, egg82 wrote:
At 12/10/15 03:55 AM, anibalholcomb wrote: that's all I want to hear.
Games pinging servers for timezones as an anti-cheat measure? I'm not sure that's what I want to hear at all.
Reverse-engineer packets, redirect pings to local host, send fake response.

Unless it's a multiplayer game and the server uses its own time? Context needed, I'm just making guesses.

it is a multiplayer game. I have a thing called "saturday special" which runs every saturday. The only way it works is if saturday special starts simultaneously for everyone, so I ping a time server to figure that out

you could cheat it by spoofing packets sure but now you'd have to get everyone you want to play with to spoof the time packets too

Response to The Flash 'Reg' Lounge 2015-12-11 22:46:05


At 12/11/15 03:25 PM, Glaiel-Gamer wrote: it is a multiplayer game. I have a thing called "saturday special" which runs every saturday. The only way it works is if saturday special starts simultaneously for everyone, so I ping a time server to figure that out

Makes sense. If it's just for that, then I'd say knock yourself out!

you could cheat it by spoofing packets sure but now you'd have to get everyone you want to play with to spoof the time packets too

Hacked client, I suppose. "Just download and run."


Programming stuffs (tutorials and extras)

PM me (instead of MintPaw) if you're confuzzled.

thank Skaren for the sig :P

BBS Signature

Response to The Flash 'Reg' Lounge 2015-12-13 11:00:02


At 12/8/15 04:37 PM, MSGhero wrote:
At 12/8/15 04:23 PM, egg82 wrote: http://imgur.com/CypdVV5
What is that rpm jeez.

$1 rpm = 60 revolutions of a hard disk in 1 minute. I think you need to pay for that though

or it could be rate per mille if that's what they're calling it these days

Slint approves of me! | "This is Newgrounds.com, not Disney.com" - WadeFulp

"Sit look rub panda" - Alan Davies

BBS Signature

Response to The Flash 'Reg' Lounge 2015-12-15 14:53:39


Five years on newgrounds woot!

Response to The Flash 'Reg' Lounge 2015-12-15 18:53:23 (edited 2015-12-15 18:53:42)


At 12/15/15 02:53 PM, MSGhero wrote: Five years on newgrounds woot!

Well, if we're counting.. :P


Programming stuffs (tutorials and extras)

PM me (instead of MintPaw) if you're confuzzled.

thank Skaren for the sig :P

BBS Signature

Response to The Flash 'Reg' Lounge 2015-12-16 01:49:03


I'm coming up on twelve years on this bitch. Hard to believe I was fourteen when I joined Newgrounds; time fucking flies.

Response to The Flash 'Reg' Lounge 2015-12-16 14:36:41


At 12/16/15 01:49 AM, Diki wrote: I'm coming up on twelve years on this bitch. Hard to believe I was fourteen when I joined Newgrounds; time fucking flies.

No kidding! I took a couple years off, but I came back eventually :P
Either way, this website has been here too damn long. Not that I'm complaining!

I started playing with my keyboard and Premiere's new encoding features and came out with two videos. Tell me if you notice any quality difference between the two.

Also, I love that Media Encoder now uses my 980 to encode the actual videos and render previews for faster editing. Takes my rendering time from an hour and a half to 20 minutes. (I encode at high qualities, don't judge me.)

Video 1
Video 2
The footage was shot from my phone's camera, so maybe I'll upload another test with Lagarith (lossless) game footage at 60 FPS.


Programming stuffs (tutorials and extras)

PM me (instead of MintPaw) if you're confuzzled.

thank Skaren for the sig :P

BBS Signature

Response to The Flash 'Reg' Lounge 2015-12-17 05:21:09


At 12/16/15 02:36 PM, egg82 wrote: Also, I love that Media Encoder now uses my 980 to encode the actual videos and render previews for faster editing. Takes my rendering time from an hour and a half to 20 minutes. (I encode at high qualities, don't judge me.)

Me jelly, I can't do that on my computer :(

For some reason all videos above 360-480p lag on my browser so any differences would probably be minor, I'd go with Video 1 though. (And because I know someone's gonna ask in the future: what's the music used in the two videos?)


Slint approves of me! | "This is Newgrounds.com, not Disney.com" - WadeFulp

"Sit look rub panda" - Alan Davies

BBS Signature

Response to The Flash 'Reg' Lounge 2015-12-17 19:35:25


At 12/17/15 05:21 AM, Gimmick wrote: For some reason all videos above 360-480p lag on my browser so any differences would probably be minor, I'd go with Video 1 though. (And because I know someone's gonna ask in the future: what's the music used in the two videos?)

1. Nightcore - Centuries
2. OCRemix #1378 - MGS 2 "Salsa Snake"


Programming stuffs (tutorials and extras)

PM me (instead of MintPaw) if you're confuzzled.

thank Skaren for the sig :P

BBS Signature

Response to The Flash 'Reg' Lounge 2015-12-18 01:20:10


I've been working on parting little bits of my framework over to C# to use in a project involving my Raspberry Pi. Apparently sockets have some interesting and unexpected behavior attached to them.

For example, I decided to send the numbers 0 to 99 to the server from the client and print them out (Int32, 4 bytes long)
Output
Output (cntd.)

Expected packet
Interesting packet #1
Interesting packet #2
Interesting packet #3

Full Wireshark capture

From what I gather, the odd output is a combination of the client sending malformed packets and the server not interpreting packets correctly. This could be solved with a way to make sure the client socket's buffer is completely flushed before sending the next packet. Possibly a timer? I feel like there's got to be a better way, though..

Also, I got my desktop PC back. Hence the Lubuntu VM. Yay!

I've been at my girlfriend's place too much recently and I can't exactly carry it with me.

Programming stuffs (tutorials and extras)

PM me (instead of MintPaw) if you're confuzzled.

thank Skaren for the sig :P

BBS Signature

Response to The Flash 'Reg' Lounge 2015-12-18 01:50:34


Right. AS3 lied to me and this is how TCP works. It's meant to be used as a stream and borders (packets) are drawn on the software-level.
Now the question: What's the standard way of terminating a packet? I want this to be pretty universal, same as my AS3 implementation.

Some common options seem to be sending a header with the content length, and a null-byte terminator for things like text.

Hrmmm.....

How the fuck does AS3 do it? I mean, you can get a valid response from a web server and also ping a custom application with the same socket class. How?


Programming stuffs (tutorials and extras)

PM me (instead of MintPaw) if you're confuzzled.

thank Skaren for the sig :P

BBS Signature

Response to The Flash 'Reg' Lounge 2015-12-18 02:19:08


At 12/18/15 01:50 AM, egg82 wrote: Right. AS3 lied to me and this is how TCP works. It's meant to be used as a stream and borders (packets) are drawn on the software-level.
Now the question: What's the standard way of terminating a packet? I want this to be pretty universal, same as my AS3 implementation.

Some common options seem to be sending a header with the content length, and a null-byte terminator for things like text.

Depends on the data you want to send. If you're sending plain text or XML then a sequence of terminating bytes would be good, else if you're sending anything else then using a length in the header

or both


Slint approves of me! | "This is Newgrounds.com, not Disney.com" - WadeFulp

"Sit look rub panda" - Alan Davies

BBS Signature

Response to The Flash 'Reg' Lounge 2015-12-18 12:47:56


I'm in Chicago from Monday (the 21st) until the 11th of Jan, so if any of you reg's want to meet up for a coffee at Starbucks or Costa or whatever coffee place people go to, hit me up.

Response to The Flash 'Reg' Lounge 2015-12-18 23:53:00


At 12/18/15 11:33 PM, CodeCrunch wrote: I'm late to the party here but this is neat, made me think of eggy mario http://uncovering-cicada.wikia.com/wiki/What_Happened_Part_1_(2013)

What the hell, that's so elaborate.

Response to The Flash 'Reg' Lounge 2015-12-19 00:53:20 (edited 2015-12-19 00:57:55)


At 12/18/15 11:33 PM, CodeCrunch wrote: I'm late to the party here but this is neat, made me think of eggy mario http://uncovering-cicada.wikia.com/wiki/What_Happened_Part_1_(2013)

That seems overkill. Fun, but if they were serious wouldn't they have started with tests on a per-individual basis instead of shared keys and hidden phone numbers that took thousands of people?

Feels a bit odd to me, but to each their own. Either way, I'd like to see the outcome eventually.

Also if what they mean by "most intelligent" is "most knowledgeable in a select few specific areas" sure

Programming stuffs (tutorials and extras)

PM me (instead of MintPaw) if you're confuzzled.

thank Skaren for the sig :P

BBS Signature

Response to The Flash 'Reg' Lounge 2015-12-19 01:49:28


Looks like bananas are going to change again in the next few years. If you enjoy them now, you may want to grab some while they last.

I hope we get the 1950s banana back as our new species, it sounds like I would have really enjoyed those.
Probably not, though, which makes me sad :(


Programming stuffs (tutorials and extras)

PM me (instead of MintPaw) if you're confuzzled.

thank Skaren for the sig :P

BBS Signature

Response to The Flash 'Reg' Lounge 2015-12-20 22:09:34 (edited 2015-12-20 22:12:47)


I uploaded a bunch of mp3 files to my server and managed to make a radio station (audio player in the top right). Not bad for CLI, I'm actually surprised there's streaming software that doesn't use a GUI and isn't solely for Windows.

Also, I made a post about mental math if anyone's interested?


Programming stuffs (tutorials and extras)

PM me (instead of MintPaw) if you're confuzzled.

thank Skaren for the sig :P

BBS Signature

Response to The Flash 'Reg' Lounge 2015-12-21 01:36:38


So I mentioned to MSGhero in a forum post recently that I've been spoiled by features in the Unity engine. Well, when I was learning to make games in Flash you guys, and many others, would mention that I shouldn't work with frames (Flash IDE) and I was like, "Ok....but I can manage it."

Well....after not working with frames for so long and then coming back to them for a quick side project....holy fuck is working with frames a pain in the ass! Like I didn't have my code on different frames in the past - I would use classes - but I would use code to call certain frames in a MC or other similar actions... It is such a fucking mess and dealing with the errors associated with frames is driving me insane.

This side project will be the absolute last time I work with frames. If I continue to make side projects I will find a proper IDE (some have recommended Flixel or Flashpunk to name some).

Just thought I would share that I finally understand what you guys were talking about :P

Response to The Flash 'Reg' Lounge 2015-12-22 19:26:39


At 12/21/15 07:49 AM, CodeCrunch wrote:
At 12/21/15 01:36 AM, Hero101 wrote: If I continue to make side projects I will find a proper IDE (some have recommended Flixel or Flashpunk to name some).
Umm, those aren't IDEs, I'm assuming that was just a slip up but in case it wasn't just thought it was worth the warning.

Haha yeah just a slip up I'm sick and was in a hurry typing that message but good looking out nonetheless :)

Response to The Flash 'Reg' Lounge 2015-12-22 22:16:53


I wrote something a while ago that would make egg happy to read based on his site's current content. Still need to grab a few pictures for it before publishing.

<- Lazy

Response to The Flash 'Reg' Lounge 2015-12-22 22:25:27


I decided I was going to dive back into C# a little and make a Pi.
I finally got TCPClient and TCPServer working the way I want. Yay!


Programming stuffs (tutorials and extras)

PM me (instead of MintPaw) if you're confuzzled.

thank Skaren for the sig :P

BBS Signature

Response to The Flash 'Reg' Lounge 2015-12-22 22:28:40


At 12/22/15 10:25 PM, egg82 wrote: I decided I was going to dive back into C# a little and make a Pi.
I finally got TCPClient and TCPServer working the way I want. Yay!

My thing doesn't involve pi or Pi, so maybe I was wrong.

Response to The Flash 'Reg' Lounge 2015-12-22 22:44:28


At 12/22/15 10:28 PM, MSGhero wrote: My thing doesn't involve pi or Pi, so maybe I was wrong.

My Pi is of the Raspberry variety. I have an idea involving it, a connection to my PC, and speech recognition.


Programming stuffs (tutorials and extras)

PM me (instead of MintPaw) if you're confuzzled.

thank Skaren for the sig :P

BBS Signature

Response to The Flash 'Reg' Lounge 2015-12-22 23:33:19


At 12/22/15 10:28 PM, MSGhero wrote: My thing doesn't involve pi or Pi, so maybe I was wrong.

I completely missed your post because you did yours just before mine. I've seen it now, and now I'm interested in what you've done.


Programming stuffs (tutorials and extras)

PM me (instead of MintPaw) if you're confuzzled.

thank Skaren for the sig :P

BBS Signature

Response to The Flash 'Reg' Lounge 2015-12-23 17:38:50


At 12/22/15 11:33 PM, egg82 wrote: I completely missed your post because you did yours just before mine. I've seen it now, and now I'm interested in what you've done.

Here ya go: http://enkiangames.tumblr.com/

Statistics lesson of the day.

Response to The Flash 'Reg' Lounge 2015-12-23 20:08:18 (edited 2015-12-23 20:10:53)


At 12/23/15 05:38 PM, MSGhero wrote: Statistics lesson of the day.

Why do all of that in the first place when your other two options are:
1. Use another noise generator
2. Use a function that does all that math for you

I dunno, I just feel like I kept going "but what's the point" while reading the entire thing. You could probably say the same thing about my posts, but I feel like there's a bigger payoff to a smaller buildup with mine. Maybe I'm wrong and turning Pi into a (CS?)PRNG is about as fascinating as calculating statistics on Simplex noise.

I like your "Parsing Engine" post

Programming stuffs (tutorials and extras)

PM me (instead of MintPaw) if you're confuzzled.

thank Skaren for the sig :P

BBS Signature