• 0
OmarAcero

Help: Script Invasor

Question

Posted (edited)

Hello friends, good day,
Can  someone with a good heart help me with this console error please?, I'm stuck there.

Spoiler

yE0EggR.jpg

The script only requires editing:
-In ./src/map/map.h, configure the following text line to avoid reaching the event queue limit:

Quote
#define MAX_EVENTQUEUE 12   //  [Ivion]

Attached this is the example script for hercules: The_Invasor.txt

Note1: GMs can enter to the Control Panel whispering to NPC:invasor . The Control Panel allows GMs to start a new custom invasion event or end the current one. Example: [NPC:invasor] [ open ] , whispear open or start to npc:invasor.

Note2: At the end I will share the script without errors for all.

Edited by OmarAcero

Share this post


Link to post
Share on other sites

2 answers to this question

  • 0

you need to have 12 monsters:

First 9 would be normal mob and other 3 as boss monster, but.you specified only 11 id

Onc1,"Aqua",1001,1002,1002,1002,1002,1001,1002,1001,1002,1001,1002;

 

Share this post


Link to post
Share on other sites
  • 0

Posted (edited)

@Dastgir  Thank you very much brother, the console error is no longer displayed.

I can ask you another question, please, now apparently the script works, I can start an invasion, but I have a problem with the monsters.
When the invasion begins the monsters appear, but they are instantly destroyed. I do not understand why, I'm stuck.

Spoiler

lhrmYZA.jpg

- Could you please guide me? Maybe something I need to edit ... 

-  Original Files: HERE

Edited by OmarAcero

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now