Raised This Month: $ Target: $400
 0% 

Module: Admin Free Look


Post New Thread Reply   
 
Thread Tools Display Modes
FiFiX
Senior Member
Join Date: May 2008
Location: Poland
Old 07-30-2012 , 04:41   Re: Module: Admin Free Look
Reply With Quote #71

Quote:
Originally Posted by Arkshine View Post
You can try that :

Spoiler


And put the attached file in : orpheu/functions/CBasePlayer/
Hey Arkshine, is there possibility to fix the linux module? I'd prefer to use that without orpheu.
FiFiX is offline
Send a message via Skype™ to FiFiX
S0m3Th1nG_AwFul
Member
Join Date: Sep 2011
Location: is not known.
Old 07-30-2012 , 12:25   Re: Module: Admin Free Look
Reply With Quote #72

FiFiX, what's wrong with Orpheu?
In any way, module coding is "a bit" more complicated by obvious reasons...

Last edited by S0m3Th1nG_AwFul; 07-30-2012 at 20:10.
S0m3Th1nG_AwFul is offline
FiFiX
Senior Member
Join Date: May 2008
Location: Poland
Old 07-30-2012 , 18:49   Re: Module: Admin Free Look
Reply With Quote #73

I know that but I don't see point in using new module to exploit just one of these functions. Anyway, Arkshine is the one, who can fix that without a bigger problem and that's why I asked him that question
FiFiX is offline
Send a message via Skype™ to FiFiX
Old 08-07-2012, 08:12
FiFiX
This message has been deleted by YamiKaitou. Reason: wait 14 days until you bump
FiFiX
Senior Member
Join Date: May 2008
Location: Poland
Old 08-17-2012 , 02:48   Re: Module: Admin Free Look
Reply With Quote #74

Quote:
Originally Posted by FiFiX View Post
Hey Arkshine, is there possibility to fix the linux module? I'd prefer to use that without orpheu.
Oh come on guys, that's not really good to leave that module bugged since it's really usefull and probably it wont't take a long time to fix that...
FiFiX is offline
Send a message via Skype™ to FiFiX
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 08-17-2012 , 02:50   Re: Module: Admin Free Look
Reply With Quote #75

Use the orpheu version above : http://forums.alliedmods.net/showpos...1&postcount=68, it's perfectly fine ;

For fixing the module, it's either I need to fix the assembly code but I suck on it, or make the same as the plugin above but too boring/lazy to recode it when there is already a plugin.
__________________

Last edited by Arkshine; 08-17-2012 at 02:53.
Arkshine is offline
FiFiX
Senior Member
Join Date: May 2008
Location: Poland
Old 08-17-2012 , 03:14   Re: Module: Admin Free Look
Reply With Quote #76

But using orpheu and plugin is that efficient as using just module?
FiFiX is offline
Send a message via Skype™ to FiFiX
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 08-17-2012 , 03:41   Re: Module: Admin Free Look
Reply With Quote #77

Module is more efficient for sure, but for this purpose, it's doesn't matter, you won't see any significant change.
__________________
Arkshine is offline
FiFiX
Senior Member
Join Date: May 2008
Location: Poland
Old 08-17-2012 , 03:56   Re: Module: Admin Free Look
Reply With Quote #78

Then move your ass and fix that you slug! ;)

Anyway thanks for your reply.
FiFiX is offline
Send a message via Skype™ to FiFiX
FiFiX
Senior Member
Join Date: May 2008
Location: Poland
Old 08-17-2012 , 04:15   Re: Module: Admin Free Look
Reply With Quote #79

Oh, maybe to it's just enough check player team in place where module checks if user is admin, and if team is spec or unas just return?
FiFiX is offline
Send a message via Skype™ to FiFiX
FiFiX
Senior Member
Join Date: May 2008
Location: Poland
Old 08-17-2012 , 13:24   Re: Module: Admin Free Look
Reply With Quote #80

Probably, that should be placed in adminfreelook.cpp in line 153 in source that Arkshine has uploaded.

Code:
__asm volatile( "cmp $3, %eax;" );
Am I correct with thinking that line above makes no changes in game? As the module woudn't be loaded? If yes, in 153 we should also check player's team.

Sorry for spam. Previous posts were written on mobile and I coudn't get access to source code.
FiFiX is offline
Send a message via Skype™ to FiFiX
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 18:25.


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