Jump to content

Stolao's Auto Event [v2.5A]


Recommended Posts


  • Group:  Members
  • Topic Count:  98
  • Topics Per Day:  0.02
  • Content Count:  1302
  • Reputation:   77
  • Joined:  12/04/12
  • Last Seen:  

@roxess same with me :)

Edited by mrlongshen
Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1443
  • Reputation:   337
  • Joined:  10/17/12
  • Last Seen:  

 

Current Version: 1.8E

 

I have the following error

 

2015-08-14%2020_12_36-root@hro_~_server.

 

any ideas

 

fix ncp Event_Agent#Maze

 

original, line 39

 

function	script	MazeRUN	{
//callfunc("MazeRUN",<eventid>,<eventname>,<eventmap>,<minplayers>,<length>);
	if($@CurrentEvent||agitcheck()||agitcheck2()){ end; }
	mapwarp getarg(2,"maze"),"prontera",155,181;
	enablenpc "mazeroadblock";
	disablenpc "Event_Agent#Maze";
	set $@CurrentEvent,getarg(0,4);
	for(set .@i,5; .@i > 0; set .@i,.@i-1){
		Announce ""+getarg(1,"Maze")+" Event Will begin in "+.@i+" Mins!",8;
		Announce "Please type @joinevent to join",8;
		sleep 60000;
	}
	Announce ""+getarg(1,"Maze")+" Event Has Begun!",8;
	set $@CurrentEvent,$@CurrentEvent*-1;
	sleep 9000;
	if(getmapusers(getarg(2,"maze"))<getarg(3,1)){ mapannounce getarg(2,"maze"),"Sorry there are not enough players for this event to take place",8;
	} else {
		mapannounce getarg(2,"maze"),"Rules are simple first to get to end of maze wins, so begin~",8;
		disablenpc "mazeroadblock";
		enablenpc "MazePrize"; <-------- **HERE**
		for(set .@maze,0; .@maze < getarg(4,40); set .@maze,.@maze+1){
			if(getmapusers(getarg(2,"maze"))<1) set .@maze,.@maze+getarg(4,40);
			mapannounce getarg(2,"maze"),"There are "+(getarg(4,40)-.@maze)+" Minuets Remaining",8;
			sleep 60000;
		}
	mapannounce getarg(2,"maze"),"Time Is up",8;
	}
	disablenpc "Event_Agent#Maze";
	sleep 5000;
	mapwarp getarg(2,"maze"),"prontera",155,181;
	set $@CurrentEvent,0;
	end;
}

Fix, line 39

 

function	script	MazeRUN	{
//callfunc("MazeRUN",<eventid>,<eventname>,<eventmap>,<minplayers>,<length>);
	if($@CurrentEvent||agitcheck()||agitcheck2()){ end; }
	mapwarp getarg(2,"maze"),"prontera",155,181;
	enablenpc "mazeroadblock";
	disablenpc "Event_Agent#Maze";
	set $@CurrentEvent,getarg(0,4);
	for(set .@i,5; .@i > 0; set .@i,.@i-1){
		Announce ""+getarg(1,"Maze")+" Event Will begin in "+.@i+" Mins!",8;
		Announce "Please type @joinevent to join",8;
		sleep 60000;
	}
	Announce ""+getarg(1,"Maze")+" Event Has Begun!",8;
	set $@CurrentEvent,$@CurrentEvent*-1;
	sleep 9000;
	if(getmapusers(getarg(2,"maze"))<getarg(3,1)){ mapannounce getarg(2,"maze"),"Sorry there are not enough players for this event to take place",8;
	} else {
		mapannounce getarg(2,"maze"),"Rules are simple first to get to end of maze wins, so begin~",8;
		disablenpc "mazeroadblock";
		enablenpc "Event_Agent#Maze"; <-------- **HERE**
		for(set .@maze,0; .@maze < getarg(4,40); set .@maze,.@maze+1){
			if(getmapusers(getarg(2,"maze"))<1) set .@maze,.@maze+getarg(4,40);
			mapannounce getarg(2,"maze"),"There are "+(getarg(4,40)-.@maze)+" Minuets Remaining",8;
			sleep 60000;
		}
	mapannounce getarg(2,"maze"),"Time Is up",8;
	}
	disablenpc "Event_Agent#Maze";
	sleep 5000;
	mapwarp getarg(2,"maze"),"prontera",155,181;
	set $@CurrentEvent,0;
	end;
}

