Uridium Posted December 18, 2008 Posted December 18, 2008 This Mods Sends a Prcael when created by admin to a random user once a present has a lyer removed its moved onto the next member until the defined layers have been removed and the prize gained.... SQLS You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Call this file staff_parcel.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. add these links to smenu.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. PART 2 BELOW Quote
Uridium Posted December 18, 2008 Author Posted December 18, 2008 Re: [Mccodes v2] Pass Parcel or Secret Santa [Working Copy] open up inventory.php or items.php Add.... You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Now call this File wrapper.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Open up global_func.php add this under the <?php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
shaved92bravada Posted December 18, 2008 Posted December 18, 2008 Re: [Mccodes v2] Pass Parcel or Secret Santa [Working Copy] looks awesome illusions. I will definately be checking this out once I get done making sure my template conversion to ingame pages comes out all right.... Quote
zbirc3 Posted December 18, 2008 Posted December 18, 2008 Re: [Mccodes v2] Pass Parcel or Secret Santa [Working Copy] You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. :( also You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
Haunted Dawg Posted December 18, 2008 Posted December 18, 2008 Re: [Mccodes v2] Pass Parcel or Secret Santa [Working Copy] Is that the full script in wrapper.php? Quote
Uridium Posted December 18, 2008 Author Posted December 18, 2008 Re: [Mccodes v2] Pass Parcel or Secret Santa [Working Copy] Is that the full script in wrapper.php? Not as yet still working on the part to update user inventory with parcel gift.. also the Cron needs re-touching.. Just after i posted I found an error so erased the unworking parts from the wrapper.php Quote
zbirc3 Posted December 18, 2008 Posted December 18, 2008 Re: [Mccodes v2] Pass Parcel or Secret Santa [Working Copy] +1 but i'm having troubles with it, Illusions. Mind going on MSN? Quote
Uridium Posted December 18, 2008 Author Posted December 18, 2008 Re: [Mccodes v2] Pass Parcel or Secret Santa [Working Copy] Ive got the drop down settings wrong will fix it and repost. Quote
Uridium Posted December 18, 2008 Author Posted December 18, 2008 Re: [Mccodes v2] Pass Parcel or Secret Santa [Working Copy] IGNORE THE staff_parcel.php Above and use this one.... You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. ALSO add this to global_func.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
MyGunWars Posted December 18, 2008 Posted December 18, 2008 Re: [Mccodes v2] Pass Parcel or Secret Santa [Working Copy] I keep unwrapping a parcel but it never gives it to me when I set it to 5 I have done it more then 20 times. Quote
Haunted Dawg Posted December 18, 2008 Posted December 18, 2008 Re: [Mccodes v2] Pass Parcel or Secret Santa [Working Copy] Script's not completly finished. Quote
Uridium Posted December 18, 2008 Author Posted December 18, 2008 Re: [Mccodes v2] Pass Parcel or Secret Santa [Working Copy] Sorry about that guys it was finished up until the point i found a bug which is causing issues I have removed the ability to get a reward from the above script until i can find a cure for it.. But adding the script as it is now will not harm anything and will be easier for you when ive completed the wrapper.php file.. Quote
HITMAN 17 Posted December 18, 2008 Posted December 18, 2008 Re: [Mccodes v2] Pass Parcel or Secret Santa [Working Copy] Parse error: syntax error, unexpected $end in /home/thedestr/public_html/global_func.php on line 453 Quote
03laceys Posted December 18, 2008 Posted December 18, 2008 Re: [Mccodes v2] Pass Parcel or Secret Santa [Working Copy] add a } before ?> Quote
HITMAN 17 Posted December 18, 2008 Posted December 18, 2008 Re: [Mccodes v2] Pass Parcel or Secret Santa [Working Copy] also still missing sql illusions nice try though Quote
Uridium Posted December 19, 2008 Author Posted December 19, 2008 Re: [Mccodes v2] Pass Parcel or Secret Santa [Working Copy] Dont worry I havent forgot about this Post im still on the case ;) Big thanks to Radio_Active though for his generous help on the project :) Im hoping to have the working copy and i mean WORKING copy posted later today.. Probably wont have as many functions as i did declare thats coz MCC's crap.. lol and im a crap coder :) Reason for edit FAT FINGERS... Quote
gurpreet Posted December 19, 2008 Posted December 19, 2008 Re: [Mccodes v2] Pass Parcel or Secret Santa [Working Copy] Dont worry I havent forgot about this Post im still on the case ;) Big thanks to Radio_Active though for his generous help on the project :) Im hoping to have the working copy and i mean WORKING copy posted later today.. Probably wont have as many functions as i did declare thats coz MCC's crap.. lol and im a crap coder :) Reason for edit FAT FINGERS... 1) Great work, and good job Radio_Active for helping 2) Your not a 'crap coder' because you can do 100x what I can do. Don't be modest :P Quote
HITMAN 17 Posted December 19, 2008 Posted December 19, 2008 Re: [Mccodes v2] Pass Parcel or Secret Santa [Working Copy] it will be to late when this is done christmas will be gone for another year :( Quote
shaved92bravada Posted December 19, 2008 Posted December 19, 2008 Re: [Mccodes v2] Pass Parcel or Secret Santa [Working Copy] also still missing sql illusions nice try though Thats an easy fix.... just go through the script and figure out what its missing and add it yourself. Quote
03laceys Posted December 19, 2008 Posted December 19, 2008 Re: [Mccodes v2] Pass Parcel or Secret Santa [Working Copy] Mmm still not there :cry: Come on illusions :P Quote
HITMAN 17 Posted December 20, 2008 Posted December 20, 2008 Re: [Mccodes v2] Pass Parcel or Secret Santa [Working Copy] 5 days till christmas i will put a bet on with someone if illusions finishes i will give them +2 if but if he dont you can give me +2 even thoug you will all give me - for this post :( Quote
Uridium Posted December 20, 2008 Author Posted December 20, 2008 Re: [Mccodes v2] Pass Parcel or Secret Santa [Working Copy] Sorry for the delay had to test it first...... the sqls are the same with one extra. open inventory.php or items.php ADD You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Thanks to Radio-Active for this script :) Call this file wrapper.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. RESTRUCTURED staff panel for parcels call this file staff_parcel.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. add the following to your users tabel ALTER TABLE users ADD parcel INT (11) DEFAULT '0' No Need For a Cronjob.. Quote
jds137 Posted December 20, 2008 Posted December 20, 2008 Re: [Mccodes v2] Pass Parcel or Secret Santa [Working Copy] I admit it, I beat illusions with a club, and hid em in zeros basement. So I guess no more xmas codes from him. Quote
zbirc3 Posted December 20, 2008 Posted December 20, 2008 Re: [Mccodes v2] Pass Parcel or Secret Santa [Working Copy] uh, THIS should be the staff_parcel.php Reason: Some of the queries were mixed up with the parcel types query, ect... You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. also can anyone fix my Wrapper.php for me cuz it keeps saying i dont have a parcel in my possession as soon as i click on unwrap layer after i click remove layer in inventory. Quote
Uridium Posted December 20, 2008 Author Posted December 20, 2008 Re: [Mccodes v2] Pass Parcel or Secret Santa [Working Copy] I'll leave you too it obviously you seem to know more about it than me lol oh and regards the updated staff_parcel that you say ISNT correct how about using it and finding out :) Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.