Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Future Improvements (https://forums.graalonline.com/forums/forumdisplay.php?f=10)
-   -   Serverwarp Start Params (https://forums.graalonline.com/forums/showthread.php?t=79704)

Tigairius 05-12-2008 06:24 AM

Serverwarp Start Params
 
Well, like graal:// links having start params, it would be nice if serverwarp did too.

zokemon 05-12-2008 11:34 AM

Quote:

Originally Posted by Tigairius (Post 1390353)
Well, like graal:// links having start params, it would be nice if serverwarp did too.

Really? Like what? :curious:

DustyPorViva 05-12-2008 12:19 PM

I think it's whatever params you want to define, and then are read on onPlayerlogins().

Tigairius 05-12-2008 06:58 PM

Quote:

Originally Posted by zokemon (Post 1390388)
Really? Like what? :curious:

I *think* you can just do this:

PHP Code:

function onActionplayeronline() {
  if (
params[0] == "blah") {
  }



graal://Project Mythic/blah

zokemon 05-12-2008 07:17 PM

That's pretty nifty. Unfortunately, you can't use it to send player data as the player could send what ever he/she wants. :frown:

Admins 05-12-2008 07:21 PM

It's sent by the login script to the server,
PHP Code:

function onActionServerStartParams(params) {
  echo(
"params: " params)




All times are GMT +2. The time now is 05:59 PM.

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