Jump to content
MakeWebGames

Recommended Posts

Posted

i have created a 10 person freeforall i have not tested it out yet. It is for V1 also 35kb and theres 3 files battlelog.txt, Attack3.php, and battlearena.php. If you want to try it email me @hotmail.com, if it works i would like to see it!

Posted

Re: battlearena

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Create battlearena mysql table

add batid(int11) (auto), p1 (int11)(default=0), p2, p3, p4 , p5, p6, p7, p8, p9, p10, lastwinner

Create file battlelog.txt

Posted

Re: battlearena

i tryed this and it ran good but i still get a sql error when tryin 2 battle

 

CREATE TABLE `battlearena` (

`batid` int(11) NOT NULL auto_increment,

`p1` int(11) NOT NULL default '0',

`p2` int(11) NOT NULL default '0',

`p3` int(11) NOT NULL default '0',

`p4` int(11) NOT NULL default '0',

`p5` int(11) NOT NULL default '0',

`p6` int(11) NOT NULL default '0',

`p7` int(11) NOT NULL default '0',

`p8` int(11) NOT NULL default '0',

`p9` int(11) NOT NULL default '0',

`p10` int(11) NOT NULL default '0',

`lastwinner` int(11) NOT NULL default '0',

PRIMARY KEY (`batid`)

) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=2 ;

  • 4 months later...
Posted

Re: battlearena

Well I know some of the attack coding is a lot different then normal. Just apply the general converting method and actually try. If you don't get it after trying someone will probably convert it.

Posted

Re: battlearena

Pft sql is easy. Just use the sql you have to start mccodes and edit it to fit what you want to do. :roll: Now was that too complicated? I certainly hope not.

Posted

Re: battlearena

Like I said leech off other people who actually try..... I know that the sql isn't that complicated come on. I could do it if i wanted to. And risking a bug to add a new function... well that always happens.

  • 2 months later...
Posted

Re: battlearena

 

i tryed this and it ran good but i still get a sql error when tryin 2 battle

 

CREATE TABLE `battlearena` (

`batid` int(11) NOT NULL auto_increment,

`p1` int(11) NOT NULL default '0',

`p2` int(11) NOT NULL default '0',

`p3` int(11) NOT NULL default '0',

`p4` int(11) NOT NULL default '0',

`p5` int(11) NOT NULL default '0',

`p6` int(11) NOT NULL default '0',

`p7` int(11) NOT NULL default '0',

`p8` int(11) NOT NULL default '0',

`p9` int(11) NOT NULL default '0',

`p10` int(11) NOT NULL default '0',

`lastwinner` int(11) NOT NULL default '0',

PRIMARY KEY (`batid`)

) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=2 ;

For someone who sells mods, you would think you could figure this out. I'm a hardcore noob with this kind of stuff but I've tried it, and it's not bad. But again... Maybe you should learn that part before posting my mods for sale...

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