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 01-28-2015, 08:49 PM
MysticalDragon MysticalDragon is offline
Global Administration
MysticalDragon's Avatar
Join Date: Oct 2002
Location: Lynn Ma
Posts: 883
MysticalDragon is a jewel in the roughMysticalDragon is a jewel in the rough
Send a message via AIM to MysticalDragon Send a message via MSN to MysticalDragon
Detect a Built in function

Is there anyway to detect if a built in function was called such as updateboard? I'm trying to add the OLE to testbed and want to make sure updateboad only works in that system.
__________________
~Delteria Support
~Playerworld Support
~PWA Chief
http://support.toonslab.com
[email protected]



Reply With Quote
  #2  
Old 01-29-2015, 02:43 PM
xAndrewx xAndrewx is offline
Registered User
xAndrewx's Avatar
Join Date: Sep 2004
Posts: 5,260
xAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud of
scriptlogfunctions

in server options maybe. Other than that, no.
__________________
Reply With Quote
  #3  
Old 01-29-2015, 03:28 PM
callimuc callimuc is offline
callimuc's Avatar
Join Date: Nov 2010
Location: Germany
Posts: 1,015
callimuc is a splendid one to beholdcallimuc is a splendid one to beholdcallimuc is a splendid one to beholdcallimuc is a splendid one to beholdcallimuc is a splendid one to behold
detecting them and having them continue to work - no
detecting them and blocking them - yes
__________________
MEEP!
Reply With Quote
  #4  
Old 01-29-2015, 06:07 PM
MysticalDragon MysticalDragon is offline
Global Administration
MysticalDragon's Avatar
Join Date: Oct 2002
Location: Lynn Ma
Posts: 883
MysticalDragon is a jewel in the roughMysticalDragon is a jewel in the rough
Send a message via AIM to MysticalDragon Send a message via MSN to MysticalDragon
Ahh thank you Andy and Calli.
__________________
~Delteria Support
~Playerworld Support
~PWA Chief
http://support.toonslab.com
[email protected]



Reply With Quote
  #5  
Old 01-30-2015, 10:19 AM
Crow Crow is offline
ǝɔɐɹq ʎןɹnɔ
Crow's Avatar
Join Date: Dec 2006
Location: Germany
Posts: 5,153
Crow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond repute
Actually gave this a try myself, since I hadn't used GS2 in a long time, and to my surprise, it's absolutely impossible to hook functions. Such a shame.
Reply With Quote
  #6  
Old 01-30-2015, 07:35 PM
BlueMelon BlueMelon is offline
asdfg
BlueMelon's Avatar
Join Date: Sep 2008
Posts: 1,481
BlueMelon is a splendid one to beholdBlueMelon is a splendid one to beholdBlueMelon is a splendid one to beholdBlueMelon is a splendid one to behold
Quote:
Originally Posted by Crow View Post
Actually gave this a try myself, since I hadn't used GS2 in a long time, and to my surprise, it's absolutely impossible to hook functions. Such a shame.
Heh
We have stray echo on Era that could be hiding in a script or in a level somewhere... I guess we'll never find it.
__________________
http://i.imgur.com/OOJbW.jpg
Reply With Quote
  #7  
Old 01-30-2015, 07:44 PM
Tim_Rocks Tim_Rocks is offline
a true gentlemen
Tim_Rocks's Avatar
Join Date: Aug 2008
Location: USA
Posts: 1,863
Tim_Rocks is a splendid one to beholdTim_Rocks is a splendid one to beholdTim_Rocks is a splendid one to beholdTim_Rocks is a splendid one to beholdTim_Rocks is a splendid one to behold
Quote:
Originally Posted by BlueMelon View Post
Heh
We have stray echo on Era that could be hiding in a script or in a level somewhere... I guess we'll never find it.
I've spent a good amount of time hunting that one down. Still haven't found it.
__________________
Reply With Quote
  #8  
