Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #16  
Old 02-03-2005, 10:54 AM
googleman googleman is offline
Registered User
googleman's Avatar
Join Date: Dec 2003
Location: Seattle, WA
Posts: 96
googleman is on a distinguished road
Not working for me.

Gscript2 enabled, using Graal v3.
Reply With Quote
  #17  
Old 02-03-2005, 02:38 PM
Ajira Ajira is offline
Poont.
Join Date: Oct 2004
Location: NY, USA
Posts: 477
Ajira is on a distinguished road
Quote:
Originally Posted by googleman
Not working for me.

Gscript2 enabled, using Graal v3.
Then you do not have GScript2 enabled on your server.
Reply With Quote
  #18  
Old 02-03-2005, 10:17 PM
Slash-P2P Slash-P2P is offline
Banned
Join Date: May 2004
Location: Burning Blade
Posts: 941
Slash-P2P is on a distinguished road
It only is enabled serverside (so if you're trying to do this offline, it won't work).
Quote:
Originally Posted by Stefan
Only works on servers which have the new scripting engine on serverside
Reply With Quote
  #19  
Old 02-04-2005, 01:31 AM
Doahh_p2p Doahh_p2p is offline
Developer
Join Date: Oct 2004
Posts: 187
Doahh_p2p is on a distinguished road
Hopefully getting Gscript 2 enabled on my server

(Woo 100'th post!)
Reply With Quote
  #20  
Old 02-04-2005, 03:22 AM
googleman googleman is offline
Registered User
googleman's Avatar
Join Date: Dec 2003
Location: Seattle, WA
Posts: 96
googleman is on a distinguished road
Quote:
Originally Posted by Ajira
Then you do not have GScript2 enabled on your server.
Well we do.

Graal v3 also freezes sometimes, causing my entire PC to lag horribly, forcing me to restart. (P4, 3 ghz, ATI Radeon x800 Pro) Plus I think it has problems looping music. That and Graal sometimes doesn't close when I think I closed it. I have to end task it.

It must be that.
Reply With Quote
  #21  
Old 02-04-2005, 03:51 AM
Slash-P2P Slash-P2P is offline
Banned
Join Date: May 2004
Location: Burning Blade
Posts: 941
Slash-P2P is on a distinguished road
Quote:
Originally Posted by googleman
Well we do.
Obviously not if you're having problems.
Reply With Quote
  #22  
Old 02-04-2005, 04:58 AM
ApothiX ApothiX is offline
Okiesmokie
Join Date: May 2004
Posts: 1,447
ApothiX is on a distinguished road
Quote:
Originally Posted by googleman
Well we do.
What server is it?
__________________


[06:24:19] * Parts: Skyld (i=silent@unaffiliated/skyld) ("Perhaps Okiesmokie did not realise that I like the boys. ")
Reply With Quote
  #23  
Old 02-06-2005, 02:36 PM
XiLe XiLe is offline
Lylic < Me
XiLe's Avatar
Join Date: Dec 2002
Location: My House
Posts: 224
XiLe is on a distinguished road
Send a message via AIM to XiLe Send a message via MSN to XiLe
I have GScript2 on my server and the RC fails to work as well...
__________________
AIM: xilesaim MSN: [email protected]
I'm the Co-Owner of Atrius... If you've got questions, ask me
Reply With Quote
  #24  
Old 02-06-2005, 07:03 PM
Ajira Ajira is offline
Poont.
Join Date: Oct 2004
Location: NY, USA
Posts: 477
Ajira is on a distinguished road
Quote:
Originally Posted by XiLe
I have GScript2 on my server and the RC fails to work as well...
Rofl. Do you guys even bother to check the script before you post here saying you have a problem? In the main Gui block, it says "visible = false;". Obviously, you should change it to "visible = true;". If it still doesn't work then you don't have GSCript2 enabled on your server.
Reply With Quote
  #25  
Old 02-06-2005, 08:07 PM
Doahh_p2p Doahh_p2p is offline
Developer
Join Date: Oct 2004
Posts: 187
Doahh_p2p is on a distinguished road
It works on my server
Reply With Quote
  #26  
Old 02-07-2005, 12:06 AM
jake13jake jake13jake is offline
Former Classic Staff
jake13jake's Avatar
Join Date: Dec 2002
Location: Northwest Vermont
Posts: 1,452
jake13jake will become famous soon enough
It's a shame I've been banned from learning about a new scripting version! Switch structures, very nice, and that's probably all I scanned through to see. If it has character arrays as well I am very happy with a new scripting version thing. OH YEA, let us not forget function parameters, that is the number one thing that has disappointed me about Graal Scripting is that I can't make my own parameters in functions. Okay, I'll go away now.
Reply With Quote
  #27  
Old 02-07-2005, 03:15 AM
googleman googleman is offline
Registered User
googleman's Avatar
Join Date: Dec 2003
Location: Seattle, WA
Posts: 96
googleman is on a distinguished road
Quote:
Originally Posted by Ajira
Rofl. Do you guys even bother to check the script before you post here saying you have a problem? In the main Gui block, it says "visible = false;". Obviously, you should change it to "visible = true;". If it still doesn't work then you don't have GSCript2 enabled on your server.
Yes and that wasn't it. Fixed it though. There was a piece of code missing.
Reply With Quote
  #28  
Old 02-07-2005, 04:08 AM
Arkan1k Arkan1k is offline
Delph
Join Date: Feb 2004
Location: Melbourne, Australia
Posts: 35
Arkan1k is on a distinguished road
Send a message via AIM to Arkan1k Send a message via MSN to Arkan1k
Just make a button for it:

NPC Code:
function onCreated() {
new GuiButtonCtrl("OpenRC") {
profile = "GuiButtonProfile";
x = 10;
y = screenheight - 45;
width = 80;
height = 35;
text = "RC";
catchevent(name,"onAction","on" @ name);
}
}
function onOpenRC() {
RemoteControl_Window.visible = RemoteControl_Window.visible == 0 ? 1 : 0;
}



Excuse me if there's something wrong or missing here. I'm having RC and NPC Server problems. Basically RC tells everyone who tries to log on that they need to register their account, and the NPC Server doesn't want to start. yay.

Oh and one question. Should "catchevent" be outside the control brackets?
__________________
[ Delph ]
Reply With Quote
  #29  
Old 02-07-2005, 05:03 AM
ApothiX ApothiX is offline
Okiesmokie
Join Date: May 2004
Posts: 1,447
ApothiX is on a distinguished road
Quote:
Originally Posted by Arkan1k
Excuse me if there's something wrong or missing here. I'm having RC and NPC Server problems. Basically RC tells everyone who tries to log on that they need to register their account, and the NPC Server doesn't want to start. yay.
AHH finally someone else this is happening to. The Unholy Nation Dev server is doing the exact same thing, telling some people that they need to register an account, even if they have Gold and VIP. (Hopefully now Stefan will realise that it is a bug, and won't tell me that I'm wrong when I confront him about it)

Quote:
Originally Posted by Arkan1k
Oh and one question. Should "catchevent" be outside the control brackets?
It should be in the control brackets, but I think it should be: "thiso.catchevent(..)"
__________________


[06:24:19] * Parts: Skyld (i=silent@unaffiliated/skyld) ("Perhaps Okiesmokie did not realise that I like the boys. ")
Reply With Quote
  #30  
Old 03-06-2005, 04:44 PM
coreys coreys is offline
N-Pulse Assistant Manager
coreys's Avatar
Join Date: Mar 2005
Posts: 2,180
coreys has a spectacular aura about
Send a message via AIM to coreys Send a message via MSN to coreys Send a message via Yahoo to coreys
Or you might wanna see if a GS2 enabled server like Aeon Dev or mine, Domination (going to be renamed to Altea dev) will let you temp there to try out stuff.
__________________

Quote:
*SlikRick: so should I even ask about your aim status?
*Xor: well if you want to
*Xor: but i am LARPING
*SlikRick: While on a computer?
*Xor: yes
*Xor: in my living room
*SlikRick: ahh
*Xor: i have a fort setup to hide from beasts
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 04:35 AM.


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