Re: [Javamud-developers] Re: Javamud-developers digest, Vol 1 #9 - 2 msgs
Status: Beta
Brought to you by:
u_davis
From: Istvan D. <ist...@F-...> - 2003-06-24 04:43:59
|
Hi, Sounds reasonable to me. But currently i have to remove all the circular references so that i can compile the code without actually moving the classes physically to the new directories (see the comments on case #759251, Feature Requests). Also we could put a /player dir to each guild, where the extra information about the guildstats can be saved. regards istvan On Tuesday 24 June 2003 06:53, Jonathan Romulo Geronimo wrote: > Heya, > > Sounds good to me :). Do you think it would be better > if we changed the structure of the /guilds? > > /guilds > - /warrior > - /room > - /monster > - /object > - /mercenary > - /room > - /monster > - /object > - /paladin > - /room > - /monster > - /object > > This way, the information will be stored individually > according to the guilds, like the /lib/areax > directories. In fact, they do seem to share very > similar structures with areas. What about moving them > to /lib/areax? > > On a side note, a suggestion just came to mind > regarding the standard rooms ( springflower! ). What > about turning springflower into an area itself ( > /lib/springflower ). Then we can specify in a property > file where the default start room / void room / death > room is so that those rooms will not be tied to > /springflower. > > > Regards, > Jonathan > > > From: "Istvan David" <ist...@F-...> > > Reply-To: <ist...@F-...> > > Organization: F-Secure Corporation > > To: <jav...@li...> > > Subject: Re: [Javamud-developers] Alternate > > directory structure > > Date: Mon, 23 Jun 2003 12:36:00 +0300 > > > > This is a multi-part message in MIME format. > > > > --Boundary-00=_Aos9+VwyncpeU6A > > Content-Type: text/plain; > > charset="iso-8859-15" > > Content-Transfer-Encoding: 7bit > > Content-Disposition: inline > > > > Hi, > > > > Here is my draft with filled with the classes > > already implemented > > > > please comment > > > > istvan > > > > On Tuesday 17 June 2003 18:39, David, Istvan wrote: > > > Let's see: > > > > > > The only major problem with this would be that the > > > > mudlib API has one > > > > > function: clone_object(String filename). > > > This doesn't tell the type of the object, so in > > > > the current implementation > > > > > the driver tries in three places: object/; mob/; > > > > room/ and tries to load > > > > > the first class that matches the filename relative > > > > to the above paths. If > > > > > you want this to work, i have to make the driver > > > > recognize the type of the > > > > > class that's being loaded and then cast it to the > > > > apropiate type (in fact > > > > > that should be the way to do it anyway, so i'll > > > > try to do that next, when i > > > > > have the time). > > > Anyway, all the classes MUST be under javamud/ > > > > directory, since the main > > > > > package if the game is "javamud.*". > > > Personally i like the previous structure better > > > > (the existing one), since > > > > > the inheritance and package structure is obvious. > > > > > > regards > > > istvan > > > > > > > > > On Monday 16 June 2003 12:35, Jonathan Romulo > > > > Geronimo wrote: > > > Alternate directory structure: > > > ------------------------------ > > > > > > /commands > > > Contains all user commands. > > > > > > /daemons > > > Contains all the daemons. > > > > > > /domain > > > This is the main standard library which comes with > > > > the mud. > > > > > - /rooms > > > Contains the standard rooms like the death > > > > room, the wizard hall and so > > > > > on. > > > > > > /logs > > > Contains all logfiles. > > > > > > /std > > > Contains the basic classes ( eg. basic.java, > > > > living.java, mob.java ) which > > > > > all other objects extend. > > > - /armor > > > Contains pre-made armor to be used or extended > > > > by wizards. > > > > > - /clans > > > Contains the clan classes. > > > > > > - /guilds > > > Contains the guild classes. > > > > > > - /item > > > Contains pre-made items (eg. torches, backpack > > > > ) to be used or extended > > > > > by wizards. > > > > > > - /quests > > > Containst the quest classes. > > > > > > - /races > > > Contains the character race classes. > > > - /races > > > Contains the character race classes. > > > > > > - /spells > > > Contains the spell classes. > > > > > > - /weapon > > > Contains pre-made weapons to be used or > > > > extended by wizards. > > > > > /system > > > Contains system classes like driver.java and > > > > serverThread.java. > > > > > /utils > > > Contains utility classes. > > > > > > /wizards > > > The home directories of all wizards are here. > > > > These directories will be > > > > > where the files they create are stored in. > > > - /davis > > > - /easta > > > > > > > Hello, > > > > > > > > Attached is a text file detailing an alternate > > > > directory structure for the mud's source code. > > > > > > > > Do comment :). > > > > > > > > > > > > Jonathan > > > > > > > > ===== > > > > And the bleak shalt inherith the mirth. > > > > > > > > __________________________________ > > > > Do you Yahoo!? > > > > SBC Yahoo! DSL - Now only $29.95 per month! > > > > http://sbc.yahoo.com > > > > -- > > ____________ > > \ ______// > > \ \\____ Istvan David > > tel : +358 9 2520 5359 > > \ __// Software Engineer > > fax : +358 9 2520 5001 > > \ \\ > > \ // F-Secure Corporation > > http://www.F-Secure.com/ > > \/ F-Secure products: Securing the > > Mobile Enterprise > > > > Alternate directory structure: > > ------------------------------ > > > > /commands > > basic_command, [all commands] > > > > /daemons > > simple_daemon, soul_daemon, guild_daemon, > > property_daemon, > > general_daemon, acl_daemon, monster_daemon > > > > /lib > > - /room > > the_void > > [all the springflower rooms] > > - /wiz > > - /monster > > [all the springflower monsters] > > - /object > > [all the springflower objects] > > - /areaname1 > > - /room > > - /monster > > - /object > > - /areaname2 > > - /room > > - /monster > > - /object > > > > /logs > > javamud.log > > login.log > > death.log > > exp.log > > level.log > > - /wizards > > - /davis > > - /easta > > > > /std > > basic, basic_thing, basic_container_obj, property > > object, simple_container, usable_object > > soul > > paper_object, book_object, simple_board > > simple_money, simple_potion, simple_scroll > > ship_object > > living > > mob, monster > > client > > room, door, Exit > > daemon_room, simple_pub, simples_shop, > > simple_shareroom > > basic_guild, basic_ship, large_ship > > - /corpse > > decay_object > > corpse > > drained_corpse > > > > - /armor > > simple_armour > > > > - /clans > > basic_clan, lightbearer_clan > > > > - /guilds > > - /room > > - /warrior > > - /mercenary > > - /paladin > > - /monster > > - /warrior > > - /mercenary > > - /paladin > > > > - /object > > - /warrior > > - /mercenary > > - /paladin > > - /guildmarks > > basic_guild > > knight > > mercenary > > paladin > > > > - /item > > torch > > party_object > > > > - /quests > > quest, quest_riddle, quest_object > > - [separate dir for each quest] > > > > - /races > > basic_race, [all race classes] > > > > - /spells > > basic_spell, affect_spell, [all spell classes] > > > > - /weapon > > simple_weapon > > shortsword, longsword > > > > /system > > driver, Beat, serverThread > > > > /utils > > utils, Ansii, ziputil, damlog > > > > /wizards > > - /davis > > - /easta > > ===== > And the bleak shalt inherith the mirth. > > __________________________________ > Do you Yahoo!? > SBC Yahoo! DSL - Now only $29.95 per month! > http://sbc.yahoo.com > > > ------------------------------------------------------- > This SF.Net email is sponsored by: INetU > Attention Web Developers & Consultants: Become An INetU Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > _______________________________________________ > Javamud-developers mailing list > Jav...@li... > https://lists.sourceforge.net/lists/listinfo/javamud-developers -- ____________ \ ______// \ \\____ Istvan David tel : +358 9 2520 5359 \ __// Software Engineer fax : +358 9 2520 5001 \ \\ \ // F-Secure Corporation http://www.F-Secure.com/ \/ F-Secure products: Securing the Mobile Enterprise |