Search found 11 matches

by Newbe
Fri Jan 29, 2010 2:55 pm
Forum: Help Forum
Topic: echo all matches in line.
Replies: 4
Views: 5023

Re: echo all matches in line.

Thanks for the info!
Now I can move on with my script :)
by Newbe
Fri Jan 29, 2010 2:45 pm
Forum: Help Forum
Topic: echo all matches in line.
Replies: 4
Views: 5023

Re: echo all matches in line.

not really,
lets say a line like this comes:

Code: Select all

There is big sharp sword, red shiny sword and rusty broken sword.
then matches[1] would be "big sharp sword". I checked it in mud :P
by Newbe
Fri Jan 29, 2010 2:28 pm
Forum: Help Forum
Topic: echo all matches in line.
Replies: 4
Views: 5023

echo all matches in line.

Hello. I've got trigger with pattern: \b(\w+)\b \b(\w+)\b sword . I wanted to echo all matches in line, so i tried echo(matches[1]), but it echoes only first sword in the line. I thought it worked recursivly and would echo all swords. In debug log first sword is stored in capture group #0 and all ot...
by Newbe
Thu Jan 21, 2010 2:06 pm
Forum: General Forum
Topic: Q to notebook users.
Replies: 4
Views: 6927

Q to notebook users.

Hello. Are there any mudlet users using notebook without numeric keypad(or what it is called)? I don't have it and find it hard to move around in muds. I have to type n/s/w/e and it isn't comfortable for me. I thought it could use ctrl + some keys, but then I would have to find 9 keys near each othe...
by Newbe
Fri Nov 27, 2009 11:46 am
Forum: Help Forum
Topic: Compiling the source code
Replies: 35
Views: 32092

Re: Trying to compile.

OH. I didn't know I had to be in src directory. ;)
Now it's compiling, no errors so far :D

//edit: Hurray! It compiled without errors and successfully connected to mud :))

Thanks for help!
by Newbe
Fri Nov 27, 2009 11:39 am
Forum: Help Forum
Topic: Compiling the source code
Replies: 35
Views: 32092

Re: Trying to compile.

Code: Select all

 qmake-qt4 src/src.pro 
/usr/lib64/qt4/bin/rcc: File does not exist 'src/mudlet_alpha.qrc'
is that what I was supposed to type? :P

because when I type qmake-qt4 without any arguments it acts as if I typed qmake-qt4 -h...
by Newbe
Fri Nov 27, 2009 11:26 am
Forum: Help Forum
Topic: Compiling the source code
Replies: 35
Views: 32092

Re: Trying to compile.

qmake-qt4 didn't give me any errors, but make did... In file included from src/Host.h:34, from src/ActionUnit.cpp:30: src/ctelnet.h:27:24: error: QHostAddress: Nie ma takiego pliku ani katalogu src/ctelnet.h:28:22: error: QTcpSocket: Nie ma takiego pliku ani katalogu src/ctelnet.h:29:21: error: QHos...
by Newbe
Fri Nov 27, 2009 11:08 am
Forum: Help Forum
Topic: Compiling the source code
Replies: 35
Views: 32092

Re: Trying to compile.

Didn't work...

Code: Select all

$ locate libpcre
/lib64/libpcre.so.0
/lib64/libpcre.so.0.0.1
/usr/lib64/libpcrecpp.so.0
/usr/lib64/libpcrecpp.so.0.0.0
/usr/lib64/libpcreposix.so.0
/usr/lib64/libpcreposix.so.0.0.0
What libs are missing?
by Newbe
Fri Nov 27, 2009 10:58 am
Forum: Help Forum
Topic: Compiling the source code
Replies: 35
Views: 32092

Re: Trying to compile.

there :

Code: Select all

CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:57 (MESSAGE):
  Could NOT find PCRE (missing: PCRE_LIBRARIES)
Call Stack (most recent call first):
  cmake/FindPCRE.cmake:76 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  src/CMakeLists.txt:136 (FIND_PACKAGE)
by Newbe
Fri Nov 27, 2009 10:46 am
Forum: Help Forum
Topic: Compiling the source code
Replies: 35
Views: 32092

Re: Trying to compile.

I installed 2 more packages : rpm -qa | grep pcre pcre-static-7.8-3.fc12.x86_64 pcre-7.8-3.fc12.x86_64 pcre-devel-7.8-3.fc12.x86_64 Still no success in compiling. Can you take a look at this list of packages and tell me which could contain needed headers? : gambas2-gb-pcre.x86_64 : Gambas2 component...