Raised This Month: $23 Target: $400
 5% 

Showing results 1 to 25 of 500
Search took 0.03 seconds.
Search: Posts Made By: KliPPy
Forum: General 05-23-2020, 09:15
Replies: 5
Views: 696
Posted By KliPPy
Re: Are .NET libraries usable in pawn?

Mono is not .NET Core, they are two different products.

I've tried embedding .NET Core a long time ago, but it didn't go well. Also it doesn't officially support Linux 32-bit which made me give up...
Forum: Scripting Help 05-07-2020, 14:16
Replies: 2
Views: 242
Posted By KliPPy
Re: Rich Presence for Counter Strike 1.6

There is no Game State Integration for CS 1.6, so I believe there's no other way than injecting into the game, which might trigger VAC. It would also be hacky and time consuming, so good luck on...
Forum: Scripting Help 05-01-2020, 07:09
Replies: 2
Views: 196
Posted By KliPPy
Re: Detecting if round finished naturally.

I don't really understand. What's the purpose of detecting that? I mean, if CTs kill each other, it's on them - they lost a round. That seems like a completely natural end of round to me. Am I...
Forum: Suggestions / Requests 04-26-2020, 19:36
Replies: 4
Views: 311
Posted By KliPPy
Re: Discord Rich Presence for CS 1.6 server?

Post the plugin and someone may be able to port it. However, that seems strange, as I believe the rich presence provider has to run on the client and not on the server.
Forum: Scripting Help 04-26-2020, 19:29
Replies: 9
Views: 351
Posted By KliPPy
Re: Weird error/crash after using server_cmd("stats") and server_exec() on a clcmd

I think I found the issue.
SV_ExecuteClientMessage (https://github.com/dreamstalker/rehlds/blob/f01bfdcdcb038c01778871793f7a5b70ac37b663/rehlds/engine/sv_user.cpp#L1767-L1791) mutates host_client...
Forum: Scripting Help 04-26-2020, 18:25
Replies: 9
Views: 351
Posted By KliPPy
Re: Weird error/crash after using server_cmd("stats") and server_exec() on a clcmd

Can you run the server through GDB (or other debugger) and get the stack trace once it crashes? It could help us fix the issue, or at least find the cause and avoid it somehow.
Forum: Scripting Help 04-26-2020, 16:34
Replies: 9
Views: 351
Posted By KliPPy
Re: Weird error/crash after using server_cmd("stats") and server_exec() on a clcmd

I may be talking out of my arse, but it may be related to the fact that you are telling the engine to execute the command buffer immediately while it's processing a client command already.
Do you...
Forum: General 04-26-2020, 16:30
Replies: 156
Views: 25,516
Posted By KliPPy
Re: [Editor] AMXXPawn for Visual Studio Code

That's a bug in the AMXXPC itself IIRC. It also happened to me occasionally, whether I used VSCode or not. Never bothered to track it down though.

Also, my apologies to anyone using this thing. I...
Forum: Scripting Help 04-26-2020, 13:04
Replies: 7
Views: 340
Posted By KliPPy
Re: IN_USE block

This thread might help you, especially post #4: https://forums.alliedmods.net/showthread.php?t=304909
I'm not sure whether that's the issue here, but I think the changes you make in fwdCmdStart are...
Forum: Module Coding 04-26-2020, 12:54
Replies: 15
Views: 5,055
Posted By KliPPy
Re: Natives can return arrays in PAWN!

You can find it in the attached archive. It's just a bare bones module used for the proof of concept. It's not meant to be used in production.
Forum: Off-Topic 04-15-2020, 18:34
Replies: 2
Views: 515
Posted By KliPPy
Re: [HL1 MAP] RAD and VIS wont work.

>> There was a problem compiling the map.
>> Check the file C:\Program Files\Half-Life\valve\maps\cfaf.log for the cause.

Did you check the file? You should post it as well.
Forum: Scripting Help 09-05-2019, 05:24
Replies: 12
Views: 938
Posted By KliPPy
Re: Message color

Doing random(256) is a bad solution, because if it results in {0, 0, 0}, it will be completely transparent, not black. Most colors will appear faded and unsaturated because of how RGB works. A good...
Forum: Scripting Help 09-04-2019, 04:17
Replies: 12
Views: 831
Posted By KliPPy
Re: [AMXX] Run time error 3: stack error

Those don't live on the stack and won't cause a stack error.
Forum: General 08-31-2019, 05:01
Replies: 7
Views: 1,647
Posted By KliPPy
Re: help with downloarurl

You can for example get a VPS at Hetzner for 2.5 euros; or anywhere where there is a cheap VPS. You don't need anything powerful to run a download server, but you'll need to do some setup as it's not...
Forum: Scripting Help 08-13-2019, 09:16
Replies: 8
Views: 776
Posted By KliPPy
Re: callfunc_* alternative

PLUGIN_HANDLED is just a magic number. You can check for it and act accordingly, i.e. don't continue with whatever action is taking place.




How are these different? The number of parameters...
Forum: Scripting Help 07-23-2019, 19:04
Replies: 2
Views: 434
Posted By KliPPy
Re: Calculator

Look into Shunting-yard algorithm and Postfix/Reverse Polish notation, that should help you.
Forum: Scripting Help 07-09-2019, 09:03
Replies: 15
Views: 1,191
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,436
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,436
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: 2,092
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: 2,092
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,436
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: 2,092
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: 59
Views: 10,851
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: 5,996
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.
Showing results 1 to 25 of 500

 
Forum Jump

All times are GMT -4. The time now is 22:41.


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