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

Декомпиляция плагинов smx


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Saliba
New Member
Join Date: Dec 2019
Old 12-06-2019 , 16:20   Декомпиляция плагинов smx
Reply With Quote #1

Доброго времени суток. Подскажите, пожалуйста, как декомпилировать плагин? Есть плагин с одного хостинга welcome_sound.smx, ни на каком другом хостинге он не работает. Так же хочу убрать из него рекламу, которая пишется в консоли. Заранее спасибо вам!
Saliba is offline
Mr.Freeman
Senior Member
Join Date: Nov 2013
Location: Canada
Old 12-06-2019 , 19:25   Re: Декомпиляция плагинов smx
Reply With Quote #2

You can decompile some SMX files here http://headlinedev.xyz/lysis/
__________________
Feel Free to PM me about any questions, I'll do my best to help
Mr.Freeman is offline
Alexbu444
Junior Member
Join Date: Nov 2018
Location: Russia, Saint Petersburg
Old 12-06-2019 , 23:11   Re: Декомпиляция плагинов smx
Reply With Quote #3

// Крузя, где ключи?
Alexbu444 is offline
MAGNAT2645
Senior Member
Join Date: Nov 2015
Location: AlliedMods.net
Old 12-07-2019 , 09:08   Re: Декомпиляция плагинов smx
Reply With Quote #4

Ты можешь декомпилировать smx несколькими способами:
1) Через программу SPEdit (хотелось бы, чтобы в BasicPawn добавили такой же функционал)
2) Через сайт, который указал Mr.Freeman (на сайте есть ограничение на размер файла, большие коды там не сможешь декомпилировать)
3) Можешь собрать декомпилятор Lysis вручную, хотя этот способ самый сложный из всех

EDIT: Translated.
You can decompile smx in several ways:
1) Using SPEdit program (BasicPawn lacks Lysis feature)
2) Using site that Mr.Freeman posted (the site has a limit on file size, you can't decompile large codes there)
3) You can build Lysis Decompiler on your own, although this method is the most difficult
__________________

Last edited by MAGNAT2645; 12-07-2019 at 11:54. Reason: Translated
MAGNAT2645 is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 12-07-2019 , 11:32   Re: Декомпиляция плагинов smx
Reply With Quote #5

Hey guys - please remember that this is an English-language forum. As the rules say, you must at least include an English translation with foreign-language posts.
__________________
asherkin is offline
MAGNAT2645
Senior Member
Join Date: Nov 2015
Location: AlliedMods.net
Old 12-07-2019 , 11:50   Re: Декомпиляция плагинов smx
Reply With Quote #6

Yeah, i know. I was just a little surprised to find a Russian here, so I tried to help.

Added English translation for anyone who needs it.
__________________

Last edited by MAGNAT2645; 12-07-2019 at 11:55.
MAGNAT2645 is offline
foxhound27
AlliedModders Donor
Join Date: Sep 2019
Location: Argentina
Old 12-18-2019 , 11:54   Re: Декомпиляция плагинов smx
Reply With Quote #7

if you need just a welcome sound plugin do this

PHP Code:

#include <sourcemod>
#include <sdktools>

#define MYSOUND "buttons/blip1.wav"

Handle Timer_Welcome[66];

public 
void OnClientPostAdminCheck(int client) {

   
Timer_Welcome[client] = CreateTimer(2.0Welcome_Soundclient);

}

public 
void OnMapStart() {

    
PrecacheSound(MYSOUNDtrue);

}

public 
void OnClientDisconnect(int client) {

    if (
Timer_Welcome[client]) {
        
KillTimer(Timer_Welcome[client]);
        
Timer_Welcome[client] = INVALID_HANDLE;
    }
}

public 
Action Welcome_Sound(Handle timerany client) {

    
EmitSoundToAll(MYSOUND);
    
Timer_Welcome[client] = INVALID_HANDLE;
    return 
Plugin_Continue;


Last edited by foxhound27; 12-18-2019 at 11:55.
foxhound27 is offline
Kailo
Senior Member
Join Date: Sep 2014
Location: Moscow, Russia
Old 12-18-2019 , 15:15   Re: Декомпиляция плагинов smx
Reply With Quote #8

Hey, if you are intrested in how decompilation process works and how to you can modify plugins binaries (*.smx) you can read my guide series about it (in Russian): https://hlmod.ru/threads/prodvinutye...rzhanie.44041/

If you have some quesions about, PM me.

Хай, если тебе интересно узнать о том как работает декомпилятор и как ты можешь изменять плагины напрямую (*.smx), можешь почитать мою серию уроков об этом: https://hlmod.ru/threads/prodvinutye...rzhanie.44041/

Если есть вопросы по декомпиляции, можешь написать мне, помогу.

Offtop:
@MAGNAT2645, нас тут много на самом деле, просто маскируемся ;)
__________________
Kailo is offline
Reply


Thread Tools
Display Modes

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 03:10.


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