Jump to content
MakeWebGames

POG1

Members
  • Posts

    1,419
  • Joined

  • Last visited

Everything posted by POG1

  1. Re: Is It Possible? if you are going to use a table (not recommended) take a look at using colspan and rowspan
  2. Re: [V2]Faulty Stats Try using a free gym script, the mc script is poo.
  3. Re: [v2] Iframes in header.php The only bad thing with frames is that it will have to scroll if the content if longer than the frame its self, in websites i think it looks very cheesy. You probably could use JS to change it.
  4. Re: [V2]Faulty Stats It sounds like it not updating the database
  5. Re: [v2] Iframes in header.php Is it worth it?
  6. Re: [V2] User List Question Yeah they will be, you obviously don't want to use the get data directly though
  7. Re: [mccode V2] Attack updated This will be a bit better for the name format function c = array('green','orange','red',yellow'); $color = ($row->donatordays > 0)?'6ff':'fff'; $color = ($row->userid == 1)?$c[mt_rand(0,3)]:$color; return '[url="viewuser.php?u='.$row->userid.'"]<span style="color:#'.$color.';">'.$row->username.'[/url]';
  8. Re: [V2] User List Question Also, try not to select all from both tables ;)
  9. Re: need help with crons Just add into a separate table and you will only need to update 1 field ;)
  10. Re: item market cap BIGINT[(M)] [uNSIGNED] [ZEROFILL] A large integer. The signed range is -9223372036854775808 to 9223372036854775807. The unsigned range is 0 to 18446744073709551615. It should work. Try unsigned as well, it can go even larger
  11. Re: need help with crons Think about this; 10,000 users in your database an event to everyone in the day cron for example Thats an additional 10k rows into the DB a day before any other events are added. It would probably be best to add a mod that notifies that the cron has been done instead of adding events.
  12. Re: help with this formula The second will produce an error and why not just add an exp cap?
  13. Re: [mccode V2] Attack updated why not just post the name format function?
  14. Re: need help with crons   really? event_add(user,message,connection) this is a "big ass insert" Event add will add it for 1 user..
  15. Re: need help with crons you would need to do a big ass insert into the database.
  16. Re: Looking for a one click attack system that works with V2 If you want it done properly then probably like $40
  17. POG1

    template engine

    Re: template engine Try something like.. $main_content = 'lorem ipsum.';
  18. POG1

    template engine

    Re: template engine Yeah, but he could probably be using the parameter with a GET variable.
  19. Re: Looking for a one click attack system that works with V2 a do while would be a better loop, it's a matter of opinion though..
  20. Re: Looking for a one click attack system that works with V2 Check this out, it should give you some indication as to how you can do it. $attacking = FALSE; do { echo 'attack!!!'; // edit variables and when the attack is finished set $attacking to TRUE } while ($attacking == FALSE);
  21. POG1

    template engine

    Re: template engine @shedh. Smarty will do all the work for you, all you will need to do is declare the class and build the page. include("./mods/$page.php"); That could be potentially dangerous. Check out these functions that could help you from getting attackes. Isset Ctype Alnum File Exists
  22. Re: [mccode] Crimes give random money Why add an additional field? You can simply calculate it within the file. All it would take is an additional line. Think about something like this $money = 10000; // value from DB $moneyGain = mt_rand(($money * 0.8),$money); /* min = 80% of $money, max = $money */
  23. Re: cron jobs and event_add have you included the file that contains that function?
  24. Re: cron jobs and event_add do you only want to send it to 1 user?
  25. Re: Limiting how big your will bar grows I haven't tried it but you could use 2 divs.. PHP echo '<div class="outerBar">'. '<div class="innerBar" style="width:'.(($ir['will'] / $ir['maxwill']) * 100).'%;"></div>'. '</div>';   CSS div.outerBar { background:#900;width:150px;overflow:hide; } div.innerBar { background:#090; } div.innerBar, div.outerBar { height:5px;margin:0;padding:0; }
×
×
  • Create New...