| TB Sourcecode Development Site · Welcome to our Forums |
Help
Search
Members
Calendar
|
| Welcome Guest ( Log In | Register ) | Resend Validation Email |
| Pages: (7) [1] 2 3 ... Last » ( Go to first unread post ) | ![]() ![]() ![]() |
| macosbrain |
|
||||
|
Power User ![]() ![]() ![]() Group: Power Users Posts: 45 Member No.: 3,966 Joined: 27-March 05 |
hi, english: here is my casino mod for tb. you can use the mod how you like because there are a lot of options. you can let the user win or lose every time they play :-). i also implement some function to stop the abuse of the casino. just have a look. german: so hier mein neuer casino mod. du kannst den mod nach deinen persönlichen wünschen benutzen, da ich sehr viele nützliche optionen eingebau habe. möglich ist das alle benutzer immer verlieren oder gewinnen oder eine sehr sehr geringe gewinchance haben. funktionen die den missbrauch verhindern sollen habe ich auch gleich mit eingebaut. aber schaut es euch selbst an. mysql table (hope it works):
casino.php:
edit: sorry the source totally f***ed the design. This post has been edited by macosbrain on Apr 30 2005, 05:06 AM -------------------- macosbrain.com is my site
|
||||
| Nevienc |
Posted: Apr 30 2005, 05:18 AM
|
![]() Power User ![]() ![]() ![]() Group: Power Users Posts: 98 Member No.: 2,658 Joined: 28-January 05 |
Can you give some screenshot?
|
| BonesXtr |
Posted: Apr 30 2005, 05:25 AM
|
|
Power User ![]() ![]() ![]() Group: Power Users Posts: 78 Member No.: 97 Joined: 5-August 04 |
Nice one m8, works well
|
| nejx |
Posted: Apr 30 2005, 05:33 AM
|
|
Power User ![]() ![]() ![]() Group: Power Users Posts: 252 Member No.: 2,942 Joined: 10-February 05 |
screen?
-------------------- ----------------------------------------------------------------------------
|
| misterb |
Posted: Apr 30 2005, 05:43 AM
|
||||
|
Power User ![]() ![]() ![]() Group: Power Users Posts: 75 Member No.: 1,444 Joined: 17-December 04 |
I guess the line
should be
Am I right? -------------------- Your bunny wrote...
|
||||
| Haselocke26 |
Posted: Apr 30 2005, 05:50 AM
|
![]() Member ![]() ![]() Group: Members Posts: 16 Member No.: 4,314 Joined: 7-April 05 |
MySQL meldet:
#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 'collate latin1_general_ci NOT NULL default 'yes',' at line 6 |
| Traasje |
Posted: Apr 30 2005, 06:03 AM
|
||
|
Power User ![]() ![]() ![]() Group: Power Users Posts: 139 Member No.: 1,392 Joined: 14-December 04 |
when i win or lose i don't get or lose anything
This post has been edited by Traasje on Apr 30 2005, 06:11 AM |
||
| alwayzbaked |
Posted: Apr 30 2005, 06:10 AM
|
|
Power User ![]() ![]() ![]() Group: Power Users Posts: 40 Member No.: 4,043 Joined: 29-March 05 |
Thanks, nice script.
This gives or takes away users upload/download stats out of nowhere? Dont spose it makes any difference, but it seems like printing fake banknotes to me It would be good if users could play against each other, one persons bets, then when another user goes to the casino page it has a list of open bets which they can play. I'll work on that. ETA : 2009 |
| macosbrain |
Posted: Apr 30 2005, 06:31 AM
|
||||
|
Power User ![]() ![]() ![]() Group: Power Users Posts: 45 Member No.: 3,966 Joined: 27-March 05 |
@misterb: i think you can mod it like you want.
and
is possible @Haselocke26 sorry i´ve got the dump from phpmyadmin. can someone give me a hint how to avoid this problems??? @Traasje do you try various options ??? or do you just testet my org. script. @alwayzbaked yes it is "like printing fake banknotes" but if you mod it well the user win and lost with a ratio of 1.0 -> and the tracker doesn´t lost anything :-) "It would be good if users could play against each other" -> nice idea but hard to code. i gonna try this edit: @Haselocke26 i dump the table with navicat 2004 and still the same. how do you import th table to mysql This post has been edited by macosbrain on Apr 30 2005, 06:36 AM -------------------- macosbrain.com is my site
|
||||
| misterb |
Posted: Apr 30 2005, 06:39 AM
|
|
Power User ![]() ![]() ![]() Group: Power Users Posts: 75 Member No.: 1,444 Joined: 17-December 04 |
I mean get_user_class() instead of get_user_class
-------------------- Your bunny wrote...
|
| Traasje |
Posted: Apr 30 2005, 06:39 AM
|
|
Power User ![]() ![]() ![]() Group: Power Users Posts: 139 Member No.: 1,392 Joined: 14-December 04 |
i used the org. script
|
| misterb |
Posted: Apr 30 2005, 06:40 AM
|
||
|
Power User ![]() ![]() ![]() Group: Power Users Posts: 75 Member No.: 1,444 Joined: 17-December 04 |
this should work -------------------- Your bunny wrote...
|
||
| misterb |
Posted: Apr 30 2005, 06:49 AM
|
|
Power User ![]() ![]() ![]() Group: Power Users Posts: 75 Member No.: 1,444 Joined: 17-December 04 |
And it would be nice to see the results, e.g. "You bet on 4, but the winning number was 6"
-------------------- Your bunny wrote...
|
| macosbrain |
Posted: Apr 30 2005, 06:55 AM
|
|
Power User ![]() ![]() ![]() Group: Power Users Posts: 45 Member No.: 3,966 Joined: 27-March 05 |
@misterb
get_user_class() of cause. but why get_user_class works on my system (winxp and xampp) ??? another question why do the sql dump from phpmyadmin and navicat do not work??? @Traasje sorry i have no idea why it doesn´t work. do you get the sql table? what system do you use? -------------------- macosbrain.com is my site
|
| Traasje |
Posted: Apr 30 2005, 07:00 AM
|
|
Power User ![]() ![]() ![]() Group: Power Users Posts: 139 Member No.: 1,392 Joined: 14-December 04 |
yes i have the mysql table.
i run linux (fedora core 3) mysql (4.11.1xxx) i have a btsource (very modified) ( http://tracker.traasje.nl ) |
Pages: (7) [1] 2 3 ... Last » |
![]() ![]() ![]() |