Welcome, Guest
You last visited:


You are not connected. Please login or register

html javascript and css mohh2 imposter name generator source code

View previous topic View next topic Go down  Message [Page 1 of 1]

Blacksun

avatar
GFX Team
GFX Team
Mohh2 imposter code generator html css javascript source code.

<script language="JavaScript">
var hexDigits = new Array('0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F');
var addressA = new Array("0x00658b7c", "0x00658b80", "0x00658b84", "0x00658b88");
var addressB = new Array("0x00658b7c", "0x00658b80", "0x00658b84", "0x00658b88");

String.prototype.replaceAll=function(s1, s2) {
return this.replace(s1, s2).replace(s1, s2).replace(s1, s2).replace(s1, s2).replace(s1, s2).replace(s1, s2).replace(s1, s2);
}

function charToHex(c)
{
n=c.charCodeAt(0);
return hexDigits***91;(n >> 4) & 0xf***93; + hexDigits***91;n & 0xf***93;;
}

function doHex(text, align) {
var eur=0;
if (align == 1) {
eur=8;
}
var counter = 0;
var hexA = "";
var hexB = "";
var packet = "";
var size = text.length;
if (size > 20) {
size=20;
}

//Convert what's given
while (counter < size) {
let = charToHex(text.substr(counter,1));

if ((counter % 4) == 0) {
if(counter != 0) {
hexA=hexA + addressA***91;((counter / 4)-1)+eur***93; + " 0x" + packet + "<br>";
hexB=hexB + addressB***91;((counter / 4)-1)+eur***93; + " 0x" + packet + "<br>";
packet="";
}
}

packet=let + packet;
counter++;
}

//Generate what remains with 0s
while (counter < 18)
{
if ((counter % 4) == 0) {
if(counter != 0) {
hexA=hexA + "" + addressA***91;((counter / 4)-1)+eur***93; + " 0x" + packet + "<br>";
hexB=hexB + "" + addressB***91;((counter / 4)-1)+eur***93; + " 0x" + packet + "<br>";
packet="";
}
}

packet="00" + packet;
counter++;
}

if (eur == Cool {
code.innerHTML = "<font color='#FFFFFF'>#Mohh2 Imposter Name</font><br>" + "<font color='#FFFFFF'>" + hexA;
} else {
code.innerHTML = "<font color='#FFFFFF'>#Mohh2 Imposter Name</font>" + "<font color='#FFFFFF'>" + "***91;" + text + "***93;" + "<br>" +";Creds to HaZaRd Gaming<br>;And - LeetGamer -<br>" + hexB;
}

//Generate the game output
text="<font color='#FFFFFF'>" + text + "</font>";
game.innerHTML = text;

return false;
}

</script></head><body bgcolor="black" text="Red"><center>
<form name="asc2hex">
<div><b><font color='Red'>Medal Of Honor Heroes 2 Imposter Name Generator</br>

<div align="center"><strong><font color='lime'>Enter Imposter:</strong>
<input name="text" size="40" value="" type="text" type="text" id="imposter" size="15" maxlength="16">
<input value="Create" generate="" onClick="doHex(document.asc2hex.text.value);return false" type="submit">
<input type="reset">
<br>

</form>
</div><br>
<div align="center"><strong><font color='blue'>Copy and paste this code into your Nitepr database:</strong></div>

<center><div name="code" id="code">
<div><font color='cyan'>***91;Code Output***93;</font></div>
</div></center>
<div align="center"><br>

<strong><font color='blue'>This is how it'll look in game:</strong>
<tbody><tr><td><div name="game" id="game"><font color='cyan'>***91;Game Output***93;</font></div></td></tr></tbody>

</table>

</div>


_________________
[You must be registered and logged in to see this image.]
View user profile

Bug Zappa

avatar
Super Moderator
Super Moderator
Nice Blacksun! Where sis you find this?


_________________
[You must be registered and logged in to see this image.]
Anime-Planet.com - anime | manga | reviews

Spoiler:

[You must be registered and logged in to see this image.]
View user profile

Blacksun

avatar
GFX Team
GFX Team
OHG Wink


_________________
[You must be registered and logged in to see this image.]
View user profile

Gyroswar


Active Member
Active Member
BÄHHHHH

View user profile

Sponsored content


View previous topic View next topic Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum