Jump to content
  • 0

Name Change Script


SkyDragon

Question


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  28
  • Reputation:   1
  • Joined:  12/01/11
  • Last Seen:  

Hello there,

I am trying to use a custom item (ticket) so the players can use it to change their names inside the game, but the ticket is not working properly.

Can anyone help me to fix it?

Link: https://pastebin.com/BgSPz65s

item_db: 

30010,name_change,Ticket Name Change,11,5000,,30,,,,,0xFFFFFFFF,63,2,,,,,,{ callfunc "Name_Change"; },{},{}

Error:

[Error]: script:run_script_main: infinity loop !
[Debug]: Source (NPC): FAKE_NPC (invisible/not on a map)

Thanks in advance!

Edited by SkyDragon
Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  110
  • Reputation:   56
  • Joined:  05/29/18
  • Last Seen:  

Are you using renewal mode? If yes why dont use item#12790 

Item Link : Click Here

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  28
  • Reputation:   1
  • Joined:  12/01/11
  • Last Seen:  

17 minutes ago, Katakuri said:

Are you using renewal mode? If yes why dont use item#12790 

Item Link : Click Here

No, renewal is disabled.

item_db: 

30010,name_change,Ticket Name Change,11,5000,,30,,,,,0xFFFFFFFF,63,2,,,,,,{ callfunc "Name_Change"; },{},{}

Edited by SkyDragon
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  110
  • Reputation:   56
  • Joined:  05/29/18
  • Last Seen:  

4 hours ago, SkyDragon said:

No, renewal is disabled.

item_db: 

30010,name_change,Ticket Name Change,11,5000,,30,,,,,0xFFFFFFFF,63,2,,,,,,{ callfunc "Name_Change"; },{},{}

I think you can just migrate the item from renewal to pre-renewal

  • Upvote 1
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...