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-nmm6 (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-nmm6 (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-nmm6 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 3 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[UPDATE]Amon Vangrell - World Decorator [OSI LIKE]
Author Message
Ben
Sphere Developer
*****

Posts: 612
Likes Given: 2
Likes Received: 123 in 70 posts
Joined: Mar 2010
Reputation: 18

SphereCommunity

Post: #21
RE: [UPDATE]Amon Vangrell - World Decorator [OSI LIKE]
you could always use FORINSTANCES on t_door and t_sign_gump also Wink

AxisII's current version: 2.0.4j
AxisII SourceCode on Github
AxisII up to date changelog
05-22-2013 02:47 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Staff_Stanic
Journeyman
*

Posts: 96
Likes Given: 25
Likes Received: 14 in 8 posts
Joined: Nov 2012
Reputation: 1

Dimension Shard

Post: #22
RE: [UPDATE]Amon Vangrell - World Decorator [OSI LIKE]
(05-22-2013 02:47 AM)Ben Wrote:  you could always use FORINSTANCES on t_door and t_sign_gump also Wink

Why nobody said this on Wiki? Sad(
05-22-2013 05:25 AM
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: #23
RE: [UPDATE]Amon Vangrell - World Decorator [OSI LIKE]
05-22-2013 05:27 AM
Find all posts by this user Like Post Quote this message in a reply
Staff_Stanic
Journeyman
*

Posts: 96
Likes Given: 25
Likes Received: 14 in 8 posts
Joined: Nov 2012
Reputation: 1

Dimension Shard

Post: #24
RE: [UPDATE]Amon Vangrell - World Decorator [OSI LIKE]
(05-22-2013 05:27 AM)darksun84 Wrote:  It's actually on chapter 7 Tongue

http://wiki.sphere.torfo.org/index.php/C...RINSTANCES
But the thing that Ben said have there?
Like FORINSTANCES t_door (is this?)
05-22-2013 06:20 AM
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: #25
RE: [UPDATE]Amon Vangrell - World Decorator [OSI LIKE]
ah damn, nope! my fault Blush
05-22-2013 06:24 AM
Find all posts by this user Like Post Quote this message in a reply
Rattlehead
Master
**

Posts: 290
Likes Given: 3
Likes Received: 8 in 6 posts
Joined: Jun 2012
Reputation: 8



Post: #26
RE: [UPDATE]Amon Vangrell - World Decorator [OSI LIKE]
(05-22-2013 06:20 AM)Staff_Stanic Wrote:  
(05-22-2013 05:27 AM)darksun84 Wrote:  It's actually on chapter 7 Tongue

http://wiki.sphere.torfo.org/index.php/C...RINSTANCES
But the thing that Ben said have there?
Like FORINSTANCES t_door (is this?)


he has a point

SphereWiki Wrote:This offers the following advantages over using FORITEMS/FORCHARS 9999:
  • Sphere will only run your script for objects with the BASEID you are interested in.
  • Sphere knows how many instances of the object exist, so can abort the loop at an appropriate time.
  • Items inside containers (e.g. character backpacks or player banks) will not be missed out.

in this case Ben says FORINSTANCES will loop thru t_door yet on the wiki it specifically states it only loops thru BASEID not type definitions, so will it loop thru type definitions? if so the wiki will need updating.

[Image: matts_siggy.gif]
05-22-2013 06:41 AM
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: #27
RE: [UPDATE]Amon Vangrell - World Decorator [OSI LIKE]
Uhm it actually doesn't work with Types Confused
05-22-2013 06:51 AM
Find all posts by this user Like Post Quote this message in a reply
amonvangrell
Banned

Posts: 337
Likes Given: 17
Likes Received: 32 in 20 posts
Joined: Aug 2012

britannia shard

Post: #28
RE: [UPDATE]Amon Vangrell - World Decorator [OSI LIKE]
Thx you all for the comments!
(05-22-2013 02:47 AM)Ben Wrote:  you could always use FORINSTANCES on t_door and t_sign_gump also Wink

I've tried what you said, but it didn't work.

(05-22-2013 02:36 AM)Staff_Stanic Wrote:  Hey! Just more tips Big Grin
(Just a PS.: I don't test! Please, check before Big Grin)

Am sorry am very week on scripting, but what its the difference on that implement? thx!
05-22-2013 07:29 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Staff_Stanic
Journeyman
*

Posts: 96
Likes Given: 25
Likes Received: 14 in 8 posts
Joined: Nov 2012
Reputation: 1

Dimension Shard

Post: #29
RE: [UPDATE]Amon Vangrell - World Decorator [OSI LIKE]
(05-22-2013 07:29 AM)amonvangrell Wrote:  
(05-22-2013 02:36 AM)Staff_Stanic Wrote:  Hey! Just more tips Big Grin
(Just a PS.: I don't test! Please, check before Big Grin)

Am sorry am very week on scripting, but what its the difference on that implement? thx!
Just otimization Big Grin
05-22-2013 07:52 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Ben
Sphere Developer
*****

Posts: 612
Likes Given: 2
Likes Received: 123 in 70 posts
Joined: Mar 2010
Reputation: 18

SphereCommunity

Post: #30
RE: [UPDATE]Amon Vangrell - World Decorator [OSI LIKE]
sorry, stupid mistake. Didn't realise it was types... oops Blush

AxisII's current version: 2.0.4j
AxisII SourceCode on Github
AxisII up to date changelog
05-22-2013 08:08 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: 4 Guest(s)