Login
User Name:

Password:



Register
Forgot your password?
Vote for Us!
Couple bugs
Dec 12, 2017, 5:42 pm
By Remcon
Bug in disarm( )
Nov 12, 2017, 6:54 pm
By GatewaySysop
Bug in will_fall( )
Oct 23, 2017, 1:35 am
By GatewaySysop
Bug in do_zap( ), do_brandish( )
Oct 18, 2017, 1:52 pm
By GatewaySysop
Bug in get_exp_worth( )
Oct 10, 2017, 1:26 am
By GatewaySysop
LOP 1.45
Author: Remcon
Submitted by: Remcon
LOP Heroes Edition
Author: Vladaar
Submitted by: Vladaar
Heroes sound extras
Author: Vladaar
Submitted by: Vladaar
6Dragons 4.3
Author: Vladaar
Submitted by: Vladaar
Memwatch
Author: Johan Lindh
Submitted by: Vladaar
Users Online
CommonCrawl, Yahoo!, Yandex, DotBot, Bing

Members: 0
Guests: 15
Stats
Files
Topics
Posts
Members
Newest Member
477
3,705
19,232
608
LAntorcha
Today's Birthdays
There are no member birthdays today.
Related Links
» SmaugMuds.org » Codebases » AFKMud Support & Development » My overall problems, overall
Forum Rules | Mark all | Recent Posts

My overall problems, overall
< Newer Topic :: Older Topic >

Pages:<< prev 1, 2 next >>
Post is unread #21 Mar 29, 2008, 4:19 pm
Go to the top of the page
Go to the bottom of the page

Quixadhal
Conjurer
GroupMembers
Posts398
JoinedMar 8, 2005

Sanus Compleo said:

Oh, I've got just one more. Whenever someone trys to connect from a dialup connection BOOM server dead. Just found out today.


How do you mean "connect from a dialup connection"? Do you actually have a modem hanging on a port with a getty that redirects them to the mud instead of a normal login shell? I guess I would also have to ask if this is a unix-like OS or something else?

If you're not doing something interesting like that, I can't imagine how your mud process could, in any way, even know the other end of the socket is originating from a dialup user.
       
Post is unread #22 Mar 29, 2008, 4:51 pm
Go to the top of the page
Go to the bottom of the page

Samson
Black Hand
GroupAdministrators
Posts3,639
JoinedJan 1, 2002

If it hasn't been suggested already, you should make sure you're running the latest available download version of the codebase, and make sure any additional fixed that were posted since then have also been applied. AFKMud is large codebase, I'm an imperfect human ( or iguanadon in some cases ), and mistakes are bound to be made. Some of which might not have been reported yet - like trip. I don't recall seeing a bug report about that in the past.
       
Post is unread #23 Mar 29, 2008, 4:56 pm
Go to the top of the page
Go to the bottom of the page

Remcon
Geomancer
GroupAdministrators
Posts1,858
JoinedJul 26, 2005

I was using a fresh downloaded copy when I looked over the code base to help out :) No clue on that dialup connection killing the server though.
       
Post is unread #24 Mar 30, 2008, 10:58 am
Go to the top of the page
Go to the bottom of the page

Kayle
Off the Edge of the Map
GroupAdministrators
Posts1,195
JoinedMar 21, 2006

I'd like to toss out there, that just upping the number in Character.cpp without adjusting the corresponding tables for stats in const.cpp might not have the best of results.
       
Post is unread #25 Mar 30, 2008, 1:48 pm
Go to the top of the page
Go to the bottom of the page

Remcon
Geomancer
GroupAdministrators
Posts1,858
JoinedJul 26, 2005

You are probably right, I quit using most this stuff long ago lol
And just so he gets pointed to the right ones
in const.cpp find
/*
 * Attribute bonus tables.
 */
/* Strength bonuses altered to reflect 3rd Edition AD&D rules */
const struct str_app_type str_app[26] = {
   {-5, -5, 0, 0},   /* 0  */
   {-5, -4, 10, 1},  /* 1  */
   {-4, -2, 20, 2},
   {-4, -1, 30, 3},  /* 3  */
   {-2, -1, 40, 4},
   {-2, -1, 50, 5},  /* 5  */
   {-1, 0, 60, 6},
   {-1, 0, 70, 7},
   {0, 0, 80, 8},
   {0, 0, 90, 9},
   {0, 0, 100, 10},  /* 10  */
   {0, 0, 115, 11},
   {0, 0, 130, 12},
   {0, 0, 150, 13},  /* 13  */
   {0, 1, 175, 14},
   {1, 1, 200, 15},  /* 15  */
   {1, 2, 230, 16},
   {2, 3, 260, 22},
   {2, 4, 300, 25},  /* 18  */
   {3, 5, 350, 30},
   {3, 6, 400, 35},  /* 20  */
   {4, 7, 460, 40},
   {5, 7, 520, 45},
   {6, 8, 600, 50},
   {8, 10, 700, 55},
   {10, 12, 800, 60} /* 25   */
};

