Go Back   UnKnoWnCheaTs - Multiplayer Game Hacks and Cheats > First-Person Shooters > America's Army Operations > America's Army Operations 3.x > 3.x Coding and Tutorials

- Sponsored Advertisement -
http://www.myfpscheats.com/

Welcome to the UnKnoWnCheaTs - Multiplayer Game Hacks and Cheats.
You have to register before you can post and access any of the advanced forum features, please click the register link to proceed to the registration form. To start viewing threads or posts, select a forum that you want to visit from the selection below.
You are Unregistered, please register to gain Full access.    
Reply
 
Thread Tools

Old 11-03-2011, 11:07 AM   #21
UnKnoWnCheaTeR

NetzTeil's Avatar

Join Date: Feb 2009
Location: 192.148.469.4
Posts: 871
Reputation: 8868
Rep Power: 143
NetzTeil DEFINES UNKNOWNCHEATSNetzTeil DEFINES UNKNOWNCHEATSNetzTeil DEFINES UNKNOWNCHEATSNetzTeil DEFINES UNKNOWNCHEATSNetzTeil DEFINES UNKNOWNCHEATSNetzTeil DEFINES UNKNOWNCHEATSNetzTeil DEFINES UNKNOWNCHEATSNetzTeil DEFINES UNKNOWNCHEATSNetzTeil DEFINES UNKNOWNCHEATSNetzTeil DEFINES UNKNOWNCHEATSNetzTeil DEFINES UNKNOWNCHEATS
Points: 6,064, Level: 8
Points: 6,064, Level: 8 Points: 6,064, Level: 8 Points: 6,064, Level: 8
Activity: 1.1%
Activity: 1.1% Activity: 1.1% Activity: 1.1%
Last Achievements
Hey

i have one Problem with,

Code:
UObject::FindObject
i get this error,

Quote:
error C2660: 'UObject:: find object': function does not accept an argument
codeline is this,

Code:
pCanvas_DrawTextClipped = ( UFunction* )UObject::FindObject("Function Engine.Canvas.DrawTextClipped");
using this AA3 Base Hook

Thanks
__________________
CSS, CS 1.6, BF3, AA3, BFBC, COD
NetzTeil is offline

Reply With Quote


Old 11-03-2011, 12:11 PM   #22
*_*

HOOAH07's Avatar

Join Date: Apr 2008
Location: H.M.P
Posts: 5,456
Reputation: 93387
Rep Power: 1089
HOOAH07 has a huge epeen!HOOAH07 has a huge epeen!HOOAH07 has a huge epeen!HOOAH07 has a huge epeen!HOOAH07 has a huge epeen!HOOAH07 has a huge epeen!HOOAH07 has a huge epeen!HOOAH07 has a huge epeen!HOOAH07 has a huge epeen!HOOAH07 has a huge epeen!HOOAH07 has a huge epeen!
Recognitions:
The UC Member of the Month award is a prestigious award given to a single community member on a monthly basis. Based on a vote by UnKnoWnCheaTs staff, the award is given to the forum member that has shown exemplary achievement and potential in the UnKnoWnCheaTs community, and has shown great commitment to upholding the principles upon which UnKnoWnCheaTs stands for. A member who has been awarded the Member of the Month award has been distinguished as an asset to the UnKnoWnCheaTs community. Member of the Month
Points: 69,078, Level: 38
Points: 69,078, Level: 38 Points: 69,078, Level: 38 Points: 69,078, Level: 38
Activity: 62.7%
Activity: 62.7% Activity: 62.7% Activity: 62.7%
Last Achievements
Award-Showcase
The base is a little out dated for the newer sdk's. (Minimal update needed to fix it though)
Take a little look how the FindObject works.


This is how it should be.
pCanvas_DrawTextClipped = UObject::FindObject< UFunction > ( "Function Engine.Canvas.DrawTextClipped" );

Although all the functions are already made up in the new SDK.

