Raised This Month: $90 Target: $400
 22% 

Showing results 1 to 25 of 460
Search took 0.07 seconds.
Search: Posts Made By: pizzahut
Forum: Suggestions / Requests 03-05-2019, 06:14
Replies: 8
Views: 433
Posted By pizzahut
Re: [Request] Discord Server Connection

Well it's an old thread, sorry for replying.
Forum: Suggestions / Requests 03-04-2019, 12:54
Replies: 8
Views: 433
Posted By pizzahut
Re: [Request] Discord Server Connection

That's what I'm looking for. Any progress yet?

Made a thread here: https://forums.alliedmods.net/showthread.php?t=314730
Forum: Suggestions / Requests 03-04-2019, 12:43
Replies: 0
Views: 367
Posted By pizzahut
Discord chat

I've been using the HLDS <-> IRC plugin (https://forums.alliedmods.net/showthread.php?t=40451) so far, however everyone is moving to Discord.

So could someone make a HLDS <-> Discord plugin?...
Forum: Approved Plugins 01-08-2019, 16:13
Replies: 19
Views: 10,915
Posted By pizzahut
Re: Simple Team Balancer for TFC

Uploaded a new beta version (5).

- Bishop (https://forums.alliedmods.net/member.php?u=36563) added cvar stb_immunity. If disabled, even admins with immunity have to keep teams even. Default is...
Forum: HLstatsX:CE 04-21-2018, 14:28
Replies: 3
Views: 962
Posted By pizzahut
Re: is hlstatsX down?

Probably stating the obvious, but maybe it helps someone getting rid of this error.

You need to edit the file "updatecheck_helper.php" and replace the URL with a fixed string, e.g. "unknown" (so...
Forum: HLstatsX:CE 04-21-2018, 14:22
Replies: 9
Views: 1,336
Posted By pizzahut
Re: Player avatars broken again?

This quick fix by Master works, though I later found out that https is possible using fsockopen as well. Also, there is no error checking done in the quick fix.

So you can use this, but it's...
Forum: HLstatsX:CE 04-09-2018, 21:00
Replies: 9
Views: 1,336
Posted By pizzahut
Player avatars broken again?

Not running hlstatsx myself, but from what I've seen, Steam is now using https for the xml profile data. The function "fetchpage" in file "playerinfo_general.php" needs to be changed accordingly to...
Forum: Scripting Help 06-04-2017, 17:07
Replies: 13
Views: 729
Posted By pizzahut
Re: Prevent bots from changing team or spectating? (FoxBot for TFC)

In the thread title it says "FoxBot for TFC". Doesn't look like PodBot supports TFC.

http://podbotmm.bots-united.com/doc_v3/index.html

There are some other bots which do, but it's up to Unzy...
Forum: Scripting Help 06-04-2017, 16:44
Replies: 13
Views: 729
Posted By pizzahut
Re: Prevent bots from changing team or spectating? (FoxBot for TFC)

Maybe PodBot works differently. I did this and it only ever said once that a human joins (which was me), no mention of a bot using any of these commands:


#include <amxmodx>
#include <engine>
...
Forum: Scripting Help 06-04-2017, 16:00
Replies: 13
Views: 729
Posted By pizzahut
Re: Prevent bots from changing team or spectating? (FoxBot for TFC)

Added this now, needs testing though.


new team_name[32] // new variable

...

// old code
get_pcvar_string(g_bvh_bot_team, bot_team, charsmax(bot_team))
engclient_cmd(id, "jointeam",...
Forum: Scripting Help 06-04-2017, 15:01
Replies: 13
Views: 729
Posted By pizzahut
Re: Prevent bots from changing team or spectating? (FoxBot for TFC)

I have an idea, maybe in addition to the jointeam command (via engclient_cmd) I should create a TeamInfo event, this might update the scoreboard?

Plugin source:...
Forum: Scripting Help 06-04-2017, 12:41
Replies: 13
Views: 729
Posted By pizzahut
Re: Prevent bots from changing team or spectating? (FoxBot for TFC)

Thanks for the help Craxor. However as I mentioned, blocking client commands only works for human players.

Unzy if it only happens on map change, maybe try adding a delay. In the "foxbot.cfg",...
Forum: Scripting Help 06-04-2017, 07:34
Replies: 13
Views: 729
Posted By pizzahut
Prevent bots from changing team or spectating? (FoxBot for TFC)

The problem with FoxBots is that they occasionally change team and do other weird things like they might be stuck in spectator mode or they sometimes don't select a class. I've written a plugin which...
Forum: Scripting Help 02-27-2017, 14:18
Replies: 12
Views: 1,061
Posted By pizzahut
Re: MapVote Ini

Semi-related to this topic, I think it's better if you use your own voting map once your map voting plugin is finished. So not a 1:1 copy of the one FM uses. As I understand it, some maps they made...
Forum: Scripting Help 02-27-2017, 13:22
Replies: 12
Views: 1,061
Posted By pizzahut
Re: MapVote Ini

It was not asked here, what?
Forum: Scripting Help 02-26-2017, 13:12
Replies: 12
Views: 1,061
Posted By pizzahut
Re: MapVote Ini

Known bug: May find several panels for a player.

public display_map_name(task_id)
{
new ent
new entcount, entlist[32]
new panel
while ((ent = find_ent_by_tname(ent, "target_map")))
{...
Forum: Scripting Help 02-25-2017, 15:29
Replies: 12
Views: 1,061
Posted By pizzahut
Re: MapVote Ini

I forgot about pre-caching, plus this probably won't even work (not tested).


#include <amxmodx>
#include <amxmisc>
#include <engine>

#define MAXNAMES 500
#define PANELCOUNT 40
Forum: Scripting Help 02-25-2017, 12:14
Replies: 12
Views: 731
Posted By pizzahut
Re: Light Problem

There seems to be a limit of 32 dynamic lights. If there are more, some will turn off shortly after activation.

This variant creates dynamic lights with a 0.1s pause before creating the next one....
Forum: Scripting Help 02-25-2017, 12:07
Replies: 12
Views: 1,061
Posted By pizzahut
Re: MapVote Ini

Part of your request, that is reading an ini file and selecting random maps from it, without duplicates.

#include <amxmodx>
#include <amxmisc>

#define MAXNAMES 500
#define PANELCOUNT 40
...
Forum: Suggestions / Requests 02-23-2017, 15:52
Replies: 7
Views: 440
Posted By pizzahut
Re: Request] Plugin Jump + Speed + go forward

Here's the plugin I made for DarthMan:


#include <amxmodx>
#include <engine>

#define MAX_PLAYERS 32

public plugin_init()
{
Forum: Scripting Help 11-22-2016, 21:11
Replies: 6
Views: 512
Posted By pizzahut
Re: [WORKED AROUND] TFC - Forcing a flag drop on dustbowl style maps

Thanks SpannerSpammer and NiHiLaNTh, that was very helpful. Blocking flag touch is what the Twisted dustbowl server does AFAIK. I've been in contact with one of their admins but stopped bugging them...
Forum: Scripting Help 11-21-2016, 17:44
Replies: 8
Views: 605
Posted By pizzahut
Forum: Scripting Help 11-21-2016, 08:34
Replies: 8
Views: 605
Posted By pizzahut
Re: Damage can't increase damage

/**
* Ham return types.
*
* @note Return these from hooks to disable calling the target function.
* Numbers match up with fakemeta's FMRES_* for clarity. They are
* ...
Forum: Scripting Help 11-21-2016, 05:54
Replies: 6
Views: 415
Posted By pizzahut
Re: For or while

What are you trying to do, find out if a user has a grenade?

And for which game / mod is this, CS?

Maybe (didn't test):
if (user_has_weapon(id, CSI_HEGRENADE) || user_has_weapon(id,...
Forum: Scripting Help 11-21-2016, 05:27
Replies: 8
Views: 605
Posted By pizzahut
Re: Damage can't increase damage

It should be HANDLED after changing damage, and IGNORED otherwise. So like this:


SetHamParamFloat(4, damage)
return HAM_HANDLED
}

return HAM_IGNORED
}
Showing results 1 to 25 of 460

 
Forum Jump

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


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