Exemple #1
0
# # get friendlist
# friendlist = getFriendlist(roomOwnerId)
# i = 0
# for friendId in friendlist:
#     # get photo
#     photoURL = getDBProperty(friendId, "PhotoURL")
#             # set pic_url for friendlist
#     i = i + 1
#     profileName = roomStyle + "_profile_%02d" % i
#     profileOid = ObjectManagerClient.getNamedObject(instanceOid, profileName, None)
#     if profileOid is not None:
#         roomItemsProps = setObjectProperty(profileOid, Namespace.WORLD_MANAGER, "pic_url", photoURL, roomItemsProps)
#         roomItemsProps = setObjectProperty(profileOid, Namespace.WORLD_MANAGER, "AccountId", friendId, roomItemsProps)

# EnginePlugin.setObjectProperty(instanceOid, Namespace.INSTANCE, "RoomItemsProps", roomItemsProps)

#npc1Marker = instance.getMarker("npc1_marker").clone()
#npc1Marker.getPoint().setY(0)

#spawnData = SpawnData()
#spawnData.setFactoryName("npc1Factory")
#spawnData.setInstanceOid(Long(instanceOid))
#spawnData.setLoc(npc1Marker.getPoint())
#spawnData.setNumSpawns(1)
#spawnData.setSpawnRadius(1)
#spawnData.setRespawnTime(1000)
#spawnData.setCorpseDespawnTime(0)
#MobManagerClient.createSpawnGenerator(spawnData)

Log.debug("done with instance_load_room_cute.py")
# i = 0
# for friendId in friendlist:
#     # get photo
#     photoURL = getDBProperty(friendId, "PhotoURL")
#             # set pic_url for friendlist
#     i = i + 1
#     profileName = roomStyle + "_profile_%02d" % i
#     profileOid = ObjectManagerClient.getNamedObject(instanceOid, profileName, None)
#     if profileOid is not None:
#         roomItemsProps = setObjectProperty(profileOid, Namespace.WORLD_MANAGER, "pic_url", photoURL, roomItemsProps)
#         roomItemsProps = setObjectProperty(profileOid, Namespace.WORLD_MANAGER, "AccountId", friendId, roomItemsProps)

# EnginePlugin.setObjectProperty(instanceOid, Namespace.INSTANCE, "RoomItemsProps", roomItemsProps)


#npc1Marker = instance.getMarker("npc1_marker").clone()
#npc1Marker.getPoint().setY(0)

#spawnData = SpawnData()
#spawnData.setFactoryName("npc1Factory")
#spawnData.setInstanceOid(Long(instanceOid))
#spawnData.setLoc(npc1Marker.getPoint())
#spawnData.setNumSpawns(1)
#spawnData.setSpawnRadius(1)
#spawnData.setRespawnTime(1000)
#spawnData.setCorpseDespawnTime(0)
#MobManagerClient.createSpawnGenerator(spawnData)


Log.debug("done with instance_load_room_cute.py")
#  FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE 
#  OR OTHER DEALINGS IN THE SOFTWARE.
#
#  

from multiverse.server.plugins import *
from multiverse.server.objects import *
from multiverse.server.util import Log
from java.lang import Long


instance = Instance.current()
instanceOid = Instance.currentOid()


#npc1Marker = instance.getMarker("npc1_marker").clone()
#npc1Marker.getPoint().setY(0)

#spawnData = SpawnData()
#spawnData.setFactoryName("npc1Factory")
#spawnData.setInstanceOid(Long(instanceOid))
#spawnData.setLoc(npc1Marker.getPoint())
#spawnData.setNumSpawns(1)
#spawnData.setSpawnRadius(1)
#spawnData.setRespawnTime(1000)
#spawnData.setCorpseDespawnTime(0)
#MobManagerClient.createSpawnGenerator(spawnData)


Log.debug("done with instance_load_room_goth.py")
#  FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE 
#  OR OTHER DEALINGS IN THE SOFTWARE.
#
#  

from multiverse.server.plugins import *
from multiverse.server.objects import *
from multiverse.server.util import Log
from java.lang import Long


instance = Instance.current()
instanceOid = Instance.currentOid()


#npc1Marker = instance.getMarker("npc1_marker").clone()
#npc1Marker.getPoint().setY(0)

#spawnData = SpawnData()
#spawnData.setFactoryName("npc1Factory")
#spawnData.setInstanceOid(Long(instanceOid))
#spawnData.setLoc(npc1Marker.getPoint())
#spawnData.setNumSpawns(1)
#spawnData.setSpawnRadius(1)
#spawnData.setRespawnTime(1000)
#spawnData.setCorpseDespawnTime(0)
#MobManagerClient.createSpawnGenerator(spawnData)


