
Dominion
Members-
Posts
2,447 -
Joined
-
Last visited
-
Days Won
9
Content Type
Profiles
Forums
Events
Everything posted by Dominion
-
the steal item part could be made in less if you know what you're doing...
-
you may wish to post a few free mods 1st to show off what you can do. if people know your mods are up to up to scratch the money goes up a little and sales a lot (if it's a good mod anyway). :)
-
quick example (in answer to the pm) <?php $array = array(1,3,6); $rand_keys = array_rand(array_flip($array), 1); echo $rand_keys; ?> i am sure there is a better way but that would work :)
-
use an array http://php.net/manual/en/function.array-rand.php
-
23:00 - 00:00 GMT and it's still slow for me now (tho it's only 23:50 i am sure it will last 10 more mins)
-
i thought paypal's sandbox did not need money in your account in order to work? anyways i like the sound of this post a link when you're done :)
-
are you on mccodes lite? If so i think there is a free hospital mod (and jail if you want it) but i feel the best thing about lite is you don't need to go down this way. don't use attack put in hospital, wait 10 mins, you're out, you train. make it unique.
-
[mccode v2.x] Richards Business Mod--Fixed With a few Things added.
-
you should but only to a point. whats the point in having 100's of mods all with links to a site to get support? if you don't support a free mod thats fine, however if you do you should on the site it's posted on. your mods you gave support on mwg and your own site so that should be fine. you could just help the ones who try and learn? Nickson and a_bertrand help to run the site and are online more or less everyday. the "few select people" are posting because they are. they do not post only to keep the site active, therefore the sites active as people are posting. any site with no members is dead. the fact mccodes are not around (as they have not been since way before i joined the site) does not really matter. now they own the site it just means people take more notice, however does not matter really.
-
Which Pages to Secure your game---A must read---
-
well people do try and open sites that do to a point copy mwg, none of them end up bigger nor do they ever last (if there exact copies). the sites that open are always based around mccodes as mwg is, and this is why they always fail. why would anyone go to a site thats the same but with less support? anyway i don't think it's a big issue
-
just for confirmation it's not just him. last night the site was taking a long time to load and this morning it was only a little better.
-
Second C# tutorial => a simple breakout game
Dominion replied to a_bertrand's topic in Other Programming
not had a real look yet, however if it's like your first one it will be amazing. :) thanks for something different. -
not being funny but most of us are on more then one site. so how is this site dying holding us back?
-
i count active as posting not just logging in taking a free mod and running away again. i could be alone in this but o well lol
-
that or no one is willing to post anything anymore. would be shocked if mwg had more then 25 active members still.
-
no config.php does not connect you to the database you could just use mysql_connect() at the top of the file and mysql_query() that way? may i ask what the file is doing? if it's public just keep globals
-
he was here for that lol you have missed ummmm nothing
-
true, however if you look in the 1st post config.php is already being included and connecting to the database would have been a given. it's still better then including the whole globals file if you don't need to.
-
globals also puts the header and the querys that take everything out of the user table and so on. If it's a cron or something the user will never need to see then no you do not need globals.php to use $db-> just the class file. of course the class file gets included at the top of globals anyway so it would still work, just not needed all the time.
-
to use $db->query you need to include the class file not just the config one
-
well for lite to really get anywhere you would have updated it with more or less everything it needs anyway. at that point paying $100 for v2 is pointless in my opinion.
-
the main big thing v2 has over v1/lite is the staff side of the game (well in my opinion) and it's not worth $100. if you have a game up and running anyway. if you want gangs or anything like it buy v1 and use them, however you should know you're going to end up with a game like all the rest doing it this way. if you spend $100+ on mods unique to your site make sure there mods worth the money, and you're not spending money on a clone of whats already on 100s of sites
-
if you're going to ask for help at least copy and paste the error...
-
function ddays_add() { global $ir,$c,$userid,$h; $price = 2000; //change 2000 to the price you want DDays to sell / buy for $_POST['amnt'] = abs((int) $_POST['amnt']); if($_POST['amnt']) { if($_POST['amnt'] > $ir['donatordays']) { die ("You are trying to add more Donator Days to the market than you have."); } $tp=$_POST['amnt']*$price; mysql_query("INSERT INTO ddaysmarket VALUES('',{$_POST['amnt']},$userid,$tp)", $c); mysql_query("UPDATE users SET donatordays=donatordays-{$_POST['amnt']} WHERE userid=$userid", $c); echo "Donator Days added to market! > Back"; } else { echo "Adding a listing...You have {$ir['donatordays']} Donator Days that you can add to the market.Donator Days: $ ".number_format($price)." per each donator day"; } } yes that function so does not let you add days to the market... ^^sarcasm btw if you're sure it does not work fix it...