Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
Tygerhart
Novice


Joined: 04 Oct 2001
Posts: 43
Location: Canada

PostPosted: Wed Mar 05, 2003 6:30 pm   

Auto looting problems
 
Thanks go out to Charbel for helping me with my last problem. (Yay Charbel!)

Hi Folks, new problem here. :)

I have an auto loot trigger that takes care of everything I need to do when a mob dies. However, I'd like to figure out how to fix it so that if I enter a room where someone else is killing a mob my "died." (auto loot) trigger doesn't auto loot his mob if it dies while I'm entering his room.

Hope that makes sense. :)

Thanks in advance
Tyger
Reply with quote
Kjata
GURU


Joined: 10 Oct 2000
Posts: 4379
Location: USA

PostPosted: Wed Mar 05, 2003 9:03 pm   
 
Does the line that says the mob died also say who killed it? Or is there a nearby line that informs this to you, like the previous one? If so, then you could have the trigger check if it was you who killed the mob or someone else.

Kjata
Reply with quote
edyarchi
Newbie


Joined: 25 Feb 2003
Posts: 7
Location: Italy

PostPosted: Thu Mar 06, 2003 12:18 am   
 
It is very important to see the differences between the message you get when you kill a mob and when another play kills a mob.

Probably you can solve the question trigging the message obtained when you receive experience... instead of that regardin the death of the mob.
Reply with quote
Tygerhart
Novice


Joined: 04 Oct 2001
Posts: 43
Location: Canada

PostPosted: Thu Mar 06, 2003 3:31 pm   
 
The line that is used is the same for the person killing as it is for everyone else in the room....

Example: Soldier died.

Tyger
Reply with quote
Emit
Magician


Joined: 24 Feb 2001
Posts: 342
Location: USA

PostPosted: Thu Mar 06, 2003 4:13 pm   
 
Since the line is the same, what Kjata and edyarchi are saying is you need to use context from some of the other lines to decide whether to loot or not.

#tr {You get %d exp.} {get all cor}

but the exact trigger will have to be your own, since the output that comes is still a mystery.

--------

moon.icebound.net:9000
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net