Jump to content

Recommended Posts

  • 1 month later...
Posted

One small bug

if the event is started (by GM for example) and it start automatically, .register_aid & .register_num are not reset

omg /oops  yeah I surely missed that

 

anyway... is it posible to use GM commands npc:devil on to start the event??

OnWhisperGlobal:

if ( getgmlevel() < 20 ) end;

use @devilsquare in-game to activate the event, just like you are typing a gm-command

think I should've add it into 1st post

  • 2 weeks later...
  • 1 month later...
  • 3 months later...
Posted

I have a bit of a question. I was toying around with this script and can't seem to figure out how to change the prizes. 

When all the mobs are killed, I'd like to have an NPC show up first, let the player click them, and tell them a message with a next command.

Once they exit, they will receive Event tickets, I've messed around a bit with this but can't seem to figure it out.

Posted

I have a bit of a question. I was toying around with this script and can't seem to figure out how to change the prizes. 

When all the mobs are killed, I'd like to have an NPC show up first, let the player click them, and tell them a message with a next command.

Once they exit, they will receive Event tickets, I've messed around a bit with this but can't seem to figure it out.

ordeal_1-1,246,245,7	script	Exit#DS	51,{
	mes "[Exit]";
	mes "See ya";
	next;
	// add your reward here
	getitem 512,100;
	getitem 512,200;
	getitem 512,300;

	warp "SavePoint", 0,0 ;
	close;
}
Posted (edited)

Thanks Emisty. I forgot to mention that under your permission, could I take off the treasure boxes spawning?

I forgot to put that in my initial post.

 

So, once they finish killing the mobs, it'll auto-recognize there are no more mobs on the map, and just spawn the NPC.

Edited by IndieD
  • 3 weeks later...
Posted

I'm sorry noob here just got confused, if this script can be activated by a GM99 account using @devilsquare, it will also start by itself anyway in the set times using the OnClock code, yes?

 

And no matter how many winners, the script will still summon treasure boxes for which the winners can kill steal and loot as they please, am I right?

Posted

 

if this script can be activated by a GM99 account using @devilsquare, it will also start by itself anyway in the set times using the OnClock code, yes?

the event will automatically start if it's not already on - it won't stop the previous one

 

 

the script will still summon treasure boxes for which the winners can kill steal and loot as they please, am I right?

yes

  • 2 weeks later...
  • 3 weeks later...
Posted
-	.mob = 70;
+	.mob = 50;
 	areamonster "ordeal_1-1",183,182,246,244,"[DS] GARGOYLE",1253,15,strnpcinfo(0)+"::Ondevildead2";
 	areamonster "ordeal_1-1",183,182,246,244,"[DS] ALARM",1193,10,strnpcinfo(0)+"::Ondevildead2";
 	areamonster "ordeal_1-1",183,182,246,244,"[DS] HIGH ORC",1213,10,strnpcinfo(0)+"::Ondevildead2";

you change the total spawn but real amount of mob spawn is still 70

  • 1 month later...
  • 1 month later...
Posted

hi this script is cool but how can i make all treasure chest in one position with 1 random drop and automatically

loot and warped out after hitting the chests?

  • 5 months later...
  • 4 years later...
  • 2 years later...
  • 2 weeks later...
  • 1 year later...
Posted
On 10/30/2022 at 10:05 AM, Racaae said:

Hi. Find and replace

getmapxy .@map$, .@x, .@y, 1;
>>>
getmapxy(.@map$, .@x, .@y, BL_NPC);

thank you!

 

is it possible to change the zeny into an item requirements to enter or join the devil square?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...