Jump to content
Emistry

Quests, Games: Monster Counting Game

Recommended Posts

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
Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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
Link to comment
Share on other sites

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

Link to comment
Share on other sites

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
Link to comment
Share on other sites

Hello

once I reload script, NPC appear but mushroom and mobs not appear. who can help me on this

sorry for bad English

 

Link to comment
Share on other sites

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)
 

Link to comment
Share on other sites

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

Important Information

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