Jump to content
MakeWebGames

spellbyte ®

Members
  • Posts

    132
  • Joined

  • Last visited

    Never

Everything posted by spellbyte ®

  1. User Notepad well it was worth a try :), anyone care to make it non public be my guest :)
  2. Here it is, pretty basic but it does the job SQL query ALTER TABLE `users` ADD `usernotes` LONGTEXT NOT NULL ; open viewuser.php find this if($ir['user_level'] == 6) { print " IP Address: {$r['lastip']}"; print " Staff Notes: {$r['staffnotes']} "; } after add print " [b]User Notes:[/b] {$r['usernotes']} "; usernotes.php <?php session_start(); require "global_func.php"; if($_SESSION['loggedin']==0) { header("Location: login.php");exit; } $userid=$_SESSION['userid']; require "header.php"; $h = new headers; $h->startheaders(); include "mysql.php"; global $c; $is=mysql_query("SELECT u.*,us.* FROM users u LEFT JOIN userstats us ON u.userid=us.userid WHERE u.userid=$userid",$c) or die(mysql_error()); $ir=mysql_fetch_array($is); check_level(); $fm=money_formatter($ir['money']); $cm=money_formatter($ir['crystals'],''); $lv=date('F j, Y, g:i a',$ir['laston']); $h->userdata($ir,$lv,$fm,$cm); $h->menuarea(); mysql_query("UPDATE users SET usernotes='{$_POST['usernotes']}' WHERE userid='{$_POST['ID']}'",$c); print "User notes updated! [url='viewuser.php?u={$_POST[']> Back To Profile[/url]"; $h->endpage(); ?>
  3. adding a crime panel in admin panel cool i look forward to the addition :)
  4. adding a crime panel in admin panel is there any way that this mod can have this added. for the crime group could it have a dropdown box that reads from the db and displays the current crime groups that are currently in there? im not sure how it would go or even how hard it would be to do it
  5. adding a crime panel in admin panel cool i'll add this later :)
  6. adding a crime panel in admin panel Is the original post by seanybob upto date and fully working now
  7. Steal Crystals when you Mug someone... that worked great, thanks yet again seanybob
  8. [Lite] Bugget streets v1 thanks you sooo much arson, thats my turns problem solved
  9. [Lite] Bugget streets v1 ahh an error, coulds this be whats stopping my turns from updating?
  10. [Lite] Bugget streets v1 to change explore to whatever you want find   <input type=submit value='Explore'></form>";   and change explore accordingly as for the other question i would like to know this too, but then again i'd like a reply to my other question regarding the turns/steps :)
  11. [Lite] Bugget streets v1 go into phpmyadmin and then choose SQL
  12. Steal Crystals when you Mug someone... why not make big ints supported in the next upgrade? just a thought as most people have got it enabled now
  13. Steal Crystals when you Mug someone... after winning the attack i get this error   Fatal error: Call to undefined function: make_bigint() in /home/alpha21/public_html/attackwon.php on line 42
  14. [Lite] Bugget streets v1 blimey,,, i really should concentrate more when doing this stuff lol it should have been this <?php require "mysql.php"; global $c; $q1=mysql_query("SELECT COUNT(*) as users FROM users",$c); $r=mysql_fetch_array($q1); $rows=$r['users']; mysql_query("UPDATE users set turns=turns-100 WHERE turns>0",$c); ?>   Everyone has been calling them steps and in the DB it's called turns I thought that would have been the problem solved but it's not, i really could do with some help here guys
  15. [Lite] Bugget streets v1 well that didn't work, so i tried adding this line to fedupdate.php   mysql_query("UPDATE users set steps=steps-1 WHERE steps>0",$c);
  16. [Lite] Bugget streets v1 I have just tried to create my own steps.php file for the cron job updates of the steps for the full version, i would just like a second opinion please   <?php require "mysql.php"; require "../../../../global_func.php"; global $c; mysql_query("UPDATE users set steps=steps-1 WHERE steps>0",$c); ?>   this would be put into cpanel like this   0 0 * * * curl [url]http://yourgameurl.com/crons/are/not/4u/steps.php[/url]
  17. [Lite] Bugget streets v1 as the paid version doesn't appear to have a cron_day.php file which one do i edit for this to update the turns everyday
  18. setting xp for crimes nope i cant find either of those in docrime.php
  19. setting xp for crimes that sounds familiar, i have seen this on the forum elsewhere but couldn't find it. i'll be working this out all day, math never was my strong point :)
  20. setting xp for crimes i am struggling to understand how the crimePERCFORM works   ((WILL*0.8)/4)+(LEVEL/4)   could someone please give this idiot and idiots guide on how to work this out for the higher level crimes
  21. Side Bars I have just been looking through the email reports for cron daemon and this is the message i get   You (test site) are not allowed to use this program (crontab) See crontab(1) for more information   reading this i would believe that my host doesn't support this and please tell me that im wrong but i thikn im gonna have to get a new host
  22. Side Bars It would appear that m cron job manager doesn't allow me to run the cronjob.php every 5 minutes, only every 5 minutes past the hour, is there a way around this
  23. Side Bars I too am having this problem with the cronjobs, here is a pic of what i see
×
×
  • Create New...