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
races bodies
Author Message
Osirirs
Journeyman
*

Posts: 73
Likes Given: 6
Likes Received: 4 in 2 posts
Joined: Feb 2014
Reputation: 2



Post: #31
RE: races bodies
Oooh its exactly what I was wondering, its pretty much the only explanation, thanks pointhz Smile and its exactly what I needed ^^
09-08-2015 03:27 AM
Find all posts by this user Like Post Quote this message in a reply
XuN
Sphere Developer
*****

Posts: 852
Likes Given: 102
Likes Received: 156 in 119 posts
Joined: Jul 2013
Reputation: 30



Post: #32
RE: races bodies
(09-08-2015 01:38 AM)pointhz Wrote:  @statchange only fires when a stat is changed through skill gain. That's why it wasnt working.

Keep the event e_statss with only:

On=@statchange
Return 1

That way you can be sure that players wont gain stats with skills, only through your race menu.

That's not true, @StatChange is firing in every change on stats: from SkillGain, typing .str ingame, via script or when using modstr, ostr... it works in every stat change.

If you want to disable stat gains change every stat-related variable from each skill in sphere_skills.scp to 0 so checks won't be made... or you can create a tag in @SkillGain and check that tag in the @StatChange to return 1 and remove it (you'll have to think a way to clear it if there was no gain intended to prevent some problems under other circumstances).

Using return 1 in @StatChange trigger will prevent you from changing stats IN ANY WAY, no gain from skills, no changes from GMs, no raises from items, etc

So if that trigger is not working for you... what build are you using? The most probable reason is that you are using a build older than the one with these changes.
09-08-2015 05:53 PM
Find all posts by this user Like Post Quote this message in a reply
Osirirs
Journeyman
*

Posts: 73
Likes Given: 6
Likes Received: 4 in 2 posts
Joined: Feb 2014
Reputation: 2



Post: #33
RE: races bodies
Well I am using 56b pre release, and updated spheresvr.exe with the most recent one in the downloads. Unless I have to get it somewhere else ? Where is the most recent and stable build ?
09-09-2015 03:12 AM
Find all posts by this user Like Post Quote this message in a reply
pointhz
Journeyman
*

Posts: 148
Likes Given: 1
Likes Received: 55 in 28 posts
Joined: Oct 2013
Reputation: 1



Post: #34
RE: races bodies
Alright Xun, thanks. I wrote what I understood from the wiki Tongue
09-09-2015 03:15 AM
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)