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
Skill-related Customization and a few other things..
Author Message
gergecoelho
Apprentice
*

Posts: 31
Likes Given: 7
Likes Received: 3 in 3 posts
Joined: Jul 2015
Reputation: 0



Post: #1
Brick Skill-related Customization and a few other things..
Hello everyone! Coming back to the Sphere world after a hiatus that lasted several years (old habits die hard, I guess).

I'm rather rusty on my scripting skills and would like to ask you guys the following:

1 - In my shard, I want to merge all "Lore" skills (Anatomy, Arms Lore, Item ID, Eval. INT, Forensics, maybe others) into only ONE skill. How could I do that? (and make it show correctly on the skill menu)
For the case of overlapping utility, like targeting a creature, both the information for Anatomy and INT Eval would show up.

2 - I want to force the clients to have the option "Show Names of Approaching Players" turned off (or some other server-side solution to this), how could I do that?

Thanks in advance for your time, guys. Big Grin Big Grin
(This post was last modified: 07-24-2015 08:59 AM by gergecoelho.)
07-24-2015 08:56 AM
Find all posts by this user Like Post Quote this message in a reply
Ultima One
Journeyman
*

Posts: 238
Likes Given: 7
Likes Received: 10 in 6 posts
Joined: Jan 2013
Reputation: 6

Ultima One

Post: #2
RE: Skill-related Customization and a few other things..
1. with a lot of effort, im not too sure it would be possible due to the skill id's i would guess youd have to simply override one of the skills to contain all the events and triggers from the other skills, and release a patch to rename it in the skill menu and hide the others. You'd basically be creating your own new skill rather than merging those ones.
Its a sizeable job, I've also been out the game for 2 years so I won't make any more assumptions, but it'd be something id probably find a work around for, like when you roll any of those skills from using them, trigger a roll for all of the others so they grow at the same pace, then code in a skill cap which ignores those skills. Its probably not what you want, but its a first thought if it would meet your requirements

ULTIMA ONE
The modern, sphere powered Ultima Online server
07-24-2015 06:22 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
gergecoelho
Apprentice
*

Posts: 31
Likes Given: 7
Likes Received: 3 in 3 posts
Joined: Jul 2015
Reputation: 0



Post: #3
RE: Skill-related Customization and a few other things..
Seems like an awful lot of work, I think I'll find some way around it. Thanks!

By the way, on the skills, my skill list on the client doesn't show Bushido, Ninjutsu, etc. Which client should I be using for Sphere?
07-25-2015 02:53 AM
Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

Posts: 1,687
Likes Given: 245
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35



Post: #4
RE: Skill-related Customization and a few other things..
You have to enable
FEATURE_SE_UPDATE 01 // Basic SE features for bushido and ninjitsu
07-25-2015 04:30 AM
Find all posts by this user Like Post Quote this message in a reply
[+] 1 user Likes darksun84's post
gergecoelho
Apprentice
*

Posts: 31
Likes Given: 7
Likes Received: 3 in 3 posts
Joined: Jul 2015
Reputation: 0



Post: #5
RE: Skill-related Customization and a few other things..
Cool! That worked.

But the client crashes when I try to open a Bushido book, maybe I'm using the wrong version, which one should I use, ideally?
07-25-2015 07:27 AM
Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

Posts: 1,687
Likes Given: 245
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35



Post: #6
RE: Skill-related Customization and a few other things..
mondain legacy and above
07-25-2015 08:27 AM
Find all posts by this user Like Post Quote this message in a reply
[+] 1 user Likes darksun84's post
gergecoelho
Apprentice
*

Posts: 31
Likes Given: 7
Likes Received: 3 in 3 posts
Joined: Jul 2015
Reputation: 0



Post: #7
RE: Skill-related Customization and a few other things..
Okie dokie! Thanks! o/
07-25-2015 09:59 AM
Find all posts by this user Like Post Quote this message in a reply
Nachtmusique
Journeyman
*

Posts: 89
Likes Given: 0
Likes Received: 6 in 6 posts
Joined: Mar 2012
Reputation: 0



Post: #8
RE: Skill-related Customization and a few other things..
For the names of approaching players, what I do is just check the distance @click and return 1 if the distance is farther than 10. This may not be the best solution, but it has worked for me so far.
07-25-2015 11:30 AM
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)