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

Showing results 1 to 25 of 500
Search took 0.02 seconds.
Search: Posts Made By: aron9forever
Forum: Scripting Help 02-25-2018, 06:43
Replies: 10
Views: 2,486
Posted By aron9forever
Re: Dealing with server/plugin crash

well first, you're probably going to want to update to amxmodx 1.8.3 and use the new client_disconnected() instead of _disconnect, which does not get called in a very few special cases of dropped...
Forum: Scripting Help 02-25-2018, 06:37
Replies: 17
Views: 2,447
Posted By aron9forever
Re: Whats called before client_connect?

you are basically using their free hosting service for file sharing, for them it's literally no difference whether you use FastDL or start sharing mp3 files you host there

the point is you use a...
Forum: HL1 Servers (HLDS) 02-17-2018, 05:02
Replies: 4
Views: 1,552
Posted By aron9forever
Re: fullupdate

It's not really a command as much as it is a function, in the sense that the player's don't ever execute it manually but the game executes it for them on certain events

you can give it a try, hook...
Forum: General 02-16-2018, 19:36
Replies: 19
Views: 5,697
Posted By aron9forever
Re: Ddos on server

each packet from different ip? are you sure it's not being spoofed?

sorry to hear that, sounds like a nightmare, nothing you can do about it except switch hosting providers, and even then, nobody...
Forum: General 02-13-2018, 16:02
Replies: 19
Views: 5,697
Posted By aron9forever
Re: Ddos on server

You can install csf (configserver security & firewalll) and configure it to limit max connections per address to 5 and also set a limit on specific ports (such as 27015). Limits can be set such that...
Forum: Scripting Help 02-12-2018, 03:23
Replies: 3
Views: 1,111
Posted By aron9forever
Re: KZ-Arg on AMXX 1.8.3

please point out the line with the mismatch
Forum: HL1 Servers (HLDS) 02-12-2018, 03:20
Replies: 4
Views: 1,619
Posted By aron9forever
Re: Is this what FPS is supposed to look like?

do that and report back when they suspended your service --- NOT



@OP the price you're paying is outrageous unless you also have real DDOS protection in which case a big chunk of the money goes...
Forum: Scripting Help 02-09-2018, 11:05
Replies: 8
Views: 2,129
Posted By aron9forever
Re: what this code do?? and how to convert it to AMXX

looks like a piece of an amxmodx module to me, part of a long-jump that works for both players and NPCs
how to replicate? look for longjump plugins
Forum: Scripting Help 02-09-2018, 11:02
Replies: 18
Views: 3,097
Posted By aron9forever
Re: Optimizing a repeatable task

I'm not sure about this one either, but from my understanding the task system in amxmodx is pretty bad in general and will check whether the task should fire at every server frame. By using a...
Forum: Scripting Help 02-07-2018, 15:03
Replies: 18
Views: 3,097
Posted By aron9forever
Re: Optimizing a repeatable task

- if this is a permanent task then you are better off using a thinking entity
- ffs don't declare variables and in no way ARRAYS inside a loop. you are freeing and reallocating the memory at every...
Forum: Scripting Help 02-07-2018, 06:39
Replies: 2
Views: 739
Posted By aron9forever
Re: Make entity kill player if he blocked

Some moving entities such as doors have an integer attribute for how much damage to deal when blocked, I think most have it at 0, try modifying that
Forum: Scripting Help 02-06-2018, 08:47
Replies: 2
Views: 914
Posted By aron9forever
Re: HUD and dHUD not playing along nicely?

I thought hud and dhud had nothing to do with eachother
huds have 4 channels and dhuds have 8(but you can't set the channel, it selects automatically), so theoretically you should be able to display...
Forum: General 02-05-2018, 16:08
Replies: 19
Views: 5,697
Posted By aron9forever
Re: Ddos on server

is it a linux server? do you have access to SSH?
Forum: Scripting Help 02-05-2018, 15:59
Replies: 2
Views: 914
Posted By aron9forever
HUD and dHUD not playing along nicely?

Before I start, please know that there is a chance I misunderstood how huds and dhuds work and affect eachother in which case please correct my misassumptions.

The following code might look fat...
Forum: Scripting Help 12-08-2017, 18:35
Replies: 30
Views: 9,356
Posted By aron9forever
Re: Rotate an entity, then update the hullsize based on its new angle.

you can try with helicopter model provided in previous pages first to see if u can do the scripting part first
Forum: Scripting Help 12-08-2017, 09:53
Replies: 30
Views: 9,356
Posted By aron9forever
Re: Rotate an entity, then update the hullsize based on its new angle.

thanks for bumping this, would've never found it otherwise, this is great stuff

basically you have to edit your model for this to work, either by changing some bits with HEX or just recompile...
Forum: Scripting Help 12-04-2017, 06:23
Replies: 4
Views: 1,172
Posted By aron9forever
Re: Detect on Releasing/Holding attack2 button

the way I managed to detect press / hold / release is by adding a small time tolerance to the mix (something like 200 - 300ms delay and also fault tolerance)

I did this because on my crappy...
Forum: Scripting Help 12-04-2017, 06:17
Replies: 9
Views: 1,548
Posted By aron9forever
Re: a small question: fgets or read_file, which is faster?

shouldn't matter if you only do the file parsing once per map (like to read a config)


true, but there is no reason to use *_file instead of f*(), maybe no reason to keep them except backwards...
Forum: Scripting Help 12-01-2017, 06:23
Replies: 9
Views: 1,548
Posted By aron9forever
Re: a small question: fgets or read_file, which is faster?

https://wiki.alliedmods.net/Optimizing_Plugins_(AMX_Mod_X_Scripting)#File_Writing




these could use a deprecation warning in 1.8.3 like client_disconnect
Forum: Scripting Help 11-30-2017, 14:21
Replies: 9
Views: 1,522
Posted By aron9forever
Re: How to connect two plugins? Or Make subplugins.

in plugin for m4 you create a native player_equip_special_m4 or whatever
in plugin for ak47 you make player_equip_special_ak47
plugins only do what is needed for weapons like setting skin, sounds...
Forum: Scripting Help 11-30-2017, 06:52
Replies: 15
Views: 2,393
Posted By aron9forever
Re: Server timed out.

get_players used to have some problems with team flags, other than that it has always been the best way to iterate through all players
Forum: HL1 Servers (HLDS) 11-30-2017, 06:47
Replies: 2
Views: 7,604
Posted By aron9forever
Re: ./hlds_run: line 255: 5856 Segmentation fault $HL_CMD

if its 64bit OS then check if u have all 32bit libs installed, HLDS is strictly 32bit
Forum: HL1 Servers (HLDS) 11-30-2017, 06:45
Replies: 6
Views: 1,578
Posted By aron9forever
Re: Log Messages!

its in amxmodx/logs


@OP
if that doesn't work then check whether you have the necessary permissions to create files in the amxmodx/logs folder, this is not really "logging" as it is basically a...
Forum: Scripting Help 11-28-2017, 17:38
Replies: 15
Views: 2,393
Posted By aron9forever
Re: Server timed out.

make sure that the value of i is not being modified inside the loop
also, in case you use this loop to go through players, I would heavily recommend using get_players instead
Forum: Scripting Help 11-28-2017, 14:36
Replies: 17
Views: 3,117
Posted By aron9forever
Re: Model Change

how much are you going to try to reinvent the wheel until you finally use that API and replace your code with cs_set_player_model ? all problems you are complaining of are fixed by it
Showing results 1 to 25 of 500

 
Forum Jump

All times are GMT -4. The time now is 06:55.


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