Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (540)
Games in Android Showcase (133)
games submitted by our members
Games in WIP (603)
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 3228 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.

@SHC
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: 99
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: 295
Exp: 5 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: 99
Exp: 12 years



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

i'm not serious.
Offline princec

« JGO Spiffy Duke »


Medals: 437
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  
 
 

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

Mr.CodeIt (24 views)
2014-12-23 03:34:11

rwatson462 (53 views)
2014-12-15 09:26:44

Mr.CodeIt (45 views)
2014-12-14 19:50:38

BurntPizza (85 views)
2014-12-09 22:41:13

BurntPizza (110 views)
2014-12-08 04:46:31

JscottyBieshaar (79 views)
2014-12-05 12:39:02

SHC (89 views)
2014-12-03 16:27:13

CopyableCougar4 (96 views)
2014-11-29 21:32:03

toopeicgaming1999 (155 views)
2014-11-26 15:22:04

toopeicgaming1999 (152 views)
2014-11-26 15:20:36
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

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50
java-gaming.org 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‑gaming.org
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!