CraigF Posted June 7, 2007 Posted June 7, 2007 Jesse asked for a simple, jobs mode for LITE, so here it is, didnt take too long to do, it is untested as i do not have a LITE game to test it on, so post if there are any errors, its easy and there is only one job, but really jesse only asked for a bit of code that would give a set bit of money, thats easy but i want people to earn it by getting a well payed job ;) SO POST THE BUGS AND I WILL TRY AND FIX THEM IF THERE ARE ANY!! add this sql: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Add this code: job.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. and this cron for every 24 hours: jobpay.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. REMEMBER TO POST ANY BUGS There you go i fixed it Quote
Decepti0n Posted June 7, 2007 Posted June 7, 2007 Re: [LITE][FREE] Job mysql_query("UPDATE users u WHERE job > 0".mysql_error()); thats a bug since it doesn't even make sense Quote
John99 Posted June 7, 2007 Posted June 7, 2007 Re: [LITE][FREE] Job You should of done it with SQL :) So they can add jobs from database Quote
CraigF Posted June 7, 2007 Author Posted June 7, 2007 Re: [LITE][FREE] Job yeah i copied the jobpay.php cron from v1 but then deleted most of it because it wouldnt work with my crappy LITE one ;) so i must of left that bit, like i said my head is full today! Quote
CraigF Posted June 7, 2007 Author Posted June 7, 2007 Re: [LITE][FREE] Job You should of done it with SQL :) So they can add jobs from database like i said its a VERY basic, most basic you will ever see job mod! xD Quote
Jesse60905 Posted June 8, 2007 Posted June 8, 2007 Re: [LITE][FREE] Job For the price I paid it works well enough XD Quote
Jesse60905 Posted June 8, 2007 Posted June 8, 2007 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 Quote
John99 Posted June 8, 2007 Posted June 8, 2007 Re: [LITE][FREE] Job Here Jesse60905 i fixed it for you and for everyone else who needs it You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. ~Fixed By Alan~ ~Kraigs To Slow~ Lmao Quote
CraigF Posted June 8, 2007 Author Posted June 8, 2007 Re: [LITE][FREE] Job fixed it,i was offline i wasnt too slow! :) Quote
John99 Posted June 8, 2007 Posted June 8, 2007 Re: [LITE][FREE] Job Lol i just got to getting ready to go school then when i come home think of what to make make it then post it on ce woop Quote
Xplo Posted June 16, 2007 Posted June 16, 2007 Re: [LITE][FREE] Job its still not workin 4 me y Quote
Jesse60905 Posted June 18, 2007 Posted June 18, 2007 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 Quote
~Spooky~ Posted June 18, 2007 Posted June 18, 2007 Re: [LITE][FREE] Job mysql_query("UPDATE users u WHERE job > 0".mysql_error()); thats a bug since it doesn't even make sense MAYBE cause its wrong like Decepti0n said. Quote
Yuri_orlov Posted October 14, 2007 Posted October 14, 2007 Re: [LITE][FREE] Job Job.php: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. sql code: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Ok now its fixed. and you can quit the job....use the sql from above Quote
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.