Raised This Month: $51 Target: $400
 12% 

Module: Orpheu (v2.6.3)


Post New Thread Reply   
 
Thread Tools Display Modes
xakintosh
I run no-steam servers!
Join Date: Feb 2010
Location: Edge of nowhere
Old 03-20-2010 , 05:58   Re: Module: Orpheu2.3
Reply With Quote #291

Is there any way to clear client console to log only chat messages?
__________________
As soon as possible.
xakintosh is offline
Send a message via Yahoo to xakintosh Send a message via Skype™ to xakintosh
biscuit628
Senior Member
Join Date: Jun 2007
Location: 香港HongKong
Old 03-22-2010 , 19:20   Re: Module: Orpheu2.3
Reply With Quote #292

can someone update this code to 2.3?
http://forums.alliedmods.net/showthr...368#post980368

thanks so much
__________________
My Plugins

C4man with fun

Sniper Skill bonus
-------------------------
Sorry for my poor English!
biscuit628 is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 03-22-2010 , 23:57   Re: Module: Orpheu2.3
Reply With Quote #293

Quote:
Originally Posted by biscuit628 View Post
can someone update this code to 2.3?
http://forums.alliedmods.net/showthr...368#post980368

thanks so much
I was able to translate the signature except for the identifiers:
Code:
{     "name" : "Con_Printf",     "library" : "engine",     "arguments" :     [         {             "type" : "char *"         },         {             "type" : "char *"         }     ],     "identifiers" :     [         {             "os" : "windows",
            "value" : ""
        },         {             "os" : "linux",
            "value" : ""
        }     ] }

The code should be easy to convert.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 03-23-2010 , 03:53   Re: Module: Orpheu2.3
Reply With Quote #294

Quote:
can someone update this code to 2.3?
Code:
    #include <amxmodx>     #include <orpheu>     new Msg[ 100 ];     public plugin_precache()     {         register_srvcmd( "catch", "catch" );     }        public catch()     {         new OrpheuHook:handlePrintf = OrpheuRegisterHook( OrpheuGetFunction( "Con_Printf" ), "Con_Printf" );                 server_cmd( "stats" );         server_exec();                 OrpheuUnregisterHook( handlePrintf );         const tokensN  = 7;         const tokenLen = 19;                 static tokens[ tokensN ][ tokenLen + 1 ];         for ( new i = 0; i < tokensN; i++ )         {             trim( Msg );             strtok( Msg, tokens[ i ], tokenLen, Msg, charsmax( Msg ), ' ' );         }         new Float:cpu = str_to_float( tokens[ 0 ] );         new Float:in  = str_to_float( tokens[ 1 ] );         new Float:out = str_to_float( tokens[ 2 ] );         new uptime    = str_to_num  ( tokens[ 3 ] );         new users     = str_to_num  ( tokens[ 4 ] );         new Float:fps = str_to_float( tokens[ 5 ] );         new players   = str_to_num  ( tokens[ 6 ] );         server_print( "CPU[%f] IN[%f] OUT[%f] UPTIME[%d] USERS[%d] FPS[%f] PLAYERS[%d]", cpu, in, out, uptime, users, fps, players );     }     public OrpheuHookReturn:Con_Printf( const a[], const message[] )     {         copy( Msg,charsmax( Msg ), message );         return OrpheuSupercede;     }

Code:
{     "name" : "Con_Printf",     "library" : "engine",     "arguments" :     [         {             "type" : "char *"         },         {             "type" : "char *"         }     ],     "identifiers" :     [         {             "os"    : "windows",             "mod"   : "cstrike",             "value" : [0x55,0x8B,"*",0xB8,"*","*","*","*",0xE8,"*","*","*","*",0x8B,0x4D,"*",0x8D,0x45,"*",0x50,0x51,0x8D,0x95,"*","*","*","*",0x68,"*","*","*","*",0x52,0xE8,"*","*","*","*",0x8D,0x85,"*","*","*","*",0x50]         },         {             "os"    : "linux",             "mod"   : "cstrike",             "value" : "Con_Printf"         }     ] }
__________________

Last edited by Arkshine; 06-22-2011 at 14:01.
Arkshine is offline
Owyn
Veteran Member
Join Date: Nov 2007
Old 03-23-2010 , 05:01   Re: Module: Orpheu2.3
Reply With Quote #295

there is already a FM_ServerPrint forward in fakemeta, isn't there?
__________________
☜ Free Mozy ☂backup\҉sync user
Quote:
Американский форум - Задаёшь вопрос, потом тебе отвечают.
Израильский форум - Задаёшь вопрос, потом тебе задают вопрос.
Русский форум - Задаёшь вопрос, потом тебе долго рассказывают, какой ты мудак.
Owyn is offline
Send a message via ICQ to Owyn
chp'
Senior Member
Join Date: Nov 2008
Old 03-23-2010 , 19:39   Re: Module: Orpheu2.3
Reply With Quote #296

Code:
/home/games/hl/csZM/cstrike/addons/amxmodx/modules$ ./check
failed to load with error [./orpheu_amxx_i386.so: cannot open shared object file : No such file or directory]
chp' is offline
wrecked_
Veteran Member
Join Date: Jan 2010
Location: New York (GMT-5)
Old 03-23-2010 , 21:11   Re: Module: Orpheu2.3
Reply With Quote #297

Quote:
Originally Posted by chp' View Post
Code:
/home/games/hl/csZM/cstrike/addons/amxmodx/modules$ ./check
failed to load with error [./orpheu_amxx_i386.so: cannot open shared object file : No such file or directory]
Non-Steam isn't supported.
__________________
[ Paid Requests ]
DO NOT PM ME ABOUT BLOCKMAKER
NO PRIVATE SUPPORT
wrecked_ is offline
chp'
Senior Member
Join Date: Nov 2008
Old 03-23-2010 , 21:28   Re: Module: Orpheu2.3
Reply With Quote #298

Quote:
Originally Posted by wrecked_ View Post
Non-Steam isn't supported.

lol ...

Flood and an unnecessary thing, do not talk do not know what a person you do not know. If you have nothing better to do will wash underwear.

@ Topic

http://forums.alliedmods.net/showpos...&postcount=247
chp' is offline
joaquimandrade
Veteran Member
Join Date: Dec 2008
Location: Portugal
Old 03-23-2010 , 22:44   Re: Module: Orpheu2.3
Reply With Quote #299

Quote:
Originally Posted by chp' View Post
Code:
/home/games/hl/csZM/cstrike/addons/amxmodx/modules$ ./check
failed to load with error [./orpheu_amxx_i386.so: cannot open shared object file : No such file or directory]
Change the file permissions of the module and double check its name.
__________________
joaquimandrade is offline
chp'
Senior Member
Join Date: Nov 2008
Old 03-23-2010 , 23:11   Re: Module: Orpheu2.3
Reply With Quote #300

Quote:
Originally Posted by joaquimandrade View Post
Change the file permissions of the module and double check its name.

Code:
/home/games/hl/csZM/cstrike/addons/amxmodx/modules$ gcc check.c -ldl -o check
/home/games/hl/csZM/cstrike/addons/amxmodx/modules$ ./check
failed to load with error [./orpheu_amxx_i386.so: cannot open shared object file: No such file or directory]
I put "chmod -R 777 modules" in folder.
chp' is offline
Reply



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

Forum Jump


All times are GMT -4. The time now is 13:55.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode