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
Kanibal
Master
**

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



Post: #11
RE: Question
(01-14-2016 02:44 AM)rastrero Wrote:  How can i make this? where can i get tools? ty

You need Visual Studio and (<src.c++> == 100.0)

Grandmaster Localhost Admin
01-14-2016 02:50 AM
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: #12
RE: Question
(01-14-2016 02:50 AM)Kanibal Wrote:  
(01-14-2016 02:44 AM)rastrero Wrote:  How can i make this? where can i get tools? ty

You need Visual Studio and (<src.c++> == 100.0)

and the sources?
01-14-2016 02:54 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: #13
RE: Question
(01-14-2016 02:54 AM)rastrero Wrote:  and the sources?

You'r blind? Open Source

Grandmaster Localhost Admin
(This post was last modified: 01-14-2016 02:59 AM by Kanibal.)
01-14-2016 02:57 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: #14
RE: Question
ok sorry
01-14-2016 03:06 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: #15
RE: Question
(01-14-2016 02:57 AM)Kanibal Wrote:  
(01-14-2016 02:54 AM)rastrero Wrote:  and the sources?

You'r blind? Open Source

Ty. No im not blind. I thought it was not an opensource, never look for it. ty.
01-14-2016 03:16 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: #16
RE: Question
(01-14-2016 03:16 AM)rastrero Wrote:  Ty. No im not blind. I thought it was not an opensource, never look for it. ty.

Firs thread at the top - "Open Source!" @_@

Grandmaster Localhost Admin
(This post was last modified: 01-14-2016 03:18 AM by Kanibal.)
01-14-2016 03:18 AM
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: #17
RE: Question
(01-14-2016 03:06 AM)zottolo Wrote:  ok sorry

xD i apreciate ur will to help. U dont have to sorry.
Im just saying Im highlvl sphere scripter, and u are a begginer.
Its not probably than u know anything I dont.
I recommend u to learn and use Spheretorfo wiki. if u want a quick tutorial of 20min by skype I can teach you some things to be more independent.
But i dont talk 2 much ita, just esp, deu and eng.

(01-14-2016 03:18 AM)Kanibal Wrote:  
(01-14-2016 03:16 AM)rastrero Wrote:  Ty. No im not blind. I thought it was not an opensource, never look for it. ty.

Firs thread at the top - "Open Source!" @_@

xD yeh, Im a busy man. no time for adventures xD if u know what I mean.

Anyway MY problem still, so if anynoe got a better solution than modify sphere inside im open to it. ty
(This post was last modified: 01-14-2016 03:22 AM by rastrero.)
01-14-2016 03:21 AM
Find all posts by this user Like Post Quote this message in a reply
karma
Moderator
****

Posts: 178
Likes Given: 17
Likes Received: 32 in 29 posts
Joined: Jul 2012
Reputation: 3



Post: #18
RE: Question
I would try as a workaround, as Kannibal suggested, to set in the .ini
Code:
// This is the percent of max weight at which stamina is lost half the time
// (200 = no effect)
StaminaLossAtWeight=200

And in an event attached to your chars
Code:
ON=@PersonalSpace
ARGN1=0 //The amount of stamina needed to step on to the character.
ARGN2=1 //Setting it to 1 allow NPCs to pass over another NPCs, 0 reject the movement.

I don't remember if stamina goes down during combat, in that case you can do something like
Code:
ON=@Hit
STAM ++
IF (<STAM> > <MAXSTAM>)
STAM = <MAXSTAM>
ENDIF

The strategy here is to avoid char loosing stamina
(This post was last modified: 01-14-2016 03:45 AM by karma.)
01-14-2016 03:44 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: #19
RE: Question
Answer for karma.

I want the player to lose stamina, its a role play server.
I want them to walk but not run even with 0 stamina But i dont want them to get stuck.

is there a steptrigger? Normal steptrigger?
01-14-2016 03:49 AM
Find all posts by this user Like Post Quote this message in a reply
karma
Moderator
****

Posts: 178
Likes Given: 17
Likes Received: 32 in 29 posts
Joined: Jul 2012
Reputation: 3



Post: #20
RE: Question
There's a @Step (http://wiki.sphere.torfo.org/index.php/@Enter) trigger for regions, you can attach an event to a_world, but consider that the trigger will fire at every step every char (player+npc) does in the world, and that's not exactly light for the server to handle. Anyways:

Code:
ON=@Step
IF (<SRC.STAM> < 1)
SRC.STAM = 1
ENDIF
(This post was last modified: 01-14-2016 03:54 AM by karma.)
01-14-2016 03:53 AM
Find all posts by this user Like Post Quote this message in a reply
[+] 1 user Likes karma's post
Post Reply 


Forum Jump:


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