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

Lysis: An experimental .smx decompiler


Post New Thread Reply   
 
Thread Tools Display Modes
sahapro33
Member
Join Date: Mar 2014
Old 11-04-2015 , 10:31   Re: Lysis: An experimental .smx decompiler
Reply With Quote #231

Thank you!
sahapro33 is offline
keygens
Senior Member
Join Date: Mar 2010
Location: Somewhere
Old 11-16-2015 , 11:06   Re: Lysis: An experimental .smx decompiler
Reply With Quote #232

Is there a way to restore function with enum? For example, decompiler show me
new g_SetClassification[4][211]; I know, that function use enums, but i just want to be restore only name of enum, or find it, for understanding. It is possible or not? Thanks
keygens is offline
Potato Uno
Veteran Member
Join Date: Jan 2014
Location: Atlanta, Georgia
Old 11-16-2015 , 14:32   Re: Lysis: An experimental .smx decompiler
Reply With Quote #233

Not possible as far as I know because enums are turned into numbers at compile time. The binary has no concept of enums.
Potato Uno is offline
keygens
Senior Member
Join Date: Mar 2010
Location: Somewhere
Old 11-16-2015 , 16:54   Re: Lysis: An experimental .smx decompiler
Reply With Quote #234

Quote:
Originally Posted by Potato Uno View Post
Not possible as far as I know because enums are turned into numbers at compile time. The binary has no concept of enums.
It's make me sad, but thanks for answer.
keygens is offline
8guawong
AlliedModders Donor
Join Date: Dec 2013
Location: BlackMarke7
Old 12-02-2015 , 11:08   Re: Lysis: An experimental .smx decompiler
Reply With Quote #235

http://godtony.mooo.com/lysis/
is down
__________________
8guawong is offline
keygens
Senior Member
Join Date: Mar 2010
Location: Somewhere
Old 12-05-2015 , 23:40   Re: Lysis: An experimental .smx decompiler
Reply With Quote #236

Whats that mean?
Code:
TR_TraceRayFilter(POS, ANG, 81931, RayType:1, TraceRayDontHitSelf, entity);

And

public bool:TraceRayDontHitSelf(entity, mask, any:client)
{
    new var1;
    return client != entity && !var2 <= MaxClients & 0 < var2;
}

Last edited by keygens; 12-05-2015 at 23:44.
keygens is offline
lingzhidiyu
Senior Member
Join Date: Mar 2014
Old 12-06-2015 , 03:12   Re: Lysis: An experimental .smx decompiler
Reply With Quote #237

TR_TraceRayFilter(POS, ANG, MASK_SOLID, RayType_Infinite, TraceRayDontHitSelf, entity);

public bool:TraceRayDontHitSelf(entity, mask, any:client)
{
return client != entity && (entity > 0 && entity <= MaxClients);
}
lingzhidiyu is offline
keygens
Senior Member
Join Date: Mar 2010
Location: Somewhere
Old 12-06-2015 , 08:49   Re: Lysis: An experimental .smx decompiler
Reply With Quote #238

Quote:
Originally Posted by lingzhidiyu View Post
TR_TraceRayFilter(POS, ANG, MASK_SOLID, RayType_Infinite, TraceRayDontHitSelf, entity);

public bool:TraceRayDontHitSelf(entity, mask, any:client)
{
return client != entity && (entity > 0 && entity <= MaxClients);
}

Thanks!
keygens is offline
Peace-Maker
SourceMod Plugin Approver
Join Date: Aug 2008
Location: Germany
Old 12-06-2015 , 08:57   Re: Lysis: An experimental .smx decompiler
Reply With Quote #239

That's actually how that doubled comparison is handled in the compiler. Seems like it failed to put the variable name right.
PHP Code:
return client != entity && entity <= MaxClients
__________________
Peace-Maker is offline
Danyas1337
Member
Join Date: May 2013
Location: Kyiv, Ukraine
Old 12-08-2015 , 09:03   Re: Lysis: An experimental .smx decompiler
Reply With Quote #240

decompile that please
Attached Files
File Type: smx ucp_players_list.smx (4.1 KB, 193 views)
__________________
<3 AM
Danyas1337 is offline
Send a message via Skype™ to Danyas1337
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 21:38.


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