Junior Spellweaver
- Joined
- May 15, 2014
- Messages
- 165
- Reaction score
- 34
Hello, saw that many had troubles fixing the camera on comet, so I thought why not make a little tutorial? Let's get straight into it.
Things needed:
Comet the release made by MetusMeth aka Ryan.
This camera.php file,
external_wallitem_image_poster.swf,
A brain
So start off by heading to the emulators database and look for "server_configuration" table. There look for camera_photo_url. It will look something like this "http://localhost/swf/photos/%photoId%.png". That's where all of the images that are made will be saved.
Now head over to your swfs folder and extract the downloaded swfs inside "dcr > hof_furni". Now open up your furnidata.xml and instert this at the bottom of your furnidata right next to <roomitemtypes>(to the right of room types so that <roomitemtypes> wraps around that xml below:
Now depending on what CMS you're using this will be done differently but on RevCMS there's a param that's called {sso} which stores your sso basically. Head over to client.php, and edit it with your choice of editor. look for "flash.client.origin" : "popup". Replace it with the text below.
If the CMS you're using uses another param to store your sso then just change {sso} into whatever param it uses. Run your emulator and open up client. Try take a photo and you should have camera fully working. If you have any issues let me know
Things needed:
Comet the release made by MetusMeth aka Ryan.
This camera.php file,
You must be registered to see links
.external_wallitem_image_poster.swf,
You must be registered to see links
.A brain
So start off by heading to the emulators database and look for "server_configuration" table. There look for camera_photo_url. It will look something like this "http://localhost/swf/photos/%photoId%.png". That's where all of the images that are made will be saved.
Now head over to your swfs folder and extract the downloaded swfs inside "dcr > hof_furni". Now open up your furnidata.xml and instert this at the bottom of your furnidata right next to <roomitemtypes>(to the right of room types so that <roomitemtypes> wraps around that xml below:
Code:
<furnitype id="50001" classname="external_image_wallitem_poster"> <revision>57409</revision> <name>Camera Pic</name> <description>Your best shots from the hotel.</description> <adurl></adurl> <offerid>-1</offerid> <buyout>0</buyout> <rentofferid>-1</rentofferid> <rentbuyout>0</rentbuyout> <bc>0</bc> <excludeddynamic>0</excludeddynamic> <specialtype>1</specialtype> <furniline>stories</furniline></furnitype>
Now depending on what CMS you're using this will be done differently but on RevCMS there's a param that's called {sso} which stores your sso basically. Head over to client.php, and edit it with your choice of editor. look for "flash.client.origin" : "popup". Replace it with the text below.
Code:
"flash.client.origin" : "popup","comet.camera.uploadLink" : "{url}/swf/camera.php?ssoTicket={sso}"
If the CMS you're using uses another param to store your sso then just change {sso} into whatever param it uses. Run your emulator and open up client. Try take a photo and you should have camera fully working. If you have any issues let me know