Raised This Month: $12 Target: $400
 3% 

Showing results 1 to 25 of 113
Search took 0.01 seconds.
Search: Posts Made By: stickz
Forum: Plugins 03-01-2020, 22:50
Replies: 15
Views: 6,681
Posted By stickz
Re: [CS:GO] Map Deleter

This is how to create a plugin using arrays. It's only 150 lines and does the same thing as your 1250 lines.


#include <sourcemod>

#pragma newdecls required

#define CSGO_MAP_COUNT 54
...
Forum: Extensions 07-01-2019, 18:04
Replies: 421
Views: 274,542
Posted By stickz
Re: Accelerator - Crash Reporting That Doesn't Suck

Accelerator is no longer compatible with Nuclear Dawn. libstdc++.so.6 cannot be switched to the system library because it's not compatible with the engine. https://crash.limetech.org/q273hw7pv32j
...
Forum: Scripting 02-04-2019, 19:00
Replies: 6
Views: 1,889
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,889
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,889
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: 63
Views: 59,508
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: 6,898
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: 941
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: 909
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: 941
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 / SourceBans++ 12-07-2017, 14:01
Replies: 63
Views: 72,016
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: 846
Views: 574,637
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: 39,833
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: 766
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: 641
Views: 552,663
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: 2,778
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: 2,778
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: 2,778
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: 2,778
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: 1,356
Posted By stickz
Re: Displaying the '%' symbol

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

It doesn't though. :cry:
Forum: Scripting 08-12-2016, 12:05
Replies: 8
Views: 1,356
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: 1,332
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: 1,332
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: 641
Views: 552,663
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
Showing results 1 to 25 of 113

 
Forum Jump

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


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