Jump to content
MakeWebGames

[mccode v2] Tournaments mod


canibalstew

Recommended Posts

i made this while ce was down so i decided to release it free to all here is the zip for the tournaments mod here are some of the features except sql addition to db and a few edits your good to go please give me some thanx for this if you decide to like it!!! as i am still learning...

multiple currencies

3 or more different currencies

tournament pics

up to 3 or more simultaneous tournaments

admin panel to create them and edit them..

also can use this tournaments system for almost any kind of tournaments!!!!

car races

fights

gang wars

even pet fights

virtually anything....

download tournaments below

Tornaments Mod 2.0.rar

 

**UPDATE**

there is a missing function in torny staff.php...you can either

add this function to your sglobals.php file or the tornystaff.php file

or re download new package

 

You're unable to view this code.

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

 

You're unable to view this code.

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

 

You're unable to view this code.

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

 

You're unable to view this code.

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

Link to comment
Share on other sites

Re: Tournaments mod For V2

hum why's their a lol

Warning: Missing argument 1 for torny_dropdownall()

think it needs some more work but hey nice job

but it will need to be cleaned up more and more neatly coded but with some work the can be one bad ass mod so thank you

Link to comment
Share on other sites

  • 4 months later...

Re: Tournaments mod For V2

 

hum why's their a lol

Warning: Missing argument 1 for torny_dropdownall()

think it needs some more work but hey nice job

but it will need to be cleaned up more and more neatly coded but with some work the can be one bad ass mod so thank you

Im also getting this Error anyone actually got this working and if so could you post your fix please it would be appreciated.

Link to comment
Share on other sites

  • 3 weeks later...

Re: Tournaments mod For V2

What ive noticed from the script is that when you create/edit/delete a tourny the page instantly goes back to the game menu instead of the Staff menu. could this have something to do with the dropdown error.. the errors im getting are..

when trying to delete a tourny...

Fatal error: Call to undefined function: torny_dropdown() in /home2/slavetra/public_html/tornystaff.php on line 131

 

When trying to Edit a Tourny

QUERY ERROR: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1

Query was SELECT * FROM torny WHERE tid=

When trying to Submit a new tourny..

ERROR!

Link to comment
Share on other sites

Re: Tournaments mod For V2

for your editing problem this should work, just replace line 68 of the unedited files

$p=mysql_query("SELECT * FROM torny WHERE tid={$_POST['tornyall']}");

also post your tornystaff.php because the one i have, the one from this post, there is no line 131

Link to comment
Share on other sites

  • 4 weeks later...

Re: Tournaments mod For V2

ok this is my tornystaff.php file

 

You're unable to view this code.

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

 

Hope someone can sort this :)

 

after a bit of script changing ive found im able to bering one up but not how i want it to be.

when i put this

 

You're unable to view this code.

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

 

i get this message....

 

QUERY ERROR: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1

Query was SELECT * FROM torny WHERE tid=

but as soon as i change the code to this .....

 

You're unable to view this code.

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

 

im able to change ID 5 so atleast i know the database is working its just the POST script that isnt..

Link to comment
Share on other sites

Re: Tournaments mod For V2

This Script wont beat me ;)

Ive managed to be able to Create Tournaments and Delete tournamnets from the script.

Still having issuse with Editing tournaments

When i click on the Edit Tournament i just get a blank page..

However if i enter the tournament ID in manullaly i am able to Edit that way but the drop down for the Edit isnt working...

Any help would be appreciated on this..

Link to comment
Share on other sites

Re: Tournaments mod For V2

After a lot of editing on this script Iv'e finally got it working..

 

You're unable to view this code.

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

 

As this workd from the sglobals you will need to add 3 links to your smenu those being..

 

You're unable to view this code.

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

 

As HALO Pointed out above there were two mentions of tournysub ive ammended these and also added the Missing SQL for the Tournament start time...

Link to comment
Share on other sites

  • 2 months later...
  • 1 year 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...