Jump to content
MakeWebGames

[McCode V1/V2] Thug Core System >>> REMAKE <<<


Recommended Posts

Posted (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 by Dayo
Posted

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.

Posted

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

Posted

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?

Posted

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|

Posted

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

Posted

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.

Posted

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

Posted

[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.

Posted

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

Posted

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

  • 11 years later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...