Code Monkey home page Code Monkey logo

mod-npc-gambler's People

Contributors

acidmanifesto avatar bytesgalore avatar gtao725 avatar helias avatar locus313 avatar manguyny avatar milestorme avatar mitradis avatar pangolp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mod-npc-gambler's Issues

Build an error

core:tbcstar/azerothcore-wotlk@7d55071

/home/azerothcore-wotlk/modules/mod-npc-gambler/src/npc_gambler.cpp:408:23: fatal error: no member named 'MonsterWhisper' in 'Creature'
creature->MonsterWhisper(messageHelp.str().c_str(), player);
~~~~~~~~ ^
[ 97%] Building CXX object src/server/scripts/CMakeFiles/scripts.dir////modules/mod-npc-services/src/Npc_Services.cpp.o
1 error generated.
make[2]: *** [src/server/scripts/CMakeFiles/scripts.dir/build.make:8674: src/server/scripts/CMakeFiles/scripts.dir/
///modules/mod-npc-gambler/src/npc_gambler.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:1575: src/server/scripts/CMakeFiles/scripts.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
root@VM-0-8-ubuntu:/home/azerothcore-wotlk/build#

Feature: Cooldown \ Restriction option on bets

Describe your feature request or suggestion in detail

It would be very helpful to have an option to enable a gossip cool down on gambling to prevent abuse. In its current state, spamming the lowest bet provides endless money even with the build in spam prevention. If possible, this cooldown would look at the current bet amount and base the timer accordingly.

Example: Using a simple auto hot key setup to spam the lowest bet, the chances of winning outweigh losses even with the built in negative modifier over time, and you will always end up making profit.

Describe a possible solution to your feature or suggestion in detail

Add an option in the config to enable a gossip cool down on gambling that looks at the bet amount if possible. This would allow for individual timers depending on the bet amount.

Additional context

I'd like to personally have a large bet amount with a 12-24 hour+ cooldown to prevent abuse, but still allow for a fun all-in option where you can lose it all.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.