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
Tibal
Newbie


Joined: 16 Nov 2005
Posts: 1

PostPosted: Wed Nov 16, 2005 11:23 pm   

Trigger Issue
 
I am completely baffled on this problem I am having.

I am a wizard on a MUD (rom.mud.de) and am trying to create a very simple database of players IPs or hostnames as they connect/reconnect.

The MUD is based off CircleMUD 2 (if I remember correctly) and the wizard syslog has the ability to see the ips and hostnames of all players who connect. My trigger captures those ips and stores them to the name of the player and any other characters that they may have into my database.

The problem that has come up is that when the syslog throws out the connection text, my trigger does not go off. What is odd though, is when I use either the #SHOW command that zMUD has or my wizard command of echo, which simply does that... echo the text, my trigger does get set off.

I've talked to the main Implementor/Admin of the MUD and he says the only special 'extra' characters that may exist in the syslog are ansi codes, but I don't see why or how that would effect my trigger.

If anyone could shed some light on this or suggest anything it would be a big help.. below I'll give an example of the pattern that is supposed to be recognized:

[ PlayerName [1.1.1.1] has connected. ]
[ PlayerName [1.1.1.1] has reconnected. ]
[ PlayerName [blah.blah.blah.blah.net] has connected. ]...etc

Let me also note that in my trigger pattern line, I have it set up as:

~[ (*) ~[(*)~.(*)~.(*)~.(*)~] has connected~. ~]

-Tibal
Reply with quote
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4689
Location: Pensacola, FL, USA

PostPosted: Thu Nov 17, 2005 3:34 am   
 
#TR {~[%s(%w) ~[(%x)~] has {reconnected|connected}.%s~]} {#SHOW %1 %2}

that should capture them all... but im not so good with the database bit
_________________
Discord: Shalimarwildcat
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