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
Spawn in one place !
Author Message
tyllneas
Apprentice
*

Posts: 8
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Nov 2012
Reputation: 0



Post: #11
RE: Spawn in one place !
(11-03-2012 10:18 PM)Barnabus Wrote:  Yes you could do that also just tag them with their filed location after
they have been placed there in the loop.

Code:
FORPLAYERS 7000
    IF !<ISONLINE>
        LOCAL.OfflinePlayerCount=<LOCAL.OfflinePlayerCount>+1
        TAG.LastAtTheseCoords=<P>
        GO <EVAL <LOCAL.RowNumber>>,<EVAL StartLocation_X>>
        TAG.FilledLocation=<P>
        LOCAL.RowNumber=<EVAL StartLocation_X + 1>
    ENDIF
ENDFOR

On the Login you would have to remeber to remove the last location
PHP Code:
ON=@Login
    
If <TAG0.LastAtTheseCoords>
        IF <
P> != <TAG.LastAtTheseCoords>
            
GO <TAG.LastAtTheseCoords>
            
TAG.LastAtTheseCoords=             
        ENDIF
    ENDIF 

Then on logoff if you wanted to send them all back to the same tiles.

PHP Code:
ON=@Logoff
    
If <TAG0.FilledLocation>
        
TAG.LastAtTheseCoords=<P>
        IF <
P> != <TAG.FilledLocation>
            
GO <TAG.FilledLocation>     
        ENDIF
    ENDIF 

With something like that you could keep all players filed somewhere. they are ok in a row because you only see so many per screen, if you have them all in the same screen or worse all on the same tile you might have trouble using allshow.

THX Barnabus, u realy helped me !
11-04-2012 08:37 PM
Find all posts by this user Like Post Quote this message in a reply
Barnabus
Journeyman
*

Posts: 124
Likes Given: 0
Likes Received: 3 in 2 posts
Joined: Apr 2012
Reputation: 1



Post: #12
RE: Spawn in one place !
Your welcome
11-04-2012 08:46 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


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