The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 786 - File: showthread.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/showthread.php 786 errorHandler->error






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Custom Character Creation script
Author Message
Archaaz
Journeyman
*

Posts: 98
Likes Given: 12
Likes Received: 4 in 4 posts
Joined: Aug 2013
Reputation: 1



Post: #1
Custom Character Creation script
I am trying to use the following menu, and a few others like it, as part of a custom character creation process using ON=@LOGIN. Basically, I want to attach a number of permanent tags to the character, some random and some selected, among other things. Everything seems to work except the menus.

Upon logging in, the first menu (listed below) shows up, with a list of possible towns to choose from, and a choice of cancel or continue. Upon selecting a town and choosing 'continue' or 'cancel' (or upon right clicking) I receive am 'Unexpected Menu Info' sysmessage, and the script ends. I have tried troubleshooting various fixes, including removing the SRC.TAG bit from each entry, reformatting, and countless other things..

I likewise tried a scrolling menu, with 1, 2, 3, etc. instead of 0 for each entry, but it just presented a small scrolling menu with some strange graphics (ankhs, a person, and a no draw), and had the same error.

Quote:[MENU m_birthtown]
Choose the Town of Your Birth:

ON=0 Britain
SRC.TAG.TOWNBIRTH = Britain
MENU m_virtue
ON=0 Jhelom
SRC.TAG.TOWNBIRTH = Jhelom
MENU m_virtue
ON=0 Minoc
SRC.TAG.TOWNBIRTH = Minoc
MENU m_virtue
ON=0 Moonglow
SRC.TAG.TOWNBIRTH = Moonglow
MENU m_virtue
ON=0 New Magincia
SRC.TAG.TOWNBIRTH = New Magincia
MENU m_virtue
ON=0 Skara Brae
SRC.TAG.TOWNBIRTH = Skara Brae
MENU m_virtue
ON=0 Trinsic
SRC.TAG.TOWNBIRTH = Trisic
MENU m_virtue
ON=0 Yew
SRC.TAG.TOWNBIRTH = Yew
MENU m_virtue
ON=0 Bucanneer's Den
SRC.TAG.TOWNOFBIRTH = Bucaneer's Den
MENU m_virtue
ON=0 Cove
SRC.TAG.TOWNBIRTH = Cove
MENU m_virtue
ON=0 Serpent's Hold
SRC.TAG.TOWNBIRTH = Serpent's Hold
MENU m_virtue
ON=0 Vesper
SRC.TAG.TOWNBIRTH = Vesper
MENU m_virtue

ON=@Cancel
MENU m_birthtown
RETURN

I know this is pretty simple stuff, but what am I doing wrong?
09-23-2013 05:24 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Custom Character Creation script - Archaaz - 09-23-2013 05:24 AM
RE: Custom Character Creation script - XuN - 09-23-2013, 05:53 PM

Forum Jump:


User(s) browsing this thread: 3 Guest(s)