Raised This Month: $52 Target: $400
 13% 

Showing results 1 to 25 of 500
Search took 0.03 seconds.
Search: Posts Made By: KliPPy
Forum: Scripting Help 04-16-2021, 06:13
Replies: 5
Views: 135
Posted By KliPPy
Re: Better way to check if exist other than for loop

You should first find which skills the player doesn't have yet and then select only among those randomly.
Forum: Scripting Help 04-09-2021, 13:06
Replies: 2
Views: 123
Posted By KliPPy
Re: set_task (idk what to write here, sorry)

Pawn has one data type and it's a cell, which is a 32 bits wide signed integer. So the maximum value is ~2 billion.
Forum: Scripting Help 04-07-2021, 10:06
Replies: 13
Views: 504
Posted By KliPPy
Re: Converting a windows plugin to linux?

No, I'm asking the OP. Create your own thread, it's unrelated to OP's problem and creates noise here.
Forum: Scripting Help 04-07-2021, 07:06
Replies: 13
Views: 504
Posted By KliPPy
Re: Converting a windows plugin to linux?

When does the server crash? Is it just at random or is it on certain events/actions, like you stabbing with a knife, round start, on server launch, etc... It's a really important piece of information...
Forum: Scripting Help 04-04-2021, 07:16
Replies: 4
Views: 238
Posted By KliPPy
Re: declaring static as global crashes the server if used in a function outside the f

No. Symbol (variable name, etc) scope has an effect only on where you can name it from. Think about local variables:

someFunction() {
const x = 5;
print_server("%d", x);
}

x in this...
Forum: Scripting Help 04-02-2021, 18:45
Replies: 4
Views: 238
Posted By KliPPy
Re: declaring static as global crashes the server if used in a function outside the f

The variable name or the variable binding is file-local, not its value.
Forum: Module Coding 03-27-2021, 12:38
Replies: 10
Views: 1,963
Posted By KliPPy
Re: [TUT NEEDED] Setting up Visual Studio 17 for module coding

If you think that instant messaging might be better, better ask in #amxmodx on the AM discord.
Forum: Suggestions / Requests 03-24-2021, 19:33
Replies: 18
Views: 453
Posted By KliPPy
Re: variable movement speed

I don't think the resources have ever been an issue there. The issue is that clients can't predict that so the motion will be jittery.
Forum: Suggestions / Requests 03-24-2021, 07:49
Replies: 6
Views: 260
Posted By KliPPy
Re: Force clients' cl_cmdrate to their fps_max +5

There's no use in getting their confirmation because it's not possible to do it - the server can't force a client to change their cvars.
Forum: Suggestions / Requests 03-24-2021, 05:12
Replies: 6
Views: 260
Posted By KliPPy
Re: Force clients' cl_cmdrate to their fps_max +5

You can't forcefully change many client cvars. The best you can do is ask them nicely or kick them.
Forum: Suggestions / Requests 03-22-2021, 11:20
Replies: 14
Views: 413
Posted By KliPPy
Re: [Question] queue waiting list

As far as I know, Minecraft doesn't have such a feature in the client either. What you are probably referring to is one of the plugins using BungeeCord, which means that when player are put in a...
Forum: Scripting 03-02-2021, 08:03
Replies: 5
Views: 523
Posted By KliPPy
Re: Get direction player is moving relative to other player

Yeah you should normalize both vectors. Dot product takes vector magnitudes into account but you're not interested in that, hence why we want unit vectors. Also you don't need the AddVectors and...
Forum: Scripting 03-01-2021, 11:20
Replies: 5
Views: 523
Posted By KliPPy
Re: Get direction player is moving relative to other player

This should be easily doable with a simple dot product between vectors a and b, where vector a is a unit vector in the direction from attacker's origin to victim's origin and b is a unit vector in...
Forum: Scripting Help 02-26-2021, 11:32
Replies: 13
Views: 364
Posted By KliPPy
Re: [ORPHEU] How to identify windows signatures ??

You can do a signature search in disassembly programs like IDA. Although you still won't know exactly what that function is as there's no debug info, it can possibly help you if it references any...
Forum: Scripting Help 02-17-2021, 18:22
Replies: 7
Views: 232
Posted By KliPPy
Re: how does it work? 'gameme'

What do you mean by recover? Retrieve it from the game server?
Looking at the engine code, it seems the game server sends a connectionless UDP packet starting with "log ", which means that your...
Forum: Scripting Help 02-17-2021, 14:23
Replies: 5
Views: 217
Posted By KliPPy
Re: variables' prefixes

It's the Hungarian notation, which is a variable naming convention. It's only for semantics - they don't affect your program.
Forum: Scripting Help 02-17-2021, 12:57
Replies: 7
Views: 232
Posted By KliPPy
Re: how does it work? 'gameme'

It doesn't use sockets. It uses the logaddress_add command and generates logs for any interesting events. The game server sends logs to the server specified by that command. Here's the relevant...
Forum: Suggestions / Requests 02-16-2021, 06:35
Replies: 7
Views: 311
Posted By KliPPy
Re: is there a way to make grenades more powerful in CS 1.6?

I believe it's an issue with the bots you are using as bot entities from some bot plugins/modules don't quite properly imitate player entities. If I remember correctly, Podbot works great for plugin...
Forum: Scripting Help 02-05-2021, 08:26
Replies: 9
Views: 380
Posted By KliPPy
Re: +strafe (strafe modifier)

I believe it's completely handled client-side and just alters the movements that the client sends to the server.
Forum: Module Coding 01-18-2021, 15:58
Replies: 2
Views: 1,046
Posted By KliPPy
Re: Modifying movement code

Yeah, and it's probably client misprediction that causes that. I believe there's no way of avoiding it, unless you eliminate the root cause of getting stuck in place (and replicate that to clients...
Forum: General 08-04-2020, 15:58
Replies: 7
Views: 1,150
Posted By KliPPy
Re: Motd block via cheats?

There's really nothing you can do if a cheat blocks it. Otherwise when not cheating, as far as I know, there's no way to block it.
Forum: Scripting Help 08-02-2020, 16:22
Replies: 7
Views: 936
Posted By KliPPy
Re: are there native cvar ( host_framerate ) or change speed game

The cvar is networked according to Solo, so I guess it's possible to alter it using Orpheu or similar means. Might be worth trying that out.
Forum: General 05-23-2020, 09:15
Replies: 5
Views: 988
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: 459
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: 326
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...
Showing results 1 to 25 of 500

 
Forum Jump

All times are GMT -4. The time now is 12:48.


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