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
Couple Questions
Author Message
Soulless
Super Moderator
****

Posts: 335
Likes Given: 29
Likes Received: 49 in 27 posts
Joined: Jun 2012
Reputation: 12

Ye Olde Sphere

Post: #1
Couple Questions
Hello, just a few questions, please reply if you know the answer. Smile

if there is a good way to make an npc run to a waypoint? i dont want him to walk either, i want an npc to just haul ass to specific coords.

does anyone know a good way to calculate what would be considered success for a skill? currently im using "if (<healing> > <eval {1 1100}>)"
though obviously at low levels this fails CONSTANTLY and irritates players.
i thought of adding "beginners luck" to the equation however i want to see if i can find a better method first, anyone know?

horse hoof sounds, there is two sounds 577 and 587, id like to replace the generic horse hoof sound with these, is there a good way to do this? i liked that feature from UOX, it gave it a unique feeling.

and, ive noticed how the pet inherit notoriety setting in sphere.ini works nicely, however when you summon a blade spirit, or EV it turns it blue. but then this summoned monster just attacks the shit out of everyone because its beserked, it shouldnt be blue for sure. just an idea to fix if there's any devs reading Tongue (im going to override their notoriety tags on=@click for now)
03-07-2013 08:40 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
BladeCraft
Apprentice
*

Posts: 42
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Feb 2013
Reputation: 2



Post: #2
RE: Couple Questions
Calculating Skill:
Try something that uses the skill as the denominator so as it increases, that 1 in X chance gets tougher. For example, I have this under @ hit to make my combats gain very quickly

//CUSTOM COMBAT SKILL GAIN
If (!rand(<<serv.skill.<action>.name>>/80))
gainskill <serv.skill.<action>.name> //gainskill is a custom function that does all of my checks before it allows the gain.
endif (!rand(<<serv.skill.<action>.name>>/80))

[Image: topsitesbanner4.gif]
03-07-2013 09:29 AM
Find all posts by this user Like Post Quote this message in a reply
RanXerox
Master
**

Posts: 550
Likes Given: 1
Likes Received: 12 in 9 posts
Joined: Dec 2010
Reputation: 19



Post: #3
RE: Couple Questions
FYI, the two horse sounds *are* used... 577 when its walking on hard ground (like marble), the other when its on soft ground (like grass)... I am not sure how to define exactly what constitutes hard or soft however lol.
03-08-2013 07:27 AM
Find all posts by this user Like Post Quote this message in a reply
Soulless
Super Moderator
****

Posts: 335
Likes Given: 29
Likes Received: 49 in 27 posts
Joined: Jun 2012
Reputation: 12

Ye Olde Sphere

Post: #4
RE: Couple Questions
hmm i dont seem to hear it Sad and theres one for wood too, etc.

What am I working on?
(This post was last modified: 03-08-2013 11:47 AM by Soulless.)
03-08-2013 09:58 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Soulless
Super Moderator
****

Posts: 335
Likes Given: 29
Likes Received: 49 in 27 posts
Joined: Jun 2012
Reputation: 12

Ye Olde Sphere

Post: #5
RE: Couple Questions
i meant 587 and 588 actually. i cant hear them on my server though when i walk on hard ground, like wood, marble, stone. Sad nice server btw Ranx!

What am I working on?
03-08-2013 11:39 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


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