Giter Site home page Giter Site logo

minqlx-plugins's People

Contributors

barelymissed avatar jwinett avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

minqlx-plugins's Issues

voteban.py bug

Looks like, that after !voteban command, it doesn't adding the guy to the self.voteban, checked with !vblist command. After reloading the plugin, everything is working. Im using the redis database.

wipedout

hello

is this mod need factories ? i loaded it but nothik happend, i add also cvars but players doesnt haver anyy stuff.

Vote bans works only from admin panel

Hello.
Figured out, why its not worked sometimes for me. When its called from /callvote or /cv, i see only vote_started calls in minqlx logs. There is no vote_called, so the plugin can't cancel it. I have zmq fully enabled, any ideas why it doesn't want to work?

!listvoteban shows an empty list (redis)

I see an empty list, there is some people in !vblist output. Nothing special in logs.

One suspicious thing i saw, is that at first its showed 1 guy, who i just banned (there should be 3 persons tho) then at the next day, its empty. On another server !listvoteban showed an empty list right after adding new guy (after adding str() to the code: #3)

specall missing a cvar

Upon loading the specall plugin an error is shown in the console:

File "./minqlx-plugins/specall.py", line 26, in __init__ self.add_command(("specallversion", "specall_version"), self.specAll_version, int(self.get_cvar("qlx_protectAdminLevel")))
TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'

Whenever you want to use a cvar in a plugin, best to make sure it exists (with self.set_cvar_once)

You can't assume server owners will also install protect.py and that that plugin would be loaded before specall

With regards,
iou

[Request] Count "Thaws" in kills.py for FreezeTag Gamemode

Hey,

i am a ServerAdmin for a FreezeTag GameMode in Quake Live.
A lot of players asked me if it is possible to count "Thaws" in the FreezeTag GameMode.
I found your kills.py project - Thats really well a extended pummel.py, Nice work :)
Could you please add a variable/hook to count the Thaws at one map and lifetime for each player?

Best regards

Typecast issue

I inserted a check after line 305 due to a typecast error of some invalid value being returned.

This is because the bdm:ft:games_completed and bdm:ft:games_left keys are not storing into redis for me. I setup a second server and installed everything with default settings to see if it was my server, but the key values are still missing. It may be a freezetag gametype issue. The odd part is that values are being stored into the bdm:ft:rating key just fine.

ERROR:
(16:39:30) [ERROR @ minqlx.serverBDM.log_exception] TypeError: unsupported operand type(s) for +: 'int' and 'NoneType'

FIX:
try:
games_left = self.get_db_field(player, "minqlx:players:{}:games_left")
if games_left is None:
games_left = 0

Exception when i trying to ban votes (redis)

Minqlx logs:
http://pastebin.com/Cui5YLML
I didn't investigated too much, just tried to add str() to the first argument at 204 and 205 lines:

banEnd = datetime.datetime.strptime(str(voteban_time), TIME_FORMAT)

That way !banvote and !unbanvote visually working. Didn't tested, if its actually bans people, !vblist shows steamid of a banned person.

Minor bug and a clarification

@BarelyMiSSeD there is a capitalization error in the script where instead of myFun, myfun is used. Lol it took a 10year old eyes to spot it as my old eyes couldn't!!

Also, I added another pack, updated cfg and workshop lists.
Updated enabled count (from 63 to 127).. Created all triggers as the 6th pack...

Not neither 5th or 6th pack are working all else are?

The command doesn't give any error while loading myFun but the console in game says couldn't find file... And well the file is very well there in workshop folders...

Ideas?

running !listmaps lags whole server when run

I think ideally the map list should be generated when the plugin first loads instead of every time !listmaps is called since there is significant yellow lagometer blocks when it is called and almost a connection interrupt.
You could load it into memory so that it won't lag every time the command is called. Good plugin idea though! :)

Vote bans stored in redis db

Hi!

Can you add a possibility to store all bans in the redis db, like other plugins does? Or at least cvar for using global voteban.txt for all servers which is located at main baseq3 where is mappools and other stuff.

First is much better IMO xD

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.