Login
User Name:

Password:



Register
Forgot your password?
Vote for Us!
tintin++ ogg sound player script for linux
Author: Robert Smith
Submitted by: Vladaar
6Dragons ogg Soundpack
Author: Vladaar
Submitted by: Vladaar
6Dragons 4.4
Author: Vladaar
Submitted by: Vladaar
LoP 1.46
Author: Remcon
Submitted by: Remcon
LOP 1.45
Author: Remcon
Submitted by: Remcon
Users Online
CommonCrawl

Members: 0
Guests: 10
Stats
Files
Topics
Posts
Members
Newest Member
481
3,740
19,396
629
DarrenPayn
Today's Birthdays
There are no member birthdays today.
Related Links
» SmaugMuds.org » Codebases » AFKMud Support & Development » First Immortal
Forum Rules | Mark all | Recent Posts

First Immortal
< Newer Topic :: Older Topic > How do I make an immortal ?

Pages:<< prev 1 next >>
* #1 Sep 20, 2018, 11:48 am
Go to the top of the page
Go to the bottom of the page

dextermovies
Fledgling
GroupMembers
Posts27
JoinedSep 10, 2005

How do I make my first character an immortal using the admin account? Iv'e searched the forum, but have had no luck in finding this information.
       
Post is unread #2 Sep 23, 2018, 10:57 am
Go to the top of the page
Go to the bottom of the page

dextermovies
Fledgling
GroupMembers
Posts27
JoinedSep 10, 2005

So after much tinkering and forum searching I am still at a loss for how to do this. I have tried cedit but that is for command creation, so I made a command called maxlevel and set it to level 115 and now I do not know how to use it.
       
Post is unread #3 Sep 25, 2018, 2:05 am
Go to the top of the page
Go to the bottom of the page

GatewaySysop
Conjurer
GroupMembers
Posts396
JoinedMar 7, 2005

Isn't there a command in AFK for this, something like "immortalize" ? You can always peek in act_wiz.cpp if you want to know for sure. :wink:
       
Post is unread #4 Sep 26, 2018, 11:07 am
Go to the top of the page
Go to the bottom of the page

dextermovies
Fledgling
GroupMembers
Posts27
JoinedSep 10, 2005

Thank you, what I had to do was remove a check in the immortalize command and it worked.
Thanks so much :)
       
Post is unread #5 Sep 26, 2018, 12:29 pm
Go to the top of the page
Go to the bottom of the page

GatewaySysop
Conjurer
GroupMembers
Posts396
JoinedMar 7, 2005


dextermovies said:

Thank you, what I had to do was remove a check in the immortalize command and it worked.
Thanks so much :)


Maybe you can share what you did so others may benefit from the thread if they have similar questions in the future?

       
Post is unread #6 Sep 28, 2018, 3:30 pm   Last edited Sep 28, 2018, 3:31 pm by GatewaySysop
Go to the top of the page
Go to the bottom of the page

GatewaySysop
Conjurer
GroupMembers
Posts396
JoinedMar 7, 2005

GatewaySysop said:


dextermovies said:

Thank you, what I had to do was remove a check in the immortalize command and it worked.
Thanks so much :)


Maybe you can share what you did so others may benefit from the thread if they have similar questions in the future?



Okay... I guess not then? :huh:

And folks wonder why nobody responds to threads like this anymore. :rolleyes:

       
Post is unread #7 Sep 28, 2018, 11:41 pm
Go to the top of the page
Go to the bottom of the page

Samson
Black Hand
GroupAdministrators
Posts3,644
JoinedJan 1, 2002

Could have saved himself the hassle entirely by reading the readme :P
       
Post is unread #8 Oct 7, 2018, 2:15 pm
Go to the top of the page
Go to the bottom of the page

dextermovies
Fledgling
GroupMembers
Posts27
JoinedSep 10, 2005

I apologize Iv'e been moving. The readme did not say anything about creating a first immortal, it only said to use the admin account.
I removed the avatar check in the immortalize command otherwise it said so and so is not worthy or something like that.
       
Post is unread #9 Oct 7, 2018, 2:27 pm
Go to the top of the page
Go to the bottom of the page

dextermovies
Fledgling
GroupMembers
Posts27
JoinedSep 10, 2005

Here is what I had to do.
Make a character,
edit code (act_wizz.cpp)
use immortalize command from the admin account with both characters logged in
use levelup command on new character while logged in on both new char and admin char
delete admin account
reboot mud (for it to remove admin account) ( I am using windows Linux subsystem)

CMDF( do_immortalize )
{
   char_data *victim;

   ch->set_color( AT_IMMORT );

   if( argument.empty(  ) )
   {
      ch->print( "Syntax:  immortalize <char>\r\n" );
      return;
   }

   if( !( victim = get_wizvictim( ch, argument, true ) ) )
      return;

   /*
    * Added this check, not sure why the code didn't already have it. Samson 1-18-98 
    */
   if( victim->level >= LEVEL_IMMORTAL )
   {
      ch->printf( "Don't be silly, %s is already immortal.\r\n", victim->name );
      return;
   }

   if( victim->level != LEVEL_AVATAR )
   {
      ch->print( "This player is not yet worthy of immortality.\r\n" );
      return;
   } 


Make it look like this
CMDF( do_immortalize )
{
   char_data *victim;

   ch->set_color( AT_IMMORT );

   if( argument.empty(  ) )
   {
      ch->print( "Syntax:  immortalize <char>\r\n" );
      return;
   }

   if( !( victim = get_wizvictim( ch, argument, true ) ) )
      return;

   /*
    * Added this check, not sure why the code didn't already have it. Samson 1-18-98 
    */
   if( victim->level >= LEVEL_IMMORTAL )
   {
      ch->printf( "Don't be silly, %s is already immortal.\r\n", victim->name );
      return;
   }
       
Post is unread #10 Oct 12, 2018, 12:02 pm
Go to the top of the page
Go to the bottom of the page

GatewaySysop
Conjurer
GroupMembers
Posts396
JoinedMar 7, 2005

I believe the correct progression is supposed to be advancing the character to avatar level and only then making them immortal, hence the check that you opted to remove.

Per the text of the readme:

A pfile named "Admin" is included, with password "admin". Use this to get your first immortal advanced. Then promptly delete him!


Maybe that helps explain better? It isn't meant to be obtuse. The fact that the code literally said they were not high enough level to immortalized should have been a hint as to what was going on. You will need to learn to dig a bit deeper when you encounter these things, or you will find yourself struggling. Which is more likely, after all, that it's impossible to create new immortals or that you're missing something simple? When all else fails, read the code, because it never lies about what it's doing. :wink:




       
Pages:<< prev 1 next >>