Jump to content

PewN

Members
  • Posts

    892
  • Joined

  • Last visited

Posts posted by PewN

  1. Hindi yan yung ibig kong sabihin. what i mean is yung files ng 3rd Jobs like skills, sprites and other stuffs. yung renewal english data is just txts, bmps and palettes.

    data_v3 ay renewal data

    nanjan ang job sprite ng 3rd jobs and skill effect

    ung data.grf ko ay old valk server 2008 

    pero yan ang gmit ko at hnd ako nag eeror. 

    tignan mo muna bago mo sabihin na txt lng yan

    kng gus2 mo ng ss ayan oh may kagerou pa

    2iazkte.jpg

     

  2. SD refers to the map session data.

    When you use sd-> you are referring to an element inside of the sd struct.

     

    Example

     

    if( sd->skillvarcast.id == skill_id )

     

    skillvarcast.id is part of sd.

    ok oh what is fd? and how to use it

  3.  

    <?php if (!defined('FLUX_ROOT')) exit; require_once(FLUX_ROOT.'/'.FLUX_ADDON_DIR.'/support/modules/support/function.php');
    

     

    I got error on this part? my flux doesn't show if I input this do header

    can you set the $showExceptions to true in config/error.php and let me know the errors. thanks

     

    >Perhaps add an in-game feature that checks if you have any pending tickets every x-seconds/minutes as well? That'd be a nice feature, methinks.

    yeah, i think i can add that up. thanks for suggesting.

     

     

    i love you man <3

  4. File Name: Support Ticket for FluxCP - FREE

    File Submitter: Feefty

    File Submitted: 23 Mar 2013

    File Category: Web Resources

    Content Author: Feefty

    FluxCP Addon [support Ticket]

    Features:

    • Title Notification (ex. Flux Control Panel (1) - means you have 1 unread support ticket.)
    • Sidebar Notification (ex. View Tickets [3] - means you have 3 unread support ticket)
    • You can easily subscribe/unsubscribe to a ticket even a staff member can unsubscribe to a support ticket.
    • Subscribing (0 to disable the subscribing or 1 to enable. This will affect everyone.)
    • Ticket Delay (0 to disable this feature. They have to wait for 'TicketDelay' hours to open a new ticket.)
    • Priority (Low, Medium or High. To help organize the priority - Can be edited by the staff if it's misleading)
    • Status (Closed, Open, Resolved, Replied)
    • Department (You can add, edit or delete a Department. Group is for the level of the department that can be handled by the staff members.)
    • Reply (Staff Reply will be highlighted and will have an icon to avoid the confusion.)
    • WYSIWYG
    • Settings (For staff only)
      • Nickname (Use ~ character if you want to use your username. By default it will use your username when replying to a ticket.)
      • Email (This email will only be used for support ticketing. Use ~ character if you want to use your account email. By default it will use your account email when receiving emails.)
      • Subcription (Receive email notifications when someone opened or updated a support ticket.)
      • 'Last updated on' will show right next to Save Button.
    • Character affected (Select the character where the problem occurred. Disabled if the account doesn't a character yet.)
    • Search Engine (If your account is a staff member you can search using their account id, email, char id)
    • Ticket Editing (Only the staff can edit a support ticket.)
    • Ticket Listing (List of all support tickets. For staff only.)
    • Unread ticket will be highlighted in the list.
    • Normal Player can open/close their own ticket and only a staff member can resolve/delete a ticket.
    • Player/Staff can use @checkunread/@cu in-game to check if they have an unread support ticket.
    • PM me if i miss something.
    Compability:Rules:
    • Do not steal the credit of this work.
    How to Install:
    • Make a folder named support in addons folder.
    • Extract the files to support folder.
    • Copy the file inside the addons/support/support_templates and paste it to data/templates folder.
    • Add the line below
      • themes/default/header.php -
      Before:

      <?php if (!defined('FLUX_ROOT')) exit;
      After:

      <?php if (!defined('FLUX_ROOT')) exit; require_once(FLUX_ROOT.'/'.FLUX_ADDON_DIR.'/support/modules/support/function.php');
      • themes/default/main/sidebar.php -
      Before: (You will get 2 results. You will have to do it twice too.)

      <span><?php echo htmlspecialchars($menuItem['name']) ?></span>
      After:

      <?php if ($menuItem['module'] == 'support'): ?> <span><?php echo sprintf($menuItem['name'], " [<strong".($unread > 0 ? " style='color:#d84646'" : "").">".$unread."</strong>") ?>]</span> <?php else: ?> <span><?php echo htmlspecialchars($menuItem['name']) ?></span> <?php endif ?>
    • Update your database and make sure cp_support_tickets, cp_support_reply, cp_support_dep and cp_support_settings does exists
    • Add a Department first so players can open a ticket.
    • Copy addons/support/npc/ticket_notification.txt to your server npc/custom folder or whataver folder you want.
    • Paste this line npc: npc/custom/ticket_notification.txt inside your npc/scripts_custom.conf
    • You can find all the configuration in addons/support/config/addon.php
    • Done.
    If you find a bug, please contact me.

    Github Download: https://github.com/Feefty/FluxCP_Addons-SupportTicket/archive/master.zip

    Github: http://github.com/Feefty

    Email: [email protected]

    rAthena: Feefty

    Feel free to buy me a coffee

    Paypal: [email protected]

    Click here to download this file

    wow very nice :) thanks for this man

  5. try this

    on atcommand.c
     

    ACMD_FUNC(refresh)
    {
        nullpo_retr(-1, sd);
    
    if ( map[m].flag.pvp  ) {
            clif_displaymessage(fd, "Refresh in pvp is not allowed");
            return -1;
    }
    
        clif_refresh(sd);
        return 0;
    }
    
  6. try this goto src/map/pc.c

    find this

    /*==========================================
     * Check if player can drop an item
     *------------------------------------------*/
    int pc_candrop(struct map_session_data *sd, struct item *item)
    {
    .....

     

    then 
    replace with this source
     

    /*==========================================
     * Check if player can drop an item
     *------------------------------------------*/
    int pc_candrop(struct map_session_data *sd, struct item *item)
    {
        if( item && item->expire_time )
            return 0;
        if( !pc_can_give_items(sd) ) //check if this GM level can drop items
            return 0;
        if ( pc_get_group_level(sd) == 50 ) // your group you want to disable
            clif_displaymessage (sd->fd, msg_txt(426));
            return 0;
        return (itemdb_isdropable(item, pc_get_group_level(sd)));
    }
    
  7. the petskillattack it give the current pet with the bonus to catch some specific skills.

    it's doesnt add a skills to the pet..

    and it's usually writtin in the pet_db.txt..and not manually give it in game...because it shouldnt be like this.

    the pet system in RO doesnt work like the pet system in Pokemon....it's totally different.

    thanks i make it work now!.

    i saw it on petskillattack 

  8. Please help in may array:

     

    prontera mapflag loadevent
    morocc mapflag loadevent
    geffen mapflag loadevent
    payon mapflag loadevent
    alberta mapflag loadevent
    izlude mapflag loadevent
    aldebaran mapflag loadevent
    xmas mapflag loadevent
    comodo mapflag loadevent
    yuno mapflag loadevent
    amatsu mapflag loadevent
    gonryun mapflag loadevent
    umbala mapflag loadevent
    niflheim mapflag loadevent
    louyang mapflag loadevent
    new_1-1 mapflag loadevent
    sec_pri mapflag loadevent
    jawaii mapflag loadevent
    ayothaya mapflag loadevent
    einbroch mapflag loadevent
    lighthalzen mapflag loadevent
    einbech mapflag loadevent
    hugel mapflag loadevent
    rachel mapflag loadevent
    veins mapflag loadevent
    moscovia mapflag loadevent
    mid_camp mapflag loadevent
    manuk mapflag loadevent
    splendide mapflag loadevent
    brasilis mapflag loadevent
    dicastes01 mapflag loadevent
    mora mapflag loadevent
    dewata mapflag loadevent
    malangdo mapflag loadevent
    malaya mapflag loadevent
    eclage mapflag loadevent
    
    - script ach_0021_to_0056 -1,{
    OnInit:
    setarray $scriptcount$[0],"21","22","23","24","25","26","27","28","29","30","31","32","33","34","35","36","37","38","39","40","41","42","43","44","45","46","47","48","49","50","51","52","53","54","55","56";
    setarray $@maptown$[0],"prontera","morocc","geffen","payon","alberta","izlude","aldebaran","xmas","comodo","yuno","amatsu","gonryun","umbala","niflheim","louyang","new_1-1","sec_pri","jawaii","ayothaya","einbroch","lighthalzen","einbech","hugel","rachel","veins","moscovia","mid_camp","manuk","splendide","brasilis","dicastes01","mora","dewata","malangdo","malaya","eclage";
    end;
    OnPCLoadMapEvent:
    for(set @d,0; @d < getarraysize($@maptown$); set @d,@d+1);
    set donecheck,"a_done_" + $scriptcount$[@d];
    set delcheck,"$a_del_" + $scriptcount$[@d] + "$";
    if(donecheck == 1 || delcheck == "y") end; if(strcharinfo(3) == $@maptown$[@d]) callfunc "achieve",$scriptcount$[@d];
    end;
    }

    it is giving out error on mapserver:

    script:op_2: invalid data for operator C_EQ
    [Debug]: Data: number value=0
    [Debug]: Data: string value="y"
    [Debug]: Source (NPC): ach_0021_to_0056 (invisible/not on a map

    I think I have a problem with my donecheck and delcheck string concatenation. I'm new in this.

    donecheck$

    delcheck$

×
×
  • Create New...