Recent topics Log in
Search Profile
Memberlist Usergroups
Log in to check your private messages
Register
adding comlist


Post new topic   Reply to topic
SpaceTrace Forum Forum Index » Suggestions » adding comlist
View previous topic :: View next topic  
Author Message
admin
Board Admin
Board Admin


Joined: 09 Jan 2002
Posts: 2938

 Post Posted: Sun Jun 16, 2002 1:22 pm    Post subject: adding comlist
Reply with quote

in the com_search page you can enter a whole copy of a comlist-screen now to search for the players on that list.


i uploaded the first version.


there are still some problems, i used this code:
Quote:
preg_match_all('/[*O|O*|OO|IRC].{3}(.*? of .*?)s.*s([0-9]+/[0-9]+/[0-9]+)s.*n/',
$search."n", $preg_results)){


and you see the result.

maybe someone of you theat is more familiar with regular expressions can try to make a better one.
(i already have strong headaches now :smile: )


Last edited by admin on Fri May 06, 2005 11:12 am; edited 1 time in total
 Back to top »
View user's profile Send private message
admin
Board Admin
Board Admin


Joined: 09 Jan 2002
Posts: 2938

 Post Posted: Wed Jun 19, 2002 12:26 am    Post subject:
Reply with quote

now it is really useful, i added some checkboxes to the list

and we still need someone who knows more about regular expressions?
 Back to top »
View user's profile Send private message
Dougster
1st Rear Admiral
1st Rear Admiral


Joined: 14 Apr 2002
Posts: 251

 Post Posted: Wed Jun 19, 2002 5:17 am    Post subject:
Reply with quote

I have tried that and it did not seeem to work, when you say copy, do you mean a straight cut and pastes into note pad or something else. Copies of coms sent to me look like this: co ords deleted

O* Bugsey,Galaxy Ruler of Fantasy
force O* captainporno of fatland 7162
O* c|oud of c|oud 9 1105
O* Dale of Dale 4589
NBYTES O* Dam Jat of Killroafee 8149
MOUSETYRON O* DARKLORD of DARKPLANET 1526
O* Ellemnist of Rebell Homworld
Pigmee O* Evil Dude of Pigmee 7433
O* fighter of isleta
O* GD of X
 Back to top »
View user's profile Send private message
admin
Board Admin
Board Admin


Joined: 09 Jan 2002
Posts: 2938

 Post Posted: Wed Jun 19, 2002 6:51 am    Post subject:
Reply with quote

exactly like that.

i assume, you deleted the coords, cause only the players that have coords are searched for

here is an example:

this list:
tag1 O* Bli of Blo 2931 400/400/30
othertag O* thing of thong
force O* you know of who 6526 300/300/30


would lead to a search result with only two players:

Bli of Blo : 400/400/30
you know of who : 300/300/30

because
thing of thong has no coords


it works on my MSIE5.5
maybe there are some differences on other browsers the way they copy the screen to the clipboard wit CTRL+C

try it with your own comlist, it should work


 Back to top »
View user's profile Send private message
Dougster
1st Rear Admiral
1st Rear Admiral


Joined: 14 Apr 2002
Posts: 251

 Post Posted: Wed Jun 19, 2002 10:03 am    Post subject:
Reply with quote

I deleted the co ords from the paste cos they are current players.
But when I have tried to paste an allies com list into the thingy, only a couple came up, the rest seemed to be ignored. So I had to add em the hard way.
 Back to top »
View user's profile Send private message
Dougster
1st Rear Admiral
1st Rear Admiral


Joined: 14 Apr 2002
Posts: 251

 Post Posted: Wed Jun 19, 2002 1:45 pm    Post subject:
Reply with quote

Hey it works quite well except I think it should add the co ords to your list automatically instead of you having to paste them all in in the last section where is says here are the names you added and in the box is what you already have.
 Back to top »
View user's profile Send private message
admin
Board Admin
Board Admin


Joined: 09 Jan 2002
Posts: 2938

 Post Posted: Thu Aug 15, 2002 1:55 pm    Post subject:
Reply with quote

i corrected that.

and now the regular expression is corrected too.
 Back to top »
View user's profile Send private message
Lord Philemon
Vice Admiral
Vice Admiral


Joined: 12 Mar 2002
Posts: 556
Location: Germany

 Post Posted: Mon Nov 04, 2002 8:56 pm    Post subject:

I think you should add that you have to click on "player search" in the comlist and then on "search for list of players" on the bottom of the screen. Because it's quite hard to find...
 Back to top »
View user's profile Send private message
Display posts from previous:   
SpaceTrace Forum Forum Index » Suggestions » adding comlist
Post new topic   Reply to topic All times are GMT + 1 Hour


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




Solaris phpBB theme/template by Jakob Persson
Copyright © Jakob Persson 2003



Powered by phpBB © 2001, 2002 phpBB Group

Impressum