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:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Elves issue
Author Message
Incanus
Apprentice
*

Posts: 2
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Mar 2012
Reputation: 0



Post: #3
RE: Elves issue
Take a look at the f_onchar_create function in sphere_serv_triggers.scp
You could do something like this:

Code:
// This function is called after client have created a new char.
// SRC   --> char being created
// ARGN1 --> flags
// ARGN2 --> profession chosen
// ARGN3 --> elf
// ARGS  --> account name
// ARGO  --> the client creating the character
[FUNCTION f_onchar_create]
IF <SRC.OBODY>==c_elf_male
    SRC.OBODY c_man
    SRC.BODY c_man
ELSEIF <SRC.OBODY>==c_elf_female
    SRC.OBODY c_woman
    SRC.BODY c_woman
ENDIF

There are still missing checks for hair/beard and skin color ..
03-30-2012 08:38 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Elves issue - Kyrbis - 03-30-2012, 07:41 AM
RE: Elves issue - admin phoenix - 03-30-2012, 08:33 PM
RE: Elves issue - Incanus - 03-30-2012 08:38 PM
RE: Elves issue - Kyrbis - 03-31-2012, 02:29 AM

Forum Jump:


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