Jump to content

Recommended Posts

Posted (edited)
On 1/27/2017 at 3:03 AM, Emistry said:

setarray .monster,
			PORING,
			DROPS,
			MARIN,
			POPORING;

replace with monster id.

i tried a few things but it has alot of variables and i cant get why its broken

Edited by mirabell
Posted
12 hours ago, mirabell said:

i tried a few things but it has alot of variables and i cant get why its broken

any post console errors if any? whats the issue?

Posted (edited)
On 4/20/2017 at 11:35 AM, akosivinmark said:

Experienced the same problem. How to make mushrooms and monsters invulnerable?

Edit: Got mine working properly.

map.c

Looks like set_cell function type is case sensitive.

Also, I put the set_cell line at OnMinute59: 

i changed  it to caps and still the same issue i can aoe mobs inside.

 

14 hours ago, Cyro said:

any post console errors if any? whats the issue?

no mapserver error

but you can kill the mushroom and mobs.

and your required to type a space after the answer

 

Edited by mirabell
Posted

I have no map server errors, mushrooms and porings are also invulnerable. Just need to remove set_cell basilica inside OnMinute00: and put it at OnMinute59

Posted
4 hours ago, mirabell said:

i changed  it to caps and still the same issue i can aoe mobs inside.

 

no mapserver error

but you can kill the mushroom and mobs.

and your required to type a space after the answer

 

i just tested the script, working good no issues

may be u using older version download latest version in tehre

Posted

Hello @mirabell, Try this.

Find and Delete line.

Quote

setcell .map$,.xy_area[0],.xy_area[1],.xy_area[2],.xy_area[3],cell_basilica,1;
setcell .map$,.xy_area[0],.xy_area[1],.xy_area[2],.xy_area[3],cell_walkable,1;

Find:

Quote

OnMinute00:

Add before:

Quote

OnMinute59:
            setcell .map$,.xy_area[0],.xy_area[1],.xy_area[2],.xy_area[3],CELL_BASILICA,1;
            setcell .map$,.xy_area[0],.xy_area[1],.xy_area[2],.xy_area[3],CELL_WALKABLE,1;

Should make the monster invulnerable after that, I do not know why the set_cell was being skipped there, but this worked for me. setting the cell a minute before the event starts. Hope this helps! :D

  • Upvote 1
  • 3 months later...
  • 2 years later...
Posted

i got this errores when i add the script
[Warning]: script: buildin_getmapxy: Invalid type 0.
[Debug]: Source (NPC): Monster Counting Game at prontera (155,181)
[Debug]: (map_mapname2mapid) mapindex_name2id: Map "" not found in index list!
[Debug]: (map_mapname2mapid) mapindex_name2id: Map "" not found in index list!
[Error]: buildin_getmapxy: fatal error ! player not attached!
[Debug]: Function: getmapxy (4 parameters):
[Debug]: Data: variable name='.map$' index=0
[Debug]: Data: variable name='.npc_x' index=0
[Debug]: Data: variable name='.npc_y' index=0
[Debug]: Data: number value=1
[Debug]: Source (NPC): Monster Counting Game at prontera (155,181)
 

  • 3 months later...
  • 2 weeks later...
Posted (edited)

after guessing the right answer, mobs wont get killed and players can spam the right answer and get the rewards in spam too. using the latest version

@Emistry

Edited by Ruhn

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...