Jump to content

x13th

Members
  • Posts

    206
  • Joined

  • Last visited

  • Days Won

    3

Posts posted by x13th

  1. Can someone edit the code of @monsterignore/@battleignore? Instead of ignoring ALL attack, it will ONLY ignore the attack of players. meaning mob can attack the player even if he/she use the command monsterignore / battleignore.

     

    struct map_session_data *sd;
    if( t_bl == s_bl ) break;
    sd = BL_CAST(BL_PC, t_bl);
     
    if( sd->state.monster_ignore && flag&BCT_ENEMY )
    return 0; // Global inminuty only to Attacks
    if( sd->status.karma && s_bl->type == BL_PC && ((TBL_PC*)s_bl)->status.karma )
    state |= BCT_ENEMY; // Characters with bad karma may fight amongst them
     
    
  2. You need SQL statement.

     

    prontera,157,95,4    script    ahue    602,{
    query_sql ("SELECT SUM(nameid) FROM `auction` WHERE `nameid` = '569'", @auction); 
    query_sql ("SELECT SUM(amount) FROM `inventory` WHERE `nameid` = '569'", @inventory); 
    query_sql ("SELECT SUM(amount) FROM `storage` WHERE `nameid` = '569'", @storage); 
    query_sql ("SELECT SUM(amount) FROM `cart_inventory` WHERE `nameid` = '569'", @cartinventory); 
    query_sql ("SELECT SUM(amount) FROM `mail` WHERE `nameid` = '569'", @mail); 
     
    set sum, @inventory + @storage + @cartinventory + @mail + @auction;
    mes sum;
     
    close;
    }
    
  3. So in rAthena we already have this groupid feature wherein we can put players into different groups maybe depending on their subscription or their contribution. Let's say we have these groups:

     

     

     

    VIP/Donator - People who've donated to the server.
    Contributors - People who've contributed to the server like when they do graphics or have made a script or simply made a good suggestion / bug find.
    Helpers - They're not classified as GMs but regular players who wholeheartedly help newbies in-game with their guides, leveling support or assitance, etc.

     

    And I want all these groups to be recognized by everyone through giving them different player name colors.

     

    So the idea is like the GM's yellow name in-game. When they do chats, they're displayed in yellow font color and their name when hovered in-game is in yellow.

     

    I want these to be applied in different groups as well. I'm not sure if this is the right section to seek help (could be a client/source-related edit orsomething)

     

    Thanks in advance.

     

    PS: I already saw an old server who did it, and they're using eAthena. I think it could also be implemented here in rAthena since it's much much more flexible.

  4. You're doing it wrong. What's that ip 121.xx.xxx.xx? Is that your host's IP or your IP?

     

    If you're gonna make an offline server:

    (Those bright red-colored font are the corrections from your post)

     

    map server:

     

    // Character Server IP

    // The map server connects to the character server using this IP address.

    // NOTE: This is useful when you are running behind a firewall or are on

    // a machine with multiple interfaces.

    char_ip: 192.168.11.12

     

    // The map server listens on the interface with this IP address.

    // NOTE: This allows you to run multiple servers on multiple interfaces

    // while using the same ports for each server.

    //bind_ip: 127.0.0.1

     

    // Character Server Port

    char_port: 6121

     

    // Map Server IP

    // The IP address which clients will use to connect.

    // Set this to what your server's public IP address is.

    map_ip: 192.168.11.12

     

    // Map Server Port

    map_port: 5121

     

    char_server:

     

    // Login Server IP

    // The character server connects to the login server using this IP address.

    // NOTE: This is useful when you are running behind a firewall or are on

    // a machine with multiple interfaces.

    login_ip: 192.168.11.12

     

    // The character server listens on the interface with this IP address.

    // NOTE: This allows you to run multiple servers on multiple interfaces

    // while using the same ports for each server.

    //bind_ip: 127.0.0.1

     

    // Login Server Port

    login_port: 6900

     

    // Character Server IP

    // The IP address which clients will use to connect.

    // Set this to what your server's public IP address is.

    char_ip: 192.168.11.12

     

    subnet:

    subnet: 255.255.255.0:192.168.11.12:192.168.11.12

    subnet: 255.255.255.0:121.xx.xxx.xx:121.xx.xxx.xx << Remove this line

     

    clientinfo.xml

        <address>192.168.11.12</address>

        <port>6900</port>

        <version>30</version>

        <langtype>0</langtype>

     

    Everything is correct. I forgot about DMZ -_-'

  5.  
    Here's my config.
     
    map_server
    // Character Server IP
    // The map server connects to the character server using this IP address.
    // NOTE: This is useful when you are running behind a firewall or are on
    // a machine with multiple interfaces.
    char_ip: 192.168.11.12
     
    // The map server listens on the interface with this IP address.
    // NOTE: This allows you to run multiple servers on multiple interfaces
    // while using the same ports for each server.
    //bind_ip: 127.0.0.1
     
    // Character Server Port
    char_port: 6121
     
    // Map Server IP
    // The IP address which clients will use to connect.
    // Set this to what your server's public IP address is.
    map_ip: 121.xx.xxx.xx
     
    // Map Server Port
    map_port: 5121
    
     
    char_server
    // Login Server IP
    // The character server connects to the login server using this IP address.
    // NOTE: This is useful when you are running behind a firewall or are on
    // a machine with multiple interfaces.
    login_ip: 192.168.11.12
     
    // The character server listens on the interface with this IP address.
    // NOTE: This allows you to run multiple servers on multiple interfaces
    // while using the same ports for each server.
    //bind_ip: 127.0.0.1
     
    // Login Server Port
    login_port: 6900
     
    // Character Server IP
    // The IP address which clients will use to connect.
    // Set this to what your server's public IP address is.
    char_ip: 121.xx.xxx.xx
    
     
    subnet
    subnet: 255.255.255.0:192.168.11.12:192.168.11.12
    subnet: 255.255.255.0:121.xx.xxx.xx:121.xx.xxx.xx
    
     
    clientinfo.xml
        <address>121.xx.xxx.xx</address>
        <port>6900</port>
        <version>30</version>
        <langtype>0</langtype>
    

     

    EDIT: Everything is correct. I forgot about DMZ -_-'

×
×
  • Create New...