Open Source RPG

Re: Open Source RPG

Postby Sebastian_Troy » 15 Apr 2012, 16:19

I'd love to, but I've got a lot going on at the moment, the code and art is all completely up for grabs, so you can enter the competition with it if you want :)
Sebastian_Troy
 
Posts: 25
Joined: 22 Sep 2011, 13:35

Re: Open Source RPG

Postby charlie » 16 Apr 2012, 23:38

Sebastian_Troy {l Wrote}:This project now has a github, check it out! https://github.com/SebastianTroy/OpenSourceRPG


Great news. Looking forward to new developments!
Free Gamer - it's the dogz
Vexi - web UI platform
User avatar
charlie
Global Moderator
 
Posts: 2131
Joined: 02 Dec 2009, 11:56
Location: Manchester, UK

Re: Open Source RPG

Postby shirish » 19 Apr 2012, 20:53

charlie {l Wrote}:
Sebastian_Troy {l Wrote}:This project now has a github, check it out! https://github.com/SebastianTroy/OpenSourceRPG


Great news. Looking forward to new developments!


nice, although it's a shame the wiki shows a 404

https://github.com/SebastianTroy/OpenRPG/wiki
shirish
 
Posts: 166
Joined: 17 Jan 2011, 15:06

Re: Open Source RPG

Postby Sebastian_Troy » 20 Apr 2012, 11:10

shirish {l Wrote}:nice, although it's a shame the wiki shows a 404

https://github.com/SebastianTroy/OpenRPG/wiki


Fixed :D although its not much to look at right now...

The link is https://github.com/SebastianTroy/OpenSourceRPG/wiki
Sebastian_Troy
 
Posts: 25
Joined: 22 Sep 2011, 13:35

Re: Open Source RPG

Postby shirish » 21 Apr 2012, 19:12

Sebastian_Troy {l Wrote}:
shirish {l Wrote}:nice, although it's a shame the wiki shows a 404

https://github.com/SebastianTroy/OpenRPG/wiki


Fixed :D although its not much to look at right now...

The link is https://github.com/SebastianTroy/OpenSourceRPG/wiki


err... hmm... how do you run the game ? No instructions on the wiki. Just trying to run with java gives me this :-

{l Code}: {l Select All Code}
$ java Game.java
Exception in thread "main" java.lang.NoClassDefFoundError: Game/java
Caused by: java.lang.ClassNotFoundException: Game.java
   at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
   at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
Could not find the main class: Game.java. Program will exit.
shirish
 
Posts: 166
Joined: 17 Jan 2011, 15:06

Re: Open Source RPG

Postby Sebastian_Troy » 22 Apr 2012, 10:37

shirish {l Wrote}:Just trying to run with java gives me this :-

{l Code}: {l Select All Code}
$ java Game.java
Exception in thread "main" java.lang.NoClassDefFoundError: Game/java
Caused by: java.lang.ClassNotFoundException: Game.java
   at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
   at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
Could not find the main class: Game.java. Program will exit.


I actually use eclipse for all of my projects, I have just realised that there is no META-INF folder on the github, this will be fixed asap, as for running it from some kind of command promt, I have no idea, but the main method is in a class called "hub.java", there is no class called "Game.java". So I can put it on a wiki, can someone link me a tutorial of the ways you can start a java project and I can update the wiki today :)
Sebastian_Troy
 
Posts: 25
Joined: 22 Sep 2011, 13:35

Re: Open Source RPG

Postby shirish » 23 Apr 2012, 20:17

Sebastian, I don't know much about java so can't help you there. You could however look at another game which is also a FOSS RPG which uses java. The game is called hale. http://hale.sourceforge.net should give you link to the wiki and from there the source repo and so and so forth. He uses a shell script to call the java stuff.

{l Code}: {l Select All Code}
 ~/games/hale$ cat hale.sh
#!/bin/bash

java -Djava.library.path=lib/native/linux -classpath hale.jar:lib/lwjgl.jar:lib/TWL.jar:lib/xpp3-1.1.4c.jar:lib/json-smart-1.0.9.jar net.sf.hale.Game