/* Intelligence tables converted to 3rd Edition AD&D rules - determines skill % you learn when practicing.
 * Base increase is 4, then add modifier for total learned per practice.
 */
const struct int_app_type int_app[26] = {
   {-5}, /*  0 */
   {-5}, /*  1 */
   {-4},
   {-4}, /*  3 */
   {-3},
   {-3}, /*  5 */
   {-2},
   {-2},
   {-1},
   {-1},
   {0},  /* 10 */
   {0},
   {1},
   {1},
   {2},
   {2},  /* 15 */
   {3},
   {3},
   {4},  /* 18 */
   {4},
   {5},  /* 20 */
   {5},
   {6},
   {6},
   {7},
   {7}   /* 25 */
};

/* Wisdom tables changed to 3rd Edition AD&D rules - determines number of practices per level gained.
 * Base increase is 4, then add the modifer for total gained per level.
 * Also affect the amount of mana gained during regeneration.
 */
const struct wis_app_type wis_app[26] = {
   {-5}, /*  0 */
   {-5}, /*  1 */
   {-4},
   {-4}, /*  3 */
   {-3},
   {-3}, /*  5 */
   {-2},
   {-2},
   {-1},
   {-1},
   {0},  /* 10 */
   {0},
   {1},
   {1},
   {2},
   {2},  /* 15 */
   {3},
   {3},
   {4},  /* 18 */
   {4},
   {5},  /* 20 */
   {5},
   {6},
   {6},
   {7},
   {7}   /* 25 */
};

/* Deterity table: Not converted. Bonuses here are adequate.
 * Adds the modifier to armor Class.
 */
const struct dex_app_type dex_app[26] = {
   {60}, /* 0 */
   {50}, /* 1 */
   {50},
   {40},
   {30},
   {20}, /* 5 */
   {10},
   {0},
   {0},
   {0},
   {0},  /* 10 */
   {0},
   {0},
   {0},
   {0},
   {-10},   /* 15 */
   {-15},
   {-20},
   {-30},
   {-40},
   {-50},   /* 20 */
   {-60},
   {-75},
   {-90},
   {-105},
   {-120}   /* 25 */
};

/* Constitution tables: Converted to 3rd Edition AD&D rules.
 * Left side bonus adds to hit points gained at level up, and regeneration rates during rest.
 * Unsure what Smaug had in mind for the right side, it's not used anywhere yet.
 */
const struct con_app_type con_app[26] = {
   {-5, 20},   /*  0 */
   {-5, 25},   /*  1 */
   {-4, 30},
   {-4, 35},   /*  3 */
   {-3, 40},
   {-3, 45},   /*  5 */
   {-2, 50},
   {-2, 55},
   {-1, 60},
   {-1, 65},
   {0, 70}, /* 10 */
   {0, 75},
   {1, 80},
   {1, 85},
   {2, 88},
   {2, 90}, /* 15 */
   {3, 95},
   {3, 97},
   {4, 99}, /* 18 */
   {4, 99},
   {5, 99}, /* 20 */
   {5, 99},
   {6, 99},
   {6, 99},
   {7, 99},
   {7, 99}  /* 25 */
};

/* Charisma tables: Unsure what Smaug had in mind for this. */
const struct cha_app_type cha_app[26] = {
   {-60},   /* 0 */
   {-50},   /* 1 */
   {-50},
   {-40},
   {-30},
   {-20},   /* 5 */
   {-10},
   {-5},
   {-1},
   {0},
   {0},  /* 10 */
   {0},
   {0},
   {0},
   {1},
   {5},  /* 15 */
   {10},
   {20},
   {30},
   {40},
   {50}, /* 20 */
   {60},
   {70},
   {80},
   {90},
   {99}  /* 25 */
};

/* Have to fix this up - not exactly sure how it works (Scryn) */
const struct lck_app_type lck_app[26] = {
   {60}, /* 0 */
   {50}, /* 1 */
   {50},
   {40},
   {30},
   {20}, /* 5 */
   {10},
   {0},
   {0},
   {0},
   {0},  /* 10 */
   {0},
   {0},
   {0},
   {0},
   {-10},   /* 15 */
   {-15},
   {-20},
   {-30},
   {-40},
   {-50},   /* 20 */
   {-60},
   {-75},
   {-90},
   {-105},
   {-120}   /* 25 */
};

       
Post is unread #26 Mar 30, 2008, 10:56 pm
Go to the top of the page
Go to the bottom of the page

David Haley
Sorcerer
GroupMembers
Posts903
JoinedJan 29, 2007

Quixadhal said:

Sanus Compleo said:

Oh, I've got just one more. Whenever someone trys to connect from a dialup connection BOOM server dead. Just found out today.

(...)If you're not doing something interesting like that, I can't imagine how your mud process could, in any way, even know the other end of the socket is originating from a dialup user.

