![]() |
FUNCTION f_onchar_create not working? - Printable Version +- SphereCommunity (https://forum.spherecommunity.net) +-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d) +--- Forum: General Help (/Forum-General-Help) +--- Thread: FUNCTION f_onchar_create not working? (/Thread-FUNCTION-f-onchar-create-not-working) |
FUNCTION f_onchar_create not working? - x77x - 06-01-2017 09:34 AM Code: [FUNCTION f_onchar_create] no skills, no go, no events RE: FUNCTION f_onchar_create not working? - WRWR - 06-01-2017 10:01 AM looks like not work for me too RE: FUNCTION f_onchar_create not working? - x77x - 06-01-2017 11:07 AM anytime i use the latest i spend more problems fixing new errors RE: FUNCTION f_onchar_create not working? - Coruja - 06-01-2017 02:45 PM f_onchar_create is working fine here I tested using SRC.NAME=Testing and the char got created with NAME=Testing without any problems but set stats/skills doesn't make effect on f_onchar_create because sphere will set default stats/skills for selected profession/skills after f_onchar_create, so if you set custom values on f_onchar_create they will be replaced with default values later. So the most recommended solution is replace all these 60 lines with this simple code Code: [FUNCTION f_onchar_create] maybe when I get some free time I can take a look on the code to check if the default stats/spells can be set before f_onchar_create to avoid values being replaced later, but for now TIMERF 1 is the best solution RE: FUNCTION f_onchar_create not working? - Abysmalice - 01-28-2021 05:03 PM Where can this script be found at? I've looked through everything I'm sure of and haven't found it. |