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

Hamsandwich Updating


Post New Thread Closed Thread   
 
Thread Tools Display Modes
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 06-22-2011 , 15:35   Re: Hamsandwich Updating
#11

Thanks, int_* fixed it.
__________________
fysiks is offline
KORD_12.7
Senior Member
Join Date: Aug 2009
Location: Russia, Vladivostok
Old 06-22-2011 , 21:21   Re: Hamsandwich Updating
#12

joaquimandrade, please, may you find and add offsets for Adrenaline Gamer 6.6 Steam and Opposing Force to new hamdata.ini? It would be very useful for half-life scripters.
Attached Files
File Type: zip ag_i386.zip (628.9 KB, 269 views)
File Type: zip gearbox.zip (576.7 KB, 283 views)
__________________

Vi Veri Veniversum Vivus Vici
Russian Half-Life and Adrenaline Gamer community
KORD_12.7 is offline
Send a message via ICQ to KORD_12.7
joaquimandrade
Veteran Member
Join Date: Dec 2008
Location: Portugal
Old 06-22-2011 , 21:28   Re: Hamsandwich Updating
#13

Quote:
Originally Posted by KORD_12.7 View Post
joaquimandrade, please, may you find and add offsets for Adrenaline Gamer 6.6 Steam and Opposing Force to new hamdata.ini? It would be very useful for half-life scripters.
Sure we can and I thank you for bringing those to our attention. The dll is no good for this because dlls get metadata stuff thrown out at compilation. But opposing force is on the default list on steam so I will get it myself if you can't.

Now, let me warn you in advance that the functions that hamsandwich support are a relatively small subset called virtual functions so they might be not that useful for you so don't raise your expectations too much.
joaquimandrade is offline
joaquimandrade
Veteran Member
Join Date: Dec 2008
Location: Portugal
Old 06-22-2011 , 21:38   Re: Hamsandwich Updating
#14

Checked the library of "Adrenaline Gamer 6.6" and those are the only functions that seem to be useful:

Code:
CTurret::SpinDownCall(void)
CTurret::SpinUpCall(void)
CBaseTurret::Ping(void)
CBaseTurret::EyeOn(void)
CBaseTurret::EyeOff(void)
CTurret::Shoot(Vector &, Vector &)
The last one might not have a compatible header defined in hamsandwich but maybe that can be worked out.
joaquimandrade is offline
KORD_12.7
Senior Member
Join Date: Aug 2009
Location: Russia, Vladivostok
Old 06-22-2011 , 21:56   Re: Hamsandwich Updating
#15

Thanks for your reply
__________________

Vi Veri Veniversum Vivus Vici
Russian Half-Life and Adrenaline Gamer community
KORD_12.7 is offline
Send a message via ICQ to KORD_12.7
joaquimandrade
Veteran Member
Join Date: Dec 2008
Location: Portugal
Old 06-23-2011 , 00:47   Re: Hamsandwich Updating
#16

Quote:
Originally Posted by KORD_12.7 View Post
Thanks for your reply
But look, don't know if you are aware of that but the function that are already in hamsandwich can also be used in those mods because they are generic. I was pointing you just the mod specific ones. If you are searching for having the "normal" hamsandwich functions for those mods is just a matter of finding theirs offsets that is simple
joaquimandrade is offline
KORD_12.7
Senior Member
Join Date: Aug 2009
Location: Russia, Vladivostok
Old 06-23-2011 , 02:12   Re: Hamsandwich Updating
#17

Yep, i am searching for having the "normal" hamsandwich functions for those mods. I have already found offsets for ag and op4, but not sure if they 100% right.

