Official Everybody Edits Forums

Do you think I could just leave this part blank and it'd be okay? We're just going to replace the whole thing with a header image anyway, right?

You are not logged in.

#1 2015-08-11 13:21:50, last edited by Br0k3n (2015-09-15 13:33:49)

Br0k3n
Member
From: Serbia
Joined: 2015-04-04
Posts: 1,451

[Release] Energy Calculator 1.2, Energy Calculator Online 2.0

Readme.txt wrote:

Energy Calculator by Br0k3n.
Idea by atilla's online converter.

This calculator can convert:
- seconds => energy
- energy => seconds & minutes
- minutes, hours, days => seconds
- minutes => hours, minutes

Changelog:
-1.0: initial release.
-1.1: urgent bug fixing, icon while not in app changed, blue-ish theme.
-1.2: fixed bug where typing a non-number into a textbox will crash, now when selecting textboxes it selects the text in it.

Changelog for online version wrote:

-1.0: initial release.
-1.1: added blueish theme, added a special cursor, added an icon.
-2.0: STABLE! added input type="number" as suggested by hummerz5, added a isNaN() check to prevent "NaN" seconds.

Br0k3n wrote:

found atilla's energy project somewhere in the dephs of my folders.
the original link was: http://atil.la/public_projects/EETuE/
but i uploaded it to: http://ficko-tmuf1.net46.net/attilas_stuff/EETuE.htm

An one-hour project that is probably already done before.

download 1.0
download 1.1
download 1.2 (newest)

online (javascript, stable)


?type=online&name=br0k3n ?type=lastlogin&name=br0k3n ?type=loginstreak&name=br0k3n

76561198080960604.png

Offline

#2 2015-08-11 14:39:57, last edited by Br0k3n (2015-08-11 14:40:07)

Br0k3n
Member
From: Serbia
Joined: 2015-04-04
Posts: 1,451

Re: [Release] Energy Calculator 1.2, Energy Calculator Online 2.0

Urgent update to 1.1 because of bugs with the minutes, hours, days => seconds converter
also the gui is now blueish, and fixed the icon


?type=online&name=br0k3n ?type=lastlogin&name=br0k3n ?type=loginstreak&name=br0k3n

76561198080960604.png

Offline

#3 2015-08-11 15:46:38

SmittyW
Member
Joined: 2015-03-13
Posts: 2,085

Re: [Release] Energy Calculator 1.2, Energy Calculator Online 2.0

I would be more interested if I didn't have to download this.

Also it crashes when I type a letter into the textbox, and entering a number doesn't overtype the initial 0.

Offline

Wooted by: (3)

#4 2015-08-11 16:10:31, last edited by Br0k3n (2015-08-11 16:31:06)

Br0k3n
Member
From: Serbia
Joined: 2015-04-04
Posts: 1,451

Re: [Release] Energy Calculator 1.2, Energy Calculator Online 2.0

SmittyW. wrote:

I would be more interested if I didn't have to download this.

I might start working on a javascript-based version soon. Although i'm a bit rusty at JS lately..

SmittyW. wrote:

Also it crashes when I type a letter into the textbox, and entering a number doesn't overtype the initial 0.

Fixed, download 1.2


?type=online&name=br0k3n ?type=lastlogin&name=br0k3n ?type=loginstreak&name=br0k3n

76561198080960604.png

Offline

#5 2015-08-11 16:30:55

hummerz5
Member
From: wait I'm not a secret mod huh
Joined: 2015-08-10
Posts: 5,853

Re: [Release] Energy Calculator 1.2, Energy Calculator Online 2.0

I like the idea. It's pragmatic towards EE without being another digbot or pointless game. However, I can do the math...
I'd love to see an HTML version of this...

Offline

Wooted by: (2)

#6 2015-08-11 17:29:04

mrjawapa
Corn Man 🌽
From: Ohio, USA
Joined: 2015-02-15
Posts: 5,840
Website

Re: [Release] Energy Calculator 1.2, Energy Calculator Online 2.0

Should be pretty easy to do it in JavaScript


Discord: jawp#5123

Offline

Wooted by:

#7 2015-08-11 21:18:59

John
Member
Joined: 2019-01-11
Posts: 2,009

Re: [Release] Energy Calculator 1.2, Energy Calculator Online 2.0

Can websites handle PlayerIO's OnMessage? I could have sworn that they couldn't. I am aware of ways to have another program communicate with a website, but is there a way to have it fully online??


PW?scale=2

Offline

#8 2015-08-11 23:08:48

Xfrogman43
Member
From: need to find a new home
Joined: 2015-02-15
Posts: 4,174

Re: [Release] Energy Calculator 1.2, Energy Calculator Online 2.0

Emalton wrote:

Can websites handle PlayerIO's OnMessage? I could have sworn that they couldn't. I am aware of ways to have another program communicate with a website, but is there a way to have it fully online??

Did you not use Lrussell's online bot?


zsbu6Xm.png thanks zoey aaaaaaaaaaaand thanks latif for the avatar

Offline

#9 2015-08-11 23:09:15

den3107
Member
From: Netherlands
Joined: 2015-04-24
Posts: 1,025

Re: [Release] Energy Calculator 1.2, Energy Calculator Online 2.0

