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

TF2 Giving weapons to another class


Post New Thread Reply   
 
Thread Tools Display Modes
cybersquare420
Veteran Member
Join Date: Nov 2008
Old 12-20-2009 , 09:23   Re: TF2 Giving weapons to another class
Reply With Quote #161

have i mentioned that i love you?!?! working great! i have my candy script again... rocket launcher/scout FTW!!

edit: anyone know the names for the new weps?... i want to add some of them to my candy menu...

p.s. i still have a working version of the candy script if any1 wants it... i dont have the source, but i have all the other files... pm me if any want it
__________________

Last edited by cybersquare420; 12-20-2009 at 09:26.
cybersquare420 is offline
bl4nk
SourceMod Developer
Join Date: Jul 2007
Old 12-20-2009 , 09:28   Re: TF2 Giving weapons to another class
Reply With Quote #162

Quote:
Originally Posted by FaTony View Post
How did you get windows offset?
Dumped the vtable for CTFPlayer, found the offset on the list, and then tested the offset, subtracting one each time until it worked.
bl4nk is offline
(NW)Shane O' D
BANNED
Join Date: Aug 2009
Location: Ireland
Old 12-20-2009 , 10:26   Re: TF2 Giving weapons to another class
Reply With Quote #163

Quote:
Originally Posted by cybersquare420 View Post
have i mentioned that i love you?!?! working great! i have my candy script again... rocket launcher/scout FTW!!

edit: anyone know the names for the new weps?... i want to add some of them to my candy menu...

p.s. i still have a working version of the candy script if any1 wants it... i dont have the source, but i have all the other files... pm me if any want it
tf_weapon_soldier_buff?
tf_weapon_rocketlauncher_directhit is definitely one
(NW)Shane O' D is offline
(NW)Shane O' D
BANNED
Join Date: Aug 2009
Location: Ireland
Old 12-20-2009 , 10:28   Re: TF2 Giving weapons to another class
Reply With Quote #164

Quote:
Originally Posted by bl4nk View Post
[edit]

Yeah, those offsets he gave are wrong. I'm working on getting you the proper ones (have to update my local tf2 server and then do some testing, all while dealing with a video card that's constantly crashing my computer).
How are the offsets wrong if they work perfectly for me?
(NW)Shane O' D is offline
bl4nk
SourceMod Developer
Join Date: Jul 2007
Old 12-20-2009 , 11:18   Re: TF2 Giving weapons to another class
Reply With Quote #165

They shouldn't work at all, as they use an outdated function that use to crash TF2 when called.
bl4nk is offline
FaTony
Veteran Member
Join Date: Aug 2008
Old 12-20-2009 , 11:46   Re: TF2 Giving weapons to another class
Reply With Quote #166

Quote:
Originally Posted by bl4nk View Post
Dumped the vtable for CTFPlayer, found the offset on the list, and then tested the offset, subtracting one each time until it worked.
Dumped from what? I've dumped server_i486.so. Have you dumped server.dll? How?

Quote:
Originally Posted by bl4nk View Post
They shouldn't work at all, as they use an outdated function that use to crash TF2 when called.
Maybe they've fixed it so it no longer crashes server?

Last edited by FaTony; 12-20-2009 at 11:53.
FaTony is offline
bl4nk
SourceMod Developer
Join Date: Jul 2007
Old 12-20-2009 , 11:58   Re: TF2 Giving weapons to another class
Reply With Quote #167

I dumped it from the linux binary.
bl4nk is offline
FaTony
Veteran Member
Join Date: Aug 2008
Old 12-20-2009 , 12:07   Re: TF2 Giving weapons to another class
Reply With Quote #168

Linux binary gave me 454 which if +1 is the right linux offset, but what about windows?

Btw I was using this tutorial: http://wiki.alliedmods.net/Finding_Virtual_Offsets

Is it using outdated idc file or outdated at all?

Thanks.
FaTony is offline
(NW)Shane O' D
BANNED
Join Date: Aug 2009
Location: Ireland
Old 12-20-2009 , 17:51   Re: TF2 Giving weapons to another class
Reply With Quote #169

Quote:
Originally Posted by bl4nk View Post
I dumped it from the linux binary.
Your offsets are crashing my server...
My ones aren't. Did anyone try the link i posted?
those files are now included in all Snapshots
Attached Files
File Type: rar gamedata.rar (22.4 KB, 149 views)

Last edited by (NW)Shane O' D; 12-20-2009 at 17:55.
(NW)Shane O' D is offline
FaTony
Veteran Member
Join Date: Aug 2008
Old 12-20-2009 , 18:25   Re: TF2 Giving weapons to another class
Reply With Quote #170

Bl4nk's offsets work fine on windows. Again, what code are you using? These two functions are incompatible with each other.
FaTony 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 19:14.


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