Jump to content
Alayne

Alayne's Scripts Collection

Recommended Posts

On 3/4/2018 at 1:06 AM, Alayne said:

@MikZ resnametable have been added. Gonna look for the worldboss issue.

Edit: Allright, fixed and pushed. You can get the last version from my github, tell me if you find other issues

Hi @Alayne

Im still getting these error in wold boss.

[Debug]: Source (NPC): WorldBoss (invisible/not on a map)
[Debug]: Source (NPC): WorldBoss (invisible/not on a map)
[Debug]: Source (NPC): WorldBoss (invisible/not on a map)
[Debug]: Source (NPC): WorldBoss (invisible/not on a map)
[Debug]: Source (NPC): WorldBoss (invisible/not on a map)


Also just want to ask in your event master. what does this script means?

set .start05,0; vs set .start06,1; whats the differences? 

	if (.autoStart == 1 && .start01 == 1)
OnClock2300:
	if (.autoStart == 1 && .start23 == 1)
	{
		goto StartRandomEvent;
	}
	end;
OnClock0000:
	if (gettime(4) == 0)
	{
		set .invasorActivated, 0;
	}
	if (.autoStart == 1 && .start24 == 1)
	{
		goto StartRandomEvent;
	}
	end;


OnInit:
	set .autoStart, 1;
	set .start01, 0;
	set .start02, 0;
	set .start03, 0;
	set .start04, 0;
	set .start05, 0;
	set .start06, 1;
	set .start07, 1;
	set .start08, 1;
	set .start09, 1;
	set .start10, 1;
	set .start11, 1;
	set .start12, 1;
	set .start13, 1;
	set .start14, 1;
	set .start15, 1;
	set .start16, 1;
	set .start17, 1;
	set .start18, 1;
	set .start19, 1;
	set .start20, 1;
	set .start21, 1;
	set .start22, 1;
	set .start23, 1;
	set .start24, 0;

 

Share this post


Link to post
Share on other sites
6 hours ago, Alayne said:

those variables means "start an event at 5, start an event at 6. If 0, then doesn't start, if 1 then start"

Got it! thnx!

Share this post


Link to post
Share on other sites
[Error]: map_instance_mapid2imapid: already instanced (904 / 0)
[Error]: buildin_areamonster: Trying to spawn monster (1742) on instance map (1@ch) without instance attached.
[Debug]: Source (NPC): champion_arena at 1@ch (101,107)
[Error]: map_instance_mapid2imapid: already instanced (904 / 0)
[Error]: buildin_areamonster: Trying to spawn monster (1437) on instance map (1@ch) without instance attached.
[Debug]: Source (NPC): champion_arena at 1@ch (101,107)
[Error]: map_instance_mapid2imapid: already instanced (904 / 0)
[Error]: buildin_areamonster: Trying to spawn monster (1687) on instance map (1@ch) without instance attached.
[Debug]: Source (NPC): champion_arena at 1@ch (101,107)
[Error]: map_instance_mapid2imapid: already instanced (904 / 0)
[Error]: buildin_areamonster: Trying to spawn monster (1680) on instance map (1@ch) without instance attached.
[Debug]: Source (NPC): champion_arena at 1@ch (101,107)
[Error]: map_instance_mapid2imapid: already instanced (904 / 0)
[Error]: buildin_areamonster: Trying to spawn monster (1614) on instance map (1@ch) without instance attached.
[Debug]: Source (NPC): champion_arena at 1@ch (101,107)

Cant make the instances work on Hercules, Am I missing something? Anyway hope someone can help me on this.
I tried Champion Arena and DevilSquare same error above. Thanks for the scripts by the way, great work, I managed to implement Mining system suscessful.

Edited by TheReturn

Share this post


Link to post
Share on other sites

please fix Word Event not working.. preg_match error, if change to pcre_match always try again.

Share this post


Link to post
Share on other sites

How to use these lines for skill_mob_db:

3254,T_W_O@WIDESTONE,chase,666,5,10000,500,20000,no,self,myhpltmaxrate,80,,,,,,,
3254,T_W_O@WIDESTONE,attack,666,5,10000,500,20000,no,self,myhpltmaxrate,80,,,,,,,
3254,T_W_O@NPC_WIDESOULDRAIN,attack,680,7,1000,500,5000,no,self,myhpltmaxrate,50,,,,,,42,
 

if my db looks like:

SCORPION: {
        NPC_FIREATTACK: {
            SkillState: "MSS_BERSERK"
            SkillLevel: 1
            Rate: 2000
            Delay: 5000
            Cancelable: true
            SkillTarget: "MST_TARGET"
            CastCondition: "MSC_ALWAYS"
        }

 

Share this post


Link to post
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.   Restore formatting

  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.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.