[phpBB Debug] PHP Warning: in file [ROOT]/portal/includes/functions.php on line 597: Creating default object from empty value [phpBB Debug] PHP Warning: in file [ROOT]/portal/includes/functions.php on line 597: Creating default object from empty value [phpBB Debug] PHP Warning: in file [ROOT]/portal/includes/functions.php on line 597: Creating default object from empty value [phpBB Debug] PHP Warning: in file [ROOT]/portal/includes/functions.php on line 597: Creating default object from empty value FORUMS.DRUGCREW.COM • Portal
Released with full permission from Speedy - thanks mate! ___________________________________________________________
Commands:
/colour 0-255 0-255 0-255 0-126 0-126 0-126 0-126
eg. For aqua headlights and a black car.. /colour 0 142 102 0 0 0 0
- the first 3 are the light's RGB, then the 4 GTA car colours - only the first two are used by most cars - blank fields become a random colour
/colour - Toggle random light and car colours /drug - Purple Lights (102, 51, 255) black/pink/white/purple car /disco - Lights randomly change colour on black/white car /discocar - Lights and car colour change rapidly like KWOW. ___________________________________________________________
Background: With full permission from Speedy, I have taken his colorlights v2.5 mod and added lots more code.
This new mod from it, called "colour", manages the "Timer" threads better - cleans them up as the player leaves.
The only time errors now appear in the console is when switching between race rounds and when a player is dead awaiting respawn.. I am sure there's some kind of check I will eventually find to remove these errors, too.. but at this stage, it's still cleaner than it was.
It works between rounds, re-checking the player vehicle and re-applying the lights after map changes. All toggles work on each other, so /drug can disable /colour etc.
I have added support for daytime lights, using the lightsoverride function, also added randomizing car colours, like the lights, using /discocar.
OK, that has to be about the smoothest update I have experienced so far... every last bit worked perfectly - let me know if you spot any errors folks... I'll be testing thoroughly tonight from home.
*edit* It seems it's broken a few of the mods installed - easy to fix (*edit* fixed) - the recaptcha system has reverted to the default captcha (the ugly letters you have to OCR to prove you're human), stuff like this is an easy fix.. but please, if you see any similar errors, let me know in a private message.
*edit2* I've now checked over all the mods and confirmed only recaptcha broke.. it added back a few lines to the captcha area of ucp_register.php source - once they were removed, it displayed the recaptcha again and everything was back to how I originally set it. THEN I find in the administration panel that they've added support for recaptcha, since their old one was hackable.. if I had of just left the original code from 3.0.6 in, I could have just enabled recaptcha from a pretty pull down list.. but meh.. now it's already patched in the source to use the right one, I guess it doesn't matter - same result.
You may wonder why I even bother sharing stuff this technical when only another phpbb admin would have a hope of really understanding... this is all written mainly for my own reference, such that if I meet similar problems later, I am able to backtrack and see how I solved them.
In total there are 3 users online :: 2 registered, 0 hidden and 1 guest (based on users active over the past 60 minutes) Most users ever online was 1855 on Sat Mar 19, 2016 11:34 am
Total posts 10061
Total topics 1321
Total Announcements: 3
Total Stickies: 10
Total Attachments: 411
Page Loads: 56622129
Topics per day: 0
Posts per day: 1
Users per day: 0
Topics per user: 3
Posts per user: 23
Posts per topic: 8
Total members: 429
Latest: |CrF|Alan