STORY   LOOP   FURRY   PORN   GAMES
• C •   SERVICES [?] [R] RND   POPULAR
Archived flashes:
231349
/disc/ · /res/     /show/ · /fap/ · /gg/ · /swf/P0001 · P2623 · P5245

<div style="position:absolute;top:-99px;left:-99px;"><img src="https://tools.swfchan.com/stathit.asp?noj=FRM72045760-7DC&rnd=72045760" width="1" height="1"></div>

chat.swf

This is the info page for
Flash #253215

(Click the ID number above for more basic data on this flash file.)


ActionScript [AS1/AS2]
Frame 1
ifFrameLoaded (20) { versionChat = "2.11"; serverAutoLogin = false; if (setName != undefined) { serverAutoLogin = true; } if (this._url.substr(0, 4) == "http") { serverOnline = true; serverDomain = "htfgames.com"; serverIdName = "htfgames"; serverPath = new Array(); serverPath = _url.split("/"); serverFile = serverPath.pop(); serverPath = serverPath.toString(); serverPath = serverPath.split(",").join("/"); serverPath = serverPath + "/"; build = "?build=" + build; } else { serverOnline = false; serverIdName = "offline"; } serverClients = new Array(); serverClients[0] = serverDomain; if ((this._url.indexOf(serverDomain) != -1) || (serverOnline == false)) { gotoAndPlay ("Setup"); } else { gotoAndStop ("Done"); } }
Frame 2
gotoAndPlay ("LoadChat");
Frame 3
serverPoll = true; serverDrop = true; serverUpdate = false; serverError = undefined; temp = new Array(); temp = getVersion().split(" "); playerSystem = temp[0]; playerVersion = temp[1].split(","); delete temp; mapTileSet = 20; mapWidth = 38; mapHeight = 25; mapDepth = 3;
Frame 4
function actionStart() { if (_level0.serverOnline == true) { n = 0; while (n < _level0.serverClients.length) { if (_level1._url.indexOf(_level0.serverClients[n]) != -1) { var _local1 = true; break; } var _local1 = false; n++; } if (_local1 == false) { unloadMovieNum (1); } } } function cleanHouse() { playerId = undefined; playerKey = undefined; playerCharacter = undefined; playerGuest = undefined; playerRoom = undefined; playerDirection = 1; playerx = undefined; playery = undefined; } function actionLogin(name, password, character) { if (checkName(name) == true) { cleanHouse(); playerId = undefined; playerName = name; playerPassword = password; playerCharacter = character; playerGuest = false; playerRoom = undefined; playerDirection = 1; playerx = undefined; playery = undefined; _level1.gotoAndPlay("New"); gotoAndStop ("Login"); } else { serverError = 2; gotoAndStop ("Error"); } } function actionRegister(name, password, email) { if (checkName(name) == true) { playerName = name; playerPassword = password; playerEmail = email; _level1.gotoAndStop("RegisterWait"); gotoAndStop ("Register"); } else { serverError = 2; gotoAndStop ("Error"); } } function actionUpdate(name, password, newemail, newpassword) { if (checkName(name) == true) { playerName = name; playerPassword = password; playerNewEmail = newemail; playerNewPassword = newpassword; _level1.gotoAndStop("UpdateWait"); gotoAndStop ("Update"); } else { serverError = 2; gotoAndStop ("Error"); } } function actionForgot(email) { playerEmail = email; _level1.gotoAndStop("ForgotPasswordWait"); gotoAndStop ("ForgotPassword"); } function checkName(name) { var _local1 = new String(name); if ((findPattern(_local1) == false) && (_local1.substr(0, 1) != " ")) { return(true); } return(false); } function checkEmail(email) { var _local1 = new String(email); var _local3 = _local1.indexOf("@"); var _local2 = _local1.lastIndexOf("."); var _local4 = _local1.length; if ((((((_local3 != -1) and (_local2 != -1)) and (_local4 >= 7)) and (_local3 > 1)) and (_local3 < (_local2 - 2))) and (_local4 > (_local2 + 2))) { return(true); } return(false); } function actionGuest(name, character) { if (checkName(name) == true) { cleanHouse(); playerName = name; playerCharacter = character; playerGuest = true; _level1.gotoAndPlay("New"); gotoAndStop ("Guest"); } else { serverError = 2; gotoAndStop ("Error"); } } function actionNew(name, character) { if (checkName(name) == true) { cleanHouse(); playerName = name; playerCharacter = character; playerGuest = false; _level1.gotoAndPlay("New"); gotoAndStop ("New"); } else { serverError = 2; gotoAndStop ("Error"); } } function actionJoin(room, x, y) { if (room != _root.playerRoom) { clearLog(); playerRoom = room; playerx = Math.round(x / mapTileSet); playery = Math.round(y / mapTileSet); playerHover = undefined; playerSelect = undefined; roomPop = undefined; roomDepth = undefined; commands = new Array(); characters = new Array(); serverLine = undefined; _level1.gotoAndPlay("Join"); gotoAndStop ("Join"); } } function actionWait() { _level1.gotoAndPlay("Wait"); gotoAndStop ("Wait"); } function actionChat(input) { input = input.split("\r").join(""); input = input.split(newline).join(""); input = input.split("|").join(""); input = input.split("&").join(""); if (input == "/nodrop") { serverDrop = false; updateLog("Drop disabled"); } else if (input == "/pop") { updateLog("Population: " + roomPop); } else if (input.substr(0, 2) == "/a") { } else if (input.length > 1) { updateChat(playerId, input); if ((roomPop > 1) && (input != playerChat2)) { if (findPattern(input) == false) { playerChat2 = input; playerChat = input; serverUpdate = true; lastDrop = currentTime; if (sendChat == true) { lastPoll = undefined; } } } } } function actionDrop() { clearLog(); _level1.gotoAndPlay("Drop"); gotoAndStop ("Drop"); } function updateChat(id, chat) { mc = findMovie(id); eval ("_level1.chat." + mc).output = chat; eval ("_level1.chat." + mc).gotoAndPlay("Start"); eval ("_level1.chat." + mc).swapDepths(roomDepth); if (chat.substr(0, 1) != "/") { updateLog((characters[id] + messageChat) + chat); } } function updateAction(action, crumb) { if (_root.playerAction != "move") { action = Number(action); _level1.room.player.character.crumb = crumb; _level1.room.player.character.gotoAndStop(playerDirection); _level1.room.player.character.gotoAndStop("a" + action); if (roomPop > 1) { playerChat = (("/a" + action) + "") + crumb; serverUpdate = true; if ((playerAction != action) && (sendChat == true)) { lastPoll = undefined; } else if (sendAction == true) { lastPoll = undefined; } } playerAction = action; } } function updateDirection(n) { if ((playerAction != "move") && (playerDirection != n)) { _level1.room.player.character.gotoAndStop(n); playerDirection = n; playerAction = "d" + n; if (roomPop > 1) { serverUpdate = true; if (sendDirection == true) { lastPoll = undefined; } } } } function actionSelect(id) { _root.playerSelect = id; } function actionHover(id) { if (id == undefined) { _root.playerHover = undefined; } else { _root.playerHover = id; } } function updateCharacter(char) { _level1.room.player.gotoAndStop(char); playerCharacter = char; } function updateLog(message) { log8 = log7; log7 = log6; log6 = log5; log5 = log4; log4 = log3; log3 = log2; log2 = log1; log1 = message; log = (log + message) + newline; } function clearLog() { log8 = undefined; log7 = undefined; log6 = undefined; log5 = undefined; log4 = undefined; log3 = undefined; log2 = undefined; log1 = undefined; log = ""; } function findDepth(x, y, depth) { return((int(y) * 164) + (int(x) * depth)); } function findMovie(id) { if (id == playerId) { return("player"); } return("player" + id); } function findNumber(n) { if (n < 10) { return(Number(n)); } n = n.charCodeAt(); if (n < 91) { return(Number(n - 55)); } return(Number(n - 61)); } function findCode(n) { if (n < 10) { return(Number(n)); } if (n < 36) { return(String.fromCharCode(Number(n) + 55)); } return(String.fromCharCode(Number(n) + 61)); } function findDistance(x1, y1, x2, y2) { var _local2 = x2 - x1; var _local1 = y2 - y1; return(Math.sqrt((_local2 * _local2) + (_local1 * _local1))); } function findAngle(x1, y1, x2, y2) { var _local3 = x2 - x1; var _local2 = y2 - y1; var _local1 = int((Math.atan2(_local2, _local3) * 57.2957795130823) - 90); if (_local1 < 0) { return(_local1 + 360); } return(_local1); } function findDirection(angle) { var _local1 = Math.round(angle / 45) + 1; if (_local1 > 8) { _local1 = 1; } return(_local1); } function findPattern(text) { find = false; text = text.toLowerCase(); n = 0; while (n < _root.patterns1.length) { if (text.indexOf(_root.patterns1[n]) != -1) { find = true; break; } n++; } text = text.quicksplit(" ").join(""); n = 0; while (n < _root.patterns2.length) { if (text.indexOf(_root.patterns2[n]) != -1) { find = true; break; } n++; } if (find == false) { var _local3; n = 0; while (n < text.length) { if ((text.substr(n, 1).charCodeAt() > 96) && (text.substr(n, 1).charCodeAt() < 123)) { _local3 = _local3 + text.substr(n, 1); } n++; } if (_local3 != undefined) { n = 0; while (n < _root.patterns3.length) { if (_local3.indexOf(_root.patterns3[n]) != -1) { find = true; break; } n++; } } } return(find); } function objectDepth(mc) { var x = Math.round(eval ("_level1.room." + mc)._x / mapTileSet); var y = Math.round(eval ("_level1.room." + mc)._y / mapTileSet); eval ("_level1.room." + mc).swapDepths(findDepth(x, y, 1)); } function addPlayer(id, name, character, direction, x, y) { var mc = findMovie(id); duplicateMovieClip ("_level1.room.master", mc, 10000 + (roomDepth++)); duplicateMovieClip ("_level1.chat.master", mc, roomDepth); duplicateMovieClip ("_root.ai.master", mc, roomDepth); if (id != playerId) { setProperty(("_level1.room." + mc) + ".ring", _visible , false); } eval ("_level1.room." + mc).id = id; eval ("_level1.room." + mc).name = name; eval ("_level1.room." + mc).gotoAndStop(character); _root.updatePosition(id, x, y, direction); eval ("_level1.chat." + mc).id = id; setProperty("_root.ai." + mc, _x , x); setProperty("_root.ai." + mc, _y , y); eval ("_root.ai." + mc).id = id; _root.characters[id] = name; roomPop++; } function updatePosition(id, x, y, direction) { var mc = findMovie(id); setProperty("_level1.room." + mc, _x , x * mapTileSet); setProperty("_level1.room." + mc, _y , y * mapTileSet); setProperty("_level1.chat." + mc, _x , x * mapTileSet); setProperty("_level1.chat." + mc, _y , y * mapTileSet); eval ("_level1.room." + mc).swapDepths(_root.findDepth(x, y, 3)); eval ("_level1.room." + mc).character.gotoAndStop(direction); } String.prototype.quicksplit = function (d) { var _local2 = 0; var _local4 = 1; var _local3 = 0; var _local6 = this.length; var _local5 = new Array(); if (d.length == 1) { while (_local2 <= _local6) { if ((substring(this, _local2, 1)) == d) { _local5.push(substring(this, _local3, (_local2 - _local3) - _local4)); _local4 = 0; _local3 = _local2 + 1; } _local2++; } ((_local3 < _local2) ? (_local5.push(substring(this, _local3, -1))) : null); return(_local5); } _local5[0] = this; return(_local5); }; gotoAndPlay ("LoadCrumbs");
Frame 5
loadMovieNum ("crumbs.swf" + build, 11); gotoAndPlay ("LoadCrumbsLoop");
Frame 6
message1 = _level11.getBytesLoaded(); message2 = _level11.getBytesTotal(); if (_level11.getBytesTotal() > 0) { if (_level11.getBytesLoaded() == _level11.getBytesTotal()) { message1 = "DONE"; loadMovieNum ("artwork.swf" + build, 1); gotoAndStop ("Done"); } }
Frame 7
gotoAndPlay ("LoadCrumbsLoop");
Frame 8
if (serverError == 1) { _level1.gotoAndStop("Error1"); } else if (serverError == 2) { _level1.gotoAndStop("Error2"); } else if (serverError == 3) { _level1.gotoAndStop("Error3"); } else if (serverError == 4) { _level1.gotoAndStop("Error4"); } else if (serverError == 14) { _level1.gotoAndStop("Error14"); } else if (serverError == 15) { _level1.gotoAndStop("Error15"); } else if (serverError == 28) { _level1.gotoAndStop("Error28"); } else if (serverError == 29) { _level1.gotoAndStop("Error29"); } else if (serverError == 30) { _level1.gotoAndStop("Error30"); } else { _level1.gotoAndPlay("Error5"); } gotoAndStop ("Done"); stop();
Instance of Symbol 3 MovieClip "serverLogin" in Frame 9
onClipEvent (load) { _root.serverError = undefined; _root.lastPoll = getTimer(); n = _root.playerName; p = _root.playerPassword; loadVariables (_root.serverPath + "login.php", "", "POST"); } onClipEvent (enterFrame) { _root.currentTime = getTimer(); if (id != undefined) { _root.playerId = id; _root.playerKey = k; _root.playerEmail = email; _root.pattern1 = p1; _root.pattern2 = p2; _root.pattern3 = p3; if (m == 1) { loadMovieNum ((_level0.serverPath + "admin.swf") + _level0.build, 100); _root.playerCharacter = _root.adminCharacter; _root.playerAdmin = true; } else { _root.playerAdmin = false; } _level1.gotoAndPlay("NewDone"); _root.gotoAndStop("Done"); } else if (e > 0) { _root.serverError = Number(e); _root.gotoAndStop("Error"); } else if ((_root.currentTime - _root.lastPoll) > _root.timeOut) { _root.serverError = 1; _root.gotoAndStop("Error"); } }
Instance of Symbol 3 MovieClip "serverNew" in Frame 10
onClipEvent (load) { _root.serverError = undefined; _root.lastPoll = getTimer(); n = _root.playerName; loadVariables (_root.serverPath + "new.php", "", "POST"); } onClipEvent (enterFrame) { _root.currentTime = getTimer(); if (id != undefined) { _root.playerId = id; _root.playerKey = k; _level1.gotoAndPlay("NewDone"); _root.gotoAndStop("Done"); } else if (e > 0) { _root.serverError = Number(e); _root.gotoAndStop("Error"); } else if ((_root.currentTime - _root.lastPoll) > _root.timeOut) { _root.serverError = 1; _root.gotoAndStop("Error"); } }
Instance of Symbol 3 MovieClip "serverGuest" in Frame 11
onClipEvent (load) { _root.serverError = undefined; _root.lastPoll = getTimer(); n = _root.playerName; n_gen = 1; loadVariables (_root.serverPath + "new.php", "", "POST"); } onClipEvent (enterFrame) { _root.currentTime = getTimer(); if (id != undefined) { _root.playerId = id; _root.playerKey = k; _root.playerName = n; _level1.gotoAndPlay("NewDone"); _root.gotoAndStop("Done"); } else if (e > 0) { _root.serverError = Number(e); _root.gotoAndStop("Error"); } else if ((_root.currentTime - _root.lastPoll) > _root.timeOut) { _root.serverError = 1; _root.gotoAndStop("Error"); } }
Instance of Symbol 3 MovieClip "serverRegister" in Frame 12
onClipEvent (load) { _root.serverError = undefined; _root.lastPoll = getTimer(); n = _root.playerName; p = _root.playerPassword; email = _root.playerEmail; loadVariables (_root.serverPath + "register.php", "", "POST"); } onClipEvent (enterFrame) { _root.currentTime = getTimer(); if (e == 0) { _level1.gotoAndStop("RegisterDone"); _root.gotoAndStop("Done"); } else if (e > 0) { _root.serverError = Number(e); _root.gotoAndStop("Error"); } else if ((_root.currentTime - _root.lastPoll) > _root.timeOut) { _root.serverError = 1; _root.gotoAndStop("Error"); } }
Instance of Symbol 3 MovieClip "serverForgotPassword" in Frame 13
onClipEvent (load) { _root.serverError = undefined; _root.lastPoll = getTimer(); email = _root.playerEmail; loadVariables (_root.serverPath + "forgotpassword.php", "", "POST"); } onClipEvent (enterFrame) { _root.currentTime = getTimer(); if (e == 0) { _level1.gotoAndStop("ForgotPasswordDone"); _root.gotoAndStop("Done"); } else if (e > 0) { _root.serverError = Number(e); _root.gotoAndStop("Error"); } else if ((_root.currentTime - _root.lastPoll) > _root.timeOut) { _root.serverError = 1; _root.gotoAndStop("Error"); } }
Instance of Symbol 3 MovieClip "serverUpdate" in Frame 14
onClipEvent (load) { _root.serverError = undefined; _root.lastPoll = getTimer(); n = _root.playerName; p = _root.playerPassword; email = _root.playerNewEmail; newpassword = _root.playerNewPassword; loadVariables (_root.serverPath + "editaccount.php", "", "POST"); } onClipEvent (enterFrame) { _root.currentTime = getTimer(); if (e == 0) { _level1.gotoAndStop("UpdateDone"); _root.gotoAndStop("Done"); } else if (e > 0) { _root.serverError = Number(e); _root.gotoAndStop("Error"); } else if ((_root.currentTime - _root.lastPoll) > _root.timeOut) { _root.serverError = 1; _root.gotoAndStop("Error"); } }
Instance of Symbol 3 MovieClip "serverWait" in Frame 16
onClipEvent (load) { _root.serverError = undefined; _root.counterPoll = 0; id = _root.playerId; } onClipEvent (enterFrame) { if (_root.counterPoll > _root.timeOut) { loadVariables (_root.serverPath + "wait.php", "", "POST"); _root.counterPoll = 0; } else { _root.counterPoll++; } }
Instance of Symbol 3 MovieClip "serverJoin" in Frame 17
onClipEvent (load) { _root.serverError = undefined; _root.lastPoll = getTimer(); if (_root.serverPoll == true) { id = _root.playerId; s = (((((_root.playerCharacter + "|") + _root.findCode(_root.playerDirection)) + "|") + _root.findCode(_root.playerx)) + "|") + _root.findCode(_root.playery); r = _root.playerRoom; k = _root.playerKey; loadVariables (_root.serverPath + "join.php", "", "POST"); } else { _level1.gotoAndPlay("Chat"); _root.gotoAndStop("Chat"); } } onClipEvent (enterFrame) { _root.currentTime = getTimer(); if (p != undefined) { p = p.quicksplit("\r").join(""); _root.commands = new Array(); _root.commands = p.quicksplit(newline); _root.serverLine = l; _level1.gotoAndPlay("Chat"); _root.gotoAndStop("Chat"); } else if (e > 0) { _root.serverError = Number(e); _root.gotoAndStop("Error"); } else if ((_root.currentTime - _root.lastPoll) > _root.timeOut) { if (_root.playerVersion[0] < 6) { _root.serverError = 5; } else { _root.serverError = 1; } _root.gotoAndStop("Error"); } }
Instance of Symbol 3 MovieClip "engine" in Frame 18
onClipEvent (load) { drop = false; todo = 0; } onClipEvent (enterFrame) { if (todo < _root.commands.length) { todo = _root.commands.length; wait = int(_root.timePoll / todo); doTime = _root.currentTime; } if ((_root.commands.length > 0) && (_root.currentTime > doTime)) { dump = _root.commands.shift().quicksplit("|"); todo--; id = dump[0]; if (dump.length > 1) { character = dump[1]; direction = _root.findNumber(dump[2]); x = _root.findNumber(dump[3]); y = _root.findNumber(dump[4]); chat = dump[5]; } else { drop = true; } if (id != _root.playerId) { if ((drop == true) && (_root.characters[id] != undefined)) { removeMovieClip("_level1.room.player" + id); removeMovieClip("_level1.chat.player" + id); removeMovieClip("_root.ai.player" + id); _root.characters[id] = undefined; _root.roomPop--; drop = false; } else if (_root.characters[id] != undefined) { eval ("_level1.room.player" + id).gotoAndStop(character); eval ("_level1.room.player" + id).character.gotoAndStop(direction); eval ("_level1.room.player" + id).swapDepths(_root.findDepth(x, y, 3)); currentx = eval ("_level1.room.player" + id)._x / _root.mapTileSet; currenty = eval ("_level1.room.player" + id)._y / _root.mapTileSet; if ((currentx != x) || (currenty != y)) { eval ("_root.ai.player" + id).gotoAndPlay("Move"); eval ("_root.ai.player" + id).targetx = x; eval ("_root.ai.player" + id).targety = y; } if ((chat != undefined) && (chat != "")) { if (chat.substr(0, 1) == "/") { if (chat.substr(1, 1) == "a") { action = Number(chat.substr(2, 1)); crumb = chat.substr(3, chat.length - 3); eval ("_level1.room.player" + id).character.crumb = crumb; eval ("_level1.room.player" + id).character.gotoAndStop(1); eval ("_level1.room.player" + id).character.gotoAndStop("a" + action); } else { _root.updateChat(id, chat); } } else { _root.updateChat(id, chat); } } } else { name = chat; if ((name == undefined) || (name == "")) { name = "Zippy"; } _root.addPlayer(id, name, character, direction, x, y); } } else if ((drop == true) && (id == _root.playerId)) { _root.serverPoll = false; } doTime = _root.currentTime + wait; } }
Instance of Symbol 3 MovieClip "player" in Frame 18
onClipEvent (load) { setProperty("_level1.room.master", _visible , false); setProperty("_level1.chat.master", _visible , false); _level1.room.gotoAndStop(_root.playerRoom + 1); setProperty("_level1.room.target", _visible , false); _root.addPlayer(_root.playerId, _root.playerName, _root.playerCharacter, _root.playerDirection, _root.playerx, _root.playery); _root.playerAction = "wait"; } onClipEvent (mouseMove) { mousex = Math.round(_level1.room._xmouse / _root.mapTileSet); mousey = Math.round(_level1.room._ymouse / _root.mapTileSet); _root.lastDrop = _root.currentTime; if (_root.playerAction == "wait") { angle = _root.findAngle(_root.playerx, _root.playery, mousex, mousey); _root.playerDirection = _root.findDirection(angle); _level1.room.player.gotoAndStop(_root.playerCharacter); _level1.room.player.character.gotoAndStop(_root.playerDirection); _level1.room.player.swapDepths(_root.findDepth(_root.playerx, _root.playery, 4)); } } onClipEvent (mouseDown) { if (_root.characters[_root.playerHover] == undefined) { _root.playerHover = undefined; } if (_level1.interface.hitTest(_level1._xmouse, _level1._ymouse, true) == true) { hit = true; } else if (_level1.room.region.hitTest(mousex * _root.mapTileSet, mousey * _root.mapTileSet, true) == false) { hit = true; } else if ((_level100.admin.hitTest(_level1._xmouse, _level1._ymouse, true) == true) && (_root.playerAdmin == true)) { hit = true; } else { hit = false; } if ((_root.playerHover == undefined) && (hit == false)) { if ((((mousex > 0) && (mousex < _root.mapWidth)) && (mousey > 0)) && (mousey < _root.mapHeight)) { if ((mousex != _root.playerx) || (mousey != _root.playery)) { _root.playerAction = "move"; setProperty("_level1.room.target", _x , mousex * _root.mapTileSet); setProperty("_level1.room.target", _y , mousey * _root.mapTileSet); setProperty("_level1.room.target", _visible , true); _root.ai.player.gotoAndPlay("Move"); _root.ai.player.targetx = mousex; _root.ai.player.targety = mousey; _root.playerx = mousex; _root.playery = mousey; _root.inactive = 0; _root.lastDrop = _root.currentTime; _root.serverUpdate = true; if ((_root.sendMove == true) && (_root.roomPop > 1)) { _root.lastPoll = undefined; } } } } }
Instance of Symbol 3 MovieClip "serverChat" in Frame 18
onClipEvent (load) { _root.serverError = undefined; _root.lastPoll = getTimer(); _root.lastDrop = getTimer(); l = _root.serverLine; } onClipEvent (enterFrame) { _root.currentTime = getTimer(); if (_root.roomPop > 1) { _root.currentPoll = _root.timePoll; } else { _root.currentPoll = 10000; } if (((_root.currentTime - _root.lastDrop) > _root.timeDrop) && (_root.serverDrop == true)) { _root.actionDrop(); } else if (((_root.currentTime - _root.lastPoll) > _root.currentPoll) && (_root.serverPoll == true)) { if (_root.serverUpdate == true) { id = _root.playerId; k = _root.playerKey; r = _root.playerRoom; l = _root.serverLine; s = (((((_root.playerCharacter + "|") + _root.findCode(_root.playerDirection)) + "|") + _root.findCode(_root.playerx)) + "|") + _root.findCode(_root.playery); d = _root.playerChat; loadVariables (_root.serverPath + "chat.php", "", "POST"); _root.playerChat = undefined; _root.serverUpdate = false; } else { id = _root.playerId; k = _root.playerKey; r = _root.playerRoom; l = _root.serverLine; s = undefined; d = undefined; loadVariables (_root.serverPath + "chat.php", "", "POST"); } _root.lastPoll = _root.currentTime; } else if (c != undefined) { if (c.length > 0) { c = c.quicksplit("\r").join(""); _root.commands = _root.commands.concat(c.quicksplit(newline)); } delete c; } _root.serverLine = l; }
Instance of Symbol 3 MovieClip "serverDrop" in Frame 19
onClipEvent (load) { _root.serverError = undefined; id = _root.playerId; k = _root.playerKey; r = _root.playerRoom; p = _root.playerPassword; dropid = _root.playerId; loadVariables (_root.serverPath + "drop.php", "", "POST"); }
Frame 20
stop();
Symbol 3 MovieClip Frame 1
stop();
Symbol 6 MovieClip Frame 1
if (_name == "player") { _root.playerAction = "wait"; } stop();
Symbol 6 MovieClip Frame 2
x = eval ("_level1.room." + _name)._x / _root.mapTileSet; y = eval ("_level1.room." + _name)._y / _root.mapTileSet; distance = _root.findDistance(x, y, targetx, targety); steps = int(distance / 0.25); movex = (targetx - x) / steps; movey = (targety - y) / steps; angle = _root.findAngle(x, y, targetx, targety); direction = _root.findDirection(angle); eval ("_level1.room." + _name).character.gotoAndStop(direction + 8); _x = targetx; _y = targety; delete distance; delete angle; play();
Symbol 6 MovieClip Frame 3
if (steps > 0) { x = x + movex; y = y + movey; _root.updatePosition(id, x, y, direction + 8); steps = steps - 1; } else { _root.updatePosition(id, targetx, targety, direction); delete direction; delete x; delete y; delete targetx; delete targety; delete movex; delete movey; delete steps; delete depth; gotoAndStop ("Wait"); }
Symbol 6 MovieClip Frame 4
gotoAndPlay ("MoveLoop");
Symbol 7 MovieClip Frame 1
stop();

