Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (581)
Games in Android Showcase (163)
games submitted by our members
Games in WIP (632)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
    Home     Help   Search   Login   Register   
Pages: 1 [2]
  ignore  |  Print  
  Lost my CODE!  (Read 4160 times)
0 Members and 1 Guest are viewing this topic.
Offline CogWheelz
« Reply #30 - Posted 2014-08-14 14:55:51 »

I guess from the screenshot, that you use Eclipse, so tried the Local History feature? I don't use Eclipse, so I don't know how long it's history lasts...

Oh god, it worked. I have my precious code back.

I have that off, but I'll set that up before I do any coding.

And after loosing my code, anything that I ran told me that the this pproject had errors before they would run.... odd
Offline thedanisaur
« Reply #31 - Posted 2014-08-14 19:33:25 »

A lot of people here have mentioned online repo backups. While they are nice, and mostly fool proof, letting something you are working on sit in one place, no matter where it is, is a bad idea. You should have a repo, either local or internet based, a local copy on your machine and a backup storage (external hd/flashdrive/etc).

The reason I mention this is because within the last few months a webhosting/repo site was hacked and ransomed for the content and when the admin tried to retake control of the site the cracker wiped out most of the content on the site. This obviously resulted in that site closing immediately and many developers were left without their code and I'm sure that left a bad taste in their mouths.

I'll post an update when I find the name of the site.

Every village needs an idiot Cool
Offline basil_

« JGO Bitwise Duke »

Medals: 158
Exp: 12 years

« Reply #32 - Posted 2014-08-14 20:02:43 »

github ? ... j/k Wink ...

get a root-server or two, install hg or git and backup your code there.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline PandaMoniumHUN

JGO Coder

Medals: 32
Exp: 3 years

White-bearded OGL wizard

« Reply #33 - Posted 2014-08-14 20:46:46 »

github ? ... j/k Wink ...

get a root-server or two, install hg or git and backup your code there.
What's wrong with github? Huh persecutioncomplex

My Blog | Jumpbutton Studio - INOP Programmer
Can't stress enough: Don't start game development until you haven't got the basics of programming down! Pointing
Offline Cero
« Reply #34 - Posted 2014-08-14 21:40:17 »

What's wrong with github? Huh persecutioncomplex
It's public.

Offline BurntPizza

« JGO Bitwise Duke »

Medals: 388
Exp: 6 years

« Reply #35 - Posted 2014-08-14 21:42:15 »

Bitbucket has free private repos. (for up to 5 team members IIRC) There's some others that have them too.
Offline basil_

« JGO Bitwise Duke »

Medals: 158
Exp: 12 years

« Reply #36 - Posted 2014-08-14 21:50:10 »

i'm not serious.
Offline princec

« JGO Spiffy Duke »

Medals: 506
Projects: 3
Exp: 16 years

Eh? Who? What? ... Me?

« Reply #37 - Posted 2014-08-14 23:37:23 »

At the very least, Google Drive or Dropbox.

Cas Smiley

Offline JVallius
« Reply #38 - Posted 2014-08-16 15:07:46 »

Always be prepared to the worst case scenarios. It should not be a big deal if suddenly your HD fails or computer set on fire. Because eventually something will happen.

Offline saucymeatman
« Reply #39 - Posted 2014-08-19 13:35:23 »

Whats wrong with public?
You can sell open-source software.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Grunnt

JGO Kernel

Medals: 95
Projects: 8
Exp: 5 years

Complex != complicated

« Reply #40 - Posted 2014-08-19 14:50:24 »

If you use an online repo like e.g. bitbucket, which is free for public and private repos by the way, you will have little chance of this ever happening again. Using a SVN or other version control plugin in Eclipse makes this not too difficult. Using an online repo means that your code is both on your computer and on an online location. Losing both is extremely unlikely.

Also, hurray for local history in Eclipse!

Pages: 1 [2]
  ignore  |  Print  
You cannot reply to this message, because it is very, very old.

MrMapcom (24 views)
2015-05-23 20:26:16

MrMapcom (32 views)
2015-05-23 20:23:34

Waterwolf (37 views)
2015-05-20 15:01:45

chrislo27 (44 views)
2015-05-20 03:42:21

BurntPizza (77 views)
2015-05-10 15:53:18

FrozenShade (61 views)
2015-05-07 09:11:21

TheLopais (226 views)
2015-05-06 13:36:48

TheLopais (207 views)
2015-05-06 13:35:14

TheLopais (213 views)
2015-05-06 13:33:39

TheLopais (234 views)
2015-05-06 13:32:48
List of Learning Resources
by SilverTiger
2015-05-05 10:20:32

How to: JGO Wiki
by Mac70
2015-02-17 20:56:16

2D Dynamic Lighting
by ThePixelPony
2015-01-01 20:25:42

How do I start Java Game Development?
by gouessej
2014-12-27 19:41:21

Resources for WIP games
by kpars
2014-12-18 10:26:14

Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

List of Learning Resources
by Longor1996
2014-08-16 10:40:00 is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!