Raised This Month: $12 Target: $400
 3% 

Showing results 1 to 25 of 500
Search took 0.03 seconds.
Search: Posts Made By: meTaLiCroSS
Forum: Code Snippets/Tutorials 09-25-2023, 16:47
Replies: 2
Views: 2,012
Posted By meTaLiCroSS
Re: Color modulation with light_environment/skybox

You can just set directly cvar's values without handling entities. Replicate this code:

void CEnvLight::KeyValue(KeyValueData *pkvd)
{
if (FStrEq(pkvd->szKeyName, "_light"))
{
int r, g, b,...
Forum: Code Snippets/Tutorials 09-25-2023, 16:39
Replies: 9
Views: 1,957
Posted By meTaLiCroSS
Re: [TUT] Tasks are Healthy, go for it

Are you aware that set_task algorithm has changed since 2006, the year that topic was made? You can find many of "nonsense" on Scripting Help talking about what to optimize or not, but today's...
Forum: Code Snippets/Tutorials 09-25-2023, 16:31
Replies: 5
Views: 2,454
Posted By meTaLiCroSS
Re: Testing AI with AMXX

Just proven this by teaching ChatGPT how SQLx works in AMXX plugins; just a leisure moment, but the AI didn't understand either
Forum: Code Snippets/Tutorials 09-25-2023, 14:34
Replies: 107
Views: 105,930
Posted By meTaLiCroSS
Re: [TUT] Custom Weapon Hud Sprites + Slot Redirection

Consider this information: https://wiki.alliedmods.net/CS_WeaponList_Message_Dump

Take a look to the NumberInSlot parameter: weapon_ak47 is listed in position 1, same as weapon_hegrenade....
Forum: Approved Plugins 05-29-2023, 17:00
Replies: 9
Views: 8,120
Posted By meTaLiCroSS
Re: [Condition Zero] Career Tasks Fix

https://github.com/s1lentq/ReGameDLL_CS/pull/836
Forum: Code Snippets/Tutorials 01-22-2023, 18:53
Replies: 2
Views: 1,850
Posted By meTaLiCroSS
Re: Origin to Hud

Long time ago I saw a GHW_Chronic code that did this but it lacks of precision when origin is outside player's viewcone, so I highly thank you for sharing this and the corresponding author.
Forum: Scripting Help 06-23-2022, 12:10
Replies: 6
Views: 1,506
Posted By meTaLiCroSS
Re: Ham_ObjectCaps bug ?

Well it seems you are not providing the entire code because I see no fault in the coding and you're missing some function hooking.
Forum: Scripting Help 06-21-2022, 23:22
Replies: 6
Views: 1,506
Posted By meTaLiCroSS
Re: Ham_ObjectCaps bug ?

Post full code, at least constants definition and functions registration
Forum: General 04-21-2022, 19:47
Replies: 6
Views: 1,313
Posted By meTaLiCroSS
Re: HELP creating a CS 1.6 ZP server

Pawn, follows C's syntax, but without memory operations.
Forum: Module Coding 01-02-2021, 13:46
Replies: 2
Views: 3,997
Posted By meTaLiCroSS
Re: Can't find okapi.inc

https://forums.alliedmods.net/showthread.php?t=234986
Forum: Scripting Help 01-02-2021, 13:45
Replies: 16
Views: 1,923
Posted By meTaLiCroSS
Re: ArrayFindString problem

1) Print all string values in g_aValues cellarray
2) Print the string passed on ArrayFindString (after cleaning)
3) Deduce
Forum: HL1 Servers (HLDS) 12-13-2020, 14:56
Replies: 6
Views: 2,942
Posted By meTaLiCroSS
Re: problem with fm_cs_get_user_team

