legrolls Posted July 1, 2009 Posted July 1, 2009 This basic mod allows you to create your own crystal by buying materials. Once you create a crystal successfully, you also gain a small amount of exp. It's not that great, but I didn't see any up here, so I thought I might as well post mine. It's based off of a car racing mod around here, and it was the first mod I ever made. run this sql You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. makecrystalbuy.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. makecrystal.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Somewhere, in the explore page, just link You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. wherever you want it. Quote
EpicFuse Posted July 1, 2009 Posted July 1, 2009 Re: [v2] Create a Crystal not bad to be onist +1 :wink: Quote
eido Posted July 1, 2009 Posted July 1, 2009 Re: [v2] Create a Crystal Looks ok. Could be many add on's to this but since this is your first mod i'm giving you a +1 Quote
endo Posted July 2, 2009 Posted July 2, 2009 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 Quote
EpicFuse Posted July 2, 2009 Posted July 2, 2009 Re: [v2] Create a Crystal im trying to recode so you have to pay 5mil as a 1 time fee and make crystels from that any help apritiated Quote
Danny696 Posted July 2, 2009 Posted July 2, 2009 Re: [v2] Create a Crystal i love the idea of the mod i may use the base coding in it but i will edit it for my personal use. Quote
Dayo Posted July 2, 2009 Posted July 2, 2009 Re: [v2] Create a Crystal Make a table in users called cmake default -1 then add this code to the page If ($ir[cmake]==-1) { echo 'you need to pay $5,000,000 to make crystals'; $h->endpage(); EXIT; } Finish this off as I can't as I'm at work Quote
Guest Sniko` Posted July 2, 2009 Posted July 2, 2009 Re: [v2] Create a Crystal Make a table in users called cmake default -1 then add this code to the page If ($ir[cmake]==-1) { echo 'you need to pay $5,000,000 to make crystals'; $h->endpage(); EXIT; } Finish this off as I can't as I'm at work You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Hopefully that works Quote
CrazyT Posted July 2, 2009 Posted July 2, 2009 Re: [v2] Create a Crystal You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Made it easy to read. lol. Quote
jonomatt Posted July 2, 2009 Posted July 2, 2009 Re: [v2] Create a Crystal hmmm i wouldnt have this mod becuase i think it would be too easy for people to get crystals then, I mean, the crystal temple means u can trade in crystals for any price, but mines only $200 i dont see how this would benefit my game, sorry. Quote
Guest Sniko` Posted July 2, 2009 Posted July 2, 2009 Re: [v2] Create a Crystal Well, at least he tried Quote
jonomatt Posted July 2, 2009 Posted July 2, 2009 Re: [v2] Create a Crystal I never said he didnt i think its a good idea and maybe if i had crystals agian as well as points maybe i would use it. +1 mate Quote
weewooz Posted August 4, 2009 Posted August 4, 2009 Re: [v2] Create a Crystal Ok i kinda like this mod it could go far maybe if we make so users can say only make say 5 aday i know it would restrict it in terms of playing time but we keep users abit more busy and limits the amount of crystals and cash in your game just a thought Quote
Danny696 Posted August 4, 2009 Posted August 4, 2009 Re: [v2] Create a Crystal mabey have this as a rare currency so you have to have ... items to make a (lets say) ruby etc Quote
weewooz Posted August 4, 2009 Posted August 4, 2009 Re: [v2] Create a Crystal yeah danny great idea might have a play round with this see what comes of it Quote
weewooz Posted August 4, 2009 Posted August 4, 2009 Re: [v2] Create a Crystal ok to limit to 5 times aday to make a crystal this will need to be added to cron right or could i use timestamp would that work Quote
KDawg08 Posted August 7, 2009 Posted August 7, 2009 Re: [v2] Create a Crystal Thanks for this mod, I have HUGE HUGE ideas for modifications on this. :) Quote
legrolls Posted August 8, 2009 Author Posted August 8, 2009 Re: [v2] Create a Crystal Glad you like it! I actually forgot about it TBH Quote
weewooz Posted August 10, 2009 Posted August 10, 2009 Re: [v2] Create a Crystal as anyone set a limit to this yet at all like so they can only do it so many times aday or anything? Quote
Danny696 Posted August 10, 2009 Posted August 10, 2009 Re: [v2] Create a Crystal Rite ive done it You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. change 5 to the number that you want users to make a day Add this to Day cron You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. And replace makecrystal.php with this You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. in makecrystal.php ive make the querys all one instead of 3 Quote
weewooz Posted August 10, 2009 Posted August 10, 2009 Re: [v2] Create a Crystal ok danny will give it a whirl Quote
weewooz Posted August 10, 2009 Posted August 10, 2009 Re: [v2] Create a Crystal dont forget the end page bit ya missed bro Quote
weewooz Posted August 10, 2009 Posted August 10, 2009 Re: [v2] Create a Crystal even still there is still eros danny Quote
weewooz Posted August 10, 2009 Posted August 10, 2009 Re: [v2] Create a Crystal querys aint right as well danny mate Quote
weewooz Posted August 11, 2009 Posted August 11, 2009 Re: [v2] Create a Crystal danny this will not work look at your querys you have cut down for 3 to 1 mate see what i mean? 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.