To access the DrawString function in the new SDK all you need to do is Canvas->DrawTextClipped(//Bla bla

I just use this

cpp:
void DrawString( UCanvas* Canvas, float X, float Y, FString String, float XScale, float YScale, FColor DesiredColor )
{
    float OldCurX = Canvas->CurX;
    float OldCurY = Canvas->CurY;

    FColor OldColor = Canvas->DrawColor;

    Canvas->CurX = X;
    Canvas->CurY = Y;
    Canvas->DrawColor = DesiredColor;

    Canvas->DrawTextClipped( String, false, XScale, YScale );

    Canvas->CurX = OldCurX;
    Canvas->CurY = OldCurY;

    Canvas->DrawColor = OldColor;
}

Now to draw something i can just do something like this.

DrawString( Canvas, 5, 5, L"Netzteil", 1.0, 1.0, Red );
__________________
┐(_)

°º¤ø„¸¨°º¤ø„¸¸„ø¤º°¨¸„ø¤º°¨

¨°º¤ø„¸ MONKEY „ø¤º°¨

„ø¤º°¨ FOREVER `°º¤ø...
xTc charging me up like a battery, Like 1000 volts rushing through my body

Last edited by HOOAH07; 11-03-2011 at 10:08 PM.
HOOAH07 is online now

Reply With Quote

Old 11-03-2011, 03:34 PM   #23
UnKnoWnCheaTeR

NetzTeil's Avatar

Join Date: Feb 2009
Location: 192.148.469.4
Posts: 871
Reputation: 8868
Rep Power: 143
NetzTeil DEFINES UNKNOWNCHEATSNetzTeil DEFINES UNKNOWNCHEATSNetzTeil DEFINES UNKNOWNCHEATSNetzTeil DEFINES UNKNOWNCHEATSNetzTeil DEFINES UNKNOWNCHEATSNetzTeil DEFINES UNKNOWNCHEATSNetzTeil DEFINES UNKNOWNCHEATSNetzTeil DEFINES UNKNOWNCHEATSNetzTeil DEFINES UNKNOWNCHEATSNetzTeil DEFINES UNKNOWNCHEATSNetzTeil DEFINES UNKNOWNCHEATS
Points: 6,064, Level: 8
Points: 6,064, Level: 8 Points: 6,064, Level: 8 Points: 6,064, Level: 8
Activity: 1.1%
Activity: 1.1% Activity: 1.1% Activity: 1.1%
Last Achievements
Fine, Thanks for your Help, HOOAH!
__________________
CSS, CS 1.6, BF3, AA3, BFBC, COD

Last edited by NetzTeil; 11-03-2011 at 06:17 PM.
NetzTeil is offline

Reply With Quote

Old 12-11-2011, 02:38 PM   #24
pUC -> ƒp$_m0d€r@t0r

TheFeckless's Avatar

Threadstarter
Join Date: Jun 2011
Location: Ubique
Posts: 470
Reputation: 41692
Rep Power: 433
TheFeckless has a huge epeen!TheFeckless has a huge epeen!TheFeckless has a huge epeen!TheFeckless has a huge epeen!TheFeckless has a huge epeen!TheFeckless has a huge epeen!TheFeckless has a huge epeen!TheFeckless has a huge epeen!TheFeckless has a huge epeen!TheFeckless has a huge epeen!TheFeckless has a huge epeen!
Points: 23,637, Level: 21
Points: 23,637, Level: 21 Points: 23,637, Level: 21 Points: 23,637, Level: 21
Activity: 74.7%
Activity: 74.7% Activity: 74.7% Activity: 74.7%
Last Achievements
I released an updated SDK for the 3.2, see the first post.
__________________
TheFeckless is offline

Reply With Quote

Old 01-31-2012, 09:24 AM   #25
n00bie

mrkush's Avatar

Join Date: Jan 2012
Posts: 2
Reputation: 10
Rep Power: 1
mrkush has made posts that are generally average in quality
Points: 56, Level: 1
Points: 56, Level: 1 Points: 56, Level: 1 Points: 56, Level: 1
Activity: 1.2%
Activity: 1.2% Activity: 1.2% Activity: 1.2%
Last Achievements
Thanks, just started learning and gna have a look over this....
mrkush is online now

Reply With Quote

Old 01-31-2012, 05:11 PM   #26
pUC -> ƒp$_m0d€r@t0r

TheFeckless's Avatar

Threadstarter
Join Date: Jun 2011
Location: Ubique
Posts: 470
Reputation: 41692
Rep Power: 433
TheFeckless has a huge epeen!TheFeckless has a huge epeen!TheFeckless has a huge epeen!TheFeckless has a huge epeen!TheFeckless has a huge epeen!TheFeckless has a huge epeen!TheFeckless has a huge epeen!TheFeckless has a huge epeen!TheFeckless has a huge epeen!TheFeckless has a huge epeen!TheFeckless has a huge epeen!
Points: 23,637, Level: 21
Points: 23,637, Level: 21 Points: 23,637, Level: 21 Points: 23,637, Level: 21
Activity: 74.7%
Activity: 74.7% Activity: 74.7% Activity: 74.7%
Last Achievements
Quote:
Originally Posted by mrkush View Post
Thanks, just started learning and gna have a look over this....
good luck
__________________
TheFeckless is offline

Reply With Quote
Reply  

  • Submit Thread to Digg
  • Submit Thread to del.icio.us
  • Submit Thread to StumbleUpon
  • Submit Thread to Google
  • Submit Thread to Facebook
  • Submit Thread to My Yahoo!
  • Submit Thread to MySpace
  • Submit Thread to Twitter
  • Submit Thread to Reddit



Tags
aa3, sdk, tfl, thefeckless
Thread Tools

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT +1. The time now is 01:19 AM.