Log.debug("done with instance_load_room_sports.py")
#  FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE 
#  OR OTHER DEALINGS IN THE SOFTWARE.
#
#  

from multiverse.server.plugins import *
from multiverse.server.objects import *
from multiverse.server.util import Log
from java.lang import Long


instance = Instance.current()
instanceOid = Instance.currentOid()


#npc1Marker = instance.getMarker("npc1_marker").clone()
#npc1Marker.getPoint().setY(0)

#spawnData = SpawnData()
#spawnData.setFactoryName("npc1Factory")
#spawnData.setInstanceOid(Long(instanceOid))
#spawnData.setLoc(npc1Marker.getPoint())
#spawnData.setNumSpawns(1)
#spawnData.setSpawnRadius(1)
#spawnData.setRespawnTime(1000)
#spawnData.setCorpseDespawnTime(0)
#MobManagerClient.createSpawnGenerator(spawnData)


Log.debug("done with instance_load_room_metal.py")
Exemple #6
0
#  NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
#  HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
#  WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
#  FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE
#  OR OTHER DEALINGS IN THE SOFTWARE.
#
#

from multiverse.server.plugins import *
from multiverse.server.objects import *
from multiverse.server.util import Log
from java.lang import Long

instance = Instance.current()
instanceOid = Instance.currentOid()

#npc1Marker = instance.getMarker("npc1_marker").clone()
#npc1Marker.getPoint().setY(0)

#spawnData = SpawnData()
#spawnData.setFactoryName("npc1Factory")
#spawnData.setInstanceOid(Long(instanceOid))
#spawnData.setLoc(npc1Marker.getPoint())
#spawnData.setNumSpawns(1)
#spawnData.setSpawnRadius(1)
#spawnData.setRespawnTime(1000)
#spawnData.setCorpseDespawnTime(0)
#MobManagerClient.createSpawnGenerator(spawnData)

Log.debug("done with instance_load_default.py")
Exemple #7
0
#  NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
#  HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
#  WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
#  FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE
#  OR OTHER DEALINGS IN THE SOFTWARE.
#
#

from multiverse.server.plugins import *
from multiverse.server.objects import *
from multiverse.server.util import Log
from java.lang import Long

instance = Instance.current()
instanceOid = Instance.currentOid()

#npc1Marker = instance.getMarker("npc1_marker").clone()
#npc1Marker.getPoint().setY(0)

#spawnData = SpawnData()
#spawnData.setFactoryName("npc1Factory")
#spawnData.setInstanceOid(Long(instanceOid))
#spawnData.setLoc(npc1Marker.getPoint())
#spawnData.setNumSpawns(1)
#spawnData.setSpawnRadius(1)
#spawnData.setRespawnTime(1000)
#spawnData.setCorpseDespawnTime(0)
#MobManagerClient.createSpawnGenerator(spawnData)

Log.debug("done with instance_load_room_sports.py")
npc2Loc = instance.getMarker("village_npc_2").getPoint().clone()
npc2Loc.setY(0)

spawnData = SpawnData()
spawnData.setFactoryName("npc2Factory")
spawnData.setInstanceOid(Long(instanceOid))
spawnData.setLoc(npc2Loc)
spawnData.setNumSpawns(1)
spawnData.setSpawnRadius(1)
spawnData.setRespawnTime(1000)
spawnData.setCorpseDespawnTime(0)
MobManagerClient.createSpawnGenerator(spawnData)


npc3Loc = instance.getMarker("village_npc_3").getPoint()
# don't set Y coord to 0 because this guy is in a building

spawnData = SpawnData()
spawnData.setFactoryName("npc3Factory")
spawnData.setInstanceOid(Long(instanceOid))
spawnData.setLoc(npc3Loc)
spawnData.setNumSpawns(1)
spawnData.setSpawnRadius(1)
spawnData.setRespawnTime(1000)
spawnData.setCorpseDespawnTime(0)
MobManagerClient.createSpawnGenerator(spawnData)

Log.debug("done with instance_load.py")

# i = 0
# for friendId in friendlist:
#     # get photo
#     photoURL = getDBProperty(friendId, "PhotoURL")
#             # set pic_url for friendlist
#     i = i + 1
#     profileName = roomStyle + "_profile_%02d" % i
#     profileOid = ObjectManagerClient.getNamedObject(instanceOid, profileName, None)
#     if profileOid is not None:
#         roomItemsProps = setObjectProperty(profileOid, Namespace.WORLD_MANAGER, "pic_url", photoURL, roomItemsProps)
#         roomItemsProps = setObjectProperty(profileOid, Namespace.WORLD_MANAGER, "AccountId", friendId, roomItemsProps)