stock fm_cs_get_user_team(id)
{
...
Forum: Scripting Help 10-20-2020, 23:07
Replies: 10
Views: 2,068
Posted By meTaLiCroSS
Re: Which method is more efficient?

We're in 2020, as a reminder
Forum: Scripting Help 07-21-2020, 20:17
Replies: 9
Views: 1,442
Posted By meTaLiCroSS
Re: Order Array By Name ASC?

I'm actually using Orpheu with 1.9. I can deduce that you have not even tried to prove. The only thing that cannot be used with Orpheu is ReHLDS/ReGameDLL, not really because of compat issues, its...
Forum: HL1 Servers (HLDS) 07-21-2020, 17:30
Replies: 63
Views: 39,358
Posted By meTaLiCroSS
Re: Regamedll_CS, Reverse-engineered mod CS

1.9 was released to make them compatible. Should be enough.
Forum: Code Snippets/Tutorials 06-06-2020, 23:03
Replies: 13
Views: 7,834
Posted By meTaLiCroSS
Re: Half-Life CD Player. Plays mp3's from ../valve/media directory.

Your code differs from the source code given.

The plugin can be exploited with just reconnecting, making players online listen everytime a track on every connection.

Do you even know the hell...
Forum: Scripting Help 05-14-2020, 11:45
Replies: 4
Views: 1,565
Posted By meTaLiCroSS
Re: remove_entity crash - amxx 1.9

Take a look next time

int is_ent_valid(int iEnt)
{
if (iEnt < 1 || iEnt > gpGlobals->maxEntities)
return 0;

if (iEnt <= gpGlobals->maxClients)
{
if (!MF_IsPlayerIngame(iEnt))
Forum: General 04-27-2020, 13:59
Replies: 191
Views: 74,373
Posted By meTaLiCroSS
Re: [Editor] AMXXPawn for Visual Studio Code

I was thinking on giving some suggestions about a few issues I saw while coding. Sad :cry:
Forum: General 04-24-2020, 16:45
Replies: 191
Views: 74,373
Posted By meTaLiCroSS
Re: [Editor] AMXXPawn for Visual Studio Code

Well, it seems you wrote wrong the dir, check it again, be careful with spaces. Mine's the following:

https://i.imgur.com/aCaTq1E.png

Got no issues with it
Forum: General 04-24-2020, 01:51
Replies: 191
Views: 74,373
Posted By meTaLiCroSS
Re: [Editor] AMXXPawn for Visual Studio Code

"C:\\Users\\Bruno\\Desktop\\addons\\amxmodx\\scripting",
->
"C:\\Users\\Bruno\\Desktop\\addons\\amxmodx\\scripting\\include",
Forum: General 07-27-2019, 16:29
Replies: 13
Views: 5,192
Posted By meTaLiCroSS
Re: Exceeding precache limits

Values are shared and hardcoded on client's binaries. That's the issue.
Forum: General 06-20-2019, 19:34
Replies: 9
Views: 3,788
Posted By meTaLiCroSS
Re: There's no reason why client_disconnected forward should exist

Quoting:



I guess there are a group of plugins which don't expect to catch that behaviour, and that would just break compatibility on many plugins. Also, client_disconnected is directly a hook...
Forum: General 05-23-2019, 17:21
Replies: 18
Views: 4,888
Posted By meTaLiCroSS
Re: Avoid forwards (thinks, cmd)

https://memegenerator.net/img/instances/82392393.jpg
Forum: General 05-23-2019, 15:47
Replies: 18
Views: 4,888
Posted By meTaLiCroSS
Re: Avoid forwards (thinks, cmd)

Wait for someone who can help you to check file by file, or pay someone to make a research on your server plugins. (I often do paid works related to optimization, if you're interested)
Forum: Scripting Help 05-23-2019, 15:10
Replies: 26
Views: 5,359
Posted By meTaLiCroSS
Re: client_disconnected() <-> plugin_end()

Your mistake is you are saving all data when client disconnects, when it must be saved a few seconds later a data is changed. Then you can assume is not needed to re-save data on disconnect (and...
Showing results 1 to 25 of 500

 
Forum Jump

All times are GMT -4. The time now is 15:32.


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