Jump to content
  • 0

Need help with Event Script


gnashxalex

Question


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

When i add this event i got this error

Who can help me to solve this?, Thanks in advance.


[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)

Event made by Emistry. https://rathena.org/board/topic/98393-quests-games-monster-counting-game/

 

 

Monster Counting Game 1.2.txt

Edited by gnashxalex
Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  105
  • Topics Per Day:  0.02
  • Content Count:  446
  • Reputation:   229
  • Joined:  03/20/12
  • Last Seen:  

Change 0 to BL_PC then change 1 to BL_NPC from getmapxy codes

  • Upvote 1
  • MVP 1
Link to comment
Share on other sites

  • 0

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

Fixed, Thanks Mabuhay

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
Answer this question...

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