|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.servlet.GenericServlet
javax.servlet.http.HttpServlet
cleoni.adv.multiplayer
public class multiplayer
The Main Game Engine Servlet. Main method is "service". Everything starts actually from there. Recent History: Released as 6.4.8 6.4.7h Added monitoring code in a cluster-related problem Fixed problems due to Token.dictVal() returning a NULL (hope new strange effects won't pop up) 6.4.7g Fixed bug in string concatenation operator "&" 6.4.7f Fixed bug in object.setProperty 6.4.7e ? 6.4.7d Added methods: object.getProperty(property) / setProperty(property,value) 6.4.7c Fixed NullPointer in Dict.java / indexOf 6.4.7b Fixed problem in itemPlace if the item was removed during onReceive event 6.4.7a Added event: beforeOpen() Fixed onReceiveItem bug - item was not restored to its original state 6.4.6e-6.4.7 Fixed issues with resolution choice Added "locked" parameter to lock pre-defined resolution Released as 6.4.7 6.4.6d Added tolerancy for wrong atribute list in rooms definition (warning is generated) 6.4.6c Fixed a further bug in Utils.stringSplit 6.4.6b Fixed a (horrible) double-delimiter bug in Utils.stringSplit 6.4.6a Enhancement: ATTRLIST support for the WORLD section. 6.4.5h Bug fix: The screen resolution drop-down did not preset according to the width/height URL parameters. Fixed. 6.4.5g Bug Fix: Locating Skins relative to ServletContext RealPath. 6.4.5f Enhancement: Maintenance panel has now a "Server reload settings" option Enhancement: Added savingDir setting in dimensionex.properties to allow saving of profiles in an alternate folder 6.4.5e Bug Fix: Removed BASE HREF tag from customView HTML. Added standard Page Transistion 0.5 to persistent $WORLD custom views. 6.4.5d Reverted core loop in multplayer.java back to 6.4.4, adapted for custom language processor Removed extra fields in Utils that were used as temp storage Removed cmdXXX functions - now useless Modified ISayProcessor prototype so that returns a Vector of values and accepts less input Modified CustCmdProcessor to comply the new prototype - added packResults utility function in it (possibly to be copied in subclasses) 6.4.5c Enhancement: Added $World support for SendPage to support permanent custom World view. 6.4.5b Enhancement: Added support for $banner in HTML Templates 6.4.5a Bug Fix: Embedded games did't properly work if used inside IE7 (P3P header was needed) 6.4.4n Bug fixed: Save and Exit was not working anymore Bug fixed: Skins were loaded from DimX server's filesystem even for remotely loaded games Released as 6.4.5 6.4.4m enhancement: Added Asc() function enhancement: Added "Mod" operator for arithmetic modulus Bug fix: Concat "&" operator was not working 6.4.4L Maintenance servlet: cleaning of "_login" setting was missing - fixed Bug fixed: An empty If ... End_If block was causing a NullPointer 6.4.4k Fixed problem in clientScript loading. 6.4.4j Enhancement: Moving in-line command processing code to reusable function. Accomodating what should be the last ISayProcessor API signature changes. 6.4.4i Enhancement: Added cmdUSE, cmdGIVE, cmdPUT, and cmdHIDE Moving in-line command processing code to reusable function. 6.4.4h Enhancement: Added cmdLOOK, cmdSEARCH, cmdOPEN, cmdCLOSE, cmdSAY. Moving in-line command processing code to reusable function. 6.4.4g Enhancement: Added cmdROTATE, cmdPICK, cmdDROP. Moving in-line command processing code to reusable function. 6.4.4f Enhancement: Added support for clientScript in world properties definition. This primarily allows debugging one game while others run normally. 6.4.4e Enhancement: Added cmdGO. Moving in-line "GO" command processing code to reusable function. 6.4.4d Enhancement: Added msg #184 "is in" for players view Fix: Restored FALSE=FAILED return status for moveTo function (AdvObject.java:980) in case target container has not enough space - hope new messages don't pop up now 6.4.4c Enhancement: Added gameinfo("navigator") function to return current url 6.4.4b Enhancement: Added natural logarithm function Log() 6.4.4a Bug fix: Bug in area change management caused visualization flaws and potentially other weird side effects Updated: msgs_eng, msgs_ita, maintpage.htm, worldnav11.properties 6.4.3d Bug fix: dummy string "(description)" removed from player's description released as 6.4.4 6.4.3c Enhancement: Screen resolution is stored in users' cookies Enhancement: Skin loader low loads skins directly from the 'skins' folder 6.4.3b Bug fix: Fixed description display glitch after area change Enhancement: Extended @description system to all objects Bug fix: Parser did tolerate calling function with less parameters than expected - fixed Enhancement: String concat operator '&' 6.4.3a Bug fix: Message 181 did not show up - fixed maintenance Panel: Added option for deleting profile with login before date Bug fix: Some fixing on the admin panel for helping password remembering 6.4.2e Enhancement: Added dummy username field in admin panel to allow password saving Enhancement: Added getPlayer(name) function Enhancement: Added messages: 181 and 182 Bug fix: Token did not tolerate null AdvObjects Released as 6.4.3 6.4.2d Bug fix: Change on Kill operation for leaving contained items intact was affecting the area change: items were erroneously dropped when traversing the passage. 6.4.2c Enhancement: Added ZOOMIMAGE to ITEM objects Bug fix: Kill instruction used on items was killing inner objects - now they are dropped to the floor Bug fix: producing a "null" saved restoreinfo if the item was autorestored 6.4.2b Enhancement: added double click on "pick" for "pick all" Fixed DictEnumerator for cycles - clones the Dict automatically Fixed format of _login setting to conform with _when setting Fixed output of dynamic room's description, 2 trailing newlines now get removed 6.4.2a Source code never released in CVS 6.4.1c Enhancement: Support for @description for rooms Bug fixed: Support for special variables $OWNER, $AGENT and $TARGET in custom panels was not correct in some cases. Fixed. Released as 6.4.2 6.4.1b Suppressed exiting parameter from the saveInfo function Fixed minor bugs in persistence management saeInfo/restore scheme 6.4.1a Bug fixed: Problem in area change on colliding IDs 6.4.0f Bug fixed: In case of problems during MoveOutside the world did not empty the queue Released as 6.4.1 6.4.0e moveoutside code almost completely rewritten and optimized hideobject optimized and fixed bug about vanishing objects 6.4.0d Enhancement: saveInfo(exiting) has been enhanced Bug fixed: The onSave event was not respecting the Devref specifications (save/save and exit). Fixed. Enhancement: word variables: instanceid and debugmode 6.4.0c Bug fix: Default value in dropdown controls was always interpreted as an expression 6.4.0b Changed default behaviour: when looking at a character, attributes are shown before the inventory Fixed visualisation problem on IE in presence of the right column when looking at characters 6.4.0a Added function getObjectsSubtype 6.3.6h Corrected bug in Copy() function Released as 6.4.0 6.3.6g Added the Copy() function for cloning ARRAYs and SETs The ARRAYs are now implemented using the faster DictSortedc class Testrug1 updated for new tests on arrays and sets 6.3.6f SetIndexOf is now NOT case sensitive 6.3.6e Added function HttpFetch() default Skin now has icon names in all-lowercase characters 6.3.6d Modified skin code to patch functionality of right_column style in IE6 6.3.6c Sample CustCmdProcessor updated to implement IWorldInitProcessor interface. 6.3.6b Added support for IWorldInitProcessors to extend pre- and post- init processing. 6.3.6a Added support for custom command processors such as the ISayProcessor. Adds an optional 'custCmdProc' attribute to WORLD definition files. 6.3.5d Bug fix: Dimx was outputting the wrong character encoding (thanks Przemek) - perhaps now fixed Released as 6.3.6 6.3.5c Fixed issue with initial screen resolution Enhancement: New function: gameInfo("imagesfolder") Enhancement: New instruction: printRight, and right_column management 6.3.5b Added cmd#26: Help in messages file 6.3.5a Default resultion now set to 640x480 to encourage game embedding in sites Refined caching prevention method 6.3.4e Enhancement: Added getPlayerProperties() function Released as 6.3.5 6.3.4d Bug fix: Missing $OWNER object was producing the player to be used as such - fixed 6.3.4c Bug Fix: Missing $TARGET parameter for custom command events - fixed 6.3.4b Enhancement: expressions can now be used as event ids in PANEL controls specifications Modify in parsing expressions list as function arguments 6.3.4a Fix: Disabled possibility to hide objects placed into other ojects 6.3.3f Added a new object attribute: invisible Released as 6.3.4 6.3.3e Fixed nullpointer in Client.java:196 6.3.3d Fixed problem in messages related to looking a player Added variable .__clearinfo to disable properties printout in characters/items 6.3.3c Fixed bug in getObjectsType: search for a null type was returning the first item in container - now returns null set 6.3.3b PANEL Dowdown control: default value is now interpreted as an expression 6.3.3a Adjustments for HTML correctness 6.3.2c Fixed nullPointer in Player.java:241 and Player.java:647 Added support for different maps fot the same world (ROOM.map attribute). client script changed. Released as 6.3.3 6.3.2b Changed visualisation code for links having showFor images Optimization for Open&Close operations Added method: Player.getPanel() Enhancement: now displays map coordinates when in debug mode 6.3.2a Added support for Access database via ODBC data source Added support for screen resolutions: 1280x800, 480x272 (PSP) 6.3.1f Bug fixed: Maintenance panel didn't always check for password match Enhancement: Maintenance panel - Added game date-based profile selection Enhancement: Maintenance panel restyled Added messages file for Spanish Released as 6.3.2 6.3.1e Bug fixed: Didn't catch the admin password 6.3.1d Added Music explanation on logon screen Removed musicProtect setting Enhancement: Added msg14 and msg15 for music feature explanation 6.3.1c Enhancement: Added NewArray() function Enhancement: Added NewLink() function 6.3.1b Bug fixed: Number index for sets/arrays was not properly handled under certain circumstances 6.3.1a Changed format for date in saveGame, "_when" setting 6.3.0e Enhancement: ACCEPTS property now checks also main type Released as 6.3.1 6.3.0d Bug Fix: Made Exists() function more robust Enhacement: Added getObject() function 6.3.0c Bug Fix: Suspect NullPointer weakness in Image.metHtml() 6.3.0b Enhancement: Added XSPF Flash player for MP3 files streamplay Enhancement: Added server setting: musicProtect Enhancement: New functions: UCase, gameInfo("site") Enhancement: PanelHtml() function - client.script modified Bug fix: Audio FX support check instead of Music support - pup up didn't open 6.3.0a Enhancement: Added IMAGE.html() method 6.2.4e Bug fix: NullPointer during logon (Cluster.java:125) in case of cluster config mistake Released as 6.3.0 6.2.4d Enhancement: Now supports HOOKS directive 6.2.4c Maint panel: Now lists all the really allocated slots Area change: On-screen error in case of problem during MoveOutside 6.2.4b Fixed bug: Facing correction was not correct when original facing was West 6.2.4a Solved caching problem in IE (should not cache) 6.2.3d Enhancement: Added return value to onHear event to cancel action Enhancement: Added go("direction") method to character object Released as 6.2.4 6.2.3c Fixed NullPointer on invalid use of a function 6.2.3b Enhancement: introduced __clearfocus variable to cancel focus on objects Enhancement: Added return value to onLook event to cancel action 6.2.3a Enhancement: onHear event now extended to all objects excluding $WORLD 6.2.2i Bug fixed: NullPointer in multiplayer.service(multiplayer.java:1103) Bug fixed: Removed unused blank line in admin panel, command window Released as 6.2.3 6.2.2h Solved NullPointer in AdvObject.isAccessibleFrom(AdvObject.java:196) 6.2.2g Solved the facing issue - now in 3rd person view the player is always seen from the back More in general, all objects are assumed to have facing, and it is now handled correctly Objects are not focusized when no more accessible (marius' onLook issue) 6.2.2f Added code for closing DBconnections and statements to the database 6.2.2e Modified for establishing on/the fly connections. DB connection check added to Maint panel 6.2.2d Bug fix: Fixed NullPointer in function: getCharactersIn(null) Bug fix: Fixed IllegalArgumentException in Player.SaveCookie 6.2.2c Bug fix: Maintenance panel crashed when exporting DB of a game whose name contained spaces 6.2.2b Added support for clusterlist Auto pull-up of configured cluster worlds via IFRAMEs More work on accessibily - now scene frame validates correctly too. 6.2.2a Bug fixed: MoveOutside issued in onReceive event was producing a NullPointer exception 6.2.1e Added player.getCookie(key) method Added player.saveCookie(key,value) method Enhancement: Cleaned up HTML code produced by engine, specified DOCTYPE, most frames will validate now Released as 6.2.2 6.2.1d Enhancement: Added support for methods to the SmallBasic language interpreter Bug fixed: Sound settings retrieved from cookie were not properly represented on the connect panel 6.2.1c Enhancement: Added "tracing" setting for any game slot: enables tracing on SQL database Changed main log line - now suitable for player tracing 6.2.1b Bug fixed: HTML code produced for Day/Night cycles was not compatible with Firefox and Opera (thanks Marius) Muted warning in case "FOR"'s startval >= endval 6.2.0g Bug fixed: Removed annoying error message from the log if no mysqlDB at startup Enhancement: Attempts to auto restore a broken DB connection each 5 minutes Bug fixed: SetRemove used inside a For..Each loop was producing a NullPointer Bug fixed: Capacity was not saved in player profile (now it is, if different than default one) Released as 6.2.1 6.2.0f Bug fixed: login attempts failed when the session was expired and browser still open 6.2.0e Bug Fixed: SaveExit was acting differently from Save command (thanks Gunn) 6.2.0d Modified Utils.pageExpires for suspect caching bug 6.2.0c Bug Fix: SetKeys returned unsorted array on long sets 6.2.0b Bug Fix: Living event cycle - on multiple dying characters, some of the dying characters remained alive 6.2.0a Fix: maint servlet - no more echo prints when exporting from DB 6.1.8k Restored support for SWF/MOV files Released as 6.2.0 6.1.8j DB Conn check and reset message made optional 6.1.8i Bug fix: Saved profiles count was always calculated on file - fixed Bug fix: Maintenance/profiles removal did not include properties/events - fixed 6.1.8h Enhancement: Auto-restore of the DB connection if it falls during game time Bug fix: Errors on DB were tolerated at login phase Bug fix: Useless loading of SAV file during saveSetting - corrected Bug fix: Connection check were producing errors on log for table names with spaces 6.1.8g Bug fixes on DB setup upon startup 6.1.8f Enhancement: Now tolerates missing DB conection upon starting 6.1.8e Enhancement: SaveSetting/GetSetting now works transparently also on the DB 6.1.8d Enhancement: Added support for MySql databases. Now if properly configured (see new db settings in dimensionex.properties) opens connection at startup 6.1.8c Enhancement: Function getItemsType() modified so to fit the type.subtype model 6.1.8b Bug fix: BannedIPs filter was working only for one-IP list - fixed 6.1.8a Recomipled the source code (NoSuchMethod Exception when opening Maintenance page) Re-packaging with update messages files, and updated Underworld ENG game source 6.1.7h Bug fix: Vehicle management in multi-face rooms was not working correctly Enhancement: Added showPolicyPeople attribute for people-containing objects and vehicles. set to 1 to have on-screen display of people Released as 6.1.8 6.1.7g Enhancement: Added "connect" panel, for customising connect screen Enhancement: Added "DELETE" panel command, to remove unwanted controls 6.1.7f Enhancement: Anti-offense: Muting completed - msg 147 added 6.1.7e Bug fix: Fixed some issues in set reconstruction from profile DB. 6.1.7d Enhancement: Anti-offense system 6.1.7c Enhancement: The Replace() function is now case insensitive 6.1.7b Enhancement: Added support for type.subtype scheme Enhancement: Added MainType() function for extracting main types Enhancement: Finished Admin "Enter Script" (formerly "add script") command Enhancement: Added Admin "Execute" command 6.1.7a Enhancement: Removed server time and added smooth scene transitions Bug fix: Fixed bug for restore agem when saved in object that is being destroyed Bug fix: Sky positioning in 1024x768 6.1.6f Bug fix: Background box was not properly scaled Released as 6.1.7 6.1.6e Enhancement: Added support or scene background 6.1.6d Bug fix: Modified code to handle NullPointer in multiplayer:1100 and 1095 6.1.6c Bug fix: showFor property was not assignable at run-time 6.1.6b Enhancement: Uses binary search in DictSorted objects for optimized speed 6.1.6a Bug fixed: Disappearing item problem when passing from an area to another Enhancement: Optimizer now idexes by short filename:line instead of event id 6.1.5e Bug fixed: Potential problem in PANEL definition if a CR was inserted before a TEXBOX Bug fixed: Reading from objects' showmode property yelding wrong result Released as 6.1.6 6.1.5d Added consistency checks to avoid the ghost objects problem after area change 6.1.5c Trying to fix disappearing objects bug during area change 6.1.5b BugFix:NullPointer in Maint servlet when no world loaded 6.1.5a Enhancement: Adding new admin commands 6.1.4i Enhancement: Movement events activated for area change Released as 6.1.5 6.1.4h Bug fix: Fixed nasty bug in sets management - Value was altered in read-only use Enhancement: Added Sqr() function for square root Enhancement: Added TEXTBOX [id] syntax for multiple textboxes Enhancement: Added "cluster=" parameter, "players" view with "extended" format 6.1.4g Bug Fix: Further fix for area change of object containing other objects 6.1.4f New destination URL for banned clients Bug fix: Fixed some hyperlinks in the Admin Snapshot view 6.1.4c,d,e Fixed bug in management of vanishing objects during area change 6.1.4b Big Fix: ID of player was not correctly fixed up during area change 6.1.4a DimX error when assigning to object.container turned into warning on the log Enhancement: added Ban instruction Enhancement: added Bannning system! Enhancement: added system variable _bannedClients (pipe-separated string of banned IPs) 6.1.3g Bug Fix: Resolved NullPointer when trying to access input() set in standard event Enhancement: input() set values now passed also for "look" command Enhancement: Added IsItem() function Released as 6.1.4 6.1.3f Enhancement: Added InStr() Function Enhancement: Trims spaces of nicknames at logon Enhancement: Added getObjectsType function Enhancement: null location now allowed in NewItem function 6.1.3e Added cluster-wide nickname check 6.1.3d Fixed bug in player.saveGame affecting save of Image objects Fixed bug in multiplayer class, NullPointer exception when player.container = null Added throw of DimXException when getting reference of a manageable object is tried (infinite loop in Ransagor game) 6.1.3c Fixed bug in Player.restoreProperties 6.1.3b More synchronization to save game database: saveSetting 6.1.3a Patched Player.restoreProperties to tolerate errors in Image restore 6.1.2o Bug fix: Fixes to the Save/restore operation on SET objects into the game profiles database Released as 6.1.3 6.1.2n Enhancement: Added Player.remoteAddr property for IP blocking Bug fix: prevented error during hide of vanishing objects 6.1.2m Bug Fix: Save Game procedure revised. Should be more robust and optimized now, and supports saving of SETS, event sets of images Bug fix: Added semaphore to avoid problems in concurrent use of SaveGame on same cluster worlds Enhancement: Now supprots Print of images 6.1.2k Bug fix: Prevented NullPointer exception in Player.saveGame when Player is in NULL 6.1.2j Bug Fix: Exception trying Restore from saved game when player had saved game when placed in dynamic object Bug fix: Exception trying to Speak when in NULL Released as: 6.1.3 6.1.2i Bug Fix: Name of the room in the scene bar was disappeared Bug Fix: Removed exception throw in AdvObject.die() - it was preventing disposal of Player objects 6.1.2h Bug fix: Issues during management of player without any images Enhancement: Added binary operator: power elevation (^) Enhancement: Added support for 3RD person look. GUI tag: SCENE LOOK 3RDPERSON/1STPERSON Bug fix: Problem in area change when using default panel 6.1.2g Bug Fix: Vehicles / Open items Bug Fix: Assignment to a un-existent SET element for adding new elements Bug Fix: SetKeys() function was not working properly - fixed Enhancement: INTERPHONE level now to 2 Optimization in AdvObject 6.1.2f Found bug in vehicles management Fixed exception management in moveOutisideNow 6.1.2d Bug Fix: Lost command panel after area change 6.1.2c Bug Fix: NullPointer when referencing a un-existent SET element 6.1.2b Bug Fix: Prevented NullPointer in multiplayer.java:881 6.1.2a Bug Fix: Fixes to the AutoRestore logic - it was reporting restore OK when AutoRestore did not succeed Enhancement: Nickname check; New world setting: stopwords to define forbidden words and characters 6.1.1x Added getRooms() function Released as 6.1.2 6.1.1w Optimization in AdvObject.objRemove 6.1.1v Another patch: NullPointer in objRemove for un-existent object NullPointer in multiplayer.service (thisPlayer) 6.1.1t Another patch NullPointer htmlView Problem in objRemove for un-existent object 6.1.1s Patched again: NullPointer in htmlView (focus) Problem in move of null world object 6.1.1r Bug fixed: NullPointer when using unary minus (-) 6.1.1q Bug fixed: More fixes for correct management of area change Bug fixed: AdvObject.go ERROR log message suppressed 6.1.1p Tuned-up management of objects (Token) Bug Fixed: When changing area sometimes the player was drop off 6.1.1o Bug fix: Fixed area transfer for nexted objects Bug fix: Reference to external areas are now protected 6.1.1n Enhancement: AutoRestore can be now disabled Bug fixed: SendPage was not working ("Type mismatch: VIEW object expected")- fixed 6.1.1m Bug fixed: removal of objects in moveOutside was jumping over items due to bad loop management 6.1.1k Checked removal of dead object 6.1.1j Bug Fix: NullPointer in multiplayer.htmlProperties:1786 Bug Fix: No image in multiplayer.htmlScreenDisplay:1674 Bug fix: Non-existent object in AdvObject.hide, Item.restoreTo 6.1.1i Bug fix: NullPointer in htmlView:1962 6.1.1h Bug fix: NullPointer in getImageAndCorrectFacing:1203 6.1.1g Bug fix: NULL target in whenPicked event 6.1.1f Bug fix: Nullpointer for null image in AdvObject.hide:153 Bug fix: Bad exception logging in Player.saveGame() Bug fix: Null command in RefreshView 6.1.1e Bug fix: Nullpointer for null image in multiplayer:1659 Bug fix: Nullpointer for null world in objRemove:688 6.1.1d Bug fix: NullPointer in Player.look() line 126 Enhancement: Now logs on file general exception caught in multiplayer.service 6.1.1c Tried to fix NullPointer in Player.look() line 126 6.1.1b Bug Fixed: Recent changes affected inter-dimensional jumps (moveOutside) 6.1.1a Added file logging of server errors Added check for NULL world in Event.fire 6.1.0d Fix: onLook() event result now is printed on top of player info Enhancement: new setting: hideSourcePath for source protection Released as 6.1.1 6.1.0c Enhancement: AutoRestore now working fine Enhancement: Added LCase function 6.1.0b Enhancement: first version of AutoRestore 6.1.0a Enhancement: supports events object.saveInfo for restoreinfo processing Enhancement: now stores type and restoreinfo in items Enhancement: now starts "restore" Event upon item restore 6.0.2d Enhancement: New MAP control for custom panels Enhancement: Now stops world loading upon syntax error in skin file Enhancement: DXS syntax now supports a new STYLESHEET tag for extra custom settings on the UI Released as 6.1.0 6.0.2c Enhancement: New function: Chr() Bug fix: Previous versions did not consider semicolon ";" as punctuation - fixed Bug fix: Previous versions did not alert upon system function redefinition - fixed 6.0.2b Bug Fixed: Bug when restoring incomplete profile Fixed: Image tooltips for Firefox Browsers 6.0.2a Bug Fixed: NullPointer in getSetting 6.0.1c For..Next now tolerates first index > end index SetLen now returns -1 in case of wrong argument instead throwing error Added function: NewSet Added function: SetKey Undocumented Keys function renamed to SetKeys and documented Added function: Replace Released as 6.0.2 6.0.1b Enhancement: saveSetting of SETS Finished support for drop-down list added optional parameters to getSetting function 6.0.1a Enforced Player.saveGame Corrected bug in MAP management when changing PANEL 6.0.0c Enhancement: Added "effect" property to ROOM objects Fixed bug: Hide all command was not always working Released as 6.0.1 6.0.0b Fixed rare bug in cluster management 6.0.0a Room description gets now printed anyway Added debugging code to Actionsrunner.actSendCmd 5.7.5b Enhancement: Added function ExistScript Released as 6.0 5.7.5a Modified management of skin images (potential for errors) 5.7.4c Bug fix: Problem when dealing with old image assignment syntax - fixed Released as 5.7.5 5.7.4b Bug fix: It was impossible to KILL current room upon exit (for dynamic rooms) - fixed. 5.7.4a Bug Fix: Passage to other are with object did leave events with reference to originary world - fixed Bug Fix: It was possible to start from scratch with an existing nick without knowing the password - fixed Enhancement: Added message # 123 - Wrong password
| Field Summary | |
|---|---|
java.lang.String |
dbconnstr
|
java.lang.String |
dbdriver
|
static java.lang.String |
myVersion
|
java.lang.String |
navigatorUrl
|
java.lang.Object |
serverlock
|
| Constructor Summary | |
|---|---|
multiplayer()
|
|
| Method Summary | |
|---|---|
void |
destroy()
code to be executed when the servlet shuts down |
Cluster |
getCluster(java.lang.String clusterid)
|
World |
getWorld(java.lang.String areaid)
|
java.lang.String |
htmlAreasPullUp(java.lang.String clusterid,
java.lang.String excluded)
|
java.lang.String |
htmlNavpad(World world,
Dict waysV,
Skin skin,
AdvObject thisRoom,
java.lang.String facing)
Outputs the HTML for the navigation pad |
java.lang.String |
htmlNavpadMultiface(World world,
Dict waysVorig,
Skin skin,
AdvObject thisRoom,
java.lang.String facing)
Outputs the HTML for the navigation pad for multiface rooms |
boolean |
isDBConfigured()
|
void |
loadSettings(java.lang.String propFile)
|
DictSorted |
loadWorldSettings(java.lang.String slot,
java.lang.String propFile)
|
java.lang.String |
movement(World fromworld,
AdvObject o,
java.lang.String areaid)
Moves an object withing a cluster, with world locking and consistency verification. |
java.lang.String |
requestMovement(AdvObject what,
java.lang.String areaid)
|
void |
service(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Main loop for the DimensioneX game engine |
| Methods inherited from class javax.servlet.http.HttpServlet |
|---|
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service |
| Methods inherited from class javax.servlet.GenericServlet |
|---|
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static java.lang.String myVersion
public java.lang.String navigatorUrl
public java.lang.String dbdriver
public java.lang.String dbconnstr
public java.lang.Object serverlock
| Constructor Detail |
|---|
public multiplayer()
| Method Detail |
|---|
public World getWorld(java.lang.String areaid)
public Cluster getCluster(java.lang.String clusterid)
public boolean isDBConfigured()
public DictSorted loadWorldSettings(java.lang.String slot,
java.lang.String propFile)
throws DimxException
DimxException
public void loadSettings(java.lang.String propFile)
throws DimxException
DimxException
public void service(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.io.IOException
service in class javax.servlet.http.HttpServletrequest - standardresponse - standard
java.io.IOException - standardpublic void destroy()
destroy in interface javax.servlet.Servletdestroy in class javax.servlet.GenericServlet
public java.lang.String htmlNavpadMultiface(World world,
Dict waysVorig,
Skin skin,
AdvObject thisRoom,
java.lang.String facing)
waysV - Vector of available linkssb - stringbuffer for outputskin - current skinthisRoom - current roomfacing - current facing
public java.lang.String htmlNavpad(World world,
Dict waysV,
Skin skin,
AdvObject thisRoom,
java.lang.String facing)
waysV - Vector of available linkssb - stringbuffer for outputskin - current skinthisRoom - current roomfacing - current facing
public java.lang.String requestMovement(AdvObject what,
java.lang.String areaid)
public java.lang.String movement(World fromworld,
AdvObject o,
java.lang.String areaid)
fromworld - source worldo - object to be movedareaid - target world's ID
public java.lang.String htmlAreasPullUp(java.lang.String clusterid,
java.lang.String excluded)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||