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
Bulletin Board Question
Author Message
amonvangrell
Banned

Posts: 337
Likes Given: 17
Likes Received: 32 in 20 posts
Joined: Aug 2012

britannia shard

Post: #1
Bulletin Board Question
Hi guys, I was here trying to create a bulletin board that would hold some quests. And I just realized that I have no idea how to add msgs to the bulletin board.

I saw on the wiki that the type t_bboard can hold items of the type t_message.
Code:
This type is a bulleting board container that holds t_message items. It leverages the following properties:
TDATA2 = The gumpID of the container
TDATA3 = The minimum gump size
TDATA4 = The maximum gump size
But how? Can any of those masters help me here with a simple hi world example?
Thanks!

Okay now I manage to create the board with an empty message inside.
Code:
[ITEMDEF i_quest_board]
DEFNAME=i_quest_bb
ID=01e5e
NAME=Quest Board
TYPE=t_bboard
TDATA2=0866
FLIP=1
VALUE=80
WEIGHT=25.3

CATEGORY=Britania Shard
SUBSECTION=Quest Bulletin Board
DESCRIPTION=Quest Bulletin Board

ON=@Create
ref1=<uid>
SERV.NEWITEM={ i_quest_1 }
    NEW.CONT=<ref1>

[Itemdef i_quest_1]
id=i_vase_rose
name=Quest Avatar
type=t_message

how to make the gump of the message a custom one?
I have tried to use tdata2=my gump no success...
(This post was last modified: 05-16-2014 07:52 AM by amonvangrell.)
05-16-2014 07:32 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
Bulletin Board Question - amonvangrell - 05-16-2014 07:32 AM
RE: Bulletin Board Question - Feeh - 05-16-2014, 08:04 AM
RE: Bulletin Board Question - Alaric - 05-16-2014, 08:23 AM
RE: Bulletin Board Question - amonvangrell - 05-16-2014, 08:29 AM
RE: Bulletin Board Question - Feeh - 05-16-2014, 08:44 AM
RE: Bulletin Board Question - Alaric - 05-16-2014, 08:31 AM
RE: Bulletin Board Question - amonvangrell - 05-16-2014, 07:06 PM
RE: Bulletin Board Question - Feeh - 05-17-2014, 12:50 AM
RE: Bulletin Board Question - amonvangrell - 05-17-2014, 07:22 AM
RE: Bulletin Board Question - Alaric - 05-17-2014, 08:11 AM
RE: Bulletin Board Question - Feeh - 05-17-2014, 07:33 AM
RE: Bulletin Board Question - RanXerox - 06-02-2014, 03:25 AM

Forum Jump:


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