Jump to content
MakeWebGames

Godhand

Members
  • Posts

    448
  • Joined

  • Last visited

    Never

Everything posted by Godhand

  1. Re: Idea about donator cyber bank ok so I didn't read that post sorry. I just don't have time to keep up with everything to read "every single" thread on a forum.
  2. I was trying to code a cyber bank for donators without fees and I got this message Parse error: syntax error, unexpected T_EXIT in /home/mysitedirectory here/public_html/donatorcyber.php on line 7 and heres the lines of code near it <?php include "globals.php"; if($ir['user_donatordays']=0 die("Donators only"); print "Cyber Bank"; if($ir['cybermoney']>-1) I am trying to get it so not have a fee- I've tweaked that but I can't get it solved. I'm not sure how to code it completely just thought it would be a nice feature to add.
  3. I edited my cron_day file to make donators get more intrest but it didn't work or get any intrest the code is $db->query("UPDATE users SET bankmoney=bankmoney+(bankmoney*(2/100)) where bankmoney>0"); $db->query("UPDATE users SET bankmoney=bankmoney+(bankmoney*(7/100)) where bankmoney>0 AND donatordays>0"); $db->query("UPDATE users SET bankmoney=bankmoney+(bankmoney*(2/100)) where bankmoney>0 AND donatordays>100"); $db->query("UPDATE users SET bankmoney=bankmoney+(bankmoney*(2/100)) where bankmoney>0 AND donatordays>200"); $db->query("UPDATE users SET bankmoney=bankmoney+(bankmoney*(2/100)) where bankmoney>0 AND donatordays>300"); $db->query("UPDATE users SET bankmoney=bankmoney+(bankmoney*(2/100)) where bankmoney>0 AND donatordays>400"); $db->query("UPDATE users SET cybermoney=cybermoney+(cybermoney*(14/100) where cybermoney>0 AND donatordays>0"); $db->query("UPDATE users SET cybermoney=cybermoney+(cybermoney*(8/100) where cybermoney>0"); $db->query("UPDATE users SET cybermoney=cybermoney+(cybermoney*(4/100) where cybermoney>0 AND donatordays>100"); $db->query("UPDATE users SET cybermoney=cybermoney+(cybermoney*(4/100) where cybermoney>0 AND donatordays>200"); $db->query("UPDATE users SET cybermoney=cybermoney+(cybermoney*(4/100) where cybermoney>0 AND donatordays>300"); $db->query("UPDATE users SET cybermoney=cybermoney+(cybermoney*(4/100) where cybermoney>0 AND donatordays>400"); $db->query("UPDATE users SET cybermoney=cybermoney+(cybermoney*(50/100) where cybermoney>0 AND donatordays>950"); There is no error message for this that I am aware of; it manually isn't working any suggestions are appreciated. I'm thinking it might be needing the $db->query($query8); stuff but I'm not 100% sure. I'm going to test it though.
  4. Re: Cyber bank error Yup that was what was wrong. Thank you.
  5. I just added my fourth city and decided to test out cyber bank. I got this error Parse error: syntax error, unexpected T_STRING, expecting T_VARIABLE or '$' in /home/*****/public_html/cyberbank.php on line 82 The code for the couple lines around 82 are the following although the big gap is line 82. $db->query("UPDATE users SET cybermoney=cybermoney+$gain, money=money-{$_POST['deposit']} where userid=$userid"); print "You hand over \${$_POST['deposit']} to be deposited, after the fee is taken (\$$fee), \$$gain is added to your account. [b]You now have \${$ir['cybermoney']} in the Cyber Bank.[/b] [url='cyberbank.php']> Back[/url]"; } } function withdraw() { global db,$ir,$c,$userid,$h; $_POST['withdraw']=abs((int) $_POST['withdraw']); if($_POST['withdraw'] > $ir['cybermoney']) { print "You do not have enough banked money to withdraw this amount."; } else { $fee=ceil($_POST['withdraw']*75/1000); if($fee > 750000) { $fee=750000; }
  6. Re: Help cron job error I'm taking its just some insane glitch....
  7. Re: Ruby Trader Mod FREE!!! V2 Just one thing that might be fairly obvious-to add a link to it in explore.php. (I mean unless you plan on abusing it yourself) :-D Other than that very nice thought since its not that hard to add a link.
  8. Re: [FREE] Bodyguard V2.0   If i recall correctly lite and v1 are able to be used in the other just not v2.
  9. Re: Help cron job error My bandwidth was very small to is there something else that I'm missing the picture for?
  10. Re: Help cron job error my host is located- http://psychz.net/shared_hosting/shared_budget.htm and that is the plan I'm using at the moment. I was considering switching to lunar once my bandwidth gets too high.... :/
  11. Re: Help cron job error So guys any clue?
  12. Re: Help cron job error Oh I did look in my cron_jobs and I found out what went on. I am dumb founded on how it could have gotten changed- for my cron_fivemins it was originally deleted. I set up that cron though after deleting the wrong one. Then I had an error (lmao) of having a double typo in 'cron_fivemins' it was 'cron_fivmin'. Any ideas how it got changed though? I haven't messed with it as I said. And I also was the only ip in there.
  13. Re: Help cron job error weird part about that is that it doesn't work in my cron_min? :?. Any suggestions for a "good" quick fix?
  14. Re: Help cron job error   I didn't think of that, but this is the icing on the cake- my cron_min and cron_day are working. I'm thinking of scaling my crons to 1/5th the value and make it so it would be doing the same effect until my cron five_min is working. I know that the code itself is fine with my cron_five min I haven't messed with it until it stopped working. Of course that was after I customized my crons and fixed them so they would work. They were working more than a week before it stopped 'just working'.
  15. Re: Help cron job error :? Then how could someone change my cron jobs then without using my cpanel? I know I certainly didn't.
  16. Re: Help cron job error ? I looked at my cron jobs in my cpanel before I posted this- someone did mess with it. I didn't see any one else's ip on there except my own in the cpanel last login when I did check. The problem is that someone messed with my cron jobs WITHOUT logging into my cpanel. It wasn't how it should be. I'm thinking it was an sql injection since there is a certain user name that doesn't seem to be in place. I have checked their register e-mail and it was on their own domain and has a bad "WOT" reputation. Everyone else I either know directly or one of my friends gave them the link. ? Also, I did alter my cron_fivemins before and it worked :-D (it was working about 20 days before stopped). ?I did try repasting the code default cron_fivemins though too before it posted. :roll: ?So yea I'm basically knowing I could resort to one thing- complete reset. I don't want to resort to that so thats why I'm posting here for help.
  17. My cron_five_mins stop working for nothing done with logging into my cpanel. I have tried editing my crons jobs within my cpanel and it doesn't work. I switched my cron_five_min to from what i had customized that was working before it stopped. I checked the format within my cron_fivemins and that is fine coding wise. I think it was a sql injection but I'm not sure. All I know is someone from a not so trustworthy site signed up on my game and soon after the crons_fivemin stopped working. Help please I can't figure this one out.
  18. Re: Discovery live messenger Well it the program I'm thinking about shows EVERYTHING that is running. EVEN things that don't show up on task manager. Not everything that is working shows up in task manager is what I was meaning with it being able to scan for "evil things that don't show up" on the task manager. And it can also remove it. You could download the whole directory or just paste it into their site and then check the stuff thats bad. after doing their search function.
  19. Re: Help!!! Armor glitch Nevermind problem fixed.... just didn't have the armor converted....
  20. Re: Discovery live messenger Just check your task manager. It will show you where most your resources are going. Of course with windows it won't show all of them. But you could download a program to scan and delete the evil hidden files you can't.
  21. I have my game running and armor is not reducing any damage that is dealt. Please help. I'm using version 2.0 that was converted from 1.0 (I think).
  22. Re: Why you code? I'm trying to learn how so I can make useful programs later on. Notice I said trying. Although my game has one unique function- donators get more will then non donators. Lmao
  23. Re: Discovery live messenger It doesn't suck I've been using it for a long time. I've noticed that what sucks up most of the resources is firewalls, anti viruses, and web browsers. I can honestly say I don't normally run a virus and I like it more than the normal msn.
×
×
  • Create New...