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 |
did you run the sql in data base?
|
Quote:
betwin page works but not betting page give that error what i put there |
Quote:
and i have the full mod for this where you get no errors ill get into my hd and get it for you |
Quote:
|
hi
the working sql it is on my first post :):drink:
|
Quote:
itry this mod use TSSE 5.4.1 not genremod source Ps. that work my other test place but how i can detlete old played and pay betting ?? not show that button what DELETE old bet and old pay list and where i can set only staff can put the pet in list now all user claas can put the bet how i can change that ???? and where i can set how long can played the bet now enyone can put the own pet when real game is over and pet player know who won the game and know result? i think that was sucks!! |
only from sql :friend:
|
donth work for me on tbdev
I appears bets are closed and can not do anything. As they start?
How do I set a bet if I do not see any button?:sad: |
2 Attachment(s)
i think this will help..
i using NexusPHP, from what i know this code is suitable to match tbdev.. try this.. :ok: |
All times are GMT +2. The time now is 16:06. |
Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.