I dunno if this helps you or not. Either way looking forward to know more.
shirish
 
Posts: 166
Joined: 17 Jan 2011, 15:06

Re: Open Source RPG

Postby Edward_Lii » 24 Apr 2012, 15:08

Hello Sebastian_Troy,

Sebastian_Troy {l Wrote}:I actually use eclipse for all of my projects, I have just realised that there is no META-INF folder on the github, this will be fixed asap, as for running it from some kind of command promt, I have no idea, but the main method is in a class called "hub.java", there is no class called "Game.java". So I can put it on a wiki, can someone link me a tutorial of the ways you can start a java project and I can update the wiki today :)

The problem is that you can't run a .java file, it has to be compiled first.
The resulting .class files can be ran or put together in a .jar file and made runnable.

To run the compiled version, assuming the classpath is configured correctly:
{l Code}: {l Select All Code}
java <package>.<Class>

If it's in a jar you can simply run it by using this:
{l Code}: {l Select All Code}
java -jar <jar file>.jar

If the jar isn't runnable, no Main class defined in META-INF or none at all, you can use this:
{l Code}: {l Select All Code}
java -cp <jar file>.jar <package>.<Class>


Hope this helps. ;)
From,
Edward_Lii
User avatar
Edward_Lii
MnMS Moderator
 
Posts: 777
Joined: 20 Dec 2010, 16:46

Re: Open Source RPG

Postby shirish » 25 Apr 2012, 03:14

/me waiting for Sebastian Troy to do whatever necessary.
shirish
 
Posts: 166
Joined: 17 Jan 2011, 15:06

Re: Open Source RPG

Postby Sebastian_Troy » 25 Apr 2012, 12:39

shirish {l Wrote}:/me waiting for Sebastian Troy to do whatever necessary.


I uploaded a runnable .jar for the time being, I'm actually very busy right now, and this is my smallest priority right now, I'm sorry to keep you waiting, I'll get it done relatively soon, when I have some breathing space!
Sebastian_Troy
 
Posts: 25
Joined: 22 Sep 2011, 13:35

Re: Open Source RPG

Postby shirish » 10 May 2012, 11:19

Sebastian_Troy {l Wrote}:
shirish {l Wrote}:/me waiting for Sebastian Troy to do whatever necessary.


I uploaded a runnable .jar for the time being, I'm actually very busy right now, and this is my smallest priority right now, I'm sorry to keep you waiting, I'll get it done relatively soon, when I have some breathing space!


looking for updates.
shirish
 
Posts: 166
Joined: 17 Jan 2011, 15:06

Re: Open Source RPG

Postby Sebastian_Troy » 31 May 2012, 11:15

Right, so my last exam is today and I am now single. This means I should have plenty of time to work on a stripped down, simplified version, which I hope will give a strong platform to build upon, and a straight forward set of code which can be used by anyone to build any kind of RPG on. I am however starting a part time job, with a lot of training next week, I am unsure how much time this will take up, fingers crossed there should be a new github for the stripped down version within a couple of weeks. :D
Sebastian_Troy
 
Posts: 25
Joined: 22 Sep 2011, 13:35

Re: Open Source RPG

Postby charlie » 31 May 2012, 16:58

Cool, keep us updated! :)

I am now single. This means I should have plenty of time...


Truer words never spoken. Hope you weren't too heartbroken!
Free Gamer - it's the dogz
Vexi - web UI platform
User avatar
charlie
Global Moderator
 
Posts: 2131
Joined: 02 Dec 2009, 11:56
Location: Manchester, UK

Re: Open Source RPG

Postby farcodev » 01 Jun 2012, 18:59

Keep it up ! And welcome to the singles' club :D
farcodev
 
Posts: 163
Joined: 09 Feb 2011, 02:52

Re: Open Source RPG

Postby Sebastian_Troy » 05 Jun 2012, 12:15

I'd rather not be single but c'est la vie...

Right, so the basic version is progressing:

I've created the basic class system for entities, allowing new entities of any kind to be easily added, and have done most of the work towards collision detection with entities. Entities can be categorised into 'Mobile' and 'Immobile', and 'Mobile' is sub-categorised into 'GridRestrictedMovement' and 'FreeMoving'.

