Akash
Members-
Posts
218 -
Joined
-
Last visited
Never
Content Type
Profiles
Forums
Events
Everything posted by Akash
-
Re: Header.php [New/More Imrpoved] Eh? I think you mean: I notice that in many of your post you have that habit :P... But to name a few...and it's not really an argument over slang...it's over grammar :wink: and how people act like idiots bringing unnecessary topics such as 'Matt's security' into a post.
-
Re: Header.php [New/More Imrpoved] Why Do You Feel The Need To Capitalise Every Damn Letter? Its annoying as hell, Almost as bad a l33t speak :| Lol...again I must agree. One person can't capitalise in the right place while the other does it 24/7. People these days :|...or should I say some 'teenagers' that embarass others (i.e. ME) :P
-
Re: Header.php [New/More Imrpoved] Agreed...these people are crazy...but hilarioius :lol:! Free entertainment :wink: Anyway, let's get back OT, as killah said spelling is important for alot of reasons. Not only to get the coding right but to actually make people listen to you, and take you seriously. To be quite honest, I don't think anyone reading through can take you seriosuly; all we can do is laugh at the idiocy thats taking over CE :|. Well first off, he's right. You edited it, I doubt you've done it from scratch. Now you, my friend, have to seriously learn to speak english, I sincerely hope you aren't just plain stupid. Also, where did security come into this? I didn't see anyone mention security, not Matt anyway :?... Now finally, Montyash did not once say he was a good coder. And he didn't say he can 'mod' whatever that means :|. And where the heck is the punctuation and grammar? (I've added it above, perhaps you may want to learn from it). God...I'm at school and even the people who can't speak english write better than that!
-
Re: Travelling System ($5)/($10) Again none taken, but please, go ahead and do it yourself but before posting anything like that again, please read what is below...it clearly states in my first post :|
-
Re: FREE V2 NEW GAME STATS PAGE Ok...I assume you know what division by zero mean? :lol: Well incase you don't then obviously, you're not fit to run a game. I had this same problem and the fix is simple. Just make sure user id 1 has a bank account...the reason it's division by 0, is because you're dividing by the amount of bank accounts, which is 0 in the game. It worked for me...no need to edit the code
-
Re: Customisable Merit System ($15+) Spudiniski's right, I do all my work in wordpad...sorry, forgot to mention it :? Hope you like the mod though
-
Re: Steps Market [V2] Well then why isn't it in there? If you have ALL the preventions, then what's the reason for leaving it out? Perhaps you want CE users to get their games hacked... :?
-
Re: Customisable Merit System ($15+) Yep, extremely sorry about the delay, I'm in the UK, you paid me when I went offline. Anway, PM ed you now.
-
Re: Customisable Merit System ($15+) Erm maybe a bump would be appropriate? :S! To get back omto the first page that Cronus took over...:P
-
Re: [TGM] Gang War View [TGM] omfg you took up over a page...lol
-
Re: Gym Record Well it's possible, but I have no idea. Her gym is completely different to the default V1/V2 one, so perhaps pm her and she might help
-
Re: Gym Record It does, one field is the number of the train, so 1,2,3 etc. The other will always be the same, it is your ID
-
Re: Customisable Merit System ($15+) Thanks, glad you think so :-D
-
Re: Customisable Merit System ($15+) What do you mean removed for time being?
-
Re: Gym Record Thanks guys foe the positive comment :D Glad everyone likes it
-
Re: Free 2 - Icons Love it! Can't wait for the next :-P
-
Re: Gym Record As it says, I made this for staff and users. But what's the point in staff wasting time on going into phpMyAdmin, opening the table, browsing and looking through unclear information? Well, I have made an addition to the staff part of the mod. It's simple, just a table like the mail logs in staff panel, but it has all the info. FOR V2 ONLY Find in staff_logs.php: case 'maillogs': view_mail_logs(); break; Add below: case 'gymlogs': view_gym_logs(); break; Then find: function view_mail_logs() { global $db,$ir,$c,$h,$userid; $_GET['st']=abs((int) $_GET['st']); $rpp=100; print "<h3>Mail Logs</h3> <table width=75% cellspacing='1' class='table'> \n<tr style='background:gray'> <th>ID</th> <th>Time</th> <th>User From</th> <th>User To</th> <th width>Subj</th> <th width=30%>Msg</th> <th> </th> </tr>"; $q=$db->query("SELECT m.*,u1.username as sender, u2.username as sent FROM mail m LEFT JOIN users u1 ON m.mail_from=u1.userid LEFT JOIN users u2 ON m.mail_to=u2.userid WHERE m.mail_from != 0 ORDER BY m.mail_time DESC LIMIT {$_GET['st']},$rpp"); while($r=$db->fetch_row($q)) { print "\n<tr><td>{$r['mail_id']}</td> <td>" . date("F j, Y, g:i:s a",$r['mail_time']) . "</td><td>{$r['sender']} [{$r['mail_from']}] </td> <td>{$r['sent']} [{$r['mail_to']}] </td> \n<td> {$r['mail_subject']}</td> \n<td>{$r['mail_text']}</td> <td> [[url='staff_punit.php?action=mailform&XID={$r[']MailBan Sender[/url]] [[url='staff_punit.php?action=mailform&XID={$r[']MailBan Receiver[/url]]</td> </tr>"; } print "</table> "; $mypage=floor($_GET['st']/$rpp)+1; $q2=$db->query("SELECT mail_id FROM mail WHERE mail_from != 0"); $rs=$db->num_rows($q2); $pages=ceil($rs/$rpp); print "Pages: "; for($i=1;$i<=$pages;$i++) { $st=($i-1)*$rpp; print "[url='staff_logs.php?action=maillogs&st=$st']$i[/url] "; if($i % 7 == 0) { print " \n"; } } stafflog_add("Viewed the Mail Logs (Page $mypage)"); } Add below: function view_gym_logs() { global $db,$ir,$c,$h,$userid; $_GET['st']=abs((int) $_GET['st']); print "<h3>Gym Logs</h3> <table width=75% cellspacing='1' class='table'> \n<tr style='background:gray'> <th>ID</th> <th>Time</th> <th>User ID</th> <th>Stat Trained</th><th>Amount Gained</th></tr>"; $q=$db->query("SELECT * FROM gymlogs WHERE gymID>0"); while($r=$db->fetch_row($q)) { print "\n<tr><td>{$r['gymID']}</td> <td>" . date("F j, Y, g:i:s a",$r['gymTIME']) . "</td><td>{$r['gymUSER']}</td><td> [{$r['gymSTAT']}] </td> <td>{$r['gymGAIN']}</td> </tr>"; } print "</table> "; { if($i % 7 == 0) { print " \n"; } } stafflog_add("Viewed the Gym Logs"); } After that go into smenu and add this link below mail logs: > [url='staff_logs.php?action=gymlogs']Gym Logs[/url] "; I tested and works fine, hope it's all ok for me. You know where I am if you need help with it. Also, I haven't made the logs go onto a new page when there is alot, purely because most users of this mod will reset the logs every so often.
-
Re: Travelling System ($5)/($10) None taken, because for my level of experience I feel it is fairly good :roll:
-
Re: Customisable Merit System ($15+) Well I just happen to realise that the merit system that has already been made, is actually rather different. It works in a similar way to the crystal temple, there is no merit system that I have seen with incremental upgrades
-
Re: Gym Record Thanks...please post to let me know if you want something added, or if there's any bugs
-
Ok, I was just messing around a bit and thought it may be a good idea to create a gym record. All it is, is the user trains up, and their ID, IP, stat gain and time of training and stat trained are logged. They can then view most of these logged details on a file called gymrecord.php. Thsi benefits staff, who can check the logs in order to see if there are any cheaters. It also helps users, as they can see whether their stat gain is increasing. PLEASE NOTE: This is only for people who have alot of storage space. If you do not have that much, it will cause lag. The best thing to do is set a cron that empties the logs once a week. FOR V2 ONLY! Create a file called gymrecord.php: <?php include "globals.php"; print " <font color=red>[b]Here you can view your gym record. </font>[/b]"; $q=$db->query("SELECT * FROM gymlogs WHERE gymUSER=$userid "); print "<table width=75% cellspacing=1 class='table'><tr style='background:gray'><th>Trainer ID</th><th>IP Trained From</th><th>Stat Trained</th><th>Amount Gained</th></tr>"; while($r=$db->fetch_row($q)) { print "<tr><td>{$r['gymUSER']}</td><td>{$r['gymIP']}</td><td>{$r['gymSTAT']}</td><td>{$r['gymGAIN']}</td></tr>"; } print "</table>"; $h->endpage(); ?> Then find in gym.php: $db->query("UPDATE `userstats` SET `{$stat}` = `{$stat}` + $gain WHERE `userid` = $userid"); $db->query("UPDATE `users` SET `will` = {$ir['will']}, energy = energy - {$_POST['amnt']} WHERE `userid` = $userid"); Add below: $db->query("INSERT INTO gymlogs VALUES ('', {$ir['userid']}, $gain, unix_timestamp(), '{$ir['lastip']}', '{$stat}')"); Then run the following sql: CREATE TABLE `gymlogs` ( `gymID` int(11) NOT NULL auto_increment, `gymUSER` int(11) NOT NULL default '0', `gymGAIN` int(11) NOT NULL default '0', `gymTIME` int(11) NOT NULL default '0', `gymIP` varchar(15) NOT NULL default '127.0.0.1', `gymSTAT` varchar(255) NOT NULL default '', PRIMARY KEY (`gymID`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=2 ; And there, you're done!
-
Re: Customisable Merit System ($15+) More details and screenshots added. Hope it helps!!
-
If any of you have played Torn City before, the you will know how the merit system works. If not, then let me explain. Basically, you have for example x merits on Torn City. You decide to use them all on a nerve, which is an incremental upgrade. This means when you upgrade the first time it costs 1 merit. Then the second time you upgrade it costs 2 merits, the third costs 3 and so on. You can go up to 10. Each time you upgrade, your nerve only increases by 1. I have created a mod like this. The base file will cost $15. This file includes the incremental upgrades for Nerve, HP and all stats. It also contains non incremental upgrades, where you have a set price each time. The non-incermental upgrades are: +500 Will, a random weapon, and two items. However, I can add whatever you ask for, costing you an extra $3 per request. Instead of upgrading nerve, perhaps you would like a will/happy upgrade. So for each incremental upgrade, you get 10 will. Therefore, to upgrade to 10/10 it costs you 55 merits and you gain a total of 100 will. Or you could have me add something which credits a user with a random item for 10merits. Features like this can be added on request for the price mentioned above. Here are some screenshots of the mod, and descriptions above each one. This is what the Merit System will look like. The layout can be edited and is easy to do. The Incermental Upgrades are in one table, whilst the others are in a different one. You can ask me to edit the tables or names on request for no extra charge. The table tells the user, how many times they have upgraded, how much the next upgrade costs and what the upgrade is. When the user click on one of the Incremental Upgrade links, nerve in this example, they are taken to this screen. If they do not have enough merits, a message simply says You don't have enough merits. If they do, they receive their upgrade. This is an example of what happens after you have upgraded. I upgraded my nerve as you can see from the 5 nerve in Image 1 and 6 Nerve above. After upgrading, it now says 1/10 under upgraded, showing I have upgraded once. It now tells me I have to gain 2 merits to upgrade my nerve again. This simply shows the screen after I have upgraded a few things. I have put this here in order to prove that the system is working fully. The message that comes up when you purchase a Motivation Potion/Will. Motivation Potion is credited after being purchased. Purchased the +500 Motivation If anyone is interested and needs to know more details, add me on msn: [email protected] OR Pm me on CE. Any minor modifications needed, like changing names of the table or editing field names in the file can be done by me free of charge. Any modifications that are more time consuming can also be done for me, but we discuss the price. I charge low fees so for something major, I will charge from $3-$8. Just so everyone knows, there will only be one PHP file called merits.php. But depending on the number of incermental upgrades you want e.g. if you have Nerve, Points and HP; you will have to add 3 SQL fields. Installation is simple, and can be done by me.
-
Re: [Free] Maths Challenge Just viewed it on your game and love it...lovely maths :).
-
Re: Free Starter Pack Thank You everyone for the positive comments :). My first mod, a bit simple, but still glad you all like it. Pog, did you mean to stop people getting it more than once? As in they can only claim the pack if donatordays=0 and daysold=0? If yes, then great...just add it, nice idea. Zbirc3, do you mean that you want the starter pack to credit users with items like morphines? Just post on here or PM me to explain, I didn't quite understand what you were trying to say... Anyway, again, thanks guys, I appreciate the good comments :D