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
FUNCTION f_onchar_create not working?
Author Message
x77x
Master
**

Posts: 488
Likes Given: 0
Likes Received: 15 in 15 posts
Joined: Mar 2012
Reputation: -4



Post: #1
FUNCTION f_onchar_create not working?
Code:
[FUNCTION f_onchar_create]
// This function is called before an account character got created.
// Variables:
//    SRC   --> Character being created
//    ARGN1 --> Feature flags sent by client
//    ARGN2 --> Character profession (0=Advanced, 1=Warrior, 2=Mage, 3=Blacksmith, 4=Necromancer, 5=Paladin, 6=Samurai, 7=Ninja)
//    ARGN3 --> Character race (1=Human, 2=Elf, 3=Gargoyle)
//    ARGS  --> Account name
//    ARGO  --> Client creating the character
// Return:
//    0 --> Allow character creation (default action)
//    1 --> Deny character creation

//f_meditation_setup    //Uncomment this line to enable passive meditation (more info on sphere_skills.scp)
SRC.Alchemy=50.0
SRC.Anatomy=50.0
SRC.AnimalLore=50.0
SRC.ItemId=50.0
SRC.ArmsLore=50.0
SRC.Parrying=50.0
SRC.Begging=50.0
SRC.Blacksmithing=50.0
SRC.Bowcraft=50.0
SRC.Peacemaking=50.0
SRC.Camping=50.0
SRC.Carpentry=50.0
SRC.Cartography=50.0
SRC.Cooking=50.0
SRC.DetectingHidden=50.0
SRC.Enticement=50.0
SRC.EvaluatingIntel=50.0
SRC.Healing=50.0
SRC.Fishing=50.0
SRC.Forensics=50.0
SRC.Herding=50.0
SRC.Hiding=50.0
SRC.Provocation=50.0
SRC.Inscription=50.0
SRC.LockPicking=50.0
SRC.Magery=50.0
SRC.MagicResistance=50.0
SRC.Tactics=50.0
SRC.Snooping=50.0
SRC.Musicianship=50.0
SRC.Poisoning=50.0
SRC.Archery=50.0
SRC.SpiritSpeak=50.0
SRC.Stealing=50.0
SRC.Tailoring=50.0
SRC.Taming=50.0
SRC.TasteId=50.0
SRC.Tinkering=50.0
SRC.Tracking=50.0
SRC.Veterinary=50.0
SRC.Swordsmanship=50.0
SRC.Macefighting=50.0
SRC.Fencing=50.0
SRC.Wrestling=50.0
SRC.Lumberjacking=50.0
SRC.Mining=50.0
SRC.Meditation=50.0
SRC.Stealth=50.0
SRC.RemoveTrap=50.0
SRC.Necromancy=0
SRC.Focus=0
SRC.Chivalry=0
SRC.Bushido=0
SRC.Ninjitsu=0
SRC.Spellweaving=0
SRC.Mysticism=0
SRC.Imbuing=0
SRC.Throwing=50.0
SRC.SPELLEFFECT 6 1
SRC.GO 5183,1167,0
SRC.EVENTS +e_players

no skills, no go, no events

Dragons of Time 2000-2020
http://dragonsoftime.com
(This post was last modified: 06-01-2017 09:35 AM by x77x.)
06-01-2017 09:34 AM
Find all posts by this user Like Post Quote this message in a reply
[+] 1 user Likes x77x's post
Post Reply 


Messages In This Thread
FUNCTION f_onchar_create not working? - x77x - 06-01-2017 09:34 AM

Forum Jump:


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