endo
Members-
Posts
116 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Everything posted by endo
-
[mcCodes v2] Donator Pack About to Expire Warning
endo replied to CainFool's topic in Free Modifications
Re: [mcCodes v2] Donator Pack About to Expire Warning well yes if you plan to only alert on certain days that would be useful but if you wish to alert once a day the best way would be within a cron -
Re: Hospital Java Countdown find the line in shreks javascript : return Math.floor(x/60) + ':' + (x%60<10?'0':'')+x%60; and replace with return Math.floor(x/60/60%24) + ':' + (Math.floor(x/60%60)<10?'0':'')+Math.floor(x/60%60) + ':' + (x%60<10?'0':'')+x%60; //endo 0wnz J00 copy and pasters working for me if it doesnt work for you its something you end i havent come across any bugs, can be adapted for days if you want to use in federal jail but im not sure why you would want to :s but hey its you game
-
[mcCodes v2] Donator Pack About to Expire Warning
endo replied to CainFool's topic in Free Modifications
Re: [mcCodes v2] Donator Pack About to Expire Warning all depends on what you prefer to.... but it would only give the players with donator days the events so unless you have thousands of donators you would have thousands of events... -
[mcCodes v2] Donator Pack About to Expire Warning
endo replied to CainFool's topic in Free Modifications
Re: [mcCodes v2] Donator Pack About to Expire Warning use event_add() function within the daily cron ie event_add($r['userid'],"You have {$ir['donatordays']} left <a href=donator.php>Click here to buy a new donator pack </a>,$c"); dont copy and paste that its not 100% right its just a rough outline -
Re: Hospital Java Countdown correct that correction fixed it
-
Re: Hospital Java Countdown correction minutes not working correctly as of yet but am still working on it
-
[mcCodes v2] Donator Pack About to Expire Warning
endo replied to CainFool's topic in Free Modifications
Re: [mcCodes v2] Donator Pack About to Expire Warning yeah that will work as long as you dont use a query within it unless you use '..' -
Re: Hospital Java Countdown few small problems if you check your javascript :) just read through it and it wont cound hours just minutes and seconds i suppose not a problem if your running on minutes alone but to anyone else it will not count hours i can post a fix up for you if you want
-
Re: [V2] Mod To Help Advertisements Its a good idea but i would have thought that people who are paying for adds would have thought of this but for everyone else its useful regardless :) overall its good stuff +0.99
-
Re: Crime Update you dont really need a new function danny696 but im a prude for saving space :P could really shorten that right down to simply having one column set out for their exp and work out the brave from that ie $x=basicbrave; $newbrave=$x+($ir['braveexp']/(75*$ir['maxbrave']); $roundedoff=round($newbrave ,0); increases the users brave by one for every time their experience reaches above 75* by there current brave of course you can alter that to make it harder or easier to gain brave but that way is simple and effective just put it in the hourly cron or something to update for all users and boom job done no function needed lots of space save etc etc well my 2 cents
-
[Mccodes v2]In battle!, new attack system[mccodes v2]
endo replied to Kaien's topic in Requests & In Production
Re: [Mccodes v2]In battle!, new attack system[mccodes v2] well if anyone put up attack.php with one upgrade someone will hit back with another lol thats usually the way -
Re: Dreaming Out Loud seriously just use the one i put up it will work
-
Re: Dreaming Out Loud does the same thing as my idea, yours just takes up more space :| but each to their own
-
Re: [v1/v2] Auction Cron fully Fixed and tested undefined function? hmm well i wold try replacing $db-> with mysql_ and retype ("select * from auctions where time=0",$c); as ("SELECT * FROM auctions WHERE time = 0",$c) these small things may help
-
Re: Sell Your Gang VR1 he never said he made it read the first line of the post
-
Re: Sell Your Gang VR1 interesting dont think ive come across gang markets before how to end my post? :S er endo out lol
-
Re: Dreaming Out Loud erm he is not asking for support he is asking for a mod basically which i think ive provided him so technically its in the right place....
-
Re: Dreaming Out Loud ok this is quite easy really but i havent worked with mccodes in quite a while :S but if my memory serves me correctly the users location in mysql terms is just a number so {$ir['location']} would print out the location number that they are in so basically put echo ' [img=title{$ir['location'].jpg] '; print <<<OUT instead of print <<<OUT [img=title.jpg] and remember to upload the picture as title1.jpg for the first location and title2.jpg for the second location etc i think this is correct but if i were you i would wait for someone else to either A) flame this post or B) say +1 lol enjoy
-
Re: jail bust exp hmm shouldnt really be happening but if i where you id try just a simple rand(1, 10) instead of mt_rand(1, 10) and see if that changes things for you
-
Re: [mccodes][V2]changable currency mod Been looking and testing both ideas to be honest this will work for the value of the money but does not change the cost of an item.... so if i fly to location 3 with $100 i would end up with ?9,800 but a $5000 item would still cost ?5,000 makeing users unbeliavably rich so in simple terms it would be easiest to create a completely new php file and using some if statments and haunted dawg's idea of: function buffer($output) { return str_replace('$','?', $output); } ob_start('buffer'); and function buffer($output) { $money=($ir['money']*98.111111); return str_replace('whatever you use as money','$money', $output); } ob_start('buffer'); and function buffer($output) { $itemprice=($your_item_price*98.111) return str_replace('whatever your item price is','$itemprice', $output); } and that should be all remember this is just for illustrative purposes only would be more than glad if any one wants to actually finish it lol its 4 am for me and i really cant be bothered :mrgreen: ob_start('buffer');
-
Re: [mccodes][V2]changable currency mod There ya go dayo thats what i was talking about good one :)
-
Re: [mccodes][V2]changable currency mod :| anyone just thought to throw in an array with a simple if statement to change the currency to where you travel ie $array=array(1 => '$', 2 => '?'); and then simply matching the number for each array to the city id......... and then replacing in the money_formatter function the $ for the variable.... just an idea shoot down my logic if there is a problem with it
-
Re: [mccode v2] Honor Awards - Modified by HarryB check your queries in your honour exchange file
-
Re: [v2] Create a Crystal The coding is ok but the actual effect this would have on your game would be massive economy could rise like crazy but then again this is easily fixed by adding random chances that they will fail at making a crystal or the quality of the crystal may be lower randomly or both of those at the same time lol well my 2 cents basically is that code wise its good but economic wise its not great +0.5
-
[mccode] Updated friends, black list & preferences
endo replied to 03laceys's topic in Free Modifications
Re: [Mccodes V1 & V2] Updated friends, black list & preferences looks good 03laceys like it but a lot of profile modifications has to be done to include some preference changes but still overall its good :D +1