Raised This Month: $77 Target: $400
 19% 

Showing results 1 to 25 of 500
Search took 0.32 seconds.
Search: Posts Made By: KliPPy
Forum: Scripting Help 07-09-2019, 09:03
Replies: 15
Views: 704
Posted By KliPPy
Re: What is the unit of sv_gravity?

https://github.com/alliedmodders/hlsdk/blob/a0edb7792a96998d349325bebab8ea41ec5cb239/pm_shared/pm_shared.c#L739-L741
The gravity cvar is cut in half in this equation, so you could consider default...
Forum: Scripting Help 07-01-2019, 06:05
Replies: 15
Views: 1,090
Posted By KliPPy
Re: How can I check that?

What should the actual output of your code be? Then I may be able to tell you how to exactly use this thing.
Forum: Scripting Help 06-24-2019, 06:41
Replies: 15
Views: 1,090
Posted By KliPPy
Re: How can I check that?

182 / 15 is 12, it's integer division.
What you are currently doing is quite ugly.
Forum: General 06-21-2019, 15:18
Replies: 9
Views: 932
Posted By KliPPy
Re: There's no reason why client_disconnected forward should exist

That's actually a good point. Not sure what to do here, better wait for Arkshine to clear things up.
Forum: General 06-21-2019, 07:33
Replies: 9
Views: 932
Posted By KliPPy
Re: There's no reason why client_disconnected forward should exist

Yes, the naming was a mistake, but it has to exist as a separate forward.
Forum: Scripting Help 06-21-2019, 03:14
Replies: 15
Views: 1,090
Posted By KliPPy
Re: How can I check that?

In that case you just should align your current angle to an increment of 15.

new const alignedAngle = (floatround(currentAngle + 7.5) / 15) * 15;

Then you can just add or sub 15 a couple of...
Forum: General 06-19-2019, 17:45
Replies: 9
Views: 932
Posted By KliPPy
Re: There's no reason why client_disconnected forward should exist

I believe they are not called at exactly the same time. If the old forward was just replaced with the new one there could be some behavior changes in plugins. I.e, as Gabe said, it would break...
Forum: Off-Topic 06-17-2019, 05:44
Replies: 43
Views: 3,267
Posted By KliPPy
Re: Your favorite programming language?

You can use JavaScript anywhere today - site front-end, back-end, PC applications, mobile applications...
Forum: Off-Topic 06-06-2019, 13:48
Replies: 32
Views: 3,434
Posted By KliPPy
Re: AlliedModders logo ???

It was a matter of changing one link, the logo already existed.
We already went through this, please not this thread again https://forums.alliedmods.net/showthread.php?t=265369.
Forum: Off-Topic 06-06-2019, 04:58
Replies: 4
Views: 1,713
Posted By KliPPy
Re: Crowbar (Compile physics and reference.. numbers are wrong)

And everybody's still looking for a better description of the issue.
Forum: Off-Topic 06-05-2019, 05:24
Replies: 9
Views: 1,582
Posted By KliPPy
Re: Best Linux distribution?

Tinkering with the system? Always backup first!
Forum: Scripting Help 05-31-2019, 05:37
Replies: 7
Views: 782
Posted By KliPPy
Forum: Scripting Help 05-29-2019, 07:55
Replies: 2
Views: 672
Posted By KliPPy
Re: Hook at Damage Indicator

Damage indicators are displayed by the "Damage" message: https://wiki.alliedmods.net/Half-life_1_game_events#Damage. As you can see you can get the damage source origin from it.

Now what exactly...
Forum: Scripting 05-27-2019, 18:33
Replies: 6
Views: 681
Posted By KliPPy
Re: Call an Action function from another function

Just don't, do what Neuro Toxin said.
Forum: Off-Topic 05-24-2019, 11:23
Replies: 43
Views: 3,267
Posted By KliPPy
Re: Your favorite programming language?

Rust at the moment, but I mainly do TypeScript and JavaScript.
Forum: General 05-24-2019, 07:07
Replies: 18
Views: 1,540
Posted By KliPPy
Re: Avoid forwards (thinks, cmd)

I'm not sure if the AMXX Profiler works on 1.9.0, but if it does, try profiling all plugins and see if any function takes significant time.
IIRC there was a post that updated the profiler to at...
Forum: Scripting Help 05-21-2019, 10:59
Replies: 3
Views: 426
Posted By KliPPy
Re: Convert movedir to angles

The opposite of angle_vector() is vector_to_angle(), try that.
Forum: Scripting Help 05-21-2019, 09:16
Replies: 3
Views: 426
Posted By KliPPy
Re: Rotate movedir with another object

I'm not sure I really understand what you need, but you should be able to convert from angles to movedir (which seems to be a unit vector) with the angle_vector() function.
Forum: Scripting Help 05-21-2019, 05:06
Replies: 21
Views: 777
Posted By KliPPy
Re: client_disconnected() <-> plugin_end()

When does this error get thrown? At mapchange? Map start? First query? At any random point in time?
Forum: General 05-15-2019, 09:49
Replies: 2
Views: 507
Posted By KliPPy
Re: Load plugins from external source

No, you have to put a plugin into addons/amxmodx/plugins to run it. If you can somehow automatically download a plugin and put it into the said folder then I guess it could be considered as "loading...
Forum: HL1 Servers (HLDS) 05-15-2019, 07:13
Replies: 1
Views: 409
Posted By KliPPy
Re: TTT mode orpheu module problem

Turn on Orpheu through modules.ini but turn off TTT, so no plugin is using Orpheu's natives. If it works that way then it's probably an error in TTT and you should post in plugin's thread/write to...
Forum: General 05-15-2019, 07:11
Replies: 2
Views: 507
Posted By KliPPy
Re: Packed vs. Unpacked Strings

Because all natives/functions that accept strings would have to be re-coded to support packed strings, and there's really no reason for it. Nobody uses it now because it's just pain in the ass to use...
Forum: General 05-15-2019, 07:09
Replies: 3
Views: 465
Posted By KliPPy
Re: Error code

Well that looks like something out of mid 2000's. Can't really help you when both the FTP server and game panel software are out of our reach. I guess you should contact their support for help. In...
Forum: Scripting Help 05-14-2019, 10:31
Replies: 3
Views: 398
Posted By KliPPy
Re: _GLOBAL_OFFSET_TABLE_ signature

Oh I see what it is, but that symbol isn't present anymore. The older compiler probably added that for debugging purposes or whatever. There probably is a way to get the address of the GOT section by...
Forum: Scripting Help 05-14-2019, 08:16
Replies: 3
Views: 398
Posted By KliPPy
Re: _GLOBAL_OFFSET_TABLE_ signature

I can't find such symbol at all, doesn't seem to exist. What even is that? What do you use it for?
Showing results 1 to 25 of 500

 
Forum Jump

All times are GMT -4. The time now is 08:26.


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