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
  #1  
Old 02-17-2008, 10:53 PM
projectigi projectigi is offline
Registered User
Join Date: Jan 2004
Posts: 403
projectigi is an unknown quantity at this point
Default function calls? Noticing overwrites?

Hi,

how can i have my script notice if a function of it is being overwritten by another script and how can i call the default function?

Client RC did that when i was changing its functions :P ( something like "Function xyz has been overwritten by an lesser privileged script. Using default function" )
__________________
Reply With Quote
  #2  
Old 02-18-2008, 12:10 AM
Inverness Inverness is offline
Incubator
Inverness's Avatar
Join Date: Aug 2004
Location: Houston, Texas
Posts: 3,613
Inverness is a jewel in the roughInverness is a jewel in the rough
I believe that is a feature of the login server to prevent other servers from changing the weapons it adds to you automatically.
__________________
Reply With Quote
  #3  
Old 02-22-2008, 03:27 PM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
To call the original version of the function set the function to NULL (myfunction = NULL; myfunction(); )
Reply With Quote
  #4  
Old 02-22-2008, 05:52 PM
projectigi projectigi is offline
Registered User
Join Date: Jan 2004
Posts: 403
projectigi is an unknown quantity at this point
ah, ty
__________________
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 08:00 AM.


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