Jump to content

Quests, Games: Event Manager


Recommended Posts


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  303
  • Reputation:   117
  • Joined:  12/10/16
  • Last Seen:  

Event Manager


This is an event manager I made. The events are of public knowledge (there aren't many ways to do good events and these are the ones I found to be the best, at the moment I wrote up the script), and I inspired myself from them. Here's the list of events it has as of now. Have fun!
I can add some events if you like to. I considered some myself (like MvP vs MvP) but they offered little gameplay experience to do so. I can reconsider though!

 

Avaiaible events:

    - Dices.
    - Find the Porings.
    - Escape from the Bombrings.
    - Guess the Monster.
    - Pick the Candy.
    - Devil Square.
    - Cluckers.

Features:

    - Easy addition of events.
    - Random queue system which players can check with @events command.
    - Automatic joining with @event command.
    - Can manually start & end events (forcing them to end).
    - Events can have a limited amount of players.
    - Events have a limited time to let players register before they start.
    - Configurable prizes.

 

I must give credits to sandbox, Stolao, and AnnieRuru for all the events I found, Thank you guys!

If you buy, you accept this:
You cannot redistribute this, less as your own.
You can modify it as you like, however, in order to receive proper support, you must tell me what you modified.


 

Link to comment
Share on other sites

  • 1 month later...

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  2
  • Reputation:   0
  • Joined:  06/29/17
  • Last Seen:  

N

On 6/17/2017 at 8:26 AM, n0tttt said:

Event Manager


This is an event manager I made. The events are of public knowledge (there aren't many ways to do good events and these are the ones I found to be the best, at the moment I wrote up the script), and I inspired myself from them. Here's the list of events it has as of now. Have fun!
I can add some events if you like to. I considered some myself (like MvP vs MvP) but they offered little gameplay experience to do so. I can reconsider though!

 

Avaiaible events:

    - Dices.
    - Find the Porings.
    - Escape from the Bombrings.
    - Guess the Monster.
    - Pick the Candy.
    - Devil Square.
    - Cluckers.

Features:

    - Easy addition of events.
    - Random queue system which players can check with @events command.
    - Automatic joining with @event command.
    - Can manually start & end events (forcing them to end).
    - Events can have a limited amount of players.
    - Events have a limited time to let players register before they start.
    - Configurable prizes.

 

I must give credits to sandbox, Stolao, and AnnieRuru for all the events I found, Thank you guys!

If you buy, you accept this:
You cannot redistribute this, less as your own.
You can modify it as you like, however, in order to receive proper support, you must tell me what you modified.


 

How much?

Link to comment
Share on other sites

  • 2 weeks later...

  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  303
  • Reputation:   117
  • Joined:  12/10/16
  • Last Seen:  

On 18/7/2017 at 4:33 PM, eros11 said:

N

How much?

Do you mean price? If that's what you mean, $15. Or whatt do you mean?

Link to comment
Share on other sites

  • 1 month later...

  • Group:  Members
  • Topic Count:  28
  • Topics Per Day:  0.01
  • Content Count:  234
  • Reputation:   113
  • Joined:  02/24/15
  • Last Seen:  

 

How can I set the specific times for each event? :huh:

Link to comment
Share on other sites

  • 2 weeks later...

  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  303
  • Reputation:   117
  • Joined:  12/10/16
  • Last Seen:  

You can delete the OnQueue and OnClock1200 label and then add this:

OnMinute00:

	setarray .@events[0], 
			0, // 00:00
			7, // 01:00 (cluckers)
			0, // 02:00
			0, // 03:00
			0, // 04:00
			0, // 05:00
			0, // 06:00
			0, // 07:00
			0, // 08:00
			0, // 09:00
			0, // 10:00
			0, // 11:00
			0, // 12:00
			0, // 13:00
			1, // 14:00 (dices)
			0, // 15:00
			0, // 16:00
			0, // 17:00
			0, // 18:00
			0, // 19:00
			4, // 20:00 (guess the monster)
			0, // 21:00
			0, // 22:00
			0; // 23:00

	.@event = .@events[gettime(DT_HOUR)];
	if(!.event_active) {
		.event_active = .@event;
		if(.maps$[.@event - 1] != "")
			set_mapflags(.@event - 1);
		donpcevent .events$[.@event - 1]+"::OnStart";
	}
	end;

Then you config the events in the desired hours. The number of the events is:

        [1] = Dices.
        [2] = Find the Porings.
        [3] = Escape from the Bombrings.
        [4] = Guess the Monster.
        [5] = Pick the candy.
        [6] = Devil Square.
        [7] = Cluckers.

 

I will edit the script to add a configuration about the event automatic modes in the future. I'm not in my house currently, so I couldn't test really well to make such a change.

Edited by n0tttt
Link to comment
Share on other sites

  • 3 months later...

  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  303
  • Reputation:   117
  • Joined:  12/10/16
  • Last Seen:  

New version 1.2!

  • Fixed Pick the Candy Event: Changed the method to use attachrid instead of addrid because of multiprocessing issues.
  • Fixed Bombring Event death haldling to require only one instance of addrid.
Link to comment
Share on other sites

  • 5 months later...

  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  53
  • Reputation:   4
  • Joined:  10/02/16
  • Last Seen:  

Support eAmod @n0tttt?

Link to comment
Share on other sites

  • 3 months later...

  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  303
  • Reputation:   117
  • Joined:  12/10/16
  • Last Seen:  

Sorry but no, eAmod is too outdated and I use some newer script commands like getfreecell. Maybe I could edit those parts (it isn't that hard), or those commands could be easily applied to the emulator, but I can't guarantee.

Link to comment
Share on other sites

  • 2 months later...

  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  147
  • Reputation:   10
  • Joined:  12/03/18
  • Last Seen:  

File cannot be found

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  303
  • Reputation:   117
  • Joined:  12/10/16
  • Last Seen:  

Yeah, I updated the script but the update hasn't been aproved yet. Sorry!

Link to comment
Share on other sites

  • 2 months later...

  • Group:  Members
  • Topic Count:  28
  • Topics Per Day:  0.01
  • Content Count:  153
  • Reputation:   14
  • Joined:  07/07/12
  • Last Seen:  

[Debug]: NPCEvent 'Eventos::OnEndEvent' not found! (source: Event_DevilSquare)

 

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  303
  • Reputation:   117
  • Joined:  12/10/16
  • Last Seen:  

On 3/16/2019 at 7:27 AM, Break said:

[Debug]: NPCEvent 'Eventos::OnEndEvent' not found! (source: Event_DevilSquare)

 

Fixed, waiting for revision.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  28
  • Topics Per Day:  0.01
  • Content Count:  153
  • Reputation:   14
  • Joined:  07/07/12
  • Last Seen:  

[Warning]: script: buildin_getmapxy: Invalid type 128.
[Debug]: Source (NPC): Clucker at prontera (163,226)
[Debug]: (map_mapname2mapid) mapindex_name2id: Map "" not found in index list!

 

Edited by Break
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  303
  • Reputation:   117
  • Joined:  12/10/16
  • Last Seen:  

8 minutes ago, Break said:

[Warning]: script: buildin_getmapxy: Invalid type 128.
[Debug]: Source (NPC): Clucker at prontera (163,226)
[Debug]: (map_mapname2mapid) mapindex_name2id: Map "" not found in index list!

 

You don't have the last version of rAthena.

But you can change this line:

getmapxy .@m$,.@x0,.@y0,BL_NPC;

to:

getmapxy .@m$,.@x0,.@y0,UNITTYPE_NPC;

 

  • Like 1
Link to comment
Share on other sites

  • 2 weeks later...

  • Group:  Members
  • Topic Count:  28
  • Topics Per Day:  0.01
  • Content Count:  153
  • Reputation:   14
  • Joined:  07/07/12
  • Last Seen:  

It is possible to add Event RFYL in the new version?

Can you help fix the event RFYL? When 1 player remains, the event does not end.

-    script    Event_RFYL    -1,{

OnStart:

    $@open_event = true;
    mapwarp "rfylmap3","prontera",rand(148,163),rand(167,186);
    announce "The Run from the RFYL event will soon begin.",bc_all,0xEE0C14;
    sleep 2000;
    announce "If you want to join use the @event command.",bc_all,0xEE0C14;
    sleep 2000;
    announce "The entry will be open for 1 minute.",bc_all,0xEE0C14;
    sleep 30000;
    announce "30 seconds left to register to Run from the RFYL event.",bc_all,0xEE0C14;
    sleep 30000;
    announce "The entry to the event has been closed.",bc_all,0xEE0C14;
    $@open_event = false;
    sleep 3500;
    .@players = getmapusers("rfylmap3");
    if(.@players < 3) {
        announce "The event has been cancelled due to a low amount of players.",bc_all,0xEE0C14;
        killmonsterall "rfylmap3";
        .@end = true;
        donpcevent "Events::OnEndEvent";
        end;
    }
    mapannounce "rfylmap3","We're about to begin the event.",bc_all,0xEE0C14;
    sleep 2500;
    mapannounce "rfylmap3","There will be RFYL everywhere.",bc_all,0xEE0C14;
    sleep 2500;
    mapannounce "rfylmap3","And every sigle one of them will explode, so be careful.",bc_all,0xEE0C14;
    sleep 2500;
    mapannounce "rfylmap3","As time goes, more RFYL will appear.",bc_all,0xEE0C14;
    sleep 2500;
    mapannounce "rfylmap3","So be prepared! Because they will come even if you're not!",bc_all,0xEE0C14;
    sleep 2500;
    monster "rfylmap3",51,51,"Crazy Poring",1847,1,"Event_RFYL::OnRFYLMobDead";
    sleep 60000;
    monster "rfylmap3",51,34,"Crazy Poring",1847,1,"Event_RFYL::OnRFYLMobDead";
    end;
    
OnPCDieEvent:
    .@players = getmapusers("rfylmap3");
    if( .@players == 1 && !$@end_event) {
        killmonsterall "rfylmap3";
        .@end = true;
        .@size = getmapunits(BL_PC,"rfylmap3",.@players);
        for(.@i = 0;.@i < .@size;.@i++) {
            attachrid .@players[.@i];
            announce strcharinfo(0)+" has won the Run from the RFYL event!",bc_all,0xEE0C14;
            @event_prize = 6;
            doevent "Events::OnPrize";
            warp "prontera",rand(148,163),rand(167,186);
        }    
    }
    donpcevent "Events::OnEndEvent";
    end;
}

 

Link to comment
Share on other sites

  • 2 months later...

  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  58
  • Reputation:   7
  • Joined:  08/15/18
  • Last Seen:  

It's still on sale?

Link to comment
Share on other sites

  • 1 month later...

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  2
  • Reputation:   0
  • Joined:  03/15/19
  • Last Seen:  

I bought it. But i dont know how to install.

Could you help me? or someone? 

Have an exellent day

I bought it. But i dont know how to install.

Could you help me? or someone? 

Have an exellent day

Edited by omar94
Link to comment
Share on other sites

  • 2 weeks later...

  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  303
  • Reputation:   117
  • Joined:  12/10/16
  • Last Seen:  

On 7/31/2019 at 10:34 PM, omar94 said:

I bought it. But i dont know how to install.

Could you help me? or someone? 

 

Have an exellent day

Just go to your rAthena npc folder and edit script_custom.conf with Notepad.

Add this line anywhere:

 

npc: npc/custom/Events.txt

Then copy the "Events.txt" file into the npc/custom folder.

You can now talk in-game to the script using @events script command.

Link to comment
Share on other sites

  • 5 months later...

  • Group:  Members
  • Topic Count:  20
  • Topics Per Day:  0.01
  • Content Count:  48
  • Reputation:   2
  • Joined:  08/05/19
  • Last Seen:  

LStK4KN.png

 

Can someone help me fix these errors. The npc wont even work. 

Also is there a way to remove the Devil square? I already have my own custom one running. 

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  303
  • Reputation:   117
  • Joined:  12/10/16
  • Last Seen:  

3 hours ago, Xenduria said:

LStK4KN.png

 

Can someone help me fix these errors. The npc wont even work. 

Also is there a way to remove the Devil square? I already have my own custom one running. 

It seems like you don't have or aren't loading Global_Functions.txt (https://raw.githubusercontent.com/rathena/rathena/master/npc/other/Global_Functions.txt)

You can delete the line in add_event, and also the Event_DevilSquare script.

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  20
  • Topics Per Day:  0.01
  • Content Count:  48
  • Reputation:   2
  • Joined:  08/05/19
  • Last Seen:  

18 hours ago, n0tttt said:

It seems like you don't have or aren't loading Global_Functions.txt (https://raw.githubusercontent.com/rathena/rathena/master/npc/other/Global_Functions.txt)

You can delete the line in add_event, and also the Event_DevilSquare script.

Yep, fixed it! Thank you much ❤️

Link to comment
Share on other sites

  • 1 year later...

  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  83
  • Reputation:   0
  • Joined:  01/30/12
  • Last Seen:  

Hi, need help with your script. I just move my server to another Server Hosting then I got this error

image.png.4857d1d074b563b313b612af61d40507.png

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  83
  • Reputation:   0
  • Joined:  01/30/12
  • Last Seen:  

Hi,

Please disregard my previous post. I already solved it by putting PCRE support in my emulator.

Thank you

Link to comment
Share on other sites

  • 11 months later...

  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.00
  • Content Count:  58
  • Reputation:   1
  • Joined:  08/18/13
  • Last Seen:  

Support rA update?

Link to comment
Share on other sites

  • 1 month later...

  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.01
  • Content Count:  29
  • Reputation:   0
  • Joined:  08/23/19
  • Last Seen:  

On 6/17/2017 at 12:26 PM, n0tttt said:

Event Manager


This is an event manager I made. The events are of public knowledge (there aren't many ways to do good events and these are the ones I found to be the best, at the moment I wrote up the script), and I inspired myself from them. Here's the list of events it has as of now. Have fun!
I can add some events if you like to. I considered some myself (like MvP vs MvP) but they offered little gameplay experience to do so. I can reconsider though!

 

Avaiaible events:

    - Dices.
    - Find the Porings.
    - Escape from the Bombrings.
    - Guess the Monster.
    - Pick the Candy.
    - Devil Square.
    - Cluckers.

Features:

    - Easy addition of events.
    - Random queue system which players can check with @events command.
    - Automatic joining with @event command.
    - Can manually start & end events (forcing them to end).
    - Events can have a limited amount of players.
    - Events have a limited time to let players register before they start.
    - Configurable prizes.

 

I must give credits to sandbox, Stolao, and AnnieRuru for all the events I found, Thank you guys!

If you buy, you accept this:
You cannot redistribute this, less as your own.
You can modify it as you like, however, in order to receive proper support, you must tell me what you modified.


 

Is it currently working?

Link to comment
Share on other sites

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.

×
×
  • Create New...