Jump to content
MakeWebGames

bling

Members
  • Posts

    66
  • Joined

  • Last visited

    Never

Everything posted by bling

  1. Re: Advanced Dating (v1) ver1 mysql_query("UPDATE users SET datehours=datehours-1 WHERE datehours > 0",$c); ver2 $db->query("UPDATE users SET datehours=datehours-1 WHERE datehours > 0",$c); this should work just put in the hour cron not tested but should work
  2. Re: Mccodes Version 1 Or 2 I have to say version 2 is but thats just to me. i think its easy to mod then version one but both need a lot of work just to get the game running smooth and bug free but i think version two has whats needed to learn from version 1 is to easy to work with and has way more bugs in it from the start hence it being version 1 vs version 2 we all know as version go they get better as they come out in new versions. so for me its version 2 but i can code version 1 or 2 just has easy but version 2 starts with a way better staff side to it the in version one but who's to say witch ones better to each there own
  3. Re: [MOD] Voice Mail ? i would just use a mp4 to do this see how flash that is embedded and easy be used to redirect users with the use of a free ad on to Firefox i will not list the Firefox ad on that dos this just cuss some will use it just to do it on game but it is a nice add on but i think a mp4 would be better could be wrong
  4. Re: Free 2 - Icons nice but it all works for me but the mail it always shows even when their is no new mails i think my mail is a bit different then i need some thing different for the mail part here how i got my mail to show it but it wont work with this $d2=mysql_query("SELECT COUNT(*) as cnt FROM mail WHERE mail_to={$ir['userid']} AND mail_read=0",$c); $r=mysql_fetch_array($d2); if($r['cnt'] > 0) { print "<center>"; }
  5. Re: Tournaments mod For V2 hum why's their a lol Warning: Missing argument 1 for torny_dropdownall() think it needs some more work but hey nice job but it will need to be cleaned up more and more neatly coded but with some work the can be one bad ass mod so thank you
  6. Re: New And Improved Mining Mod [$20] i am sorry to say this but are you joking i mean all you are really doing is changing only a few lines of code from the free one i mean really bro think about it and the smithing can be made really easy by only about 10 mins of coding but a nice mod but not at the price lol
  7. Re: (New) Feature Vip News [V1] they are called for in it it has to have a vipnew and ant in the users table if you read over the code you will see what i mean i also added the ver 2 for it
  8. Re: (New) Feature Vip News [V1] make a file called vipnews.php and put this in it <?php /*----------------------------------------------------- Vip News -----------------------------------------------------*/ session_start(); require "global_func.php"; if($_SESSION['loggedin']==0) { header("Location: login.php");exit; } $userid=$_SESSION['userid']; require "header.php"; $h = new headers; $h->startheaders(); include "mysql.php"; global $c; $is=mysql_query("SELECT u.*,us.* FROM users u LEFT JOIN userstats us ON u.userid=us.userid WHERE u.userid=$userid",$c) or die(mysql_error()); $ir=mysql_fetch_array($is); check_level(); $fm=money_formatter($ir['money']); $cm=money_formatter($ir['crystals'],''); $lv=date('F j, Y, g:i a',$ir['laston']); $h->userdata($ir,$lv,$fm,$cm); $h->menuarea(); $post=strip_tags($_POST['post']); if ($post) { mysql_query("INSERT INTO vipnews VALUES ('$post', unix_timestamp())",$c) or die (mysql_error()); print "News has been Added"; mysql_query("UPDATE users SET newvip=newvip+1 WHERE userid>0",$c); exit; } $vip=mysql_query("SELECT * FROM vipnews ORDER BY time DESC LIMIT 10",$c); print "<center><table width='75%' cellpadding='2' border=0 class='forumline'> <tr> <table width=75% border=1><tr><th width=75%>News</th><th>Time</th></tr><tr><td>"; while ($a=@mysql_fetch_array($vip)) { $time=date(' G:i:s, F d, Y', $a['time']); if ($a['time']>$ir['ant']) { print "<tr><td>[b]New:[/b]</font>";} print " {$a['msg']} <td>$time</br /> </tr> "; } print "</table></center> "; if ($ir['user_level']==2) { print "<form action='vipnews.php' method='post'><textarea name='post' rows='7' cols='100'></textarea> <center><input type='submit' value='Post News'></center></form>"; } $ti=time(); mysql_query("UPDATE users SET ant=$ti WHERE userid=$userid",$c); mysql_query("UPDATE users SET newvip=0 WHERE userid=$userid",$c); ?> or here ver 2 of it <?php /*----------------------------------------------------- Vip News for ver 2 -----------------------------------------------------*/ session_start(); include "globals.php"; $post=strip_tags($_POST['post']); if ($post) { $db->query("INSERT INTO vipnews VALUES ('$post', unix_timestamp())",$c) or die (mysql_error()); print "News has been Added"; $db->query("UPDATE users SET newvip=newvip+1 WHERE userid>0",$c); exit; } $vip=$db->query("SELECT * FROM vipnews ORDER BY time DESC LIMIT 10",$c); print "<center><table width='75%' cellpadding='2' border=0 class='forumline'> <tr> <table width=75% border=1><tr><th width=75%>News</th><th>Time</th></tr><tr><td>"; while ($a=@mysql_fetch_array($vip)) { $time=date(' G:i:s, F d, Y', $a['time']); if ($a['time']>$ir['ant']) { print "<tr><td>[b]New:[/b]</font>";} print " {$a['msg']} <td>$time</br /> </tr> "; } print "</table></center> "; if ($ir['user_level']==2) { print "<form action='vipnews.php' method='post'><textarea name='post' rows='7' cols='100'></textarea> <center><input type='submit' value='Post News'></center></form>"; } $ti=time(); $db->query("UPDATE users SET ant=$ti WHERE userid=$userid",$c); $db->query("UPDATE users SET newvip=0 WHERE userid=$userid",$c); ?>   Add This To Mainmenu.php in the vip or donator part of it this way only they can see it if ($ir[newvip]==0) print" [url='vipnews.php']<LI></font>VIP News</font>[/url] "; if ($ir[newvip]>0) print" [url="vipnews.php><LI>VIP"][/url] ";   Not fully sure if it works please post if it dont work :) see how i do not have a ver one game but here the sql for it to -- -- Table structure for table `vipnews` -- CREATE TABLE `vipnews` ( `msg` text NOT NULL, `time` int(11) NOT NULL default '0' ) ENGINE=MyISAM DEFAULT CHARSET=latin1; ALTER TABLE `users` ADD `newvip` INT( 11 ) NOT NULL ; ALTER TABLE `users` ADD `ant` INT( 11 ) NOT NULL ; i have only add the sql to it i want no + for this but if you need other stuff made hit me up
  9. Re: [mccode] [TGM] Item Sell Logs [TGM] nice mod i will not use it becuz i have my own but very nice mod you made and very easy set up for them too +one bro
  10. Re: Header Problem!!! i think i know what it is just post it in here if death dos not then i will
  11. Re: Basic Criminal Record nice mod bro i got one like this just a little bit different really nice mod
  12. Re: Honor Awards v2   no it's becuz of ppl ripping mods ps. i know how to code in a few things 1 vb 2 php 3 html and a bit of ajax if you even know what that means lol :evil:
  13. Re: Honor Awards v2 zaver i got one thing to tell i am not one to piss off but i don't got anything bad against good coders or ppl that make good mods only against ppl takin ppl mods and sell them saying they coded it i mean if you just recode part of the mod the maker of the code should still get credit for it you know
  14. Re: Honor Awards v2 ok If you dont think its atmas go look on my site, i have the most up to date one besides the one be worked on it updates to see if you havent been credited a honor wands way there's a lot to it lol just go look it on my site ....................heres the link............http://www.d4rk-forc3s.com.................and that one is Atma's..................... ....................................... well i am off to code for a bit..................................
  15. Re: Honor Awards v2 you seanybob lol i got the real one running on my site for 4 weeks plus and i got it from him 2nd i am not cute i am a asshole get it right and i hate code rippers
  16. Re: Honor Awards v2 AtmaWeapon has a good reason to be mad your selling a mod that i know for a fact that he coded all of but the few tiny lines that you put in thats bs AtmaWeapon was on the phone with me a few diff times that he was coding so seanybob your a thief and i would not buy a damn thing off a code ripper like you i hate them i bet your one of those guys that take stuff and say they coded it just like on yahoo your just a script kitty a big big baby that has to steal sh1t
  17. Re: [Free v1] Close page system yeah kyle i dont think you did but ok the part in the header is just a bitch for ver 2 me and silver try on it and i had 5 of my buds helping with it to i have one recoding it for me but if you say you did ok :-D :evil: :roll:
  18. Re: [Free v1] Close page system well if anyone can get that part of the header two ver2 let me know be cuz i tryed all kinds of diff stuff and i have a lot of ver 1 mod that i made in two ver two it easy to do it it just this one that i am have am having problems with
  19. Re: [Free v1] Close page system when i do that i get this error Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/bling/public_html/header.php on line 307
  20. Re: [Free v1] Close page system now i get this error 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 '/index.php' at line 1
  21. Re: [Free v1] Close page system www.d4rk-forc3s.com thats mt site i know what line doing it thow its ($r=mysql_fetch_array($close))
  22. Re: [Free v1] Close page system yeah i know how to make it ver 2 i did all of it but the only thing stoping me is the part for the header that the part the is messing up it says not a valid mysql resouce i have done evey thing but get the part in the header too work
  23. Re: [Free v1] Close page system ok what would you do for ver 2
×
×
  • Create New...