-
Posts
1,099 -
Joined
-
Last visited
-
Days Won
3
Content Type
Profiles
Forums
Events
Everything posted by Lithium
-
Re: gym exp $db->query("UPDATE `users` SET `exp` = exp+(exp*0.01) WHERE `userid` = $userid"); but then... this is not where stats are changed, maybe userstats should be correct no?
-
Re: gym exp gain=experience+(experience*0.01) something along these lines
-
Re: Cron Errors yes, code should be there
-
Re: Cron Errors curl is not needed ;) And yes place the 0/5 with the slash :)
-
Re: Cron Errors basedir/path/to/cron/file/cron.php?code=string placing this on the input and setting the time ought to be more than enough 0/5 * * * * <- five minutes
-
Re: Dogdy bussines Seems you are not the first one, as i've seen!
-
Re: Advertising That would be good, though a lot of countries are yet unsupported by that system, unfortunatelly!
-
Re: attack problems if ($odata['hp'] < $odata['maxhp']/2) { go away! we're closed or something }
-
Re: Energy problem probably not the best way but a work around... adding a new field to users table "donatormaxenergy" to override "maxenergy" if donatordays > 0 and adding a new line to cron in these guides UPDATE users SET energy=energy+(donatormaxenergy/(whatever)) WHERE energy<donatormaxenergy AND donatordays>0 ... this is just a guide, i don't even know if something on these lines would work, though probably i will, and as of energy usage on other places such as gym... you only need to add a few lines to update energy accordingly, as "energy" field is the same
-
Re: Question.. as thahacker07 told you, V1 and lite are basicly the same, though ocasionally you might bump into one or other missing parameter, no biggie here as they are all usually quick fixed and if you get to know the code, you will notice it is quite an easy task. even V2 mods can be converted to V1 standards, with more or less work, they can be all working in V1 (lite in your case). Just check the V2-V1 conversion thread and off you go!
-
Re: MCcodes v2 Exploit Patches using the search option would be the way to get it. i believe you will find around 2 or 3 codebits that do it :)
-
Re: Which piece of code is better to use? true when ctype_digit() vs. ereg(), though benchmark it against is_numeric() and you'll see that is faster than ctype_digit() ;)
-
Re: Warning to all buyers about killah The least a seller can do is to sell whatever in the minimum functional conditions, i don't say about security though, as i think each game owner is responsible for it, but the mods lacking functions... hell that is FULL responsability of whoever sells the mod. Take it as an example... i have placed a mod to sale, and someone told me i was missing a function there... corrected it and as soon as it was fixed, i simply sent to ALL buyers the fixed file. This is the least a seller CAN and SHOULD do.
-
Re: [MCCodes V2] Jail/Hosp Count As a matter of fact... you can! you have a couple of ports to windows on the cronjobs. just google for "win cron" or "windows cronjobs" :)
-
Re: [REQUEST] Users Online hmmm that is a simple change on the usersonline sql statement... $q=$db->query("SELECT * FROM users WHERE laston>unix_timestamp()-15*60 ORDER BY laston DESC"); <- default usersonline $q=$db->query("SELECT * FROM users WHERE laston>unix_timestamp() ORDER BY laston DESC"); <- shows all
-
Re: Which piece of code is better to use? they are "basicly the same", and you could also include a thrid one, ctype_digit(). though if you want to speed up code... ereg() ctype_digit() - faster than ereg() is_numeric() - faster than ctype_digit() Hope, this is what you wanted to know ;)
-
Re: [mccode] Free Starter Pack this works, but it give the stuff every time you login.lol it only gives stuff everytime you login IF you don't update "laston" field, otherwise it does give ONE time as of first login!
-
Re: Time to Guess Nynas Age ;) Couldn't agree more to that one!!! so that makes you like... 18? ;)
-
Re: Time to Guess Nynas Age ;) 44
-
Re: Funny things To Google one more... Just type in: Why google sucks and I'm feeling lucky
-
Re: Announcement table in Lite Well, Dazza's right... seems to me you need to learn HTML basics first and then start to ask around more elaborate things
-
Re: mccode v2 probably the passwords that are already encrypted...
-
Re: Variables.. i don't know about it though i found an article that somehow might point you in the right direction http://blog.quomon.com/question_How-I-unset-variable-array-element-object-property-JavaScript_836.aspx
-
Re: [mccode] Battle Arena [$20] Iso, you should also consider fixing the "display" as it cycles through every single hour, making a sh*load of uneeded lines when displaying the results ;)
-
Re: [v2]Assassin.php[v2] Well... for the age of the post... you could try and fix it... :)