Jump to content

Emistry

Forum Moderator
  • Posts

    10015
  • Joined

  • Days Won

    396

Community Answers

  1. Emistry's post in help Server Rates always changes was marked as the answer   
    disable floating rate npc script ..
  2. Emistry's post in item_db script unlimited charges was marked as the answer   
    change item type to 11
  3. Emistry's post in HElp About Disguise Event was marked as the answer   
  4. Emistry's post in Npc that calculates all Zeny in server for Admin was marked as the answer   
    not sure if this really work ...
     
    query_sql( "SELECT SUM(`zeny`) FROM `char`",.@zeny$ ); mes "Total Zeny : "+.@zeny$; if run by query...you can retrieve all zeny...and by using char variable to save the data....perhap you can achieve what you want...
     
     
    if you want to change the zeny limit in server...believe that are alot part you need to change...datatype...sql datatype...and etc...
     
     
     
    edit :
    if you are using flux cp ... or ceres cp....i think both have the function ...just view the "server info" page of your website....
  5. Emistry's post in I do not want char number online.... was marked as the answer   
    edit the msgstringtable.txt
  6. Emistry's post in [Mysterious] RFYL was marked as the answer   
    announce "Manager: No Player win the Event, due to all participant die.",0

  7. Emistry's post in Question about Arrays, and for() command. was marked as the answer   
    like this ?
    http://pastebin.com/raw.php?i=NzViisPf
     

  8. Emistry's post in Help: Search entire server for refine and change its refine. was marked as the answer   
    UPDATE `inventory` SET `refine` = 7 WHERE `refine` > 7;   
    do the same to other table ....
     
    and do this after you shutdown the server..
  9. Emistry's post in missing curlys was marked as the answer   
    Both Capuche and Euphy has give you the solution to your error..
    - script Welcome#newbie -1,{ OnPCLoginEvent: if( #newaccount==0 ){ mes " welcome to \"Onslaught Ragnarok Online\"."; set #newaccount,1; close2; announce "Server :Hello "+ strcharinfo(0) +"...! Welcome to ( OnsRO )",0; } end; } 
  10. Emistry's post in math in scripts was marked as the answer   
    eathena / rathena doesnt support decimal value ...
     
    but you can do it like this
    .@amount2 = (( .@amount * 10 ) / 100 ); .@amount2 = ( .@amount / 10 );  
     
     
     
  11. Emistry's post in Please Help! Source Code for Costume Item was marked as the answer   
    you are using Amod ...the @costume only come from there ...in rAthena we dont have this...and we dont have custom src mod that convert normal headgear into custome headgear ...
     
    well you can still try like this
    atcommand "@costumeitem "+@bought_nameid[.@i];
  12. Emistry's post in getmapusers on warper. was marked as the answer   
    because the .@maps$[.@i] has been defined here..
    setarray .@Maps$[0],"pvp_n_8-1","pvp_n_8-2","pvp_n_8-3","pvp_n_8-4","pvp_n_8-5"; setarray .@Maps$[0],"pvp_y_8-1","pvp_y_8-2","pvp_y_8-3","pvp_y_8-4","pvp_y_8-5";  
     
    you can use toastofdoom's warper too ... or annieruru's favourite warper ..or any other from the forum ...else just add the getmapusers yourself..
  13. Emistry's post in Please explain was marked as the answer   
    if you have set afk_timeout ... then ...
    convert  the value inside message variable into integer ....
    if the timeout( converted value ) larger than 0 .....@afk for a limited duration ...
    else...@afk unlimit time.
     
    afk_timeout = setting inside conf files timeout = minutes for @afk ( integer form ) message = minutes for @afk ( string form ) min( x,y ) = limit the value between x and y  
     
     
    and..a typo mistake in 
     
    battle_config.aa_timeout
  14. Emistry's post in hexed 2012-04-10 x Server Users Count was marked as the answer   
    just find it in msgstringtable.txt and remove it ...
    i think should be
    %d# ---> not sure... maybe %s#
  15. Emistry's post in PvP Death Point was marked as the answer   
    if(points > 2) { sc_start SC_BLESSING,360000,10; } if(points > 3) { sc_start SC_EDP,360000,5; sc_start SC_ENDURE,360000,10; sc_start SC_ANGELUS,360000,10; } if(points > 4) { sc_start SC_MAGNIFICAT,360000,5; sc_start SC_GLORIA,360000,5; sc_start SC_ADRENALINE2,360000,1; sc_start SC_IMPOSITIO,360000,5; sc_start SC_SUFFRAGIUM,360000,3; sc_start SC_BLESSING,360000,10; sc_start SC_INCREASEAGI,360000,10; sc_start SC_WEAPONPERFECTION,360000,10; sc_start SC_OVERTHRUST,360000,5; } end;  
    dont use the "else" if you want to give all these buff ....
  16. Emistry's post in How to make specific monster on the farm zone was marked as the answer   
    monster .Map$,0,0,"[ Farm Zone ] Resident",-1,80,strnpcinfo(0)+"::OnNormalKill"; monster .Map$,0,0,"[ Farm Zone ] Guardian",-3,5,strnpcinfo(0)+"::OnBossKill";  
    change the -1 or -3 to ur mob id.
  17. Emistry's post in RFYL Event was marked as the answer   
    nude; atcommand "@storeall";  not really a suggestion for using @storeall since player can bypass it when their storage is full.
  18. Emistry's post in Auto annoincment! was marked as the answer   
    https://rathena.org/board/index.php?/files/file/2503-%7B?%7D/
  19. Emistry's post in Assumptio on Woe was marked as the answer   
    http://rathena.org/board/topic/77027-disable-assumptio-during-woe/?p=173271
  20. Emistry's post in Modify this Script was marked as the answer   
    prontera,155,180,5 script Sample 757,{
    .@job = select( "Swordman","Mage","Archer","Acolyte","Merchant","Thief" );
    .@eac = eaclass( .@job );
    setarray .@job,roclass( .@eac|EAJL_2_1|EAJL_UPPER ),roclass( .@eac|EAJL_2_2|EAJL_UPPER );
    .@i = select( jobname( .@job[0] ),jobname( .@job[1] ) ) - 1;
    jobchange .@job[.@i];
    BaseLevel = 99;
    JobLevel = 70;
    SkillPoint = ( 9 + 49 + 69 );
    mes "Done";
    close;
    }

  21. Emistry's post in Change Party Setting was marked as the answer   
    trunk/conf/inter_athena.conf
    // Level range for sharing within a party party_share_level: 15
  22. Emistry's post in Ygg box restriction was marked as the answer   
    { if( strcharinfo(3) == "prontera" ) { message strcharinfo(0),"Access Denied!"; warp "prontera",155,181; } else { getitem 607,10; } },{},{}

  23. Emistry's post in Broadcast when a specific monster(s) is/are killed was marked as the answer   
    attach the event using Permanent_Monster_Spawn or monster or areamonster
     
    OnNPCKillEvent: if( killedrid == mob_id ) announce strcharinfo(0)+" of "+strcharinfo(2)+" slained "+getmonsterinfo( killedrid,MOB_NAME )+" at "+strcharinfo(3),bc_all,0xFF0000"; end;   
     there are few way to attach the event too if you dont want to use OnNPCKillEvent...
  24. Emistry's post in **Urgent** Requesting Rental NPC(Modification) was marked as the answer   
    change getitem to rentitem
  25. Emistry's post in nguild.warper was marked as the answer   
    try 
    if( eaclass() & EAJL_UPPER ){ mes "Rebirth Class cant enter."; }else{ warp "mapname",x,y; }
×
×
  • Create New...