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:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Areas giving events
Author Message
Ben
Sphere Developer
*****

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

SphereCommunity

Post: #31
RE: Areas giving events
RanXerox Wrote:So you set TAG.RED=1 on an AREADEF to enable that?

Yes, atleast that's what I understand from the code since it was never documented.

Rattlehead Wrote:i have a big area, with smaller areas inside of it, when i send a message to allclients in the bigger area, no one in the smaller area's gets the message, even tho the smallers area's are inside of the bigger areas.


Areadef don't inherit the properties of parent areadef... in fact there is no parent area. Each areadef is it's own area even if they overlap. The last one loaded will have control over the overlapped part.
This is where rooms can come in handy because they are simply a "region within a region" but since it can't have events, they seem almost useless.

AxisII's current version: 2.0.4j
AxisII SourceCode on Github
AxisII up to date changelog
07-18-2013 11:24 AM
Visit this user's website 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: #32
RE: Areas giving events
yeah, which is another reason it would be awesome if rooms could have events see Wink.

[Image: matts_siggy.gif]
07-18-2013 12:55 PM
Find all posts by this user Like Post Quote this message in a reply
Extreme
Grandmaster Poster
***

Posts: 1,141
Likes Given: 217
Likes Received: 90 in 77 posts
Joined: May 2012
Reputation: 20

SphereCommunity

Post: #33
Re: RE: Areas giving events
(07-18-2013 12:55 PM)Rattlehead Wrote:  yeah, which is another reason it would be awesome if rooms could have events see Wink.

thumbs up for you..

Sent from my i3000 using Tapatalk 2

STEPS BEFORE CREATE A THREAD
- Check the revisions log;
- Use the search button and use the keywords of your problem;
- Check the WIKI;
- Create a thread.
07-19-2013 11:53 AM
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: #34
RE: Areas giving events
Clearly this topic is going to run and run....
Ben has said previously I believe on here and certainly when I have questioned this issue that while regions are based on rooms in the source, adding events to rooms would be too difficult.

I don't know, I'm not a dev, I just bug them Devil, but I wouldn't hold my breath for rooms with events.

[Image: 2nis46r.jpg]
07-19-2013 12:16 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Extreme
Grandmaster Poster
***

Posts: 1,141
Likes Given: 217
Likes Received: 90 in 77 posts
Joined: May 2012
Reputation: 20

SphereCommunity

Post: #35
RE: Areas giving events
(07-19-2013 12:16 PM)Mordaunt Wrote:  Clearly this topic is going to run and run....
Ben has said previously I believe on here and certainly when I have questioned this issue that while regions are based on rooms in the source, adding events to rooms would be too difficult.

I don't know, I'm not a dev, I just bug them Devil, but I wouldn't hold my breath for rooms with events.

Atleast 2 triggers then, @Enter and @Exit.
But they should be fired properly..

STEPS BEFORE CREATE A THREAD
- Check the revisions log;
- Use the search button and use the keywords of your problem;
- Check the WIKI;
- Create a thread.
07-19-2013 12:33 PM
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: #36
RE: Areas giving events
currently the function i made in order for everyone in the parent area to receive messages is rather ridiculous and seems to defy all logic lol

serv.area.a_myarea.allclients sysmessage @,,1 wtf?

x7 areas including the parent :|

and i didnt even know rooms didnt have triggers, that would had made them useless for me anyways if thats the case Tongue

*edit*

wow just noticed but my sig is fuct oO

TO HAVE YOUR OWN IMAGES DELETED FOR NO APPARENT REASON AT ALL
TRY IMAGESHACK

[Image: matts_siggy.gif]
(This post was last modified: 07-19-2013 02:27 PM by Rattlehead.)
07-19-2013 02:23 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: #37
RE: Areas giving events
imgguru is better than imgshack Tongue
07-19-2013 05:32 PM
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: #38
RE: Areas giving events
Ok, I surrender!!!

SVN LOG Wrote:-Moved: Events from CRegionWorld to CRegionBase
-Added: Triggers @Enter, @Exit, and @Step to ROOMDEFs
-Changed: Version to 56c for future nightly builds

Just to be clear, triggering @enter in a room will not trigger @exit of the current region.

AxisII's current version: 2.0.4j
AxisII SourceCode on Github
AxisII up to date changelog
07-20-2013 05:39 AM
Visit this user's website 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: #39
RE: Areas giving events
nice Wink thx Ben lol, btw i like that entering a room within the given region will not trigger exit of the region, thats boss

a question, how can we reference the room?

src.room.name?

[Image: matts_siggy.gif]
(This post was last modified: 07-20-2013 05:44 AM by Rattlehead.)
07-20-2013 05:43 AM
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: #40
RE: Areas giving events
You got it!

AxisII's current version: 2.0.4j
AxisII SourceCode on Github
AxisII up to date changelog
07-20-2013 06:11 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: 1 Guest(s)