Lucky Space Faerie Charm: Difference between revisions

From Computers Wiki
Jump to navigationJump to search
(Create page)
 
(→‎/games/lucky_charm.phtml: Add my guess for what PLC means)
 
Line 4: Line 4:


<code>plc_orig_np</code> is intended to be a positive integer, but it can be zero or negative. Decimals, letters, or any other non-numeric character cause integer parsing to be cut off at that point. If the input is wholly non-numeric, the value is treated as zero. However, the whole string is still present in the output, saying, for instance, "3e11 NP to 6 NP", or "3.5 NP to 6 NP", or "abc NP to 0 NP".
<code>plc_orig_np</code> is intended to be a positive integer, but it can be zero or negative. Decimals, letters, or any other non-numeric character cause integer parsing to be cut off at that point. If the input is wholly non-numeric, the value is treated as zero. However, the whole string is still present in the output, saying, for instance, "3e11 NP to 6 NP", or "3.5 NP to 6 NP", or "abc NP to 0 NP".

I assume plc is short for Premium Lucky Charm.


<syntaxhighlight lang="html">
<syntaxhighlight lang="html">

Latest revision as of 19:39, 3 August 2024

/games/lucky_charm.phtml

Example URL: https://www.neopets.com/games/lucky_charm.phtml?plc_orig_np=742

plc_orig_np is intended to be a positive integer, but it can be zero or negative. Decimals, letters, or any other non-numeric character cause integer parsing to be cut off at that point. If the input is wholly non-numeric, the value is treated as zero. However, the whole string is still present in the output, saying, for instance, "3e11 NP to 6 NP", or "3.5 NP to 6 NP", or "abc NP to 0 NP".

I assume plc is short for Premium Lucky Charm.

<style type=text/css>
A{COLOR:#000099;FONT-FAMILY:verdana,arial,helvetica;FONT-SIZE:9pt;TEXT-DECORATION:none}
TD,P,body{FONT-FAMILY:verdana,arial,helvetica;FONT-SIZE:9pt;}
A:hover{COLOR:#990000;}
.smallfont, .sf{FONT-SIZE:7.5pt;}
</style>

<html>
	<head>
		<title>Neopets - Lucky Space Faerie Charm!</title>
	</head>
<body>
<div align="center">
		<table width="450" cellpadding="3" cellspacing="0" border="0">
			<tr>
				<td bgcolor="#FFFFCC" width="400" align="center" colspan="2"><strong>Something has happened!</strong></td>
			</tr>
			
			<tr>
				<td width="80"><img src="//images.neopets.com/trophies/premium_lucky_charm.gif" width="80" height="80" alt="" border="1"></td>
				<td>Wow!  Aren't you lucky?!  Your Neopoint reward has been doubled from <strong>742 NP</strong> to <strong>1484 NP</strong>!  What in the world could have caused that to happen?</td>
			</tr>
		</table>
<br>
<a href="javascript:window.close();"><strong>Close Window</strong></a>
</div>