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

Showing results 1 to 25 of 500
Search took 0.01 seconds.
Search: Posts Made By: Exolent[jNr]
Forum: Scripting 05-12-2015, 15:26
Replies: 2
Views: 1,555
Posted By Exolent[jNr]
Re: SQL_GetRowCount

Because the number of rows returned is not the same number as COUNT(*).
It returns 1 row with the value of the COUNT(*).
So you have to fetch the first integer value from the row given.
Forum: Plugin/Gameplay Ideas and Requests 05-12-2015, 14:50
Replies: 5
Views: 1,341
Posted By Exolent[jNr]
Re: [REQ CS:GO] KDR checker before on connect

Here's something I whipped up.

--

Cvars:
sm_kdr_min <value>
- Default: 1.2
- Minimum KDR for player to stay in the server.

sm_kdr_sqlgroup <group>
Forum: Plugin/Gameplay Ideas and Requests 05-11-2015, 15:38
Replies: 5
Views: 1,341
Posted By Exolent[jNr]
Re: [REQ CS:GO] KDR checker before on connect

Does the server that they connect to also store Kills & Deaths? Because if the limit is also on the server recording stats, it will start to exclude players who do poorly until eventually no one is...
Forum: Plugin/Gameplay Ideas and Requests 05-11-2015, 10:52
Replies: 2
Views: 2,691
Posted By Exolent[jNr]
Re: [CSGO] Match plugin - Paid

