Please help support TMC by visiting our sponsor

Member Discussions

terms


It's Not Just a Game |------[ http://www.retromud.org ]------| It's an ATTITUDE
6 Planets. 60 Races. 1,000 Skills & Spells. Infinite Possibilities.


[Previous] [Next] [Post] [Reply] [Topics] [Summary] [Search]


1. Genesis/ColdC Mud Building Wed Oct 18, 2006 [7:26 PM]
nexes300
Email not supplied
member since: May 3, 2003
Reply
Ok, so after having picked, and starting, a Genesis server with ColdCore, I have become desperate for more resources/documentation about ColdCore. Please do not point me toward the ColdC guides, I do know about them, no my question is a bit more complex than that :(

See, I picked Genesis/ColdeCore because it's supposed to be insanely customizable (like DGD). But the problem is that the entire core is a massive 50k long text dumb. This naturally presents a problem to poor old me who wants to change things to it and was expecting...seperate files...in the Phantasmal sense. So then I begin to wonder...how am I supposed to -change- anything? Do I just start modifying the text *dies*?

I mean, I understand how you can make objects, exits, rooms, add methods to them all, and stuff. But I want to change other things like, the Prompt (what prompt?), the way room exits are displayed (ugly), how rooms are colored (all grey == confusing but I admit this will probably be easy once I find the parent room object...), the way descriptions are handled, all kinds of stuff but there isn't a single guide that tells you how to make changes like that. Every guide I've seen instead tells me how to build...rooms.

So does anyone have a good "Getting started with ColdCore" guide? Resources? Anything that tells me how I should start modifying the core safely, or how it intended me to add on to it, would be greatly appreciated.

(Comment added by nexes300 on Wed Oct 18 19:33:15 2006)

EDIT: By ColdC guides I mean the guides to the programming language by that name. I want to know how to begin to use the language outside of objects/rooms.

(Comment added by nexes300 on Wed Oct 18 19:33:48 2006)

As opposed to learning the ColdC language, that's easy.


2. RE: Genesis/ColdC Mud Building Wed Oct 18, 2006 [11:44 PM]
Tyche
Email not supplied
member since: Apr 4, 2000
In Reply To
Reply
There are several core libs available other than ColdCore. Check the mudmagic and mudbytes repositories. The textdump of ColdCore is many megabytes in size not 50K. All the documentation for ColdCore is in the help files and the comments in the code itself. One edits the code online, using the editor which is written in ColdC in ColdCore itself. Other cores may or may not have editors. Anyway offline editing defeats the whole premise of online coding and dynamic runtime compilation, but if you insist you can edit the monster textdump or you can use the two Perl scripts 'split' and 'unsplit' to both generate one file per object from a textdump, edit the files offline and then join them back together again for recompilation. I wouldn't recommend that approach for the modifying the cores, but it is useful if what you to do is examine and learn how the code works.
The Sourcery - http://sourcery.dyndns.org
TeensyMud - http://teensymud.kicks-ass.org
"A man can receive nothing, except it be given him from heaven."


3. RE: Genesis/ColdC Mud Building Thu Oct 19, 2006 [12:18 AM]
nexes300
Email not supplied
member since: May 3, 2003
In Reply To
Reply
I meant 50k lines long.

Where are the perl scripts located?

Also, I understand that you can edit the code online, but I don't see how you can find the items you want to edit for some things that I mentioned. How do you g oabout finding them?

I've seen the other cores and I want to stick with coldCore for now.

(Comment added by nexes300 on Thu Oct 19 0:32:28 2006)

Nevermind, found the scripts.

Still, my other questions stand.


4. RE: Genesis/ColdC Mud Building Sun Oct 22, 2006 [2:11 AM]
Tyche
Email not supplied
member since: Apr 4, 2000
In Reply To
Reply
Sorry but I don't remember where specific things like "prompt" code are in ColdCore. Perhaps on the $user object or $network_connection. There's a @grep command that may be useful, but it searches object attributes and not the code itself which is stored in tokenized form.
The Sourcery - http://sourcery.dyndns.org
TeensyMud - http://teensymud.kicks-ass.org
"A man can receive nothing, except it be given him from heaven."


It's Not Just a Game |------[ http://www.retromud.org ]------| It's an ATTITUDE
6 Planets. 60 Races. 1,000 Skills & Spells. Infinite Possibilities.