Jump to content

michaelsoftman

Members
  • Posts

    410
  • Joined

  • Last visited

Everything posted by michaelsoftman

  1. I was using this bit of code in a mob label to reward everyone who completes an instance event. But the items are never given, I think it doesn't recognize the instance map. OnEndInstance: set .@a$, has_instance("1@event"); set .@i, 2000000; while ( .@i < 2010000 ) { if ( .@i % 500 == 0 ) sleep 20; // prevent infinite loop if ( attachrid(.@i) ) { if( strcharinfo(3) == ".@a$" ) getitem 20951,10; } set .@i, .@i +1; } warp "Save",0,0; sleep2 1; instance_destroy(instance_id(1)); end; It's supposed to give 10 of an item to everyone who's in an instance generated earlier by the same NPC. But I'm not sure why it won't give any items out.
  2. Just fix it the way I said, and one will respawn everytime one is killed.
  3. Press Tab between each of those words. Like this. function(tab)script(tab)sample...
  4. I could write up something like this for you, except for the last part where you want the mobs to have no drops. Doing this is not a simple task, at least I wouldn't know of a way to disable drops from only those mobs and not the bosses, while still dropping coins.
  5. I spotted quite a few errors. First, the line that says monster "guild_vs5",0,0,"Gold",1002,1002,strnpcinfo(0)"::OnKilled"; I hope you realize that's spawning 1002 of the Gold monsters. And the 2nd statement is missing a mob amount AND mob ID. monster "guild_vs5",0,0,"Gold",1,strnpcinfo(0)"::OnKilled"; Should be monster "guild_vs5",0,0,"Gold",1002,1,strnpcinfo(0)"::OnKilled"; And finally, the map isn't in your index list. Check the .conf and .txt for the map list and make sure it's added into both.
  6. Hello everyone. I'm new to rAthena, but not new to RO at all. I've been using 3cEAM for the past year, and was wondering how easy it would be to convert to rAthena? I am reasonably good with coding, and wouldn't mind having to edit things manually to get it to work. But the reason why I'm asking is that I have a large amount of custom source edits on my server, and I really don't want to have to download rAthena and then reapply everything from scratch. Would it be a matter of just manually patching everything? *shudders at the thought*
×
×
  • Create New...