Raised This Month: $51 Target: $400
 12% 

Module: Orpheu (v2.6.3)


Post New Thread Reply   
 
Thread Tools Display Modes
Immortal_BLG
Member
Join Date: Feb 2010
Location: RUSSIA
Old 08-06-2010 , 23:15   Re: Module: Orpheu2.3a
Reply With Quote #541

Hello! How to get handle pointer to swds.dll in listenserver?

I very want to get pointer to 'sv' structure ]:->

Last edited by Immortal_BLG; 08-06-2010 at 23:19.
Immortal_BLG is offline
jim_yang
Veteran Member
Join Date: Aug 2006
Old 08-06-2010 , 23:24   Re: Module: Orpheu2.3a
Reply With Quote #542

listenserver do not use swds.dll, it uses sw.dll and hw.dll which build into cstrike.exe 's proc, so it's a little more difficult to patch it, because you only can use signatrue scan the address you need to start the patch, and the signature is not the same as swds.dll in some functions, usually not the same.
so you can do
get_module_handle("cstrike.exe") example, and start signature scan at this address
and use mem_infomation stuff to get the size of image or something...
__________________
Project : CSDM all in one - 99%
<team balancer#no round end#entity remover#quake sounds#fake full#maps management menu#players punishment menu#no team flash#colored flashbang#grenade trails#HE effect#spawn protection#weapon arena#weapon upgrade#auto join#no weapon drop#one name>
jim_yang is offline
Immortal_BLG
Member
Join Date: Feb 2010
Location: RUSSIA
Old 08-07-2010 , 03:53   Re: Module: Orpheu2.3a
Reply With Quote #543

thanks for the detailed response - I will keep it in mind
Immortal_BLG is offline
SpyDevil
BANNED
Join Date: Jul 2010
Location: TURKiYE
Old 08-07-2010 , 16:07   Re: Module: Orpheu2.3a
Reply With Quote #544

pls add shooting and bullet hole control for cstrike ( there is shooing control func but crosshair doesnt animate. Ex: block_wallhack )
SpyDevil is offline
Send a message via ICQ to SpyDevil Send a message via MSN to SpyDevil
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 08-07-2010 , 18:24   Re: Module: Orpheu2.3a
Reply With Quote #545

Can someone do sig for Cvar_DirectSet(cvar_t *var, const char *value)
__________________
xPaw is offline
xlenonz
Member
Join Date: Jun 2007
Old 08-12-2010 , 13:52   Re: Module: Orpheu2.3a
Reply With Quote #546

i compile http://forums.alliedmods.net/showpos...&postcount=103 that plugin with no error.

but Orpheu 1 dont work.
i copy file to modules and i write to modules.ini but still not work.
__________________
HELL YEAH
xlenonz is offline
SpyDevil
BANNED
Join Date: Jul 2010
Location: TURKiYE
Old 08-12-2010 , 13:56   Re: Module: Orpheu2.3a
Reply With Quote #547

Quote:
Originally Posted by xlenonz View Post
i compile http://forums.alliedmods.net/showpos...&postcount=103 that plugin with no error.

but Orpheu 1 dont work.
i copy file to modules and i write to modules.ini but still not work.
seroooo orpheu sadece steamde çalışıyor diye biliyorum
SpyDevil is offline
Send a message via ICQ to SpyDevil Send a message via MSN to SpyDevil
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 08-12-2010 , 14:25   Re: Module: Orpheu2.3a
Reply With Quote #548

Quote:
Originally Posted by xlenonz View Post
i compile http://forums.alliedmods.net/showpos...&postcount=103 that plugin with no error.

but Orpheu 1 dont work.
i copy file to modules and i write to modules.ini but still not work.
See there : http://forums.alliedmods.net/showpos...&postcount=295
__________________
Arkshine is offline
hjkwe654
Member
Join Date: Sep 2005
Location: Taiwan
Old 08-15-2010 , 09:57   Re: Module: Orpheu2.3a
Reply With Quote #549

Is have a way to block each round start money?
hjkwe654 is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 08-15-2010 , 10:46   Re: Module: Orpheu2.3a
Reply With Quote #550

After reviewing the code, try do the following :
  • Hook CHalfLifeMultiplay::RestartRound() as pre and post ;
  • In the function RestartRound() as pre, Hook and register CBasePlayer::AddAccount() as pre ;
  • In the function AddAccount(), supercede ;
  • In the function RestartRound() as post, unregister the AddAccount() forward.

If you don't know at all how to do, tell me.


EDIT : ok, long time I've not done an Orpheu plugin, so enjoy.

Fastly tested and it seems to work.
Don't forget to upload the signatures in /amxmodx/
Attached Files
File Type: zip [signatures]block_roundstart_money.zip (2.7 KB, 152 views)
File Type: sma Get Plugin or Get Source (block_roundstart_money.sma - 503 views - 1.4 KB)
__________________

Last edited by Arkshine; 08-15-2010 at 11:23.
Arkshine 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 14:24.


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