Library Items

Symbol 1 GraphicUsed by:2
Symbol 2 MovieClipUses:1Used by:Timeline
Symbol 3 MovieClipUsed by:Timeline
Symbol 4 GraphicUsed by:7
Symbol 5 GraphicUsed by:6
Symbol 6 MovieClipUses:5Used by:7
Symbol 7 MovieClipUses:4 6Used by:Timeline

Instance Names

"serverLogin"Frame 9Symbol 3 MovieClip
"serverNew"Frame 10Symbol 3 MovieClip
"serverGuest"Frame 11Symbol 3 MovieClip
"serverRegister"Frame 12Symbol 3 MovieClip
"serverForgotPassword"Frame 13Symbol 3 MovieClip
"serverUpdate"Frame 14Symbol 3 MovieClip
"serverWait"Frame 16Symbol 3 MovieClip
"serverJoin"Frame 17Symbol 3 MovieClip
"engine"Frame 18Symbol 3 MovieClip
"player"Frame 18Symbol 3 MovieClip
"serverChat"Frame 18Symbol 3 MovieClip
"ai"Frame 18Symbol 7 MovieClip
"serverDrop"Frame 19Symbol 3 MovieClip
"master"Symbol 7 MovieClip Frame 1Symbol 6 MovieClip

Special Tags

Protect (24)Timeline Frame 10 bytes ""

Labels

"LoadChat"Frame 1
"Setup"Frame 3
"Functions"Frame 4
"LoadCrumbs"Frame 5
"LoadCrumbsLoop"Frame 6
"Error"Frame 8
"Login"Frame 9
"New"Frame 10
"Guest"Frame 11
"Register"Frame 12
"ForgotPassword"Frame 13
"Update"Frame 14
"Wait"Frame 16
"Join"Frame 17
"Chat"Frame 18
"Drop"Frame 19
"Done"Frame 20
"Wait"Symbol 6 MovieClip Frame 1
"Move"Symbol 6 MovieClip Frame 2
"MoveLoop"Symbol 6 MovieClip Frame 3




http://swfchan.com/51/253215/info.shtml
Created: 15/7 -2023 12:53:42 Last modified: 15/7 -2023 12:53:42 Server time: 07/12 -2025 05:20:08