Dayo Posted December 19, 2009 Share Posted December 19, 2009 (edited) Hi when on ce i made a thug system ... it was an epic fail with many many bugs, Today i decided to remake it, code it better and remove a few things. This is the core system made for version 1 and 2 the script will detect your mccode version and run for that version so none of this converting to v1 or v2 :D(if some 1 can they verify it will work on v1 as its only tested on v2 (dont see why it shouldent tho)). I will be making add-ons for this in the next few days so that it can play a bigger role in your game and to fit your specific game. the free mods for this are located here http://cddesigns.org/thug.php well here is the sql you have to run[mysql] You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Here is thugs.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. and here is tglobals.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Enjoy, Dayo 👍 . Edited May 11, 2021 by Dayo Quote Link to comment Share on other sites More sharing options...
Dayo Posted December 19, 2009 Author Share Posted December 19, 2009 woops can some one move to free plugins please i just relised i posted in the mccodes section Quote Link to comment Share on other sites More sharing options...
Jordan Palmer Posted December 20, 2009 Share Posted December 20, 2009 This is looking decent. Nice work buddy Quote Link to comment Share on other sites More sharing options...
Mcfarlin Posted December 20, 2009 Share Posted December 20, 2009 nice one, has a feel of a pets mod growing with more potential for interactivity between players maybe. looks good. 1 Quote Link to comment Share on other sites More sharing options...
Redex Posted December 20, 2009 Share Posted December 20, 2009 Hello Dayo, I'm sorry for the criticism without no good comment first but i thought it would be good to clear this up first. I didn't look through all the code, but i saw on the first line of the code, it says include "tglobals.php" I'm pretty sure you meant include "globals.php" if not I'm sorry i might have misunderstood. Quote Link to comment Share on other sites More sharing options...
Mcfarlin Posted December 20, 2009 Share Posted December 20, 2009 he has it correct. tglobals.php is the second file he has posted you will have to have it to make this one do anything for ya. Quote Link to comment Share on other sites More sharing options...
Dayo Posted December 20, 2009 Author Share Posted December 20, 2009 Yea tglobals is correct in there it will see if you use version 1 or two and will either use the include 'globals.php'; or the v1 code. thugs.php is just the functions and tglobals calls them to be used. ive only seen the pets mod once or twice and personly dont like it ... come on most games are mobster/gangster sorta game who wants pets (no offence to the author). This was built purly to add something new into mccodes something that could be expanded even more Quote Link to comment Share on other sites More sharing options...
Mcfarlin Posted December 20, 2009 Share Posted December 20, 2009 lol pets dont fit i know, but that was just what i reminded me of. would one of the things your working on adding to this be the ability for the thugs to attack other ppls thugs or the other players themselves by chance? Quote Link to comment Share on other sites More sharing options...
Dayo Posted December 20, 2009 Author Share Posted December 20, 2009 yup the script for that and for the user to make money is being made will probly be finished tonight Quote Link to comment Share on other sites More sharing options...
Mcfarlin Posted December 20, 2009 Share Posted December 20, 2009 awsome do you see the similarities to a pets mod at all ? lol i know you kate it being compaired to that, but my opinion that with some work this mod would be 100 times better than any pets mod could be, especially if the thugs can interact within the game. very nice. +100 8| Quote Link to comment Share on other sites More sharing options...
Dayo Posted December 20, 2009 Author Share Posted December 20, 2009 tbh i wouldent know without seeing the mod in action send me a link to where one is and ill see Quote Link to comment Share on other sites More sharing options...
Dayo Posted December 20, 2009 Author Share Posted December 20, 2009 having a quick look they do seam to be similar but with tgh pet mod it looks very limited to what you can do with it, attack, level up and maby a few things i missed. atleast with this you can intergrate it into many parts of your game Quote Link to comment Share on other sites More sharing options...
Mcfarlin Posted December 20, 2009 Share Posted December 20, 2009 link sent. not a bad mod the pets thing, it jsut does not fit into a mobster game at all. never could figure out why ppl have mods that make no sense to have in a game. next we will see a gardening mod for these mob games, oh yeah and knitting. ^^ thats why i am liking what i see with this one so much better. more options are always a good thing. Quote Link to comment Share on other sites More sharing options...
Dayo Posted December 20, 2009 Author Share Posted December 20, 2009 arghhh you had to take my nedt two mod ideas didnt you :P the income from the thugs will be finished tonight and will be a free mod for ppl to use as will the attack Quote Link to comment Share on other sites More sharing options...
Mcfarlin Posted December 20, 2009 Share Posted December 20, 2009 then i wont mention the haircut mod you were working on either then. hehe but these additions should be a huge hit. again nice work bro. Quote Link to comment Share on other sites More sharing options...
Danny696 Posted December 20, 2009 Share Posted December 20, 2009 Why are you making a table, then changing it all. Why not just edit the SQL's to fit the changes? Quote Link to comment Share on other sites More sharing options...
Mcfarlin Posted December 20, 2009 Share Posted December 20, 2009 [mysql]CREATE TABLE IF NOT EXISTS `thugs` ( `userid` int(11) NOT NULL, `tID` int(11) NOT NULL auto_increment, `tName` varchar(255) NOT NULL, `tLevel` int(11) NOT NULL default '1', `tHealth` int(3) NOT NULL default '100', `tStr` int(11) NOT NULL default '1', `tDef` int(11) NOT NULL default '1', `tPrice` int(11) NOT NULL default '100', `tExp` int(11) NOT NULL default '0', `tENERGY` int(11) NOT NULL default '10', PRIMARY KEY (`tID`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=2 ;[/mysql] that should be it all in one shot. Quote Link to comment Share on other sites More sharing options...
Mcfarlin Posted December 21, 2009 Share Posted December 21, 2009 yup the script for that and for the user to make money is being made will probly be finished tonight ? what happend bro this was looking interesting. Quote Link to comment Share on other sites More sharing options...
Dayo Posted December 21, 2009 Author Share Posted December 21, 2009 Yea sorry about hat we had a water and fry vat incdent I had to stay on to clean the mess Quote Link to comment Share on other sites More sharing options...
Dayo Posted December 21, 2009 Author Share Posted December 21, 2009 the income/crimes instalation structions are located here If you need help i will install it to your site for $5 Quote Link to comment Share on other sites More sharing options...
J_StrauD Posted December 22, 2009 Share Posted December 22, 2009 Very nice Dayo :thumbsup: Just curious, it says that it will rob the place once an hour when I bought one of the crimes, does that mean that I have to add something to the cron hour or anything? Same with using the energy to train? Thanks, MasterMetallica Quote Link to comment Share on other sites More sharing options...
Dayo Posted December 22, 2009 Author Share Posted December 22, 2009 yes at the bottom of teh page there is the thing to add to the hour cron You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. i think that is what it is but just check glad peole actuly like this one rather then tearing there hair out trying to fix bugs :P Quote Link to comment Share on other sites More sharing options...
J_StrauD Posted December 22, 2009 Share Posted December 22, 2009 Oh yeah thanks, I just didnt scroll down far enough :D Thanks :thumbsup: Quote Link to comment Share on other sites More sharing options...
athena26 Posted May 10, 2021 Share Posted May 10, 2021 Does anyone have the full files from here? Quote Link to comment Share on other sites More sharing options...
Dayo Posted May 11, 2021 Author Share Posted May 11, 2021 The full files are in the main post by the looks of it? This was 11 years ago so they will be long lost i think 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.