I need a piece of code :P

08/23/2012 20:36 MatthW1#1
Hey, first post! Been a lurker for four years, not just this summer.
I use a loft source, I would like to know the packet/code to open up a website from the game client. Thanks!
08/23/2012 21:04 I don't have a username#2
It's a chat type.
08/23/2012 21:15 diedwarrior#3
Subtype 2105 in latest patches, not sure about LOTF patch.
08/23/2012 21:31 MatthW1#4
Could you write what you think it may be? I'll give thanks.
08/23/2012 21:53 diedwarrior#5
Code:
Player.Send(new Message("link", 2105));
Of course this won't work with you, just an example.
08/23/2012 23:55 manager2#6
Or in my case:
Code:
client.Send(Website("www.google.com", 1));
Just seem simpler in my case, but it's a personal case, 1 = quantity, good reason to have an option.

<- DreadNought
08/24/2012 01:04 MatthW1#7
THANK YOU GUYS!
2105);
08/24/2012 18:21 I don't have a username#8
What I don't understand is you have been here for 4 years lurking and you haven't even picked this simple thing up neither have you learned how to search.
08/24/2012 19:43 turk55#9
You must been leeching alot!
7 posts and 3 of them were in this thread.
08/25/2012 05:39 MatthW1#10
How long have you been here? You should know it's against the rules to go off topic :P Also, I stopped with CO years ago, just recently got back into it. Could you kindly tell me how to change this to remove people who are on a map let's say 1004 for example.
Quote:
foreach (DictionaryEntry DE in World.AllChars)
{
Character Char = (Character)DE.Value;

if (Char.MyClient.Online)
{
Char.Teleport(1002, 431, 379);
}
}

}
instead of having it take everyone ingame, just need help limiting it to one map. I'm new to C# thanks in advance. I've been learning a lot.
08/25/2012 10:50 I don't have a username#11
if (Client.Map == 1004), but holy mother of God working with LOTF...
08/28/2012 19:43 MatthW1#12
Quote:
Originally Posted by I don't have a username View Post
if (Client.Map == 1004), but holy mother of God working with LOTF...
tried it, also tried .Locationmap. What else might work?
08/28/2012 20:08 I don't have a username#13
I dunno, common sense?