Raised This Month: $32 Target: $400
 8% 

Showing results 1 to 25 of 500
Search took 0.01 seconds.
Search: Posts Made By: HLM
Forum: New Plugin Submissions 05-15-2022, 10:46
Replies: 14
Views: 5,822
Posted By HLM
Re: [TFC] Bug Fixes v1.2

I looked through the code, and the only thing I could find that could potentially cause this is the call to change the tfstate flag.
set_pdata_int(iClient, 35, 0, OFFSET_CLIENT_LINUX_DIFF); //...
Forum: Scripting Help 09-09-2021, 09:34
Replies: 21
Views: 6,067
Posted By HLM
Re: [HELP] Hamsandwich -> Fakemeta

I am terribly afraid that the answer is going to be the same method I have used when I needed to learn about entity private data.. 'amx_dumppvdata'
...
Forum: Scripting Help 05-21-2019, 21:33
Replies: 6
Views: 1,032
Posted By HLM
Re: Monthly log file instead of writing to log_to_file

make a global variable that will save the string name for the logfile, in plugin_init you can either create a function or just do the code to get the date for the logfile string, then you can...
Forum: Scripting Help 05-12-2019, 22:31
Replies: 3
Views: 985
Posted By HLM
Re: External MOTD

I tried this once, you need to do the following.

1. block original MOTD call https://forums.alliedmods.net/showpost.php?p=599526&postcount=3
2. load custom content via sockets...
Forum: Module Coding 05-11-2019, 01:10
Replies: 82
Views: 44,056
Posted By HLM
Re: Module: Threaded Sockets

Hello, I was looking at this module for its threaded sockets function as I am making a webchat/realtime chat app, I was having issues as even AMXX 1.9 sockets caused me +30ms ping in order to read...
Forum: Scripting Help 05-10-2019, 18:47
Replies: 4
Views: 857
Posted By HLM
Re: Amxx equavalent of OnMapStart?

What exactly do you need to check on map start? plugin_init() is ran when the plugin is loaded for the first time on a map, however if there is something you need to modify or add to a map, you may...
Forum: Scripting Help 05-07-2019, 21:21
Replies: 2
Views: 806
Posted By HLM
Re: More efficient way to read socket data forever?

I forgot to mention, im currently on AMXX 1.9 and using the new socket natives (including nonblocking flag on socket_open)

Unfortunately the server communication native will not work for me as I...
Forum: Scripting Help 05-05-2019, 15:43
Replies: 23
Views: 3,028
Posted By HLM
Re: Check if file exists in a webserver

