Last commit for ET.script: 9825b22d6de715972f6e2b644cf269874a95d15f

- Fixed AI2TV settings dialog. Dialog works with a few minor bugs:

mg689 [2002-10-14 21:33:03]
 - Fixed AI2TV settings dialog. Dialog works with a few minor bugs:
    1. Dialog window transfers its events to main client to handle them (i.e.
        it catches 'w', but also lets main client interpret 'w' as walking forward).
    2. AI2TV control dialog does not get destroyed when necessary.
  1. CREATE TABLE ROOM(URL VARCHAR,USERNAME VARCHAR,USERIP VARCHAR,SHAPE VARCHAR,UNIQUE(URL,USERNAME))
  2. CREATE INDEX URL ON ROOM(URL)
  3. CREATE TABLE MOVEMENT(ROOM VARCHAR,OBJ VARCHAR,X0 REAL,Y0 REAL,Z0 REAL,X1 REAL,Y1 REAL,Z1 REAL)
  4. CREATE INDEX OBJ ON MOVEMENT(OBJ)
  5. CREATE USER SA PASSWORD "" ADMIN
  6. CREATE ALIAS DAYNAME FOR "org.hsql.Library.dayname"
  7. CREATE ALIAS SPACE FOR "org.hsql.Library.space"
  8. CREATE ALIAS SUBSTRING FOR "org.hsql.Library.substring"
  9. CREATE ALIAS SQRT FOR "java.lang.Math.sqrt"
  10. CREATE ALIAS ABS FOR "java.lang.Math.abs"
  11. CREATE ALIAS POWER FOR "java.lang.Math.pow"
  12. CREATE ALIAS CHAR FOR "org.hsql.Library.character"
  13. CREATE ALIAS CONCAT FOR "org.hsql.Library.concat"
  14. CREATE ALIAS PI FOR "org.hsql.Library.pi"
  15. CREATE ALIAS SECOND FOR "org.hsql.Library.second"
  16. CREATE ALIAS TRUNCATE FOR "org.hsql.Library.truncate"
  17. CREATE ALIAS MONTH FOR "org.hsql.Library.month"
  18. CREATE ALIAS LOWER FOR "org.hsql.Library.lcase"
  19. CREATE ALIAS ATAN2 FOR "java.lang.Math.atan2"
  20. CREATE ALIAS REPEAT FOR "org.hsql.Library.repeat"
  21. CREATE ALIAS DAYOFMONTH FOR "org.hsql.Library.dayofmonth"
  22. CREATE ALIAS TAN FOR "java.lang.Math.tan"
  23. CREATE ALIAS RADIANS FOR "java.lang.Math.toRadians"
  24. CREATE ALIAS FLOOR FOR "java.lang.Math.floor"
  25. CREATE ALIAS NOW FOR "org.hsql.Library.now"
  26. CREATE ALIAS ACOS FOR "java.lang.Math.acos"
  27. CREATE ALIAS DAYOFWEEK FOR "org.hsql.Library.dayofweek"
  28. CREATE ALIAS CEILING FOR "java.lang.Math.ceil"
  29. CREATE ALIAS DAYOFYEAR FOR "org.hsql.Library.dayofyear"
  30. CREATE ALIAS LCASE FOR "org.hsql.Library.lcase"
  31. CREATE ALIAS WEEK FOR "org.hsql.Library.week"
  32. CREATE ALIAS SOUNDEX FOR "org.hsql.Library.soundex"
  33. CREATE ALIAS ASIN FOR "java.lang.Math.asin"
  34. CREATE ALIAS LOCATE FOR "org.hsql.Library.locate"
  35. CREATE ALIAS EXP FOR "java.lang.Math.exp"
  36. CREATE ALIAS MONTHNAME FOR "org.hsql.Library.monthname"
  37. CREATE ALIAS YEAR FOR "org.hsql.Library.year"
  38. CREATE ALIAS LEFT FOR "org.hsql.Library.left"
  39. CREATE ALIAS ROUNDMAGIC FOR "org.hsql.Library.roundMagic"
  40. CREATE ALIAS BITOR FOR "org.hsql.Library.bitor"
  41. CREATE ALIAS LTRIM FOR "org.hsql.Library.ltrim"
  42. CREATE ALIAS COT FOR "org.hsql.Library.cot"
  43. CREATE ALIAS COS FOR "java.lang.Math.cos"
  44. CREATE ALIAS MOD FOR "org.hsql.Library.mod"
  45. CREATE ALIAS SIGN FOR "org.hsql.Library.sign"
  46. CREATE ALIAS DEGREES FOR "java.lang.Math.toDegrees"
  47. CREATE ALIAS LOG FOR "java.lang.Math.log"
  48. CREATE ALIAS SIN FOR "java.lang.Math.sin"
  49. CREATE ALIAS CURTIME FOR "org.hsql.Library.curtime"
  50. CREATE ALIAS DIFFERENCE FOR "org.hsql.Library.difference"
  51. CREATE ALIAS INSERT FOR "org.hsql.Library.insert"
  52. CREATE ALIAS DATABASE FOR "org.hsql.Library.database"
  53. CREATE ALIAS MINUTE FOR "org.hsql.Library.minute"
  54. CREATE ALIAS HOUR FOR "org.hsql.Library.hour"
  55. CREATE ALIAS IDENTITY FOR "org.hsql.Library.identity"
  56. CREATE ALIAS QUARTER FOR "org.hsql.Library.quarter"
  57. CREATE ALIAS CURDATE FOR "org.hsql.Library.curdate"
  58. CREATE ALIAS BITAND FOR "org.hsql.Library.bitand"
  59. CREATE ALIAS USER FOR "org.hsql.Library.user"
  60. CREATE ALIAS UCASE FOR "org.hsql.Library.ucase"
  61. CREATE ALIAS RTRIM FOR "org.hsql.Library.rtrim"
  62. CREATE ALIAS LOG10 FOR "org.hsql.Library.log10"
  63. CREATE ALIAS RIGHT FOR "org.hsql.Library.right"
  64. CREATE ALIAS ATAN FOR "java.lang.Math.atan"
  65. CREATE ALIAS UPPER FOR "org.hsql.Library.ucase"
  66. CREATE ALIAS ASCII FOR "org.hsql.Library.ascii"
  67. CREATE ALIAS RAND FOR "java.lang.Math.random"
  68. CREATE ALIAS LENGTH FOR "org.hsql.Library.length"
  69. CREATE ALIAS ROUND FOR "org.hsql.Library.round"
  70. CREATE ALIAS REPLACE FOR "org.hsql.Library.replace"
  71. INSERT INTO MOVEMENT VALUES('http://www.yahoo.com/','http://www.altavista.com/',0.0,0.0,0.0,2.6931968,0.0,12.807017)
  72. INSERT INTO MOVEMENT VALUES('http://www.yahoo.com/','http://www.altavista.com/',0.0,0.0,0.0,2.6931968,0.0,12.807017)
  73. INSERT INTO MOVEMENT VALUES('http://www.yahoo.com/','http://www.altavista.com/',0.0,0.0,0.0,2.5495234,0.0,12.802356)
  74. INSERT INTO MOVEMENT VALUES('http://www.yahoo.com/','suhit',0.0,0.0,0.0,0.0,0.0,0.0)
  75. INSERT INTO MOVEMENT VALUES('http://www.yahoo.com/','suhit',0.0,0.0,0.0,0.0,0.0,0.0)
  76. INSERT INTO MOVEMENT VALUES('http://www.yahoo.com/','suhit',0.0,0.0,0.0,0.0,0.0,0.0)
  77. /*C2*/CONNECT USER sa PASSWORD ""
  78. INSERT INTO ROOM VALUES('http://www.yahoo.com/','suhit','128.59.14.169','user2')
  79. INSERT INTO MOVEMENT VALUES('http://www.yahoo.com/','http://www.altavista.com/',0.0,0.0,0.0,1.2749825,0.0,12.650005)
  80. INSERT INTO MOVEMENT VALUES('http://www.yahoo.com/','http://www.altavista.com/',0.0,0.0,0.0,1.2749825,0.0,12.650005)
  81. DELETE FROM ROOM WHERE URL='http://www.yahoo.com/' AND USERNAME='suhit' AND USERIP='128.59.14.169' AND SHAPE='user2'
  82. INSERT INTO ROOM VALUES('http://www.yahoo.com/','suhit','128.59.14.169','user2')
  83. INSERT INTO MOVEMENT VALUES('http://www.yahoo.com/','http://www.altavista.com/',0.0,0.0,0.0,1.1202486,0.0,12.529007)
  84. INSERT INTO MOVEMENT VALUES('http://www.yahoo.com/','http://www.altavista.com/',0.0,0.0,0.0,0.9972305,0.0,12.110673)
  85. INSERT INTO MOVEMENT VALUES('http://www.yahoo.com/','http://www.altavista.com/',0.0,0.0,0.0,0.9992275,0.0,11.680889)
  86. DELETE FROM ROOM WHERE URL='http://www.yahoo.com/' AND USERNAME='suhit' AND USERIP='128.59.14.169' AND SHAPE='user2'
  87. INSERT INTO ROOM VALUES('http://www.yahoo.com/','suhit','128.59.14.169','user2')
  88. INSERT INTO MOVEMENT VALUES('http://www.yahoo.com/','http://www.altavista.com/',0.0,0.0,0.0,1.3237653,0.0,13.087157)
  89. INSERT INTO MOVEMENT VALUES('http://www.yahoo.com/','suhit',0.0,0.0,0.0,0.0,0.0,0.0)