DKP Log Parser Forum Index
 Forum FAQ   Search   Register   Log in 
 About   Download   Forum   Wiki   Development
[EQ2] Change item name

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    DKP Log Parser Forum Index -> Patterns

Author

Message

kassekrane



Joined: 26 Oct 2009
Posts: 3

PostPosted: Mon Oct 26, 2009 7:10 pm    Post subject: [EQ2] Change item name

Reply with quote


Hi and Thanx for the DKPLP !!

My problem, when I parse item, I link item in the chat.

Exemple :

Kassekrane - \aITEM -1651017392 1711664321:Battleguard of Atrebe\/a - 50

in the Dkplp I want just Battleguard of Atrebe for the loot, how I can make this ?

Sorry for my bad english Wink

Back to top

Ewen



Joined: 02 Nov 2009
Posts: 1

PostPosted: Wed Nov 04, 2009 6:23 pm    Post subject:

Reply with quote


RegEx est ton ami Smile

sans commande *Loot

Code:
\((\d+)\)\[.*?\] You say, "(\w+) - \\aITEM -?\d+ -?\d+:(.*?)\\/a - (-?\d+(?:\.\d+)?)"


Avec commande *Loot :

Code:
\((\d+)\)\[.*?\] You say, "\*[Ll]oot (\w+) - \\aITEM -?\d+ -?\d+:(.*?)\\/a - (-?\d+(?:\.\d+)?)"


Attention, Kassekrane - Battleguard of Atrebe - 50 ne retournera rien, il faut impérativement linker l'objet

Si tu veux que ca fonctionne avec ou sans le link il faut échapper les chaines de caractères, ce qui donne (avec la commande *Loot):

Code:
\((\d+)\)\[.*?\] You say, "\*[Ll]oot (\w+) - (?:\\aITEM -?\d+ -?\d+:|)(.*?)(?:\\/a|) - (-?\d+(?:\.\d+)?)"


@+

Back to top

kassekrane



Joined: 26 Oct 2009
Posts: 3

PostPosted: Tue Apr 20, 2010 6:54 am    Post subject:

Reply with quote


Merci Ewen, je vas tester ça Wink

Back to top

Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    DKP Log Parser Forum Index -> Patterns All times are GMT
Page 1 of 1

 


Powered by phpBB © 2001, 2005 phpBB Group
SoftGreen 1.1 phpBB theme © DaTutorials.com 2005