Raised This Month: $32 Target: $400
 8% 

Signature Request Thread


Post New Thread Reply   
 
Thread Tools Display Modes
Sreaper
髪を用心
Join Date: Nov 2009
Old 02-07-2013 , 22:12   Re: Signature Request Thread
Reply With Quote #111

I have these three signatures for Linux:
Code:
"linux"         "@_ZN11CBaseEntity15SetMoveDoneTimeEf"
"linux"         "@_ZN11CBaseEntity16SetLocalVelocityERK6Vector"
"linux"         "@_ZN11CBaseEntity7AddFlagEi"
I am having trouble finding the Windows versions. If anyone would help me out, I would really appreciate it.

Game: Team Fortress 2

Last edited by Sreaper; 02-07-2013 at 22:14.
Sreaper is offline
testtest
Junior Member
Join Date: Jan 2010
Old 02-08-2013 , 12:51   Re: Signature Request Thread
Reply With Quote #112

Code:
SetMoveDoneTime \x55\x8B\xEC\xF3\x0F\x10\x45\x00\x0F\x2F\x05\x00\x00\x00\x00\x72\x1D xxxxxxx?xxx????xx
SetLocalVelocity \x55\x8B\xEC\x83\xEC\x0C\x56\x57\x8B\x7D\x08\x8B\x07\x8B\x57\x08 xxxxxxxxxxxxxxxx
AddFlag \x55\x8B\xEC\x51\x53\x56\x8B\xD9\x8B\x83\x00\x00\x00\x00\x8D\xB3\x00\x00\x00\x00\x57\x8B\xF8\x0B\x7D\x08 xxxxxxxxxx????xx????xxxxxx

Last edited by testtest; 02-08-2013 at 12:52.
testtest is offline
Sreaper
髪を用心
Join Date: Nov 2009
Old 02-09-2013 , 00:21   Re: Signature Request Thread
Reply With Quote #113

Quote:
Originally Posted by testtest View Post
Code:
SetMoveDoneTime \x55\x8B\xEC\xF3\x0F\x10\x45\x00\x0F\x2F\x05\x00\x00\x00\x00\x72\x1D xxxxxxx?xxx????xx
SetLocalVelocity \x55\x8B\xEC\x83\xEC\x0C\x56\x57\x8B\x7D\x08\x8B\x07\x8B\x57\x08 xxxxxxxxxxxxxxxx
AddFlag \x55\x8B\xEC\x51\x53\x56\x8B\xD9\x8B\x83\x00\x00\x00\x00\x8D\xB3\x00\x00\x00\x00\x57\x8B\xF8\x0B\x7D\x08 xxxxxxxxxx????xx????xxxxxx
Thank you!
Sreaper is offline
jacek2144
Senior Member
Join Date: Jun 2011
Old 02-11-2013 , 12:10   Re: Signature Request Thread
Reply With Quote #114

Hello i have problem with finding Windows version of those signatures. Any help would be great
Game : Team Fortress 2

Code:
"linux" "@_ZN9CTFPlayer18AddPlayerAttributeEP18CEconItemAttribute"
"linux" "@_ZN9CTFPlayer16AwardAchievementEii"
Thanks

Last edited by jacek2144; 02-11-2013 at 12:10.
jacek2144 is offline
Peace-Maker
SourceMod Plugin Approver
Join Date: Aug 2008
Location: Germany
Old 02-11-2013 , 16:15   Re: Signature Request Thread
Reply With Quote #115

Quote:
Originally Posted by jacek2144 View Post
Hello i have problem with finding Windows version of those signatures. Any help would be great
Game : Team Fortress 2

Code:
"linux" "@_ZN9CTFPlayer18AddPlayerAttributeEP18CEconItemAttribute"
"linux" "@_ZN9CTFPlayer16AwardAchievementEii"
Thanks
CTFPlayer::AddPlayerAttribute(CEconItemAttrib ute *)
\x55\x8B\xEC\x8B\x45\x08\x85\xC0\x74\x2A\x50\ x81\xC1\x04\x0A\x00\x00

CTFPlayer::AwardAchievement(int, int)
\x55\x8B\xEC\xA1\x2A\x2A\x2A\x2A\x83\xB8\x48\ x03\x00\x00\x05\x7D\x2A
__________________
Peace-Maker is offline
jacek2144
Senior Member
Join Date: Jun 2011
Old 02-11-2013 , 17:07   Re: Signature Request Thread
Reply With Quote #116

Quote:
Originally Posted by Peace-Maker View Post
CTFPlayer::AddPlayerAttribute(CEconItemAttrib ute *)
\x55\x8B\xEC\x8B\x45\x08\x85\xC0\x74\x2A\x50\ x81\xC1\x04\x0A\x00\x00

CTFPlayer::AwardAchievement(int, int)
\x55\x8B\xEC\xA1\x2A\x2A\x2A\x2A\x83\xB8\x48\ x03\x00\x00\x05\x7D\x2A
Thanks i got one more qustion

What am i doing wrong in my code?
It's not working

Code:
#include <sourcemod>
#include <sdktools>
 
new Handle:hGameConf;
new Handle:hGiveAchievement;
 
