Jump to content

Ardrich

Members
  • Posts

    26
  • Joined

  • Last visited

Posts posted by Ardrich

  1. Can anybody help me with this?

    -	shop	Armor::shop	-1,2306:100000,2315:1000000,2310:50000,2302:5000,2320:1000000,2317:1000000,2319:1000000,2354:1000000,2373:1000000,2304:10000,2342:1000000,2318:1000000,2372:1000000,2308:1000000,2311:1000000,2359:1000000,2353:1000000,2313:1000000,2371:10000,2360:1000000,2326:1000000,2324:1000000,2322:500000,2333:500000,2336:1000000,2331:1000000,2338:1000000,2329:50000
    turbo_room,75,140,4	script	Armor	752,{
    	callshop "Armor::shop",0; end;
    OnInit:
    	waitingroom "Sale!",0; end;
    }
    

    Everytime i click the npc its show error in my server.

     

    Here's the error

     

    [Error]: buildin_callshop: Shop [Armor::shop] not found (or NPC is not shop type)

  2. 
    

    malaya,280,269,5    script    George    832,{

    mes "Welcome to Lmao Ragnarok Online!";

    mes "What Service May I Offer You ?";

    next;

    menu "Tour Guide", L14, "Get Freebies", L16;

    next;

    L16:

    if(#New_Player == 1 || Class!=Job_Novice ) goto L_Done;

    if(Class==Job_Novice && #New_Player==0) {

    mes "Good Luck on your Adventure !";

    mes "Which path do you wish to take?";

    switch(select("Swordsman:Archer:Mage:Acolyte:Merchant:Thief")) {

    case 1://Swordsman

    jobchange 1;

    getitem 1545,1;

    getitem 2102,1;

    rentitem 2528,259200;

    rentitem 2424,259200;

    getitem 2604,2;

    getitem 2310,1;

    rentitem 5826,259200;

    getitem 14533,10;

    getitem 501,100;

    getitem 505,100;

    break;

    case 2://Archer

    jobchange 3;

    getitem 1742,1;

    getitem 2102,1;

    rentitem 2528,259200;

    rentitem 2424,259200;

    getitem 2604,2;

    getitem 2310,1;

    rentitem 5826,259200;

    getitem 14533,10;

    getitem 501,100;

    getitem 505,100;

    break;

    case 3://Mage

    jobchange 2;

    getitem 13041,1;

    getitem 2102,1;

    rentitem 2528,259200;

    rentitem 2424,259200;

    getitem 2604,2;

    getitem 2310,1;

    rentitem 5826,259200;

    getitem 14533,10;

    getitem 501,100;

    getitem 505,100;

    break;

    case 4://Acolyte

    jobchange 4;

    getitem 1545,1;

    getitem 2102,1;

    rentitem 2528,259200;

    rentitem 2424,259200;

    getitem 2604,2;

    getitem 2310,1;

    rentitem 5826,259200;

    getitem 14533,10;

    getitem 501,100;

    getitem 505,100;

    break;

    case 5://Merchant

    jobchange 5;

    getitem 1545,1;

    getitem 2102,1;

    rentitem 2528,259200;

    rentitem 2424,259200;

    getitem 2604,2;

    getitem 2310,1;

    rentitem 5826,259200;

    getitem 14533,10;

    getitem 501,100;

    getitem 505,100;

    break;

    case 6://Thief

    jobchange 6;

    getitem 13041,1;

    getitem 2102,1;

    rentitem 2528,259200;

    rentitem 2424,259200;

    getitem 2604,2;

    getitem 2310,1;

    rentitem 5826,259200;

    getitem 14533,10;

    getitem 501,100;

    getitem 505,100;

    break;

    }

    set #New_Player,1;

    savepoint "malaya",281,325;

    mes "Start your awesome journey today.";

    mes "If you need help. Please use @request / search for Game Staffs. Thank You.";

    close;

    }

    end;

    L_Done:

    mes "You Have Received the Freebies already.";

    close;

    LEnd:

    close;

    L14:

    mes "[ Tour Guide ]";

    mes "Hello would you like a Tour of Lmao Ragnarok Online ?";

    mes " ";

    if (select("Yes, Start the Tour!:No Thanks.")==1) {

    warp "malaya",281,325;

    mes "Alright here we go!!";

    sleep2 2000;

    mes "[ Tour Guide ]";

    mes "Lmao Ragnarok Online aim to deliver a Balanced Server";

    mes "Server Rates :";

    mes "Base and Job Experience : 50x";

    mes "99/70, Transcendent Classes Only";

    mes "Normal Item Drop Rates: 50%";

    mes "Normal Card Drop Rates: 5%";

    mes "Boss Item and Cards Drop Rates: 0%";

    mes "We have no bosses here!";

    cutin "kafra_09",2;

    sleep2 20000; // 5 seconds

    warp "malaya",284,332;

    mes "[ Tour Guide ]";

    mes "These are the Utility NPC's you can Change Job Here.";

    cutin "kafra_09",2;

    sleep2 10000;

    warp "malaya",271,327;

    mes "[ Tour Guide ]";

    mes "These are the Utility NPC's you can use the Kafra Services Here.";

    cutin "kafra_09",2;

    sleep2 10000;

    warp "malaya",290,327;

    mes "[ Tour Guide ]";

    mes "These are the Utility NPC's you can use the Warper Here.";

    cutin "kafra_09",2;

    sleep2 10000;

    warp "malaya",269,342;

    mes "[ Tour Guide ]";

    mes "These are the Utility NPC's you can use the Reset Stat and Skill here";

    cutin "kafra_09",2;

    sleep2 10000;

    warp "malaya",268,365;

    mes "[ Tour Guide ]";

    mes "This is Donate Shop you donate to gain some good items and to keep the server alive.";

    cutin "kafra_09",2;

    sleep2 10000;

    warp "malaya",114,213;

    mes "[ Tour Guide ]";

    mes "This is Support Map, You Can Buy Things Here.";

    cutin "kafra_09",2;

    sleep2 10000;

    warp "malaya",227,255;

    mes "[ Tour Guide ]";

    mes "This is Quest Shop, you quest items to get strong in the server.";

    cutin "kafra_09",2;

    sleep2 10000;

    warp "malaya",262,331;

    mes "[ Tour Guide ]";

    mes "These are the Utility NPC's you can use the Great Stylist here.";

    cutin "kafra_09",2;

    sleep2 10000;

    // etc.

    warp "prontera",155,191;

    sleep2 1000;

    mes "[ Tour Guide ]";

    mes "That's all Thank You Hope You Enjoy the Tour Good Luck Have Fun !";

    cutin "kafra_09",2;

    sleep2 5000;

    }

    cutin "kafra_09",255;

    close;

    OnInit:

    waitingroom "Welcome to Lmao Ragnarok Online",0;

    end;

    }

  3.  

    Hello, i've my map server is crashing randomly. So, i've tryed to use your commands, but when i put " gdb map-server map-server_sql.core " it shows this in server:

     

    GNU gdb (GDB) 7.4.1-debian
    Copyright © 2012 Free Software Foundation, Inc.
    License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
    This is free software: you are free to change and redistribute it.
    There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
    and "show warranty" for details.
    This GDB was configured as "x86_64-linux-gnu".
    For bug reporting instructions, please see:
    Reading symbols from /root/Rathena/map-server...(no debugging symbols found)...done.
    /root/Rathena/map-server_sql.core: Arquivo ou diretório não encontrado.
    (gdb) ^CQuit
    (gdb) bt full
    No stack.
    (gdb)

     

     

    UP for this issue.

  4. Can someone help me with this

     

    script_rid2sd: fatal error ! player not attached

     

     

    prontera,136,171,4 script Freebies 790,{

    OnInit:
    waitingroom "Freebies",0;
     
    if(#sorry == 1) goto L_1;
    mes "You will receive Some Present as a reward for joining the server";
    mes "We're gladly thankful for your support in the future too.";
    next;
    if(checkweight(2504,1) == 0 ) goto L_OverWeight;
    rentitem 4142,432000; //dopelganger card
    emotion e_thx;
    close;
     
     
     
    L_OverWeight:
    mes "Sorry, you are over weight";
    emotion e_omg;
    close;
     
     
     
    L_1:
    mes "You had already received before the gift.";
    emotion e_swt;
    close;
    }

     

  5.  

    Your client is not the same as you put at your mmo.h

     

    check your trunk/src/common/mmo.h

     

    and look for this...

     

    #ifndef PACKETVER

        #define PACKETVER 20120410 <=== this one is the date

        //#define PACKETVER 20130320

        //#define PACKETVER 20111116

    No, sir i think its correct :(

    >>There was also a bug in the the past. Try to update your ra

    thena.

    I'd updae my svn last 15 days, isn't it?

    Than that isn't the bug i mean. The bug was around 3 week befor  at the rev. 

     

    What exe / lua files / rev are you using'?

     

    Client: 20120410Ragexe

    Lub Flies

    Rev.: rAhena r17365

    ifndef PACKETVER

             #define PACKETVER 20120410

             //#define PACKETVER 20130320

             //#define PACKETVER 20111116

    endif

  6. Your client is not the same as you put at your mmo.h

     

    check your trunk/src/common/mmo.h

     

    and look for this...

     

    #ifndef PACKETVER

        #define PACKETVER 20120410 <=== this one is the date

        //#define PACKETVER 20130320

        //#define PACKETVER 20111116

    No, sir i think its correct :(

    There was also a bug in the the past. Try to update your rathena.

    I'd updae my svn last 15 days, isn't it?

  7. i have an error -> atcommand.c:8464:38: error: macro "msg_txt" requires 2 arguments, but only 1 given
     
     

     

    with this source
     
    //*------------------------------------------*/
    //ACMD_FUNC(itemmap)
    {
        char item_name[100], party_name[NAME_LENGTH], guild_name[NAME_LENGTH];
        int amount, get_type = 0, flag = 0, get_count, i, map;
        struct item it;
        struct item_data *item_data;
        struct party_data *p;
        struct guild *g;
        struct s_mapiterator *iter = NULL;
        struct map_session_data *pl_sd = NULL;
     
        nullpo_retr(-1, sd);
        
        memset(item_name, '\0', sizeof(item_name));
        memset(party_name, '\0', sizeof(party_name));
        memset(guild_name, '\0', sizeof(guild_name));
     
        if (strstr(command, "1") != NULL)
            get_type = 1;
        else if (strstr(command, "2") != NULL)
            get_type = 2;
     
        if (!message || !*message || 
            get_type == 0 && sscanf(message, "\"%99[^\"]\" %d", item_name, &amount) < 1 
                          && sscanf(message, "%99s %d", item_name, &amount) < 1 )
        {
            clif_displaymessage(fd, "Please, enter an item name/id (usage: @itemmap <item name or ID> {amount}).");
            return -1;
        }
        if ( get_type == 1 && sscanf(message, "\"%99[^\"]\" %d, %23[^\n]", item_name, &amount, party_name) < 2 
                           && sscanf(message, "%99s %d, %23[^\n]", item_name, &amount, party_name) < 2 )
        {
            clif_displaymessage(fd, "Please, enter an item name/id (usage: @itemmap1 <item id/name> <amount>, <party name>).");
            return -1;
        }
        if ( get_type == 2 && sscanf(message, "\"%99[^\"]\" %d, %23[^\n]", item_name, &amount, guild_name) < 2 
                           && sscanf(message, "%99s %d, %23[^\n]", item_name, &amount, guild_name) < 2 )
        {
            clif_displaymessage(fd, "Please, enter an item name/id (usage: @itemmap2 <item id/name> <amount>, <guild name>).");
            return -1;
        }
     
        if ((item_data = itemdb_searchname(item_name)) == NULL &&
            (item_data = itemdb_exists(atoi(item_name))) == NULL)
        {
            clif_displaymessage((fd, msg_txt(19)); // Invalid item ID or name.
            return -1;
        }
     
        if (amount <= 0)
            amount = 1;    
     
        map = sd->bl.m;
        
        memset(&it,0,sizeof(it));
        it.nameid = item_data->nameid;
        if(!flag)
            it.identify = 1;
        else
            it.identify = itemdb_isidentified(item_data->nameid);
     
        if (!itemdb_isstackable(item_data->nameid))
            get_count = 1;
        else
            get_count = amount;
     
        switch(get_type)
        {
            case 1:
                if( (p = party_searchname(party_name)) == NULL )
                {
                    clif_displaymessage((fd, msg_txt(96)); // Incorrect name or ID, or no one from the party is online.
                    return -1;
                }
                for( i=0; i < MAX_PARTY; i++ )
                    if( p->data.sd && map == p->data.sd->bl.m )
                        pc_getitem_map(p->data.sd,it,amount,get_count,LOG_TYPE_COMMAND);
                break;
            case 2:
                if( (g = guild_searchname(guild_name)) == NULL )
                {
                    clif_displaymessage((fd, msg_txt(94)); // Incorrect name/ID, or no one from the guild is online.
                    return -1;
                }
                for( i=0; i < g->max_member; i++ )
                    if( g->member.sd && map == g->member.sd->bl.m )
                        pc_getitem_map(g->member.sd,it,amount,get_count,LOG_TYPE_COMMAND);
                break;
            default:
                iter = mapit_getallusers();
                for (pl_sd = (TBL_PC*)mapit_first(iter); mapit_exists(iter); pl_sd = (TBL_PC*)mapit_next(iter)) {
                    if( map != pl_sd->bl.m )
                        continue;
                    pc_getitem_map(pl_sd,it,amount,get_count,LOG_TYPE_COMMAND);
                }
                mapit_free(iter);
                break;
        }
     
        clif_displaymessage((fd, msg_txt(18)); // Item created.
        return 0;
    }
×
×
  • Create New...