This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

Showing results 1 to 25 of 124
Search took 0.05 seconds.
Search: Posts Made By: LinLinLin
Forum: Snippets and Tutorials Today, 15:00
Replies: 0
Views: 38
Posted By LinLinLin
some reason about why sv_pure not effect in L4D2

sorry for my pool English.

The problem of pure server in L4D2 is complex. But you can do the follow step and you will understand what happen when you start pure server.

1. add +sv_pure 1...
Forum: Scripting 05-14-2024, 13:22
Replies: 4
Views: 778
Posted By LinLinLin
Re: why this code run

ok, i am stupid.
enum struct just store the handle of arraylist, not the data in it.
Forum: Scripting 05-14-2024, 13:18
Replies: 4
Views: 778
Posted By LinLinLin
Re: why this code run

but the size of enum strcut is dynamic because the arraylist in it.
Can arraylist use a dynamic num as block size?
Forum: Scripting 05-04-2024, 13:38
Replies: 1
Views: 433
Posted By LinLinLin
why someone said TeleportEntity() always fire after 1 frame?

I am not sure about that. Is there any evidence to support this situation? And he also said that DispatchKeyValueVector() will faster than teleport.

I check the code in sourcemod-master. The...
Forum: Scripting 04-29-2024, 15:34
Replies: 4
Views: 540
Posted By LinLinLin
[L4D2] how to make molotov burn in the ground like in plaer's hand

Is it possible to make molotov burn when it is not in player's hand?
Forum: Scripting 04-27-2024, 23:45
Replies: 1
Views: 443
Posted By LinLinLin
[L4D2] how to give a prop a velocity to move

teleportentity not work for prop.
Forum: Scripting 04-25-2024, 12:32
Replies: 4
Views: 778
Posted By LinLinLin
why this code run

enum struct test
{
int type;
char info[128];
char file[128];
char name[128];

ArrayList looking;
}
Forum: Scripting 04-18-2024, 06:32
Replies: 1
Views: 802
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: 716
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: 534
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: 380
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: 1,082
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: 908
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: 908
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: 551
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: 1,124
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: 895
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: 895
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: 895
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: 684
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: 684
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: 684
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: 549
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: 486
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,162
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);
...
Showing results 1 to 25 of 124

 
Forum Jump

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


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