Old 01-30-2015, 07:53 PM
Cubical Cubical is offline
Banned
Join Date: Feb 2007
Posts: 1,348
Cubical has a brilliant futureCubical has a brilliant futureCubical has a brilliant futureCubical has a brilliant futureCubical has a brilliant futureCubical has a brilliant futureCubical has a brilliant future
on login initiate a script that pm's everyone every 30-60 seconds 'pls email [email protected] prior 2 using updTEboard'. that should resolve ur issue in no time
Reply With Quote
  #9  
Old 01-31-2015, 02:50 AM
scriptless scriptless is offline
Banned
Join Date: Dec 2008
Location: N-Pulse
Posts: 1,412
scriptless is a splendid one to beholdscriptless is a splendid one to beholdscriptless is a splendid one to beholdscriptless is a splendid one to behold
Quote:
Originally Posted by Tim_Rocks View Post
I've spent a good amount of time hunting that one down. Still haven't found it.
What you guys might try is running all files on era thru a phraser to check for echo script. I did such a thing on another server with a program I made to read all .nw files and check if the links were aligned neatly around the edge of the level and if they all linked to .nw levels instead of .graal. I think it was some couple hundred files it scanned. Jaw dropping fast job literally makes your job effortless.
Reply With Quote
  #10  
Old 01-31-2015, 03:30 AM
Tim_Rocks Tim_Rocks is offline
a true gentlemen
Tim_Rocks's Avatar
Join Date: Aug 2008
Location: USA
Posts: 1,863
Tim_Rocks is a splendid one to beholdTim_Rocks is a splendid one to beholdTim_Rocks is a splendid one to beholdTim_Rocks is a splendid one to beholdTim_Rocks is a splendid one to behold
I did that a while ago. Theres a lot of **** to look through on Era.
__________________
Reply With Quote
  #11  
Old 01-31-2015, 09:44 AM
Elk Elk is offline
Sr Marketing Strategist
Elk's Avatar
Join Date: Nov 2005
Location: Deerland
Posts: 3,829
Elk has a brilliant futureElk has a brilliant futureElk has a brilliant futureElk has a brilliant futureElk has a brilliant futureElk has a brilliant futureElk has a brilliant future
Send a message via ICQ to Elk Send a message via AIM to Elk Send a message via MSN to Elk Send a message via Yahoo to Elk
Quote:
Originally Posted by Tim_Rocks View Post
I did that a while ago. Theres a lot of **** to look through on Era.
eh i dont think theres that many levels though,
__________________
iEra IGN: *Elk (Darkshire)
iCla. IGN: *Elk (Darkshire)
iZone IGN: *Elk (Darkshire)




Reply With Quote
  #12  
Old 01-31-2015, 10:36 AM
MysticalDragon MysticalDragon is offline
Global Administration
MysticalDragon's Avatar
Join Date: Oct 2002
Location: Lynn Ma
Posts: 883
MysticalDragon is a jewel in the roughMysticalDragon is a jewel in the rough
Send a message via AIM to MysticalDragon Send a message via MSN to MysticalDragon
Great start would be to just start removing the echo's all together lol.
__________________
~Delteria Support
~Playerworld Support
~PWA Chief
http://support.toonslab.com
[email protected]



Reply With Quote
  #13  
Old 01-31-2015, 03:08 PM
BlueMelon BlueMelon is offline
asdfg
BlueMelon's Avatar
Join Date: Sep 2008
Posts: 1,481
BlueMelon is a splendid one to beholdBlueMelon is a splendid one to beholdBlueMelon is a splendid one to beholdBlueMelon is a splendid one to behold
Quote:
Originally Posted by scriptless View Post
What you guys might try is running all files on era thru a phraser to check for echo script. I did such a thing on another server with a program I made to read all .nw files and check if the links were aligned neatly around the edge of the level and if they all linked to .nw levels instead of .graal. I think it was some couple hundred files it scanned. Jaw dropping fast job literally makes your job effortless.
We've grep'd everything to hell with many different patterns, there is a lot of **** on era.
__________________
http://i.imgur.com/OOJbW.jpg
Reply With Quote
  #14  
