Search found 496 matches

by chris
Sat Jun 18, 2011 5:53 am
Forum: Scripts & Packages
Topic: cMud Map Importer
Replies: 98
Views: 79925

Re: cMud Map Importer

Updated it, it now does pretty much autopilot. Updated information/script in my post
by chris
Sat Jun 18, 2011 2:28 am
Forum: Scripts & Packages
Topic: cMud Map Importer
Replies: 98
Views: 79925

Re: cMud Map Importer

I figured it out, just need to do
local file = invokeFileDialog(true, "Select your cMud Map")

Is there a way to get the user's profile? For the desc/roomdesc file that needs to be constant, something the user will not have to redefine. I figure the user profiler's name would serve well.
by chris
Sat Jun 18, 2011 2:11 am
Forum: Scripts & Packages
Topic: cMud Map Importer
Replies: 98
Views: 79925

Re: cMud Map Importer

All the steps are in createmap(). The two steps that need to be done to make it accessible from a file picker: line 94, local file = getMudletHomeDir().."/3kingdoms.dbm" basically have that variable redirect to the database the user chooses There user also needs to create a sqlite databse ...
by chris
Fri Jun 17, 2011 11:58 pm
Forum: Scripts & Packages
Topic: cMud Map Importer
Replies: 98
Views: 79925

Re: cMud Map Importer

You only need your cmud map. The file ending is .dbm, however it is just a sqlite3 database. A new sqlite database is made to store the room descriptions and room scripts. makeSqlDB() should make the database, I think I left out that step
by chris
Fri Jun 17, 2011 1:31 pm
Forum: Scripts & Packages
Topic: cMud Map Importer
Replies: 98
Views: 79925

Re: cMud Map Importer

That'll be up in a day or 2. I want to use it a bit more first
by chris
Fri Jun 17, 2011 5:47 am
Forum: Scripts & Packages
Topic: cMud Map Importer
Replies: 98
Views: 79925

cMud Map Importer

This will import your map into Mudlet (it only works on the newer files, which are dbm or sqlite3. There is a tool however on zuggsoft website to convert maps to this format) This script will only import your map, it will not provide you with a functional mapper. To run it: Note You no longer need t...