Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Graal Main Forum (English) (https://forums.graalonline.com/forums/forumdisplay.php?f=4)
-   -   How do graal:// links work? (https://forums.graalonline.com/forums/showthread.php?t=73191)

godofwarares 03-31-2007 11:06 PM

How do graal:// links work?
 
Title says it all.

Chompy 03-31-2007 11:12 PM

Quote:

Originally Posted by godofwarares (Post 1295086)
Title says it all.

Many uses them in titles.. hmm
I think its html, the href tag

godofwarares 03-31-2007 11:20 PM

Quote:

Originally Posted by Chompy (Post 1295091)
Many uses them in titles.. hmm
I think its html, the href tag

NOT what I needed to know.
I know that its like graal://Zone/, but what about the extra thing?
e.g.

HTML Code:

graal://Zone/whatever
:confused:

Gambet 03-31-2007 11:40 PM

graal://servername

I.E:

graal://Zone


Type it into a web-browser to have the client automatically open and log you in to the specified server.


You can also create a website shortcut icon and release it on the forums of your own server so that you can just double click the icon to be logged into your own server without having to open the client and scroll through servers and so forth.

godofwarares 03-31-2007 11:58 PM

Quote:

Originally Posted by Gambet (Post 1295098)
graal://servername

I.E:

graal://Zone


Type it into a web-browser to have the client automatically open and log you in to the specified server.


You can also create a website shortcut icon and release it on the forums of your own server so that you can just double click the icon to be logged into your own server without having to open the client and scroll through servers and so forth.

Then whats the graal://Zone/whatever thing? I never got that z.z

HoudiniMan 04-01-2007 12:41 AM

Quote:

Originally Posted by godofwarares (Post 1295101)
Then whats the graal://Zone/whatever thing? I never got that z.z

You can check for this parameter when a player logs on.

Say you put in graal://Playerworld1234/event4 and made the hyperlink say "Play CTF". When you login the npcserver goes event4 = warp them to 15 25 ctf.nw and voila, you're playing CTF striaght from your browser.

cbk1994 04-01-2007 12:57 AM

Cool. I can totally find some way to abuse this.

Tyhm 04-01-2007 08:27 PM

Only if you have NPCServer controls...

Rapidwolve 04-01-2007 08:32 PM

Quote:

Originally Posted by HoudiniMan (Post 1295114)
You can check for this parameter when a player logs on.

Say you put in graal://Playerworld1234/event4 and made the hyperlink say "Play CTF". When you login the npcserver goes event4 = warp them to 15 25 ctf.nw and voila, you're playing CTF striaght from your browser.

I've always wanted to ask this also, how do you check the param?
PHP Code:

function onActionPlayerOnline(whichparamisit


cbk1994 04-01-2007 11:25 PM

You could try in NPC-Control

PHP Code:

function onActionPlayerOnline()
{
  echo( 
params );



Inverness 04-01-2007 11:26 PM

Text: Do Not Click This
URL: graal://Aeon/jailplayer

Admins 04-02-2007 01:18 AM

I think it is
PHP Code:

function onActionServerStartParams() {
  echo(
"start parameters: " params);


in the Control-NPC (or if (actionserverstartparams) ... in GS1). It is actually triggered by the server list script.

Crow 04-02-2007 01:27 AM

Quote:

Originally Posted by Inverness (Post 1295541)
Text: Do Not Click This
URL: graal://Aeon/jailplayer

Sounds good. Lets try that.

Rapidwolve 04-02-2007 02:13 AM

Quote:

Originally Posted by Stefan (Post 1295604)
I think it is
PHP Code:

function onActionServerStartParams() {
  echo(
"start parameters: " params);


in the Control-NPC (or if (actionserverstartparams) ... in GS1). It is actually triggered by the server list script.

Ahh I just thought it was actionplayeronline

xXziroXx 02-11-2012 09:45 PM

Superbump. Is this no longer supported by the game client, or is it a Windows 7 thing?

Fulg0reSama 02-11-2012 09:51 PM

Quote:

Originally Posted by xXziroXx (Post 1684283)
Superbump. Is this no longer supported by the game client, or is it a Windows 7 thing?

Uh it still works for me.

Confirmed by testing myself with RC message to myself in-game. v6, Windows 7.

Quote:

<a href="graal://Login">Click me!</a>
or

Click me!

Would send you a message saying "Click me!" in a lighter text with underline (like in the second example), making it apparent to be a link to the above, sending you to the Login Server.

Text between the html tags can also be changed to an Image which you can click for the same effect (Great for jokes and iconic messages)

Emera 02-11-2012 09:54 PM

Is there any way to do this with the RC client?

MattKan 02-11-2012 09:55 PM

Quote:

Originally Posted by xXziroXx (Post 1684283)
Superbump. Is this no longer supported by the game client, or is it a Windows 7 thing?

You have to include the direct link in the shortcut to Graal6.exe. There's an example in Dusty's thread about this I think.

Fulg0reSama 02-11-2012 09:56 PM

Quote:

Originally Posted by Emera (Post 1684285)
Is there any way to do this with the RC client?

No, RC takes only text messages. Any HTML you'd use would only show what you tried to send in its text form.

like I mentioned above,

Click me!

Would end up being

Quote:

<a href="graal://Login">Click me!</a>
in the RC message. Unless you mean Client RC, then I have no idea.

Emera 02-11-2012 09:57 PM

Quote:

Originally Posted by Fulg0reSama (Post 1684288)
No, RC takes only text messages.

So does my mobile <3

Fulg0reSama 02-11-2012 10:00 PM

Also about that image piece, this can also be done with images too.

http://forums.graalonline.com/forums...ine=1327925442

Click my adorable avatar to go straight to the login server! :D

Of course this is simply the forum codes version.

the HTML version is merely <a href="directory or website link here">"content of message / link here</a>

xXziroXx 02-12-2012 04:25 AM

Quote:

Originally Posted by Fulg0reSama (Post 1684284)
Uh it still works for me.

Confirmed by testing myself with RC message to myself in-game. v6, Windows 7.


or

Click me!

Turns out it's just Chrome that refuses to recognize it when I type it manually, thanks. :)

Fulg0reSama 02-12-2012 04:29 AM

Quote:

Originally Posted by xXziroXx (Post 1684323)
Turns out it's just Chrome that refuses to recognize it when I type it manually, thanks. :)

np

Quote:

Originally Posted by MattKan (Post 1684287)
You have to include the direct link in the shortcut to Graal6.exe. There's an example in Dusty's thread about this I think.

This is true.

If you're creating a shortcut to link to Graal.

What you do is once the shortcut is created.

Right Click the Shortcut>Properties>Target> Should say something like this. (Reversing the \ so that it won't make smileys)

Quote:

Drive Letter:/Users/PC Name/Graal/Graal6.exe
All you do to make it link the client to what server you wish to go to is


Quote:

Drive Letter:/Users/PC Name/Graal/Graal6.exe graal://servernamehere
-EDIT-: Of course this is how it installed onto my drive, depending on operating system and other odd variables dependant on you, it could be directed differently, this could b a whole different process on something other then Windows.

Fulg0reSama 02-13-2012 08:18 PM

Because I can't edit my last post, I have to make a double post, regarding to the problem ziro thought he had.

I wish to refer to this thread.
http://forums.graalonline.com/forums...hp?t=134262229


All times are GMT +2. The time now is 05:32 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.