Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
hpoonis2010
Beginner


Joined: 18 Jun 2019
Posts: 13

PostPosted: Mon Jul 08, 2019 12:22 pm   

Mapping, num vs vnum, room contents and database
 
Several birds with one post.

I have seen previous post regarding roomnum and roomvnum. The 'FIND ROOM' search has no facility for searching for the MUD vnum...unless that vnum has been added somehow to the room note, or roomID (shortname) or (somehow) to the UserStr field (maybe). I tried adding an extra script line to my room painting EVENT so as to magically name the room to the same as the mud vnum:

%roomid(,%gmcp.room.info.num)

But all shortnames stayed blank.

I have a database POTIONS - for potions obviously. I selected a suitable shop room from the mapper, clicked to ROOM CONTENTS option, with a view to adding database items to the room contents. No matter how many times I tried to add an item or items to the room, they have never appeared. I tried both in follow and map mode but no records from database added.

Any info for the above issues would be appreciated.

Thanks
Reply with quote
shalimar
GURU


Joined: 04 Aug 2002
Posts: 3951
Location: Pensacola, FL, USA

PostPosted: Tue Jul 09, 2019 11:11 am   
 
Editing the map to use the game side vnums usually takes 3rd party database editing.
The map has its own vnums which are basically the order of room creation.

You need to: #CALL %roomid()
You may need to toggle %maplocked as well.
_________________
Discord: Shalimar#3679
Reply with quote
hpoonis2010
Beginner


Joined: 18 Jun 2019
Posts: 13

PostPosted: Wed Jul 10, 2019 7:23 am   
 
I understand that the map is (probably) using a SQLITE database and therefore it will need some external adjusting. I thought maybe that could have been scripted from within the client.

How about the database/mapper problem not populating a room with equipment contents?
Reply with quote
shalimar
GURU


Joined: 04 Aug 2002
Posts: 3951
Location: Pensacola, FL, USA

PostPosted: Wed Jul 10, 2019 12:22 pm   
 
I assume you mean the exernal databases, which I am just not familiar with.
_________________
Discord: Shalimar#3679
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net