Jump to content

Steinhart

Members
  • Posts

    11
  • Joined

  • Last visited

Posts posted by Steinhart

  1. 14 hours ago, melv0 said:

    like was functor said is script command not costume command GM, i think u missunderstand ?

    I thought it was the command i was looking for, so how do i add that custom commad @flooritem tia!

  2. On 9/9/2018 at 4:46 AM, Functor said:

    BUILDIN_FUNC(flooritem) { short mx, my; struct item item_tmp; int nameid, amount, i; struct map_session_data *sd; struct item_data *item_data; if (script_rid2sd(sd) == NULL) return SCRIPT_CMD_SUCCESS; nameid = script_getnum(st, 2); if ((item_data = itemdb_search(nameid)) == NULL) return SCRIPT_CMD_SUCCESS; amount = script_getnum(st, 3); if (amount <= 0) return SCRIPT_CMD_SUCCESS; memset(&item_tmp, 0, sizeof(item_tmp)); item_tmp.nameid = nameid; item_tmp.identify = 1; for (i = 0; i < amount; i++) { map_search_freecell(&sd->bl, 0, &mx, &my, -1, -1, 0); map_addflooritem(&item_tmp, 1, sd->bl.m, mx, my, 0, 0, 0, 0, 0); } return SCRIPT_CMD_SUCCESS;

    after i put this on script.cpp, how do i enable the @command in game?

    help please newbie here  @Functor

  3. On 6/22/2018 at 9:15 AM, xSoul said:

    BUILDIN_FUNC(flooritem)
    {
        struct map_session_data *sd = script_rid2sd(st);
        struct item_data *item_data;
        int nameid, amount;

        if( sd == NULL ) return 0;

        nameid = script_getnum(st,2);
        if( (item_data = itemdb_search(nameid)) == NULL )
            return 0;

        amount = script_getnum(st,3);
        if( amount <= 0 )
            return 0;

        map_addflooritem_area(&sd->bl, 0, 0, 0, nameid, amount);
        return 0;
    }

    where should i put this? i am using 2018 

  4. 12 minutes ago, hendra814 said:

    I think your problem at conf\inter_athena.conf

    
    // MySQL Login server
    login_server_ip: 127.0.0.1
    login_server_port: 3306
    login_server_id: ragnarok
    login_server_pw: ragnarok
    login_server_db: ragnarok
    login_codepage:
    login_case_sensitive: no
    
    ipban_db_ip: 127.0.0.1
    ipban_db_port: 3306
    ipban_db_id: ragnarok
    ipban_db_pw: ragnarok
    ipban_db_db: ragnarok
    ipban_codepage:
    
    // MySQL Character server
    char_server_ip: 127.0.0.1
    char_server_port: 3306
    char_server_id: ragnarok
    char_server_pw: ragnarok
    char_server_db: ragnarok
    
    // MySQL Map Server
    map_server_ip: 127.0.0.1
    map_server_port: 3306
    map_server_id: ragnarok
    map_server_pw: ragnarok
    map_server_db: ragnarok
    
    // MySQL Log Database
    log_db_ip: 127.0.0.1
    log_db_port: 3306
    log_db_id: ragnarok
    log_db_pw: ragnarok
    log_db_db: ragnarok
    log_codepage:
    log_login_db: loginlog

     

    Are you already set Your sql ID and password in this part?

    im already done with that thank you!

     

    my problem now is the second part of the video, i followed the guide but my client doesnt open at all.

  5. On 7/12/2017 at 2:20 PM, Earnestinence said:

    change the username and password of the server: See video time-line: 07:03

    • Now next/around rathena database right click on a blank area and click refresh all ( in order to view the tables we've just created or just relog )
    • Click on rathena database/schema > tables > locate login table..
    • now click on tables and locate login table then right click and click on select Rows - Limit 1000
    • Double click on s1 and change it to username then hit enter  ( we put the userid: username in rathena/conf/import-tmpl/char_conf.txt and map_conf.txt  make sure you use the same one you put in these files  ) 
    • Double click on p1 and change it to password then hit enter  ( we put the passwd: password in rathena/conf/import-tmpl/char_conf.txt and map_conf.txt  make sure you use the same one you put in these files ) 
    • Click apply, apply and then finish

    i followed everything but this is the outcomeimage.thumb.png.349e168bb85d075396296b943226b2c6.png

    kindly help me tia 

×
×
  • Create New...