Old 01-31-2015, 04:46 PM
xAndrewx xAndrewx is offline
Registered User
xAndrewx's Avatar
Join Date: Sep 2004
Posts: 5,260
xAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud of
Quote:
Originally Posted by xAndrewx View Post
scriptlogfunctions

in server options maybe. Other than that, no.
Can't you use this?
__________________
Reply With Quote
  #15  
Old 01-31-2015, 08:08 PM
MysticalDragon MysticalDragon is offline
Global Administration
MysticalDragon's Avatar
Join Date: Oct 2002
Location: Lynn Ma
Posts: 883
MysticalDragon is a jewel in the roughMysticalDragon is a jewel in the rough
Send a message via AIM to MysticalDragon Send a message via MSN to MysticalDragon
Yea that logs it, but doesn't prevent it from being used. Thats what I was aiming for specifically was o prevent it from being used in other systems besides the one I want it to work. Something I might consider is not sure if its possible. Check everytime a script is updated to see if updateboard exist in that file.
__________________
~Delteria Support
~Playerworld Support
~PWA Chief
http://support.toonslab.com
[email protected]



Reply With Quote
  #16  
Old 01-31-2015, 11:47 PM
Tim_Rocks Tim_Rocks is offline
a true gentlemen
Tim_Rocks's Avatar
Join Date: Aug 2008
Location: USA
Posts: 1,863
Tim_Rocks is a splendid one to beholdTim_Rocks is a splendid one to beholdTim_Rocks is a splendid one to beholdTim_Rocks is a splendid one to beholdTim_Rocks is a splendid one to behold
In other words you'd like an option in serverops that might say: allowedscript$echo()=-MDEditor
__________________
Reply With Quote
  #17  
Old 02-01-2015, 05:24 AM
xAndrewx xAndrewx is offline
Registered User
xAndrewx's Avatar
Join Date: Sep 2004
Posts: 5,260
xAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud of
Quote:
Originally Posted by MysticalDragon View Post
Yea that logs it, but doesn't prevent it from being used. Thats what I was aiming for specifically was o prevent it from being used in other systems besides the one I want it to work. Something I might consider is not sure if its possible. Check everytime a script is updated to see if updateboard exist in that file.
Sorry, I was referring to the Era echo spam
__________________
Reply With Quote
  #18  
Old 02-01-2015, 02:31 PM
BlueMelon BlueMelon is offline
asdfg
BlueMelon's Avatar
Join Date: Sep 2008
Posts: 1,481
BlueMelon is a splendid one to beholdBlueMelon is a splendid one to beholdBlueMelon is a splendid one to beholdBlueMelon is a splendid one to behold
Quote:
Originally Posted by xAndrewx View Post
Can't you use this?
Not for echo..

Quote:
/listscriptlogfunctions

Script functions that can be logged:
write player.nick, write player.guild, write player.kills, write player.onlinetime, write player.deaths, write player.rating, write player.ratingd, write player.gralats, call level.putnpc2, call player.setlevel2, call npc.warpto, call player.addweapon, call player.removeweapon, call npc.toweapons, call sendtonc, call sendtorc, call player.sendpm, call copylevel, call deletelevel, call npc.sendtext, call npc.requesttext, call deletefile
__________________
http://i.imgur.com/OOJbW.jpg
Reply With Quote
  #19  
Old 02-03-2015, 02:43 AM
xAndrewx xAndrewx is offline
Registered User
xAndrewx's Avatar
Join Date: Sep 2004
Posts: 5,260
xAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud of
If you'd like me to investigate add me some rights and I'll log on
__________________
Reply With Quote
  #20  
Old 02-03-2015, 06:42 AM
MysticalDragon MysticalDragon is offline
Global Administration
MysticalDragon's Avatar
Join Date: Oct 2002
Location: Lynn Ma
Posts: 883
MysticalDragon is a jewel in the roughMysticalDragon is a jewel in the rough
Send a message via AIM to MysticalDragon Send a message via MSN to MysticalDragon
I can add you rights, you will have them by tommorrow.
__________________
~Delteria Support
~Playerworld Support
~PWA Chief
http://support.toonslab.com
[email protected]



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:19 PM.


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