[Home] [Downloads] [Search] [Help/forum]

Gammon Software Solutions forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  ROM
. -> [Folder]  Running the server
. . -> [Subject]  Need assistance please.

Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?
(New message)
Subject: Need assistance please.
Name:
Your forum user name.
Register forum user name
Password:
Your forum password.
Forgotten password?
Message:
Message to be posted (in English, please).
Forum codes:
Check this if your message uses 'forum codes' or templates (auto-detected for new posts).
Forum codes Templates

Save this message ...


Subject review (reverse sequence)

Posted by Nick Gammon   Australia  (18,770 posts)  [Biography] bio   Forum Administrator
Date Thu 05 Sep 2002 07:17 AM (UTC)  quote  ]
Message
Maybe change that BUG call to tell you the vnum? You might have missed one somewhere. If you know the vnum you can search for where it is equipped.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by AkiraMuyo   (41 posts)  [Biography] bio
Date Thu 05 Sep 2002 06:48 AM (UTC)  quote  ]
Message
Darn... Sorry to ask so much. I tried commenting out both the comm.c equipment call function and the act_wiz.c do_equip function, but when I create a new character it gives me this error when entering the mud.

Wed Sep 04 11:46:14 2002 :: [*****] BUG: Create_object: NULL pObjIndex.


Then of course forcefully shuts the mud down. Basically, i've ripped all the rooms out so it cannot create those items it wants, so I'm trying to tell it to not create any items at all at the begining and to just put them in a blank room for the time being. If you can give any more advice i'd be very appreciative.

Thanks,
Akira
[Go to top] top

Posted by Nick Gammon   Australia  (18,770 posts)  [Biography] bio   Forum Administrator
Date Thu 05 Sep 2002 06:01 AM (UTC)  quote  ]
Message
Yes, look in do_outfit function in act_wiz.c (referenced above). There you will see a reference to the newbie stuff (OBJ_VNUM_SCHOOL_BANNER, OBJ_VNUM_SCHOOL_VEST, OBJ_VNUM_SCHOOL_SWORD, OBJ_VNUM_SCHOOL_SHIELD).

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by AkiraMuyo   (41 posts)  [Biography] bio
Date Thu 05 Sep 2002 05:55 AM (UTC)  quote  ]
Message
Wow, Thank you. I think I can find the newbie armor by myself with this new addition.

Gratzi,
Akira
[Go to top] top

Posted by Nick Gammon   Australia  (18,770 posts)  [Biography] bio   Forum Administrator
Date Thu 05 Sep 2002 05:48 AM (UTC)  quote  ]

Amended on Thu 05 Sep 2002 05:49 AM (UTC) by Nick Gammon

Message
That would be in comm.c, nanny function. Here is the relevant code:


if ( ch->level == 0 )
{

    ch->perm_stat[class_table[ch->class].attr_prime] += 3;

    ch->level   = 1;
    ch->exp = exp_per_level(ch,ch->pcdata->points);
    ch->hit = ch->max_hit;
    ch->mana    = ch->max_mana;
    ch->move    = ch->max_move;
    ch->train    = 3;
    ch->practice = 5;
    sprintf( buf, "the %s",
    title_table [ch->class] [ch->level]
    [ch->sex == SEX_FEMALE ? 1 : 0] );
    set_title( ch, buf );

    do_function (ch, &do_outfit,"");
    obj_to_char(create_object(get_obj_index(OBJ_VNUM_MAP),0),ch);

    char_to_room( ch, get_room_index( ROOM_VNUM_SCHOOL ) );
    send_to_char("\n\r",ch);
    do_function(ch, &do_help, "newbie info");
    send_to_char("\n\r",ch);
}


You can see you are given 3 trains, 5 practices, the map (OBJ_VNUM_MAP), and put into the school (ROOM_VNUM_SCHOOL).

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by AkiraMuyo   (41 posts)  [Biography] bio
Date Thu 05 Sep 2002 05:07 AM (UTC)  quote  ]
Message
Greetings everyone, long time no chat..
I've come across a small problem. If any of you could be so kind as to direct me to the file that contains the information for new characters (i.e, Start location, Equipment to be loaded at creation, etc.) that would be awesome.

Thanks in advance,
Akira
[Go to top] top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


1,649 views.

[Reply to this subject]  Reply to this subject   [New subject]  Start a new subject   [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

[Home]

Written by Nick Gammon - 5K

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( http://www.gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Internet Contents Rating Association (ICRA) - 2K]    [Web site powered by FutureQuest.Net]