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


Register forum user name Search FAQ

Gammon Forum

[Folder]  Entire forum
-> [Folder]  SMAUG
. -> [Folder]  Running the server
. . -> [Subject]  Stock skills to keep?

Stock skills to keep?

It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page


Posted by Zeno   USA  (2,871 posts)  [Biography] bio
Date Thu 20 May 2004 03:33 AM (UTC)
Message
Eh, bad idea removing a lot of the stock skills I guess. I don't remember this happening last codebase, but anyways... What skills/spells must stay in the MUD in order to run smooth? For example, I removed about all but 15, yet it crashed due to claw being removed.


#0  0x08115184 in do_claw (ch=0x8345410, argument=0x813885e "") at skills.c:2624
2624        WAIT_STATE( ch, skill_table[gsn_claw]->beats );
(gdb) bt
#0  0x08115184 in do_claw (ch=0x8345410, argument=0x813885e "") at skills.c:2624
#1  0x080c3ba7 in one_hit (ch=0x8345410, victim=0x835af30, dt=-1) at fight.c:1100
#2  0x080c30cf in multi_hit (ch=0x8345410, victim=0x835af30, dt=-1) at fight.c:800
#3  0x080c237e in violence_update () at fight.c:406
#4  0x0812c3f8 in update_handler () at update.c:2013
#5  0x080a9bf6 in game_loop () at comm.c:690
#6  0x080a94ed in main (argc=2, argv=0xbfffe7a0) at comm.c:304
#7  0x42015967 in __libc_start_main () from /lib/i686/libc.so.6


Does anyone have a list of what skills shouldn't be removed?

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
[Go to top] top

Posted by Meerclar   USA  (733 posts)  [Biography] bio
Date Reply #1 on Thu 20 May 2004 04:02 AM (UTC)
Message
Problem with removing things lkike claw, kick, tail, bash etc is that mobs call them in their act flags. For the most part, ANYTHING can be removed if you remove it completely, but you MUST be absolutely certain anything you remove isnt called in an act flag or a spec function because you WILL crash the first time its called after you remove it.

Meerclar - Lord of Cats
Coder, Builder, and Tormenter of Mortals
Stormbringer: Rebirth
storm-bringer.org:4500
www.storm-bringer.org
[Go to top] top

Posted by Greven   Canada  (835 posts)  [Biography] bio
Date Reply #2 on Thu 20 May 2004 06:22 AM (UTC)
Message
This is the same with alot the the spells as well, certain ones as called as defenses and attacks. The best, but by far the most complicated, it to pick one skill, remove it, and then grep for all calls to it, one at a time. Thourough, and will work, but an incredible amount of work.

Nobody ever expects the spanish inquisition!

darkwarriors.net:4848
http://darkwarriors.net
[Go to top] top

Posted by Zeno   USA  (2,871 posts)  [Biography] bio
Date Reply #3 on Thu 20 May 2004 07:12 PM (UTC)
Message
Yes I know that certain mob defenses/attacks call it. I want to keep those "progs", so I was just wondering if anyone had a list of skills that are used by mobs things, etc.

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
[Go to top] top

Posted by Meerclar   USA  (733 posts)  [Biography] bio
Date Reply #4 on Thu 20 May 2004 09:38 PM (UTC)
Message
If you can post us your mob act flags and spec functions and I can probly tell you offhand which skills are called - tail, bash, claw, bite are the ones that jump to mind.... maybe circle and backstab as well depending on you having an assassin spec.

Meerclar - Lord of Cats
Coder, Builder, and Tormenter of Mortals
Stormbringer: Rebirth
storm-bringer.org:4500
www.storm-bringer.org
[Go to top] top

Posted by Zeno   USA  (2,871 posts)  [Biography] bio
Date Reply #5 on Thu 20 May 2004 10:45 PM (UTC)
Message
Yeah, I already looked those over, and added the skills. I think its fine now.

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
[Go to top] top

Posted by USER007   (124 posts)  [Biography] bio
Date Reply #6 on Sat 25 Feb 2006 07:28 PM (UTC)

Amended on Sat 19 Sep 2015 06:40 PM (UTC) by USER007

Message
So far these are the skills I have left in.

Though I'm not sure if I kept all the ones needed. I've found skills needed in function affect_modify from handler.c & the attack_flags/defense_flags in mud.h. Are there any other places I'm missing? Right now the MUD isn't crashing, but I don't want to have any suprises in the future since I'm not open to the public yet.
[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.


19,280 views.

It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.

[Home]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

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

[Best viewed with any browser - 2K]    [Hosted at HostDash]