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

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



Post: #21
RE: Is it "safe" to completely overwrite a skill and replace it?
scrolling can be added with htmlgump and dhtmlgump, although you can't scroll any other dialog elements, simply text. I'd say it would be better to use pages, list your skills by their 'type' (combat, magic, lore/knowledge, misc, etc etc) and change the page to 'expand' the skill tree.

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

Marchadium :: http://www.marchadium.ca/ :: Join us!
08-25-2012 10:04 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: 246
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35



Post: #22
RE: Is it "safe" to completely overwrite a skill and replace it?
While i was crawling in the revision.txt i met this, i don't know if it was changed or useful Tongue :

- You can now add new SKILL sections, up to 70. SERV.MAXSKILL tells you how many skills are loaded. Notice
that they won't be sent to the client though, the client doesn't support them .

Well i noticed it was from the 55i revision Blush , maybe it's expanded now .
09-05-2012 10:27 AM
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: #23
RE: Is it "safe" to completely overwrite a skill and replace it?
you put an up/down button on the reight side of you gump.
pushing the button down, will close the gump and reopen it again but with another rows Wink
it´s a fake scrolling gump.
09-08-2012 09:26 PM
Find all posts by this user Like Post Quote this message in a reply
kn4tseb
Master
**

Posts: 392
Likes Given: 45
Likes Received: 10 in 10 posts
Joined: May 2014
Reputation: 0



Post: #24
RE: Is it "safe" to completely overwrite a skill and replace it?
(08-24-2012 02:28 AM)Skul Wrote:  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.


is d_skills the name of the default skill dialog????
06-26-2014 05:54 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: #25
RE: Is it "safe" to completely overwrite a skill and replace it?
That dialog is client side, i'm pretty sure it's all encoded in skills.mul. You might have to use an editor to alter the contents of the skill list.

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

Marchadium :: http://www.marchadium.ca/ :: Join us!
06-26-2014 06:48 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
kn4tseb
Master
**

Posts: 392
Likes Given: 45
Likes Received: 10 in 10 posts
Joined: May 2014
Reputation: 0



Post: #26
RE: Is it "safe" to completely overwrite a skill and replace it?
i dont want to alter the contents, but i understand.... i just wanted to know if it was possible to check if it's opened
BTW, is there any trigger that fires when a dialog is closed?

Ty
(This post was last modified: 06-26-2014 08:03 AM by kn4tseb.)
06-26-2014 08:02 AM
Find all posts by this user Like Post Quote this message in a reply
Extreme
Grandmaster Poster
***

Posts: 1,140
Likes Given: 217
Likes Received: 89 in 76 posts
Joined: May 2012
Reputation: 20

SphereCommunity

Post: #27
RE: Is it "safe" to completely overwrite a skill and replace it?
(06-26-2014 08:02 AM)kn4tseb Wrote:  i dont want to alter the contents, but i understand.... i just wanted to know if it was possible to check if it's opened
BTW, is there any trigger that fires when a dialog is closed?

Ty
Self made dialogs, when you close them, it 'presses' the button 0.
Did you read the sphere_dialog.scp as Feeh told you?

// NOTE: low button id's are reserved for page tabs.
// button id 0 is reserved for the CANCEL command
// TRYP arg3 INPDLG=arg1 arg2
// arg1=ITEM/CHAR property associated with this button
// arg2=formating for output/input (max length/max value)
// arg3= minimum privelege needed to change this, 255=never,admin=6,developer=5,gm=4,seer=3,couns=2

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.
06-26-2014 08:12 AM
Find all posts by this user Like Post Quote this message in a reply
kn4tseb
Master
**

Posts: 392
Likes Given: 45
Likes Received: 10 in 10 posts
Joined: May 2014
Reputation: 0



Post: #28
RE: Is it "safe" to completely overwrite a skill and replace it?
true, and i did read it.. there's just so much info and i forgot, thx xtreme
PD: im reading http://wiki.sphere.torfo.org/index.php/DIALOG this but i dont understand how radio/checkbox id's work.... are they just like a button? are they actually buttons??
because nothing seems to work >.< im using the id as the ON= Trigger just like with buttons but nothing happens.... im a bit tired xd
06-26-2014 08:53 AM
Find all posts by this user Like Post Quote this message in a reply
Extreme
Grandmaster Poster
***

Posts: 1,140
Likes Given: 217
Likes Received: 89 in 76 posts
Joined: May 2012
Reputation: 20

SphereCommunity

Post: #29
RE: Is it "safe" to completely overwrite a skill and replace it?
Yes, they are buttons, but they don't works as common buttons, they are used to make selections..

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.
06-26-2014 09:32 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)