creatures caves welcome, guest
downloads   gallery   dev   community   creatchi   forum   mycaves
bookmarks | search | post new topic
Development Forum
old
Determining Docked Worlds?   
RisenAngel
Sanely Insane

RisenAngel
United States  
Manager


 visit RisenAngel's website: The Realm
  5/13/2012

Since I found Jagent can decompile the CL agents, I decided to make it so that my worlds injected the Grendel Upgrade automatically.

To prevent the C3 script from interfering with the DS one, I put this bit of code in front of the C3 version's installation script:
* Before anything else, check the type of world this is
doif type game "ds_game_type" = 2
* If it IS a string, STOP RIGHT HERE. Trying to inject this into a docked world will cause major issues
stop
else
...
endi


Unfortunately, DS seems to completely ignore this bit and goes right ahead and injects the C3 version anyway.

Is there any other way to tell the game whether or not this is a docked world?


~ The Realm ~
Risen Angel's Creatures Blog


 
Papriko
Peppery One

Papriko



  5/13/2012

Rename your update cosfile to have something like zzzzz_ in front of the name and then just let it overwrite everything?

Usually do newly injected scripts simply overwrite the older when they have the same classifier. All the z make sure your file is loaded after anything else.


Lets play plants! Photosynthesis... Photosynthesis... Photosynthesis...
 
Ghosthande
Prodigal Sock

Ghosthande


 visit Ghosthande's website: Breeders Beware
  5/13/2012

I suppose you could use something like GMAP, GRAP, TMVT, etc. to check for a map location you know won't be valid unless the world is docked with C3... the main Bridge/Engineering section might work best, since it isn't one of the "C3 in DS" metarooms... but if this injects automatically when a world is created, that detail probably won't matter.


 


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
RisenAngel
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