Thread: Proposición
View Single Post
joropito
AlliedModders Donor
Join Date: Mar 2009
Location: pfnAddToFullPack
Old 08-07-2013 , 12:10   Re: Proposición
#110

Quote:
Originally Posted by Destro- View Post
@Joropito
Que hay en la var svs ?

Usando parte de este code https://forums.alliedmods.net/showthread.php?t=138497
para obtener la data del voice tengo que hookear MSG_ReadX y usar OrpheuGetReturn en SV_ParseVoiceData ? Es la única/mejor forma ?.
Code:
struct server_static_s {
        qboolean                   dll_initialized;      /*     0     4 */
        struct client_s *          clients;              /*     4     4 */
        int                        maxclients;           /*     8     4 */
        int                        maxclientslimit;      /*    12     4 */
        int                        spawncount;           /*    16     4 */
        int                        serverflags;          /*    20     4 */
        server_log_t               log;                  /*    24    32 */
        double                     next_cleartime;       /*    56     8 */
        /* --- cacheline 1 boundary (64 bytes) --- */
        double                     next_sampletime;      /*    64     8 */
        server_stats_t             stats;                /*    72    56 */
        /* --- cacheline 2 boundary (128 bytes) --- */
        qboolean                   isSecure;             /*   128     4 */
};


Aun no analice donde/como viaja la voz con el nuevo engine. Se a donde apuntas pero no creo que puedas hacer mucho sin reversar steamclient por completo.
__________________

Divide et vinces
approved plugins | steam account

I don't accept PM for support. Just ask on forums.
If you're looking for private work, PM me.
joropito is offline
Send a message via MSN to joropito