Raised This Month: $32 Target: $400
 8% 

Showing results 1 to 25 of 48
Search took 0.00 seconds.
Search: Posts Made By: popey456963
Forum: Plugins 07-27-2018, 08:41
Replies: 1
Views: 2,382
Posted By popey456963
[ANY] Random Starting Map

If your server crashes a lot, you might find it infuriating to always start on a single map. This plugin aims to sort that out by selecting a random map when the server crashes. This is my first...
Forum: Snippets and Tutorials 07-22-2018, 17:49
Replies: 285
Views: 108,547
Posted By popey456963
Re: Dynamic Objects and Properties - v.0.0.32 - [2018.05.08]

In the Methodmap example (2.0 on the Wiki), would you have to destroy the Dynamic object when the methodmap is no longer intended to be removed? Or, since it's attached to that object, do you no...
Forum: General 07-11-2018, 16:55
Replies: 1
Views: 765
Posted By popey456963
What paths does Sourcemod load plugins from?

As far as I can tell, SM loads all plugins (where a plugin is defined as a file with the .smx extension) from

- ~/mod/addons/sourcemod/plugins

And doesn't load plugins from

-...
Forum: Scripting 07-11-2018, 16:49
Replies: 2
Views: 1,737
Posted By popey456963
Re: Creating callbacks in Sourcepawn

Woah, thank you so much for the information. This worked :)
Forum: Snippets and Tutorials 07-07-2018, 08:10
Replies: 285
Views: 108,547
Posted By popey456963
Re: Dynamic Objects and Properties - v.0.0.32 - [2018.05.08]

I meant to go from a saved DB entry to a dynamic. As far as I can see this isn't possible yet?
Forum: Snippets and Tutorials 07-03-2018, 09:05
Replies: 285
Views: 108,547
Posted By popey456963
Re: Dynamic Objects and Properties - v.0.0.32 - [2018.05.08]

Woah, that was impressively quick, I was travelling all of the previous days so hadn't even started.

Looks amazing! Testing it out today with in a real world scenario.

EDIT: Just realised...
Forum: Scripting 07-01-2018, 08:15
Replies: 2
Views: 1,737
Posted By popey456963
Creating callbacks in Sourcepawn

I'm trying to add a callback to a function I've designed which does some asynchronous actions. Using the example from Timers, I create a typedef:

