Kieran-R Posted December 3, 2010 Share Posted December 3, 2010 Basic little mod where users can buy crystals with there money from the game. crystalsdealer.php: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote Link to comment Share on other sites More sharing options...
Djkanna Posted December 3, 2010 Share Posted December 3, 2010 You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. That cannot be right surely? Looks alright, well done Kieran. Quote Link to comment Share on other sites More sharing options...
Kieran-R Posted December 3, 2010 Author Share Posted December 3, 2010 haha! Thanks for pointing that out Djkanna! Original post has been edited... Quote Link to comment Share on other sites More sharing options...
DJShad10 Posted December 10, 2010 Share Posted December 10, 2010 this doesnt require database table to be created? Quote Link to comment Share on other sites More sharing options...
Dustin Rohel Posted April 22, 2023 Share Posted April 22, 2023 On 12/10/2010 at 6:52 AM, DJShad10 said: this doesnt require database table to be created? Yes need to know if this requires SQL if need SQL.... please post! Thanks Quote Link to comment Share on other sites More sharing options...
Canjucks Posted April 22, 2023 Share Posted April 22, 2023 1 hour ago, Dustin Rohel said: Yes need to know if this requires SQL if need SQL.... please post! Thanks Update your users table to include a column for crystals or rather check that it does.... From memory the table should already have it. Quote Link to comment Share on other sites More sharing options...
Dustin Rohel Posted April 22, 2023 Share Posted April 22, 2023 user table has crystals already 3 minutes ago, Canjucks said: Update your users table to include a column for crystals or rather check that it does.... From memory the table should already have it. and so does the crystal dealer Quote Link to comment Share on other sites More sharing options...
Canjucks Posted April 22, 2023 Share Posted April 22, 2023 1 minute ago, Dustin Rohel said: user table has crystals already and so does the crystal dealer Where? The db queries only update users and set crystals. you create a page called crystal dealers... Quote Link to comment Share on other sites More sharing options...
Dustin Rohel Posted April 22, 2023 Share Posted April 22, 2023 I have created the file called dealer.php like said db shows its as crydealer I was looking in db users Quote Link to comment Share on other sites More sharing options...
SRB Posted April 22, 2023 Share Posted April 22, 2023 No DB edits are needed. The field, crystals, exist on users table and is used in the queries. 30 seconds to scan the file confirms that. Quote Link to comment Share on other sites More sharing options...
peterisgb Posted April 22, 2023 Share Posted April 22, 2023 Its abit of a fuzz so here is a fixed copy. You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote Link to comment Share on other sites More sharing options...
Dustin Rohel Posted April 22, 2023 Share Posted April 22, 2023 Thanks Peterisgb! works and happier now. Quote Link to comment Share on other sites More sharing options...
SRB Posted April 22, 2023 Share Posted April 22, 2023 Still a bit of a fuzz, so here's a concise copy. Untested, but any issues, report them and someone will provide a fix. Quote You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. 1 Quote Link to comment Share on other sites More sharing options...
peterisgb Posted April 22, 2023 Share Posted April 22, 2023 6 hours ago, SRB said: Still a bit of a fuzz, so here's a concise copy. Untested, but any issues, report them and someone will provide a fix. Yup, thats more updated for sure. I kinda left as it but fixed the forum mitigation issue 😄 Quote Link to comment Share on other sites More sharing options...
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.