# EnginePlugin.setObjectProperty(instanceOid, Namespace.INSTANCE, "RoomItemsProps", roomItemsProps)


#npc1Marker = instance.getMarker("npc1_marker").clone()
#npc1Marker.getPoint().setY(0)

#spawnData = SpawnData()
#spawnData.setFactoryName("npc1Factory")
#spawnData.setInstanceOid(Long(instanceOid))
#spawnData.setLoc(npc1Marker.getPoint())
#spawnData.setNumSpawns(1)
#spawnData.setSpawnRadius(1)
#spawnData.setRespawnTime(1000)
#spawnData.setCorpseDespawnTime(0)
#MobManagerClient.createSpawnGenerator(spawnData)


Log.debug("done with instance_load_room_hiphop.py")
#  NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
#  HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
#  WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
#  FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE
#  OR OTHER DEALINGS IN THE SOFTWARE.
#
#

from multiverse.server.plugins import *
from multiverse.server.objects import *
from multiverse.server.util import Log
from java.lang import Long

instance = Instance.current()
instanceOid = Instance.currentOid()

#npc1Marker = instance.getMarker("npc1_marker").clone()
#npc1Marker.getPoint().setY(0)

#spawnData = SpawnData()
#spawnData.setFactoryName("npc1Factory")
#spawnData.setInstanceOid(Long(instanceOid))
#spawnData.setLoc(npc1Marker.getPoint())
#spawnData.setNumSpawns(1)
#spawnData.setSpawnRadius(1)
#spawnData.setRespawnTime(1000)
#spawnData.setCorpseDespawnTime(0)
#MobManagerClient.createSpawnGenerator(spawnData)

Log.debug("done with instance_load_hiphopEnvironment.py")
Exemple #11
0
# # get friendlist
# friendlist = getFriendlist(roomOwnerId)
# i = 0
# for friendId in friendlist:
#     # get photo
#     photoURL = getDBProperty(friendId, "PhotoURL")
#             # set pic_url for friendlist
#     i = i + 1
#     profileName = roomStyle + "_profile_%02d" % i
#     profileOid = ObjectManagerClient.getNamedObject(instanceOid, profileName, None)
#     if profileOid is not None:
#         roomItemsProps = setObjectProperty(profileOid, Namespace.WORLD_MANAGER, "pic_url", photoURL, roomItemsProps)
#         roomItemsProps = setObjectProperty(profileOid, Namespace.WORLD_MANAGER, "AccountId", friendId, roomItemsProps)

# EnginePlugin.setObjectProperty(instanceOid, Namespace.INSTANCE, "RoomItemsProps", roomItemsProps)

#npc1Marker = instance.getMarker("npc1_marker").clone()
#npc1Marker.getPoint().setY(0)

#spawnData = SpawnData()
#spawnData.setFactoryName("npc1Factory")
#spawnData.setInstanceOid(Long(instanceOid))
#spawnData.setLoc(npc1Marker.getPoint())
#spawnData.setNumSpawns(1)
#spawnData.setSpawnRadius(1)
#spawnData.setRespawnTime(1000)
#spawnData.setCorpseDespawnTime(0)
#MobManagerClient.createSpawnGenerator(spawnData)

Log.debug("done with instance_load_room_hiphop.py")
npc2Loc = instance.getMarker("village_npc_2").getPoint().clone()
npc2Loc.setY(0)

spawnData = SpawnData()
spawnData.setFactoryName("npc2Factory")
spawnData.setInstanceOid(Long(instanceOid))
spawnData.setLoc(npc2Loc)
spawnData.setNumSpawns(1)
spawnData.setSpawnRadius(1)
spawnData.setRespawnTime(1000)
spawnData.setCorpseDespawnTime(0)
MobManagerClient.createSpawnGenerator(spawnData)


npc3Loc = instance.getMarker("village_npc_3").getPoint()
# don't set Y coord to 0 because this guy is in a building

spawnData = SpawnData()
spawnData.setFactoryName("npc3Factory")
spawnData.setInstanceOid(Long(instanceOid))
spawnData.setLoc(npc3Loc)
spawnData.setNumSpawns(1)
spawnData.setSpawnRadius(1)
spawnData.setRespawnTime(1000)
spawnData.setCorpseDespawnTime(0)
MobManagerClient.createSpawnGenerator(spawnData)

Log.debug("done with instance_load.py")

