Raised This Month: $100 Target: $400
 25% 

Showing results 1 to 25 of 51
Search took 0.09 seconds.
Search: Posts Made By: Kushfield
Forum: HL1 Servers (HLDS) 06-27-2019, 23:50
Replies: 3
Views: 2,686
Posted By Kushfield
Re: Issues with Steam

Thanks, it is indeed starting to look increasingly like a bug with either HLDS or the Steam master server. I was hoping not, since they seem to already be quite overwhelmed with issues.
Forum: HL1 Servers (HLDS) 06-27-2019, 18:07
Replies: 3
Views: 2,686
Posted By Kushfield
Re: Issues with Steam

Thanks to this thread (https://forums.alliedmods.net/showthread.php?t=192365), I found the API for checking which servers are registered with the master server.
According to that, the main IP has 6...
Forum: HL1 Servers (HLDS) 06-27-2019, 16:18
Replies: 3
Views: 2,686
Posted By Kushfield
Issues with Steam

There's some weird issues with Steam while playing on some of my servers, and the same has also been confirmed by other players. I have now narrowed it down to the IP address, but have no clue what...
Forum: Scripting Help 01-24-2019, 12:13
Replies: 7
Views: 565
Posted By Kushfield
Re: Help se..

http://www.amxmodx.org/api/amxmodx/set_hudmessage
Forum: Scripting Help 01-14-2019, 11:43
Replies: 8
Views: 605
Posted By Kushfield
Re: weird motd behavior (Reliable channel overflow)

It probably works on new game because you're the only guy on the top there, so the MOTD content is shorter. Try reducing the amount of players shown on the top or otherwise simplifying the page. In...
Forum: Scripting Help 01-14-2019, 11:28
Replies: 12
ACC
Views: 807
Posted By Kushfield
Re: ACC

It always shows 0 because you always pass it 0 (stats array). You would need to keep count of the amount of shots and hits each players makes in addition to kills and headshots. Then divide hit count...
Forum: Module Coding 01-13-2019, 22:13
Replies: 29
Views: 13,440
Posted By Kushfield
Re: Module: Curl

Just to let everyone here know, this module has received some improvements. Most importantly:

Several causes for crashes/freezes have been fixed
SoLoader (+ separate libssl and libcrypto...
Forum: Scripting Help 11-23-2018, 20:04
Replies: 3
Views: 392
Posted By Kushfield
Re: Use command once a day

I don't see him comparing last use time with SteamID anywhere.

As far as I can tell, the problem is in your SaveTime function:

public SaveTime(id)
{
new szTime[5]
...
Forum: Scripting Help 11-18-2018, 07:55
Replies: 7
Views: 417
Posted By Kushfield
Re: Admin base sql edited.

Those errors seem to suggest that you have made a typo somewhere in the code, possibly an extra (or missing) closing bracket somewhere. Double-check everything you last changed.
Forum: Scripting Help 11-18-2018, 07:49
Replies: 13
Views: 774
Posted By Kushfield
Re: Problem with "register_touch"

The HLTV event doesn't get called for each player separately, it gets called only once and there is no player ID passed to the function. This means you need to set the whole array to false at once,...
Forum: Scripting Help 11-18-2018, 06:56
Replies: 7
Views: 417
Posted By Kushfield
Re: Admin base sql edited.

I can see 2 problems with the code after a quick look:

Line 244 - You have the access flags and nickname parameter switched up:

AddAdmin(id, auth, nickname, flags, password, type, Comment)
...
Forum: Scripting Help 11-17-2018, 13:48
Replies: 11
Views: 853
Posted By Kushfield
Re: Menu show/hide button on player_spawn

Again, if you still didn't get it to work with what I explained, please post the code so I can see what exactly you did wrong. What I suggested should work fine for what (I understand) you need.
Forum: Scripting Help 11-17-2018, 13:42
Replies: 7
Views: 417
Posted By Kushfield
Re: Admin base sql edited.

As the error states, your admins table lacks a column called "nickname". I see in your code that in the CREATE TABLE code you do indeed add a column called "nickname", so that probably means your...
Forum: Scripting Help 11-16-2018, 13:20
Replies: 13
Views: 774
Posted By Kushfield
Re: Problem with "register_touch"

new bool:g_bTouchedTree[MAX_PLAYERS + 1];

public client_putinserver(id)
{
g_bTouchedTree[id] = false;
}

public fwd_touch(w_box,other){

if(!g_bTouchedTree[other])
Forum: Scripting Help 11-16-2018, 11:24
Replies: 13
Views: 774
Posted By Kushfield
Re: Problem with "register_touch"

It gets printed only in the center because thats how big you have set the entity size (entity_set_size( iEntity, Float:{ -1.0, -1.0, -1.0 }, Float:{ 1.0, 1.0, 36.0 } ); )
This means the entity size...
Forum: Scripting Help 11-16-2018, 11:12
Replies: 11
Views: 853
Posted By Kushfield
Re: Menu show/hide button on player_spawn

The suggestion of checking g_bMenuEnabled was so you can achieve this:


I assume you would want to keep showing the menu regardless of the value of g_bMenuEnabled, for that you just need to use...
Forum: Scripting Help 11-15-2018, 13:41
Replies: 13
Views: 774
Posted By Kushfield
Re: Problem with "register_touch"

Try the other possible values for pev_solid until you reach your goal.
http://www.amxmodx.org/api/hlsdk_const#pev-entity-pev-solid-values
I believe SOLID_TRIGGER would still keep it passable but...
Forum: Scripting Help 11-15-2018, 12:36
Replies: 11
Views: 768
Posted By Kushfield
Re: About Link Up the .ini Files to Plugins

There's now a function called AutoExecConfig in AMXX, which should take care of all the logic itself.
http://www.amxmodx.org/api/amxmodx/AutoExecConfig
Forum: Scripting Help 11-15-2018, 12:29
Replies: 11
Views: 853
Posted By Kushfield
Re: Menu show/hide button on player_spawn

How far did you get and what exactly is the issue now?
It would be beneficial if you can provide the piece of code that you tried so we can see what's wrong with it.
Forum: Scripting Help 11-15-2018, 12:19
Replies: 13
Views: 774
Posted By Kushfield
Re: Problem with "register_touch"

You can't touch entities with SOLID_NOT state - they can be passed as if they didn't exist, it's just a visual object.
Forum: Scripting Help 10-21-2018, 12:30
Replies: 10
Views: 696
Posted By Kushfield
Re: Plugin Bug

Create a global boolean array with 33 (MAX_PLAYERS + 1) cell size. When a player gets a knife, set the array index corresponding to player's index to true. Before displaying the menu to the player,...
Forum: Scripting Help 10-21-2018, 11:41
Replies: 9
Views: 459
Posted By Kushfield
Re: Issue with registering dictionary

LANG_PLAYER should be used only when you're printing out something for all players (using 0 as the id parameter), if you're sending a message to a single player, you should use id instead of...
Forum: Scripting Help 10-21-2018, 06:40
Replies: 10
Views: 696
Posted By Kushfield
Re: Plugin Bug

So you tried to remove the knife menu and now the knife menu doesn't work?
I don't get what the problem is.
Forum: Scripting Help 10-20-2018, 14:34
Replies: 11
Views: 853
Posted By Kushfield
Re: Menu show/hide button on player_spawn

Check the value of g_bMenuEnabled[id] again, so you know which name is shown for the menu item, and print the text accordingly.

To keep displaying the menu, you would need to use menu_item_setname...
Forum: Scripting Help 10-20-2018, 09:54
Replies: 5
Views: 449
Posted By Kushfield
Re: Rank calculation / sql

ORDER BY (wins / cups * players) DESC, wins DESC, cups DESC

First orders all players by (wins / cups * players), then orders groups of players with the same score according to wins, finally orders...
Showing results 1 to 25 of 51

 
Forum Jump

All times are GMT -4. The time now is 20:47.


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