Betting system
Hi, I have search in hour but I can not fint a betting system to tbdev..
I will bet on sports, ex: football ect. Are it someone know where I can find that? //LuddeSnutte |
I want betting for TS. :shock:
|
I want betting game too TS 5.4.1 :sos:
|
hello
here we go
i wish to mention it's not my work it's a tbdeved version translated in hungarian by angelo and with bibicu help :) so if you need another language you have to translate 1step SQL Code:
DROP TABLE IF EXISTS `bet`; [code] require 'global.php'; dbconn(); loggedinorreturn(); $action = $_GET["action"]; if ($action == "placebet") { $betid = 0 + $_POST["bcid"]; if ($betid == "") stderr("Error", "Oh Nice One You Fucked Up."); $i = 1; while ($i < 11) { $bi = "amount" . $i; if ($_POST[$bi] != "") { $bis = $bi; $amount = 0 + $_POST[$bi]; } $i++; } $amount = round($amount * 1048576); $maxamount = round($CURUSER['uploaded'] / 10); if ($amount > $maxamount) stderr("Hiba!", "Nincs fedezete a fogad |
Yes! it's working!
But, the only thing is that I don't speak hungarian ... anyone that can translate it in english? Good job, marco ! |
you have
you need to add all lag files to this which are missing
|
:D
2 Attachment(s)
:friend:here the english php attached...please be kind ...for my english lang :)
maybe somebody transfer this topic to solved mods on TS btw. this mod have 2 issues.... can't close the bets when the match is started.... and it's not sending automatically PM-s to the winners.... :) good luck |
thanx the mod but sql file not wor for me whats wrog whit that?
phpmyadmin gives that error Code:
1064: 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 '; CREATE TABLE `bet` ( `id` int(10) unsigned NOT NULL auto_increment, `' at line 1 can someone do the sql file works in tsse 5.4.1 version? Thanx! |
i suppose it's different phpmyadmin and the pronnounce is the trouble...take a look on your install sql what is different from this
if you send me your sql (fresh one) not your db i will figure out |
Quote:
i have this sql code what is your post in up and that not work for me and my MySQL Version 5.0.32-Debian_7 Now i get this error SQL ERROR Table 'TSSE.bet' doesn't exist in __FILE, line 189 how fix |
All times are GMT +2. The time now is 15:20. |
Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.