|
Post by Jon on Aug 1, 2005 15:46:11 GMT -5
i thought you said thered be no prob with spam.
|
|
Flem
Misguided fool
Posts: 9
|
Post by Flem on Aug 1, 2005 16:49:11 GMT -5
The one i have isnt the but im working either making a better one or finding a better one. but untill you find a better one this one will do. i sent u the codes in a PM on OH.
|
|
|
Post by CagedinSanity on Aug 1, 2005 17:23:51 GMT -5
I weas referring to Acer's forums. Because they are much larger with almost 200 members, and most members there are prone to spamming.
Edit: Ok, got it working. But I can't find the profile thing where I select my class and mess...
|
|
|
Post by Jon on Aug 1, 2005 17:55:56 GMT -5
dude, the rpg system is pwn, i'm gonna check out everything now.
|
|
|
Post by CagedinSanity on Aug 1, 2005 18:04:06 GMT -5
I still have to find where I can select my class and crap.
But for now, i need to restart my computer. It's acting up.
|
|
|
Post by Jon on Aug 2, 2005 17:34:11 GMT -5
yeah i cant find it either. wtf e_e
|
|
|
Post by CagedinSanity on Aug 2, 2005 19:53:40 GMT -5
It's supposed to be in our modify profile, under editing our sig option, but it's nowhere to be found...
|
|
|
Post by Jon on Aug 4, 2005 10:58:07 GMT -5
wierd. umm where did you find the code?
|
|
|
Post by CagedinSanity on Aug 4, 2005 17:08:03 GMT -5
Flem's forums has it, so I simply asked him for the coding.
|
|
|
Post by Jon on Aug 4, 2005 18:35:02 GMT -5
.. did he answer?
|
|
|
Post by CagedinSanity on Aug 4, 2005 20:38:56 GMT -5
Wow, jon. Let's use some critical thinking here.
I asked for the RPG code.
Now, what do you see under each post?
Hmm... If he hadn't of answered, THERE'D BE NOTHING THERE.
Wow. That sounds like something Acer would say.
|
|
|
Post by Jon on Aug 5, 2005 12:36:40 GMT -5
..e_e
whoops. you didnt say whre he would answer you, so i didnt know.
|
|
Flem
Misguided fool
Posts: 9
|
Post by Flem on Aug 5, 2005 15:52:12 GMT -5
Got it. Just edit the parts i told u to do before. It should work this time. I also just found another one ill see if its better than this one.
<script type="text/javascript"> <!--
// RPG Meteor
var mname = "Gil"; // The name of your money.
// Do NOT Edit below unless you know what you are doing. var TD = document.getElementsByTagName("TD"); if(location.href.match(/action=modifyprofile/i)){ document.modifyForm.personaltext.maxLength="84" var utab = document.modifyForm.signature.parentNode.parentNode.parentNode.parentNode; var crow = utab.insertRow(-1); var ccell1 = crow.insertCell(0); var ccell2 = crow.insertCell(1); var ccell3 = crow.insertCell(2); ccell1.innerHTML ='<font size="2">RPG Class:</font>'; ccell2.innerHTML ='<select name="group"><option value="swordsman">Swordsman</option><option value="cavelier">Cavelier</opiton><option value="archer">Archer</option><option value="acolyte">Acolyte</option><option value="summoner">Summoner</option><option value="heathen">Heathen</option><option value="soldier">SOLDIER</option><option value="thief">Thief</option><option value="savage">Savage</option></select>'; ccell3.innerHTML ='<font size="1">Select your RPG Class here. Each class has different stat growth.</font>'; var rrow = utab.insertRow(-1); var rcell1 = rrow.insertCell(0); var rcell2 = rrow.insertCell(1); var rcell3 = rrow.insertCell(2); rcell1.innerHTML ='<font size="2">RPG Race:</font>'; rcell2.innerHTML ='<select name="race"><option value="human">Human</option><option value="undead">Undead</option><option value="wood">Wood Elf</option><option value="dark">Dark Elf</option><option value="demon">Demon</option><option value="monster">Monster</option><option value="other">Other</option></select>'; rcell3.innerHTML ='<font size="1">Select your RPG Race here.</font>'; var erow = utab.insertRow(-1); var ecell1 = erow.insertCell(0); var ecell2 = erow.insertCell(1); var ecell3 = erow.insertCell(2); ecell1.innerHTML ='<font size="2">RPG Element:</font>'; ecell2.innerHTML ='<select name="elem"><option value="None">Not Selected</option><option value="Fire">Fire</option><option value="Ice">Ice</option><option value="Water">Water</option><option value="Lightning">Lightning</option><option value="Holy">Holy</option><option value="Unholy">Unholy</option></select>'; ecell3.innerHTML ='<font size="1">Select your RPG Element here.</font>'; var urow = utab.insertRow(-1); var ucell1 = urow.insertCell(0); var ucell2 = urow.insertCell(1); var ucell3 = urow.insertCell(2); ucell1.style.display="none"; ucell2.style.display="none"; ucell3.style.display="none"; ucell1.innerHTML ='<font size="2">'+mname+'</font>'; ucell2.innerHTML ='<select name="addsub"><option value="add">Add</option><option value="sub">Sub</option></select> <input name="amount" size="50" value="0"></input><br /><input type="hidden" name="moneyadd" value="0"></input><input type="hidden" name="moneysub" value="0"></input>'; ucell3.innerHTML ='<font size="1">You can add or subtract from this user\'s '+mname+' here.'; if(TD[5].innerHTML.match(/action=admin/i)){ ucell1.style.display=""; ucell2.style.display=""; ucell3.style.display=""; } if(document.modifyForm.websiteurl.value.match(/\?plus=(\d+)\?minus=(\d+)\?class=(.+?)\?race=(.+?)\?/i)){ var plus = RegExp.$1; var minus = RegExp.$2; var group = RegExp.$3; var race = RegExp.$4; document.modifyForm.group.value = group; document.modifyForm.race.value = race; document.modifyForm.moneyadd.value = plus; document.modifyForm.moneysub.value = minus; document.modifyForm.websiteurl.value = document.modifyForm.websiteurl.value.replace('?plus='+plus+'?minus='+minus+'?class='+group+'?race='+race+'?',''); } if(document.modifyForm.personaltext.value.match(/\?elem=(.+?)\?/i)){ var elem = RegExp.$1; document.modifyForm.elem.value = elem; document.modifyForm.personaltext.value = document.modifyForm.personaltext.value.replace('?elem='+elem+'?',''); } function addRPG() { document.modifyForm.personaltext.maxLength="100"; if(document.modifyForm.websiteurl.value==""){ var websitename = document.title.split(/\s-\smodify\sprofile/i)[0]; var websiteurl = location.href.split(/action=/i)[0]; document.modifyForm.websitename.value = websitename; document.modifyForm.websiteurl.value = websiteurl; } var amount = document.modifyForm.amount.value; var sel = document.modifyForm.addsub.options[document.modifyForm.addsub.selectedIndex].value; if(sel=="add"){ document.modifyForm.moneyadd.value = Math.floor(document.modifyForm.moneyadd.value) +Math.floor(amount) } else if(sel=="sub"){ document.modifyForm.moneysub.value = Math.floor(document.modifyForm.moneysub.value) +Math.floor(amount) } document.modifyForm.websiteurl.value += "?plus="+document.modifyForm.moneyadd.value+"?minus="+document.modifyForm.moneysub.value+"?class="+document.modifyForm.group.options[document.modifyForm.group.selectedIndex].value+"?race="+document.modifyForm.race.options[document.modifyForm.race.selectedIndex].value+"?"; document.modifyForm.personaltext.value += "?elem="+document.modifyForm.elem.options[document.modifyForm.elem.selectedIndex].value+"?"; document.modifyForm.submit(); } document.modifyForm.onsubmit = addRPG; } if(!location.href.match(/modifyprofile/i)){ for(t=0;t<TD.length;t++){ if(TD[t].innerHTML.match(/\?plus=(\d+)\?minus=(\d+)\?class=(.+?)\?race=(.+?)\?/i)){ TD[t].innerHTML = TD[t].innerHTML.replace('?plus='+RegExp.$1+'?minus='+RegExp.$2+'?class='+RegExp.$3+'?race='+RegExp.$4+'?',''); } if(TD[t].innerHTML.match(/\?elem=(.+?)\?</i)){ TD[t].innerHTML = TD[t].innerHTML.replace('?elem='+RegExp.$1+'?',''); } } } //--> </script>
|
|
Flem
Misguided fool
Posts: 9
|
Post by Flem on Aug 5, 2005 16:01:03 GMT -5
*BUMP*
Heres the new one. You deside which one you like.
Edit this part: //Edit Here var rpgStats=[]; rpgStats[0]=["Attack","4"]; <---edit the 4. rpgStats[1]=["Defense","2"]; <---edit the 2. rpgStats[2]=["Hit Points","3"]; <---edit the 3.
<script type="text/javascript"> /* Fusion RPG V1.0 Created by hey http://forums.talesrpg.com Do not repost and keep header intact */
//Edit Here var rpgStats=[]; rpgStats[0]=["Attack","4"]; rpgStats[1]=["Defense","2"]; rpgStats[2]=["Hit Points","3"];
//No More Edit Unless You Know What Your Doing var td = document.getElementsByTagName("td"); for(i=0;i<td.length;i++) { var posts = (td[i].innerHTML.match(/Posts: (.+?)</i)) ? RegExp.$1: ''; posts = posts.replace(",",""); if(td[i].width=="20%" && td[i].innerHTML.match(/Posts: /i)){ for(r=0;r<rpgStats.length;r++){ td[i].innerHTML+=rpgStats[r][0]+': '+parseInt(posts)*rpgStats[r][1]+'<br />'; }}} </script>
|
|
|
Post by Jon on Aug 5, 2005 16:23:27 GMT -5
yaaaaay its gonna work now! =D
|
|