I plan to minimise terrain based effects, aka make terrain purely aesthetic, tree's and rocks ect, will all be entities instead, as this allows greater flexibility for the future.

Map generation - still under construction.

JavaDocs - I plan to completely document the code, so as to allow anyone to understand what is going on. I'm therefore trying my best to make the code as clear and logical as possible. Progress here is limited as I continue to refine and simplify how things interact at a basic level.

I have a hectic few days with work and parties (It's a hard life I know!) so I'll get back on this after then :)

P.S. I apologise, I still haven't posted instructions of how to run this program, that is because I'm a) a bit lazy and b) I have no idea how to do it from any sort of command line! I just use eclipse... I will try and get onto this at some point in the future, all I know is that I don't use any external libraries at all and the 'main(String[] args)' method is inside the 'hub.java' file (yes it uses a non-capitol letter I know...)

Hope you've all enjoyed your Jubilee weekend :D

any questions?
Sebastian_Troy
 
Posts: 25
Joined: 22 Sep 2011, 13:35

Re: Open Source RPG

Postby shirish » 01 Jul 2012, 19:41

hmm... couple of questions. do you have a new repo or what ? I am using the repo and haven't seen any updates since April last week.

https://github.com/SebastianTroy/OpenSourceRPG.git

{l Code}: {l Select All Code}
commit 204559729d08d0b32da30c1348207bb53c1fa1d2
Author: Sebastian Troy <sebastiantroy@btinternet.com>
Date:   Tue Apr 24 18:36:43 2012 +0100

    added runnable .jar

And that's it. Any info. ?
shirish
 
Posts: 166
Joined: 17 Jan 2011, 15:06

Re: Open Source RPG

Postby Sebastian_Troy » 02 Jul 2012, 14:48

Hey, sorry, things always take longer than you expect and I've had less time than I thought I'd have. So far all I seem to have done is break it completely, multiple times. I'm taking a bit of a break from the project and I'll come back to it from a different perspective later. I'll update the repo with what I've got, although it really isn't much to look at...
Sebastian_Troy
 
Posts: 25
Joined: 22 Sep 2011, 13:35

Re: Open Source RPG

Postby shirish » 03 Sep 2012, 05:58

Still in hibernation I guess ?
shirish
 
Posts: 166
Joined: 17 Jan 2011, 15:06

Re: Open Source RPG

Postby Sebastian_Troy » 04 Sep 2012, 20:49

Yeah, I'm in Wales at the moment on a University course related field trip, and have plenty to be getting on with when I get back home. I've learnt C++ and written a Troy's Code for that in my free time recently, I'm hoping to get my teeth into a simple 3D project at some point. There's so much I want to do but I haven't forgotten this project, I might actually try and re-invent it as a project at Uni for a programming society I am helping to put together, who knows! Sorry to keep you waiting, feel free to tinker with the code to your hearts content in the meantime =]
Sebastian_Troy
 
Posts: 25
Joined: 22 Sep 2011, 13:35

Re: Open Source RPG

Postby shirish » 01 Jan 2013, 14:28

seems the game is abandoned.

Edit :- Got a mail few days ago from the developer, publishing it in it's entirety :-

Sebastian_Troy {l Wrote}:I'm sorry that the game is currently dead.

I have lots of projects that I want to work on, this one I'm sure I'll get
back to eventually...but for now, Uni, app development and sleep are taking
priority. I'm replying by email so as not to bump the thread. If you are
interested in it then feel free to take the code and improve or simply
start it from scratch, it's a fairly well read thread so you could use that
popularity to your own ends, for your own project =]

If you personally aren't interested, then I would suggest at least posting
a message to inspire the community into starting their own RPG on the
thread, I mean there are about 6000 people who have looked at and I'm sure
a lot of them would be willing to help if a game was being built, maybe
there is someone in the list who does have the time to orchestrate it?


So here's a call if somebody wants to hack on it or fork it.
shirish
 
Posts: 166
Joined: 17 Jan 2011, 15:06

Who is online

Users browsing this forum: No registered users and 1 guest