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
Basic script but...
Author Message
Onirim
Journeyman
*

Posts: 64
Likes Given: 0
Likes Received: 1 in 1 posts
Joined: Jul 2012
Reputation: 0

UO: Rebellion

Post: #1
Basic script but...
It's a very basic script, and unfortunately I've a problem with it.

I've a gump menu for character creation, and I want to put some items on chars with the attribute newbie.

So I've dont that:
Code:
[DIALOG d_creation_class BUTTON]
ON=1050
    DIALOG d_creation_peuple
ON=1051
    if (<SRC.ID> = c_man)
        ITEMNEWBIE=i_shirt_plain
        COLOR=colors_all
        ITEMNEWBIE=random_pants
        COLOR=colors_neutral
        ITEMNEWBIE=random_shoes
        COLOR=colors_neutral
        ITEMNEWBIE=i_dagger
        ITEMNEWBIE=i_candle
        ITEMNEWBIE=i_book_sm
        ITEMNEWBIE=i_gold,1000
    else
        ITEMNEWBIE=i_shirt_plain
        COLOR=colors_all
        ITEMNEWBIE=random_skirt
        COLOR=colors_neutral
        ITEMNEWBIE=random_shoes
        COLOR=colors_neutral
        ITEMNEWBIE=i_dagger
        ITEMNEWBIE=i_candle
        ITEMNEWBIE=i_BOOK_SM
        ITEMNEWBIE=i_gold,1000
    endif
    GO 2153,1837
But when I make choice in the menu, I'm just teleported to my destination, and Sphere telle me
Code:
16:49:ERROR:(creation.scp,367)Undefined keyword 'ITEMNEWBIE'

What the hell ? Big Grin
12-31-2012 02:02 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Basic script but... - Onirim - 12-31-2012 02:02 AM
RE: Basic script but... - Mordaunt - 12-31-2012, 02:21 AM
RE: Basic script but... - Onirim - 12-31-2012, 02:45 AM
RE: Basic script but... - Onirim - 12-31-2012, 05:30 PM
RE: Basic script but... - Onirim - 12-31-2012, 08:29 PM
RE: Basic script but... - Ben - 01-01-2013, 01:09 AM
RE: Basic script but... - RanXerox - 01-01-2013, 01:22 PM
RE: Basic script but... - Ben - 01-02-2013, 06:19 AM

Forum Jump:


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