2.44b

Timezone: Central Time (US & Canada) (GMT-06:00)
� Previous :: Next �
AuthorMessage
Bane
Dungeonmaster
2.44b
Friday, October 23rd, 2009 at 2:01 pm
I've pushed 2.44b live.

It includes several bugfixes and new features:
1) Haggle Bug
2) Teleport Self w/ no ports
3) Wand of ice display bug
4) Rangers can no longer use skills while using heavy armor (medium and light is ok)
5) BETA: Targeting is in. (See: http://forums.rohonline.net/topic/1904/) It only works with "kill" right now, and has some extra debugging output that will go away in the future.
6) New command interpreter. I've adjusted the interpreter to (hopefully) more intelligently pick the best match for commands. Commands now have priorities associated with them. The matching order goes like this: Exact match first, better priority second if partial match, if same priority the shorter command wins (no --> nod before noodle because no is a 66% match of nod, and 33% match for noodle) If you notice any command shortcuts going to a different command than it did before, post here and I'll adjust the priorities.

Perhaps some other small items that I've forgotten.

-Bane

Dominus
Dungeonmaster
Re: 2.44b
Sunday, October 25th, 2009 at 9:19 am
I'm not sure I like some of the single-letter commands... f for fl, r for run, o for osay... you're just not sure what you're going to get. For example, without trying, do you know what "a" will get you?
Angel Heaven doesn't want me and Hell is afraid I'll take over. Evil

Bane
Dungeonmaster
Re: 2.44b
Sunday, October 25th, 2009 at 12:33 pm
I was going to say a for ask, but then I remembered I put in a better priority for Ambush so a --> Ambush. b --> bs. I don't like 'p' --> pw so I'll change that priority.

The great thing is with the priority system, we can now more easily fine tune what commands go where!

zale
Re: 2.44b
Sunday, October 25th, 2009 at 9:23 pm
can we change q to not quit? that's frustrating lol

Usagi
Re: 2.44b
Sunday, October 25th, 2009 at 10:55 pm
Oh yeah. Huk and I have had a few run-ins with the "p" = "change password" thing. If there can be a quick fix (instead of waiting for a next push) for a few of the single-lettered commands, that'd be awesome >.<

I think it's mostly a result of my spammy typing.

I've been loving the targeting though. I'm excited to see what happens next Smile

Bane
Dungeonmaster
Re: 2.44b
Monday, October 26th, 2009 at 11:25 am
I've changed the priority of quit and password, so q/p will no longer do those commands.

-Bane

munch
Re: 2.44b
Tuesday, October 27th, 2009 at 12:14 am
Quote:

Highport Municipal Clinic

You are in the Highport Municipal clinic.
Here is where you may get healing assistance as well as rest if
you feel fatigued. The doctors and surgeons can help you if you
are hurt, diseased, or even blind and deaf! Of course, they will
require a fee from you unless it is the most minute of
injuries you have. Also, as is true in any clinic, the wait is
always quite excruciating.
Obvious exits: east.
You see Kahlan Amnell.
You see four doctors, a surgeon.
You see a Clinic Staff Sign, an electrum ring.

(117 H 83 M 104,203X): c tele
You are too weak to teleport again today.
(117 H 83 M 104,203X): daily
Daily actions remaining:

Broadcasts: 0 of 0 remaining.
Teleports: 3 of 3 remaining.

Can defecate? Yes
Can be resurrected? Yes


How about this? Been happening since the fix.

Bane
Dungeonmaster
Re: 2.44b
Tuesday, October 27th, 2009 at 10:59 am
I haven't been able to reproduce your bug, and my quick look through the logic in the code, doesn't follow what you showed. You didn't happen to do it near midnight when dailies reset did you?

Feel free to show me where in the code it's going wrong, or some other code path it's taking to show that message, but I just don't see it. (I've commented the following code below more explicitly than in the code itself, and it should quite clearly describe the logic)

Code:
// Porting self only uses a port 1/3 of the time. (Unless they have no ports left!
if(
// If we're a player	
pPlayer 
// And we're not Staff
&& !pPlayer->isCt() 
// And ONE of the following two is true
&&
  // We have no ports left 
(pPlayer->daily[DL_TELEP].cur == 0 
OR    33% chance       AND  We just ran out of teleports
|| (mrand(1,100) <= 33 && !dec_daily(&pPlayer->daily[DL_TELEP])) )
// (dec_daily returns 0 if none left, 1 otherwise
) {
	pPlayer->print("You are too weak to teleport again today.\n");
	return(0);
}


Charisma
Re: 2.44b
Sunday, February 21st, 2010 at 3:29 pm
Can we change "me" to meditate instead of meow?

Realms ForumAnnouncements2.44b