Jump to content

Skorm

Forum Moderator
  • Posts

    1282
  • Joined

  • Last visited

  • Days Won

    41

Everything posted by Skorm

  1. Without constantly looping while checking the players health which is extremely unadvised. I don't think it's possible. I recommend you check this topic for a source mod to @go allowing the delay of @go when attacking and being attacked. http://rathena.org/board/topic/84627-how-to-disable-this-delay/ But if you really want it an npc based @go. - script Delayer -1,{ OnPCLoginEvent: if(Hp<@hp&&@hp) set @tick, gettimetick(2)+.delay; set @hp, Hp; addtimer .loop,"Delayer::OnPCLoginEvent"; end; OnInit: set .loop, 100; //Speed of loop in Milliseconds set .delay, 5; //Delay in seconds. } Then just add a check in his script after OnAtcommand: Like if(set(.@a,@tick-gettimetick(2))>0){ dispbottom "You must wait "+.@a+" second(s) before warping."; end; }
  2. Try changing the variables skillid and skilllv to skill_id and skill_lv respectively. They change depending on what source you're using.
  3. Thanks for that I'll try my best and post back with the changes.
  4. I also did something like this although it is currently in my paid requests. https://gumroad.com/l/IspzX If you were to purchase said script I wouldn't have a problem customizing it to your liking. Thanks
  5. mes "You successfully mined a "+getitemname(.@item)+".";
  6. Change sleep 100; To sleep2 100;
  7. That's a lot to request I suggest you download previous mining scripts and ask for adjustments. I did do something really quick but it's untested. In Item 25000 script. if(@mine) doevent("pickaxe::OnMine"); - script pickaxe -1,{ OnMine: setarray .@array, 501, 20, 502, 50, 503, 80, 504, 2 ; set .@len, getarraysize(.@array); //delitem 25000,1; if(rand(2)-1) { while(set(.@i,.@i+2)-2<.@len) if(rand(100)<=.@array[.@i-1]) { set .@item, .@array[.@i-2]; getitem(.@item,1); mes "You successfully mined a "+getitemname(.@item)+"."; } } else mes "You failed to mine."; close; } izlude,123,123,4 script MINING SPOT 111,2,2,{ end; OnTouch: getmapxy(.@map$,.@x,.@y,0); while(sqrt(pow([email protected],2)+pow([email protected],2))<=3) { sleep2 100; getmapxy(.@map$,.@x,.@y,0); set @mine, 1; } set @mine, 0; end; OnInit: getmapxy(.nmap$,.nx,.ny,1); }
  8. Put minuteX: Where x is the minute you want the script to start on every hour. Or OnInit: OnTimerX: initnpctimer; Where X is the amount of milliseconds you want to wait before re-running the script. Oninit: <script> Sleep X; goto Oninit; Where X is the amount of time you want to wait between activations in milliseconds. You can do more things if a player is attached.
  9. I added training dummys with scarecrows
  10. I'd also like to add getmobgid and getchargid. It probably would've been best to use gid for everything instead of rid. For those who don't know I'm not talking about Guild ID. What I'm talking about is Game ID... This is a unique ID given to every entity in your server. I feel it is extremely useful. We could use one command to return information from any interactive object instead of separate commands. Example: getstrgidinfo(<gid>,<type>{,<object>}).
  11. Alright I'll try that. I also think the turf is to flat is there any way to smooth out gat tiles without resetting the whole maps.
  12. I'm no longer providing my services on rAthena.
  13. - script EP7_lightanim -1,{ OnInit: sleep 1000; donpcevent "#ep7effectAby1::OnAction"; } //=============== ars_fild58,95,103,0 script #ep7effectAby1 139,{ OnAction: specialeffect 14; donpcevent "EP7_lightanim::OnInit"; } You were using sleep2 when no character was attached and unless you had some other script starting the effect that wouldn't've worked you have to use a special event like OnInit:. Also if you want to keep the rid I'm pretty sure you have to use doevent not donpcevent. This probably should've been in the script request section.
  14. Maybe I really don't like to use any mods until they become official, because I won't be able to share it with others...
  15. That's all I needed thanks.
  16. It's unclear exactly what you want. To disable the fakename message just comment that line out. clif_displaymessage(sd->fd, "Title has been removed"); // Fakename disabled Have you tried something like that?
  17. Is there any guide for hexing the client to do this... I've noticed some npcs in the 10000 range... Idk if that's an official thing, but we really are out of IDs for new custom npcs, and I'd like more,
  18. bonus bAspd,3; bonus bAtkRate,3; bonus bMatkRate,3; bonus2 bSubRace2,7,7; bonus2 bSkillHeal,478,5; I don't think Aspd works for eAthena... I could be wrong... and I can't remember if it was MatkRate or Matk that didn't work for eAthena...
  19. It would work exactly like the batch cls command... Similar to next; but without character prompt is this possible? I'd also like to know if it would be possible to broadcast to a player without flooding there chat... I could see this being a good source for a scoreboard, health-bar, timer, marque text, and many other options.
  20. Skorm

    server time

    Alright #noted.
  21. Skorm

    server time

    %r is the equivalent of %I:%M:%S %p.
  22. What skin are you using here... I really like it.
×
×
  • Create New...