Author |
Message |
Topic: Looking for a specific Room Name |
Latino
Replies: 15
Views: 26715
|
Forum: CMUD General Discussion Posted: Fri Feb 24, 2017 7:12 pm Subject: Looking for a specific Room Name |
It's a SQLITE database, if you want case insensitive searches you do something like this:
$str = %concat("[Name] LIKE '", $room, "' COLLATE NOCASE")
Oh, and ... |
Topic: Looking for a specific Room Name |
Latino
Replies: 15
Views: 26715
|
Forum: CMUD General Discussion Posted: Fri Feb 24, 2017 11:37 am Subject: Looking for a specific Room Name |
i thought about that, so i made a fresh new session and loaded the script, which worked as on my main session.
when i tried to execute it from an 3th new session applying ur suggestions, it didnt e ... |
Topic: Configuration for a foreign MUD |
Latino
Replies: 1
Views: 5120
|
Forum: CMUD General Discussion Posted: Fri Feb 24, 2017 11:20 am Subject: Configuration for a foreign MUD |
Probably this was the wrong place to post this sorry! |
Topic: Configuration for a foreign MUD |
Latino
Replies: 1
Views: 5120
|
Forum: CMUD General Discussion Posted: Fri Feb 24, 2017 11:08 am Subject: Configuration for a foreign MUD |
I play an Italian MUD, which displays the exits in 2 different ways
IF I LOOK AT THE ROOM:
*H>717/1139 M>950/950 V>223/596 X>-1593525508 B:- FTP [Angelico] (*(*)-(*)*) [3486994]
lo ... |
Topic: Looking for a specific Room Name |
Latino
Replies: 15
Views: 26715
|
Forum: CMUD General Discussion Posted: Tue Feb 21, 2017 9:56 am Subject: Looking for a specific Room Name |
Are you making sure to use the proper case for the roomname as stored in your map database when you call the alias?
200% sure!
i dont really get this, pls help! |
Topic: Looking for a specific Room Name |
Latino
Replies: 15
Views: 26715
|
Forum: CMUD General Discussion Posted: Sat Feb 18, 2017 2:27 pm Subject: Looking for a specific Room Name |
Or it could be a case sensitive issue?
Try changing:
$room = %lower(%-1)
to
$room = %-1
I spoke too early! xD
It worked on the first try, after that was doing again the same type of s ... |
Topic: Looking for a specific Room Name |
Latino
Replies: 15
Views: 26715
|
Forum: CMUD General Discussion Posted: Sat Feb 18, 2017 2:18 pm Subject: Looking for a specific Room Name |
Or it could be a case sensitive issue?
Try changing:
$room = %lower(%-1)
to
$room = %-1
YEAH! thats it! now its perfect for what i need! thank u so much! id love to ... |
Topic: Looking for a specific Room Name |
Latino
Replies: 15
Views: 26715
|
Forum: CMUD General Discussion Posted: Sat Feb 18, 2017 11:22 am Subject: Looking for a specific Room Name |
ERROR |
Topic: Looking for a specific Room Name |
Latino
Replies: 15
Views: 26715
|
Forum: CMUD General Discussion Posted: Sat Feb 18, 2017 11:21 am Subject: Looking for a specific Room Name |
SQL likes to have its quotes too.
$str = %concat("
When i read Vijilante answered, i thought ok, its done! i know about u from forums, u r amazing!
this time didnt work tho!
it d ... |
Topic: Looking for a specific Room Name |
Latino
Replies: 15
Views: 26715
|
Forum: CMUD General Discussion Posted: Thu Feb 16, 2017 2:33 pm Subject: Looking for a specific Room Name |
Try:
$str = %concat("
didnt work |
Topic: Looking for a specific Room Name |
Latino
Replies: 15
Views: 26715
|
Forum: CMUD General Discussion Posted: Thu Feb 16, 2017 11:38 am Subject: Looking for a specific Room Name |
I found this sweet script in the forums here, awesome!
It searches for rooms containing the name, or part of the name provided.
Can i make a version wich will match the exact room name? (using "=" ... |
Topic: Long search times in cMUD mapper Find Room command |
Latino
Replies: 13
Views: 25413
|
Forum: CMUD General Discussion Posted: Thu Feb 16, 2017 11:25 am Subject: Long search times in cMUD mapper Find Room command |
<?xml version="1.0" encoding="ISO-8859-1" ?>
<cmud>
<alias name="MapFind" copy="yes">
<value><![CDATA[#if (% ... |
|