
Jesse60905
Members-
Posts
265 -
Joined
-
Last visited
Never
Content Type
Profiles
Forums
Events
Everything posted by Jesse60905
-
For some reason all of a sudden almost nothing relating to MySql is not working. I cannot register any new players, none of my banks work, and my site is acting very sluggish. I am riunning Mc Lite and I need a fix until I upgrade to Mc V1.
-
Re: Looking for hosting Ok thanks =) I may or may not need the link... I will search for the link but could you post it anyways?
-
is ther any good free webhodt sites with cpanel 11 and cron jobs
Jesse60905 replied to Ekidd's topic in General Discussion
Re: is ther any good free webhodt sites with cpanel 11 and cron jobs For free use Heliohost.com -
I am looking for some hosting. I (when I get it) will be running V1 codes and I want to find the best host for less then $40/month. I am hoping for 1 that offers a free domain but I will pay for 1 if necessary. If anyone has any suggestions please post here =)
-
Re: CrystalShop Mod!! Free!! Finally something to use crystals 4 on my game lol. +1 for u
-
Re: Free Jail Features V1.00000000 Relesed! do we need to make a new file? or do i just place that in jail.php? I believe that is bust.php. Am I right?
-
Re: [mccode] Jail for Lite Yes it does work.
-
Re: [mccode] Jail for Lite Ok for everybody that is having trouble with crons use this file. cron_min.php <?php /* MCCodes Lite cron_day.php Rev 1.0.0 Copyright (C) 2006 Dabomstew This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ include "mysql.php"; global $c, $mykey; $path=$_SERVER['HTTP_HOST'].str_replace('cron_min.php','',$_SERVER['SCRIPT_NAME']); if($_GET['code'] != md5($path.$mykey)) { exit; } mysql_query("UPDATE users SET jail=jail-1 WHERE jail>0",$c); mysql_query("UPDATE users SET jail=0 WHERE jail<0",$c); ?> Then simply add the cron into the cronjobs part of your c-panel with the code ect. Also I did not make this cron. I used cron_day.php from lite and elessar's crons. I am not 100% sure if it works but I will post if it does shortly.
-
[mccode] adding a crime panel in admin panel
Jesse60905 replied to seanybob's topic in Free Modifications
Re: [mccode] adding a crime panel in admin panel Nobody knows, as far as I can tell it does not exist. I looked through all 17 pages of Seanybob's posts and found only 1 regarding a CRIMEitem mod nad this was the only 1 =/ I hope Seanybob will tell us where it really is sooner or later =/ Seanybob and clues? -
Re: [LITE][FREE] Job Ya same here. The cron and the page arent working at all. Can't post the error's I'm doing a bit of work elsewhere on my game getting out typos
-
Re: [mccode] Poker Script for v1 1 little minor glitch that I found. Just not needed code. { $_SESSION['times']=0; $_SESSION['game']=0; print "You have left the tournament! [url='poker.php']Back[/url] [url='poker.php?action=gamequit&next=confirmed']Quit now![/url] [url='poker.php?action=game']No, stay in the poker room[/url] "; } Should be { $_SESSION['times']=0; $_SESSION['game']=0; print "You have left the tournament! [url='poker.php']Back[/url] "; } else { print "Quit the current Poker Tournament Are you 100% sure you want to quit the tournament? [url='poker.php?action=gamequit&next=confirmed']Quit now![/url] [url='poker.php?action=game']No, stay in the poker room[/url] "; }
-
Re: [LITE][FREE] Job Well it doesn't work quite well enough... Parse error: syntax error, unexpected T_PRINT in /home/jesse609/public_html/job.php on line 48
-
Re: [LITE][FREE] Job For the price I paid it works well enough XD
-
Re: Cron Jobs on Lite Yes, I have tried with the code, without the code, with curl, without curl, with php, without php and all other combinations. Took me about 2 hours.
-
Re: Cron Jobs on Lite I have the code already in there but I can add more info: The cron output e-mail told me this: I hope now someone can give me more insight to what the problem is...
-
Re: Authenticate confusion I am just a noob in coding php but I have an idea for you. Try looking in the authenticate.php for mc lite. Maybe you can get some ideas from there?
-
I have a free host with cpanel, mysql databases, cronjobs, and a almost fully modded version of Mc lite. My only problem is that my crons do not seem to want to work. What is my problem? Cron_Day.php <?php /* MCCodes Lite cron_day.php Rev 1.0.0 Copyright (C) 2006 Dabomstew This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ include "mysql.php"; global $c, $mykey; $path=$_SERVER['HTTP_HOST'].str_replace('cron_day.php','',$_SERVER['SCRIPT_NAME']); if($_GET['code'] != md5($path.$mykey)) { exit; } mysql_query("UPDATE users SET daysold=daysold+1",$c); mysql_query("UPDATE users SET mailban=mailban-1 WHERE mailban > 0",$c); mysql_query("UPDATE fedjail set fed_days=fed_days-1",$c); mysql_query("UPDATE users u LEFT JOIN fedjail f ON u.fedjail=f.fed_id SET u.fedjail=0 WHERE f.fed_days=0",$c); mysql_query("DELETE FROM fedjail WHERE fed_days=0",$c); ?> Cron_fivemins.php <?php /* MCCodes Lite cron_fivemins.php Rev 1.0.1 Copyright (C) 2006 Dabomstew This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ include "mysql.php"; global $c, $mykey; $path=$_SERVER['HTTP_HOST'].str_replace('cron_fivemins.php','',$_SERVER['SCRIPT_NAME']); if($_GET['code'] != md5($path.$mykey)) { exit; } $query="UPDATE users SET energy=energy+(maxenergy/(12.5)) WHERE energy$query2="UPDATE users SET energy=maxenergy WHERE energy>maxenergy"; $query3="UPDATE users SET will=will+10 WHERE will$query4="UPDATE users SET will=maxwill WHERE will>maxwill"; mysql_query($query,$c) or die("\nError Executing Query 1 for updating users $i to $next\n$query\n".mysql_error()."\nError Code:".mysql_errno()); mysql_query($query2,$c) or die("\nError Executing Query 2 for updating users $i to $next\n$query2\n".mysql_error()."\nError Code:".mysql_errno()); mysql_query($query3,$c) or die("\nError Executing Query 3 for updating users $i to $next\n$query3\n".mysql_error()."\nError Code:".mysql_errno()); mysql_query($query4,$c) or die("\nError Executing Query 4 for updating users $i to $next\n$query4\n".mysql_error()."\nError Code:".mysql_errno()); $query="UPDATE users SET brave=brave+((maxbrave/10)+0.5) WHERE brave$query2="UPDATE users SET brave=maxbrave WHERE brave>maxbrave"; $query3="UPDATE users SET hp=hp+(maxhp/3) WHERE hp$query4="UPDATE users SET hp=maxhp WHERE hp>maxhp"; mysql_query($query,$c) or die("\nError Executing Query 1 for updating users $i to $next\n$query\n".mysql_error()."\nError Code:".mysql_errno()); mysql_query($query2,$c) or die("\nError Executing Query 2 for updating users $i to $next\n$query2\n".mysql_error()."\nError Code:".mysql_errno()); mysql_query($query3,$c) or die("\nError Executing Query 3 for updating users $i to $next\n$query3\n".mysql_error()."\nError Code:".mysql_errno()); mysql_query($query4,$c) or die("\nError Executing Query 4 for updating users $i to $next\n$query4\n".mysql_error()."\nError Code:".mysql_errno()); ?>
-
Re: Make Money from Your Site with these tips ! Technically it's a law and technically I am going to get a Visa Gift Card and break it too XD
-
Re: Phaos Game Engine Are there aly cronjobs for this engine?
-
Re: Phaos Game Engine The host I am using has no ftp upload as far as I can see. If someone knew where to find a better host that is free (and supports cronjobs as the 1 I am using atm doesn't) then I would greatly appreciate it.
-
Re: Phaos Game Engine This will be fun... Does any1 know a good server that lets you upload multiple files at once? If not then I'm gonna b uploading files 1 by 1 for a long time...
-
Whenever I try to update user levels for any account absolutely nothing happens. I want to be able to make all my admins high lvls to ward off people from attacking them. As it is people attack them however fail miserably because they all have max stats. I can't post my admin.php but I will upload it as a txt file Now I am also getting this message when trying to create a new weapon: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ',1)' at line 1
-
Re: help me with lite codes Ok I set up my lite codes the other day so I think I can help you. What you need to do is go to the site that is hosting your game, ask them for your "mysql" details. (If you do not have "mysql" on that game I would suggest trying another free hosting site such as: "www.freehostia.com" They are the best in my opinion and very easy to set up) Once you get that information go to (replace "yourgamehere" with your web address) "www.YOURGAMEHERE.com/installer.php". Keep in mind that your web address might be .org or .info instead of .com but you should know that. Once you get to that page follow the information included in the "index.html" that was included with the lite codes. One last thing I suggest doing is learning how to code before you make your game public. If you already know how to then I apoligize for my mistake. Have fun with your new game and I suggest you look for some mods for it here: http://criminalexistence.com/ceforums/h ... .php?f=1.0
-
Re: Trouble setting up a new game I got help on another forum thanks
-
Re: Trouble setting up a new game I already did that but they sent me all the information I had before... Could someone give me a few examples?