typeset ActionCallback {
function void(float...
Forum: Scripting Help 07-01-2018, 08:14
Replies: 2
Views: 568
Posted By popey456963
Re: Creating callbacks in Sourcepawn

Whoops, I'm an idiot, sorry.
Forum: Scripting Help 07-01-2018, 08:09
Replies: 2
Views: 568
Posted By popey456963
Creating callbacks in Sourcepawn

I'm trying to add a callback to a function I've designed which does some asynchronous actions. Using the example from Timers, I create a typedef:

typeset ActionCallback {
function void(float...
Forum: Snippets and Tutorials 07-01-2018, 07:28
Replies: 285
Views: 108,547
Posted By popey456963
Re: Dynamic Objects and Properties - v.0.0.32 - [2018.05.08]

Or, thinking about it more, if you always just search based upon a dynamic name then you could just use MySQL as a dumb key value store? Have just two columns and make it a fake schema-less DB.
Forum: Snippets and Tutorials 06-30-2018, 20:28
Replies: 285
Views: 108,547
Posted By popey456963
Re: Dynamic Objects and Properties - v.0.0.32 - [2018.05.08]

Woah, just discovered this. Really sad I hadn't found it a couple of years ago. Real classes!

Just a couple of questions that I've found in the first week of usage:

1. You might consider...
Forum: Scripting 05-06-2018, 18:09
Replies: 3
Views: 906
Posted By popey456963
[CS:GO] Determining if a player dies from a damage event

Using SDKHook it appears like you get damage as a float, but health is stored as an int. Wondering how death is calculated, if you have 19 health and take 19.1 damage, I assume you do, but I'm less...
Forum: Scripting 05-06-2018, 18:00
Replies: 1
Views: 737
Posted By popey456963
Re: [CS:GO] Spawning weapons in maps

It appears as if this is an issue relating to Linux / my server in particular, the exact same plugins & plugin configurations work on a Windows installation I made.
Forum: Scripting 05-04-2018, 22:41
Replies: 1
Views: 737
Posted By popey456963
[CS:GO] Spawning weapons in maps

Hello, I'm currently trying to spawn guns at specified locations within the map. To do this, when the plugin is loaded I precache all weapon models I've found and then use a "SpawnGun()" function to...
Forum: Scripting 03-20-2018, 18:56
Replies: 5
Views: 1,439
Posted By popey456963
Re: Enum scoping

I mean a file that is named "helpers.inc" that is, unfortunately, not that file.
Forum: Scripting 03-14-2018, 19:08
Replies: 5
Views: 1,439
Posted By popey456963
Re: Enum scoping

Turns out I had a file called "helpers" in my include directory which was messing around with things.
Forum: Scripting 03-14-2018, 18:50
Replies: 5
Views: 1,439
Posted By popey456963
Re: Enum scoping

Thanks for the response Fyren:

#if !defined _player_methodmap_include
#define _player_methodmap_include

/*
* Base CS:GO plugin requirements.
*/
#include <clientprefs>
#include <sourcemod>
Forum: Plugin/Gameplay Ideas and Requests 03-09-2018, 16:17
Replies: 3
Views: 1,465
Posted By popey456963
Re: [EXT] Redis Extension

Wooo, thanks Skyy, that would be insanely awesome.

Quick KV lookups is something Sourcemod seems to be lacking (cookies are fairly slow with >100k users).
Forum: Scripting 03-09-2018, 16:08
Replies: 5
Views: 1,439
Posted By popey456963
Enum scoping

Hello,

At the moment I'm getting this fairly strange issue with enum scoping, I'm wondering whether anyone can point out where I'm going wrong? I'm currently playing around with methodmaps a lot,...
Forum: Scripting 03-03-2018, 08:31
Replies: 2
Views: 718
Posted By popey456963
Forum: Scripting 03-03-2018, 07:55
Replies: 2
Views: 718
Posted By popey456963
Prepared Statements in Threaded Queries

Trying to figure out a way of getting a prepared statement to work in a threaded query, is this possible? I have a prepared statement, like:

hMsgQuery = SQL_PrepareQuery(msgDb, "INSERT INTO msg...
Forum: SourceBans / SourceBans++ 11-06-2017, 17:12
Replies: 0
Views: 1,053
Posted By popey456963
Hide IP Addresses from Sourceban Staff

Found the setting to hide it from non-staff members, would be useful to also be able to hide it from staff with an option.
Forum: Scripting 11-03-2017, 10:32
Replies: 0
Views: 1,033
Posted By popey456963
[CSGO] Increase taser ammo by one

Hello, I'm slightly confused how to get player weapons and alter their ammo. I can use:

GetPlayerWeaponSlot(client, slot)

To get a specific weapon slot, but I'm trying to target the taser...
Forum: Plugin/Gameplay Ideas and Requests 11-02-2017, 22:03
Replies: 3
Views: 1,465
Posted By popey456963
[EXT] Redis Extension

Redis is useful for a whole bunch of quick key/value related things. Wondering whether someone could make an extension for it. Honestly, unsure how much effort this would be, Redis is written in C...
Forum: Scripting 10-05-2017, 20:52
Replies: 15
Views: 3,343
Posted By popey456963
Re: How to convert "const String:var[]" to new syntax

Ah, nice @Peace-Maker! I must admit I didn't as I thought pull requests didn't seem to be being reviewed at the moment (e.g. 39, 45).
Showing results 1 to 25 of 48

 
Forum Jump

All times are GMT -4. The time now is 06:38.


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