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

Solved L4D2 Request this smx,sp


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
yabi
Senior Member
Join Date: Jun 2021
Location: Taiwan
Old 08-24-2021 , 22:48   L4D2 Request this smx,sp
Reply With Quote #1

Use the purchase method to buy the traditional Chinese version, please quote the price, to ensure that there are no error plug-ins and work properly

https://github.com/SirPlease/L4D2-Co...kill_detect.sp
Attached Images
File Type: jpg iMarkup_20210824_224947.jpg (38.0 KB, 214 views)

Last edited by yabi; 07-17-2022 at 19:50. Reason: 已解決
yabi is offline
HarryPotter
Veteran Member
Join Date: Sep 2017
Location: Taiwan, Asia
Old 08-25-2021 , 03:54   Re: L4D2 Request this plugin, Special reminder
Reply With Quote #2

https://github.com/SirPlease/L4D2-Co...kill_detect.sp
__________________
HarryPotter is offline
yabi
Senior Member
Join Date: Jun 2021
Location: Taiwan
Old 08-26-2021 , 09:45   Re: L4D2 Request this plugin, Special reminder
Reply With Quote #3

Quote:
Originally Posted by HarryPotter View Post

Harry Potter, how do I download and use it?
yabi is offline
HarryPotter
Veteran Member
Join Date: Sep 2017
Location: Taiwan, Asia
Old 08-27-2021 , 18:23   Re: L4D2 Request this plugin, Special reminder
Reply With Quote #4

可自己新增一個檔案
名稱叫l4d2_skill_detect.sp
用筆記本打開,複製貼上所有的code
筆記本視窗內Ctrl+F搜尋CPrintToChat
和CPrintToChatAll, 自行翻譯語句

然後Google學會怎麼編譯sp檔案
__________________
HarryPotter is offline
yabi
Senior Member
Join Date: Jun 2021
Location: Taiwan
Old 09-21-2021 , 08:48   Re: L4D2 Request this plugin, Special reminder
Reply With Quote #5

Quote:
Originally Posted by HarryPotter View Post
可自己新增一個檔案
名稱叫l4d2_skill_detect.sp
用筆記本打開,複製貼上所有的code
筆記本視窗內Ctrl+F搜尋CPrintToChat
和CPrintToChatAll, 自行翻譯語句

然後Google學會怎麼編譯sp檔案
我sp每翻譯完轉成smx之後插件就無法顯示,
不知道為什麼
這個插件,要工作不工作的我真的很累



The plug-in cannot be displayed after every translation of my sp to smx.
do not know why
This plugin, I’m really tired if it doesn’t work
yabi is offline
HarryPotter
Veteran Member
Join Date: Sep 2017
Location: Taiwan, Asia
Old 09-21-2021 , 14:34   Re: L4D2 Request this plugin, Special reminder
Reply With Quote #6

Quote:
Originally Posted by yabi View Post
我sp每翻譯完轉成smx之後插件就無法顯示,
不知道為什麼
這個插件,要工作不工作的我真的很累



The plug-in cannot be displayed after every translation of my sp to smx.
do not know why
This plugin, I’m really tired if it doesn’t work
不翻譯之下
原版的源碼sp檔案你能不能編譯?
編譯完成後能不能正常顯示?

不如在這裡貼上來你翻譯後的源碼檔案
__________________
HarryPotter is offline
yabi
Senior Member
Join Date: Jun 2021
Location: Taiwan
Old 09-21-2021 , 23:35   Re: L4D2 Request this plugin, Special reminder
Reply With Quote #7

Quote:
Originally Posted by HarryPotter View Post
不翻譯之下
原版的源碼sp檔案你能不能編譯?
編譯完成後能不能正常顯示?

不如在這裡貼上來你翻譯後的源碼檔案

My translation is bad, I need to retranslate
But I don’t have time. I want to use the purchase method. After all, there are some problems with the plug-in.

我翻譯的很爛,我需要重新翻譯
但是我沒有時間我想用購買的方式 畢竟插件出了些問題
yabi is offline
HarryPotter
Veteran Member
Join Date: Sep 2017
Location: Taiwan, Asia
Old 09-22-2021 , 02:50   Re: L4D2 Request this plugin, Special reminder
Reply With Quote #8

Quote:
Originally Posted by yabi View Post
My translation is bad, I need to retranslate
But I don’t have time. I want to use the purchase method. After all, there are some problems with the plug-in.

我翻譯的很爛,我需要重新翻譯
但是我沒有時間我想用購買的方式 畢竟插件出了些問題
You didn't answer any of my questions...


1. "l4d2_skill_detect.sp" goes in "addons/sourcemod/scripting" folder.
2. "left4dhooks.inc" and "colors.inc" go in "addons/sourcemod/scripting/include" folder.
3. open "l4d2_skill_detect.sp", use notepad++ or notebook,
modify line 513, change to
PHP Code:
g_hCvarReport CreateConVar(           "sm_skill_report_enable" ,      "1""Whether to report in chat (see sm_skill_report_flags)."FCVAR_NONEtrue0.0true1.0 ); 
4. Compile "l4d2_skill_detect.sp" by running "compile.exe". Make sure no any error please.
5. Check "addons/sourcemod/scripting/compiled" folder for "l4d2_skill_detect.smx".
6. Move "l4d2_skill_detect.smx" to "addons/sourcemod/plugins" folder.
7. Restart Server, play a hunter, high-pounced survivor and you will see the report in chat.


How to translate?
line 2794 for example
1. open "l4d2_skill_detect.sp", use notepad++ or notebook,
modify line 2794
PHP Code:
CPrintToChatAll"{green}★★ {olive}%N {red}高撲 {olive}%N {default}({red}%i {default}傷害, 高度: {red}%i{default})"attacker,  victimRoundFloat(calculatedDamage), RoundFloat(height) ); 
2. Compile "l4d2_skill_detect.sp" by running "compile.exe". Make sure no any error please.
3. Move "l4d2_skill_detect.smx" to "addons/sourcemod/plugins" folder.
4. Restart Server, play a hunter, high-pounced survivor and you will see the chinese report in chat.
__________________

Last edited by HarryPotter; 09-22-2021 at 02:53.
HarryPotter is offline
HarryPotter
Veteran Member
Join Date: Sep 2017
Location: Taiwan, Asia
Old 08-28-2021 , 01:46   Re: L4D2 Request this plugin, Special reminder
Reply With Quote #9

check sourcemod/logs to see if any error.log
__________________
HarryPotter is offline
yabi
Senior Member
Join Date: Jun 2021
Location: Taiwan
Old 09-20-2021 , 07:09   Re: L4D2 Request this plugin, Special reminder
Reply With Quote #10

error 183: cannot read from file: "colors"
//
// Compilation aborted.
// 1 Error.
//
// Compilation Time: 0.11 sec
// ----------------------------------------

Press enter to exit ...
yabi is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


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