Raised This Month: $87 Target: $400
 21% 

Showing results 1 to 25 of 500
Search took 0.15 seconds.
Search: Posts Made By: Powerlord
Forum: Source Servers (SRCDS) 10-02-2019, 00:42
Replies: 7
Views: 835
Posted By Powerlord
Re: Are we allowed to give players hats and knives/weapons now? Or talk about it?

It's weird acting like Valve only objected to giving people economy items in QuickPlay considering that originally patched the game engine to make economy items invisible to players in early 2010......
Forum: Source Servers (SRCDS) 09-26-2019, 21:25
Replies: 7
Views: 1,289
Posted By Powerlord
Re: [TF2] Srcds dies as soon as it launches

Does you error log have anything in it?

In addition to what PC Gamer said, if you try to start a mvm_ map, it will immediately close the game unless maxplayers is set to 32.
Forum: General 09-19-2019, 18:04
Replies: 5
Views: 720
Posted By Powerlord
Re: How do I server command every time a player respawns??

You may want to look into the post_inventory_application (https://wiki.alliedmods.net/Team_Fortress_2_Events#post_inventory_application) event, which is fired every time the game refreshes a player's...
Forum: Source Servers (SRCDS) 09-16-2019, 16:05
Replies: 2
Views: 749
Posted By Powerlord
Re: [TF2] CP maps ending on map time end, not round time end

5CP and CTF are intentionally designed to work this way, starting a Sudden Death round if the team scores are tied (and the server is configured to do Sudden Death).

A/D CP shouldn't be doing...
Forum: Snippets and Tutorials 09-11-2019, 18:15
Replies: 1
Views: 1,301
Posted By Powerlord
Re: [TF2]Editing Round Timer

For TF2 Prop Hunt, I actually hooked my team_round_timer spawning to the SDKHook_SpawnPost of the team_control_point_master entity. As a failsafe, I check in teamplay_round_start to see if a TCPM...
Forum: General 09-10-2019, 18:11
Replies: 14
Views: 896
Posted By Powerlord
Re: Two map lists, Default and Nominations

Oh, I think I know why that is. MapChooser isn't updated very often and I don't think it was ever updated to respect CS:GO's mp_map_can_clinch cvar, which is what tells CS:GO to end a map if one...
Forum: Scripting 09-09-2019, 13:27
Replies: 11
Views: 1,012
Posted By Powerlord
Re: [HELP] Get All Cmd Args

The function GetCmdArgString (https://sm.alliedmods.net/new-api/console/GetCmdArgString) will do exactly what you want.
Forum: General 09-07-2019, 21:14
Replies: 14
Views: 896
Posted By Powerlord
Re: Two map lists, Default and Nominations

"target" "addons/sourcemod/configs/randomcycle.ini"

should be

"file" "addons/sourcemod/configs/randomcycle.ini"

Edit:

Likewise
Forum: Scripting 09-05-2019, 20:36
Replies: 5
Views: 941
Posted By Powerlord
Re: Return value for PrintToChatAll ?

...just use the version of PrintToChatAll (https://sm.alliedmods.net/new-api/halflife/PrintToChatAll) that exists in the SourceMod API.

Edit: If you really want to know what the code for...
Forum: Scripting 08-27-2019, 19:20
Replies: 6
Views: 990
Posted By Powerlord
Re: SetMenuOptionFlags(menu, MENUFLAG_BUTTON_NOVOTE) results in misaligned menu

Votes usually don't have an Exit button, so Previous and Next get moved down.
Forum: Scripting 08-18-2019, 12:26
Replies: 3
Views: 858
Posted By Powerlord
Re: [TF2] Green healing indicator, Ammo pack entity, Extinguish

2. I believe it's tf_ammo_pack

3. I believe it's the generic ExtinguishEntity (https://sm.alliedmods.net/new-api/sdktools_functions/ExtinguishEntity) function.
Forum: Scripting 08-15-2019, 23:50
Replies: 24
Views: 1,065
Posted By Powerlord
Re: [TF2] Client is not in game bug

See also: Race conditions in multi-threaded programming.
Forum: Scripting 08-13-2019, 20:27
Replies: 24
Views: 1,065
Posted By Powerlord
Re: [TF2] Client is not in game bug

Just to be clear, this is the only CreateTimer that uses the RespawnRebalanced callback?
Forum: General 08-13-2019, 20:01
Replies: 1
Views: 661
Posted By Powerlord
Re: Double Chat in TF2?

Well, the most likely culprit would be Simple Chat Processor, which is pretty old at this point. Simple Chat Processor Redux might fix this issue... not sure.

Edit:...
Forum: Off-Topic 08-11-2019, 14:39
Replies: 14
Views: 3,029
Posted By Powerlord
Re: about the newest cs 1.6 update

It's about time GoldSrc got the equivalent of Source's FCVAR_SERVER_CAN_EXECUTE
Forum: Scripting 08-02-2019, 19:26
Replies: 6
Views: 712
Posted By Powerlord
Re: ITEMDRAW_DISABLED error

Did this break at some point? It used to work just fine and is still used in MapChooser Extended to this day.
Forum: Source Servers (SRCDS) 07-28-2019, 18:40
Replies: 7
Views: 678
Posted By Powerlord
Re: CSGO Workshop Collections are broken for me

Workshop maps can be referenced in mapcycle / maplist by their workshop id.

i.e.

workshop/279697343
Forum: Scripting 07-22-2019, 13:27
Replies: 1
Views: 801
Posted By Powerlord
Re: Help with zephyrus store include's new syntax

Those enums are actually enum structs. If you want to use new syntax for them, check out the SourceMod 1.10 support for enum structs...
Forum: Source Servers (SRCDS) 07-20-2019, 20:55
Replies: 2
Views: 697
Posted By Powerlord
Re: Mapchange Loads Same Map Then Changes csgo

If you're using CS:GO's built in map voting, remove SourceMod's nextmap.smx plugin.
Forum: Scripting 07-17-2019, 18:51
Replies: 3
Views: 685
Posted By Powerlord
Re: new-style decl...

What the Doctor said.

Return type is required in new-style declarations. If your function doesn't return anything, use the void return type.
Forum: Scripting 07-14-2019, 14:17
Replies: 6
Views: 1,027
Posted By Powerlord
Re: Plugin does not call OnPluginStart when changing map

Well yeah, OnMapStart is called on map load, not for a round change. Players get disconnected/reconnected and the server executes certain config files on map changes... none of which happens on...
Forum: Scripting 07-06-2019, 21:13
Replies: 9
Views: 1,332
Posted By Powerlord
Re: Instruction contained invalid parameter

It's almost like Pawn (which isn't C) has memory limits in place since it's designed to work on embedded devices.
Forum: Scripting 06-24-2019, 10:45
Replies: 8
Views: 851
Posted By Powerlord
Re: Determining hour of the day and day of the week

UNIX timestamps don't include timezone information and is always the number of seconds since 1970 January 1 0:00 UTC.

The current UNIX time immediately before I posted this is 1561383914
Forum: Scripting 06-19-2019, 17:59
Replies: 7
Views: 1,043
Posted By Powerlord
Re: Hello I need help on TF2 Health

...or you could just use SDKHooks's SDKHook_GetMaxHealth hook, which works on all epv2 games including TF2 and has its gamedata updated by the AlliedModders staff.
Forum: Off-Topic 06-15-2019, 17:05
Replies: 59
Views: 7,597
Posted By Powerlord
Re: Your favorite programming language?

Java is really only used for Android phone apps and the backend of web applications these days.
Showing results 1 to 25 of 500

 
Forum Jump

All times are GMT -4. The time now is 16:49.


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