Jump to content

Skorm

Forum Moderator
  • Posts

    1282
  • Joined

  • Last visited

  • Days Won

    41

Everything posted by Skorm

  1. This is a neat idea but I think the cards are way too big you should consider resizing the cards and also converting the magenta color to transparency.
  2. Hi @Maki it has been a minute, hasn't it? I've been playing a little... IGN is Zaldus because someone took Skorm. >_>
  3. I've been wanting this version of Prontera for years thanks for re-uploading it.
  4. Thank you for the suggestions! The game is meant to be manic so that you can't pause it and will die if you aren't able to allocate points fast enough or heal, but I will add an option to click the potion on the side to heal.
  5. http://lovely.vhostsite.online/Gam/ I roughly used ROs leveling and stat system. Click the monster to do damage and press F1 to use potions.
  6. I like that idea. I also wanted to add an option where you could split the npcs up. So one for changing buffs and one for setting buffs since double-clicking is a little dodgy. Edit: @Radian Done.
  7. Thanks for letting me know I've got a fix I'll upload it when I get home from work.
  8. I did something kinda like this years ago. Like if you're in a party and you kill an mvp you can roll on the loot.
  9. Change every instance of #KAFRAPOINTS to #CASHPOINTS.
  10. It should if not the oldest version will because that works on rAmod. I actually made this script way back in 2014.
  11. In your item database the last two script sections are for equip and unequip... In both items add something like this two the equip script. if(isequipped(1599)) unequip(EQI_SHOES); Anyways that's all I'm saying.
  12. Skorm

    Hi All

    Hmm that's kinda neat. Welcome.
  13. Get the mob ids. Get the NPC coordinates. Get the maps that you want to use for this event (do /where we need that map name). Create the mobs in your mod_db and post the entries. Just because you post in the script request section doesn't mean we're going to do everything for it. These are some simple things you can do to improve the odds of your request being completed.
  14. You could re-purpose my woe waiting groom timer script. http://upaste.me/a34345394862f242d I might try to make a function for this at some point!
  15. To Annie's post above she actually told me not to do this when I did it like 4 years ago... What the heck and she doesn't even credit me here for maybe giving her some kind of subliminal inspiration whatever... :< [Source] Hurry before she changes it. /gg Anyways I just wanted to post a neat function I came up with for anybody who might want to use it. DisplayPages Function: Basically, it takes a bunch of options that you want to put into a menu and adds pages so the players can move through them easily. ///This function takes an array of strings and builds a menu players can navigate. ///Usage: DisplayPages(.@string_array${, .@page_size }); ///Output: This function returns the selected item index from the given array. function script DisplayPages { .@page_size = getarg(1, 10); .@len = getarraysize(getarg(0)); .@pages = .@len / .@page_size; .@pages -= .@len > .@page_size && .@len % .@page_size ? 0 : 1; do { copyarray .@copy$[0], getelementofarray(getarg(0), .@page_size * .@page), .@page_size; if( .@page < .@pages ) .@copy$[.@page_size] = "Next Page =>"; if( .@page > 0 ) .@copy$[.@page_size +1] = "<= Previous Page"; .@menu = select(implode(.@copy$,":")); if( .@menu == .@page_size +1 ) .@page++; else if( .@menu == .@page_size +2 ) .@page--; deletearray .@copy$; } while( .@menu > .@page_size ); .@menu += .@page_size * .@page; return .@menu-1; } Example NPC: prontera,146,188,4 script Warper 97,{ mes "[Warper]"; mes "Select the map you want to warp to."; next; setarray .@maps$, "prontera", "morocc", "payon", "geffen", "izlude", "jawaii", "dewata", "eclage", "moscovia", "ayothaya", "lighthalzen", "alberta", "aldebaran", "xmas", "comodo", "hugel", "rachel", "veins", "pvp_n_1-5", "pvp_n_1-4"; .@selection = DisplayPages(.@maps$, 5); warp .@maps$[.@selection], 0, 0; end; }
  16. I'm not sure I'll test it out tomorrow and let you know.
  17. Thanks for reuploading some extremely useful files.
  18. https://github.com/rathena/rathena/blob/master/doc/script_commands.txt#L6259 Make an npc with the OnInit: Tag and use that command or just add it in the database.
  19. @crazyarashi Not sure if you suggested this one, but it's something I've been wanting for awhile, and it looks like @Capuche just added it. In anycase it would be much better to update your server and use the killedgid variable instead of all this mumbo jumbo. https://github.com/rathena/rathena/commit/c856b07c45aed6c5842ee19a940f7e76f780221c
  20. Here there might be a better way of doing this but this is the method I've come up with tested and it's working quite well. prontera,260,69,1 script monsterspawner 100,{ OnMinionSummon: .@minion_id = 1002; .@minion_count = 10; monster "prontera",255,55,"Pink Evil Minions",.@minion_id,.@minion_count,strnpcinfo(0)+"::OnMinionKill"; copyarray .gid[getarraysize(.gid)], $@mobid[0], .@minion_count; end; OnMinionKill: .@len = getarraysize(.gid); for(.@a = 0; .@a < .@len; .@a++) { if(unitexists(.gid[.@a])) { getunitdata(.gid[.@a],.@mobdata); if(!.@mobdata[UMOB_HP]) { dispbottom .@mobdata[UMOB_X]+" "+.@mobdata[UMOB_Y]+" HP:"+.@mobdata[UMOB_HP]; deletearray .gid[.@a], 1; break; } } else { deletearray .gid[.@a], 1; .@len--; } } }
×
×
  • Create New...