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

Showing results 1 to 25 of 92
Search took 0.01 seconds.
Search: Posts Made By: Chief149
Forum: Scripting 09-19-2018, 12:43
Replies: 4
Views: 1,058
Posted By Chief149
Re: Sending a tempent beam with a life <0.1 means it's permanent

Looking at the code for sourcemod and for source engine I cannot find anywhere that clamps the float.
Forum: Scripting 09-18-2018, 22:03
Replies: 4
Views: 1,058
Posted By Chief149
Forum: Scripting 09-18-2018, 20:10
Replies: 4
Views: 1,058
Posted By Chief149
Sending a tempent beam with a life <0.1 means it's permanent

As the title states, when using TE_SetupBeamPoints, if you pass a value less than 0.1 (seconds) for the beam life parameter, then it simply becomes a permanent beam on the client side.

Is there...
Forum: General 05-03-2017, 14:04
Replies: 4
Views: 1,718
Posted By Chief149
Re: Sourcemod Info Help

Personally I wouldn't merge the two. If one is in C# and the other is C++ I'd keep them separate.
Forum: General 05-02-2017, 21:51
Replies: 4
Views: 1,718
Posted By Chief149
Re: Sourcemod Info Help

I read up on Bailopans blog. Found a couple of posts from 2007 involving the structure of .smx files, and I was able to get some info from looking at the source code, but I wasn't able to get a...
Forum: General 05-02-2017, 16:53
Replies: 4
Views: 1,718
Posted By Chief149
Sourcemod Info Help

So I had an idea for something to code over the Summer because I have a few ideas in my head, but no clue which one I actually wanna dedicate my new-found time to.

One of my ideas involves playing...
Forum: General 01-09-2017, 11:26
Replies: 276
Views: 209,977
Posted By Chief149
Re: RELEASE | SPEdit - a lightweight sourcepawn editor - NEW: Object-Browser/Translat

I love the update, but I would like to make a few requests:

1) When the user types ' or ", the plugin adds as second one. So typing ' gives me '' and typing " gives me "". I get where this is...
Forum: Scripting 01-08-2017, 10:34
Replies: 13
Views: 3,013
Posted By Chief149
Re: Native is not bound

I appreciate the discussion from you all.
Plugin A has always created its forwards and natives in AskPluginLoad2.
Plugin B depends on A.
"Native is not bound" only occurs when plugin B starts...
Forum: Scripting 01-06-2017, 03:02
Replies: 13
Views: 3,013
Posted By Chief149
Re: Native is not bound

That's the thing. When plugin B starts, it just does nothing (on purpose) until it is told to do something by plugin A when it eventually starts. By the time plugin A has told plugin B to do...
Forum: Scripting 01-05-2017, 21:56
Replies: 13
Views: 3,013
Posted By Chief149
Re: Native is not bound

Yeah that's what I have done since the start as that was the recommendation from the natives wiki back when I was first learning about natives.
Forum: Scripting 01-05-2017, 17:12
Replies: 13
Views: 3,013
Posted By Chief149
Native is not bound

So let's say plugin B is dependent of plugin A.

Plugin A defines a bunch of its own natives. They are all marked as optional.

If plugin A starts before plugin B then everything is fine.
If...
Forum: General 10-06-2016, 16:07
Replies: 7
Views: 2,006
Posted By Chief149
Re: Strange Occurrence when changing entity models

hl2dm. Eventually CS:S as well.

But CEF only has builds for 2009+ at the moment. I guess I could build a version for hl2dm as well, but I don't have all the stuff set up.

Honestly I'd just like...
Forum: General 10-06-2016, 12:48
Replies: 7
Views: 2,006
Posted By Chief149
Re: Strange Occurrence when changing entity models

Unfortunately that metamod plugin doesn't work.
Forum: General 10-06-2016, 10:20
Replies: 7
Views: 2,006
Posted By Chief149
Re: Strange Occurrence when changing entity models

