Raised This Month: $32 Target: $400
 8% 

Showing results 1 to 25 of 73
Search took 0.01 seconds.
Search: Posts Made By: hh2
Forum: Plugins 08-29-2018, 07:13
Replies: 826
Views: 360,835
Posted By hh2
Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 19.7.2017* | *VERSION 3.1.3

Add this code after line 57 (https://github.com/ESK0/ServerAdvertisement3/blob/master/scripting/ServerAdvertisements3.sp#L57):

ArrayList temp, temp2;
for ( int i = 0; i <...
Forum: Plugins 08-28-2018, 13:40
Replies: 826
Views: 360,835
Posted By hh2
Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 19.7.2017* | *VERSION 3.1.3

It is: dump handles, change map, dump again and u will see that your created ArrayList is still there and they are not used again, because u created new ArrayList.
After some time (like 1-2 days...
Forum: Plugins 08-28-2018, 10:37
Replies: 826
Views: 360,835
Posted By hh2
Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 19.7.2017* | *VERSION 3.1.3

I don't know if someone mention this problem, but there is memory leak.
File misc.sp (https://github.com/ESK0/ServerAdvertisement3/blob/master/scripting/files/misc.sp#L19) (line 19 and 20).
Forum: Scripting 08-22-2018, 11:53
Replies: 11
Views: 4,001
Posted By hh2
Re: Invalid handle error even with checking if it is not null

Probably last thing i want to ask, to be 100% sure. Below code should be fine?

ArrayList a = new ArrayList(32);
ArrayList b = a; // or should i clone it and then just delete like...
Forum: Scripting 08-21-2018, 14:44
Replies: 11
Views: 4,001
Posted By hh2
Re: Invalid handle error even with checking if it is not null

Fyren, this is what sourcemod log, in the code it is delete not CloseHandle.
SHUFEN.jp, look at the code below, i think there is problem with iHeader[FH_frames], but im not sure about this.

One...
Forum: Scripting 08-20-2018, 20:37
Replies: 11
Views: 4,001
Posted By hh2
Re: Invalid handle error even with checking if it is not null

So i should search for that variable somewhere else and then set like this?

delete handle;
handle = null;
Forum: Scripting 08-20-2018, 20:29
Replies: 11
Views: 4,001
Posted By hh2
Invalid handle error even with checking if it is not null

I'm using BotMimic plugin (https://forums.alliedmods.net/showthread.php?t=164148), but every time when new map is started i always get invalid handle error.
Error:
[SM] Exception reported: Handle...
Forum: Scripting 09-19-2017, 16:08
Replies: 13
Views: 3,528
Posted By hh2
Re: Set pack position on end not working

This is what i need, thanks for your help guys.
Forum: General 09-19-2017, 12:06
Replies: 2
Views: 2,598
Posted By hh2
Re: [CSGO] Hide player boxes and radar for spectator

I saw that site earlier and i can find only commands that i mentioned in first post.
Also server with custom gamemode seems to hide these things from start, but in casual gamemode they are still...
Forum: Scripting 09-19-2017, 11:41
Replies: 13
Views: 3,528
Posted By hh2
Re: Set pack position on end not working

This library looking good, but i dont wanna use it only for 1 callback.


Probably use this method, but is there way to get rid of that warning: warning 204: symbol is assigned a value that is...
Forum: General 09-18-2017, 21:49
Replies: 2
Views: 2,598
Posted By hh2
[CSGO] Hide player boxes and radar for spectator

https://i.ytimg.com/vi/CLyQ1zZkjXs/maxresdefault.jpg

Look at the image, i want to hide player boxes (both sides) and radar for spectator.
I know that, there are commands for this, but they are...
Forum: Scripting 09-18-2017, 20:36
Replies: 13
Views: 3,528
Posted By hh2
Set pack position on end not working

What is wrong in this code?

// Create DataPack
DataPack pack = CreateDataPack();

// Write data to DataPack
pack.WriteCell(client);
pack.WriteString("test");
pack.WriteCell(5);
Forum: Scripting 09-18-2017, 17:17
Replies: 4
Views: 1,044
Posted By hh2
Re: Max datapack size

Ok, my fault.
Thanks for your help.
Forum: Scripting 09-18-2017, 16:50
Replies: 4
Views: 1,044
Posted By hh2
Re: Max datapack size

I created simple plugin to simulate writing string data to pack.
Limit for loop is 150 iterations.
After reading 106 strings each 32 chars max length, my console get spammed with this message:...
Forum: Scripting 09-18-2017, 11:08
Replies: 4
Views: 1,044
Posted By hh2
Max datapack size

What is the max size for datapack writing?
Forum: General 09-07-2017, 22:33
Replies: 6
Views: 2,098
Posted By hh2
Re: Error Host_Error: CL_ReadPreserveEnt: u.m_nNewEntity == MAX_EDICTS

Yay, finally they fixed that annoying bug: http://blog.counter-strike.net/index.php/2017/09/19268/
Forum: Source Servers (SRCDS) 08-21-2017, 19:39
Replies: 4
Views: 1,182
Posted By hh2
Forum: General 08-15-2017, 19:14
Replies: 6
Views: 2,098
Posted By hh2
Error Host_Error: CL_ReadPreserveEnt: u.m_nNewEntity == MAX_EDICTS

Hello, i know that this topic has been discussed more than once, but im curious if something has been done on this? Is there existing fix for this or what can cause this error, because this is so...
Forum: Scripting 12-09-2016, 05:02
Replies: 6
Views: 1,863
Posted By hh2
Re: Best way to set empty string

Thanks for your help guys.
Forum: Scripting 12-08-2016, 17:37
Replies: 6
Views: 1,863
Posted By hh2
Re: Best way to set empty string

Thanks for answers, i have last question about that:
is there difference between these?

test[0] = 0;
test[0] = '\0';
Forum: Scripting 12-07-2016, 10:53
Replies: 6
Views: 1,863
Posted By hh2
Best way to set empty string

Code:
char test[32];
Format(test, 32, "test message");

1. Format(test, 32, "");
2. StrCopy(test, 32, "");
3. test[0] = 0;
4. test[0] = '\0';
5. test = "";
Forum: Source Servers (SRCDS) 11-11-2016, 18:57
Replies: 4
Views: 1,182
Posted By hh2
Re: [CSGO] serverside command for spec_hide_player ?s

I need this too, anyone know how to do it?
Forum: General 11-01-2016, 18:13
Replies: 0
Views: 688
Posted By hh2
Hide ui elements for spectators

I want to hide elements in red boxes for all players: link to image (http://www88.zippyshare.com/i/n53DQmHI/226566/maxresdefault.jpg)
I know that there is commands for that, but they are only for...
Forum: Scripting 10-12-2016, 18:57
Replies: 8
Views: 1,210
Posted By hh2
Re: Passing arguments to consolecmd, warning with enum and problem with decal

pimpinjuice, thanks for your help.
Paths are same as original, so thats not it.

I solved this problem by deleting "materials" from path string and it works :)
Forum: Scripting 10-12-2016, 16:28
Replies: 8
Views: 1,210
Posted By hh2
Re: Passing arguments to consolecmd, warning with enum and problem with decal

Thank you pimpinjuice, nice solution with passing arguments :)
Still need help with decal problem.
Showing results 1 to 25 of 73

 
Forum Jump

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


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