-
Posts
10 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Crowdfunding
Posts posted by shefer
-
-
-
Hello, everybody.
I tried
setmapflag "prontera", mf_nightenabled;
It was tested, but it didn't work.
Also, I plan to use it on my own custom maps, including instance.
Only the specified map turns into night, and I don't know how to do that.
it didn't work
-
Thank you.
I haven't tried to add a new script command myself.
Thank you for your answer.
On 11/18/2022 at 1:13 AM, Tokei said:Heya,
You can create a new script command:
static int buildin_killmonsterarea_sub(struct block_list *bl,va_list ap) { int x1 = va_arg(ap, int); int y1 = va_arg(ap, int); int x2 = va_arg(ap, int); int y2 = va_arg(ap, int); if (x1 <= bl->x && bl->x <= x2 && y2 <= bl->y && bl->y <= y1) status_kill(bl); return 0; } BUILDIN_FUNC(killmonsterarea) { const char *mapname; int16 m; int x1, x2, y1, y2; mapname=script_getstr(st,2); if( (m = map_mapname2mapid(mapname))<0 ) return 0; x1=script_getnum(st,3); y1=script_getnum(st,4); x2=script_getnum(st,5); y2=script_getnum(st,6); map_foreachinmap(buildin_killmonsterarea_sub,m,BL_MOB, x1, y1, x2, y2); return SCRIPT_CMD_SUCCESS; } // def BUILDIN_DEF(killmonsterarea,"siiii"),
Thank you.
I haven't tried to add a new script command myself.
Thank you for your answer.
-
Hello, everybody!
I know that the commands 'killmonster' and 'killmonsterall' are used to clear monsters from the map, but they are used to clear all areas of the map, not parts of the map.
How to clear monsters in an area of the map.
-
-
Sir, how does it support encrypted grf.
Decrypt first and then patch. After the patch is done, re-encrypt it?
Whether it needs to save the encrypted password for encryption and decryption. -
playBGMall "37";
playBGM "37";
Neither of these works.
Then I searched directly for the playBGM script in the npc file, and it didn't trigger either.
What's the reason for this
Great God for Help
-
How to monitor the player's use of an item with a script and prompt him when triggered.
Like using potions, or using butterfly wings.
Blind effects do not cover Full Screen
in General Support
Posted
This is not clear.
How big is normal.
Use
specialeffect2 475;
Using this can do full screen cover.
I don't know where to tweak these effects.