Raised This Month: $62 Target: $400
 15% 

Showing results 1 to 25 of 111
Search took 0.02 seconds.
Search: Posts Made By: stickz
Forum: Scripting 02-04-2019, 19:00
Replies: 6
Views: 1,129
Posted By stickz
Re: Solve Exponential Base

The issue I have is 1.64 ^ 1.39 almost precisely equals 2. This not entirely the behavior I want.

I'm trying to calculate the base using IEEE rounding standards, that would round upwards to 2.
...
Forum: Scripting 02-04-2019, 11:21
Replies: 6
Views: 1,129
Posted By stickz
Re: Solve Exponential Base

I have the following code now.

void WriteConsoleSkillValues(int client, float mult)
{
for (int base = 1; base <= 10; base++)
{
float value = Pow(float(base), 1.0 / mult) * 100.0;...
Forum: Scripting 02-03-2019, 20:32
Replies: 6
Views: 1,129
Posted By stickz
Solve Exponential Base

I created an sm_botpow command (https://github.com/stickz/Redstone/blob/master/addons/sourcemod/scripting/nd_bot_feat/commands.sp) to output how many bots my exponential equations add.

It...
Forum: Snippets and Tutorials 04-03-2018, 19:08
Replies: 60
Views: 29,618
Posted By stickz
Re: [INCLUDE] AutoExecConfig: Read and append to auto configs

Could an optional function be added to remove convars, that are no longer relevant to a particular cfg file?

Here's an example...
Forum: Scripting 03-30-2018, 22:00
Replies: 15
Views: 1,642
Posted By stickz
Re: Is it possible to ban hackers who spoof their steam IDs?

People often trick their ISP into assigning a new IP address, by spoofing the mac address on their router. I can do this three times before the lease period is up. Then use anther steam account.
...
Forum: Scripting 03-28-2018, 12:12
Replies: 2
Views: 340
Posted By stickz
Re: Callback-provided entity -1 for inflictor is invalid

Nuclear Dawn has game sdk hooks support. It's highly possible that the inflictor is actually invalid when it's trying to change the damage dealt. I opted to return Plugin_Continue if the inflictor is...
Forum: Scripting 03-27-2018, 20:10
Replies: 1
Views: 295
Posted By stickz
Re: levelrank - teamkill

This code is crude. It's nearly impossible to understand. You should create more functions and comment things. Other people can't help you when the code is this messy. Also use new syntax.
...
Forum: Scripting 03-27-2018, 19:43
Replies: 2
Views: 340
Posted By stickz
Callback-provided entity -1 for inflictor is invalid

I've been getting this error for a while now. I can't figure out what it means and why it's happening.

L 03/25/2018 - 20:09:29: [SM] Exception reported: Callback-provided entity -1 for inflictor...
Forum: SourceBans 12-07-2017, 14:01
Replies: 63
Views: 46,764
Posted By stickz
Re: Sourcebans Host White/Blacklist

The problem with nfoservers is that they traffic shape. It's not a preferable option for web hosting because transfer speeds are slower on average. Other providers may work better for web host....
Forum: Extensions 10-16-2017, 13:47
Replies: 715
Views: 242,951
Posted By stickz
Re: [ANY] SteamWorks

I just crashed my game-server with this extension.
https://crash.limetech.org/4bn2qkvblmcg

I updated to the latest version while it was running, then it crashed when the map changed.
Forum: News 05-01-2017, 13:09
Replies: 16
Views: 18,063
Posted By stickz
Re: Development Roundup and More!

I think the SM 1.8 plugin loading logic broke something. I made the first issue report on Github.
Forum: Scripting 12-19-2016, 20:26
Replies: 1
Views: 398
Posted By stickz
How to calculate yroot in sourcemod ?!?

I have an exponential equation where i'm trying to solve for the exponent. I managed to simplify it, but can't seem to figure how to take the yroot of something in sourcemod.

Here's an example of...
Forum: Plugins 12-06-2016, 21:58
Replies: 624
Views: 336,896
Posted By stickz
Re: Updater

Is there any chance this plugin could be made a little bit more abstract to handle nuisances?

When plugin x fails to load because of an error like this, it also fails to update to fix the problem....
Forum: Scripting 10-09-2016, 22:45
Replies: 8
Views: 1,187
Posted By stickz
Re: Text File Handling

Thanks! I was forgetting to trim the string before adding it to the text file.

My final working code:

#define MAP_STORE_COUNT 30
#define MAP_SIZE 32

ArrayList g_PreviousMapList;

#define...
Forum: Scripting 10-08-2016, 17:55
Replies: 8
Views: 1,187
Posted By stickz
Re: Text File Handling

LogToFileEx isn't a good solution because I need to read each map name, then add it to an ADT Array. It adds tons of date/time junk to the file, that will need to be parsed through. There's got to be...
Forum: Scripting 10-08-2016, 08:53
Replies: 8
Views: 1,187
Posted By stickz
Re: Text File Handling

Server console returned unknown command for con_logfile maphistory.txt.


Will LogToFileEx() just print the name of the map on a new line? And nothing else (like dates, time, plugin etc.)? If not...
Forum: Scripting 10-07-2016, 15:43
Replies: 8
Views: 1,187
Posted By stickz
Text File Handling

I made this code to store and read the previous ten maps in text files. And push them to an adt array.

But now I want to store thirty maps in a text file and this method is horribly crude. Is...
Forum: Scripting 08-12-2016, 17:04
Replies: 8
Views: 700
Posted By stickz
Re: Displaying the '%' symbol

Thanks, % works nicely in hint-text!
Forum: Scripting 08-12-2016, 12:10
Replies: 8
Views: 700
Posted By stickz
Re: Displaying the '%' symbol

It doesn't though. :cry:
Forum: Scripting 08-12-2016, 12:05
Replies: 8
Views: 700
Posted By stickz
Displaying the '%' symbol

How do I display the "%" symbol without it assuming I want to reference a variable?

I've tried both

PrintHintText(client, "100%%");

And

PrintHintText(client, "100%s", "%");
Forum: Scripting 07-06-2016, 18:32
Replies: 3
Views: 646
Posted By stickz
Re: Retrieving information from steam stats

Yeah, i'm trying to figure out how to cache player class experience from steam stats to a variable, so it can be used for various useful purposes. A more dynamic method than this is required; as it...
Forum: Scripting 07-03-2016, 21:41
Replies: 3
Views: 646
Posted By stickz
Retrieving information from steam stats

I was wondering how to go about retrieving information from steam stats. I'm trying to pull class experience for Nuclear Dawn preferably using the SteamWorks extension. More info here....
Forum: Plugins 06-19-2016, 00:17
Replies: 624
Views: 336,896
Posted By stickz
Re: Updater

The updater isn't working properly on SM 1.8 build 5912.

It has loads of errors when trying to recompile the latest version.
https://travis-ci.org/stickz/Redstone/jobs/138664741#L488-L512
Forum: Extensions 06-10-2016, 12:42
Replies: 715
Views: 242,951
Posted By stickz
Re: [ANY] SteamWorks

Nuclear Dawn. Sourcemod 1.8 Build 5912. Started after upgrading from 1.7 build 5255.
Forum: Source Servers (SRCDS) 03-27-2016, 14:01
Replies: 0
Views: 293
Posted By stickz
server_srv.so! Server Crash

I have been experiencing an annoying server crash issue on Nuclear Dawn. Throttle has clearly indicated, it's directly related to the server-side game code.
https://crash.limetech.org/2qp6k2r2lywx
...
Showing results 1 to 25 of 111

 
Forum Jump

All times are GMT -4. The time now is 12:40.


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