Thank you, fixed in v1.92

 

 

 

i can't enter in many events and the gm got stuck when run one :c but is a great npc hopefully this work at 100 % Thanks for everything anyways :)

 

@roxess same with me :)

 

Fixed Hang Screen in v1.92

Update

1.8E -> 1.92
Link to comment
Share on other sites

  • 6 months later...

  • Group:  Members
  • Topic Count:  40
  • Topics Per Day:  0.01
  • Content Count:  120
  • Reputation:   0
  • Joined:  01/03/12
  • Last Seen:  

got stuck in maze event . after me click yes . then stuck . map allready put . but cant warp why ? pls fix that . so many problem that script . sry

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  32
  • Reputation:   0
  • Joined:  02/19/16
  • Last Seen:  

Some other options are like that too. Not just maze event. I do agree with NeoGenesis tons of problems.

Link to comment
Share on other sites

  • 4 weeks later...

  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  8
  • Reputation:   0
  • Joined:  03/11/16
  • Last Seen:  

If there are errors of "[Error]building_callfunc: Function not Found! [Dispell] and [DEBUG] source (NPC): Event_management (invisible/not on a map)".

 

The solution is download the dispell script the stolao released . 

Link to comment
Share on other sites

  • 3 weeks later...

  • Group:  Developer
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1443
  • Reputation:   337
  • Joined:  10/17/12
  • Last Seen:  

Ill look into doing Updates soon

Link to comment
Share on other sites

  • 4 weeks later...

  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  79
  • Reputation:   6
  • Joined:  04/20/16
  • Last Seen:  

I am trying to run this on latest git rathena..

 

I haven't edited anything in the script.. which is https://github.com/Stolao/Npc_Release/blob/master/Auto_Event/Auto_Event_v1.93.txt

 

Maze Event

 

i seem to get unlimited game tickets when i go near the npc.

spelling typos

also missing bmp maps.

post-38683-0-49970700-1462865679_thumb.png

post-38683-0-72858800-1462865691.png

post-38683-0-18236700-1462865739_thumb.png

post-38683-0-90338800-1462865739_thumb.png

Edited by spinzaku
Link to comment
Share on other sites

  • 2 weeks later...

  • Group:  Developer
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1443
  • Reputation:   337
  • Joined:  10/17/12
  • Last Seen:  

I Have begun work on a large scale overhaul with more in game friendliness like GM @commands + bugfixes

Link to comment
Share on other sites

  • 4 weeks later...

  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  79
  • Reputation:   6
  • Joined:  04/20/16
  • Last Seen:  

waiting patiently! hahahaha

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  161
  • Topics Per Day:  0.04
  • Content Count:  429
  • Reputation:   5
  • Joined:  11/21/11
  • Last Seen:  

Why 

Zombie Run event

is always hanging when itype @joinevent also in Maze Help please 

Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1443
  • Reputation:   337
  • Joined:  10/17/12
  • Last Seen:  

Why

Zombie Run event

is always hanging when itype @joinevent also in Maze Help please

As the title says it's currently being overhauled alot of commands and stuff have changed and is not working 100%, I'm waiting on a svn update to finish revamping.

Link to comment
Share on other sites

  • 2 weeks later...

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  6
  • Reputation:   0
  • Joined:  12/23/11
  • Last Seen:  

Please also consider adding support for user-predefined maps instead of the current map :)

Link to comment
Share on other sites

  • 2 months later...

  • Group:  Developer
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1443
  • Reputation:   337
  • Joined:  10/17/12
  • Last Seen:  

Update

1.93 -> 2.00
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  4
  • Reputation:   0
  • Joined:  09/07/16
  • Last Seen:  

Hello Stolao,

 

How to change from via mail to direct player. Where i need to change ?

 

Thanks.

Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1443
  • Reputation:   337
  • Joined:  10/17/12
  • Last Seen:  

Hello Stolao,

How to change from via mail to direct player. Where i need to change ?

Thanks.

Replace SQL query with get item, but why this prevents issue of overweight or too many items and not reciving rewards.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  4
  • Reputation:   0
  • Joined:  09/07/16
  • Last Seen:  

 

Hello Stolao,

How to change from via mail to direct player. Where i need to change ?

Thanks.

Replace SQL query with get item, but why this prevents issue of overweight or too many items and not reciving rewards.

 

 

