Code Monkey home page Code Monkey logo

sourcemod-nativevotes's People

Contributors

powerlord avatar sbmelvin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

sourcemod-nativevotes's Issues

Exception reported: Native is not bound

Greetings, i've been experiencing problems related to the following:
sin hhhtitulo
This began to happen right after june 11th's tf2 update, my sourcemod's version is 1.8.0-dev+5455 and i use umc as my voting system.

Thank you for your time and effort

CSGO unsupported anymore

By using your base plugin as example i did the following plugin(code below) and vote doesn't start.

`RegAdminCmd("DebugVote", GS, ADMFLAG_ROOT);
public Action GS(client,args)
{

new Handle:vote = NativeVotes_Create(YesNoHandler, NativeVotesType_Kick);

NativeVotes_SetInitiator(vote, client);
NativeVotes_SetDetails(vote, "Test Yes/No Vote");
NativeVotes_DisplayToAll(vote, 30);

}
`

Server crashes

Server crashes on tf2 MetaMod:Source v1.11.0-dev+1131V, SourceMod v1.11.0.6583

Memory Leak

I am getting a memory leak.

L 08/09/2019 - 16:45:46: [SM] MEMORY LEAK DETECTED IN PLUGIN (file "nativevotes.smx")
L 08/09/2019 - 16:45:46: [SM] Unloading plugin to free 9280 handles.
L 08/09/2019 - 16:45:46: [SM] Contact the author(s) of this plugin to correct this error.
L 08/09/2019 - 16:45:46: --------------------------------------------------------------------------
L 08/09/2019 - 16:45:46: Type   GameEvent           |   Count   9258
L 08/09/2019 - 16:45:46: Type   GlobalFwd           |   Count   1
L 08/09/2019 - 16:45:46: Type   PrivateFwd          |   Count   20
L 08/09/2019 - 16:45:46: Type   CellArray           |   Count   1
L 08/09/2019 - 16:45:46: -- Approximately 136 bytes of memory are in use by (9280) Handles.

I think maybe it is because this event isn't being closed. I am not sure.

optionsEvent.FireToClient(client);

https://sm.alliedmods.net/new-api/events/Event/FireToClient

Unlike Fire, this function DOES NOT close the event Handle.

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.