Another Question? xD

07/19/2009 15:04 rule34onyourmom#1
This Has Probably Been Asked Be For But Is It Possible to Make a Npc Have An Option To Click And It Pop Ups A Browser Link,

Example: i Click a Plusing Npc And It Has the options to " +10 +11 +12 Gears could i add one to where if i click it Brings Up A Browser Link

And This Is For a Lotf Source 5017
07/19/2009 15:37 ~Yuki~#2
u mean a clickable hyperlink?
07/19/2009 15:41 rule34onyourmom#3
ummm i guess w/e it is that pops up a browser with a specific link from a NPC

//Edit: Also If Anyone Knows how to make a Specific Item Stop From Being Able To Be Dropped that Is also something id Enjoy Learning How To do
07/19/2009 16:39 n0mansland#4
I don't know what source you're talking about but here's an example for CoEmuV2 which is easily converted for LOTF just gotta look at bits and pieces and change it around.


DON'T USE
Code:
case 0://+12 NPC
{
if (LinkBack == 0)
{
  Text("Hi I can give you + 12 items", CSocket);
  Link("+12 Pine Robe", 1, CSocket);
  Link("+12 KingsClub", 2, CSocket);
  Link("+12 BuriedBlade", 3, CSocket);
  Link("Next page", 4, CSocket);
  End(CSocket);
}
else if (LinkBack == 1)
{
AddItem(FILLITALLOUT, CSocket);
}
else if (LinkBack == 2)
{
AddItem(FILLITALLOUT, CSocket);
}
else if (LinkBack == 3)
{
AddItem(FILLITALLOUT, CSocket);
}
else if (LinkBack == 4)
{
  Text("Page 2 of #", CSocket);
   Link("ITEM AND KEEP GOING", CSocket);
   End(CSocket);
}
break;
}
If it is CoEmuV2 there's already been a +12 NPC release and I bet there's LOTF also...
07/20/2009 02:39 rule34onyourmom#5
im asking could i add an option to that NPC to open a Web Browser URL??? if thats even possible in a LOTF source
07/20/2009 02:58 Pete1990#6
no becuse u will have to edit the client i belive i tryed it in a lotf server u can make it where it only pops up on a host pc who ever is hosting that server but other then that it will need to be a client edit somehow.
07/20/2009 03:12 Arcotemple:)#7
Quote:
Originally Posted by n0mansland View Post
I don't know what source you're talking about but here's an example for CoEmuV2 which is easily converted for LOTF just gotta look at bits and pieces and change it around.


DON'T USE
Code:
case 0://+12 NPC
{
if (LinkBack == 0)
{
  Text("Hi I can give you + 12 items", CSocket);
  Link("+12 Pine Robe", 1, CSocket);
  Link("+12 KingsClub", 2, CSocket);
  Link("+12 BuriedBlade", 3, CSocket);
  Link("Next page", 4, CSocket);
  End(CSocket);
}
else if (LinkBack == 1)
{
AddItem(FILLITALLOUT, CSocket);
}
else if (LinkBack == 2)
{
AddItem(FILLITALLOUT, CSocket);
}
else if (LinkBack == 3)
{
AddItem(FILLITALLOUT, CSocket);
}
else if (LinkBack == 4)
{
  Text("Page 2 of #", CSocket);
   Link("ITEM AND KEEP GOING", CSocket);
   End(CSocket);
}
break;
}
If it is CoEmuV2 there's already been a +12 NPC release and I bet there's LOTF also...
hes not asking for a +10-+12 npc
he's asking for an npc to hyperlink to a webpage
07/20/2009 03:25 rule34onyourmom#8
@Pete1990, Thanks, kinda sad tho i was really hopeing to make it work, but thanks bro. xD :(:o


//Edit what About My other Question About Maken Specific items not able to be dropped?
07/20/2009 04:34 f0am#9
Yeah, just do like

if (ItemName == "GMRobea")
{
NO DROPP!
}

or edit your drops
07/20/2009 05:33 n0mansland#10
Woops guess this part threw me off

Code:
Click a Plusing Npc And It Has the options to " +10 +11 +12 Gears
Yep, they're right it's near impossible to make a URL pop up unless you did what TQ did and when you clicked the "help" in some windows it will pop up a box with url links.
07/20/2009 05:49 andyd123#11
It is actually totally possible(as we can see from some binary servers).
I know it's possible in 5095 and all the latest versions of conquer, but I'm not sure if it is possible to do so in an older version of conquer, such as 5017.

I've forgotten the chat ID and to be frank I wouldn't give the id to epvp simply because it is EASILY abused in any private server, but in a simple breakdown:
The NPC option link should use a method that would send a chat packet from SYSTEM to CharacterName with the TEXT being a URL and the CHAT ID being of type OPEN_URL.
If you can figure out which type is OPEN_URL then you can do this.
07/20/2009 06:02 f0am#12
I think its 2105
07/20/2009 14:08 rule34onyourmom#13
Alright, I have NO idea what that means o.o but thanks :D
07/20/2009 15:00 f0am#14
I used one of the chattypes and it made anyone in my server client open XD