Well that addon is neat, but it doesn't work really well. In fact, I tried a while ago, and it didn't work at all. As I am aware, the reason Source Engine isn't using the correct entity indices...
Forum: General 10-06-2016, 02:11
Replies: 7
Views: 2,006
Posted By Chief149
Strange Occurrence when changing entity models

So I made a furniture plugin for an RP server. Because players want to decorate their apartments with props, the entity count can get really high. The solution I came up with was to have all player...
Forum: General 09-28-2016, 22:33
Replies: 6
Views: 1,747
Posted By Chief149
Re: Simple Question Regarding SQL Callbacks

So deleting that db handle will not delete g_hDB? Because while they reference the same databases, they are clones?

Would something like this cause problems?

Handle g_hDB = Some Valid DB...
Forum: General 09-28-2016, 20:18
Replies: 6
Views: 1,747
Posted By Chief149
Re: Simple Question Regarding SQL Callbacks

A second question that is an afterthought.
I made a furniture plugin that re-uses entities. When an entity is needed, my plugin checks to see if there is an unused entity in the list. If not then it...
Forum: General 09-28-2016, 19:53
Replies: 6
Views: 1,747
Posted By Chief149
Simple Question Regarding SQL Callbacks

So we of course have queries being called in the following manner:


public void doMySQL() {
Handle g_hDB = Some Valid MySQL Handle; //PART1
char sQuery[256] = "SELECT * FROM mytable...
Forum: Snippets and Tutorials 09-28-2016, 15:12
Replies: 285
Views: 108,678
Posted By Chief149
Re: Dynamic Objects and Properties - v.0.0.16 - [2016.07.14]

That would be nice.

I have found that somewhere in my plugin is a memory leak, so I just added an object registration system. Every object my plugin makes goes to two lists. One list is used by my...
Forum: Snippets and Tutorials 09-26-2016, 20:23
Replies: 285
Views: 108,678
Posted By Chief149
Re: Dynamic Objects and Properties - v.0.0.16 - [2016.07.14]

Well I currently do not use any other plugins that use dynamic, and I do actually keep up with all of the dynamics.

I am not denying that I failed somewhere to clean up after myself as far as me...
Forum: Snippets and Tutorials 09-26-2016, 19:06
Replies: 285
Views: 108,678
Posted By Chief149
Re: Dynamic Objects and Properties - v.0.0.16 - [2016.07.14]

Ok so I can confirm that I did not break the version of your plugin that I am using. All I did was comment out the if statement that contains the code for disposing a dynamic object's members (if...
Forum: Snippets and Tutorials 09-26-2016, 18:30
Replies: 285
Views: 108,678
Posted By Chief149
Re: Dynamic Objects and Properties - v.0.0.16 - [2016.07.14]

YES!

I have personally been trying to figure out a solution myself after finding out it was happening, but because I could never see the actual error message, I couldn't think of anything to do...
Forum: Snippets and Tutorials 09-26-2016, 10:58
Replies: 285
Views: 108,678
Posted By Chief149
Re: Dynamic Objects and Properties - v.0.0.16 - [2016.07.14]

There appears to be a very rare memory leak going on where SourceMod closes your plugin. This might just be Sourcemod being dumb, but I wanted to mention this.

Why no copy/paste of the error, you...
Forum: Scripting 09-19-2016, 23:37
Replies: 5
Views: 961
Posted By Chief149
Re: How to add something to somebody by steam id

He made a typo. The function is defined as: StrEqual(char[] str1, char[] str2, bool ignoreCase=false);
Forum: Scripting 09-15-2016, 13:36
Replies: 3
Views: 1,119
Posted By Chief149
Re: Threaded Query

I will elaborate on Potato's input:

database is just another reference to the db handle. If you delete database then you are basically closing the original database handle that was used in...
Showing results 1 to 25 of 92

 
Forum Jump

All times are GMT -4. The time now is 21:45.


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