Login
User Name:

Password:



Register

Forgot your password?
Hi - Clean SmaugFuss map/description issue..
Dec 15, 2024 7:29 pm
By Samson
AFKMud 2.2.4
Dec 10, 2024 4:09 pm
By Samson
I3 and IMC
Dec 8, 2024 6:35 pm
By Remcon
Ubuntu 22.04.5 LTS
Dec 5, 2024 5:10 pm
By Remcon
SmaugFUSS 1.8/1.9
Nov 29, 2024 11:46 am
By Remcon
SWFOTEFUSS 1.5.1
Author: Various
Submitted by: Samson
SWRFUSS 1.4.1
Author: Various
Submitted by: Samson
SmaugFUSS 1.9.5
Author: Various
Submitted by: Samson
AFKMud 2.2.4
Author: AFKMud Team
Submitted by: Samson
LOP 1.5
Author: Remcon
Submitted by: Remcon
Users Online
AhrefsBot, Bing

Members: 0
Guests: 71
Stats
Files
Topics
Posts
Members
Newest Member
494
3,808
19,707
588
Mortrex

Today's Birthdays
There are no member birthdays today.
» SmaugMuds » Codebases » SWR FUSS » WizHelp Issue
Forum Rules | Mark all | Recent Posts

WizHelp Issue
< Newer Topic :: Older Topic >

Pages:<< prev 1 next >>
Post is unread #1 Feb 12, 2010 5:27 pm   
Go to the top of the page
Go to the bottom of the page

MagisterXero
Fledgling
GroupMembers
Posts44
JoinedFeb 12, 2010

 
Okay, I've changed the level cap in my swr code temporarily while I test and change some things.

My admin character can still use all the command that are under the wizhelp stuff, but for some strange reason I am unable to see anything when I type in "wizhelp".

Anyone have any clues as to how to fix this?

Post is unread #2 Feb 12, 2010 5:33 pm   Last edited Feb 12, 2010 5:37 pm by Andril
Go to the top of the page
Go to the bottom of the page

Andril
Magician
GroupMembers
Posts147
JoinedJun 9, 2009

 
Are the command levels below LEVEL_HERO? The wizhelp command looks for skills that are equal to LEVEL_HERO, 100 in stock, or higher. If you increased MAX_LEVEL then LEVEL_HERO, MAX_LEVEL - 5, just might be higher then the highest level commands now which means that they won't show under wizhelp.

Post is unread #3 Feb 12, 2010 5:39 pm   
Go to the top of the page
Go to the bottom of the page

MagisterXero
Fledgling
GroupMembers
Posts44
JoinedFeb 12, 2010

 
Well, I changed the max level to 1510, then LEVEL_HERO is (MAX_LEVEL - 10)

Post is unread #4 Feb 12, 2010 5:40 pm   
Go to the top of the page
Go to the bottom of the page

Keirath
Magician
GroupMembers
Posts148
JoinedJan 24, 2008

 
Actually, isn't it the case if he raised the levels above 100 the if check would no longer show up in wizhelp?


I think you need to go through and reset the imm commands to their new levels before they'll show up. Or you can change this line (found in act_wiz.c - function do_wizhelp)
         if( cmd->level >= LEVEL_HERO && cmd->level <= get_trust( ch ) )


To
         if( cmd->level >= 101 && cmd->level <= get_trust( ch ) )


That should do it. But the thing to remember is this is only so you can see the commands. You'll want to change the levels or the players could potentially access these commands. Also, if you just want to raise a players level cap, that is something that is possible. SWR is actually set so you can have a player level to 110 but their top_level remains at 100. Meaning their classes go up in levels, but not there overall level.

Post is unread #5 Feb 12, 2010 5:41 pm   
Go to the top of the page
Go to the bottom of the page

Keirath
Magician
GroupMembers
Posts148
JoinedJan 24, 2008

 
Andril beat me too it. Haha.

Post is unread #6 Feb 12, 2010 5:44 pm   Last edited Feb 12, 2010 5:46 pm by Andril
Go to the top of the page
Go to the bottom of the page

Andril
Magician
GroupMembers
Posts147
JoinedJun 9, 2009

 
Wow, that's a pretty huge jump. :)

I'd check an imm only command real quick, like goto, and confirm the level using cedit. It's probably still a level 101, I think, command. You'll need to change it to 1501 for it to show up under wizhelp. And do the same for all the other imm only commands as well if you want them showing properly.

If you know you're going to probably go back to a lower level cap I'd suggest making a backup of the commands.dat file in the system dir, then changing level commands. Once you've done all your testing you can put the old copy back and not have too much trouble resetting, if needed, the commands again.

Edit @Keirath:
Yeah, I looked at what I originally wrote and went, "Hey, that's not what I meant to say!" :)

Post is unread #7 Feb 12, 2010 5:48 pm   
Go to the top of the page
Go to the bottom of the page

MagisterXero
Fledgling
GroupMembers
Posts44
JoinedFeb 12, 2010

 
Do you know where I'd quickly find where the levels for those commands are set at, which file I mean?

Post is unread #8 Feb 12, 2010 5:49 pm   Last edited Feb 12, 2010 5:50 pm by Keirath
Go to the top of the page
Go to the bottom of the page

Keirath
Magician
GroupMembers
Posts148
JoinedJan 24, 2008

 
In the system folder, commands.dat holds the commands. You can search for something like goto and it will show its assigned level. Be careful though, if you mess up the file commands may not load correctly.

Post is unread #9 Feb 12, 2010 5:55 pm   
Go to the top of the page
Go to the bottom of the page

MagisterXero
Fledgling
GroupMembers
Posts44
JoinedFeb 12, 2010

 
All righty, found them all and changed them all! Thanks guys! Love the response time here

Post is unread #10 Feb 12, 2010 5:56 pm   
Go to the top of the page
Go to the bottom of the page

Keirath
Magician
GroupMembers
Posts148
JoinedJan 24, 2008

 
When you work at home and your job is boring, it's very easy to keep an eye on the forums haha.

Post is unread #11 Feb 13, 2010 3:31 am   
Go to the top of the page
Go to the bottom of the page

MagisterXero
Fledgling
GroupMembers
Posts44
JoinedFeb 12, 2010

 
Got another quick question, and it's probably an easy one.

I'm trying to change immortalize so that I can type in "immortalize . What would I change to do this?

Post is unread #12 Feb 13, 2010 3:33 am   Last edited Feb 13, 2010 4:06 am by MagisterXero
Go to the top of the page
Go to the bottom of the page

MagisterXero
Fledgling
GroupMembers
Posts44
JoinedFeb 12, 2010

 
Nevermind! Found some code snippets for the trick

Edit**

Actually, I tried using the snippet but it seems that every time I do it, it seems to disable the command to immortalize completely... It's quite odd.

Edit**

Fixed it.

Pages:<< prev 1 next >>