Emalton wrote:

Can websites handle PlayerIO's OnMessage? I could have sworn that they couldn't. I am aware of ways to have another program communicate with a website, but is there a way to have it fully online??

Java applet.
Haven't yet figured out yet how to work with PlayerIO in Java though... Once found some sort of method but it still made me scratch my head.
And no worries, Java and C# are nearly identical, when making easy code that is.

PlayerIO doesn't support web JS (does in Unity though).

You could use flash though, but I don't recommend learning actionscript, since it's simply a language that's never used and shouldn't be used when creating new content.

Offline

#10 2015-08-16 19:34:50

hummerz5
Member
From: wait I'm not a secret mod huh
Joined: 2015-08-10
Posts: 5,853

Re: [Release] Energy Calculator 1.2, Energy Calculator Online 2.0

^Kongregate somehow ties javascript in with the flash chat system. You could potentially write a quick-n'-dirty wrapper in the .swf and have everything available for javascript...

Then the energy calculator could be 100% accurate. Even fancy counting n' everythin'

Offline

#11 2015-08-21 20:44:25

Br0k3n
Member
From: Serbia
Joined: 2015-04-04
Posts: 1,451

Re: [Release] Energy Calculator 1.2, Energy Calculator Online 2.0

http://ficko-tmuf1.net46.net/energy/
^^ added online version, powered by almighty javascript


?type=online&name=br0k3n ?type=lastlogin&name=br0k3n ?type=loginstreak&name=br0k3n

76561198080960604.png

Offline

#12 2015-08-21 21:54:24

hummerz5
Member
From: wait I'm not a secret mod huh
Joined: 2015-08-10
Posts: 5,853

Re: [Release] Energy Calculator 1.2, Energy Calculator Online 2.0

I'm liking this energy converter.
Pro tip: HTML5 has input "number"

gj m8

Offline

Wooted by:

#13 2015-08-22 10:16:30

Br0k3n
Member
From: Serbia
Joined: 2015-04-04
Posts: 1,451

Re: [Release] Energy Calculator 1.2, Energy Calculator Online 2.0

hummerz5 wrote:

Pro tip: HTML5 has input "number"

noticed that, but i didn't want to have those up and down arrows. Tested it and it looks cool though. Might add it later.


?type=online&name=br0k3n ?type=lastlogin&name=br0k3n ?type=loginstreak&name=br0k3n

76561198080960604.png

Offline

#14 2015-08-22 11:32:49, last edited by Br0k3n (2015-08-22 11:33:38)

Br0k3n
Member
From: Serbia
Joined: 2015-04-04
Posts: 1,451

Re: [Release] Energy Calculator 1.2, Energy Calculator Online 2.0

Fixed online version, white and black colors were too boring, but not as much as the cursor.
I've decided not to put input type="number", at least for now.


?type=online&name=br0k3n ?type=lastlogin&name=br0k3n ?type=loginstreak&name=br0k3n

76561198080960604.png

Offline

#15 2015-09-14 14:32:20

Br0k3n
Member
From: Serbia
Joined: 2015-04-04
Posts: 1,451

Re: [Release] Energy Calculator 1.2, Energy Calculator Online 2.0

sori 4 tripl post @ gravdig
----
found atilla's energy project somewhere in the dephs of my folders.
the original link was: http://atil.la/public_projects/EETuE/
but i uploaded it to: http://ficko-tmuf1.net46.net/attilas_stuff/EETuE.htm


?type=online&name=br0k3n ?type=lastlogin&name=br0k3n ?type=loginstreak&name=br0k3n

76561198080960604.png

Offline

#16 2015-09-14 16:20:21

SirJosh3917
Formerly ninjasupeatsninja
From: USA
Joined: 2015-04-05
Posts: 2,095

Re: [Release] Energy Calculator 1.2, Energy Calculator Online 2.0

Br0k3n wrote:

sori 4 tripl post @ gravdig

835.jpg?m=1440941837

Offline

Wooted by:

#17 2015-09-14 21:19:22, last edited by Br0k3n (2015-09-15 13:34:14)

Br0k3n
Member
From: Serbia
Joined: 2015-04-04
Posts: 1,451

Re: [Release] Energy Calculator 1.2, Energy Calculator Online 2.0

Online version updated to 2.0! stable version xddd
- added input type="number" (instead of type="text") as suggested by hummerz5
- added isNaN() check to prevent displaying "NaN" seconds/minutes etc.. (to make sure you dont put text or something like that it will throw a dialog)


?type=online&name=br0k3n ?type=lastlogin&name=br0k3n ?type=loginstreak&name=br0k3n

76561198080960604.png

Offline

#18 2015-09-14 22:46:44

hummerz5
Member
From: wait I'm not a secret mod huh
Joined: 2015-08-10
Posts: 5,853

Re: [Release] Energy Calculator 1.2, Energy Calculator Online 2.0

Shoot, I missed the finish time by a few
thanks for the numbers
isNaN ftw.

Offline

Wooted by:
hummerz51442267204541843

Board footer

Powered by FluxBB

[ Started around 1732455041.291 - Generated in 0.072 seconds, 13 queries executed - Memory usage: 1.66 MiB (Peak: 1.89 MiB) ]