for(new i=0;i<count;i++)
{
parse(lines[i], line_variable, SIZE, line_value, SIZE)
if (equal(line_variable, "some_value"))
{
server_print("Value is %s",...
Forum: Scripting Help 05-05-2019, 15:20
Replies: 23
Views: 3,028
Posted By HLM
Re: Check if file exists in a webserver

Yes, use HEAD instead of GET if you just need to confirm the file exists (or doesn't)

You should also use socket_is_readable as socket_change is deprecated
Forum: Scripting Help 05-05-2019, 14:20
Replies: 23
Views: 3,028
Posted By HLM
Re: Check if file exists in a webserver

Use this: https://forums.alliedmods.net/showthread.php?t=41913

Perform a GET request for your file, read the response stream to find out if it exists (200), wasnt found (404), or some issue exists...
Forum: Scripting Help 05-05-2019, 14:16
Replies: 2
Views: 806
Posted By HLM
More efficient way to read socket data forever?

Hello. I am developing a chat application loosely based on the ideas from Kost's cross server admin chat.
https://forums.alliedmods.net/showthread.php?t=29073

It appears that there is no way to...
Forum: Scripting Help 04-24-2019, 19:14
Replies: 5
Views: 1,817
Posted By HLM
Re: get_clcmd

As far as im aware most cheats don't register their 'cvars' with the client and instead let players change their settings via cfg file or a custom menu (completely bypassing the client and making...
Forum: Scripting Help 03-03-2016, 16:30
Replies: 0
Views: 375
Posted By HLM
get_user_info() in if/elseif

Hello, I have been working on a small plugin that will automatically set up the setinfo line for my server admins who want to use the entmod metamod plugin (http://www.adminop.net/) since it is...
Forum: Scripting Help 04-22-2014, 21:47
Replies: 1
Views: 981
Posted By HLM
hook MOTD game event, final message not 'hooked'

Hello, I am hooking the event "MOTD" and that is working well as it fires whenever the MOTD is displayed, I have it set to display in my console, all is fine and dandy, except when the message that...
Forum: Scripting Help 12-04-2013, 13:53
Replies: 0
Views: 495
Posted By HLM
detecting collision when a player jumps?

Hello, I have been working on a plugin that adds/expands trimp/auto-bhop to my game. the problem is, the physics sometimes get weird when a user is unable to have the onground flag removed from them...
Forum: Scripting Help 11-21-2013, 14:58
Replies: 3
Views: 839
Posted By HLM
Re: Mysql Save data

Queries = SQL_PrepareQuery(g_SqlConnection,"CREATE TABLE IF NOT EXISTS %s (name varchar(64), points INT(11))", TABLE);

I have always had problems getting SQL_PrepareQuery to use formatting...
Forum: Scripting Help 11-11-2013, 13:18
Replies: 5
Views: 1,170
Posted By HLM
Re: changing player 'pain' sounds

Ham_Touch does not register my custom entities.. or any entities at all for that matter.

//public Hook_Touch(ent, id)//Ham Hook.. idthis, idother??
public Hook_Touch(id, ent)
{
//...
Forum: Scripting Help 11-10-2013, 19:05
Replies: 5
Views: 1,170
Posted By HLM
Re: changing player 'pain' sounds

im trying to do this (https://github.com/ValveSoftware/halflife/blob/master/dmc/dlls/player.cpp#L296)

the 1st hook didnt even work as it is actually a func_water that does the damage. I will be...
Forum: Scripting Help 11-10-2013, 17:54
Replies: 5
Views: 1,170
Posted By HLM
changing player 'pain' sounds

I am trying to insert my own painsounds into my function, but the engines painsounds are played instead, how would I stop them from playing so the ones in my function play?

...
Forum: Scripting Help 11-09-2013, 20:31
Replies: 0
Views: 494
Posted By HLM
entity 'idle' animation not playing.

Hello, I am adding new entities into my game, and have seen that dmc models have rotation built into their models! This is absolutely amazing!! Unfortunately.. I havent been able to get the model to...
Forum: Scripting Help 11-05-2013, 17:11
Replies: 3
Views: 729
Posted By HLM
Re: give user multiple weapons (dynamically)

Yes, thank you. Just what I needed.
Forum: Scripting Help 11-05-2013, 15:58
Replies: 3
Views: 729
Posted By HLM
give user multiple weapons (dynamically)

the function get_user_weapons(id, weapons[32], &num) (http://mxr.alliedmods.net/amxmodx-central/source/plugins/include/amxmodx.inc#309) will return(?) the bitsum of all weaponbits a player has, I...
Forum: Scripting Help 11-04-2013, 15:12
Replies: 3
Views: 958
Posted By HLM
"Speak from Location"

I am trying to simulate the !HEV_DEAD[0|1] from sentences.txt

// medical
HEV_DEAD0 fvox/beep beep, beep beep, beep, beep, flatline
HEV_DEAD1 fvox/beep beep, beep beep, beep, flatline

In HLDM,...
Forum: Scripting Help 11-04-2013, 07:11
Replies: 0
Views: 693
Posted By HLM
[SOLVED]remove (weapon) entity from player

Hello! I am trying to remove an entity from a player so that they can pick up another of the same type.

The entity is weapon_handgrenade, and it is an aiment assigned to PlayerENT after they touch...
Forum: Scripting Help 11-02-2013, 22:36
Replies: 5
Views: 1,497
Posted By HLM
Re: [HL1] Hooking Keyvalue on entities not in gametype

Yes, I am using hldm maps on my server, but my game doesnt have those weapons, I want to grab the info from the keyvalues and spawn the closest equivalent.. for example, weapon_shotgun ->...
Showing results 1 to 25 of 500

 
Forum Jump

All times are GMT -4. The time now is 21:11.


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