Jump to content
MakeWebGames

Mcfarlin

Members
  • Posts

    205
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by Mcfarlin

  1. main thing was it let the users do the things over and over the checks were not working to make sure they had not done it already within the time allowed. and a couple places it just looked like you typed like i do sometimes, to fast. lol   nothing serious.   but i did change the way it added the house_id to the player so they gain access to the page, i have it inserted at registration. but limited it to donors only. it was a bugger getting the current players updated using my method though. lol i have a few ppl testing it now, after i get what they find (hopefully nothing) i will post it for all.
  2. Mcfarlin

    Google Wave

    i have an account, but its lacking a littel as there are not enough ppl with accounts thus far. i like the idea though, its a nice change from the way we communicate now. my company is actually looking at it to make our own version to use in the place of our current mail system. im looking forward to seeing more being built into and added onto it in the future.
  3. They all look good bro. and i dont blame ppl for not wanting their sites mentioned here. im one of em. hehe
  4. looked into this one, and not a bad deal really. but dont go there thinking your $20.00 is gonna get you players in your game. lmao if your seriously wanting advertising they offer a nice little service that should get you what you pay for. Thats not a bad deal at all.
  5. i have a little bit different version of this im testing now.   i will post it in a few hours after the testing confirms there are no exploits of bugs in my version.
  6. are you still selling any of these?
  7. lol how bout the commission of the sales bro, hook me up with 30% k. :P
  8. i found a few other things in this too.   i will post the whole thing when i get it worked over. while my little thing does not work the way it is now added one entry for each house they buy as well, looking to fix it.
  9. is adventgridnumbered.png and placed it into your public_html folder? and are all the other door images in a folder names xmas? is the xmas folder in folder named images? if so it should be showing you the images, if not you will have to either change the code to point to the location your images are or change the location of the images to match how the code is calling for htose images.   you cant have them in a folder called image/xmas. ->make a folder called xmas inside your images folder, put the door pics in the xmas folder.
  10. how about making the gang leaders a place to go trade in respect points for crystals, cash, or special items? maybe even trade respect points for the upgrades to the gangs?
  11. Again, this system is between you and another user completely independently of any other attacks you make on other users.????????? Just how big are you wanting to make the users table?   the updating on a rolling 24 hours thing could be done with timestamps tho.   i can make something similar to this i think pretty easy, its the request to make it user by user unique that i cant think of a way to do.
  12. okay now that the first part is working, where do you have the images??? think about it a little, look in the code where it calls for the images and see that you have the images in the right folder. if you uploded them to your images folder the calls for them will have to be but if you have them in a folder called ADVENT and its inside IMAGES it will be just look and make sure you 1. have uploaded the images. 2. have them in a folder for organizational purposes. 3. VERY IMPORTANT that your calling the images from the location you have them uploaded to.
  13. PM me or post your cron_fivemin.php
  14. http://www.w3schools.com/css/default.asp will help you for a start. you will need to know a little CSS to get what your after here.
  15. okay if you cant add em all at once go through and add them one at a time. yes i know thats 27 times.
  16. looks like the SQL you used was a little off. go look at the USERS table and see if you have added frame1, frame2, frame3, frame4, frame5, frame6, frame7, frame8, frame9, frame10, frame11, frame12, frame13, frame14, frame15, frame16, frame17, frame18, frame19, frame20, frame21, frame22, frame23, frame24, frame25 to it. if not you need to run the SQL so they are there when you call them. [mysql]alter table users add `frame1` int(2) NOT NULL DEFAULT '0' alter table users add `frame2` int(2) NOT NULL DEFAULT '0' alter table users add `frame3` int(2) NOT NULL DEFAULT '0' alter table users add `frame4` int(2) NOT NULL DEFAULT '0' alter table users add `frame5` int(2) NOT NULL DEFAULT '0' alter table users add `frame6` int(2) NOT NULL DEFAULT '0' alter table users add `frame7` int(2) NOT NULL DEFAULT '0' alter table users add `frame8` int(2) NOT NULL DEFAULT '0' alter table users add `frame9` int(2) NOT NULL DEFAULT '0' alter table users add `frame10` int(2) NOT NULL DEFAULT '0' alter table users add `frame11` int(2) NOT NULL DEFAULT '0' alter table users add `frame12` int(2) NOT NULL DEFAULT '0' alter table users add `frame13` int(2) NOT NULL DEFAULT '0' alter table users add `frame14` int(2) NOT NULL DEFAULT '0' alter table users add `frame15` int(2) NOT NULL DEFAULT '0' alter table users add `frame16` int(2) NOT NULL DEFAULT '0' alter table users add `frame17` int(2) NOT NULL DEFAULT '0' alter table users add `frame18` int(2) NOT NULL DEFAULT '0' alter table users add `frame19` int(2) NOT NULL DEFAULT '0' alter table users add `frame20` int(2) NOT NULL DEFAULT '0' alter table users add `frame21` int(2) NOT NULL DEFAULT '0' alter table users add `frame22` int(2) NOT NULL DEFAULT '0' alter table users add `frame23` int(2) NOT NULL DEFAULT '0' alter table users add `frame24` int(2) NOT NULL DEFAULT '0' alter table users add `frame25` int(2) NOT NULL DEFAULT '0' [/mysql] while your looking, if those are not there already you will have to add these two as well. [mysql]alter table users add`calturn` int(2) NOT NULL DEFAULT '0' alter table users add`calcount` int(2) NOT NULL DEFAULT '0'[/mysql]
  17. glad to contribute where i can, i have learned a tone from MWG forums. least i can do is give what little i know how to give back. thx :thumbup: for the plus 10 lol
  18. nice little mod curt, unfortunately i found a few things in the wrong withing it, so i hope ya dont mind me posting this. here are the fixes. works great now. line 337 find [mysql]$db->query("UPDATE users SET money = money - %u WHERE userid = %u",25000000,$userid));[/mysql] replace with [mysql]$db->query(sprintf("UPDATE users SET money = money - %u WHERE userid = %u",25000000,$userid));[/mysql] line 352 and 353 [mysql]$db->query{sprintf("UPDATE home_users SET home_bed = %u WHERE home_userid = %u",1,$userid); $db->query(sprintf("UPDATE users SET money = money - %u WHERE userid = %u",100000000,$userid);[/mysql] replace with [mysql]$db->query(sprintf("UPDATE home_users SET home_bed = %u WHERE home_userid = %u",1,$userid)); $db->query(sprintf("UPDATE users SET money = money - %u WHERE userid = %u",100000000,$userid));[/mysql] lines 368 and 369 [mysql]$db->query(sprintf("UPDATE home_users SET home_refridgerator = %u WHERE home_userid = %u",1,$userid); $db->query(sprintf("UPDATE users SET money = money - %u WHERE userid = %u",15000000,$userid);[/mysql] replace with [mysql]$db->query(sprintf("UPDATE home_users SET home_refridgerator = %u WHERE home_userid = %u",1,$userid)); $db->query(sprintf("UPDATE users SET money = money - %u WHERE userid = %u",15000000,$userid));[/mysql] 384 and 385 [mysql]$db->query(sprintf("UPDATE home_users SET home_stove = %u WHERE home_userid = %u",1,$userid); $db->query((sprintf"UPDATE users SET money = money - %u WHERE userid = %u",20000000,$userid);[/mysql] overwrite with [mysql]$db->query(sprintf("UPDATE home_users SET home_stove = %u WHERE home_userid = %u",1,$userid)); $db->query(sprintf("UPDATE users SET money = money - %u WHERE userid = %u",20000000,$userid));[/mysql]   i kept getting the same end page error as well in home.php so frusterated i removed the $h->endpage(); line from it. lol   now in estate.php you dont really need to add this [mysql]if ($home['home_userid'] == $userid) { $db->query("UPDATE home_users SET home_houseID = {$_GET['property']} WHERE home_userid = {$userid}"); } else { $db->query("INSERT INTO home_users VALUES '$userid', $_GET'property']},'','','','','','','')"); }[/mysql]   just add [mysql]$db->query("INSERT INTO home_users VALUES('$userid',{$_GET['property']},'','','','','','','')");[/mysql] right under [mysql]$db->query("UPDATE users SET money=money-{$np['hPRICE']},will=0,maxwill={$np['hWILL']} WHERE userid=$userid");[/mysql]   get all those corrected and your good to go bro.   Now how about all those users who are already in the game and have houses? lol
  19. okay anyone else tiered of not getting a new mail notification when one is sent out as a mass mail?   i know this isnt much other than a VERY small fix. in yourgang.php find [mysql]$db->query("INSERT INTO mail VALUES('', 0, {$ir['userid']}, {$r['userid']}, unix_timestamp(),'$subj','{$_POST['text']}')");[/mysql] and right after it simply add [mysql]$db->query("UPDATE users SET new_mail=new_mail+1 WHERE gang={$ir['gang']}");[/mysql] remember guys not everyone here KNOWS how to code, this is just a little something for those who want it.
  20. nice one illusions. but i used this to add to the warview itself. Added [mysql]echo "<h3>Gang War Members</h3>"; print "<table cellspacing='1' class='table'>"; echo "<tr>"; echo "<th>Gang</th>"; echo "<th>User</th>"; echo "<th>Level</th>"; echo "<th>Days In Gang</th>"; echo "<th>ACTION</th>"; echo "</tr>"; $select = sprintf( "SELECT gw.warTIME, g.gangID, g.gangNAME, u.userid, u.username, u.hospital, u.jail, u.level, u.daysingang " . "FROM gangwars gw " . "LEFT JOIN gangs g ON ((gw.warDECLARER = g.gangID) OR (gw.warDECLARED = g.gangID)) " . "LEFT JOIN users u ON (g.gangID = u.gang) " . "WHERE ((gw.warDECLARER = %1\$u) OR (gw.warDECLARED = %1\$u)) AND (g.gangID != %1\$u) " . "ORDER BY g.gangID ASC", $gangdata['gangID']); $query = $db->query($select); while($r = $db->fetch_row($query)) { echo "<tr>"; echo sprintf("<td>%s</td>", stripslashes(htmlspecialchars($r['gangNAME']))); echo sprintf("<td>%2\$s [%1\$u]</td>", $r['userid'], stripslashes(htmlspecialchars($r ['username']))); echo sprintf("<td>%s</td>", number_format($r['level'])); echo sprintf("<td>%s</td>", number_format($r['daysingang'])); echo sprintf("<td>%s</td>", (!$r['jail'] && !$r['hospital']) ? sprintf("Attack", $r['userid']) : "<span style='color:#444;'><font color='red'>Unavailable</font></a>"); echo "</tr>"; } echo "</table> > Back"; } [/mysql] to the warview function and left the link as it was
  21. This is not that complex. there is not a time allotted to the user that they will have health care. If the user selects this option while they are in the hosp, this simply sets the hosp time to half.
  22. Item buy/sell logs Gym record with logs and amounts trained items used bank records the ability to see in gang forums without going into the db gang vault logs, mass payment logs travel logs?? lol crystal temple logs cmarket job history maybe, depends on the jobs you are useing. (points) item market logs   ummmmm..... i cant think of anything else. not sure if those are what your talking about, just what popped in the cranium.
  23. take that line out, immortal forgets that we dont have that in our games. lol EDIT--- Doing('At the stock market.'); (delete that whole line) you will have to take out the include_once (DIRNAME(__FILE__). '/bbcode_parser.php'); bit as well unless you have that file.
  24. no you said "Good idea but really, why use this if you know how to use the database? This is just more for hackers to mess around with" no mention of as long as your panel is secure   but im at the point i cant care any less than i do currently. and im not in the best of moods by any means, so im gonna just keep quiet and go back to just watching the posts and not trying to add to them. you know like most of the other ppl that come here to only take and never contribute. speaking of contributing..............feel free to post the stuff you have made, cuz im not finding any of it when i search your posts bro? why might that be?.....lmao     immortal ---------- i will post it when i get it done, but not now. im not in the mood to work on it anymore now.
  25. have it your way then bro, just trying to give something to those who are trying to learn here. myself being one of them. but guess what? ill just stop here and keep all my stuff to myself, so nobody shares anything anymore then. :thumbsup: just cuz you dont like it.   edit"why use this if you know how to use the database? This is just more for hackers to mess around with" its in the staff panel, secure it and you have no worries.     I will not be posting the rest of this-------------------------------------------------------------------------------------------- :p but for those who may NOT KNOW how to add things to your games in the SQL form you can add them with this. [mysql]INSERT INTO `compspecials` (`csID`,`csNAME`,`csJOB`,`csCOST`,`csMONEY`,`csCRYSTALS`,`csITEM`,`csENDU`,`csIQ`,`csLABOUR`,`csSTR`) VALUES (' ','put the csname here','5','5','5','1','6','6','6','66')[/mysql] edit the numbers to what you want them to be, just follow the order from the insert above and change the numbers to match your aim on the special your adding.
×
×
  • Create New...