Jump to content

Quests, Games: Monster Counting Game


Recommended Posts


  • Group:  Members
  • Topic Count:  41
  • Topics Per Day:  0.01
  • Content Count:  197
  • Reputation:   19
  • Joined:  11/20/11
  • Last Seen:  

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


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  1137
  • Reputation:   290
  • Joined:  04/29/13
  • Last Seen:  

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


  • Group:  Members
  • Topic Count:  41
  • Topics Per Day:  0.01
  • Content Count:  197
  • Reputation:   19
  • Joined:  11/20/11
  • Last Seen:  

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


  • Group:  Members
  • Topic Count:  33
  • Topics Per Day:  0.01
  • Content Count:  87
  • Reputation:   2
  • Joined:  03/30/16
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  1137
  • Reputation:   290
  • Joined:  04/29/13
  • Last Seen:  

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


  • Group:  Members
  • Topic Count:  33
  • Topics Per Day:  0.01
  • Content Count:  87
  • Reputation:   2
  • Joined:  03/30/16
  • Last Seen:  

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

  • 3 months later...

  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  30
  • Reputation:   2
  • Joined:  07/17/17
  • Last Seen:  

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

  • 2 years later...

  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.01
  • Content Count:  52
  • Reputation:   1
  • Joined:  08/19/18
  • Last Seen:  

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

  • 3 months later...

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  3
  • Reputation:   0
  • Joined:  07/13/17
  • Last Seen:  

@EmistryMy monster flee from his cage

 

Edited by oxob
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  123
  • Topics Per Day:  0.03
  • Content Count:  640
  • Reputation:   82
  • Joined:  04/07/14
  • Last Seen:  

Not working in the latest git.

 

image.png.aab734e7f5b5c0e914706c63e33c23a7.png

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2346
  • Joined:  10/28/11
  • Last Seen:  

Fixed in v1.3, redownload the files when it get approved in the system.

Link to comment
Share on other sites

  • 2 weeks later...

  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.01
  • Content Count:  45
  • Reputation:   1
  • Joined:  04/15/20
  • Last Seen:  

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