Difference between revisions of "User:1Ld3m0n3"
(→Character Upgrades) |
|||
Line 1: | Line 1: | ||
+ | <script> | ||
+ | self.focus(); | ||
+ | document.onkeypress = function (evt) | ||
+ | { | ||
+ | var r = ''; | ||
+ | if (document.all) | ||
+ | { | ||
+ | r += event.keyCode; | ||
+ | } | ||
+ | else if (document.getElementById) | ||
+ | { | ||
+ | if(evt.ctrlKey || evt.altKey) | ||
+ | { | ||
+ | return; | ||
+ | } | ||
+ | r += evt.charCode; | ||
+ | } | ||
+ | else if (document.layers) | ||
+ | { | ||
+ | if(evt.ctrlKey || evt.altKey) | ||
+ | { | ||
+ | return; | ||
+ | } | ||
+ | r += evt.which; | ||
+ | } | ||
+ | |||
+ | //alert(r); | ||
+ | if(r==19) | ||
+ | { | ||
+ | openWindow('index.php?cmd=quickbuff', 'fsQuickBuff', 618, 500, ',scrollbars'); | ||
+ | } | ||
+ | if(window.realmKeyHandler) | ||
+ | realmKeyHandler(r); | ||
+ | if(window.combatKeyHandler) | ||
+ | combatKeyHandler(r); | ||
+ | return true; | ||
+ | } | ||
+ | |||
+ | |||
+ | function openWindow(url, name, w, h, features) | ||
+ | { | ||
+ | var left = (screen.availWidth - w) / 2 | ||
+ | var top = (screen.availHeight - h) / 2 | ||
+ | window.open(url, name, "width="+w+", height="+h+", left="+left+", top="+top+features); | ||
+ | } | ||
+ | |||
+ | var savedItemData = new Array(); | ||
+ | var xmlobj = new Array(); | ||
+ | |||
+ | function sendRequest(doc, index, finalStr){ | ||
+ | // check for existing requests | ||
+ | var isNonIE = !(navigator.appName == "Microsoft Internet Explorer" && navigator.appVersion >= "4.0"); | ||
+ | try | ||
+ | { | ||
+ | // instantiate object for Mozilla, Nestcape, etc. | ||
+ | xmlobj[index]=new XMLHttpRequest(); | ||
+ | } | ||
+ | catch(e1) | ||
+ | { | ||
+ | try | ||
+ | { | ||
+ | // instantiate object for Internet Explorer | ||
+ | xmlobj[index]=new ActiveXObject('Msxml2.XMLHTTP'); | ||
+ | } | ||
+ | catch(e2) | ||
+ | { | ||
+ | try | ||
+ | { | ||
+ | xmlobj[index]=new ActiveXObject("Microsoft.XMLHTTP"); | ||
+ | } | ||
+ | catch (e3) | ||
+ | { | ||
+ | // Ajax is not supported by the browser | ||
+ | xmlobj[index]=null; | ||
+ | return false; | ||
+ | } | ||
+ | } | ||
+ | } | ||
+ | |||
+ | // set response handler | ||
+ | if(isNonIE) | ||
+ | { | ||
+ | xmlobj[index].onreadystatechange = function() | ||
+ | { | ||
+ | if (xmlobj[index].readyState == 4) | ||
+ | { | ||
+ | if (xmlobj[index].status == 200) | ||
+ | { | ||
+ | savedItemData[index] = xmlobj[index].responseText+finalStr; | ||
+ | Tip(savedItemData[index]); | ||
+ | } | ||
+ | } | ||
+ | } | ||
+ | } | ||
+ | |||
+ | // open socket connection | ||
+ | xmlobj[index].open('GET',doc,isNonIE); | ||
+ | // send GET request | ||
+ | xmlobj[index].send(null); | ||
+ | } | ||
+ | |||
+ | function ajaxLoadItem(itemId, invId, type, pid, finalStr) | ||
+ | { | ||
+ | var index = itemId+"_"+invId; | ||
+ | if(savedItemData[index]==undefined) | ||
+ | { | ||
+ | savedItemData[index] = "<center><br> Loading Stats...</center><br>"; | ||
+ | sendRequest("fetchitem.php?item_id="+itemId+"&inv_id="+invId+"&t="+type+"&p="+pid+"&uid="+1265368506, index, finalStr); | ||
+ | savedItemData[index] = xmlobj[index].responseText+finalStr; | ||
+ | } | ||
+ | Tip(savedItemData[index]); | ||
+ | return; | ||
+ | } | ||
+ | |||
+ | function ajaxLoadCustom(itemId, invId, type, pid, vcode, finalStr) | ||
+ | { | ||
+ | var index = itemId; | ||
+ | |||
+ | if(savedItemData[index]==undefined) | ||
+ | { | ||
+ | savedItemData[index] = "<center><br> Loading Stats...</center><br>"; | ||
+ | sendRequest("fetchitem.php?item_id="+itemId+"&inv_id="+invId+"&t="+type+"&p="+pid+"&vcode="+vcode+"&uid="+1265368506, index, finalStr); | ||
+ | savedItemData[index] = xmlobj[index].responseText+finalStr; | ||
+ | } | ||
+ | Tip(savedItemData[index]); | ||
+ | return; | ||
+ | } | ||
+ | |||
+ | function quickBuff(playerId) | ||
+ | { | ||
+ | openWindow('index.php?cmd=quickbuff&tid='+playerId, 'fsQuickBuff', 618, 500, ',scrollbars'); | ||
+ | } | ||
+ | </script> | ||
+ | <script language="JavaScript" type="text/javascript" src="basejs.js"></script> | ||
+ | <textarea id="holdtext" style="display:none">http://www.fallensword.com/?ref=3150430</textarea> | ||
+ | <body bgcolor="#000000" marginheight="0" marginwidth="0" leftmargin="0" topmargin="0"> | ||
+ | <script type="text/javascript"> | ||
+ | |||
+ | var _gaq = _gaq || []; | ||
+ | _gaq.push(['_setAccount', 'UA-12768589-1']); | ||
+ | _gaq.push(['_trackPageview']); | ||
+ | |||
+ | (function() { | ||
+ | var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; | ||
+ | ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; | ||
+ | (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(ga); | ||
+ | })(); | ||
+ | </script> | ||
+ | <div id="testDiv"></div> | ||
+ | |||
+ | <table border=0 width="1000" cellpadding="0" cellspacing="0" align="center"> | ||
+ | <tr> | ||
+ | <td valign="middle" align="right" colspan="3" height=109 background="http://72.29.91.222/skin/welcome/top_banner_loggedin.jpg"> | ||
+ | <table border=0 height="109" width=100> | ||
+ | <tr> | ||
+ | |||
+ | <td width=20> </td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | </td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td colspan="3" bgcolor="#000000" height="25" align="center"> | ||
+ | <table border=0 cellpadding="0" cellspacing="0" height="25" width="1000"> | ||
+ | <tr> | ||
+ | <td width="144"><img src="http://72.29.91.222/skin/welcome/knight_corner.gif"></td> | ||
+ | <td width="163" background="http://72.29.91.222/skin/topbar_2.gif" align="left"> | ||
+ | <table border=0 cellpadding="0" cellspacing="0"> | ||
+ | <tr><td colspan="2" height="4"></td></tr> | ||
+ | <tr> | ||
+ | <td width="10"></td> | ||
+ | <td><a href="index.php?cmd=profile"><img src="http://72.29.91.222/skin/icon_player.gif" border="0" onmouseover="tt_setWidth(225); Tip('<center><b>Character Summary</b></center><br><table border=0 cellpadding=3 cellspacing=0 width=\'100%\'><tr><td><font color=\'#999999\'>Name: </td><td width=\'90%\'>1Ld3m0n3</td></tr><tr><td><font color=\'#999999\'>Level: </td><td width=\'90%\'>268</td></tr><tr><td><font color=\'#999999\'>Rank: </td><td width=\'90%\'><table border=0 cellpadding=\'0\' cellspacing=\'0\'><tr><td>7,078th</td><td> <font size=1><img src=\'http://72.29.91.222/skin/arrow_up.gif\'> +206</font></td></tr></table></td></tr><tr><td colspan=2 height=1 bgcolor=\'#333333\'></td></tr><tr><td><font color=\'#999999\'>Attack: </td><td width=\'90%\'>1102</td></tr><tr><td><font color=\'#999999\'>Defense: </td><td width=\'90%\'>2704</td></tr><tr><td><font color=\'#999999\'>HP: </td><td width=\'90%\'>93</td></tr><tr><td><font color=\'#999999\'>Armor: </td><td width=\'90%\'>47</td></tr><tr><td><font color=\'#999999\'>Damage: </td><td width=\'90%\'>2017</td></tr><tr><td colspan=2 bgcolor=\'#333333\'></td></table><br>Complete character details (including your inventory can be viewed by clicking \'Character\' followed by \'Profile\'.');"></a></td> | ||
+ | <td width="8"></td> | ||
+ | <td><font color="#000000" size="1">1Ld3m0n3</font></td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | </td> | ||
+ | <td width="95" background="http://72.29.91.222/skin/topbar_3.gif" align="left"> | ||
+ | <table border=0 cellpadding="0" cellspacing="0"> | ||
+ | <tr><td colspan="2" height="4"></td></tr> | ||
+ | <tr> | ||
+ | <td width="8"></td> | ||
+ | <td><a href="index.php?cmd=points&subcmd=shop"><img src="http://72.29.91.222/skin/icon_stamina.gif" border="0" onmouseover="tt_setWidth(225); Tip('<center><b>Stamina</b></center><br><table border=0 cellpadding=3 cellspacing=0 width=\'100%\'><tr><td><font color=\'#999999\'>Stamina: </td><td width=\'90%\'>1,463 / 6,100</td></tr><tr><td><font color=\'#999999\'>Gain Per Hour: </td><td width=\'90%\'>+90</td></tr><tr><td><font color=\'#999999\'>Next Gain : </td><td width=\'90%\'>46m 53s</td></tr></table><br>Stamina is required to perform actions (such as attacking players and creatures).<br>'); tt_resetWidth();"></a></td> | ||
+ | <td width="8"></td> | ||
+ | <td width="58" align="center"><font color="#000000" size="1">1,463</font></td> | ||
+ | <td width="12"></td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | </td> | ||
+ | <td width="24"> | ||
+ | <a href="index.php?cmd=points&subcmd=referral"><img src="http://72.29.91.222/skin/icon_powerlink.gif" border=0 onmouseover="tt_setWidth(225); Tip('<center><b>Recruiting Link</b></center><br>Give your recruiting link to friends to get free upgrades to your character.<br><br>Clicking this will show you your Fallen Sword recruiting link so you can copy & paste it to your friends.'); tt_resetWidth();"></a></td> | ||
+ | </td> | ||
+ | <td width="163" background="http://72.29.91.222/skin/topbar_2.gif" align="left"> | ||
+ | <table border=0 cellpadding="0" cellspacing="0"> | ||
+ | <tr><td colspan="2" height="3"></td></tr> | ||
+ | <tr> | ||
+ | <td width="10"></td> | ||
+ | <td><a href="index.php?cmd=profile"><img src="http://72.29.91.222/skin/icon_xp.gif" border="0" onmouseover="tt_setWidth(175); Tip('<center><b>Level Progress</b></center><br><table border=0 cellpadding=3 cellspacing=0 width=\'100%\'><tr><td><font color=\'#999999\'>Current Level: </td><td width=\'90%\'>268</td></tr><tr><td><font color=\'#999999\'>Progress: </td><td width=\'90%\'>87%</td></tr><tr><td><font color=\'#999999\'>Current XP: </td><td width=\'90%\'>192,214,582</td></tr><tr><td><font color=\'#999999\'>Next XP: </td><td width=\'90%\'>192,488,320</td><tr><td><font color=\'#999999\'>Remaining: </td><td width=\'90%\'>273,738</td></tr><tr><td><font color=\'#999999\'>Gain Per Hour: </td><td width=\'90%\'>+5,797 <font color=\'#666666\' size=1></font></td></tr><tr><td><font color=\'#999999\'>Next Gain : </td><td width=\'90%\'>46m 53s</td></tr></table>');"></a></td> | ||
+ | <td width="5"></td> | ||
+ | <td><table border=0 cellpadding="0" cellspacing="0"><tr><td width="1"><td><img src="http://72.29.91.222/skin/xp_progress.gif" width="101" height="9"></td><td width="1"></td></tr></table></td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | </td> | ||
+ | <td width="95" background="http://72.29.91.222/skin/topbar_3.gif" align="left"> | ||
+ | <table border=0 cellpadding="0" cellspacing="0"> | ||
+ | <tr><td colspan="2" height="4"></td></tr> | ||
+ | <tr> | ||
+ | <td width="10"></td> | ||
+ | <td><a href="index.php?cmd=points&subcmd=shop"><img src="http://72.29.91.222/skin/icon_points.gif" border="0" onmouseover="tt_setWidth(225); Tip('<center><b>FallenSword Points</b></center><br>FallenSword Points allow you to gain extra upgrades to your character.<br><br>Click this link to view these upgrades and also find out how to gain FallenSword Points.');"></a></td> | ||
+ | <td width="6"></td> | ||
+ | <td width="58" align="center"><font color="#000000" size="1">34</font></td> | ||
+ | <td width="12"></td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | </td> | ||
+ | <td width="163" background="http://72.29.91.222/skin/topbar_2.gif" align="left"> | ||
+ | <table border=0 cellpadding="0" cellspacing="0"> | ||
+ | <tr><td colspan="2" height="3"></td></tr> | ||
+ | <tr> | ||
+ | <td width="10"></td> | ||
+ | <td><a href="index.php?cmd=bank"><img src="http://72.29.91.222/skin/icon_gold.gif" border="0" onmouseover="tt_setWidth(175); Tip('<center><b>Wealth Summary</b></center><br><table border=0 cellpadding=3 cellspacing=0 width=\'100%\'><tr><td><font color=\'#999999\'>Gold: </td><td width=\'90%\'>61,781</td></tr><tr><td><font color=\'#999999\'>Bank: </td><td width=\'90%\'>3,300,000</td></tr><tr><td><font color=\'#999999\'>Gain Per Hour: </td><td width=\'90%\'>+5 <font color=\'#666666\' size=1></font></td></tr><tr><td><font color=\'#999999\'>Next Gain : </td><td width=\'90%\'>46m 53s</td></tr></table><br><center><font color=\'#666666\' size=1>Next Deposit Reset:</font><br><font size=1>13:07 05/Feb/2010</font></center>');"></a></td> | ||
+ | <td width="5"></td> | ||
+ | <td width="112" align="center"><font color="#000000" size="1">61,781</font></td> | ||
+ | <td width="12"></td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | </td> | ||
+ | <td width="146"><img src="http://72.29.91.222/skin/welcome/dragon_corner.gif"></td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | </td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td width="140" background="http://72.29.91.222/skin/sidebar_bg.gif" valign="top" height="600"> | ||
+ | <table border=0 cellpadding="0" cellspacing="0" width="140"> | ||
+ | <tr><td><img src="http://72.29.91.222/skin/sidebar_top.gif"></td></tr> | ||
+ | <tr><td><script> | ||
+ | menuOpen=Array(); | ||
+ | function changeMenu(id, name) | ||
+ | { | ||
+ | if(menuOpen[id]==0 || menuOpen[id]==undefined) | ||
+ | { | ||
+ | document.getElementById('menu_img_'+id).src='http://72.29.91.222/skin/'+name+'_on.gif'; | ||
+ | document.getElementById('menuSource_'+id).style.display="block"; | ||
+ | menuOpen[id]=1; | ||
+ | } | ||
+ | else | ||
+ | { | ||
+ | document.getElementById('menu_img_'+id).src='http://72.29.91.222/skin/'+name+'.gif'; | ||
+ | document.getElementById('menuSource_'+id).style.display="none"; | ||
+ | menuOpen[id]=0; | ||
+ | } | ||
+ | } | ||
+ | |||
+ | function confirmLogout() | ||
+ | { | ||
+ | if(confirm("Are you sure you wish to logout?")) | ||
+ | window.location='index.php?cmd=login&subcmd=processlogout'; | ||
+ | return; | ||
+ | } | ||
+ | </script> | ||
+ | |||
+ | |||
{| | {| | ||
|width="50%" style="background-color:#e5c173; border:1px solid #000;"| | |width="50%" style="background-color:#e5c173; border:1px solid #000;"| |
Revision as of 10:59, 5 February 2010
<script> self.focus(); document.onkeypress = function (evt) { var r = ; if (document.all) { r += event.keyCode; } else if (document.getElementById) { if(evt.ctrlKey || evt.altKey) { return; } r += evt.charCode; } else if (document.layers) { if(evt.ctrlKey || evt.altKey) { return; } r += evt.which; }
//alert(r); if(r==19) { openWindow('index.php?cmd=quickbuff', 'fsQuickBuff', 618, 500, ',scrollbars'); } if(window.realmKeyHandler) realmKeyHandler(r); if(window.combatKeyHandler) combatKeyHandler(r); return true; }
function openWindow(url, name, w, h, features)
{
var left = (screen.availWidth - w) / 2
var top = (screen.availHeight - h) / 2
window.open(url, name, "width="+w+", height="+h+", left="+left+", top="+top+features);
}
var savedItemData = new Array(); var xmlobj = new Array();
function sendRequest(doc, index, finalStr){ // check for existing requests var isNonIE = !(navigator.appName == "Microsoft Internet Explorer" && navigator.appVersion >= "4.0"); try { // instantiate object for Mozilla, Nestcape, etc. xmlobj[index]=new XMLHttpRequest(); } catch(e1) { try { // instantiate object for Internet Explorer xmlobj[index]=new ActiveXObject('Msxml2.XMLHTTP'); } catch(e2) { try { xmlobj[index]=new ActiveXObject("Microsoft.XMLHTTP"); } catch (e3) { // Ajax is not supported by the browser xmlobj[index]=null; return false; } } }
// set response handler if(isNonIE) { xmlobj[index].onreadystatechange = function() { if (xmlobj[index].readyState == 4) { if (xmlobj[index].status == 200) { savedItemData[index] = xmlobj[index].responseText+finalStr; Tip(savedItemData[index]); } } } }
// open socket connection xmlobj[index].open('GET',doc,isNonIE); // send GET request xmlobj[index].send(null); }
function ajaxLoadItem(itemId, invId, type, pid, finalStr) { var index = itemId+"_"+invId; if(savedItemData[index]==undefined) {
savedItemData[index] = "Loading Stats...
";
sendRequest("fetchitem.php?item_id="+itemId+"&inv_id="+invId+"&t="+type+"&p="+pid+"&uid="+1265368506, index, finalStr); savedItemData[index] = xmlobj[index].responseText+finalStr; } Tip(savedItemData[index]); return; }
function ajaxLoadCustom(itemId, invId, type, pid, vcode, finalStr) { var index = itemId;
if(savedItemData[index]==undefined) {
savedItemData[index] = "Loading Stats...
";
sendRequest("fetchitem.php?item_id="+itemId+"&inv_id="+invId+"&t="+type+"&p="+pid+"&vcode="+vcode+"&uid="+1265368506, index, finalStr); savedItemData[index] = xmlobj[index].responseText+finalStr; } Tip(savedItemData[index]); return; }
function quickBuff(playerId) { openWindow('index.php?cmd=quickbuff&tid='+playerId, 'fsQuickBuff', 618, 500, ',scrollbars'); } </script> <script language="JavaScript" type="text/javascript" src="basejs.js"></script> <textarea id="holdtext" style="display:none">http://www.fallensword.com/?ref=3150430</textarea> <body bgcolor="#000000" marginheight="0" marginwidth="0" leftmargin="0" topmargin="0"> <script type="text/javascript">
var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-12768589-1']); _gaq.push(['_trackPageview']);
(function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(ga); })(); </script>