Giter Site home page Giter Site logo

rpgserv's People

Contributors

keirod avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

rpgserv's Issues

Roll used during late hours

Discussing the issue with Azander in IRC produced the following conversation:

[04:36:28PM] <~Azander> if you reoll the dice in the hors between midnight and 4 am (server time) it rolls REALLY really low rolls
[04:36:35PM] <Keiro> Oh dear.
[04:36:48PM] <Keiro> That's odd, though... how'd you find that one?
[04:37:04PM] <~Azander> since my server is UTC, but my gamers are EST they notid it during their evening games
[04:37:20PM] <~Azander> but while testing I could not reproduce it (during early afternoon)
[04:37:20PM] <Keiro> Ah. That'd do it.
[04:37:44PM] <~Azander> so I sat in on some games, some during the day, others in the evening,  Then I saw the pattern.
[04:38:10PM] <Keiro> Ah... so you had to be there to notice it at all.
[04:38:10PM] <~Azander> The solution is to not use time_t as your random seed
[04:38:17PM] <~Azander> right

Solution is to do:

[04:44:59PM] <~Azander> just add" srand(time(NULL)); after decklaring your variables in each command
[04:45:12PM] <Keiro> Got it.
[04:45:17PM] * ~Azander went to look it up to get the code for you.. then saw I had that commented out

Using RPGServ Act causes Anope to crash

So, for example, if you wanted RPGServ to act out something for you in say, #tavern, you could do so via /msg rpgserv act #tavern welcomes a guard into the tavern with a smile and you'll get an output in #tavern of RPGServ doing its thing, similar to the below:

[04:28:16AM] <RPGServ> welcomes a guard into the tavern with a smile

However, the above only works if one uses /msg rpgserv say #channel somethingsomething or other instead of act without causing Services to crash.

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.