creatures caves welcome, guest
downloads   gallery   dev   community   creatchi   forum   mycaves
bookmarks | search | post new topic
Development Forum
old
meta-room removal script   
raimian

raimian



  11/2/2016

hi I'm having trouble finding info on what to write for the removal part of the code.

can someone help plz

 
Allekha

Allekha


 visit Allekha's website: Hello, Robotto blog
  11/3/2016

Short answer: because removing a metaroom is obnoxious and difficult, you don't have to; many (most?) metarooms don't have removers, and of those that do, it doesn't always work properly.

Long answer: see this thread and this one for how you would go about writing a removal script if you want to.

 
raimian

raimian



  11/3/2016

in the caos guide it says the command is "delm "room id"" but I don't know how to find its "room id"
as far as I can see each metaroom gets an id code which is stored somewhere, and I need to get that code so I can delete the room in one go

was thinking it would go something like this;

setv ov77 "grab room id"
delm ov77
endm

 
Allekha

Allekha


 visit Allekha's website: Hello, Robotto blog
  11/3/2016

If you search for 'metaroom id' in the CAOS guide, there's this command:
GMAP (integer) x (float) y (float)
Returns the metaroom id at point x,y on the map. If the point is outside the room system, it returns -1.

 
Papriko
Peppery One

Papriko



  11/3/2016

Here is my recommendation how to handle remover agents: don't.
You see the two topics up there and the elaborate answers I wrote. I probably don't need to repeat it a third time.

If you feel really eager to try it anyway, first of all your own fault, and secondly you might want to have a look into the norngarden rooms. They have semi-functional removers. Jagent can crack open existing agent files.


Lets play plants! Photosynthesis... Photosynthesis... Photosynthesis...
 
KittyTikara

KittyTikara


 visit KittyTikara's website: The Mobula Ray
  11/3/2016

The C3toDS rooms also have semi-functional removers. They also kick you back to the Meso, mess up all of your favorites icons, and lock you out of any metarooms you don't have doors or some other way of getting back in there. I would imagine the Norngarden removers are about as bad.

The Mobula Ray - My Creatures blog
 
Ghosthande
Prodigal Sock

Ghosthande


 visit Ghosthande's website: Breeders Beware
  11/3/2016

I second what Papriko and KittyTikara have said. None of my metarooms have a remove script, and for good reason: that kind of script doesn't work right even at the best of times. If a person really hates a certain room for some reason, it is much, much simpler to start a new world and move all their Creatures over than to remove one metaroom and deal with the fallout.

I remember the first time I made the mistake of trying to remove a metaroom from my game... suddenly all my favorite place icons were gone, page up/page down no longer worked, and I was locked out of tons of metarooms. You don't realize just how many metarooms have no external door until somebody goes and deletes all your favorite place icons without warning you.

Maybe some day I'll try to write a better remover script that can remove a metaroom safely without breaking stuff. Right now, though, there are no fully workable options. Mostly because it means trying to work around the way other agents were written, eg. the favorite place icons. My best advice would be to not worry about a remove script. Barring that, please remember to include a disclaimer warning people what will happen if they remove the metaroom.



 
raimian

raimian



  11/6/2016

ok cool, I will leave the room removal
 


downloads
cobs
adoptions
creaturelink
metarooms
breeds
 
gallery
art
wallpaper
screenshots
graphics
promos
sprites
dev
hack shack
script reservations
dev resources
active projects
dev forum
 
community
links
advice
chat
polls
resources
creatchi
 
forum
bookmarks
general
news
help
development
strangeo
survivor
mycaves
log in
register
lost pw
1 online
Spykkie
creatures caves is your #1 resource for the creatures artificial life game series: creatures, creatures 2, creatures 3, docking station, and the upcoming creatures family.

contact    help    privacy policy    terms & conditions    rules    donate    wiki