Exemple #13
0
#  FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE 
#  OR OTHER DEALINGS IN THE SOFTWARE.
#
#

from multiverse.server.plugins import *
from multiverse.server.objects import *
from multiverse.server.util import Log
from java.lang import Long


instance = Instance.current()
instanceOid = Instance.currentOid()


#npc1Marker = instance.getMarker("npc1_marker").clone()
#npc1Marker.getPoint().setY(0)

#spawnData = SpawnData()
#spawnData.setFactoryName("npc1Factory")
#spawnData.setInstanceOid(Long(instanceOid))
#spawnData.setLoc(npc1Marker.getPoint())
#spawnData.setNumSpawns(1)
#spawnData.setSpawnRadius(1)
#spawnData.setRespawnTime(1000)
#spawnData.setCorpseDespawnTime(0)
#MobManagerClient.createSpawnGenerator(spawnData)


Log.debug("done with instance_load_room_goth.py")
#  OR OTHER DEALINGS IN THE SOFTWARE.
#
#  

from multiverse.server.plugins import *
from multiverse.server.objects import *
from multiverse.server.util import Log
from java.lang import Long


instance = Instance.current()
instanceOid = Instance.currentOid()


#npc1Marker = instance.getMarker("npc1_marker").clone()
#npc1Marker.getPoint().setY(0)

#spawnData = SpawnData()
#spawnData.setFactoryName("npc1Factory")
#spawnData.setInstanceOid(Long(instanceOid))
#spawnData.setLoc(npc1Marker.getPoint())
#spawnData.setNumSpawns(1)
#spawnData.setSpawnRadius(1)
#spawnData.setRespawnTime(1000)
#spawnData.setCorpseDespawnTime(0)
#MobManagerClient.createSpawnGenerator(spawnData)


Log.debug("done with instance_load_hiphopEnvironment.py")

Exemple #15
0
#  NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
#  HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
#  WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
#  FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE
#  OR OTHER DEALINGS IN THE SOFTWARE.
#
#

from multiverse.server.plugins import *
from multiverse.server.objects import *
from multiverse.server.util import Log
from java.lang import Long

instance = Instance.current()
instanceOid = Instance.currentOid()

#npc1Marker = instance.getMarker("npc1_marker").clone()
#npc1Marker.getPoint().setY(0)

#spawnData = SpawnData()
#spawnData.setFactoryName("npc1Factory")
#spawnData.setInstanceOid(Long(instanceOid))
#spawnData.setLoc(npc1Marker.getPoint())
#spawnData.setNumSpawns(1)
#spawnData.setSpawnRadius(1)
#spawnData.setRespawnTime(1000)
#spawnData.setCorpseDespawnTime(0)
#MobManagerClient.createSpawnGenerator(spawnData)

Log.debug("done with instance_load_room_metal.py")
#  FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE 
#  OR OTHER DEALINGS IN THE SOFTWARE.
#
#

from multiverse.server.plugins import *
from multiverse.server.objects import *
from multiverse.server.util import Log
from java.lang import Long


instance = Instance.current()
instanceOid = Instance.currentOid()


#npc1Marker = instance.getMarker("npc1_marker").clone()
#npc1Marker.getPoint().setY(0)

#spawnData = SpawnData()
#spawnData.setFactoryName("npc1Factory")
#spawnData.setInstanceOid(Long(instanceOid))
#spawnData.setLoc(npc1Marker.getPoint())
#spawnData.setNumSpawns(1)
#spawnData.setSpawnRadius(1)
#spawnData.setRespawnTime(1000)
#spawnData.setCorpseDespawnTime(0)
#MobManagerClient.createSpawnGenerator(spawnData)


Log.debug("done with instance_load_room_hiphop_unfurnished.py")
#  OR OTHER DEALINGS IN THE SOFTWARE.
#
#

from multiverse.server.plugins import *
from multiverse.server.objects import *
from multiverse.server.util import Log
from java.lang import Long


instance = Instance.current()
instanceOid = Instance.currentOid()


#npc1Marker = instance.getMarker("npc1_marker").clone()
#npc1Marker.getPoint().setY(0)

#spawnData = SpawnData()
#spawnData.setFactoryName("npc1Factory")
#spawnData.setInstanceOid(Long(instanceOid))
#spawnData.setLoc(npc1Marker.getPoint())
#spawnData.setNumSpawns(1)
#spawnData.setSpawnRadius(1)
#spawnData.setRespawnTime(1000)
#spawnData.setCorpseDespawnTime(0)
#MobManagerClient.createSpawnGenerator(spawnData)


Log.debug("done with instance_load_default.py")