Djkanna Posted December 4, 2010 Posted December 4, 2010 Hey, Well Lilith asked if Zeggy's Business Sim could be turned into something you can play inside a MCC game, so I did it. I've also modified Zeggy's code a little bit for it to allow high scores, so here goes. [mysql=SQL Code] CREATE TABLE `busSimHs` ( `simID` INT(11) UNSIGNED NOT NULL AUTO_INCREMENT, `simUser` INT(11) UNSIGNED NOT NULL, `simScore` INT(11) UNSIGNED NOT NULL, `simTime` INT(11) UNSIGNED NOT NULL, PRIMARY KEY (`simID`) ); [/mysql] You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Now a few notes: To get it to look like how Zeggy's does, you'll need to rob a portion of the css available via his game (I'm sure he won't mind) or you can head over to blueprint and grab what you need. If you'd like I'll make somewhere to show the hall of fame results or someone else can if they want. All credit goes to Zeggy, not sure what license he's released it under but I'm sure he'd appreciate it if in someway you'd credit him for it. Enjoy. Djkanna. Quote
The Spirit Posted December 4, 2010 Posted December 4, 2010 Thats awesome thanks Djkanna & Zeggy! Quote
Dayo Posted December 4, 2010 Posted December 4, 2010 looking good :thumbsup: 1 point thogh where is the $h->endpage(); Quote
Djkanna Posted December 4, 2010 Author Posted December 4, 2010 looking good :thumbsup: 1 point thogh where is the $h->endpage(); Meh, it's been a while I'm not used to putting things at the end of files for my footers, thanks once I can actually edit a post I will edit mine :) Quote
Djkanna Posted December 8, 2010 Author Posted December 8, 2010 Well thanks but it's really Zeggy's work not mine. Quote
DJShad10 Posted December 11, 2010 Posted December 11, 2010 ok i got it working...i need to edit the text/look and feel of it but i like it... What exactly does this do may i ask? Quote
Jordan Palmer Posted December 11, 2010 Posted December 11, 2010 ok i got it working...i need to edit the text/look and feel of it but i like it... What exactly does this do may i ask? http://www.thiswebgame.com/zeggy/ Play that, Then look at the code then you may understand more =p Quote
DJShad10 Posted December 11, 2010 Posted December 11, 2010 thanks jordon i played it on my site yesterday...same thing just different look and feel... HOWEVER my question is now that i know that the game is doing its thing... is there a way to give the game a high score list at all? possibly give the player a reward or something? maybe someone could make some changes to this to make it do something wicked...hell idk ive seen alot of mods these last few days that start off simple and end up being edited to pretty much do so freggin much lol im not good at making mods (never tried) so really im not even sure hahah. Thanks Shad Quote
Jordan Palmer Posted December 11, 2010 Posted December 11, 2010 All you need to do is select from the table... As for the reward you can slap that in Day cron or Just go on timestamps whatever rocks your boat 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.