Jump to content
MakeWebGames

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


Dayo

Recommended Posts

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
Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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