public OnPluginStart()
{
 hGameConf = LoadGameConfigFile("tf2.achievements_manager");
 StartPrepSDKCall(SDKCall_Player);
 PrepSDKCall_SetFromConf(hGameConf, SDKConf_Signature, "CTFPlayer::AwardAchievement");
 PrepSDKCall_SetReturnInfo(SDKType_CBasePlayer, SDKPass_Pointer);
 PrepSDKCall_AddParameter(SDKType_PlainOldData, SDKPass_Plain);
 PrepSDKCall_AddParameter(SDKType_String, SDKPass_Plain);
 hGiveAchievement = EndPrepSDKCall();
 
 RegConsoleCmd("achievement_debug_mvm", GiveAchievement);
}
public Action:GiveAchievement(client, args)
{
 return SDKCall(hGiveAchievement, client, 2306, "Brotherhood of Steel");
}
jacek2144 is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 02-11-2013 , 17:15   Re: Signature Request Thread
Reply With Quote #117

Quote:
Originally Posted by jacek2144 View Post
Thanks i got one more qustion

What am i doing wrong in my code?
It's not working

Code:
#include <sourcemod>
#include <sdktools>
 
new Handle:hGameConf;
new Handle:hGiveAchievement;
 
public OnPluginStart()
{
 hGameConf = LoadGameConfigFile("tf2.achievements_manager");
 StartPrepSDKCall(SDKCall_Player);
 PrepSDKCall_SetFromConf(hGameConf, SDKConf_Signature, "CTFPlayer::AwardAchievement");
 PrepSDKCall_SetReturnInfo(SDKType_CBasePlayer, SDKPass_Pointer);
 PrepSDKCall_AddParameter(SDKType_PlainOldData, SDKPass_Plain);
 PrepSDKCall_AddParameter(SDKType_String, SDKPass_Plain);
 hGiveAchievement = EndPrepSDKCall();
 
 RegConsoleCmd("achievement_debug_mvm", GiveAchievement);
}
public Action:GiveAchievement(client, args)
{
 return SDKCall(hGiveAchievement, client, 2306, "Brotherhood of Steel");
}
  1. You're using AddParameter SDKType_PlainOldData and SDKType_String for a function that takes two ints. It should be two plain data type.
  2. You're setting a return type of SDKType_CBasePlayer.
  3. Why are you messing around with the functions for awarding achievements anyway?
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline
jacek2144
Senior Member
Join Date: Jun 2011
Old 02-11-2013 , 17:24   Re: Signature Request Thread
Reply With Quote #118

Quote:
Originally Posted by Powerlord View Post
  1. You're using AddParameter SDKType_PlainOldData and SDKType_String for a function that takes two ints. It should be two plain data type.
  2. You're setting a return type of SDKType_CBasePlayer.
  3. Why are you messing around with the functions for awarding achievements anyway?

1. & 2. I've changed it. But it's still not working

Code:
#include <sourcemod>
#include <sdktools>
 
new Handle:hGameConf;
new Handle:hGiveAchievement;
 
public OnPluginStart()
{
 hGameConf = LoadGameConfigFile("tf2.achievements_manager");
 StartPrepSDKCall(SDKCall_Player);
 PrepSDKCall_SetFromConf(hGameConf, SDKConf_Signature, "CTFPlayer::AwardAchievement");
 PrepSDKCall_AddParameter(SDKType_PlainOldData, SDKPass_Plain);
 PrepSDKCall_AddParameter(SDKType_PlainOldData, SDKPass_Plain);
 hGiveAchievement = EndPrepSDKCall();
 
 RegConsoleCmd("achievement_debug_mvm", GiveAchievement);
}
public Action:GiveAchievement(client, args)
{
 SDKCall(hGiveAchievement, client, 2306, "Brotherhood of Steel");
}
Can you tell me what i did wrong this time D:

3. I'm trying to remake Mann Vs Machine in normal gamemode for fun. And i've wondered if i could give clients achievements that work in MvM only example for killing 2 tanks fast etc. So i've started test plugin that could make achievements work.

Thanks

Last edited by jacek2144; 02-11-2013 at 17:48.
jacek2144 is offline
Peace-Maker
SourceMod Plugin Approver
Join Date: Aug 2008
Location: Germany
Old 02-11-2013 , 21:04   Re: Signature Request Thread
Reply With Quote #119

Quote:
Originally Posted by jacek2144 View Post
3. I'm trying to remake Mann Vs Machine in normal gamemode for fun. And i've wondered if i could give clients achievements that work in MvM only example for killing 2 tanks fast etc. So i've started test plugin that could make achievements work.
Please test your stuff on linux first before requesting windows signatures-.-
__________________
Peace-Maker is offline
jacek2144
Senior Member
Join Date: Jun 2011
Old 02-12-2013 , 08:16   Re: Signature Request Thread
Reply With Quote #120

Quote:
Originally Posted by Peace-Maker View Post
Please test your stuff on linux first before requesting windows signatures-.-
Tested it but tested it with normal achievement ids not MvM ones. So thought something screwed up or is diffrent in windows code. It seems like my code works only in MvM on MvM achievements so no luck in MvM Achievements import. Thanks anyway for signature
jacek2144 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 16:27.


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