Raised This Month: $108 Target: $400
 27% 

Showing results 1 to 25 of 500
Search took 0.05 seconds.
Search: Posts Made By: Fyren
Forum: Scripting Today, 00:40
Replies: 920
Views: 120,364
Posted By Fyren
Re: New API and Syntax

The timer resolution of ~0.1s still applies to a 0s timer. A 0s timer will fire anywhere from the next frame to ~0.1s later.
Forum: Metamod:Source Questions 01-18-2018, 22:11
Replies: 8
Views: 181
Posted By Fyren
Re: I cannot install metamod and it's driving me nuts.

I don't know why the VDF doesn't automatically load MM:S if the same path in it worked with plugin_print. Do you see anything unusual in the console when you start the server?
Forum: Scripting 01-18-2018, 22:08
Replies: 5
Views: 155
Posted By Fyren
Re: SQL Invalid handle?

If you look at your error log, you'll see an error about your Format call being broken. At the least, you'll have to escape some of your percent signs so Format doesn't try to handle them all.
Forum: Metamod:Source Questions 01-17-2018, 20:38
Replies: 8
Views: 181
Posted By Fyren
Re: I cannot install metamod and it's driving me nuts.

When you say 1.10.7, which specific build number?

At your server console, what's the output of plugin_print? What's it say if you do plugin_load addons/metamod/bin/server?
Forum: Scripting 01-17-2018, 14:06
Replies: 4
Views: 156
Posted By Fyren
Re: Entities inputs\outputs

You would have to show more code, but the error means you are probably causing infinite recursion.
Forum: Scripting 01-17-2018, 01:53
Replies: 18
Views: 355
Posted By Fyren
Re: [ANY] Native "ChangeClientTeam" reported: Client 32 is not in game

And I said it doesn't matter. Think about the size of the array you're declaring. Think about what your loop indices are at the last iterations.
Forum: Scripting 01-16-2018, 18:40
Replies: 20
Views: 459
Posted By Fyren
Re: Problem with compilation

You want GetPlayerSpeed(client) to call a the function you added, not GetPlayerSpeed[client].
Forum: Scripting 01-16-2018, 18:36
Replies: 18
Views: 355
Posted By Fyren
Re: [ANY] Native "ChangeClientTeam" reported: Client 32 is not in game

It doesn't matter if you use MAXPLAYERS or MaxClients, really, but if you have this (what you started with):

new players[MaxClients-1];
...
for(new i=1;i <= MaxClients;i++)
do something with...
Forum: Scripting 01-13-2018, 19:01
Replies: 12
Views: 588
Posted By Fyren
Re: [L4D2] How to find signatures?

IDA will probably tell you the parameter types if you look at the function. You can also use the tool c++filt and give it a mangled C++ symbol and it will convert it into a declaration (e.g....
Forum: Scripting 01-13-2018, 18:54
Replies: 5
Views: 156
Posted By Fyren
Re: copyback for CreateGlobalForward

You tell SM to copy back arrays or not when you push them to the forward.
Forum: Scripting 01-10-2018, 17:52
Replies: 8
Views: 228
Posted By Fyren
Re: [L4D2] Detect first and last map of campaign?

The return value of the function will be SDKCall's return value in cases where it's not a string/array.
Forum: Scripting 01-09-2018, 21:33
Replies: 8
Views: 228
Posted By Fyren
Re: [L4D2] Detect first and last map of campaign?

None. It takes no parameters. What you pasted from IDA is telling you it's a non-static member function.



If you're calling a plain non-member function (or I guess a static member function),...
Forum: Scripting 01-04-2018, 13:44
Replies: 11
Views: 261
Posted By Fyren
Re: GetClientAuthId giving STEAM_ID_STOP_IGNORI

Do not set the last parameter to false unless you want to allow people to fake their SteamIDs.
Forum: Coding MM:S Plugins & SM Extensions 01-01-2018, 10:57
Replies: 21
Views: 557
Posted By Fyren
Re: compiling sourcemod (Ambuild error!...)

When you ran the configure script, were there any errors?
Forum: Scripting 01-01-2018, 10:54
Replies: 2
Views: 127
Posted By Fyren
Re: FormatTime with "%R" don't work on windows.

Microsoft decided that stopping at the C standard from 1989 was okay, so yeah, you only get some of the format specifiers on Windows.
Forum: Scripting 01-01-2018, 10:27
Replies: 4
Views: 232
Posted By Fyren
Re: [CS:GO] Suppress maps custom "say"ings

There's probably a point_servercommand entity doing it that you could remove.
Forum: Scripting 12-31-2017, 17:21
Replies: 2
Views: 145
Posted By Fyren
Re: Writing to files issue

In case anyone cares, the reason the code in the first post produced an empty file is that the output file was never closed. Besides that, though, it mixes up bytes (what FileSize returns) and the...
Forum: Scripting 12-28-2017, 15:17
Replies: 3
Views: 111
Posted By Fyren
Re: m_vecVelocity[0] Property, not found

And that's why it's against the rules to delete/blank posts like that.
Forum: Scripting 12-22-2017, 16:52
Replies: 2
Views: 154
Posted By Fyren
Re: Getting certain datamaps from path_track

Those are probably pointers to entities. GetEntPropEnt will possibly work to give you an entity index.
Forum: General 12-21-2017, 09:59
Replies: 1
Views: 137
Posted By Fyren
Re: [CS:GO] Error With Cleaner !!

Don't make threads in general about specific plugins. You already posted there, where you should.
Forum: Scripting 12-16-2017, 21:06
Replies: 3
Views: 146
Posted By Fyren
Re: Get native owner

An extension could probably iterate plugins and check each to see if a native with the right name exists. Off the top of my head, that's the only relevant exposed functionality.

Why do you want...
Forum: Scripting 12-14-2017, 21:10
Replies: 2
Views: 131
Posted By Fyren
Re: Array Index Out of Bounds at Enum

In your enum for WeaponInfo, supplying enum member values is not doing at all what you want. Get rid of the manually set values. They do not have anything to do with default values, which is what I...
Forum: Scripting 12-14-2017, 20:59
Replies: 4
Views: 161
Posted By Fyren
Re: UID Not working propely

Your loop goes over every possible client index. Unless your server is always full, then some index in that range will not have a connected client. When you call GetClientUserId on such an index,...
Forum: Coding MM:S Plugins & SM Extensions 12-06-2017, 18:56
Replies: 1
Views: 126
Posted By Fyren
Re: operating system info

You wouldn't use MM:S or SM to get that info. Linux provides uname and Windows provides GetVersionEx.

There is some documentation on the wiki about their APIs, but the headers are frankly more...
Forum: Scripting 12-06-2017, 02:44
Replies: 7
Views: 255
Posted By Fyren
Re: Multidimentional String Array Help

Requiring you to set the last array size is, unfortunately, a different compiler bug, heh.

(Sorry for the slow response, was basically on vacation for two weeks.)
Showing results 1 to 25 of 500

 
Forum Jump

All times are GMT -4. The time now is 00:59.


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