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

Showing results 1 to 25 of 117
Search took 0.01 seconds.
Search: Posts Made By: LinLinLin
Forum: Scripting 04-18-2024, 06:32
Replies: 1
Views: 488
Posted By LinLinLin
Re: [L4D2] question func_button_timed

This is because the button is not disabled before remove it. To due this problem you can hook OnEntityDestory and disabled the button.
Forum: Plugin/Gameplay Ideas and Requests 04-18-2024, 00:39
Replies: 1
Views: 301
Posted By LinLinLin
will sm add a timer flag in round change?

I want to create a timer and it will close automatically when round change, someting like TIMER_FLAG_NO_MAP_CHANGE flag.

Now we can make it by hook round_start or round_end event, but it will be...
Forum: Scripting 03-08-2024, 09:57
Replies: 0
Views: 442
Posted By LinLinLin
[l4d2] can keep player in firstperson sight when pressing a button?

can keep player in firstperson sight when pressing a func_button_timed?
Forum: Scripting 03-07-2024, 10:53
Replies: 0
Views: 298
Posted By LinLinLin
[L4D2] can func_button_timed be used by multiple player in the same time?

can func_button_timed be used by multiple player in the same time?
Forum: Scripting 02-29-2024, 21:01
Replies: 3
Views: 917
Posted By LinLinLin
sm in dedicated and in listening server

I found a situattion is that i test a plugin about handle player press forward key in local and print message in chat and it works find. After that i join in an dedicated server which is not belong...
Forum: Source Servers (SRCDS) 02-11-2024, 02:20
Replies: 1
Views: 757
Posted By LinLinLin
Re: does master server can return the server list base on steam group?

sv_showtags gives this infomation, should i use \gametype\[grp:steamgourp id] to match my steam gourp?
sv_showtags
Tags:
Public : coop,empty,sv_steamgroup,insecure
Private: ...
Forum: Source Servers (SRCDS) 02-11-2024, 00:05
Replies: 1
Views: 757
Posted By LinLinLin
does master server can return the server list base on steam group?

