Raised This Month: $ Target: $400
 0% 

[CLOSED] NMRiH VIP Plugin


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
RonaldLee
Junior Member
Join Date: Apr 2012
Location: Florida
Old 05-21-2014 , 20:03   [CLOSED] NMRiH VIP Plugin
Reply With Quote #1

I pay with Paypal right away, no problem getting paid!

Hello. I am looking for a coder to write a VIP plugin for me for NMRiH.
VIP would be able to respawn themselves one time per OBJECTIVE map.
Of course sm admin would have the same command written inside the plugin.

I think that CNMRiHPlayer::Spawn() is just a copy/rename of the code for CBasePlayer::Spawn().
Now since virtual void PlayerSpawn( CBasePlayer *pPlayer ) = 0;// called by CBasePlayer::Spawn just before releasing player into the game, hooking CNMRiHPlayer::Spawn()is a way to hook at player spawn.


I spent some time trying to write the plugin but I was unable to find the right offsets for respawning.

The stuff I pulled seemed a bit out of date.
Code:
Class :: Virtual Method Name	W	L	M	Memory Address
CNMRiHPlayer::Spawn()	21	22	22	0x00C04670
				
CBaseEntity::Respawn()	108	109	109	0x00539BD0

CNMRiHPlayer::SharedSpawn()	292	293	293	0x00B311E0
CBasePlayer::ForceRespawn()	293	294	294	0x00878450
CNMRiHPlayer::InitialSpawn()	294	295	295	0x00BFFA10
CSDKPlayer::EntSelectSpawnPoint()	352	353	353	0x00C580E0
CBasePlayer::IsReadyToSpawn()	396	397	397	0x006DCCD0
CBasePlayer::ShouldGainInstantSpawn()	397	398	398	0x006DCCE0
CNMRiHPlayer::~CNMRiHPlayer()	0	1	1	0x00BFDE40
CNMRiHPlayer::Event_Killed
(CTakeDamageInfo const&)	64	65	65	0x00C05FB0
__________________

Last edited by RonaldLee; 05-27-2014 at 20:11. Reason: adding info
RonaldLee 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 20:02.


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