Jump to content
MakeWebGames

Recommended Posts

Posted

Hahaha took me a quick search 2nd file I found....

$result = mysql_query("SELECT * FROM `grpgusers` ORDER BY `lastactive` DESC");

while($line = mysql_fetch_array($result, MYSQL_ASSOC)) {

$secondsago = time()-$line['lastactive'];

if ($secondsago > 2592000) {

$user_online = new User($line['id']);

$result2 = mysql_query("DELETE FROM `grpgusers` WHERE `id`='".$user_online->id."'");

}

}

Its not in the cron btw which is if you bothered to read the README.txt is called rollover.php

Posted

You dont have grpg well not what I have ever seen. So you either downloaded something else or something that has been filled full of crap.

Its going to be difficult for anyone to help you as you do not seem to have the correct source code.

Posted (edited)

I never said that is code i was wanting to know wat that is for..

 

// Commandline only

if(!isset($_SERVER['argc']))

die("Reticulating Splines

Edited by thebobby
Posted

well to be honest if u still have your rollover.php that name ppl can make ur site rollover when ever they want too. Yes i have a 24 hour cron and no delete users is not in it.

Posted

Yes I did say that earlier it was not in the cron...

And no people cannot use rollover.php as clearly you do not place crons in the wwwroot so its accessible from the web!!!!

Your really not making any sense and cant really see how you can expect help.

Posted

Hahaha noob. So rather than answer the questions you would rather be stuck with it until someone helps you which they cant as from what I can tell you have a different engine.

Is this because GRPG is actually a paid for engine and you didnt pay for it ;)

Posted

/*

$result = mysql_query("SELECT * FROM `grpgusers` ORDER BY `lastactive` DESC");

while($line = mysql_fetch_array($result, MYSQL_ASSOC)) {

$secondsago = time()-$line['lastactive'];

if ($secondsago > 5184000) {

$user_online = new User($line['id']);

$result2 = mysql_query("DELETE FROM `grpgusers` WHERE `id`='".$user_online->id."'");

}

}

*/

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...