Register for your free account! | Forgot your password?

You last visited: Today at 16:40

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



/Sys Problem

Discussion on /Sys Problem within the Flyff Private Server forum part of the Flyff category.

Reply
 
Old   #1
 
elite*gold: 115
Join Date: Jan 2012
Posts: 1,156
Received Thanks: 894
/Sys Problem

How to make my notice have a ign? because i cnt find it

example: /sys HELLO!
the notice must be like this (jayjei14): HELLO!

How to do it? that have in game name?
Rhyder` is offline  
Old 05/12/2013, 16:12   #2
 
elite*gold: 4
Join Date: Mar 2010
Posts: 3,148
Received Thanks: 1,535
Code:
BOOL TextCmd_System( CScanner & scanner )
{
#ifdef __WORLDSERVER
    CHAR szString[512] = "";
    CUser* pUser    = (CUser*)scanner.dwValue;
    CString strName;
    strName = pUser->GetName();

    scanner.GetLastFull();
    if( strlen( scanner.token ) >= 512 )
        return TRUE;
    strcpy( szString, scanner.token );
    StringTrimRight( szString );

    g_DPCoreClient.SendSystem( "[" + strName + "]" +  szString );

#endif    // __WORLDSERVER
    return TRUE;
}
credits: Cross
Jopsi332 is offline  
Thanks
1 User
Old 05/12/2013, 23:23   #3
 
elite*gold: 0
Join Date: Aug 2011
Posts: 61
Received Thanks: 3
Quote:
Originally Posted by Jopsi332 View Post
Code:
BOOL TextCmd_System( CScanner & scanner )
{
#ifdef __WORLDSERVER
    CHAR szString[512] = "";
    CUser* pUser    = (CUser*)scanner.dwValue;
    CString strName;
    strName = pUser->GetName();

    scanner.GetLastFull();
    if( strlen( scanner.token ) >= 512 )
        return TRUE;
    strcpy( szString, scanner.token );
    StringTrimRight( szString );

    g_DPCoreClient.SendSystem( "[" + strName + "]" +  szString );

#endif    // __WORLDSERVER
    return TRUE;
}
credits: Cross

What file .h or .ccp file?
tangia1426 is offline  
Old 05/12/2013, 23:41   #4
 
elite*gold: 10
Join Date: Feb 2011
Posts: 1,760
Received Thanks: 501
Quote:
Originally Posted by tangia1426 View Post
What file .h or .ccp file?

cpp
Velmore is offline  
Old 05/12/2013, 23:45   #5
 
elite*gold: 0
Join Date: Aug 2011
Posts: 61
Received Thanks: 3
Quote:
Originally Posted by Jopsi332 View Post
Code:
BOOL TextCmd_System( CScanner & scanner )
{
#ifdef __WORLDSERVER
    CHAR szString[512] = "";
    CUser* pUser    = (CUser*)scanner.dwValue;
    CString strName;
    strName = pUser->GetName();

    scanner.GetLastFull();
    if( strlen( scanner.token ) >= 512 )
        return TRUE;
    strcpy( szString, scanner.token );
    StringTrimRight( szString );

    g_DPCoreClient.SendSystem( "[" + strName + "]" +  szString );

#endif    // __WORLDSERVER
    return TRUE;
}
credits: Cross
Quote:
Originally Posted by Velmore View Post
cpp
i mean what name of .h or .ccp

i mean what name of .h or .ccp
tangia1426 is offline  
Old 05/12/2013, 23:49   #6
 
elite*gold: 4
Join Date: Mar 2010
Posts: 3,148
Received Thanks: 1,535
functextcmd.cpp

you must replace the whole func
Jopsi332 is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
[Problem]Habe ein Problem und zwar spinnt mein VPC etwas(ohne Grund)?!
07/28/2011 - Metin2 Private Server - 10 Replies
Also wie schon gesagt meins Server spinnt wodurch kiks usw. kommen :( ich lade euch die Screens in den Anhang, mit der Hoffnung, dass ihr mir helfen könnt :) wäre echt sehr nice :)



All times are GMT +1. The time now is 16:41.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.