Raised This Month: $ Target: $400
 0% 

Not decompile plugin


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Graffiti
AlliedModders Donor
Join Date: Aug 2013
Location: Russia
Old 03-08-2015 , 11:50   Not decompile plugin
Reply With Quote #1

Hello, please help with decompile plugin

Decompiler (http://godtony.mooo.com/lysis/) gives errors

PHP Code:
public OnPluginStart()
{
    
decl String:sd[4];
/* ERROR! java.lang.NullPointerException */
 
function "OnPluginStart" (number 4)

public 
OnMapStart()
{
    
decl String:sd[4];
/* ERROR! java.lang.NullPointerException */
 
function "OnMapStart" (number 5)

public 
OnConfigsExecuted()
{
    
decl String:sd[4];
/* ERROR! java.lang.NullPointerException */
 
function "OnConfigsExecuted" (number 6)

public 
ConVarChanges(Handle:convarString:oldVal[], String:newVal[])
{
    
decl String:sd[4];
/* ERROR! java.lang.NullPointerException */
 
function "ConVarChanges" (number 7)

public 
APLRes:AskPluginLoad2(Handle:myselfbool:lateString:error[], err_max)
{
    
decl String:sd[4];
/* ERROR! java.lang.NullPointerException */
 
function "AskPluginLoad2" (number 8)

public 
OnLibraryAdded(String:name[])
{
    
decl String:sd[4];
/* ERROR! java.lang.NullPointerException */
 
function "OnLibraryAdded" (number 9)

public 
Action:Updater_OnPluginChecking()
{
    
decl String:sd[4];
/* ERROR! java.lang.NullPointerException */
 
function "Updater_OnPluginChecking" (number 10)

public 
Action:EventPlayerSpawn(Handle:eventString:name[], bool:dontBroadcast)
{
    
decl String:sd[4];
/* ERROR! java.lang.NullPointerException */
 
function "EventPlayerSpawn" (number 11)

public 
OnClientDisconnect(iClient)
{
    
decl String:sd[4];
/* ERROR! java.lang.NullPointerException */
 
function "OnClientDisconnect" (number 12)

public 
OnClientPutInServer(iClient)
{
    
decl String:sd[4];
/* ERROR! java.lang.NullPointerException */
 
function "OnClientPutInServer" (number 13)

public 
Native_knife_max_id(Handle:pluginnum)
{
    
decl String:sd[4];
/* ERROR! java.lang.NullPointerException */
 
function "Native_knife_max_id" (number 14)

public 
Native_get_name_knife_id(Handle:pluginnum)
{
    
decl String:sd[4];
/* ERROR! java.lang.NullPointerException */
 
function "Native_get_name_knife_id" (number 15)

public 
Native_client_knife_custom(Handle:pluginnum)
{
    
decl String:sd[4];
/* ERROR! java.lang.NullPointerException */
 
function "Native_client_knife_custom" (number 16)

public 
Native_set_knife_client_knife(Handle:pluginnum)
{
    
decl String:sd[4];
/* ERROR! java.lang.NullPointerException */
 
function "Native_set_knife_client_knife" (number 17)

public 
Native_set_knife(Handle:pluginnum)
{
    
decl String:sd[4];
/* ERROR! java.lang.NullPointerException */
 
function "Native_set_knife" (number 18)

public 
Action:OnPostWeaponEquip(iClientweapon)
{
    
decl String:sd[4];
/* ERROR! java.lang.NullPointerException */
 
function "OnPostWeaponEquip" (number 19)

public 
Action:WeaponEquip(Handle:timerany:iClient)
{
    
decl String:sd[4];
/* ERROR! java.lang.NullPointerException */
 
function "WeaponEquip" (number 20)

public 
Native_KCC_IsLoaded(Handle:pluginnumParams)
{
    
decl String:sd[4];
/* ERROR! java.lang.NullPointerException */
 
function "Native_KCC_IsLoaded" (number 21)

public 
Native_hook_kcc_obtaining_knife_end(Handle:pluginnumParams)
{
    
decl String:sd[4];
/* ERROR! java.lang.NullPointerException */
 
function "Native_hook_kcc_obtaining_knife_end" (number 22)

public 
Native_hook_give_knife(Handle:pluginnumParams)
{
    
decl String:sd[4];
/* ERROR! java.lang.NullPointerException */
 
function "Native_hook_give_knife" (number 23)

AddServerTag2(String:tag[])
{
    
decl String:sd[4];
/* ERROR! java.lang.NullPointerException */
 
function "AddServerTag2" (number 24
Blocked Attachments
File Type: smx knife_choice_core.smx
__________________
Russian TTT CSGO

Graffiti is offline
hamilton5
Veteran Member
Join Date: Oct 2012
Location: USA
Old 03-08-2015 , 12:52   Re: Not decompile plugin
Reply With Quote #2

you should of got, or should be able to get the source for that plugin if you have that .smx file...
hamilton5 is offline
MaltSNS
SourceMod Donor
Join Date: Nov 2012
Old 03-08-2015 , 15:49   Re: Not decompile plugin
Reply With Quote #3

Quote:
Originally Posted by hamilton5 View Post
you should of got, or should be able to get the source for that plugin if you have that .smx file...

Outside of alliedmods, its not that uncommon for the source code of useful plugins to be lost.
MaltSNS is offline
friagram
Veteran Member
Join Date: Sep 2012
Location: Silicon Valley
Old 03-08-2015 , 15:58   Re: Not decompile plugin
Reply With Quote #4

If you pay for something (or are given something), and you don't get the sp file, something is not right.
A lot of programmers new to sm are not used to this, because they are used to releasing binaries only...
__________________
Profile - Plugins
Add me on steam if you are seeking sp/map/model commissions.

Last edited by friagram; 03-08-2015 at 15:58.
friagram is offline
Graffiti
AlliedModders Donor
Join Date: Aug 2013
Location: Russia
Old 03-10-2015 , 09:00   Re: Not decompile plugin
Reply With Quote #5

up
__________________
Russian TTT CSGO

Graffiti is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 03-10-2015 , 09:04   Re: Not decompile plugin
Reply With Quote #6

Are you compiling with java IDE? why are you getting NullPointer exceptions... Lysis is probably making those errors.
How about you just tell us what the plugin does, decompiling the plugin will just be a mess to deal with.

Last edited by Mitchell; 03-10-2015 at 09:05.
Mitchell is offline
Graffiti
AlliedModders Donor
Join Date: Aug 2013
Location: Russia
Old 03-10-2015 , 09:25   Re: Not decompile plugin
Reply With Quote #7

http://hlmod.ru/forum/plaginy-dlya-s...ro-v1-5-a.html

Description:
The plugin allows the player to choose the knife as it is possible to choose a knife that will issue each round without dialog box appears, select the knife, this is the first plugin in which you can rent a knife another player(with his painting)

The modules have the source code, but knife_choice_core.smx without source code
__________________
Russian TTT CSGO

Graffiti 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 07:17.


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