Raised This Month: $ Target: $400
 0% 

Showing results 1 to 12 of 12
Search took 0.00 seconds.
Search: Posts Made By: ekshon
Forum: Extensions 01-26-2022, 10:16
Replies: 16
Views: 15,617
Posted By ekshon
Re: [CS:GO] Hitbox Changer

Hello, is it possible to add some offset to hitboxes origin? This might fix the "func_tanktrain" issue where hitboxes are slided the way it moves.
Forum: Scripting 12-31-2021, 11:43
Replies: 0
Views: 649
Posted By ekshon
[ANY] create a function with "any data" parameter?

Can we create functions with "any" parameter that might be int / float ?


stock void SetTopTimer( any value )
{
//if <int> do nothing
//if <float> convert to <int>

PrintToServer( "%d",...
Forum: Scripting 05-21-2021, 16:12
Replies: 4
Views: 1,610
Posted By ekshon
Re: [ANY] variable scopes, namespaces, etc

Ehhh, that's the thing, I don't want to use global variables with prefixes. I have a lot of them and it makes a code completly unreadable even if they are in separated files. I want to find some...
Forum: Scripting 05-21-2021, 11:44
Replies: 4
Views: 1,610
Posted By ekshon
[ANY] variable scopes, namespaces, etc

Is it possible to somehow divide the code into multiple namespaces, like c# static classes?
I'm writing something big and it's painful to have 99999 variables with names like...
Forum: Scripting 01-07-2021, 05:55
Replies: 4
Views: 926
Posted By ekshon
Re: [ANY] Check if player is a different one

Wow thanks! I've missed that part was in a tutorial.
Forum: Scripting 01-07-2021, 00:31
Replies: 4
Views: 926
Posted By ekshon
Re: [ANY] Check if player is a different one

Hm, that's a good option, but what if players are able to call multiple timers? That would be a mess.
Forum: Scripting 01-06-2021, 23:51
Replies: 4
Views: 926
Posted By ekshon
[ANY] Check if player is a different one

Let's say I'm creating a timer.

CreateTimer(20.0, OnTimer, client);

player [1] disconnects, but another one connects straight after, asserting id [1]


public Action OnTimer(Handle timer,...
Forum: Scripting 12-21-2020, 11:34
Replies: 2
Views: 583
Posted By ekshon
Re: pass array as parameter

Thanks! It works! :wink:
Forum: Scripting 12-21-2020, 10:50
Replies: 2
Views: 583
Posted By ekshon
pass array as parameter

This works:

float pos[3] = {87.0,-862.0,0.0};
float ang[3] = {0.0,0.0,0.0};
float vel[3] = {0.0,0.0,0.0};
TeleportEntity(client, pos, ang, vel);


This is NOT:
TeleportEntity(client,...
Forum: Scripting 12-05-2020, 22:47
Replies: 29
Views: 9,885
Posted By ekshon
Re: [ANY/CSGO] cutlrbtree overflow, memory access

No, I never tried to call "FreeAll" on map end. I think there are more lists using CUtlRBTree type, not only "gamestringpool". But this one is the most common that causes crash. You can dump it with...
Forum: Scripting 12-05-2020, 03:51
Replies: 29
Views: 9,885
Posted By ekshon
Re: [ANY/CSGO] cutlrbtree overflow, memory access

Alright. Thank you guys in helipng me with this investigation!
Here's conclusion that might be helpful for anyone who's facing same problem:

Calling "FreeAll()" in round runtime wasn't a good...
Forum: Scripting 11-08-2020, 11:56
Replies: 29
Views: 9,885
Posted By ekshon
[ANY/CSGO] cutlrbtree overflow, memory access

Following this tweet https://twitter.com/ZooL_Smith/status/1162123189960478720 (all credits to ZooL) we have a knowledge why "CUtlRBTree overflow" crash happens. Every new unique string created (also...
Showing results 1 to 12 of 12

 
Forum Jump

All times are GMT -4. The time now is 18:03.


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