Jump to content

Start_

Members
  • Posts

    950
  • Joined

  • Last visited

  • Days Won

    15

Everything posted by Start_

  1. - script TestScript::QuickTest 4_F_03,{ mes "What you want?"; next; switch(select("Use Charge", "See Charge", "Exit")) { case 1: if (.n_now > 0){ .n_now--; if (.n_now < .n_max) { setnpctimer 0; initnpctimer; npctalk "Starting recharges."; } getitem 512, 1; .cont = .delay; mes "Current C.: "+.n_now+"/"+.n_max; mes "Next Charge in "+((.cont)/1000)+"s."; } else{ mes "No Charges."; } close; case 2: mes "Delay per C.: "+.delay/1000+"s"; mes "Current C.: "+.n_now+"/"+.n_max; mes "Next Charge in "+((.cont)/1000)+"s."; close; } close; OnTimer4000: .n_now++; .cont = .delay; npctalk "Current C.: "+.n_now+"/"+.n_max; stopnpctimer; setnpctimer 0; if (.n_now >= .n_max) end; initnpctimer; npctalk "Next Charge in "+((.cont)/1000)+"s."; end; OnInit: .n_max = 5; //max charges .n_now = 5; //actual charge .delay = 4*1000;//time to recover 1 charge .cont = 0; //actual time left to recharge end; } prontera,164,170,4 duplicate(QuickTest) Test Quick#prt 4_F_03 Tested.
  2. I think best way to keep it alive for 30min is don't spawn it. But if you want to try, Look at this post: setunitdata UMOB_DMGIMMUNE. Not sure skill can damaged mob or not but you can try.
  3. - script TestScript::QuickTest 4_F_03,{ mes "What you want?"; next; switch(select("Use Charge", "See Charge", "Exit")) { case 1: if (.n_now > 0){ .n_now--; if (.n_now < .n_max) { setnpctimer 0; initnpctimer; mes "Starting recharges."; } getitem 512, 1; mes "Done. Current Charges: "+.n_now+"/"+.n_max+"."; } else{ mes "No Charges."; } close; case 2: mes "Next Charge in "+((.cont)/1000)+" seconds."; close; } close; OnTimer1000: if (.cont <= 0) { .cont = .delay; .n_now++; } else{ .cont -= 1000; stopnpctimer; setnpctimer 0; if (.cont <= 0) { .n_now++; if (.n_now >= .n_max) end; .cont = .delay; } initnpctimer; } end; OnInit: .n_max = 5; //max charges .n_now = 5; //actual charge .delay = 10*1000;//time to recover 1 charge (10,000) .cont = 0; //actual time left to recharge end; } prontera,164,170,4 duplicate(QuickTest) Test Quick#prt 4_F_03 Not sure it's work like what do you want but try it first.
  4. Use SDE >> Edit >> Replace all >> Edit field slot. (Do for both server and client sided)
  5. db > re > skill_tree db > job_db2
  6. .@zeny_reward = rand(5000,50000); Zeny += .@zeny_reward; dispbottom "Gained " + .@zeny_reward + "z";
  7. Please post some update for this game, maybe on project forums. (When it's available)
  8. Fly wing use skill 'Teleport'.
  9. Store char_id as array and pick first 3 arrays to give them prize.
  10. Check slot in ItemInfo files (Folder System in client).
  11. You can adapt NPC Timers. initnpctimer; Onxxxxx: //Do anything end; OnSec maybe kill performance.
  12. idk what lines does skill animation but try to find function "skill_attack" (maybe line 14280 at skill.cpp) then adjust the parameters (Flag to show/skip animation cast) Or wait for others to answers more clearly.
  13. D:\Start\src\map\skill.cpp Line 3251. Try to change parameter on gn_hells skills.
  14. Checking IP (char_athena, map_athena). Did it worked on your own PC?
  15. Make sure translated is on top when reading .grf Or check on data folder.
  16. When patching NEMO you should tick something said frostjoke (Try to search it on filter).
  17. You need to redo map cache. It's complicated, try https://github.com/rathena/rathena/blob/master/doc/map_cache.txt
  18. if(vip_status(VIP_STATUS_ACTIVE)){ }
  19. -Make sure you've reload db or restart server. -Make sure you do the correct folder pre-re/re, import/import-tmp, etc. Otherwise can you made a 1 items for that group and test how it work.
  20. Custom wings can be easily error because it's take a lot of process to do. You should follow the guide carefully.
  21. Start_

    help about script bro

    setrandomoption(EQI_HAND_R,0,.opt[.@sel],12,0); setrandomoption(EQI_HAND_L,0,.opt[.@sel],12,0); setrandomoption(EQI_GARMENT,0,.opt[.@sel],0,0); setrandomoption(EQI_GARMENT,0,.opt[.@sel],0,0); setrandomoption(EQI_SHOES,0,.opt[.@sel],0,0); setrandomoption(EQI_ACC_L,0,.opt[.@sel],0,0); setrandomoption(EQI_ACC_R,0,.opt[.@sel],0,0); setrandomoption(EQI_ACC_R,0,.opt[.@sel],0,0); setrandomoption(EQI_HEAD_MID,0,.opt[.@sel],0,0); setrandomoption(EQI_HEAD_LOW,0,.opt[.@sel],0,0); setrandomoption(EQI_HEAD_TOP,0,.opt[.@sel],0,0); At these lines you should change EQI_XXX,0 to EQI_XXX,1 for random option #2
×
×
  • Create New...