Jump to content

Haruka Mayumi

Members
  • Posts

    477
  • Joined

  • Last visited

  • Days Won

    27

Everything posted by Haruka Mayumi

  1. located in battle.cpp uint16 anger_level; if (sd != nullptr && anger_id < MAX_PC_FEELHATE && (anger_level = pc_checkskill(sd, sg_info[anger_id].anger_id))) { - int skillratio = sd->status.base_level + sstatus->dex + sstatus->luk; + int skillratio = (sd->status.base_level/3) + sstatus->dex + sstatus->luk; if (anger_id == 2)
  2. setarray .C_PetEggs, 9150, 9151, 9152, 9153, 9154, 9155, 9156, 9157, 9158, 9159, 9198, 9200, 9201, 9203, 9204, 9206, 9210; getinventorylist(); for(.@i=0;.@i<@inventorylist_count;.@i++){ if(inarray(.C_PetEggs,@inventorylist_id[.@i]) < 0) continue; // If the item is not an egg from the array list. continue the loop if(!@inventorylist_attribute[.@i]){ // Check if the egg is not hatched, Attribute 1 if it is hatched, 0 if not. delitemidx @inventorylist_idx[.@i],1; // Delete the item via the index .@delete++; // Add a counter for deleted eggs } if(.@deleted >= 10) break; // if the deleted eggs is more than 10. exit the loop } mes "10 Unhatched eggs are deleted.";
  3. Look for this line setunitdata .statue[.@i +1], UNPC_CLASS, .@class[.@i]; then change the UNPC_CLASS into UNPC_DISPLAY
  4. The reason that it isn't working is because of the variables on that code. Here's the simplified code for that. EDIT: This code won't work on maps without loadevent flags - script rmvbuff -1,{ OnPCLoadMapEvent: if(@rmvmap$ == strcharinfo(3)) end; //sc_end sc_spirit; sc_end sc_gospel; sc_end SC_POEMBRAGI; sc_end SC_APPLEIDUN; sc_end SC_ASSNCROS; sc_end SC_WHISTLE; sc_end SC_SERVICE4U; //sc_end 37; // holy weapon //sc_end 38; // holy armor sc_end 187; // increase all stat sc_end 194; // increase hit sc_end 196; // increase flee sc_end 198; // max hp increase sc_end 199; // max sp increase sc_end 200; // attach strength sc_end 202; // increase def sc_end 214; // SC_SCRESIST sc_end 175; // POEMBRAGI sc_end 181; // SERVICE4U specialeffect2 235; @rmvmap$ = strcharinfo(3); end; }
  5. Just look at that older version vs the new version.. it's a lot of improvement.. a really nice map for event instance ?
  6. You can try reading this post : https://rathena.org/board/topic/119968-bug-double-elemental-sword-on-sin-x/
  7. Use Act Editor to create your Act + Spr files https://rathena.org/board/files/file/3304-act-editor/
  8. Use Embedded GRF.. disable read data folder.. encrypt all your grf. done.
  9. monster .AvailableMaps$[.@r2],50,69,"World Boss - "+getmonsterinfo(.AvailableMVPs[.@r1], MOB_NAME),.AvailableMVPs[.@r1],1,"worldboss::OnWorldBossDeath"; a missing '+' after `World Boss - `
  10. an initnpctimer won't work on function script because that is not NPC. You better use doevent on the function script.
  11. I moved it to the correct section. you even created another post on another WRONG SECTION.. please use report button next time.
  12. No one can help you if you just give them that error.. because the error shows the structure of the new rAthena, but you are using an old one wherein we are not sure how's the structure of your current emulator...
  13. The problem is your option is skipping a space of random options.. E.G: This will only show the Str + 1 because the Option 1 has no data in it. - Option 0: Str + 1 - Option 1: None - Option 2: Dex + 1 Edit: You can check your inventory database to see how the random option looks when skipping.
  14. you don't need to use SC_EXPBOOST. better use bExpAddClass,CLASS_ALL,-90;
  15. I recommend that you use `bonus_script` for the easiest one which doesn't require source modification..
  16. case 3: // THE HIGH PRIESTESS - all buffs removed { struct status_change *tsc = status_get_sc(target); if(!(tsc && tsc->data[SC_DEFENDER]->val1 >= 5)) status_change_clear_buffs(target, SCCB_BUFFS | SCCB_CHEM_PROTECT); break; }
  17. prontera,155,173,5 script Give 94,{ if(getd("$Quest_"+get_unique_id())){ message strcharinfo(0),"Quest already done for this mac."; end; } if(countitem(512) >= 10 && countitem(513) >= 10){ delitem 512,10; delitem 513,10; getitem 501,1; setd "$Quest_"+get_unique_id(),getcharid(0); } else message strcharinfo(0),"Not enough items."; end; }
  18. so i just took a look at the source and it seems there's already a config for it conf/battle/drops.conf item_drop_mvp_mode: 2
  19. You can't make those 100% because the MVP Drops is random unless it's only 1 item.. it shows how much your chance on getting each item randomly.. if you want to get all then you need to source modify it
  20. and here i was thinking to create a patcher since aeomin doesn't update anymore.. and finally see this.. and so far, I think this is more flexible than thor with it's new settings.. love it @L1nkZ
  21. #!/bin/bash run=1 if [ "$run" -eq 1 ]; then if [ $(ps | grep -e login-server | wc -l) -eq 0 ]; then # Login server down ./login-server & > /dev/null fi if [ $(ps | grep -e char-server | wc -l) -eq 0 ]; then # Char server down ./char-server & > /dev/null fi if [ $(ps | grep -e map-server | wc -l) -eq 0 ]; then # Map server down ./map-server & > /dev/null fi sleep 10 ./auto-restarter.sh & fi you can also cut each server in run it on screen.
  22. @Dev Yhams Reading the whole thread would help you..
×
×
  • Create New...