AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   Source Lotto (https://forums.alliedmods.net/showthread.php?t=107181)

{7~11} TROLL 10-23-2009 19:07

Source Lotto
 
2 Attachment(s)
[IMG]http://img43.**************/img43/7664/soucelotto.png[/IMG]

Overview:
Source lotto brings the fun,thrill,and energy of the lottery ingame. the server owners can offer prizes as they wish or off what ever they like for a prize. each week the server owner will have to pick a set of number for each 3 of the games. at the end of the week who ever has 2,3,ect.. matching numbers gets what ever prize the server owner offers. so far this mod has only been tested on cs:s, if it works on another source game please let me know.

The Games:
The games lotto games built in are..
  • Quick 3
  • Quick 6
  • Mega Souce

Quick 3 - quick three is a lottery game in which 3 numbers are randomly selected by the mod for the player. the player will have to post the numbers or a screenshot of the numbers on the clans or owners site for the weekly contest

Quick 6 - quick six is kinda like quick three except you have 3 more numbers and a bigger chance to win the weekly prize. quick 6 is ment to have a bigger and better prize so people keep playing

Mega Source - mega source is a even better game. each week the owner will select a mega ball number which is a free number for all the players. unlike other numbers this number does not change the owner has to change the number each week and he or she can set the number to anything between the numbers 1 - 20. at the end of the week this mega ball will help you win the prize for the week so use it well.

Requirments:
Sourcemod 1.2.4
Metamod Souce 1.7.1

Installing:
SourceLotto.sp - addons/soucemod/scripting/
SouceLotto.smx - addongs/soucemod/plugins/
.html files - your choice on where you would like them installed

Cvars:
sm_quick_three "link to your quick3.html"
sm_quick_six "link to your quick6.html"
sm_mega_souce "link to your megasouce.html"
sm_winners "link to your winners.html"
sm_lotto_rules "link to your lottorules.html"
sm_sl_version - plugin version

NOTE: muse use " " when linking the cvars to the .html pages.
also you will need to make a thread on your forums or a .html page for the winners and rules.

IMPORTANT:
on all the games you will need to link the above cvars to the random.php file inside the "set" folders. also the images that are inside "mega ball" folder are only for the mega ball game. it does not include a random.php files so each week you will need to edit the .html page for megasouce and choose a ball to use as the mega ball for that week.

also the souce lotto zip does NOT have the plugin inside you will need to download that from the attached files.

Screenshots:
http://i234.photobucket.com/albums/e...023-171247.png
http://i234.photobucket.com/albums/e...023-171609.png
http://i234.photobucket.com/albums/e...023-171551.png

bouncer 10-24-2009 19:04

Re: Souce Lotto
 
Your images ar etoo small, especially the last one, enlarging it would be good.

{7~11} TROLL 10-24-2009 23:28

Re: Souce Lotto
 
kk ill link them to the main images

Harley 10-25-2009 06:50

Re: Source Lotto
 
nice

im testing

Harley 10-25-2009 14:14

Re: Source Lotto
 
I've got an idea
Could we not include it into an SQL database?
Example Quick 3
There shall be decided, 1 count
The player is saved with its number and Steam Id
This can be seen on the website also
If the player plays for a time he gets new number
Example 5 hours
This number is also stored, and visibly
This works until one player has the right numbers and there is a winner

{7~11} TROLL 10-25-2009 18:15

Re: Source Lotto
 
that is a good idea and i would love to have it to where you have to pay to play but i donno how to code anything like that

Harley 10-27-2009 09:36

Re: Source Lotto
 
Unfortunately, it's just an idea
I myself can not program it
I hope you found someone so

{7~11} TROLL 10-27-2009 15:19

Re: Source Lotto
 
no dice yet but if i do those will be awesome in this mod

Skyrider 11-09-2010 17:15

Re: Source Lotto
 
Is it possible that this can be created for TF2 with possible web & SQL management? I'm actually interested in using this for TF2 Item Lotteries.

{7~11} TROLL 03-29-2011 20:14

Re: Source Lotto
 
it could be but i dont know how to code anything like that


All times are GMT -4. The time now is 21:11.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.