AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [TF2/CSGO] JackPot for Zephyrus Store (18-Dec-2023) (https://forums.alliedmods.net/showthread.php?t=327253)

StrikeR14 09-08-2020 14:04

[TF2/CSGO] JackPot for Zephyrus Store (18-Dec-2023)
 
2 Attachment(s)
[TF2/CSGO] JackPot for Zephyrus Store


Description:

This plugin allows players to gamble on their own credits. If a player enters with a bigger amount of credits than other players, his chances of winning will also increase. JackPot winner is announced on round end.

NOTE: If your server does not rely on rounds, please do not use this plugin.

ConVars:
  • sm_zephgamble_min - The minimum amount of credits to gamble on. (default: 50)
  • sm_zephgamble_max - The maximum amount of credits to gamble on. (default: 10000)

Commands:
  • sm_pot <credits> - Command for players to enter the jackpot.

NOTE: Using sm_pot without arguments simply shows the current status of the jackpot (players in the jackpot and their chances of winning).

Installation:
  1. Make sure you have Zephyrus Store installed on your server.
  2. Place the .smx file in addons/sourcemod/plugins
  3. Reload the map and enjoy!

Changelog:

Code:

1.1 - Plugin rewrite, based on "tickets" mechanism
1.0 - Initial Release


ErackZendor 09-20-2020 15:09

Re: [TF2/CSGO] JackPot for Zephyrus Store
 
Hey!
Can i get the store.inc file?
I cant compile with my include file.
Thanks.

NanoC 09-20-2020 15:22

Re: [TF2/CSGO] JackPot for Zephyrus Store
 
Quote:

Originally Posted by ErackZendor (Post 2718302)
Hey!
Can i get the store.inc file?
I cant compile with my include file.
Thanks.

https://github.com/dvarnai/store-plu...lude/store.inc

stephen473 09-20-2020 17:26

Re: [TF2/CSGO] JackPot for Zephyrus Store
 
https://forums.alliedmods.net/showth...35#post2420835

isn't it better? what is the difference?

StrikeR14 09-20-2020 17:57

Re: [TF2/CSGO] JackPot for Zephyrus Store
 
Quote:

Originally Posted by stephen473 (Post 2718316)
https://forums.alliedmods.net/showth...35#post2420835

isn't it better? what is the difference?

Seems like this plugin picks a winner randomly. Mine picks a winner based on the amount he has in the jackpot (which is exactly how jackpot is supposed to work).

Quote:

Originally Posted by StrikeR14
If a player enters with a bigger amount of credits than other players, his chances of winning will also increase.


stephen473 09-22-2020 13:53

Re: [TF2/CSGO] JackPot for Zephyrus Store
 
Quote:

Originally Posted by StrikeR14 (Post 2718317)
Seems like this plugin picks a winner randomly. Mine picks a winner based on the amount he has in the jackpot (which is exactly how jackpot is supposed to work).

it does the same actually, anyway. cool

Alisonin 03-27-2023 09:11

Re: [TF2/CSGO] JackPot for Zephyrus Store
 
I'm not much of a TF2 or CS:GO player, but this JackPot for Zephyrus Store plugin sounds quite fum! It's always fun to have a little gamble, isn't it? I do enjoy playing 온라인 슬롯 머신 though.
It's great that the chances of winning increase once you enter with a bigger amount of credits. This option definitely enhances the overall experience. And the fact that the winner is announced on round end makes it more exciting as well.
The ConVars seem pretty straightforward, and I appreciate that the plugin has commands to make it easy for players to enter the jackpot or check the status of it.

StrikeR14 12-18-2023 08:58

Re: [TF2/CSGO] JackPot for Zephyrus Store
 
The plugin has been rewritten. Each player is now assigned tickets according to his gamble amount. The game randomizes a ticket number and whoever holds that ticket is considered the winner.


All times are GMT -4. The time now is 05:54.

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