This plugin (https://forums.alliedmods.net/showthread.php?t=244114) does most of what you want except for the Match Medic. An additional plugin to keep track of the money situation would be all you...
Forum: Scripting 05-04-2015, 11:38
Replies: 11
Views: 2,796
Posted By Exolent[jNr]
Re: Add two KeyValue files together

That method is much slower and uses more memory as well. I don't see the reason to do it that way.
Also, you should use an if statement when jumping to keys in case it fails, even if you tell it to...
Forum: Off-Topic 04-30-2015, 11:46
Replies: 3
Views: 935
Posted By Exolent[jNr]
Re: Mysql columns in a loop

This is Scripting Help for SourceMod scripting, but to answer your question:

echo ${'year_' . $theYear};
Forum: Scripting 04-30-2015, 11:43
Replies: 11
Views: 2,796
Posted By Exolent[jNr]
Re: Add two KeyValue files together

Here are the steps I would go about merging those:

Load the files into KeyValues handles A and B.
(Optional) Create another KeyValues handle for the merge if you need to keep the original...
Forum: Scripting 04-28-2015, 15:22
Replies: 2
Views: 683
Posted By Exolent[jNr]
Re: While Loop

The file pointer keeps track of the position inside the file that it is currently at.
So when it reads a line, it's current position is at the end of that line. When you read a line again, it...
Forum: Scripting 03-11-2015, 15:31
Replies: 3
Views: 1,214
Posted By Exolent[jNr]
Re: [MySQL] Are These Possible?

WHERE 'steamid' = '%s'

You are putting the column name in quotes rather than ` character. That is the issue.

EDIT:

And also here, too:

MIN('record')
Forum: Scripting 03-10-2015, 10:16
Replies: 8
Views: 3,787
Posted By Exolent[jNr]
Re: [CSGO]Any way to force +attack?

&= won't add the bit. You need to use |= instead.

& - Matches 2 bitsums for like bits
| - Combines 2 bitsums to keep positive bits
Forum: Scripting 03-09-2015, 15:06
Replies: 9
Views: 2,504
Posted By Exolent[jNr]
Re: CSS make player look at entity?

In the linked thread, a person posted 2 examples.
Forum: Scripting 03-09-2015, 15:01
Replies: 9
Views: 2,504
Posted By Exolent[jNr]
Re: CSS make player look at entity?

Aimbot plugins already exist on here, though. Also, an answer is already provided in the link given by Chdata.
Forum: Scripting 03-09-2015, 14:18
Replies: 16
Views: 2,035
Posted By Exolent[jNr]
Re: What I did wrong?

RegConsoleCmd() is the function to register new console commands. For more functions, see console.inc.

For examples, you can see some of SourceMod's default plugins such as basecommands.sp.
Forum: Scripting 03-09-2015, 14:15
Replies: 8
Views: 2,061
Posted By Exolent[jNr]
Re: [CS:GO] Replace all chickens

I do not require any credits. Just helping a fellow coder get better at scripting.
Forum: Scripting 03-09-2015, 14:10
Replies: 8
Views: 2,061
Posted By Exolent[jNr]
Re: [CS:GO] Replace all chickens

You have to use that function to loop through all chicken entities.
Also, you need to specify quotes around the classname since it is a string, unless you have a variable chicken holding that string...
Forum: Plugins 03-02-2015, 12:33
Replies: 784
Views: 410,573
Posted By Exolent[jNr]
Re: [CS:GO] Pug Setup (v1.3.3, 2015-2-22)

They aren't asking for full stats on anything, only their saved RWS.
Once they know it exists, they start wanting to know and get competitive about it.
Forum: Plugins 03-02-2015, 10:21
Replies: 784
Views: 410,573
Posted By Exolent[jNr]
Re: [CS:GO] Pug Setup (v1.3.3, 2015-2-22)

Just wanted to restate this since there are still issues with stats not saving since it only saves on map change.



Also, players would like to see their RWS so a command like sm_rws or sm_stats...
Forum: Plugins 03-01-2015, 16:26
Replies: 784
Views: 410,573
Posted By Exolent[jNr]
Re: [CS:GO] Pug Setup (v1.3.3, 2015-2-22)

I do not have control over my server's start-up parameters so I cannot add that unfortunately.
However, my server does allow setting map management by pre-determined map lists or by specifying a...
Forum: Plugins 03-01-2015, 13:17
Replies: 784
Views: 410,573
Posted By Exolent[jNr]
Re: [CS:GO] Pug Setup (v1.3.3, 2015-2-22)

I noticed some issues with my custom chat aliases, specifically ones beginning with .t like:"ChatAliases"
{
".test" "sm_ready"
}

That alias is being overwritten by the ".t" alias because...
Forum: Plugins 02-28-2015, 13:03
Replies: 784
Views: 410,573
Posted By Exolent[jNr]
Re: [CS:GO] Pug Setup (v1.3.3, 2015-2-22)

Make sure you're running SourceMod version 1.7 or higher, preferably the latest.
Forum: Plugins 02-27-2015, 22:36
Replies: 784
Views: 410,573
Posted By Exolent[jNr]
Re: [CS:GO] Pug Setup (v1.3.3, 2015-2-22)

We played a game but there was a CS:GO update tonight which caused a server restart before it could save the stats on map change.
I think the stats should be saved whenever a match is finished, and...
Forum: Plugins 02-27-2015, 18:51
Replies: 784
Views: 410,573
Posted By Exolent[jNr]
Re: [CS:GO] Pug Setup (v1.3.3, 2015-2-22)

Is OnMapStart() called if a plugin is loaded in the middle of the map?
When I was testing I didn't bother changing maps or stop the server or anything.
I just used "sm plugins refresh" to reload...
Forum: Scripting 02-27-2015, 14:08
Replies: 4
Views: 1,319
Posted By Exolent[jNr]
Re: [CS:GO] Straight

What if you set movetype to MOVETYPE_FLY?
Forum: Plugins 02-27-2015, 10:20
Replies: 784
Views: 410,573
Posted By Exolent[jNr]
Re: [CS:GO] Pug Setup (v1.3.3, 2015-2-22)

Yes that is the cvar value. We did some testing last night and could no reproduce the captains issue.
Must have been some bug with my server.

Last night was a quick 2v2 game and I did sm_showrws...
Forum: Scripting 02-26-2015, 18:00
Replies: 10
Views: 2,643
Posted By Exolent[jNr]
Re: [cs:go] menu pop-up on roundstart and chat cmd.

I wasn't aware SourceMod automatically created chat aliases for registered commands. I'm used to AMXX and still learning SourceMod's nuances. Thanks!
Showing results 1 to 25 of 500

 
Forum Jump

All times are GMT -4. The time now is 10:37.


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