Raised This Month: $7 Target: $400
 1% 

Showing results 1 to 25 of 500
Search took 0.02 seconds.
Search: Posts Made By: klippy
Forum: Scripting Help 04-25-2023, 20:02
Replies: 9
Views: 1,326
Posted By klippy
Re: Generate prefap in the map with AMXX

You can create a .bsp and just set it as a model for an entity as you would with a .mdl. I think you have to set SOLID_BSP as well, and probably some other things like the proper movetype. The model...
Forum: General 01-12-2023, 19:28
Replies: 19
Views: 6,691
Posted By klippy
Re: [Build Tool] AMXXPack

This is awesome, good job. While I currently don't have a need for this, I wished there was something like this years ago.
Forum: General 07-13-2022, 18:25
Replies: 4
Views: 1,357
Posted By klippy
Re: Are There any PVE options?

I remember there being a mod named Zombie Hell that was exactly what you described. There would be 5-6 or so human players and the rest would be bots that keep on spawning.
Forum: Scripting Help 07-13-2022, 18:22
Replies: 4
Views: 774
Posted By klippy
Re: How to get model attachment origin on a specific frame?

Looking at EngFunc_GetAttachment code, I believe it takes pev_frame into account. So if you want to get the attachment position on a frame other than what the entity's current frame is, just set...
Forum: Scripting Help 06-22-2021, 05:53
Replies: 4
Views: 717
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: 1,289
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: 1,488
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: 1,488
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: 4,147
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: 1,647
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: 521
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: 1,687
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: 1,687
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: 678
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: 678
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: 12
Views: 6,271
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: 1,831
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: 1,208
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: 1,208
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: 1,347
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: 1,413
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: 1,413
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: 1,154
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: 845
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: 708
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.
Showing results 1 to 25 of 500

 
Forum Jump

All times are GMT -4. The time now is 01:00.


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