Graal Forums  

Go Back   Graal Forums > Development Forums > Tech Support
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 02-04-2006, 08:56 PM
talkingnoodle talkingnoodle is offline
Rapidwolve
talkingnoodle's Avatar
Join Date: Nov 2005
Location: Leominster, MA
Posts: 229
talkingnoodle is on a distinguished road
Send a message via AIM to talkingnoodle Send a message via MSN to talkingnoodle
Serverwarp

I am requesting serverwarp to be a serverside command...for use with getplayer on serverside
__________________


AIM: Rapidwolve Graal
MSN: [email protected]


2/12/06 - Crossroads NPC Admin
Reply With Quote
  #2  
Old 02-04-2006, 09:49 PM
Skyld Skyld is offline
Script-fu
Skyld's Avatar
Join Date: Jan 2002
Location: United Kingdom
Posts: 3,914
Skyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud of
Send a message via AIM to Skyld
Quote:
Originally Posted by talkingnoodle
I am requesting serverwarp to be a serverside command...for use with getplayer on serverside
There's no point, just set a string or flag on the serverside, and then have the clientside check for that string or flag to be set and serverwarp from there.
__________________
Skyld
Reply With Quote
  #3  
Old 02-04-2006, 09:55 PM
Moondeath_2 Moondeath_2 is offline
"..."
Moondeath_2's Avatar
Join Date: Jan 2006
Location: Far Far Away.
Posts: 238
Moondeath_2 is an unknown quantity at this point
Send a message via AIM to Moondeath_2 Send a message via MSN to Moondeath_2 Send a message via Yahoo to Moondeath_2
Quote:
Originally Posted by Skyld
There's no point, just set a string or flag on the serverside, and then have the clientside check for that string or flag to be set and serverwarp from there.
Couldn't you juse use this I may be a little off but I'm sure it should work.

PHP Code:
function onActionServerside() 
 {
   
with (findplayer("AccountName")) {
    
player.triggerclient("NPCName","reconnect");
  }
}

  
The NPC Below is the npc you are triggering

// #CLIENTSIDE

