Raised This Month: $76 Target: $400
 19% 

Showing results 1 to 25 of 500
Search took 0.09 seconds.
Search: Posts Made By: Fyren
Forum: Scripting 02-08-2019, 20:51
Replies: 6
Views: 1,065
Posted By Fyren
Re: Solve Exponential Base

Which specific operation are you claiming is wrong?

The output you gave us not helpful because it doesn't show the true value of mult, so we can't really verify anything. From only the code you...
Forum: Scripting 12-31-2018, 17:21
Replies: 13
Views: 762
Posted By Fyren
Re: pass handle through timer

The CreateEvent docs say not to just close the handle. I didn't look at the implementation to see why, but it may leak memory with the handle being closed.
Forum: Scripting 12-29-2018, 20:39
Replies: 13
Views: 762
Posted By Fyren
Re: pass handle through timer

I suppose you could clone the event handle and remember to close it later CreateEvent a new one, fill in its fields you care about, and Cancel it later.
Forum: Coding MM:S Plugins & SM Extensions 12-21-2018, 22:33
Replies: 6
Views: 976
Posted By Fyren
Re: CBaseAnimating::LookupSequence

Finding somewhere that calls it and pulling the address from there is one possibility.
Forum: Scripting 12-14-2018, 11:59
Replies: 4
Views: 470
Posted By Fyren
Re: TeleportEntity function?

They set the direction and velocity. It could be broken up to three separate functions (SetPosition, SetAngles/Direction, SetVelocity), but the function in the game itself is just one so it was left...
Forum: Scripting 12-14-2018, 11:54
Replies: 7
Views: 555
Posted By Fyren
Re: [L4D2] How to deliver extra arguments for callback function in HookConVarChange f

Handles are not pointers, they're more like handles in the Windows API or file descriptors.
Forum: Scripting 12-13-2018, 15:57
Replies: 7
Views: 555
Posted By Fyren
Re: [L4D2] How to deliver extra arguments for callback function in HookConVarChange f

You can't.

In your callback, you get the handle of the cvar, so you can use that to know which one it is. For example, you can check cvar == CurrentV[1], probably using a loop.
Forum: Scripting 12-10-2018, 21:27
Replies: 11
Views: 705
Posted By Fyren
Re: Memory leak on ADT Arrays

I meant all of it, at least concerning the handles. That'd include handle creation, closing, and also anywhere you put things into your array.
Forum: Scripting 12-08-2018, 12:10
Replies: 11
Views: 705
Posted By Fyren
Re: Memory leak on ADT Arrays

You probably need to post your code.
Forum: Scripting 11-15-2018, 15:02
Replies: 8
Views: 496
Posted By Fyren
Forum: Scripting 11-15-2018, 01:39
Replies: 8
Views: 496
Posted By Fyren
Re: Problem with some kind of "variables disaster"?

You could create dynamic arrays before 1.7. The old syntax for doing so was replaced in 1.7 and made an error (the one in the original post).
Forum: Scripting 11-13-2018, 19:40
Replies: 3
Views: 383
Posted By Fyren
Re: Inserting Hex code for text color

If you want literal bytes in the output, you have to use a series of %c. %x prints a 32-bit number as hex (i.e. a string).
Forum: Scripting 11-13-2018, 15:34
Replies: 4
Views: 459
Posted By Fyren
Re: How to apply a vector to a client?

Which still uses the same underlying teleport.
Forum: General 11-13-2018, 15:31
Replies: 1
Views: 140
Posted By Fyren
Re: cant not run ip range ban command

You already asked in the right place: that plugin's thread.
Forum: Scripting 11-12-2018, 17:05
Replies: 6
Views: 548
Posted By Fyren
Re: Entity Properties Gone After Update?

You should start out by saying which game and which kind of entity you were looking for those properties on.
Forum: Scripting 11-10-2018, 20:51
Replies: 1
Views: 367
Posted By Fyren
Re: How to fix these errors

public Action RetrieveWaveSettings(int wave, int client, int args, int event) has four parameters. RetrieveWaveSettings(g_iWave) is only passing one.
Forum: Scripting 11-10-2018, 00:17
Replies: 9
Views: 557
Posted By Fyren
Re: Crash on DHook detouring (dhooks.ext.dll + 0xc3e0)

I was wrong in my earlier reply. A read or offset entry are equivalent.

Though you found an alternate solution, in case someone happens to want the info:

If you have a signature for a...
Forum: General 11-09-2018, 17:57
Replies: 2
Views: 185
Posted By Fyren
Re: tank_hud.sp

If the include were missing, that would error instead. The include doesn't contain that function. Perhaps it's an older version.
Forum: Scripting 11-09-2018, 17:54
Replies: 9
Views: 557
Posted By Fyren
Re: Crash on DHook detouring (dhooks.ext.dll + 0xc3e0)

"Read" isn't for offsets, it's for indirections.
Forum: General 11-09-2018, 02:26
Replies: 2
Views: 203
Posted By Fyren
Re: Doubt with sm_warmode_on.cfg from SourceMod

You should customize the config to do whatever you want. The only purpose is to be run if you pick the "warmode on" item in the default adminmenu stuff. Since it's going to run sm plugins...
Forum: Scripting 11-01-2018, 12:21
Replies: 1
Views: 248
Posted By Fyren
Re: private profile kick fix?

This is not a scripting question. Post your issues with that plugin in its thread.
Forum: General 10-29-2018, 13:03
Replies: 3
Views: 305
Posted By Fyren
Re: Help with accelerator crash

Can you provide a version of your source that causes the crash?
Forum: Scripting 10-29-2018, 12:58
Replies: 3
Views: 197
Posted By Fyren
Re: MYSQL read Blob Data

There's probably a query you can run to get the actual length of the particular item. You can use the size to declare a dynamic array to hold the data. Alternatively, if the column's max size isn't...
Forum: Scripting 10-28-2018, 11:18
Replies: 2
Views: 167
Posted By Fyren
Re: Force AutoExecConfig() to create cfg in late

You can't reasonably do this yourself without examining the config contents. Just deleting the file would lose any changes the user has made. Even if you find code written to do this for you (which...
Forum: Coding MM:S Plugins & SM Extensions 10-26-2018, 17:51
Replies: 3
Views: 637
Posted By Fyren
Re: GCC version 4.6.4 and C++11

SM doesn't link/use libstdc++.
Showing results 1 to 25 of 500

 
Forum Jump

All times are GMT -4. The time now is 18:29.


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