Indeed. It is basically impossible that the nature of the remote user's connection (modem, DSL, cable, pigeon carrier, smoke signal) would have any bearing on the stability of the MUD process, given that it is all handled by the OS's network layer. In fact, it wouldn't even matter for the OS, unless perhaps it was the next-hop of the sender, given that all it sees is a stream of incoming packets on its network connection with IP addresses for the sender.

The usual advice about running this through gdb or valgrind applies here, in any case. :wink:
       
Post is unread #27 Mar 31, 2008, 10:57 am   Last edited Mar 31, 2008, 11:07 am by Sanus Compleo
Go to the top of the page
Go to the bottom of the page

Sanus Compleo
Magician
GroupMembers
Posts153
JoinedMar 25, 2008

Well, I'm going to be messing around alot with the stats and stuff before long :D, but as far as OS, I'm running XP, which would probably assure you guys that I have no idea what I'm doing xP, and as far as the connection thing, I'm not sure what's going on, it's just a few select people who aren't able to log on, and they've both got dialup, so I was guessing it was that.

EDIT: I'm also running two different codebases (different games, not linking) from different ports, LOP and AFKMud, It's not really partaining to the subject, I just felt like that was important.
       
Post is unread #28 Mar 31, 2008, 2:00 pm
Go to the top of the page
Go to the bottom of the page

Sanus Compleo
Magician
GroupMembers
Posts153
JoinedMar 25, 2008

UPDATE: checking affects while under steel will crashes the server. and deletes about 6 hours of work -.-
       
Post is unread #29 Mar 31, 2008, 3:09 pm
Go to the top of the page
Go to the bottom of the page

Kayle
Off the Edge of the Map
GroupAdministrators
Posts1,195
JoinedMar 21, 2006

Um.. Wtf is under steel?
       
Post is unread #30 Mar 31, 2008, 3:34 pm   Last edited Mar 31, 2008, 3:34 pm by Sanus Compleo
Go to the top of the page
Go to the bottom of the page

Sanus Compleo
Magician
GroupMembers
Posts153
JoinedMar 25, 2008

Under the effects of steel wit, steel is just what I put in when I meant to type steal >.>
       
Post is unread #31 Mar 31, 2008, 7:25 pm
Go to the top of the page
Go to the bottom of the page

Remcon
Geomancer
GroupAdministrators
Posts1,858
JoinedJul 26, 2005

do you mean this one?
Sn:  432 Slot:    0 Racial: 'steel will          '
Author: Karangi
DamType: none  ActType: none   ClassType: none   PowerType: minor
Saves: none  SaveEffect: none
Type: Racial  Target: self  Minpos: standing  Mana: 30  Beats: 24  Range: 0
Guild: -1  Value: 0  Info: 512
Ego: -2  Code: spell_smaug
Dammsg: 
Wearoff: Your mind's control over your body relaxes.

Affect 1 modifies resistant by '' for 'l*2+(w*20)' rounds

Hitvict   : Your mind takes a steel hold over your body.
Missvict  : You are distracted and cannot focus enough.

--------------------------[RACE USE]--------------------------
   Human ) lvl: 101 max: 95%  High-Elf ) lvl: 101 max: 95%
   Dwarf ) lvl: 101 max: 95%  Halfling ) lvl: 101 max: 95%
   Pixie ) lvl: 101 max: 95%  Half-Ogr ) lvl: 101 max: 95%
Half-Orc ) lvl: 101 max: 95%  Half-Tro ) lvl: 101 max: 95%
Half-Elf ) lvl: 101 max: 95%      Gith ) lvl: 101 max: 95%
Minotaur ) lvl: 101 max: 95%   Duergar ) lvl:  70 max: 80%
 Centaur ) lvl: 101 max: 95%  Iguanado ) lvl: 101 max: 95%
   Gnome ) lvl: 101 max: 95%      Drow ) lvl: 101 max: 95%
Wild-Elf ) lvl: 101 max: 95%  Insectoi ) lvl: 101 max: 95%
Sahuagin ) lvl: 101 max: 95%  

Notice it didn't crash when I checked it, but there is a problem with the affect on it.
also help file for it shows
Usage        : steel will <self>
Duration     :
   Affect    : '(null)' for 'l*2+(w*20)' rounds.
Race  Level  : Duergar 70

After eons of living in underground caverns near the Drow, the Duergar have
perfected the ability to strengthen their will to a point where they are
heavily resistant to all paralysing attacks. This is probably due to the
treacherous nature of the Drow and their tendencies to backstab even their
own allies if it meant increasing their power.

use this to fix it the way it should be
slookup steel will (to get the sn for it)
sset <sn> rmaffect 1
sset <sn> affect resistant paralysis l+2+(w*20)
sset save skill table

That will fix the skill and the help file will have to be updated. It can be found in the skills.dat file (I haven't seen a way to edit the skill help file on the mud)
       
Pages:<< prev 1, 2 next >>