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:
  • 2 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Death Menu
Author Message
Onirim
Journeyman
*

Posts: 64
Likes Given: 0
Likes Received: 1 in 1 posts
Joined: Jul 2012
Reputation: 0

UO: Rebellion

Post: #11
RE: Death Menu
Thank you very much, it's perfect now =)
12-16-2012 03:17 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Kyrbis
Journeyman
*

Posts: 54
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Mar 2012
Reputation: 0



Post: #12
RE: Death Menu
I've set it up as described, but when i die, it doesn't trigger.and the server gives no errors.
i took this event
[EVENTS e_death_event]
ON=@Death
if !(<isgm>)
TIMERF 3, f_closest //timer allows for death screen change
endif

ON=@Login //This section to allow for those killed on logout who HAVE NOT used menu
if (<flags>&=statf_dead>) && !(<isgm>)
f_closest
endif


and have set it in sphere ini for all players. it simply does not trigger.and since i have no messages on the console i can't figure out whats wrong.
Any ideas?
07-25-2013 06:17 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: #13
RE: Death Menu
07-25-2013 07:11 AM
Find all posts by this user Like Post Quote this message in a reply
Kyrbis
Journeyman
*

Posts: 54
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Mar 2012
Reputation: 0



Post: #14
RE: Death Menu
really, i've checked it all, but it won't fire Sad

also corrected the login triggger according to mordaunts example
ON=@Login //This section to allow for those killed on logout who HAVE NOT used menu
if (<flags>&=statf_dead>) && !(<isgm>)
f_closest
endif

but still, wenn i die (plevel1 character), no menu pops up
(This post was last modified: 07-25-2013 08:04 AM by Kyrbis.)
07-25-2013 08:01 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: #15
RE: Death Menu
It works fine for me, pay attention when you have to copy-paste the commented triggers Shock

Also what version you are using the one i downloaded doesn't have the &= but &(correct)
(This post was last modified: 07-25-2013 08:35 AM by darksun84.)
07-25-2013 08:35 AM
Find all posts by this user Like Post Quote this message in a reply
Kyrbis
Journeyman
*

Posts: 54
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Mar 2012
Reputation: 0



Post: #16
RE: Death Menu
i've just put this event up there in my scripts, and ganve it to everyone. and i downloaded the latest version, and (10mins ago) corrected the lines you mean. but even on a death , the normal menu does not appear.
07-25-2013 08:39 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: #17
RE: Death Menu
That's weird hmmm

Did you remove the // in Eventsplayer ?

Also try to add it in a normal event for testing
(This post was last modified: 07-25-2013 08:47 AM by darksun84.)
07-25-2013 08:47 AM
Find all posts by this user Like Post Quote this message in a reply
Kyrbis
Journeyman
*

Posts: 54
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Mar 2012
Reputation: 0



Post: #18
RE: Death Menu
i did. stilll not working -.-
07-25-2013 09:10 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: #19
RE: Death Menu
Add a serv.log test before the if in the @Death trigger.

It's a weird thing, but it happens (at least in notepad++) when copy-pasting and removing the //, the indentation of the lines goes wrong and mess up the script Confused
07-25-2013 09:23 AM
Find all posts by this user Like Post Quote this message in a reply
Kyrbis
Journeyman
*

Posts: 54
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Mar 2012
Reputation: 0



Post: #20
RE: Death Menu
nothing 0_o as if the event doesn't take place anywhere....i'll have to sleep over that...something MUST be missing in my set up...or i'm cursed
07-25-2013 09:43 AM
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)