function onActionClientside() {
 if (
params[0] == "reconnect") {
  
serverwarp("servername");
  }

Edit: I'd suggest NOT using flags in a way it's useless.
__________________
Aim: DarkFireXZ3
Email: [email protected] or [email protected]
Common Location: Unholy Nation
Gscript, Playerworld Rules, Support Center
Reply With Quote
  #4  
Old 02-04-2006, 10:04 PM
talkingnoodle talkingnoodle is offline
Rapidwolve
talkingnoodle's Avatar
Join Date: Nov 2005
Location: Leominster, MA
Posts: 229
talkingnoodle is on a distinguished road
Send a message via AIM to talkingnoodle Send a message via MSN to talkingnoodle
Quote:
Originally Posted by Skyld
There's no point, just set a string or flag on the serverside, and then have the clientside check for that string or flag to be set and serverwarp from there.
yea i realized that right after i made this thread...
__________________


AIM: Rapidwolve Graal
MSN: [email protected]


2/12/06 - Crossroads NPC Admin
Reply With Quote
  #5  
Old 02-04-2006, 10:05 PM
Moondeath_2 Moondeath_2 is offline
"..."
Moondeath_2's Avatar
Join Date: Jan 2006
Location: Far Far Away.
Posts: 238
Moondeath_2 is an unknown quantity at this point
Send a message via AIM to Moondeath_2 Send a message via MSN to Moondeath_2 Send a message via Yahoo to Moondeath_2
Please read my edit. I say flags aren't needed, you make me laugh.

Edit: I offered help you acted like a fool, used a bad script and blocked my aim screen name I bid good day to you.
__________________
Aim: DarkFireXZ3
Email: [email protected] or [email protected]
Common Location: Unholy Nation
Gscript, Playerworld Rules, Support Center
Reply With Quote
  #6  
Old 02-05-2006, 02:21 AM
Ajira Ajira is offline
Poont.
Join Date: Oct 2004
Location: NY, USA
Posts: 477
Ajira is on a distinguished road
Quote:
Originally Posted by Moondeath_2
Couldn't you juse use this I may be a little off but I'm sure it should work.

PHP Code:
function onActionServerside() 
 {
   
with (findplayer("AccountName")) {
    
player.triggerclient("NPCName","reconnect");
  }

Edit: I'd suggest NOT using flags in a way it's useless.
I believe it's triggerclient("gui", "weaponname", "reconnect");
__________________
Liek omigosh.

Reply With Quote
  #7  
Old 02-05-2006, 11:14 AM
ApothiX ApothiX is offline
Okiesmokie
Join Date: May 2004
Posts: 1,447
ApothiX is on a distinguished road
Quote:
Originally Posted by Ajira
I believe it's triggerclient("gui", "weaponname", "reconnect");
and I believe triggerclient() doesn't fire the ActionClientside() event, it would be more like:

PHP Code:
function onReconnect() {

__________________


[06:24:19] * Parts: Skyld (i=silent@unaffiliated/skyld) ("Perhaps Okiesmokie did not realise that I like the boys. ")
Reply With Quote
  #8  
Old 02-05-2006, 11:39 AM
Moondeath_2 Moondeath_2 is offline
"..."
Moondeath_2's Avatar
Join Date: Jan 2006
Location: Far Far Away.
Posts: 238
Moondeath_2 is an unknown quantity at this point
Send a message via AIM to Moondeath_2 Send a message via MSN to Moondeath_2 Send a message via Yahoo to Moondeath_2
Quote:
Originally Posted by Ajira
I believe it's triggerclient("gui", "weaponname", "reconnect");
Wrong.

(02:09.53 pm) <Chadley> Moondeath: triggerclient("gui","weaponname","action",params)
(02:10.13 pm) <Moondeath> I tested it on my server the other day..
(02:10.17 pm) <Moondeath> It worked fine.. o.o
(02:10.34 pm) <Deek`> !bank rob
(02:10.35 pm) <Twusk> *** BANK ALARM! Deek` fails to bypass bank security.
(02:10.44 pm) <Moondeath> I'll remember that one :x
(02:11.41 pm) <Moondeath> He can't script any better, i assure you of that he worked on my playerworld. I fired him...
(02:11.58 pm) <Chadley> oh that's weird
(02:12.10 pm) <Chadley> triggerclient and triggerserver act different :/
(02:12.26 pm) <Chadley> putting the "gui" in that doesn't affect anything x.x

At least chadley knows.

Quote:
Originally Posted by ApothiX
and I believe triggerclient() doesn't fire the ActionClientside() event, it would be more like:

PHP Code:
function onReconnect() {

Wrong again tried it didn't respond at all.
__________________
Aim: DarkFireXZ3
Email: [email protected] or [email protected]
Common Location: Unholy Nation
Gscript, Playerworld Rules, Support Center
Reply With Quote
  #9  
Old 02-06-2006, 12:03 AM
Ajira Ajira is offline
Poont.
Join Date: Oct 2004
Location: NY, USA
Posts: 477
Ajira is on a distinguished road
Quote:
Originally Posted by ApothiX
and I believe triggerclient() doesn't fire the ActionClientside() event, it would be more like:

PHP Code:
function onReconnect() {

That's only on 3D servers, I'm afraid
__________________
Liek omigosh.

Reply With Quote
  #10  
Old 02-06-2006, 06:09 PM
ApothiX ApothiX is offline
Okiesmokie
Join Date: May 2004
Posts: 1,447
ApothiX is on a distinguished road
Quote:
Originally Posted by Moondeath_2
..
Why exactly did you post a completely irrelevant IRC Log? (Posting private logs is against the forum rules.)

Quote:
Originally Posted by Ajira
That's only on 3D servers, I'm afraid
Oh, my bad
__________________


[06:24:19] * Parts: Skyld (i=silent@unaffiliated/skyld) ("Perhaps Okiesmokie did not realise that I like the boys. ")
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 12:43 AM.


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