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
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 786 - File: showthread.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/showthread.php 786 errorHandler->error






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Reactivate/Respawn all
Author Message
Lazarus
Master
**

Posts: 352
Likes Given: 11
Likes Received: 7 in 6 posts
Joined: Jun 2012
Reputation: 1

Hybris Ultima Online

Post: #1
Reactivate/Respawn all
Hi there! I just want a script to reactivate all the Worldgem bits in the world (double click all the Worldgem in the world) because I have changed the names of all NPC's and others.

How can I do?

I tried something from the Wiki but it didn't work

Code:
[FUNCTION redospawns]
GO 1,1
FOR 0 1 //make loop through all 5 maps
    MAP = <LOCAL._FOR> //set the map
    FORCHARS 8000 //loop through all chars in the world (unless EA makes a map bigger than 8000x8000 squares)
        REF1 = <MEMORYFINDTYPE.memory_ispawned.LINK> //set REF1 to the spawngem of that npc
        IF (<REF1>) //checks if the npc has the spawn memory
            REF1.TIMER = <EVAL {<REF1.MOREX> <REF1.MOREY>} * 60> //set the spawn memory timer to the values specified when creating it
        ENDIF
    ENDFOR
ENDFOR

Thanks Smile
BTW [I always search in the forums first but I don't get this :'(]

[Image: 2hy9q0y.png]
(This post was last modified: 03-06-2015 03:44 PM by Lazarus.)
03-06-2015 03:43 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Reactivate/Respawn all - Lazarus - 03-06-2015 03:43 PM
RE: Reactivate/Respawn all - JohnVeritas - 03-06-2015, 06:10 PM
RE: Reactivate/Respawn all - Lazarus - 03-07-2015, 07:12 AM
RE: Reactivate/Respawn all - richm - 03-07-2015, 07:15 AM
RE: Reactivate/Respawn all - Lazarus - 03-07-2015, 07:26 AM
RE: Reactivate/Respawn all - richm - 03-07-2015, 07:29 AM
RE: Reactivate/Respawn all - Lazarus - 03-07-2015, 07:34 AM
RE: Reactivate/Respawn all - azmanomer - 03-07-2015, 10:16 AM
RE: Reactivate/Respawn all - Lazarus - 03-07-2015, 08:28 PM

Forum Jump:


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