It because my mailbox service doesn't work. There have a problem on open mail. Same goes to @mail.

Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1443
  • Reputation:   337
  • Joined:  10/17/12
  • Last Seen:  

@ mail works fine when I tested on 8e3da7ffedbe502c0f788edeaa82a88ff5fe2b37

Hello Stolao,

How to change from via mail to direct player. Where i need to change ?

Thanks.

Replace SQL query with get item, but why this prevents issue of overweight or too many items and not reciving rewards.

It because my mailbox service doesn't work. There have a problem on open mail. Same goes to @mail.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  44
  • Reputation:   9
  • Joined:  03/07/13
  • Last Seen:  

Hello i get this error.

 

[Error]: script_rid2sd: fatal error ! player not attached!

[Debug]: Function: strcharinfo (1 parameter):
[Debug]: Data: number value=0
[Debug]: Source (NPC):Event information at prontera (164,171)
 
Any one?
  • Upvote 1
Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1443
  • Reputation:   337
  • Joined:  10/17/12
  • Last Seen:  

Hello i get this error.

[Error]: script_rid2sd: fatal error ! player not attached!

[Debug]: Function: strcharinfo (1 parameter):

[Debug]: Data: number value=0

[Debug]: Source (NPC):Event information at prontera (164,171)

Any one?

Which event were you running?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  44
  • Reputation:   9
  • Joined:  03/07/13
  • Last Seen:  

I tried Lucky event.

Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1443
  • Reputation:   337
  • Joined:  10/17/12
  • Last Seen:  

I tried Lucky event.

I'll test see if I can find bug.

Updated and Fixed

Link to comment
Share on other sites

  • 3 weeks later...

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

Hey Stolao I got this error testing Lucky Pick.

 

I was using the GM account and joined the chatroom. I was alone in the chatroom. When the countdown is over this happened:

 

[Error]: script_rid2sd: fatal error ! player not attached!
[Debug]: Function: announce (2 parameters):
[Debug]: Data: string value="Event Stopped! Not Enough Players Joined the Lucky Pick!"
[Debug]: Data: number value=18
[Debug]: Source (NPC): Event Information at prontera (164,171)
 
No message in game saying event stopped and when I do @runevent it tells me an event is running and unable to start new event
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  51
  • Topics Per Day:  0.01
  • Content Count:  192
  • Reputation:   9
  • Joined:  05/08/13
  • Last Seen:  

Using the latest SVN

 

Upon testing a few days ago, some bugs I can recall of:

 

-Lucky Pick nothing happens despite sufficient players.

-Cluckers won't activate through timed schedule but works via @runevent. (no consle msg either)

-Some events will keep running even after it has ended.

-Manhunt, after warp to map nothing really happens. (sorry no additional info)

-LMS, missing npcs from enablenpc line.

 

With regards to issues with mail, I can confirm that the latest svn with the newer client doesn't support Mail but only rodex which isn't functional as well.

Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1443
  • Reputation:   337
  • Joined:  10/17/12
  • Last Seen:  

Using the latest SVN

Upon testing a few days ago, some bugs I can recall of:

-Lucky Pick nothing happens despite sufficient players.

-Cluckers won't activate through timed schedule but works via @runevent. (no consle msg either)

-Some events will keep running even after it has ended.

-Manhunt, after warp to map nothing really happens. (sorry no additional info)

-LMS, missing npcs from enablenpc line.

With regards to issues with mail, I can confirm that the latest svn with the newer client doesn't support Mail but only rodex which isn't functional as well.

Ty for reports I'll update with fixes soon, also I'll update with a mail less version.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  51
  • Topics Per Day:  0.01
  • Content Count:  192
  • Reputation:   9
  • Joined:  05/08/13
  • Last Seen:  

 

Using the latest SVN

Upon testing a few days ago, some bugs I can recall of:

-Lucky Pick nothing happens despite sufficient players.

-Cluckers won't activate through timed schedule but works via @runevent. (no consle msg either)

-Some events will keep running even after it has ended.

-Manhunt, after warp to map nothing really happens. (sorry no additional info)

-LMS, missing npcs from enablenpc line.

With regards to issues with mail, I can confirm that the latest svn with the newer client doesn't support Mail but only rodex which isn't functional as well.

Ty for reports I'll update with fixes soon, also I'll update with a mail less version.

 

 

No problem! Sorry for the lack of info, I'll try to update my post should I have more time.

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...