Master server (https://developer.valvesoftware.com/wiki/Master_Server_Query_Protocol)
The filter it provided like \gametype or \gamedata is not the sv_steamgroup cvar in server. I know that usign...
Forum: Scripting 02-05-2024, 09:41
Replies: 2
Views: 476
Posted By LinLinLin
Re: Questions about SDKCall

not test.

Address debugoverlay = LoadFromAddress(hGameData.GetMemSig("debugoverlay"), NumberType_Int32);
Address debugoverlay_func = LoadFromAddress(debugoverlay + view_as<Address>(12),...
Forum: Scripting 01-23-2024, 21:37
Replies: 7
Views: 968
Posted By LinLinLin
Re: Clear() does not free the ArrayList memory in sourcemod?

look like it just only set the size to zero but not free the data.
In CellArray.h


CellArray(size_t blocksize) : m_Data(NULL), m_BlockSize(blocksize), m_AllocSize(0), m_Size(0)
{
}
...
Forum: Scripting 01-19-2024, 14:47
Replies: 4
Views: 858
Posted By LinLinLin
Re: Is it possible read .vpk as a directory?

i have made a plugin by myself, you can check it in this (https://github.com/Miuwiki/L4D2plguin.Map-vpk-chooser./tree/main)
only read vecAddonMetadata in address is suitable since we don't know how...
Forum: Scripting 01-16-2024, 15:31
Replies: 4
Views: 858
Posted By LinLinLin
Re: Is it possible read .vpk as a directory?

i want to use vpk name as a key to store the mission, so it can show the vpk name instead the value of "Name" when showing the map list on menu.
Forum: Scripting 01-16-2024, 14:58
Replies: 4
Views: 858
Posted By LinLinLin
Is it possible read .vpk as a directory?

So we can get the folder and read the txt file in vpk.
Forum: Scripting 01-13-2024, 10:29
Replies: 5
Views: 618
Posted By LinLinLin
Re: [L4D2] how to get the entire chapter in one map

thanks help, i finish it by myself
DirectoryListing missionlist = OpenDirectory("missions", true);
if( missionlist == null )
{
PrintToChatAll("fail to open");
}

...
Forum: Scripting 01-13-2024, 09:17
Replies: 5
Views: 618
Posted By LinLinLin
Re: [L4D2] how to get the entire chapter in one map

sorry for my poor english.
what i truely want to do is that if i am playing c2m1, i can get all the mission belong to c2, such as c2m1, c2m2, c2m3 and c2m4.

and if i am playing c5m3, i can get...
Forum: Scripting 01-13-2024, 03:39
Replies: 5
Views: 618
Posted By LinLinLin
[L4D2] how to get the entire chapter in one map

for example, if i am playing c2m1, how can i get the entire chapter name of c2? such as c2m1_highway and c2m2_fairgrounds and so on.
Forum: Plugins 12-28-2023, 15:43
Replies: 0
Views: 508
Posted By LinLinLin
[ANY] SMTP mail tool.

SMTP mail plugin(linux only)


Introduction:
Since the method provided by curl.ext is not easy to use, i extracted the SMTP function from it and made it into a methodmap. Now it is easy to use...
Forum: Scripting 12-13-2023, 22:12
Replies: 1
Views: 459
Posted By LinLinLin
something wrong when calculating float and any.

code below

{
// g_list_infectedbottime is a ArrayList

// wrong result, it is always 0 and always do continue.
if( GetEngineTime() - g_list_infectedbottime.Get(i, 2) <...
Forum: Scripting 12-08-2023, 22:06
Replies: 1
Views: 1,116
Posted By LinLinLin
[L4D2] prop_dynamic_override couldn't teleport with velocity

code:

int entity = CreateEntityByName("prop_dynamic_override");
if( entity < 1 || !IsValidEntity(entity) )
return Plugin_Handled;

DispatchKeyValue(entity, "model", PIPEBOMB);
...
Forum: Scripting 11-28-2023, 05:13
Replies: 8
Views: 1,301
Posted By LinLinLin
Re: [L4D2] predicted_viewmodel can't set attach to other entity

By use CBaseEntity::FollowEntity, it actually follow the entity i want. But predicted_viewmodel is too strange as an entity.

I am sure it is following the target because it's "m_vecAbsOrgin" is...
Forum: Scripting 11-27-2023, 03:06
Replies: 8
Views: 1,301
Posted By LinLinLin
Re: [L4D2] predicted_viewmodel can't set attach to other entity

I create the entity successfully but it doesn't attach to the entity i want. So i am not sure the attach code is worked.
Forum: Scripting 11-27-2023, 02:45
Replies: 8
Views: 1,301
Posted By LinLinLin
Re: [L4D2] predicted_viewmodel can't set attach to other entity

thanks, but i don't need to change the model of weapon.
i need another predicted_viewmodel to follow player view to do other job.
Forum: Scripting 11-27-2023, 00:37
Replies: 8
Views: 1,301
Posted By LinLinLin
[L4D2] predicted_viewmodel can't set attach to other entity

code below:

int entity = CreateEntityByName("predicted_viewmodel");
if( entity < 1 || !IsValidEntity(entity) )
return ;
SetEntPropEnt(entity, Prop_Send, "m_hOwner", client);...
Forum: Scripting 08-21-2023, 12:35
Replies: 3
Views: 1,009
Posted By LinLinLin
Re: Is it possible to get the keyvalue key name and value by index?

no, your can't go to the first subkey actually when only have key - value in one section.
I test a kv like that and in section A if you want to use GoToFirstSubkey, it return false. Only can get the...
Forum: Scripting 08-19-2023, 19:59
Replies: 3
Views: 1,009
Posted By LinLinLin
Is it possible to get the keyvalue key name and value by index?

I want to get the first key and value at some sections, but i don't know his keyname so kv.GetString seems not work. Is there another way to get both of them use someting like index?
Forum: Plugins 08-05-2023, 09:41
Replies: 8
Views: 3,839
Posted By LinLinLin
Re: [L4D2] Smart Witch

Yes, you are right. Most of the logic is the same i think. Both of them use "Infected::OnHitByVomitJar" function to change the target.
I make this plugins for the reason that someone tell me the...
Showing results 1 to 25 of 117

 
Forum Jump

All times are GMT -4. The time now is 10:09.


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