Thread: SFXMgr -> crash

Results 1 to 2 of 2
  1. #1
    ctpsolo's Avatar
    Join Date
    Jan 2010
    My Mood

    SFXMgr -> crash

    Hey. I got a problem, everytime I try to access the SFXMgr class I crash. Just now I was using it like this

    cGameClientShell* pGameClientShell = (cGameClientShell*)GCS;
    	  cSFXMgr * SFXMgr;
    	  SFXMgr = pGameClientShell-> GetSFXMgr ();
    My log entry looks as following

    Passed gameclientshell.
    pGameClientShell is a valid pointer.
    After which there are no more entries, meaning it must crash upon GetSFXMgr. Can anyone look at my classes and verify whether they are up to date? I have not yet learned to use Reclass so I am using those I could get my hands on.

    class cGameClientShell
                            virtual void Function0();
                            virtual void Function1();
                            virtual void Function2();
                            virtual void Function3();
                            virtual void Function4();
                            virtual void Function5();
                            virtual void Function6();
                            virtual void Function7();
                            virtual void Function8();
                            virtual void Function9();
                            virtual void Function10();
                            virtual void Function11();
                            virtual void Function12();
                            virtual void Function13();
                            virtual void Function14();
                            virtual void Function15();
                            virtual void Function16();
                            virtual void Function17();
                            virtual void Function18();
                            virtual void Function19();
                            virtual void Function20();
                            virtual void Function21();
                            virtual void Function22();
                            virtual void Function23();
                            virtual void Function24();
                            virtual void Function25();
                            virtual void Function26();
                            virtual void Function27();
                            virtual void Function28();
                            virtual void Function29();
                            virtual void Function30();
                            virtual void Function31();
                            virtual void Function32();
                            virtual void Function33();
                            virtual void Function34();
                            virtual void Function35();
                            virtual void Function36();
                            virtual void Function37();
                            virtual void Function38();
                            virtual void Function39();
                            virtual void Function40();
                            virtual void Function41();
                            virtual void Function42();
                            virtual void Function43();
                            virtual void Function44();
                            virtual void Function45();
            virtual DWORD GetClientInfoMgr();
            virtual DWORD GetInterfaceManager();
        virtual DWORD GetPlayerManager();
                            virtual void Function49();
                            virtual void Function50();
                            virtual void Function51();
                            virtual void Function52();
                            virtual void Function53();
                            virtual void Function54();
                            virtual void Function55();
                            virtual void Function56();
            virtual cSFXMgr* GetSFXMgr();
    //SFXMgr and SFXL
    class SFXL
    			unsigned long	unk0;
    	unsigned long*	List;
    			unsigned long	unk1;
    	int				Num;
    class cSFXMgr
    	SFXL		SFXList[0x3D];

  2. #2
    Ch40zz-C0d3r's Avatar
    Join Date
    Apr 2011
    My Mood
    Your virtual is at wrong position.
    In reclass seebthe asm code of the virtual function and you will notice a abstatoc offset which changes every update. Sigscan it or use the same way like me. Sigscan the virtual, hook it and get eax + offset thats your sfxmgr pointer then.

    Progress with my game - "Disbanded"
    • Fixed FPS lag on spawning entities due to the ent_preload buffer!
    • Edit the AI code to get some better pathfinding
    • Fixed the view bug within the sniper scope view. The mirror entity is invisible now!
    • Added a new silencer for ALL weapons. Also fixed the rotation bugs
    • Added a ton of new weapons and the choice to choose a silencer for every weapon
    • Created a simple AntiCheat, noobs will cry like hell xD
    • The name will be Disbanded, the alpha starts on the 18th august 2014

    Some new physics fun (Serversided, works on every client)

    My new AI

    And for sure my 8 months old gameplay with 2 friends

  3. The Following User Says Thank You to Ch40zz-C0d3r For This Useful Post:

    ctpsolo (01-07-2013)

Similar Threads

  1. Anti-Crash
    By EleMentX in forum Hardware & Software Support
    Replies: 9
    Last Post: 04-12-2007, 04:17 AM
  2. Kid crashes into Mall
    By arunforce in forum General
    Replies: 1
    Last Post: 12-15-2006, 04:55 PM
  3. Apple - A new kind of crash.
    By Dave84311 in forum General
    Replies: 2
    Last Post: 07-26-2006, 08:58 PM