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






Post Reply 
 
Thread Rating:
  • 1 Votes - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Got a couple of questions
Author Message
larmc20
Journeyman
*

Posts: 67
Likes Given: 0
Likes Received: 1 in 1 posts
Joined: May 2013
Reputation: 0



Post: #4
RE: Got a couple of questions
I am having a problem to start a dialog when some player create a new char!!

I don't know how to add the FUNCTION f_onchar_create.

well... I have this:
PHP Code:
// This function is called before server is going to save.
// ARGN1 --> save is forced (writable)
// ARGN2 --> save stage (for backgroud save goes 1 to 6146 [sector count + 2])
// RETURN
//      0 --> normal action (save)
//      1 --> denyes save
[FUNCTION f_onserver_save

AND THE DIALOG I WANNA START ON CREATE CHAR.

PHP Code:
[DIALOG d_cadastros]
99,51
NOCLOSE
NOMOVE
NODISPOSE
page 0
resizepic 93 52 9200 354 388
gumppic 197 70 100
text 235 84 0 0
text 218 125 0 1
gumppic 90 27 52
htmlgump 175 184 200 100 2 1 1
gumppic 102 296 2430
textentry 120 301 308 20 0 1 3
textentry 117 332 308 20 0 2 4
textentry 120 362 304 20 0 3 5
button 235 411 247 248 1 0 0

[DIALOG d_cadastros text]
Bem-Vindo
Conamidia Shard
Boa tarde
Seja bem vindo ao Conamídia ShardAqui você encontrará aventuras e diversão com outros jogadoresRespeite os jogadores assim como o servidorO intuito do servidor e proporcionar diversão a todosCaso encontre algum bugfavor contatar os responsáveis pelos servidor.

Nome Completo
E
-mail
RG

[DIALOG d_cadastros button]
ON=0
WRITEFILE cadastros
.scp Conta=<src.account>
wRITEFILE cadastros.scp NAME=<ARGTXT[1]>
WRITEFILE Cadastros.scp EMAIL=<ARGTXT[2]>
WRITEFILE Cadastros.scp RG=<ARGTXT[3]>
[
EOF

What have I got to do to make it work? I tried to add the function on the script but it didnt work.
06-06-2013 03:43 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Got a couple of questions - Leonidas - 05-31-2013, 06:45 AM
RE: Got a couple of questions - RanXerox - 05-31-2013, 06:54 AM
RE: Got a couple of questions - Leonidas - 05-31-2013, 07:16 AM
RE: Got a couple of questions - larmc20 - 06-06-2013 03:43 AM
RE: Got a couple of questions - darksun84 - 06-06-2013, 04:08 AM
RE: Got a couple of questions - larmc20 - 06-06-2013, 07:20 AM
RE: Got a couple of questions - darksun84 - 06-06-2013, 08:42 AM
RE: Got a couple of questions - RanXerox - 06-06-2013, 08:31 AM
RE: Got a couple of questions - larmc20 - 06-06-2013, 12:22 PM
RE: Got a couple of questions - dagger4k - 06-06-2013, 05:00 PM
RE: Got a couple of questions - Rattlehead - 06-08-2013, 12:51 PM

Forum Jump:


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