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-nmm6 (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-nmm6 (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-nmm6 (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
Is it "safe" to completely overwrite a skill and replace it?
Author Message
Extreme
Grandmaster Poster
***

Posts: 1,141
Likes Given: 217
Likes Received: 90 in 77 posts
Joined: May 2012
Reputation: 20

SphereCommunity

Post: #11
RE: Is it "safe" to completely overwrite a skill and replace it?
(08-24-2012 02:05 AM)Rayvolution Wrote:  
(08-23-2012 02:36 PM)Extreme Wrote:  Just edit the current skill.mul and rewrite them...
You can edit it with UOFiddler, very easy.

Oh, thats what I do. You can easily change the names of the existing skills.

*but* you can't add new skills to the list, only replace the existing ones. Seems the amount of skills is hardcoded. You can't even remove skills, you have to have all of them there. :/

The only way to remove some of them from the skill list is to disable the expansion pack in sphere.ini that goes with the skill, like Bushido for example.

I guess you could write your own gump to trigger/open when someone opens the skill menu... in theory you could have an unlimited amount of skills because you're bypassing the hardcoded skill tree entirely.
Yes, you can do it.
I think there is a skill editor that you can add or remove the skills, just don't remember where is it.
I will try find it for you.

STEPS BEFORE CREATE A THREAD
- Check the revisions log;
- Use the search button and use the keywords of your problem;
- Check the WIKI;
- Create a thread.
08-24-2012 02:16 AM
Find all posts by this user Like Post Quote this message in a reply
Skul
Master
**

Posts: 413
Likes Given: 0
Likes Received: 19 in 15 posts
Joined: Jun 2012
Reputation: 9



Post: #12
RE: Is it "safe" to completely overwrite a skill and replace it?
Yes, that is completely possible Ray, I think you can even do that with:
Quote:- Added @UserSkills ("return 1" cancels the skill window being displayed).
Added in by Kell during the 55r period of sphere's development. So doing something like
Code:
on=@userskills
dialogclose d_skills
dialog d_skills
return 1
would be sufficient enough to overwrite the default in-game skill menu.

"I ask a question to the answer I already know."

Marchadium :: http://www.marchadium.ca/ :: Join us!
08-24-2012 02:28 AM
Visit this user's website 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: #13
RE: Is it "safe" to completely overwrite a skill and replace it?
By the way, from a design point of view, i think it's to better to replace or give some interesting behaviour to the current useless skills like begging, camping , tasteid etc !
(This post was last modified: 08-24-2012 02:56 AM by darksun84.)
08-24-2012 02:55 AM
Find all posts by this user Like Post Quote this message in a reply
Extreme
Grandmaster Poster
***

Posts: 1,141
Likes Given: 217
Likes Received: 90 in 77 posts
Joined: May 2012
Reputation: 20

SphereCommunity

Post: #14
RE: Is it "safe" to completely overwrite a skill and replace it?
I found this one
http://forum.spherecommunity.net/sshare.php?download=31
But don't know how it works, if someone knows please tell us.

STEPS BEFORE CREATE A THREAD
- Check the revisions log;
- Use the search button and use the keywords of your problem;
- Check the WIKI;
- Create a thread.
08-24-2012 03:08 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: #15
RE: Is it "safe" to completely overwrite a skill and replace it?
It's not bad but ,

The skill window will be disabled - you must implement some replacement on your own server-side.
08-24-2012 03:28 AM
Find all posts by this user Like Post Quote this message in a reply
Rayvolution
Journeyman
*

Posts: 135
Likes Given: 0
Likes Received: 2 in 2 posts
Joined: Jul 2012
Reputation: 1

Aetharia

Post: #16
RE: Is it "safe" to completely overwrite a skill and replace it?
If I ever need to go beyond the base skill slots, I should be able to just add them into sphere and makeup my own skilltree gump anyway though?

Downside is as far as I know, without being really gimmicky I don't think I could make the custom gump update automatically, it would have to be closed/reopened to see any skill changes.

Although I guess I don't have to worry for the time being, I have 7 standard UO skills im removing, thats plenty of space for expansion. Smile

[Image: 4_Logo.png]
An MMORPG based on the Ultima Online engine.
Completely Custom Map, GUI, AI, Combat, Skills, Crafts, Art, Music and so much more.
http://aetharia.com - Home of Ambition!
08-24-2012 08:14 AM
Find all posts by this user Like Post Quote this message in a reply
Extreme
Grandmaster Poster
***

Posts: 1,141
Likes Given: 217
Likes Received: 90 in 77 posts
Joined: May 2012
Reputation: 20

SphereCommunity

Post: #17
RE: Is it "safe" to completely overwrite a skill and replace it?
(08-24-2012 08:14 AM)Rayvolution Wrote:  If I ever need to go beyond the base skill slots, I should be able to just add them into sphere and makeup my own skilltree gump anyway though?

Downside is as far as I know, without being really gimmicky I don't think I could make the custom gump update automatically, it would have to be closed/reopened to see any skill changes.

Although I guess I don't have to worry for the time being, I have 7 standard UO skills im removing, thats plenty of space for expansion. Smile
Yeah, you will need close and reopen it, but, using the @SkillGain trigger, you can check if the 'skill gump' is opened then close and open again.
You will not have problem with this.

STEPS BEFORE CREATE A THREAD
- Check the revisions log;
- Use the search button and use the keywords of your problem;
- Check the WIKI;
- Create a thread.
08-24-2012 11:14 AM
Find all posts by this user Like Post Quote this message in a reply
Gil Amarth
Journeyman
*

Posts: 189
Likes Given: 2
Likes Received: 1 in 1 posts
Joined: May 2012
Reputation: 0



Post: #18
RE: Is it "safe" to completely overwrite a skill and replace it?
If you want to have more than 57 skills, then yes, it´s a option. But 57 skills is a lot, and is difficult to have more skills than that.

In my opinion, it´s better to replace old skill which are near useless, like begging o taste id. Or others skill that you don´t want in your server like bushido o ninjitsu if your server is for roleplay and you don´t want that theme.

I have renamed this skills as "Not avaliable", and modified skills.mul accordingly, You can also edit group skills, so all "Not avaliable" are together. It´s not a bad solution.
(This post was last modified: 08-24-2012 04:14 PM by Gil Amarth.)
08-24-2012 04:12 PM
Find all posts by this user Like Post Quote this message in a reply
admin phoenix
Master
**

Posts: 354
Likes Given: 1
Likes Received: 23 in 13 posts
Joined: Mar 2012
Reputation: 3



Post: #19
RE: Is it "safe" to completely overwrite a skill and replace it?
if you rescript you skillgump some feature will be missing like resizing and scrolling. the last one can be simulated with a trick.
long time ago, I rescripted the skill menu. It was ok but now I renamed the skills in the muls and it is better.
But as someone know I am rescripting the paperdoll and so I had to softcoded the skill gump again Smile
08-24-2012 11:42 PM
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: #20
RE: Is it "safe" to completely overwrite a skill and replace it?
can you explain the scrolling trick ?

thank you
08-24-2012 11:53 PM
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)