ImportBot Posted January 11, 2013 Author Share Posted January 11, 2013 Originally Posted by ronald32*: Hey thanks everything works fine and can request on more thing can you give me the whole PHP file for the stats you created!! I tried the codes you out on here and it wont work when I use wampserver page gives errors and I have used xp-killers stats page and works fine any help in it thanks !! Capture.PNG Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted January 11, 2013 Author Share Posted January 11, 2013 Originally Posted by Athlon*: ^^^ Happy to see Phil's solution work for you. As for my stats page - I didn't build it with customization in mind, so I'll have to find the time to take out some stuff and then post the code here. Do you have a link to what you did with XP-Killer's page? Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted January 11, 2013 Author Share Posted January 11, 2013 Originally Posted by ronald32*: Hey thanks for the reply here is my stats page for Xp-Killers : http://playerstats.clanservers.com/ Will you be able to share it soon as i wanted to see live data and will you be able to change the kill player thing so its kills the player and rewards him and not just killed by admin ? Just wondering though? Or you can help me out in making a web page for it i have skype thanks mate for your great work !! Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted January 11, 2013 Author Share Posted January 11, 2013 Originally Posted by Athlon*: @ronald32 Will you be able to share it soon as i wanted to see live data I'm very busy with RL right now, so I will try to get a copy to you over the weekend. I will have to take out any usernames, passwords and stuff first. If you can then figure it out, fine - if not, I won't have time to help with that. I didn't write that code with 'portability' in mind. will you be able to change the kill player thing so its kills the player and rewards him and not just killed by admin? I've stopped working on Currency for now. I am still supporting it here, however. Or you can help me out in making a web page for it A little if you get stuck and I have the time. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted January 13, 2013 Author Share Posted January 13, 2013 Originally Posted by KillaKali*: im adding code to the plugin that displays some events in Procon chat. ie: line 1490: this.ExecuteCommand("procon.protected.pluginconsol e.write", "" + strKiller + " just mugged " + strVictim + " for " + mh_iMuggingPayoff + " " + m_strCurrencySymbol + "!"); line 1491: this.ExecuteCommand("procon.protected.chat.write", "^b[^8KaliCash^0]^n ^0" + strKiller + " just mugged " + strVictim + " for " + mh_iMuggingPayoff + " " + m_strCurrencySymbol + "!^0"); results are good. but i also want to see when people use the BUY command. i use a say string in every buy command, so... i find the say command in the code (i think) line 2304: this.ExecuteCommand("procon.protected.send", "admin.say", payloadFields[1].Replace("%buyer", strSpeaker).Replace("%target", BestMatchPlayerName(messageWords[1])).Replace("%amount", item.Cost.ToString()).Replace("%balance", m_dicPlayersAndBalances[strSpeaker].ToString()), "all"); commandsSuccessful++;and add this: line 2306: this.ExecuteCommand("procon.protected.chat.write", "^b[^8KaliCash^0]^n" payloadFields[1].Replace("%buyer", strSpeaker).Replace("%target", BestMatchPlayerName(messageWords[1])).Replace("%amount", item.Cost.ToString()).Replace("%balance", m_dicPlayersAndBalances[strSpeaker].ToString()), "all"); commandsSuccessful++;and in doing that, i get this: Compiling Currency.cs... Errors or Warnings [11:28:21] Currency.cs (Line: 2306, C: 83) CS1026: ) expected [11:28:21] Currency.cs (Line: 2306, C: 295) CS1002: ; expected [11:28:21] Currency.cs (Line: 2306, C: 295) CS1525: Invalid expression term ',' [11:28:21] Currency.cs (Line: 2306, C: 297) CS1002: ; expected [11:28:21] Currency.cs (Line: 2306, C: 302) CS1002: ; expected [11:28:21] Currency.cs (Line: 2306, C: 302) CS1525: Invalid expression term ')' am i on the right track? if so, how do i fix? if not, point me in the right direction please Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted January 17, 2013 Author Share Posted January 17, 2013 Originally Posted by digitalcassette*: Athlon - Is this plugin in github? or some other repository? I'd like to fork it for KillaKali so he can have it stored online. (I'm helping him implement features) Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted January 17, 2013 Author Share Posted January 17, 2013 Originally Posted by digitalcassette*: is anybody still coding for this plugin? i have a couple of ideas: 1:smile: would be nice if you could add a weapon to collect the bounties for playermade bounties. ie: @addbounty xxKillaKalixx 10000 xbow so only xbow would collect the bounty, not just any weapon 2:smile: top 5 or 10 list of people in the server with the most $ 3:smile: top 5 or 10 list of people with most $ overall 4:smile: option to slow down chat so it is readable... love this plugin BTW, my TDM server is having fun with it! sorry if duplicate post, just installed plugin yesterday I've got #2 implementedI've got #3 implemented Kali is working on #4 I'll figure out #1 later today or this weekend Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted January 17, 2013 Author Share Posted January 17, 2013 Originally Posted by Athlon*: ^^^ Sounds like you have a copy...... Code away Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted January 17, 2013 Author Share Posted January 17, 2013 Originally Posted by digitalcassette*: ^^^ Sounds like you have a copy...... Code away lol yes I have a copy my intention was that with something like github I could fork a branch of the code and make changes as well as submit changes back to you for review & hopefully integrate with the original source. Are you interested in such a thing? Just trying to be helpful Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted January 18, 2013 Author Share Posted January 18, 2013 Originally Posted by Krimewave*: Ok im having an issue with this and i cannot seem to get it working. Problem #1 I have the MySQL server confiq setup with the same info from BF3 Chat, GUID, Stats and Map Logger, same database and everything but i cannot seem to get the Currency plugin to write the tables into the database. I am using RCON Hosting Services. Also i have tried to use my login that is set for ftp cause its the same for the phpmyadmin and everything else. Problem #2 I cannot seem to get the Mugging to yell across the server. my spambot plugin works fine for yelling but ive tested all night mugging and i cannot seem to get it to work. I have it set to melee but ive tried C4 and ive tried roadkill for testing purposes and still nothing.. here are some screenies of my config and my settings. Untitled.png Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted January 18, 2013 Author Share Posted January 18, 2013 (edited) Originally Posted by Athlon*:@ronald32Here's the code for my stats page. Please remember, I never intended to release it, so I didn't spend a ton of time making the code perfectly readable. My only goal was to get the page itself working, which it does very well.I've replaced all passwords and Warhawk stuff with 'xxxxxx', so do a search for 'xxxxxx' in your editor and fix all of the xxxxxx's and you should be good to go.Code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-gb" xml:lang="en-gb"> <head> <title>xxxxxx</title> <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> <meta http-equiv="content-language" content="en-gb" /> <meta http-equiv="content-style-type" content="text/css" /> <meta http-equiv="imagetoolbar" content="no" /> <meta name="resource-type" content="document" /> <meta name="distribution" content="global" /> <meta name="copyright" content="xxxxxx" /> <style type="text/css"> BODY{ background-image: url('xxxxxx'); background-position: left top; background-repeat: no-repeat; background-attachment: fixed; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif; FONT-SIZE: 12px; COLOR: yellow; } A{ COLOR: #FF8000; TEXT-DECORATION: none } A:VISITED{ COLOR: #FF8000; TEXT-DECORATION: none } A:HOVER{ COLOR: #999999; TEXT-DECORATION: none } A:ACTIVE{ COLOR: white; TEXT-DECORATION: none } #layered{ opacity:0.9; filter:alpha(opacity=90); margin-left: auto; margin-right: auto; width: 1250px; background-color: #444444; border-radius: 25px; } .border {border-style:solid;border-width:1px;border-color:#444444;} </style> </head> <body> <div id='layered'> <center> <table width="1220" cellspacing="1"> <tr> <td> <div style='margin-left: auto;margin-right: auto;border-style: solid;border-width: 2px;border-color:#363636;width: 97%;background-color: #242424;border-radius: 15px;'> <center> <table border='0' width='500' cellpadding='4'> <tr> <td align="center" valign="middle" width='210'> <a href="xxxxxx" target="_blank"><img width='200' height='200' alt="xxxxxx" border="0" src="xxxxxx" /></a> </td> <td align="center" valign="middle" width='290'> <font size='3' color="green"><b>xxxxxx</b></font> <a href="xxxxxx" target="_blank"><img width='82' height='70' alt="xxxxxx" border="0" src="xxxxxx" /></a> <a href="xxxxxx" target="_blank">Player's Stats Onxxxxxx</a> <a href="xxxxxx" target="_blank">xxxxxx</a> </td> </tr> </table> </center> </div> <div style='margin-left: auto;margin-right: auto;border-style: solid;border-width: 2px;border-color:#363636;width: 97%;background-color: #242424;border-radius: 15px;'> <center> <table align='center' border='0' cellpadding='10'> <tr> <td align='center' valign='middle'><font color='#999999'> Please be patient while your <font color="green"><b>xxxxxx</b></font> are loading...They are being collected Live from our server for you!</font> </td> </tr> </table> </center> </div> <div style='margin-left: auto;margin-right: auto;border-style: solid;border-width: 2px;border-color:#363636;width: 97%;background-color: #242424;border-radius: 15px;'> <center> <table> <tr> <td valign="top"> <?php // Make a MySQL Connection $db['host'] ='xxxxxx'; // database host $db['uname'] ='xxxxxx'; // database user name $db['pass'] ='xxxxxx'; // database password $db['name'] ='xxxxxx'; // database name mysql_connect($db['host'], $db['uname'], $db['pass']); mysql_select_db("$db[name]") or die ("<center>Unable to access database.</center>"); $result = mysql_query("SELECT * FROM tbl_currency ORDER BY CC DESC") or die(mysql_error()); echo "<table align='center' border='0' cellpadding='4'>"; echo "<tr> <td colspan='2' class='border' align='center'><b>Sorted by xxxxxx</b></td> </tr> <tr> <td align='right' class='border'><b>Player</b></td> <td align='center' class='border'><font color='green'><b>xxxxxxxxxxxx</b></font> </td> </tr>"; while($row = mysql_fetch_array( $result )) { echo "<tr><td align='right' class='border'>"; echo $row['playername']; echo "</td><td align='right' class='border'>"; echo $row['CC']; echo "</td></tr>"; } echo "</table>"; ?> </td> <td valign='top'> <table align='center' border='0' cellpadding='4'> <tr> <td align='center' class='border' colspan='3'> How To Earn <font color="green"><b>xxxxxx</b></font> </td> </tr> <tr> <td align='right' class='border'> Pay Period </td> <td align='left' class='border' colspan='2'> 5 <font color="green"><b>xxxxxx</b></font> for every 30 minutes you are on one of our servers You must be on the server at paytime to collect your <font color="green"><b>xxxxxx</b></font> </td> </tr> <tr> <td align='right' class='border'> Kills </td> <td align='left' class='border' colspan='2'> 1 <font color="green"><b>xxxxxx</b></font> for every Kill 1 <font color="green"><b>xxxxxx</b></font> Bonus for a Headshot (A Headshot Kill pays a total of 2 <font color="green"><b>xxxxxx</b></font>) </td> </tr> <tr> <td align='right' class='border'> Mug A Player </td> <td align='left' class='border' colspan='2'> You steel 50% of player's <font color="green"><b>xxxxxx</b></font> when you Mug a player There is a cap of 50,000 <font color="green"><b>xxxxxx</b></font> Example: You Mug a player with 700 <font color="green"><b>xxxxxx</b></font> - you take 350 from the player Example: You Mug a player with 120,000 <font color="green"><b>xxxxxx</b></font> - you take 50,000 from the player To Mug a player - kill him/her with a Knife, Defibrillator or Repair Tool </td> </tr> <tr> <td align='right' class='border'> Collect A Bounty </td> <td align='left' class='border' colspan='2'> Kill a player with a Bounty on their head to collect the <font color="green"><b>xxxxxx</b></font> on their head A player can have a Bounty placed on their head by another player (see the next section) A player has a 100 <font color="green"><b>xxxxxx</b></font> Bounty placed on their head when they achieve a 5 Kill Streak An additional 10 <font color="green"><b>xxxxxx</b></font> is placed on their head for every kill above 5 until the Bounty is collected Bounties carry over from round to round - they do not go away until they are collected </td> </tr> <tr> <td align='center' colspan='3'> </td> </tr> <tr> <td align='center' class='border' colspan='3'> How To Spend Your <font color="green"><b>xxxxxx</b></font> </td> </tr> <tr> <td align='right' class='border'> !abounty <i>playername x</i> </td> <td align='left' class='border'> '<i>x</i>' <font color="green"><b>xxxxxx</b></font> </td> <td align='left' class='border'> Enter in Chat to add '<i>x</i>' <font color="green"><b>xxxxxx</b></font> as a Bounty to <i>playername</i>'s head '<i>x</i>' may be any amount from 1 <font color="green"><b>xxxxxx</b></font> to as many <font color="green"><b>xxxxxx</b></font> you have If there is already a Bounty on <i>playername</i>'s head, '<i>x</i>' will be added to it. *See Note Below </td> </tr> <tr> <td align='right' class='border'> !date <i>playername</i> </td> <td align='left' class='border'> 1 <font color="green"><b>xxxxxx</b></font> </td> <td align='left' class='border'> Enter in Chat to buy a 15 sec. DATE taunt against <i>playername</i> *See Note Below </td> </tr> <tr> <td align='right' class='border'> !beer <i>playername</i> </td> <td align='left' class='border'> 8 <font color="green"><b>xxxxxx</b></font> </td> <td align='left' class='border'> Enter in Chat to buy <i>playername</i> a beer *See Note Below </td> </tr> <tr> <td align='right' class='border'> !ammo <i>playername</i> </td> <td align='left' class='border'> 100 <font color="green"><b>xxxxxx</b></font> </td> <td align='left' class='border'> Enter in Chat to buy a 15 sec. AMMO taunt against <i>playername</i> *See Note Below </td> </tr> <tr> <td align='right' class='border'> !camp <i>playername</i> </td> <td align='left' class='border'> 100 <font color="green"><b>xxxxxx</b></font> </td> <td align='left' class='border'> Enter in Chat to buy a 15 sec. CAMPING taunt against <i>playername</i> *See Note Below </td> </tr> <tr> <td align='right' class='border'> !cheese <i>playername</i> </td> <td align='left' class='border'> 100 <font color="green"><b>xxxxxx</b></font> </td> <td align='left' class='border'> Enter in Chat to buy a 15 sec. CHEESE taunt against <i>playername</i> *See Note Below </td> </tr> <tr> <td align='right' class='border'> !dh <i>playername</i> </td> <td align='left' class='border'> 100 <font color="green"><b>xxxxxx</b></font> </td> <td align='left' class='border'> Enter in Chat to buy a 15 sec. DICKHEAD taunt against <i>playername</i> *See Note Below </td> </tr> <tr> <td align='right' class='border'> !dinner <i>playername</i> </td> <td align='left' class='border'> 100 <font color="green"><b>xxxxxx</b></font> </td> <td align='left' class='border'> Enter in Chat to buy a 15 sec. DINNER taunt against <i>playername</i> *See Note Below </td> </tr> <tr> <td align='right' class='border'> !doc <i>playername</i> </td> <td align='left' class='border'> 100 <font color="green"><b>xxxxxx</b></font> </td> <td align='left' class='border'> Enter in Chat to buy a 15 sec. DOCTOR taunt against <i>playername</i> *See Note Below </td> </tr> <tr> <td align='right' class='border'> !head <i>playername</i> </td> <td align='left' class='border'> 100 <font color="green"><b>xxxxxx</b></font> </td> <td align='left' class='border'> Enter in Chat to buy a 15 sec. EMPTY HEAD taunt against <i>playername</i> *See Note Below </td> </tr> <tr> <td align='right' class='border'> !kid <i>playername</i> </td> <td align='left' class='border'> 100 <font color="green"><b>xxxxxx</b></font> </td> <td align='left' class='border'> Enter in Chat to buy a 15 sec. KID taunt against <i>playername</i> *See Note Below </td> </tr> <tr> <td align='right' class='border'> !lesson <i>playername</i> </td> <td align='left' class='border'> 100 <font color="green"><b>xxxxxx</b></font> </td> <td align='left' class='border'> Enter in Chat to buy a 15 sec. SHOOTING LESSON taunt against <i>playername</i> *See Note Below </td> </tr> <tr> <td align='right' class='border'> !mind <i>playername</i> </td> <td align='left' class='border'> 100 <font color="green"><b>xxxxxx</b></font> </td> <td align='left' class='border'> Enter in Chat to buy a 15 sec. CHANGED YOUR MIND taunt against <i>playername</i> *See Note Below </td> </tr> <tr> <td align='right' class='border'> !naked <i>playername</i> </td> <td align='left' class='border'> 100 <font color="green"><b>xxxxxx</b></font> </td> <td align='left' class='border'> Enter in Chat to buy a 15 sec. NAKED taunt against <i>playername</i> *See Note Below </td> </tr> <tr> <td align='right' class='border'> !note <i>playername</i> </td> <td align='left' class='border'> 100 <font color="green"><b>xxxxxx</b></font> </td> <td align='left' class='border'> Enter in Chat to buy a 15 sec. MENTAL NOTE taunt against <i>playername</i> *See Note Below </td> </tr> <tr> <td align='right' class='border'> !out <i>playername</i> </td> <td align='left' class='border'> 100 <font color="green"><b>xxxxxx</b></font> </td> <td align='left' class='border'> Enter in Chat to buy a 15 sec. HELP OUT taunt against <i>playername</i> *See Note Below </td> </tr> <tr> <td align='right' class='border'> !shit <i>playername</i> </td> <td align='left' class='border'> 100 <font color="green"><b>xxxxxx</b></font> </td> <td align='left' class='border'> Enter in Chat to buy a 15 sec. SHIT taunt against <i>playername</i> *See Note Below </td> </tr> <tr> <td align='right' class='border'> !sling <i>playername</i> </td> <td align='left' class='border'> 100 <font color="green"><b>xxxxxx</b></font> </td> <td align='left' class='border'> Enter in Chat to buy a 15 sec. SLINGSHOT taunt against <i>playername</i> *See Note Below </td> </tr> <tr> <td align='right' class='border'> !tampon <i>playername</i> </td> <td align='left' class='border'> 100 <font color="green"><b>xxxxxx</b></font> </td> <td align='left' class='border'> Enter in Chat to buy a 15 sec. TAMPONS taunt against <i>playername</i> *See Note Below </td> </tr> <tr> <td align='right' class='border'> *This is the Note Below </td> <td align='left' class='border' colspan="2"> 1) <i>playername</i> can also be a partial <i>playername</i>. 'athlon' will work just as well as 'Athlon646464'. 2) It is not case sensitive. 3) You just need to get the first few letters exactly right. If two or more players' names start the same way and you enter only a few letters, <font color="green"><b>xxxxxx</b></font> will choose one of them at random. 4) If you misspell the <i>playername</i>, nothing will happen. It won't cost you anything. Try again. 5) If you do not type a <i>playername</i> and type just the command, your <font color="green"><b>xxxxxx</b></font> will be spent anyway and the word 'none' will appear where <i>playername</i> should have. 6)You can spend <font color="green"><b>xxxxxx</b></font> on yourself. Just type your <i>playername</i> instead of someone else's <i>playername</i>. Also - when you buy a Taunt or other item that comes with a 'Yell' on the screen, the game does not 'stack' the announcements. In some cases your 'Yell' could be bumped for the next 'Yell' or announcement. Currently there is nothing that can be done about that. </td> </tr> <tr> <td align='center' colspan='3'> </td> </tr> <tr> <td align='center' class='border' colspan='3'> Miscellaneous <font color="green"><b>xxxxxx</b></font> Commands </td> </tr> <tr> <td align='right' class='border'> xxxxxx </td> <td align='left' class='border' colspan='2'> Enter in Chat to check your <font color="green"><b>xxxxxx</b></font> balance </td> </tr> <tr> <td align='right' class='border'> !bounty </td> <td align='left' class='border' colspan='2'> Enter in Chat for a listing of uncollected Bounties </td> </tr> <tr> <td align='right' class='border'> !quiet </td> <td align='left' class='border' colspan='2'> Enter in Chat to toggle <font color="green"><b>xxxxxx</b></font> chat on and off</td> </tr> </table> </td> <td> <?php $result = mysql_query("SELECT * FROM tbl_currency ORDER BY playername ASC") or die(mysql_error()); echo "<table align='center' border='0' cellpadding='4'>"; echo "<tr> <td colspan='2' class='border' align='center'><b>Sorted by Player Name</b></td> </tr> <tr> <td align='right' class='border'><b>Player</b></td> <td align='center' class='border'><font color='green'><b>xxxxxx</b></font> </td> </tr>"; while($row = mysql_fetch_array( $result )) { echo "<tr><td align='right' class='border'>"; echo $row['playername']; echo "</td><td align='right' class='border'>"; echo $row['CC']; echo "</td></tr>"; } echo "</table>"; ?> </td> </tr> </table> </center> </div> <div style='margin-left: auto;margin-right: auto;border-style: solid;border-width: 2px;border-color:#363636;width: 97%;background-color: #242424;border-radius: 15px;'> <center> <table width='1140' border='0' cellpadding='4'> <tr> <td align='center' width='1140'> <font color='#999999' size='1'>This page's design inspired 'ty_ger07' over at <a href='http://www.thetacteam.info' target='_blank'>TheTacTeam</a></font> </td> </tr> </table> </center> </div> </td> </tr> </table> </center> </div> </body> </html> @digitalcassetteThanks for your help with that, man. I shouldn't commit to anything right now - just too busy. Feel free to do what you would like with the code as long as you stay within the rules here..... Edited August 8, 2019 by maxdralle Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted January 18, 2013 Author Share Posted January 18, 2013 Originally Posted by Athlon*: Ok im having an issue with this and i cannot seem to get it working. Problem #1 I have the MySQL server confiq setup with the same info from BF3 Chat, GUID, Stats and Map Logger, same database and everything but i cannot seem to get the Currency plugin to write the tables into the database. I am using RCON Hosting Services. Also i have tried to use my login that is set for ftp cause its the same for the phpmyadmin and everything else. Let's work on one thing at a time. You should not give the currency database the same name as your stats database. Try and give it a different name and let me know if that works for you. If not, post the errors you see. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted January 18, 2013 Author Share Posted January 18, 2013 Originally Posted by Krimewave*: Ok i have the new database set and it created 1 table tbl_currency is that the only table it creates? Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted January 18, 2013 Author Share Posted January 18, 2013 Originally Posted by Athlon*: ^^^ Yes Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted January 18, 2013 Author Share Posted January 18, 2013 Originally Posted by Krimewave*: ok now on the mugging i cant get it to yell the server message no matter what i do for some reason Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted January 18, 2013 Author Share Posted January 18, 2013 Originally Posted by Krimewave*: Ok do not know what i did but now the mugging is working Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted January 18, 2013 Author Share Posted January 18, 2013 Originally Posted by Athlon*: ^^^ My guess is that you had [yell] as part of the string like in your screenshot. [yell] should not have been there. Glad you got it sorted out! Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted January 19, 2013 Author Share Posted January 19, 2013 Originally Posted by ronald32*: Hey bro thank you very much for the effort you put in for me I really appreciated it and its works perfect, will put it on the server later !! Thank You !! Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted January 19, 2013 Author Share Posted January 19, 2013 Originally Posted by Athlon*: Hey bro thank you very much for the effort you put in for me I really appreciated it and its works perfect, will put it on the server later !! Thank You !!NP Post a link when you can....... Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted January 20, 2013 Author Share Posted January 20, 2013 Originally Posted by ronald32*: Hey bro i need one more thing in your stats page you have ammo and medic how to have it in my plugin so i can share this on my page can you provide me some help here and i have nearly finished configuring it and will post the link when done!! Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted January 20, 2013 Author Share Posted January 20, 2013 Originally Posted by Athlon*: Hey bro i need one more thing in your stats page you have ammo and medic how to have it in my plugin so i can share this on my page can you provide me some help here and i have nearly finished configuring it and will post the link when done!!I'm not quite sure what you mean. If by my 'stats' page, are you talking about ? If so, I'm using this plugin: ...* Along with this: ...* Both items are acknowledged at the bottom of my web pages. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted January 20, 2013 Author Share Posted January 20, 2013 Originally Posted by ronald32*: Capture.jpg See the snap shot i need those codes in the plugin you provided so that i can put it on my server i only got kill random yell say voice and some other stuff hope you understand now i am meaning thanks!! Here is the link to the page nearly done: http://playerstats.clanservers.com/Folder%203/ Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted January 20, 2013 Author Share Posted January 20, 2013 Originally Posted by Athlon*: You want my taunts too? Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted January 20, 2013 Author Share Posted January 20, 2013 Originally Posted by ronald32*: Yea bro it would be great i would really like that my players enjoy it when they use kill command to kill campers please!! Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted January 20, 2013 Author Share Posted January 20, 2013 Originally Posted by Athlon*: What might be acceptable to some might not be acceptable to others. We're careful when using ours on our server, and we wrote most of them (or our guys found them on the 'net somewhere). The plugin is meant for you to write your own. Having said that, here are mine. (I did not re-write them for you, I took them from my config file) You can dig through these yourself. Please remove all references to =WH= Bucks. Code: Number of items:" "22" Item 1 - Name:" "Beer" Item 1 - Enabled:" "Yes" Item 1 - Cost:" "8" Item 1 - Buy command:" "!beer" Item 1 - Description:" "!beer playername" Item 1 - Add a console command to run when bought:" "" Item 1 - List of console commands for Item 1:" "Yell, 15, %buyer just bought %target a cold beer. (8 =WH= Bucks)" Item 2 - Name:" "Dickhead" Item 2 - Enabled:" "Yes" Item 2 - Cost:" "100" Item 2 - Buy command:" "!dh" Item 2 - Description:" "!dh playername" Item 2 - Add a console command to run when bought:" "" Item 2 - List of console commands for Item 2:" "Yell, 15, %buyer says %target is a DICKHEAD! (100 =WH= Bucks)" Item 3 - Name:" "Kill" Item 3 - Enabled:" "No" Item 3 - Cost:" "35000" Item 3 - Buy command:" "!kill" Item 3 - Description:" "!kill playername" Item 3 - Add a console command to run when bought:" "" Item 3 - List of console commands for Item 3:" "Kill, Player|Say, %buyer just killed %target for 35k =WH= BUCKS!|Yell, 15, %buyer just killed %target for 35k =WH= BUCKS!" Item 4 - Name:" "Ammo" Item 4 - Enabled:" "Yes" Item 4 - Cost:" "100" Item 4 - Buy command:" "!ammo" Item 4 - Description:" "!ammo playername" Item 4 - Add a console command to run when bought:" "" Item 4 - List of console commands for Item 4:" "Yell, 15, %buyer just bought good ammo for %target because his ammo obviously sucks! (100 =WH= Bucks)" Item 5 - Name:" "Lessons" Item 5 - Enabled:" "Yes" Item 5 - Cost:" "100" Item 5 - Buy command:" "!lesson" Item 5 - Description:" "!lesson playername" Item 5 - Add a console command to run when bought:" "" Item 5 - List of console commands for Item 5:" "Yell, 15, %buyer just bought %target some Shooting Lessons because he obviously needs them! (100 =WH= Bucks)" Item 6 - Name:" "Slingshot" Item 6 - Enabled:" "Yes" Item 6 - Cost:" "100" Item 6 - Buy command:" "!sling" Item 6 - Description:" "!sling playername" Item 6 - Add a console command to run when bought:" "" Item 6 - List of console commands for Item 6:" "Yell, 15, %buyer just bought %target a Slingshot - maybe now he can hit something! (100 =WH= Bucks)" Item 7 - Name:" "Cheese" Item 7 - Enabled:" "Yes" Item 7 - Cost:" "100" Item 7 - Buy command:" "!cheese" Item 7 - Description:" "!cheese playername" Item 7 - Add a console command to run when bought:" "" Item 7 - List of console commands for Item 7:" "Yell, 15, %buyer just bought %target some Cheese to go with his Whine! (100 =WH= Bucks)" Item 8 - Name:" "Tampons" Item 8 - Enabled:" "Yes" Item 8 - Cost:" "100" Item 8 - Buy command:" "!tampon" Item 8 - Description:" "!tampon playername" Item 8 - Add a console command to run when bought:" "" Item 8 - List of console commands for Item 8:" "Yell, 15, %buyer just bought %target some Tampons because he's bleeding all over the map! (100 =WH= Bucks)" Item 9 - Name:" "Dinner" Item 9 - Enabled:" "Yes" Item 9 - Cost:" "100" Item 9 - Buy command:" "!dinner" Item 9 - Description:" "!dinner playername" Item 9 - Add a console command to run when bought:" "" Item 9 - List of console commands for Item 9:" "Yell, 15, %buyer just bought %target Dinner because he just F*cked him! (100 =WH= Bucks)" Item 10 - Name:" "Date" Item 10 - Enabled:" "Yes" Item 10 - Cost:" "1" Item 10 - Buy command:" "!date" Item 10 - Description:" "!date playername" Item 10 - Add a console command to run when bought:" "" Item 10 - List of console commands for Item 10:" "Yell, 15, %buyer just bought 2 dates with %target's mom for 1 =WH= Buck. After reconsidering he is willing to sell both of them back for 50 cents." Item 11 - Name:" "Nuke" Item 11 - Enabled:" "Yes" Item 11 - Cost:" "1000000" Item 11 - Buy command:" "!nuke" Item 11 - Description:" "!nuke team" Item 11 - Add a console command to run when bought:" "" Item 11 - List of console commands for Item 11:" "Nuke, Team, %buyer just nuked your team for 1000000 =WH= Bucks!|Yell, 15, %buyer just Nuked your team for 1000000 =WH= Bucks!" Item 12 - Name:" "Naked" Item 12 - Enabled:" "Yes" Item 12 - Cost:" "100" Item 12 - Buy command:" "!naked" Item 12 - Description:" "!naked playername" Item 12 - Add a console command to run when bought:" "" Item 12 - List of console commands for Item 12:" "Yell, 15, %buyer says %target likes to see his Homeboyz naked! (100 =WH= Bucks)" Item 13 - Name:" "Out" Item 13 - Enabled:" "Yes" Item 13 - Cost:" "100" Item 13 - Buy command:" "!out" Item 13 - Description:" "!out playername" Item 13 - Add a console command to run when bought:" "" Item 13 - List of console commands for Item 13:" "Yell, 15, %buyer: Hey %target - I would like to help you out ... which way did you come in_ (100 =WH= Bucks)" Item 14 - Name:" "Shit" Item 14 - Enabled:" "Yes" Item 14 - Cost:" "100" Item 14 - Buy command:" "!shit" Item 14 - Description:" "!shit playername" Item 14 - Add a console command to run when bought:" "" Item 14 - List of console commands for Item 14:" "Yell, 15, %buyer: Hey %target - You are living proof that sh*t can grow legs and walk. (100 =WH= Bucks)" Item 15 - Name:" "Head" Item 15 - Enabled:" "Yes" Item 15 - Cost:" "100" Item 15 - Buy command:" "!head" Item 15 - Description:" "!head playername" Item 15 - Add a console command to run when bought:" "" Item 15 - List of console commands for Item 15:" "Yell, 15, %buyer: Hey %target - When I look into your eyes I see the back of your head. (100 =WH= Bucks)" Item 16 - Name:" "Kid" Item 16 - Enabled:" "Yes" Item 16 - Cost:" "100" Item 16 - Buy command:" "!kid" Item 16 - Description:" "!kid playername" Item 16 - Add a console command to run when bought:" "" Item 16 - List of console commands for Item 16:" "Yell, 15, %buyer: Hey %target - I reprimanded my kid for mimicking you. I told him not to act like a fool. (100 =WH= Bucks)" Item 17 - Name:" "Note" Item 17 - Enabled:" "Yes" Item 17 - Cost:" "100" Item 17 - Buy command:" "!note" Item 17 - Description:" "!note playername" Item 17 - Add a console command to run when bought:" "" Item 17 - List of console commands for Item 17:" "Yell, 15, %buyer: Hey %target - Make a mental note ... Whoops - Nevermind - I see you are out of paper! (100 =WH= Bucks)" Item 18 - Name:" "Mind" Item 18 - Enabled:" "Yes" Item 18 - Cost:" "100" Item 18 - Buy command:" "!mind" Item 18 - Description:" "!mind playername" Item 18 - Add a console command to run when bought:" "" Item 18 - List of console commands for Item 18:" "Yell, 15, %buyer: Hey %target - I hear you changed your mind - and got back two cents! (50 =WH= Bucks)" Item 19 - Name:" "Doc" Item 19 - Enabled:" "Yes" Item 19 - Cost:" "100" Item 19 - Buy command:" "!doc" Item 19 - Description:" "!doc playername" Item 19 - Add a console command to run when bought:" "" Item 19 - List of console commands for Item 19:" "Yell, 15, %buyer: Hey %target - I heard the doctors examined your head and found nothing.... (100 =WH= Bucks)" Item 20 - Name:" "Item 20" Item 20 - Enabled:" "Yes" Item 20 - Cost:" "100" Item 20 - Buy command:" "!princess" Item 20 - Description:" "!princess playername" Item 20 - Add a console command to run when bought:" "" Item 20 - List of console commands for Item 20:" "Yell, 15, %buyer says I just killed Princess Pigtales! (100 =WH= Bucks)" Item 21 - Name:" "Camping" Item 21 - Enabled:" "Yes" Item 21 - Cost:" "100" Item 21 - Buy command:" "!camp" Item 21 - Description:" "!camp playername" Item 21 - Add a console command to run when bought:" "" Item 21 - List of console commands for Item 21:" "Yell, 15, %buyer just bought %target some marshmallows for his CAMP-fire! (100 =WH= Bucks)" Item 22 - Name:" "Item 22" Item 22 - Enabled:" "No" Item 22 - Cost:" "100" Item 22 - Buy command:" "Enter the chat trigger used to buy this item" Item 22 - Description:" "Enter a short description and show proper syntax" Item 22 - Add a console command to run when bought:" "" Item 22 - List of console commands for Item 22:" "this is a test" Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted January 21, 2013 Author Share Posted January 21, 2013 Originally Posted by ronald32*: Hey Bro hows it going ? Thank you very much for sharing the information its great and I have finished the web page here how it looks: http://playerstats.clanservers.com/Folder%203/ Hope you like it! Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted January 21, 2013 Author Share Posted January 21, 2013 Originally Posted by Athlon*: Good work - Enjoy! Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted January 21, 2013 Author Share Posted January 21, 2013 Originally Posted by Hutchew*: What might be acceptable to some might not be acceptable to others. We're careful when using ours on our server, and we wrote most of them (or our guys found them on the 'net somewhere). The plugin is meant for you to write your own. Having said that, here are mine. (I did not re-write them for you, I took them from my config file) You can dig through these yourself. Please remove all references to =WH= Bucks. Code: Number of items:" "22" Item 1 - Name:" "Beer" Item 1 - Enabled:" "Yes" Item 1 - Cost:" "8" Item 1 - Buy command:" "!beer" Item 1 - Description:" "!beer playername" Item 1 - Add a console command to run when bought:" "" Item 1 - List of console commands for Item 1:" "Yell, 15, %buyer just bought %target a cold beer. (8 =WH= Bucks)" Item 2 - Name:" "Dickhead" Item 2 - Enabled:" "Yes" <<SNIP>> Athlon............this would go in server_ip.cfg in the config folder, correct? Does it not need: procon.protected.plugins.setVariable "Currency" " in front of each line? Thanks, Hutchew Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted January 21, 2013 Author Share Posted January 21, 2013 Originally Posted by Athlon*: That's not why I posted that. It was for someone to 'lift' the taunts we wrote that are used on our server so he could use them on his. The best way to program Currency is to do it in Procon, and not to do it directly in the config file. And yes, I edited out procon.protected.plugins.setVariable "Currency" " for simplicity for the other guy. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted January 22, 2013 Author Share Posted January 22, 2013 Originally Posted by CPx4*: my intention was that with something like github I could fork a branch of the code and make changes as well as submit changes back to you for review & hopefully integrate with the original source.digitalcassette, if you put it up on GitHub, please link it here. I have written some changes to my own code that I'd be happy to fork from the original. (Things include Logging ability to log purchases to a text file) - CPx4 Quote * Restored post. It could be that the author is no longer active. Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.