The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Let sphere reads new scripts without rebooting
Author Message
Rizz
Master
**

Posts: 396
Likes Given: 21
Likes Received: 14 in 9 posts
Joined: Oct 2012
Reputation: 0



Post: #1
Let sphere reads new scripts without rebooting
Is possibile to upload a new script (in a known directory) and let sphere reads it without reboot?
Is there any way?
01-09-2013 10:16 PM
Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

Posts: 1,687
Likes Given: 245
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35



Post: #2
RE: Let sphere reads new scripts without rebooting
I think it's serv.load path .

If i remember well the default path is scripts/ so for loading a new file that is inside a custom folder in the scripts directory, the command will look like
serv.load test/test.scp



LOAD file W Loads a script file.
(This post was last modified: 01-09-2013 11:06 PM by darksun84.)
01-09-2013 11:05 PM
Find all posts by this user Like Post Quote this message in a reply
Wap
Journeyman
*

Posts: 138
Likes Given: 6
Likes Received: 7 in 6 posts
Joined: Mar 2012
Reputation: 3

UORPG.net

Post: #3
RE: Let sphere reads new scripts without rebooting
There are any problems with serv.resync?
01-09-2013 11:29 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

Posts: 1,687
Likes Given: 245
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35



Post: #4
RE: Let sphere reads new scripts without rebooting
resync works only with files that are already loaded
01-09-2013 11:35 PM
Find all posts by this user Like Post Quote this message in a reply
Mordaunt
Super Moderator
****

Posts: 1,237
Likes Given: 26
Likes Received: 55 in 43 posts
Joined: Mar 2012
Reputation: 35



Post: #5
RE: Let sphere reads new scripts without rebooting
In the console /load folder/folder/filename.scp

[Image: 2nis46r.jpg]
01-09-2013 11:55 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
htid4life
Journeyman
*

Posts: 162
Likes Given: 27
Likes Received: 4 in 3 posts
Joined: Mar 2012
Reputation: 2



Post: #6
RE: Let sphere reads new scripts without rebooting
resync works with any script added to the script folder. new or old scripts. or use

serv.load /folderhere/nameofscript.scp


so if i added a script to the items folder it would be

serv.load /items/newitems.scp

[Image: htid.jpg]
(This post was last modified: 01-10-2013 01:59 AM by htid4life.)
01-10-2013 01:59 AM
Find all posts by this user Like Post Quote this message in a reply
Wap
Journeyman
*

Posts: 138
Likes Given: 6
Likes Received: 7 in 6 posts
Joined: Mar 2012
Reputation: 3

UORPG.net

Post: #7
RE: Let sphere reads new scripts without rebooting
(01-09-2013 11:35 PM)darksun84 Wrote:  resync works only with files that are already loaded
No, if the file is located in the main script folder.
01-10-2013 06:03 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 2 Guest(s)