Code:
@section ag linux
	pev 0
	base 0x60
	
	spawn 2
	precache 3
	keyvalue 4
	objectcaps 7
	activate 8
	setobjectcollisionbox 9
	classify 10
	deathnotice 11
	traceattack 12
	takedamage 13
	takehealth 14
	killed 15
	bloodcolor 16
	tracebleed 17
	istriggered 18
	mymonsterpointer 19
	mysquadmonsterpointer 20
	gettogglestate 21
	addpoints 22
	addpointstoteam 23
	addplayeritem 24
	removeplayeritem 25
	giveammo 26
	getdelay 27
	ismoving 28
	overridereset 29
	damagedecal 30
	settogglestate 31
	startsneaking 32
	stopsneaking 33
	oncontrols 34
	issneaking 35
	isalive 36
	isbspmodel 37
	reflectgauss 38
	hastarget 39
	isinworld 40
	isplayer 41
	isnetclient 42
	teamid 43
	getnexttarget 44
	think 45
	touch 46
	use 47
	blocked 48
	respawn 50
	updateowner 51
	fbecomeprone 52
	center 53
	eyeposition 54
	earposition 55
	bodytarget 56
	illumination 57
	fvisible 58
	fvecvisible 59
	
	player_jump 129
	player_duck 130
	player_prethink 131
	player_postthink 132
	player_getgunposition 123
	player_shouldfadeondeath 64
	player_impulsecommands 134
	player_updateclientdata  133
	
	item_addtoplayer 61
	item_addduplicate 62
	item_getiteminfo 63
	item_candeploy 64
	item_deploy 65
	item_canholster 66
	item_holster 67
	item_updateiteminfo 68
	item_preframe 69
	item_postframe70
	item_drop 71
	item_kill 72
	item_attachtoplayer 73
	item_primaryammoindex 74
	item_secondaryammoindex 75
	item_updateclientdata 76
	item_getweaponptr 77
	item_itemslot 78
	
	weapon_extractammo 79
	weapon_extractclipammo 80
	weapon_addweapon 81
	weapon_playemptysound 82
	weapon_resetemptysound 83
	weapon_sendweaponanim 84
	weapon_isusable 85
	weapon_primaryattack 86
	weapon_secondaryattack 87
	weapon_reload 88
	weapon_weaponidle 89
	weapon_retireweapon 90
	weapon_shouldweaponidle 91
	weapon_usedecrement 92
	
@end
@section ag windows
	pev 4
	base 0x0
	
	spawn 0
	precache 1
	keyvalue 2
	objectcaps 5
	activate 6
	setobjectcollisionbox 7
	classify 8
	deathnotice 9
	traceattack 10
	takedamage 11
	takehealth 12
	killed 13
	bloodcolor 14
	tracebleed 15
	istriggered 16
	mymonsterpointer 17
	mysquadmonsterpointer 18
	gettogglestate 19
	addpoints 20
	addpointstoteam 21
	addplayeritem 22
	removeplayeritem 23
	giveammo 24
	getdelay 25
	ismoving 26
	overridereset 27
	damagedecal 28
	settogglestate 29
	startsneaking 30
	stopsneaking 31
	oncontrols 32
	issneaking 33
	isalive 34
	isbspmodel 35
	reflectgauss 36
	hastarget 37
	isinworld 38
	isplayer 39
	isnetclient 40
	teamid 41
	getnexttarget 42
	think 43
	touch 44
	use 45
	blocked 46
	respawn 48
	updateowner 49
	fbecomeprone 50
	center 51
	eyeposition 52
	earposition 53
	bodytarget 54
	illumination 55
	fvisible 56
	fvecvisible 57
	
	player_jump 127
	player_duck 128
	player_prethink 129
	player_postthink 130
	player_getgunposition 121
	player_shouldfadeondeath 62
	player_impulsecommands 132
	player_updateclientdata  131
	
	item_addtoplayer 59
	item_addduplicate 60
	item_getiteminfo 61
	item_candeploy 62
	item_deploy 63
	item_canholster 64
	item_holster 65
	item_updateiteminfo 66
	item_preframe 67
	item_postframe 68
	item_drop 69
	item_kill 70
	item_attachtoplayer 71
	item_primaryammoindex 72
	item_secondaryammoindex 73
	item_updateclientdata 74
	item_getweaponptr 75
	item_itemslot 76
	
	weapon_extractammo 77
	weapon_extractclipammo 78
	weapon_addweapon 79
	weapon_playemptysound 80
	weapon_resetemptysound 81
	weapon_sendweaponanim 82
	weapon_isusable 83
	weapon_primaryattack 84
	weapon_secondaryattack 85
	weapon_reload 86
	weapon_weaponidle 87
	weapon_retireweapon 88
	weapon_shouldweaponidle 89
	weapon_usedecrement 90
	
