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

Showing results 1 to 25 of 500
Search took 0.03 seconds.
Search: Posts Made By: klippy
Forum: Scripting Help 06-22-2021, 05:53
Replies: 4
Views: 332
Posted By klippy
Re: Nonsense Divide

From "Pawn The Language":

It just depends on how language designers decided. There are other mainstream languages that round towards -∞ too. There's no right or wrong choice here, it's just...
Forum: General 06-02-2021, 14:34
Replies: 1
Views: 610
Posted By klippy
Re: amxx giving strange output on sum of float and any

Float operators are defined only for (Float, Float), (_, Float) and (Float, _) tagged operands. "any" is literally anything and you shouldn't just treat it as an integer.
Forum: Suggestions / Requests 05-17-2021, 06:25
Replies: 13
Views: 562
Posted By klippy
Re: [WINDOWS/LINUX] ppmove signature or memory address!

Why are you doing it with Orpheu at all? You can just check pev_groundentity or FL_ONGROUND entity flag on PlayerPostThink, it's the first easily hookable (with fakemeta or engine) call right after...
Forum: Suggestions / Requests 05-16-2021, 14:58
Replies: 13
Views: 562
Posted By klippy
Re: [WINDOWS/LINUX] ppmove signature or memory address!

You don't need a signature, you can just hook pfnPM_Move (which is a part of the game dll interface, so you don't need a signature) and take its first argument. Here's an example:...
Forum: Module Coding 04-27-2021, 10:27
Replies: 2
Views: 724
Posted By klippy
Re: Use AMX pointer acquired from other thread.

Any interaction with AMXX should be done on the main thread.
Forum: Scripting Help 04-16-2021, 06:13
Replies: 14
Views: 738
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: 194
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: 717
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: 717
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: 324
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: 324
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: 2,384
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: 634
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: 350
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: 350
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: 552
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: 607
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: 607
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: 433
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: 295
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: 264
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: 295
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: 364
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: 455
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,713
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...
Showing results 1 to 25 of 500

 
Forum Jump

All times are GMT -4. The time now is 05:02.


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