|
hpoonis2010 Adept
Joined: 18 Jun 2019 Posts: 279
|
Posted: 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 |
|
|
|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4662 Location: Pensacola, FL, USA
|
Posted: 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: Shalimarwildcat |
|
|
|
hpoonis2010 Adept
Joined: 18 Jun 2019 Posts: 279
|
Posted: 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? |
|
|
|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4662 Location: Pensacola, FL, USA
|
Posted: Wed Jul 10, 2019 12:22 pm |
I assume you mean the exernal databases, which I am just not familiar with.
|
|
_________________ Discord: Shalimarwildcat |
|
|
|
|
|