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
Rattlehead
Master
**

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



Post: #11
RE: Areas giving events
ic, so why even have roomdefs then?

[Image: matts_siggy.gif]
06-27-2013 08:57 AM
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: #12
RE: Areas giving events
(06-26-2013 09:38 PM)Mordaunt Wrote:  It's really simple I don't know why people have so much trouble with this.
Just change the Roomdef to Areadef and add your event....
You're still going to affect the same region, you're just changing it's type.
Trouble?
When you are in a ROOM, when you say .where it says You are in "Room Name" in "City Name".
When you are in an AREA, it says "Area Name"

When you make an area, you need to set the same FLAGS of the city area.
So you make area inside another area with the same flags, just to put events...

So, yes, roomdef should have events properties of course.

Okay if you don't to make it, its just my opinion and I think it without events is useless.

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.
06-27-2013 09:03 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: #13
RE: Areas giving events
Well.. making it is nothing to do with me, I'm not a dev, I'm just here to clean up the forums e.t.c...
Though I believe that Ben has expressed the opinion previously that rooms don't need to have events.
As for why have roomdefs... I don't know that either, though I imagine suddenly removing them would cause a few complaints from people.

You can't please all the people all the time unfortunately

[Image: 2nis46r.jpg]
06-27-2013 11:42 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: #14
RE: Areas giving events
extreme, basically what mordaunt is saying, is that roomdefs are kinda pointless, as they can be defined as areadefs all the same, and areadefs can have events where-as room defs cannot, for reasons only Ben can tell us atm

so see if you need an event for a roomdef, u can easily just change that roomdef to an areadef and then place your events as needed.

although like extreme has stated room defs give you different information than aredefs do when you use .where, so thats the only convenience i can assign to a roomdef atm.

maybe Ben will come clear this up for us Wink

[Image: matts_siggy.gif]
06-27-2013 10:10 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: #15
RE: Areas giving events
You can write a really simple script to fix the .where command (I know it's a workaround and people don't like it but still)

<region.region.name> will give the name of the region which contains the region you are standing in.

[Image: 2nis46r.jpg]
(This post was last modified: 06-27-2013 11:49 PM by Mordaunt.)
06-27-2013 11:47 PM
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: #16
RE: Areas giving events
I don't have an answer other then the different info given by the .where function.
I never even realised that roomdefs gave out different info.
To me, they are useless.

AxisII's current version: 2.0.4j
AxisII SourceCode on Github
AxisII up to date changelog
06-28-2013 02:45 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: #17
RE: Areas giving events
roger that

[Image: matts_siggy.gif]
06-28-2013 07:10 AM
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: #18
RE: Areas giving events
The main problem IS NOT what .where shows.

The problem is:
- as AREA you need to set FLAGS, so you need set it in every AREA you create even it is INSIDE a city.
- so, if you change the city flags, you need to change all 'small areas' inside the city.
- rooms are just 'areas' that assign the flags of the main area.

Example:
City 1 - Flags: guarded
[ROOM] Tailor Shop - Flags: City 1 flags = guarded

Then you change the city flags to: unguarded, then tailor shop will be automatically unguarded.

But
City 1 - Flags: guarded
[AREA] Tailor Shop - Flags: guarded (you NEED set it)

Then you change the city flags to: unguarded, the tailor shop still guarded.

Then think about change ALL shops in the city if you change the flags of the city.

Did you understand my point?
I think its the most clear that I can explain.

So here is my request:
ROOM accepts events, just that, so it can follow the flags of area and receive events =D

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.
(This post was last modified: 06-28-2013 12:14 PM by Extreme.)
06-28-2013 12:12 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: #19
RE: Areas giving events
ahh ok, I was unaware that rooms inherit their parent region's flags... interesting, and not something i ever gave much thought to

[Image: 2nis46r.jpg]
(This post was last modified: 06-28-2013 12:35 PM by Mordaunt.)
06-28-2013 12:34 PM
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: #20
RE: Areas giving events
need to add something to this

mordaunt you said <region.region.name> will show the parent regions name, however it does not, nor can tags set on parent regions be accessed in this way. is there another way?

[Image: matts_siggy.gif]
07-17-2013 09:02 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


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