weewooz
Members-
Posts
258 -
Joined
-
Last visited
Never
Content Type
Profiles
Forums
Events
Everything posted by weewooz
-
Re: Businesses Mod [Mccode V2] what you got cron runing at time wise
-
Re: Businesses Mod [Mccode V2] ok back and full up lol right guna have a look at this will post what i come up with mate
-
Re: Businesses Mod [Mccode V2] ok just guna eat me tea mate then ill get back on it with you see what i can do bro wont be long
-
Re: Businesses Mod [Mccode V2] aint put it there but looks ok globals working lol
-
Re: Businesses Mod [Mccode V2] yeah got in mate
-
Re: Businesses Mod [Mccode V2] im way behind you mate at the mo having probs with global function insert at the mo dont wanna go in
-
Re: Businesses Mod [Mccode V2] ok thanks destroyer now what can we add to this i wont to code some think any ideas people nice one again destroyer
-
Re: Businesses Mod [Mccode V2] well done destroyer you wanna post the full working code then no point me carrying on mate if you have sorted then we can look to improve even more mate
-
Re: please help have you got all the sqls in right what ya mean it not login does it just stop on the login page when you try and sign in bro?
-
Re: Businesses Mod [Mccode V2] maybe thats somethink to look at im guna grab all the bits together as and have a scan over the code
-
Re: (not working) Auto Multi IP Check not even half the script mate where you get that from there a few on here simlar or do the same thing just use the search mate
-
Re: [v2] [v1] Time File Was Last Edited great mod sniko but why would you want your users to see that i can see now players moaning all the time that certain pages aint updated in a while not having ago at you but you know how players can be some times but nice well done even tho its a copy and paste :)
-
Re: Tournaments Mod Updated (Fixed) what is this maybe explain abit more mate so users can see what it is before downloading
-
Re: Businesses Mod [Mccode V2] game hitter then have you tryed fixing this up bro ?
-
Re: please help <?php session_start(); if(get_magic_quotes_gpc() == 0) { foreach($_POST as $k => $v) { $_POST[$k]=addslashes($v); } foreach($_GET as $k => $v) { $_GET[$k]=addslashes($v); } } include "config.php"; global $_CONFIG; define("MONO_ON", 1); require "class/class_db_{$_CONFIG['driver']}.php"; $db=new database; $db->configure($_CONFIG['hostname'], $_CONFIG['username'], $_CONFIG['password'], $_CONFIG['database'], $_CONFIG['persistent']); $db->connect(); $c=$db->connection_id; $set=array(); $settq=$db->query("SELECT * FROM settings"); while($r=$db->fetch_row($settq)) { $set[$r['conf_name']]=$r['conf_value']; } if ($_POST['username'] == "" || $_POST['password'] == "") { die("<h3>{$set['game_name']} Error</h3> You did not fill in the login form! <a href=login.php>> Back</a>"); } $uq=$db->query("SELECT userid FROM users WHERE login_name='{$_POST['username']}' AND `userpass`=md5('{$_POST['password']}')"); if ($db->num_rows($uq)==0) { die("<h3>{$set['game_name']} Error</h3> Invalid username or password! <a href=login.php>> Back</a>"); } else { $_SESSION['loggedin']=1; $mem=$db->fetch_row($uq); $_SESSION['userid']=$mem['userid']; $IP = ($_SERVER['HTTP_X_FORWARDED_FOR']) ? $_SERVER['HTTP_X_FORWARDED_FOR'] : $_SERVER['REMOTE_ADDR']; $db->query("UPDATE users SET lastip_login='$IP',last_login=unix_timestamp() WHERE userid={$mem['userid']}"); if($set['validate_period'] == "login" && $set['validate_on']) { $db->query("UPDATE users SET verified=0 WHERE userid={$mem['userid']}"); } header("Location: loggedin.php"); } ?> use that for the file what you get in your sql fields seems i my be a problem in there
-
Re: Businesses Mod [Mccode V2] as anyone got all this info off all 10 pages lol and put it together and got it to work yet :)
-
Re: [v2] Create a Crystal ok to limit to 5 times aday to make a crystal this will need to be added to cron right or could i use timestamp would that work
-
Re: Awards Mod is this to show how many awards you have in the header page
-
Re: Awards Mod you find the post mate yet shiz
-
Re: [v2] Create a Crystal yeah danny great idea might have a play round with this see what comes of it
-
Re: Awards Mod yes endo and you can swap ya awards for brave and will refills if ya read the code mate
-
Re: Awards Mod ok thanks bro?
-
Re: [v2] Create a Crystal Ok i kinda like this mod it could go far maybe if we make so users can say only make say 5 aday i know it would restrict it in terms of playing time but we keep users abit more busy and limits the amount of crystals and cash in your game just a thought
-
Re: Awards Mod also mate any updates like you said bro yet?
-
Re: Awards Mod sorry posted before i refreshed page yes but some people dont know that mate some people still learning