Reviving Mini Adventure

Hi
The resources seem to be still inaccurate.
First, trash.gif, eat.gif, and examine.gif are missing.
After creating a server and connecting to it I got this, and messages: “Unable to load: …gen1108042220-talk.xml” etc…(missing too)

After I replaced the resource files with the files from ma-*.jar from http://www.cokeandcode.com/miniad/ it was OK. ;D

Oh and could not connect to bob.newdawnsoftware.com, gave a nullpointerexception in Actor2D.java:60, but I think its because the version mismatch(?).

[quote]Hi
The resources seem to be still inaccurate.
First, trash.gif, eat.gif, and examine.gif are missing.
After creating a server and connecting to it I got this, and messages: “Unable to load: …gen1108042220-talk.xml” etc…(missing too)

After I replaced the resource files with the files from ma-*.jar from http://www.cokeandcode.com/miniad/ it was OK. ;D

Oh and could not connect to bob.newdawnsoftware.com, gave a nullpointerexception in Actor2D.java:60, but I think its because the version mismatch(?).
[/quote]
Good work Dan. I think your resource problems are because I have been loading the editors resources from the resources directory, not the jars. I need to update the jars for these new images. The scripts in cvs will do this
(need some editing.) probably not too hard to fix tho.
I’m glad you got a server running. Keep up the good work.

Well this weekend was so busy I didn’t get as much done as I had hoped. I did however fix a bug were zooming messed up the npc paths. I also implented code to load all defined areas into a dropdown in the toolbar, and let you switch by simply selecting one.

did anyone else accomplish anything? I will probably start assinging issues/task now. Including anything I am working on. This will allow us to better track our progress.

I wonder If Kevin had any luck w/ the Server. I got the server running locally in my environment. But I couldn’t connect ot it from the client. BTW for those who had trouble hunting it down,

AdventureServer == server;
BootStrap == Client (Logon);

I’m afraid I was dragged to family gathering of assorted nature this weekend which cut in to dev time considerably.

What error/log did you get when you failed to connect?

Kev

When I used localhost as the server there was obviously no known users, so I tried to register and when I clicked the register button, I got a message : FAiled to connect to registration server. IS this a seperate process.

Also I can’t find
eat.gif
trash.gif
examine.gif

So I just mad fake ones for now.

Sorry… Man I’m dumb…
Found the REgServer and ran it. Got this error when I click register:

14/1/2005 6:52:41 : Connected: [Connection: /127.0.0.1:2519]
14/1/2005 6:52:41 : Failed to response to :[Connection: /127.0.0.1:2519]
14/1/2005 6:52:42 : Disconnect: [Connection: /127.0.0.1:2519]

I’m also getting errors like this is the AdventureServer log:

14/1/2005 6:55:38 : Warning: Trevor the Inn Keeper requested Enter for OutsideDoor which doesn't exist!

14/1/2005 6:55:38 : Warning: Trevor the Inn Keeper attempted to move to non-existent area: homestead-inn

14/1/2005 6:55:39 : Warning: Trevor the Inn Keeper requested Enter for OutsideDoor which doesn't exist!

Yep, the registration server is a seperate process. Don’t want the regserver accidently pulling down the main server…

https://jrpg.dev.java.net/source/browse/jrpg/source/src/org/javagaming/jrpg/regserver/RegServer.java

As to the icons… hmm… thought I’d mail you the latest stuff… guess it doesn’t matter too much at the moment since you’re replacing the graphics anyway. Thinking about it those icons must be the original ma-resources.jar. Just grab um from there.

Kev

Yeah I Saw the RegServer… See My Latest Greatest error above :wink:

Just add a bit of extra debug to the RegServer.jave to show the exception thats actually being thrown… probably get to the bottom of it then.

I suspect its because you haven’t got the right directory structure set up to store the registered users into.

EDIT: You need a “users” directory in the main directory where your running regserver from.

Kev

Yes Kev… The user directory was the prob. I just made my own and mounted is under my working directory. What can I do to make this process easier for developers to get set up running their server locally so they can see changes in their code tested, without redploying a server?

Should I Add a parameter to the Server for which directory to use as a base? that makes it easier to confiigure the server.

Could do, or you could just make the RegServer create the directory if its not found.

You’ll have similar issues running the game server if you’ve not got the characters directory etc…

Kev

PS. Really need to get some other forums sorted out for this stuff.

O.K. I can start using the java.dev forum I guess, I’m just afraid nobody will check it. I was going to just use the mailing list, But I can’t get at members email addresses from the site.

Will everyone please sign up for the dev mailing list???

Want a section on the GameLizard forums? :wink:

[quote]Want a section on the GameLizard forums? :wink:
[/quote]
If that would be better than java.dev (more visitors)
than sure :smiley: Your help is appreciated.

Awesome, make an account on the GameLizard site, tell me what you want the forum called, and I’ll make you admin of the area.

After the CVS update I am missing an ActionDialog.java and a resources/icons/tools/edit.png :wink:

Oh and are the files source/lib/jrpg.jar, ma-*.jar files needed in the cvs? They seem to be redundant.

try it now dan.

Hi.

Just found this thread. I must say, this looks awesome. Reminds me of an ancient game called “Times of Lore”, which I loved to play a gazillion years ago.

As for npc’s, monsters, items and likewise, it seems you would be very well off with the typical LPMud-based approach. Start with a basic “GameObject” class, which has basic properties (name, weight, etc), subclass it to “Living”, and “Item”, and subclass further to “Weapon/Armour”, “Player/Animal/Monster”.
Beginning at “GameObject” you can introduce a set of object-specific properties, with identifiers defined globally in an interface. This is really handy, you can introduce new properties as you go along, and it gives the entire object hierarchy a very seamless feel to it.

// for instance, when someone get poisoned,
myObject.add_prop(LIVING_O_POISON,poisonObject);
// when someone starts casting a spell (assuming spells
// have casting time
myObject.add_prop(LIVING_B_CASTING_SPELL,true);
// and when casting is finished
myObject.remove_prop(LIVING_B_CASTING);

Well, I am sure you get the idea. It is only a suggestion of course, but from past experience (I’ve been developing and administrating LPMud’s since the mid 1990’s), this is a system that works nicely. It’s not the fastest car in the park, but it makes it worthwhile in understandability, and easy maintainance (which is important for such a big-world type of game).

Good luck to you guys.

Addictman:

Mini Adventure has been revived as JRPG. See the thread on the first release here
Also, if you’re interested, join the discussion at the JRPG Forum.

Ah. Right :slight_smile: