Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting > New Scripting Engine (GS2)
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 04-10-2006, 05:05 AM
Angel_Light Angel_Light is offline
Varia Developer
Angel_Light's Avatar
Join Date: Nov 2005
Location: Knoxville, TN
Posts: 1,684
Angel_Light is on a distinguished road
Send a message via AIM to Angel_Light Send a message via MSN to Angel_Light
Refresh Gui

Is there any way to refresh the gui without using a timeout each time?

Also how come this doesnt work X_X

player.mp = player.mp - 20;
__________________
Deep into the Darkness peering...

Last edited by Angel_Light; 04-10-2006 at 05:07 AM.. Reason: forgot something
Reply With Quote
  #2  
Old 04-11-2006, 01:34 PM
Angel_Light Angel_Light is offline
Varia Developer
Angel_Light's Avatar
Join Date: Nov 2005
Location: Knoxville, TN
Posts: 1,684
Angel_Light is on a distinguished road
Send a message via AIM to Angel_Light Send a message via MSN to Angel_Light
Okay I fixed the mp prob but how do i get the gui update itself without timeouts or making the playerchat?
__________________
Deep into the Darkness peering...
Reply With Quote
  #3  
Old 04-11-2006, 01:45 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 Angel_Light
Okay I fixed the mp prob but how do i get the gui update itself without timeouts or making the playerchat?
You will have to explain to us about your GUI, or show us your script.kickin rad 1,300th post
__________________
Skyld
Reply With Quote
  #4  
Old 04-11-2006, 10:54 PM
Angel_Light Angel_Light is offline
Varia Developer
Angel_Light's Avatar
Join Date: Nov 2005
Location: Knoxville, TN
Posts: 1,684
Angel_Light is on a distinguished road
Send a message via AIM to Angel_Light Send a message via MSN to Angel_Light
I wont hand out the script but i'll forum pm you it
__________________
Deep into the Darkness peering...
Reply With Quote
  #5  
Old 04-12-2006, 01:30 AM
Yen Yen is offline
Banned
Yen's Avatar
Join Date: Oct 2005
Location: Nova Scotia, Canada
Posts: 1,085
Yen is an unknown quantity at this point
Send a message via AIM to Yen Send a message via MSN to Yen
Quote:
Originally Posted by Angel_Light
I wont hand out the script but i'll forum pm you it
Anything you can script, we can script 10x better and more efficient. I promise.


My GUI scripts have a function for each 'piece.' One for weapon-related showimgs, one for hp/mp-related showimgs, and one for the rest.
It stores the last values into variables when it updates, then it checks if they changed in a timeout. If they change, it updates the GUI image for that section.
Reply With Quote
  #6  
Old 04-12-2006, 09:56 PM
Angel_Light Angel_Light is offline
Varia Developer
Angel_Light's Avatar
Join Date: Nov 2005
Location: Knoxville, TN
Posts: 1,684
Angel_Light is on a distinguished road
Send a message via AIM to Angel_Light Send a message via MSN to Angel_Light
I'm not doubting your scripting skills. I KNOW your better than me. It's just people will copy and paste this script for there server. >_>
__________________
Deep into the Darkness peering...
Reply With Quote
  #7  
Old 04-13-2006, 07:48 AM
DarkCloud_PK DarkCloud_PK is offline
Registered User
DarkCloud_PK's Avatar
Join Date: Jul 2001
Location: WISCONSIN
Posts: 994
DarkCloud_PK is just really niceDarkCloud_PK is just really nice
i can script yens mom 10x better
__________________

~DC
2001-2002 - Classic FAQ Administrator/Special Operations Administrator
2005 - 2009 - GC Dev Admin
2009 - Classic Dev Admin Stint
Reply With Quote
  #8  
Old 04-14-2006, 01:13 AM
ApothiX ApothiX is offline
Okiesmokie
Join Date: May 2004
Posts: 1,447
ApothiX is on a distinguished road
Quote:
Originally Posted by Angel_Light
I'm not doubting your scripting skills. I KNOW your better than me. It's just people will copy and paste this script for there server. >_>
Then why should we give you answers that you can just copy-paste for your server?
__________________


[06:24:19] * Parts: Skyld (i=silent@unaffiliated/skyld) ("Perhaps Okiesmokie did not realise that I like the boys. ")
Reply With Quote
  #9  
Old 04-14-2006, 01:27 AM
napo_p2p napo_p2p is offline
oh snaps
napo_p2p's Avatar
Join Date: Sep 2003
Location: Pismo Beach, California
Posts: 2,118
napo_p2p has a spectacular aura aboutnapo_p2p has a spectacular aura about
Send a message via AIM to napo_p2p Send a message via MSN to napo_p2p
Quote:
Originally Posted by ApothiX
Then why should we give you answers that you can just copy-paste for your server?
Ouch...

__________________
Scito hoc super omnia.
Haec vita est tua una sola.
Dum vita superest, utere maxime quoque puncto, momento, et hora quae habes.
Tempus neminem non manet.
Noli manere tempus.
Carpe Diem

Seize the Day.
Reply With Quote
  #10  
Old 04-14-2006, 02:20 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
Eh, Omega i'll go on Niromia and see for my self and see if i can help you if you have not already been helped.
__________________
Aim: DarkFireXZ3
Email: [email protected] or [email protected]
Common Location: Unholy Nation
Gscript, Playerworld Rules, Support Center
Reply With Quote
  #11  
Old 04-14-2006, 10:45 PM
Angel_Light Angel_Light is offline
Varia Developer
Angel_Light's Avatar
Join Date: Nov 2005
Location: Knoxville, TN
Posts: 1,684
Angel_Light is on a distinguished road
Send a message via AIM to Angel_Light Send a message via MSN to Angel_Light
I'm not taking. Yen was teaching me. ;o
__________________
Deep into the Darkness peering...
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 09:17 AM.


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