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
Question
Author Message
rastrero
Master
**

Posts: 250
Likes Given: 41
Likes Received: 28 in 24 posts
Joined: Jan 2016
Reputation: 3



Post: #1
Question
hi there! Smile


I want to change the run/stamina system.

I want to let run even if the char got 0 stam...

is it possible? Its important for me to find a way to make this.
01-13-2016 03:23 PM
Find all posts by this user Like Post Quote this message in a reply
Criminal
Journeyman
*

Posts: 182
Likes Given: 38
Likes Received: 22 in 22 posts
Joined: Jun 2015
Reputation: 0

SantiagoUO.com

Post: #2
RE: Question
if i remember it is clientside

[Image: mfqAZnj.png]
Discord: SantiagoUO
Skype:
criminaluo
01-13-2016 04:56 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
rastrero
Master
**

Posts: 250
Likes Given: 41
Likes Received: 28 in 24 posts
Joined: Jan 2016
Reputation: 3



Post: #3
RE: Question
(01-13-2016 04:56 PM)Criminal Wrote:  if i remember it is clientside

I think it too... but anyway to skip or avoid?
01-13-2016 05:17 PM
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: #4
RE: Question
http://wiki.sphere.torfo.org/index.php/@PersonalSpace

Personal space allows you to shove and lose no stamina (ARGN1=0), but you must have full stamina in order to shove. If you don't have full stamina, I don't know how to allow the shove to take place.

As for clients, I believe there are one or two modified ones which allow you to shove regardless of your stamina, but they were considered as an hack in some servers.
(This post was last modified: 01-13-2016 10:25 PM by pointhz.)
01-13-2016 10:24 PM
Find all posts by this user Like Post Quote this message in a reply
Artyk
Journeyman
*

Posts: 75
Likes Given: 43
Likes Received: 9 in 9 posts
Joined: Sep 2014
Reputation: 0



Post: #5
RE: Question
You could prevent the stamina to go low (eg. if it drops under 50%)
01-13-2016 10:52 PM
Find all posts by this user Like Post Quote this message in a reply
Criminal
Journeyman
*

Posts: 182
Likes Given: 38
Likes Received: 22 in 22 posts
Joined: Jun 2015
Reputation: 0

SantiagoUO.com

Post: #6
RE: Question
(01-13-2016 10:24 PM)pointhz Wrote:  As for clients, I believe there are one or two modified ones which allow you to shove regardless of your stamina, but they were considered as an hack in some servers.

Yes, but if you have 0 stam you can't

[Image: mfqAZnj.png]
Discord: SantiagoUO
Skype:
criminaluo
01-13-2016 11:11 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
rastrero
Master
**

Posts: 250
Likes Given: 41
Likes Received: 28 in 24 posts
Joined: Jan 2016
Reputation: 3



Post: #7
RE: Question
ok. I got a solution, but i dont want to use it cos its nos fine for me...
The think i want to make is to let the people walk but not run with low stam.

MY solution:

ON=@UserStats
IF (<stam><2)
stam=1
endif

This way works, but this script goona execute to much times so i dont want to use it and overload pc... Is there any alternative method?
if there a normal walking trigger? How can I do it?

ty all
01-14-2016 02:12 AM
Find all posts by this user Like Post Quote this message in a reply
Kanibal
Master
**

Posts: 255
Likes Given: 6
Likes Received: 30 in 28 posts
Joined: Jun 2012
Reputation: 0



Post: #8
RE: Question
Sphere.ini
Code:
// This is the percent of max weight at which stamina is lost half the time
// (200 = no effect)
StaminaLossAtWeight=150

somewhere in *.scp
Code:
ON=@PersonalSpace
Return 1
Bye

Or you can modify sphere source code X_X

Grandmaster Localhost Admin
(This post was last modified: 01-14-2016 02:32 AM by Kanibal.)
01-14-2016 02:31 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
zottolo
Journeyman
*

Posts: 87
Likes Given: 8
Likes Received: 12 in 11 posts
Joined: Dec 2015
Reputation: 0



Post: #9
RE: Question
i would go for this...

ON=@environchange
if <stam> < <dex>
etc etc
01-14-2016 02:39 AM
Find all posts by this user Like Post Quote this message in a reply
rastrero
Master
**

Posts: 250
Likes Given: 41
Likes Received: 28 in 24 posts
Joined: Jan 2016
Reputation: 3



Post: #10
RE: Question
(01-14-2016 02:39 AM)zottolo Wrote:  i would go for this...

ON=@environchange
if <stam> < <dex>
etc etc

hmm I think ur knolowge is not enought to answer this question.
Nice try but environchange dosnt execute the often i need. It will not work.
ty for answer anyway.

(01-14-2016 02:31 AM)Kanibal Wrote:  Sphere.ini
Code:
// This is the percent of max weight at which stamina is lost half the time
// (200 = no effect)
StaminaLossAtWeight=150
Dosnt work for what I want to do. But ty for the answer.
somewhere in *.scp
Code:
ON=@PersonalSpace
Return 1
Bye

Or you can modify sphere source code X_X

How can i make this? where can i get tools? ty
(This post was last modified: 01-14-2016 02:46 AM by rastrero.)
01-14-2016 02:44 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)