Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Future Improvements (https://forums.graalonline.com/forums/forumdisplay.php?f=10)
-   -   onLevelFileUpdated(file) (https://forums.graalonline.com/forums/showthread.php?t=83310)

xXziroXx 12-23-2008 11:16 PM

onLevelFileUpdated(file)
 
Would it be possible to make this function trigger when a script updates a file as well, and not just when it's updated via file browser? Or perhaps there already exist such a function?

Tigairius 12-23-2008 11:23 PM

Would be nice if there was a function that didn't check for files uploaded relevant to levels/. It would also be nice if it output the account name of the person who uploaded the file.

Could this be changed to onLevelFileUpdated(file, account) and onFileUpdated(file, account) ?

xXziroXx 03-24-2009 11:57 PM

Bumping for the greater good.

cbk1994 03-25-2009 12:06 AM

I agree.

xXziroXx 11-13-2009 06:48 PM

Since Stefan appears to be posting a lot more recently, this deserves a final bump.

Chompy 12-02-2009 05:33 PM

bumping this. I support both Ziro's and Tig's ideas. A way to detect updates to files done by scripts and a way to detect updates outside the levels/ folder would be great.

This would be perfect instead of loops checking the weapons and npcs folder for updates and new additions, and could be used effectively in the script below by Codein.
http://forums.graalonline.com/forums...hp?t=134257162

Soala 12-02-2009 05:48 PM

I support this.

Codein 12-02-2009 10:12 PM

Quote:

Originally Posted by alexandralove (Post 1541966)
I support this.

As said by Chompy, this would be perfect for my Code Gallery script.

cbk1994 12-03-2009 12:13 AM

Still agree completely with Tig.


All times are GMT +2. The time now is 10:39 AM.

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