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-nmm6 (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-nmm6 (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-nmm6 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
one doubt
Author Message
jexnico
Journeyman
*

Posts: 191
Likes Given: 114
Likes Received: 3 in 3 posts
Joined: Jan 2014
Reputation: 0



Post: #1
Exclamation one doubt
sup

what command should i use for when a player creates a char, does the server create a dialog box on the player screen?

Quote:[FUNCTION f_onchar_create]
src.allskills 290
src.go 5387,1138
SRC.STR=100
SRC.HITS=100
SRC.DEX=100
SRC.STAM=100
SRC.INT=100
SRC.MANA=100
SRC.STONE 1
SERv. ??????? DIALOG_UP d_entrada <<<<<<<<

serv.allclients is for all users, i need a command that serves only a specific user
01-06-2018 02:34 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Soulless
Super Moderator
****

Posts: 335
Likes Given: 29
Likes Received: 49 in 27 posts
Joined: Jun 2012
Reputation: 12

Ye Olde Sphere

Post: #2
RE: one doubt
just src.dialog

if your having troubles with it showing up on character create do timerf 1,dialog d_entrada
01-06-2018 03:54 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
jexnico
Journeyman
*

Posts: 191
Likes Given: 114
Likes Received: 3 in 3 posts
Joined: Jan 2014
Reputation: 0



Post: #3
RE: one doubt
(01-06-2018 03:54 AM)Soulless Wrote:  just src.dialog

if your having troubles with it showing up on character create do timerf 1,dialog d_entrada

i tried to use src.dialog but I got an error

16:10:1:Setup_CreateDialog acct='jex3566', char='efefef'
16:10:ERROR:(functions4.scp,83)Can't trysrc SRC.SDIALOG d_entrada object efefef (028f4) with src efefef (028f4)
01-06-2018 04:14 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
amonvangrell
Banned

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

britannia shard

Post: #4
RE: one doubt
I solved this like this:

add to your sphere.ini a common event to all your players:
Code:
// Events related to all players
//EventsPlayer=your_event
EventsPlayer=e_popup

then you create a script with the event like this:
Code:
[EVENTS e_popup]
ON=@Login
SRC.DIALOG d_popup

if you want this popup to be opened only once, add a tag and a tagcheck.
hope it helps.
01-06-2018 07:50 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


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