@end


@section gearbox windows
	pev 4
	base 0x0
	
	spawn 0
	precache 1
	keyvalue 2
	objectcaps 5
	activate 6
	setobjectcollisionbox 7
	classify 8
	deathnotice 9
	traceattack 10
	takedamage 11
	takehealth 12
	killed 13
	bloodcolor 14
	tracebleed 15
	istriggered 16
	mymonsterpointer 17
	mysquadmonsterpointer 18
	gettogglestate 19
	addpoints 21
	addpointstoteam 22
	addplayeritem 23
	removeplayeritem 24
	giveammo 25
	getdelay 26
	ismoving 27
	overridereset 28
	damagedecal 29
	settogglestate 30
	startsneaking 31
	stopsneaking 32
	oncontrols 33
	issneaking 34
	isalive 35
	isbspmodel 36
	reflectgauss 37
	hastarget 38
	isinworld 39
	isplayer 40
	isnetclient 41
	teamid 42
	getnexttarget 43
	think 44
	touch 45
	use 46
	blocked 47
	respawn 48
	updateowner 49
	fbecomeprone 50
	center 51
	eyeposition 52
	earposition 53
	bodytarget 54
	illumination 55
	fvisible 56
	fvecvisible 57
	
	player_jump 127
	player_duck 128
	player_prethink 129
	player_postthink 130
	player_getgunposition 121
	player_shouldfadeondeath 58
	player_impulsecommands 132
	player_updateclientdata  131
	
	item_addtoplayer 60
	item_addduplicate 61
	item_getiteminfo 62
	item_candeploy 63
	item_deploy 64
	item_canholster 65
	item_holster 66
	item_updateiteminfo 67
	item_preframe 68
	item_postframe 69
	item_drop 70
	item_kill 71
	item_attachtoplayer 72
	item_primaryammoindex 73
	item_secondaryammoindex 74
	item_updateclientdata 76
	item_getweaponptr 77
	item_itemslot 78
	
	weapon_extractammo 79
	weapon_extractclipammo 80
	weapon_addweapon 81
	weapon_playemptysound 82
	weapon_resetemptysound 83
	weapon_sendweaponanim 84
	weapon_isusable 85
	weapon_primaryattack 86
	weapon_secondaryattack 87
	weapon_reload 88
	weapon_weaponidle 89
	weapon_retireweapon 90
	weapon_shouldweaponidle 91
	weapon_usedecrement 92
@end
__________________

Vi Veri Veniversum Vivus Vici
Russian Half-Life and Adrenaline Gamer community
KORD_12.7 is offline
Send a message via ICQ to KORD_12.7
joaquimandrade
Veteran Member
Join Date: Dec 2008
Location: Portugal
Old 06-23-2011 , 10:21   Re: Hamsandwich Updating
#18

How did you do to find them? By the way, how did you find "base"

Last edited by Arkshine; 06-23-2011 at 13:48.
joaquimandrade is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 06-23-2011 , 11:18   Re: Hamsandwich Updating
#19

Going to check and adding them, KORD_12.7. Thanks.

EDIT: There is no linux binary for OP4 ? I guess offsets are the same as HLDM.
__________________

Last edited by Arkshine; 06-23-2011 at 13:53.
Arkshine is offline
KORD_12.7
Senior Member
Join Date: Aug 2009
Location: Russia, Vladivostok
Old 06-23-2011 , 19:08   Re: Hamsandwich Updating
#20

Quote:
Originally Posted by joaquimandrade View Post
How did you do to find them? By the way, how did you find "base"
I have used IDA and yours with Arkshine tutorials to find ag offsets.
And one man helped me to find op4 offsets without linux binary (but not shure if they 100% right, need to check ).

Quote:
Originally Posted by Arkshine
There is no linux binary for OP4 ? I guess offsets are the same as HLDM.
Op4 offsets not the same as hldm. I have tested some hl plugins in op4 with "@mirror valve gearbox" and there was crashes.
__________________

Vi Veri Veniversum Vivus Vici
Russian Half-Life and Adrenaline Gamer community
KORD_12.7 is offline
Send a message via ICQ to KORD_12.7
Closed Thread


Thread Tools
Display Modes

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 05:08.


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