Регистрация Главная Сообщество
Сообщения за день Справка Регистрация
Навигация
Zhyk.org LIVE! Реклама на Zhyk.org Правила Форума Награды и достижения Доска "почета"

Требуется помощь по вытягивании swf из http://cs.r2games.com

-

Вопросы и ответы, обсуждения

- Общение и обсуждения на тему браузерных игр

Ответ
 
Опции темы
Старый 07.09.2013, 21:42   #1
 Разведчик
Аватар для gimlet
 
gimlet душа компанииgimlet душа компанииgimlet душа компанииgimlet душа компанииgimlet душа компанииgimlet душа компанииgimlet душа компанииgimlet душа компании
Регистрация: 18.11.2011
Сообщений: 2
Популярность: 931
Сказал(а) спасибо: 0
Поблагодарили 9 раз(а) в 5 сообщениях
Отправить сообщение для gimlet с помощью Skype™
 
По умолчанию Требуется помощь по вытягивании swf из http://cs.r2games.com

Суть такова очень требуется их swf выдрать для доработак ...
Код:
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=GBK" />
		<title>Crystal Saga</title>
		<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
		<script type="text/javascript" src="swfobject.js"></script>
		<script type="text/javascript" src="rightClick.js"></script>
		<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
		<script type="text/javascript">
		$().ready(function(){
		var server_id=getserverid();
		$.getScript("http://cs.r2games.org/getjs?server_id="+server_id);
		});
		function getserverid(){
		var hashes = window.location.href.slice(window.location.href.indexOf('?') + 1).split('&');
		for(var i = 0; i < hashes.length; i++)
	{
        hash = hashes[i].split('=');
        if (hash[0]=='server_id') {
            return hash[1];
        }
    }
    return '';
}
</script>
	</head>
	<body BGCOLOR=0 style="margin:0px;padding:0px;" onload="useRightClick()" oncontextmenu="return false">		
		<table cellpadding=0 cellspacing=0 width=100% height=100% border=1>			
		<tr><td align=center valign=center>
			<div id="flashcontent">
				<h1></h1>
				<p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>
			</div>
		</td></tr></table>			
		<script type="text/javascript">
			//
			function setAccRole(acc, role, server){
				r2_cur_accountid = acc;
				r2_cur_rolename = role;
				r2_server = server;
			}

			function getUrlQueryString() {
				var s = location.search;
				if (s == null || s == "") return "";
				return s.substring(0, 1) == "?" ? s.substring(1) : s;
			}

			var qs = getUrlQueryString();
			if (qs != null && qs != "") {
				//*******escape(qs));
			}
			
			var swfWidth=1000, swfHeight=600;
			autoSetSwfSize();
			//*******swfWidth + " - " + swfHeight);
			//swfobject 2.1
			//swfobject.embedSWF("WebLaucher.swf", "fc", swfWidth, swfHeight, "9.0.0", "expressInstall.swf", {}, {}, {"id":"customRightClick"});

			//swfobject 1.5
			var so = new SWFObject("WebLaucher.swf", "customRightClick", swfWidth, swfHeight, "9");
			so.addParam("quality", "high");
			so.addParam("name", "customRightClick");
			so.addParam("id", "customRightClick");
			so.addParam("AllowScriptAccess", "always");
			//so.addParam("wmode", "opaque");
			//so.addParam("wmode", "transparent");
			so.addParam("menu", "false");
			//set params
			so.addVariable("bin", getQueryParamValue("bin"));
			so.addVariable("sid", getQueryParamValue("server_id"));
			so.addVariable("sidn","server_id");
			so.addVariable("sso", escape(getUrlQueryString()));
			so.addVariable("ost", getQueryParamValue("ost"));
			so.addVariable("fb", getQueryParamValue("fb"));
			so.addVariable("fc", getQueryParamValue("fc"));
			so.write("flashcontent");

			function autoSetSwfSize() {
				var hwRatio = 0.6;
				var minWidth = 1000, maxWidth = 2560;
				var minHeight = 600, maxHeight = 1440;
				swfWidth = document.body.clientWidth - 10;
				swfHeight = document.body.clientHeight - 10;
				var keepHwRatio = false;
				if (keepHwRatio) {
					
					if (swfHeight < swfWidth * hwRatio) {
						if (swfHeight < minHeight) {
							swfHeight = minHeight;
						}
						else if (swfHeight > maxHeight) {
							swfHeight = maxHeight;
						}
						swfWidth = Math.floor(swfHeight / hwRatio);
					}
					else {
						if (swfWidth < minWidth) {
							swfWidth = minWidth;
						}
						else if (swfWidth > maxWidth) {
							swfWidth = maxWidth;
						}
						swfHeight = Math.floor(swfWidth * hwRatio);
					}
				}
				else {
					
					if (swfWidth < minWidth) {
						swfWidth = minWidth;
					}
					else if (swfWidth > maxWidth) {
						swfWidth = maxWidth;
					}
					if (swfHeight < minHeight) {
						swfHeight = minHeight;
					}
					else if (swfHeight > maxHeight) {
						swfHeight = maxHeight;
					}
				}
			}

			function useRightClick() {
				RightClick.init();
			}
		</script>
		<SCRIPT LANGUAGE="JavaScript">
		<!--
			window.onresize = function() {
				autoSetSwfSize();
				try {
					customRightClick.width = swfWidth;
					customRightClick.height = swfHeight;
				}
				catch (e) {
				}
			}
		//-->
		</SCRIPT>
	</body>
</html>
Последняя надежда на вас форумчани, надеюсь у вас идеи будут как Содрать их игрушку.

Добавлено через 20 минут
[Ссылки могут видеть только зарегистрированные пользователи. ] ) тут тоже имеется такавая но

Последний раз редактировалось gimlet; 07.09.2013 в 22:02. Причина: Добавлено сообщение
  Ответить с цитированием
Ответ


Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.

Быстрый переход

Похожие темы
Тема Автор Раздел Ответов Последнее сообщение
Срочно требуется помощь Rehorror Общение и обсуждение WoW 2 20.04.2011 00:24

Заявление об ответственности / Список мошенников

Часовой пояс GMT +4, время: 14:46.

Пишите нам: forum@zhyk.ru
Copyright © 2025 vBulletin Solutions, Inc.
Translate: zCarot. Webdesign by DevArt (Fox)
G-gaMe! Team production | Since 2008
Hosted by GShost.net