QuickFingers
10-29-2004, 10:58 PM
I am trying to make my own forum for a game called RagnarokOnline (www.ragnarokonline.com). The host is Invisionfree (www.invisionfree.com) and there’s some kind of money hack you can put into the Footer of the board wrappers. Every time you post you get $15 of fake money. Someone made up this money hack but he made one mistake. Whenever the administrator (or anyone ells that is allowed) increases or decreases the money of a member it effects the post count of that member. I have tried to fix this but I just cant seem to get it. I was wondering if anyone is good with javascript and could help me. The code is:
<script>
//Simple Money Code created by Webworldx - iF
//Get some good skins @ www.ifskins.com!
var mSide = document.getElementsByTagName('td');
for(a=0;a<mSide.length;a++){
if (mSide[a].className=="post2" || mSide[a].className=="post1") {
if (mSide[a].innerHTML.match("Posts: ")) {
var tPosts = mSide[a].innerText
tPosts = tPosts.split("\n")
for (i=0;i<tPosts.length;i++){ if (tPosts[i].match("Posts: ")){ var PostCount=tPosts[i].substring(7)}}
PostCount=PostCount.replace(",","")
var theMoney = PostCount * 15
if(!mSide[a].width){mSide[a].innerHTML+="Money: $" + theMoney}
}}}
</script>
<script language="javascript" type="text/javascript">
<!--//Improved Money Hack - by Markup
moneyName="Money"
moneySign="$"
postMoney=15
//-->
</script>
<script language="javascript" type="text/javascript" src="http://webpost.net/ma/markup/money.js"></script>
If you could help that would be great! If you need any more information please post here. Thank You.
(My Forum (www.invisionfree.com/RagnarokOnlinerz))
<script>
//Simple Money Code created by Webworldx - iF
//Get some good skins @ www.ifskins.com!
var mSide = document.getElementsByTagName('td');
for(a=0;a<mSide.length;a++){
if (mSide[a].className=="post2" || mSide[a].className=="post1") {
if (mSide[a].innerHTML.match("Posts: ")) {
var tPosts = mSide[a].innerText
tPosts = tPosts.split("\n")
for (i=0;i<tPosts.length;i++){ if (tPosts[i].match("Posts: ")){ var PostCount=tPosts[i].substring(7)}}
PostCount=PostCount.replace(",","")
var theMoney = PostCount * 15
if(!mSide[a].width){mSide[a].innerHTML+="Money: $" + theMoney}
}}}
</script>
<script language="javascript" type="text/javascript">
<!--//Improved Money Hack - by Markup
moneyName="Money"
moneySign="$"
postMoney=15
//-->
</script>
<script language="javascript" type="text/javascript" src="http://webpost.net/ma/markup/money.js"></script>
If you could help that would be great! If you need any more information please post here. Thank You.
(My Forum (www.invisionfree.com/RagnarokOnlinerz))