Author Topic: !invisible problem :< [SOLVED]  (Read 2775 times)

DraZiLoX

  • Posts: 844
  • Turrets: +24/-24
!invisible problem :< [SOLVED]
« on: January 27, 2010, 03:36:21 pm »
I add invisible command to my QVM.

Then:

Code: [Select]
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:
Code: [Select]
     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
Code: [Select]
make
and :-o

Code: [Select]
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.
« Last Edit: January 27, 2010, 04:00:01 pm by DraZiLoX »

David

  • Spam Killer
  • *
  • Posts: 3543
  • Turrets: +249/-273
Re: !invisible problem :<
« Reply #1 on: January 27, 2010, 03:55:16 pm »
"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

  • Posts: 844
  • Turrets: +24/-24
Re: !invisible problem :<
« Reply #2 on: January 27, 2010, 03:56:35 pm »
:-o

Thanks, i'll try.

EDIT: Yep thats it, thanks David !
« Last Edit: January 27, 2010, 03:59:51 pm by DraZiLoX »