Using the Hex Maps

Discussion on running your own board and editing MajorMUD.
Post Reply
User avatar
Kyau
Posts: 77
Joined: Sun Jul 13, 2014 2:35 am
Location: Seattle, WA
Contact:

Using the Hex Maps

Post by Kyau »

So I have been looking over the hex maps syntax posted in the Nightmare Redux forum here. I have been perusing through the source code as well trying to figure out how to link the two together and then write a function in PHP so I can get user data implemented into my website.

I am able to parse the DAT files and pull the hex, I cannot for the life of me find the functions you use to get strings and values from the hex. All I see is pulling from BTRIEVE?

Am I thinking about this wrong, or can I not use those to decode the DAT files?


User avatar
BearFather
Posts: 652
Joined: Sun Feb 09, 2014 6:27 pm
Location: Portland, OR
Contact:

Re: Using the Hex Maps

Post by BearFather »

Wow it's been ages since I seen a room in hex. Since I came back nightmare is all I have used to edit things. Brings back memories of counting lines and saying okay I can edit this till this character.

This might sound dumb have you tried to convert the hex to string?
https://www.asciitable.com/


User avatar
syntax
Site Admin
Posts: 517
Joined: Tue Jun 02, 2009 10:02 am

Re: Using the Hex Maps

Post by syntax »

Those maps are very old. You'll find better information in NMR's source code:
https://github.com/syntax53/Nightmare-R ... aps_vO.bas

If you want to use PHP/mysql to parse mmud database data (without just exporting it from NMR into a MDB into a CSV and then importing it into mysql), you need to setup the pervasive sql engine and then you can use something like this (old now, dunno if it still works, just remember seeing it before):
https://sourceforge.net/projects/mmcp/?source=navbar


User avatar
Kyau
Posts: 77
Joined: Sun Jul 13, 2014 2:35 am
Location: Seattle, WA
Contact:

Re: Using the Hex Maps

Post by Kyau »

Yea that is what I thought, I started looking at the pervasive stuff again last night (found a copy of PSQL Server 8.5 w/ keygen). I have the quicksilverbbs source code already, thank you though, all he did was use the same script to create all the databases from DATs and modify it further (the same one posted in every PSQL thread). Hit a snag on Linux not being able to find the Pervasive SQL ODBC Driver on script launch (might have to end up running it on the Windows maching unless I can get the PSQL linux client working).

If anyone has done any of this I could sure use some pointers.

Plan at this point I guess is to write a script that copies the needed dats over at cleanup, converts to psql then run a separate script to push from psql to mysql (given my site is all on linux and using mysql, might not be able to connect direct to psql).


Post Reply