News:

Come Chat with us live! Learn how HERE!

Main Menu

!invisible problem :< [SOLVED]

Started by DraZiLoX, January 27, 2010, 03:36:21 PM

DraZiLoX

I add invisible command to my QVM.

Then:

make

and then :( :

Quote
Q3LCC src/game/g_client.c
Q3LCC src/game/g_cmds.c
src/game/g_cmds.c:4743: type error in argument 2 to `G_admin_permission'; found `pointer to char' expected `char'
src/game/g_cmds.c:4747: type error in argument 2 to `G_admin_permission'; found `pointer to char' expected `char'
make[2]: *** [build/release-linux-x86/base/game/g_cmds.asm] Error 1
make[2]: Leaving directory `/home/user/WonderQVM-3.1'
make[1]: *** [targets] Error 2
make[1]: Leaving directory `/home/user/WonderQVM-3.1'
make: *** [release] Error 2

oh no!

g_cmds.c lines 4739 - 4755:
     if( teamonly && !OnSameTeam( ent, tmpent ) )
       continue;
     
     // Ignore sending to invisible players
     if( tmpent->client->sess.invisible == qtrue && !G_admin_permission( ent, "I" ) )
       continue;

     // Ignore sending to non-invisible-capable players while invisible
     if( ent->client->sess.invisible == qtrue && !G_admin_permission( tmpent, "I" ) )
       continue;

     if( BG_ClientListTest( &tmpent->client->sess.ignoreList,
       ent-g_entities ) )
     {
       ignoreids[ ignored++ ] = pids[ i ];
       continue;
     }


Then i write again make

and :-o

Q3LCC src/ui/ui_gameinfo.c
Q3ASM build/release-linux-x86/base/vm/ui.qvm
make[2]: Leaving directory `/home/user/WonderQVM-3.1'
make[1]: Leaving directory `/home/user/WonderQVM-3.1'


and when i try QVM, it works.

What is problem? I dont want QVM, that i compile year later and THEN it doesnt work.

David

"I" should be 'I'  (Single quotes)
Any maps not in the MG repo?  Email me or come to irc.freenode.net/#mg.
--
My words are mine and mine alone.  I can't speak for anyone else, and there is no one who can speak for me.  If I ever make a post that gives the opinions or positions of other users or groups, then they will be clearly labeled as such.
I'm disappointed that people's past actions have forced me to state what should be obvious.
I am not a dev.  Nothing I say counts for anything.

DraZiLoX

#2
:-o

Thanks, i'll try.

EDIT: Yep thats it, thanks David !