no rooms in multiplayer
felicroman
03 Aug 2005, 15:12francisstokes
04 Aug 2005, 09:07felicroman
04 Aug 2005, 14:00' "the ziggurat"
' Created with QDK 3.53 - UNREGISTERED VERSION
!include <net.lib>
!include <Typelib.qlb>
define game <the ziggurat>
asl-version <350>
gametype singleplayer
start <foot of steps>
game author <pinball>
game version <1.0>
game info <Created with QDK 3.53 - UNREGISTERED EVALUATION VERSION.>
startscript {
msg <the ziggurat-|nexplore a marduki ziggurat.>
give <rucksack>
}
description {
set string <indescription; $gettag(#quest.currentroom#;indescription)$>
if ( #indescription# = ) then set string <indescription; > else {
set string <lastchar; $right(#indescription#; 1)$>
if ( #lastchar# = : ) then {
set numeric <len; $lengthof(#indescription#)$>
dec <len>
set string <indescription; $left(#indescription#; %len%)$>
}
}
msg <#indescription# |b|cl#quest.formatroom#|xb|cb.>
if not ( #quest.doorways.out# = ) then msg <You can go out to #quest.doorways.out#.>
if not ( #quest.doorways.dirs# = ) then msg <You can go #quest.doorways.dirs#.>
if not ( #quest.doorways.places# = ) then msg <You can go to #quest.doorways.places#.>
if not ( #quest.objects# = ) then msg <You can see #quest.formatobjects#.>
msg <#quest.lookdesc#>
}
end define
define synonyms
end define
define room <foot of steps>
alias <before a large stone stairway>
look <you are standing in the open air before a wide stair of ancient stone, leading up the south face of the ziggurat. to your south is a dense jungle, impassible without a machete. there are open stone courtyards to the east and west.>
east <east courtyard>
west <west courtyard>
up <on a large stone stairway>
end define
define room <east courtyard>
look <you are on a large stone courtyard. the ziggurat towers above you, whilst the south and east are bordered by dense jungle, from which soft jungle sounds are eminating. the northern end of the courtyard is north. you can also travel west towards the main stairway or northeast towards the southeast corner.>
north <under a thin stairway>
west <foot of steps>
northeast <southeast corner>
end define
define room <west courtyard>
look <this stone plateau is the west courtyard of the ziggurat, bordered by dense jungle to the south and west. a slight breeze brings the sweet smell of poisonous vines to your nose. you can travel east towards the main stairway, or northwest towards the southwest corner.>
east <foot of steps>
northwest <southwest corner>
end define
define room <southeast corner>
look <this is the southeast corner of the ziggurat. a small stone path leads north along the east face, whilst a large courtyard lies to your southwest. this is also the foot of a thin stairway which leads west and up the south face of the ziggurat (up).>
north <under the east wall>
west <under a thin stairway>
southwest <east courtyard>
up <on a thin stairway>
end define
define room <southwest corner>
look <this is the southeast corner of the ziggurat. a small stone path leads north along the west face, whilst a large courtyard lies to your southeast.>
north <under the west wall>
southeast <west courtyard>
end define
define room <under the east wall>
look <you are in the shadow of the ziggurat, halfway along the small path bordering its east face. the jungle is creeping very close to the edge of the structure at this point. the path continues north and south.>
north <northeast corner>
south <southeast corner>
end define
define room <northeast corner>
look <this is the northeast corner of the ziggurat. the jungle has grown so close to the wall here that further travel along the border is impossible. the stone path leads south.>
south <under the east wall>
end define
define room <under the west wall>
look <you are on a stone path under the west face of the ziggurat. the jungle has crept in cutting off the path north here. rays of orange sunlight dart through the jungle vegetation, creating a pattern of lights on the ancient wall. the path leads south.>
south <southwest corner>
end define
define room <under a thin stairway>
look <you are at the north end of the east courtyard, directly under a thin stone stairway which leads west and up the south face of the ziggurat. you can go east or south from here.>
south <east courtyard>
east <southeast corner>
end define
define room <on a thin stairway>
look <you are standing on a precariously thin and unprotected stairway leading west and up the south face of the ziggurat. you notice the worn step edges are beginning to crumple with the wear of the years. the stairway leads up and down.>
up <further up a thin stairway>
down <southeast corner>
end define
define room <further up a thin stairway>
look <at this point on the stairway you can step off southwest onto a small outlook platform above the east courtyard. the steps continue up and down.>
southwest <east outlook>
up <main external chamber>
down <on a thin stairway>
end define
define room <east outlook>
look <you are standing on a small platform in the south face, looking down upon the east courtyard. there is a small stairway to your northeast. a small tunnel leads west from here, cutting through the large stone stairway above you.>
west <west outlook>
northeast <on a thin stairway>
end define
define room <west outlook>
look <you are standing on a small platform in the south face, looking down upon the west courtyard. a tunnel through the stone wall of the stairway above you leads east.>
east <east outlook>
end define
define room <main external chamber>
alias <archway chamber>
look <this is a small chamber which an archway in each wall, leading out into open air. steps from here lead down onto the main stone stairway of the ziggurat, and up towards a smaller set of steps leading to the highest point of the structure. a walkway also leads east and west from here. there is a thin stairway leading down to your southeast.>
east <southeast lookout>
west <southwest lookout>
southeast <further up a thin stairway>
up <on a small stairway>
down <on a large stone stairway>
end define
define room <on a large stone stairway>
look <you are halfway up the wide stone stairway in the ziggurat, travelling on large and ancient stones, damaged by hundreds of years of weathering. at this point you are approximately level with the upper layers of the jungle surrounding the structure. there is a low rounded wall leading up each side of the stairway for safety. the steps lead up and down.>
up <main external chamber>
down <foot of steps>
end define
define room <southeast lookout>
alias <high walkway>
look <you are in the open air at the southeast point of a walkway on a high level of the ziggurat. below you is the topmost canopy of the surrounding jungle, and even further below is the small square of the east courtyard. the walkway leads north and west.>
north <archway into ziggurat>
west <main external chamber>
end define
define room <northeast lookout>
alias <high walkway>
look <you are in the open air at the northeast point of a walkway on a high level of the ziggurat. below you is the topmost canopy of the surrounding jungle. the walkway leads south and west.>
south <archway into ziggurat>
west <facing north>
end define
define room <facing north>
alias <high walkway>
look <you are in the middle of a walkway along the north face of the ziggurat, on a high level. the wind is fairly strong at this point, cooling your face from the heat of the dying sun to the west. from here you look out north across the endless jungle, glowing warmly in the evening light. the walkway leads east and west.>
east <northeast lookout>
west <northwest lookout>
end define
define room <northwest lookout>
look <you are in the open air at the northwest point of a walkway on a high level of the ziggurat. below you is the topmost canopy of the surrounding jungle. you hear the shrieking terratorial call of a monkey in the vegetation far below. the walkway leads east and south.>
south <southwest lookout>
east <facing north>
end define
define room <southwest lookout>
look <you are in the open air at the southwest point of a walkway on a high level of the ziggurat. below you is the topmost canopy of the surrounding jungle, and even further below is the small square of the west courtyard. the walkway leads north and east.>
north <northwest lookout>
east <main external chamber>
end define
define room <archway into ziggurat>
alias <entrance on high walkway>
look <you are in the open air on a walkway along the east face of the ziggurat, on a high level. a large archway here leads west into the dark interior of the ziggurat, while the walkway leads north and south.|n|n(the archway doesn't exist yet - pinball)>
north <northeast lookout>
south <southeast lookout>
end define
define room <on a small stairway>
look <you are on a small stairway nearing a small chamber which seems to be the highest point of the ziggurat. the strong wind ruffles your clothes violently. from these steps you can step of to your east or west along a very thin walkway around this level of the ziggurat. the steps lead up and down.>
east <upper se corner>
west <upper sw corner>
up <high chamber>
down <main external chamber>
end define
define room <high chamber>
look <you are in a dark chamber at the very peak of the ziggurat. the wind roars loudly past the entrance to your south. you can make out an alter like object in the middle of the chamber just before you. a metallic plate seems to be fixed onto it. light from a small hole in the ceiling illuminates a strange octupus like depiction with wild eyes on the north wall. you may be able to climb up through the hole.>
up <atop the high chamber>
down <on a small stairway>
end define
define room <atop the high chamber>
look <you are standing atop the high chamber, holding onto its carved stone roof to avoid being blown to your death by the forcefull wind. you can't see very well through your streaming eyes. a small hole leads down.>
down <high chamber>
end define
define room <upper se corner>
alias <thin walkway>
look <you are on a precariously thin walkway at the southeast corner of the highest external level of the ziggurat. the strong wind ruffles your clothes and hair.>
north <upper ne corner>
west <on a small stairway>
end define
define room <upper ne corner>
alias <thin walkway>
look <you are on a precariously thin walkway at the northeast corner of the highest external level of the ziggurat. the strong wind ruffles your clothes and hair.>
south <upper se corner>
west <upper nw corner>
end define
define room <upper nw corner>
alias <thin walkway>
look <you are on a precariously thin walkway at the northwest corner of the highest external level of the ziggurat. the strong wind ruffles your clothes and hair.>
south <upper sw corner>
east <upper ne corner>
end define
define room <upper sw corner>
alias <thin walkway>
look <you are on a precariously thin walkway at the southwest corner of the highest external level of the ziggurat. the strong wind ruffles your clothes and hair.>
north <upper nw corner>
east <on a small stairway>
end define
define room <OBJETES>
define object <ziggurat plan>
alt <plan>
look {
msg <this is an approximate plan of this style of ziggurat which you have aquired for the exploration.>
picture <carried map.jpg; marduki ziggurat plan>
}
take
type <TLTobject>
type <TLTcontainable>
properties <size=1; isIn=rucksack; tooBig=it won't fit.>
end define
define object <rucksack>
look <this is your explorer's rucksack. you can keep relatively small objects in it.>
take
speak <'hello.' says the rucksack pleasantly.>
examine <this is your explorer's rucksack. you can keep relatively small objects in it.>
type <TLTobject>
type <TLTcontainer>
type <TLTcontainer>
properties <listHeader=the rucksack contains -; sizeLimit=24; listHeader=the rucksack contains -; sizeLimit=10>
end define
end define
define text <intro>
end define
define text <win>
end define
define text <lose>
end define
MaDbRiT
04 Aug 2005, 15:36i have made a fairly complex multiplayer game in which the players explore a big ziggurat temple. however, when i try to start up a multiplayer game, it shows the start up title and then nothing. the startup room doesn't show and no game commands work.
The code you posted works in SINGLEPLAYER mode - actually you've written it in singleplayer mode (read the game definition block!) so if you try to use it in multiplayer it will not work at all.
Point to note here - MY TYPELIB DOES NOT SUPPORT MULTI-PLAYER GAMES. It was written for single player only and a lot of the things it does will just cause mayhem in a multi player game.
Al (MaDbRiT)