Jump to content

Emistry

Forum Moderator
  • Posts

    10018
  • Joined

  • Days Won

    408

Everything posted by Emistry

  1. if you want to make the effect stay even after death.. you have to do src modification https://rathena.svn.sourceforge.net/svnroot/rathena/trunk/src/map/status.c add inside here.. int status_change_clear(struct block_list* bl, int type) { struct status_change* sc; int i; sc = status_get_sc(bl); if (!sc || !sc->count) return 0; for(i = 0; i < SC_MAX; i++) { if(!sc->data[i]) continue; if(type == 0) switch (i) { //Type 0: PC killed -> Place here statuses that do not dispel on death. case SC_ELEMENTALCHANGE://Only when its Holy or Dark that it doesn't dispell on death if( sc->data[i]->val2 != ELE_HOLY && sc->data[i]->val2 != ELE_DARK ) break; case SC_WEIGHT50: case SC_WEIGHT90: case SC_EDP: case SC_MELTDOWN: case SC_XMAS: case SC_SUMMER: case SC_NOCHAT: case SC_FUSION: case SC_EARTHSCROLL: case SC_READYSTORM: case SC_READYDOWN: case SC_READYCOUNTER: case SC_READYTURN: case SC_DODGE: case SC_JAILED: case SC_EXPBOOST: case SC_ITEMBOOST: case SC_HELLPOWER: case SC_JEXPBOOST: case SC_AUTOTRADE: case SC_WHISTLE: case SC_ASSNCROS: case SC_POEMBRAGI: case SC_APPLEIDUN: case SC_HUMMING: case SC_DONTFORGETME: case SC_FORTUNE: case SC_SERVICE4U: case SC_FOOD_STR_CASH: case SC_FOOD_AGI_CASH: case SC_FOOD_VIT_CASH: case SC_FOOD_DEX_CASH: case SC_FOOD_INT_CASH: case SC_FOOD_LUK_CASH: case SC_DEF_RATE: case SC_MDEF_RATE: case SC_INCHEALRATE: case SC_INCFLEE2: case SC_INCHIT: case SC_ATKPOTION: case SC_MATKPOTION: case SC_S_LIFEPOTION: case SC_L_LIFEPOTION: case SC_PUSH_CART: continue; } status_change_end(bl, (sc_type)i, INVALID_TIMER); if( type == 1 && sc->data[i] ) { //If for some reason status_change_end decides to still keep the status when quitting. [skotlex] (sc->count)--; if (sc->data[i]->timer != INVALID_TIMER) delete_timer(sc->data[i]->timer, status_change_timer); ers_free(sc_data_ers, sc->data[i]); sc->data[i] = NULL; } } sc->opt1 = 0; sc->opt2 = 0; sc->opt3 = 0; sc->option &= OPTION_MASK; if( type == 0 || type == 2 ) clif_changeoption(bl); return 1; }
  2. Emistry

    Autokick

    prontera,155,181,5 script Sample 757,{ if( getgmlevel() < 90 ) end; message strcharinfo(0),( ( !.Kick )?"":"DE-" )+"ACTIVATED"; set .Kick,(( .Kick )?0:1 ); awake strnpcinfo(0); while( .Kick ){ if( getusers(1) > 1 ){ atcommand "@kickall"; npctalk "Kicked "+( getusers(1) - 1 )+" Users"; } sleep2 3000; } end; }
  3. https://github.com/calciumkid/fluxcp-renewal/blob/master/config/access.php
  4. isnt i already give you the example and answer in post#2 ??? OnClock<hour><minute>: OnMinute<minute>: OnHour<hour>: On<weekday><hour><minute>: OnDay<month><day>: This will execute when the server clock hits the specified date or time. Hours and minutes are given in military time. ('0105' will mean 01:05 AM). Weekdays are Sun,Mon,Tue,Wed,Thu,Fri,Sat. Months are 01 to 12, days are 01 to 31. Remember the zero.
  5. isnt that already inside your script ? just edit the time
  6. OnClock0000: OnClock0400: OnClock0800: OnClock1200: OnClock1600: OnClock2000:
  7. prontera,155,181,5 script Sample 757,{ end; OnInit: waitingroom "Store Row 1",0; end; }
  8. prontera,155,181,5 script Sample 757,{ mes "You Locked Password : "+#lockpw$; close; }
  9. waitingroom "Store Row 1",0;
  10. yes...should be fixed and spend some time read changelog next time.. and a little help from you guys ya.. if possible, post at my main topic here can ? 【 Emistry © 2012 】E-Scripts Collection so that i can easily view / provide support. ( i feel like it is easier to group it into a topic )
  11. Weeeeeee.......after a long time...finally i decide to upload all my files into rAthena Download section, so that i can manage it better and player can get a brief information on each script better and easier to find it and download it. And i just wonder that.. .MY TOPIC VOTE COUNT EXCEED 100 !!! Let's CELEBRATE !! ( More Vote Count , More Scripts to be Release ) Updated Script : Check inside each Files for updated contents. https://rathena.org/board/index.php?/files/file/2501-%7B?%7D/ https://rathena.org/board/index.php?/files/file/2495-%7B?%7D/ https://rathena.org/board/index.php?/files/file/2493-%7B?%7D/ Added New Scripts : Check inside each Files for updated contents. Not really a new script, just no one try to release it officially xD anyway, since it's made by myself so i will release it here. https://rathena.org/board/index.php?/files/file/2497-%7B?%7D/ there are still several script i havent upload on here. But will upload it in the future. Extra Informations : If you ♥ these Scripts , Click on to Vote this Topic up . Or you may also click on at above the Topic
  12. Version 3.4

    3573 downloads

    This Script will provide players extra EXP , Item or Zeny to Players if they killed designed monsters for the day. Player will get extra EXP randomly everyday for each race of monster. Player might have chances to get some items from the ROTD when they killed the monsters.
    Free
  13. File Name: Race Of The Day File Submitter: Emistry File Submitted: 29 Jul 2012 File Category: Utilities Content Author: Emistry This Script will provide players extra EXP , Item or Zeny to Players if they killed designed monsters for the day. Player will get extra EXP randomly everyday for each race of monster. Player might have chances to get some items from the ROTD when they killed the monsters. Click here to download this file
  14. Version 5.0

    1849 downloads

    This script will limit the inventory of player if the player bring exceeded limitation items into the map. For Example : Configuration : // func_Add( <gm_level_to_bypass>, <map_name>, <item1>,<max_amount1>,....,<itemX>,<max_amountX> ); func_Add( 100,"prontera", 501,1,502,2,503,3,504,5 ); func_Add( 100,"payon", 501,1,502,2,503,3,504,5 ); func_Add( 100,"izlude", 501,1,502,2,503,3,504,5 ); func_Add( 100,"prt_fild08", 4001,1,4002,3,4003,0,504,5 ); Positive = Player can only bring Maximum of that amount of items. 0 = Totally Disabled, player cant bring any of it.
    Free
  15. View File Limited Items This script will limit the inventory of player if the player bring exceeded limitation items into the map. For Example : Configuration : // func_Add( <gm_level_to_bypass>, <map_name>, <item1>,<max_amount1>,....,<itemX>,<max_amountX> ); func_Add( 100,"prontera", 501,1,502,2,503,3,504,5 ); func_Add( 100,"payon", 501,1,502,2,503,3,504,5 ); func_Add( 100,"izlude", 501,1,502,2,503,3,504,5 ); func_Add( 100,"prt_fild08", 4001,1,4002,3,4003,0,504,5 ); Positive = Player can only bring Maximum of that amount of items. 0 = Totally Disabled, player cant bring any of it. Submitter Emistry Submitted 07/29/12 Category Utilities Content Author  
  16. Version 6.0

    5003 downloads

    This is a Shop that Allow Players to buy Items using Different type of Currency. The Currency used can be Items , Zeny , Cash , CustomVariable. Topic Detail : http://rathena.org/board/topic/53320-%E3%80%90-emistry-%C2%A9-2012-%E3%80%91e-scripts-collection/page__st__120#entry92489
    Free
  17. File Name: Multi Currency Shop File Submitter: Emistry File Submitted: 29 Jul 2012 File Category: Utilities Content Author: Emistry This is a Shop that Allow Players to buy Items using Different type of Currency. The Currency used can be Items , Zeny , Cash , CustomVariable. https://rathena.org/board/index.php?/files/file/2504-%7B?%7D/ Topic Detail : http://rathena.org/b..._120#entry92489 Click here to download this file
  18. Version 2.1

    2269 downloads

    This Script will auto Announce / Broadcast a Messages randomly every interval of times. Configuration : Delay to announce: OnTimer60000: // announce every 60 seconds. Announcement List: OnInit: // Random Message to be Announced setarray .news_list$, "Updated News 1 every X Minute", "Updated News 2 every X Minute", "Updated News 3 every X Minute", "Updated News 4 every X Minute", "Updated News 5 every X Minute", "Updated News 6 every X Minute", "Updated News 7 every X Minute";
    Free
  19. View File Random News This Script will auto Announce / Broadcast a Messages randomly every interval of times. Configuration : Delay to announce: OnTimer60000: // announce every 60 seconds. Announcement List: OnInit: // Random Message to be Announced setarray .news_list$, "Updated News 1 every X Minute", "Updated News 2 every X Minute", "Updated News 3 every X Minute", "Updated News 4 every X Minute", "Updated News 5 every X Minute", "Updated News 6 every X Minute", "Updated News 7 every X Minute"; Submitter Emistry Submitted 07/29/2012 Category Utilities Video Content Author Emistry  
  20. Version 2.1

    2134 downloads

    This Script will display to players a list of GM in this server. Configuration : OnInit: .min_group_id = 1; .afk_second = 300; end;
    Free
×
×
  • Create New...