Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Event problem
Author Message
kevin465
Journeyman
*

Posts: 67
Likes Given: 1
Likes Received: 4 in 4 posts
Joined: Feb 2014
Reputation: 0

UO Reborn

Post: #1
Event problem
ok i explain you... when i use my admin account and i click on a items all work on every items they give me the durability but when i use a player account some item dont say me the durability ?

Code:
[EVENTS e_player]
ON=@ITEMCLICK
if !(<act.maxhits>>10000)
IF (<act.maxhits>>0)
act.message @,3,1 [Durability : <ACT.HITS>/<ACT.MAXHITS>]
endif
endif
return 1
05-19-2014 08:18 PM
Find all posts by this user Like Post Quote this message in a reply
kn4tseb
Master
**

Posts: 392
Likes Given: 45
Likes Received: 10 in 10 posts
Joined: May 2014
Reputation: 0



Post: #2
RE: Event problem
uhmm, have you tried tooltips.scp event at download section?
05-20-2014 02:15 AM
Find all posts by this user Like Post Quote this message in a reply
Extreme
Grandmaster Poster
***

Posts: 1,140
Likes Given: 217
Likes Received: 89 in 76 posts
Joined: May 2012
Reputation: 20

SphereCommunity

Post: #3
RE: Event problem
[EVENTS e_player]
ON=@ITEMCLICK
if <act.maxhits>
act.message @,3,1 [Durability : <ACT.HITS>/<ACT.MAXHITS>]
endif

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.
05-20-2014 02:16 AM
Find all posts by this user Like Post Quote this message in a reply
kevin465
Journeyman
*

Posts: 67
Likes Given: 1
Likes Received: 4 in 4 posts
Joined: Feb 2014
Reputation: 0

UO Reborn

Post: #4
RE: Event problem
dont work with my personal armor script.. but when i am admin i can see all durability of items but when i try with a player just show me the name in gray color without durability ? dam thanks anyway
05-20-2014 02:41 AM
Find all posts by this user Like Post Quote this message in a reply
Extreme
Grandmaster Poster
***

Posts: 1,140
Likes Given: 217
Likes Received: 89 in 76 posts
Joined: May 2012
Reputation: 20

SphereCommunity

Post: #5
RE: Event problem
(05-20-2014 02:41 AM)kevin465 Wrote:  dont work with my personal armor script.. but when i am admin i can see all durability of items but when i try with a player just show me the name in gray color without durability ? dam thanks anyway

Do your player have the event e_player? Big Grin

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.
05-20-2014 05:40 AM
Find all posts by this user Like Post Quote this message in a reply
kevin465
Journeyman
*

Posts: 67
Likes Given: 1
Likes Received: 4 in 4 posts
Joined: Feb 2014
Reputation: 0

UO Reborn

Post: #6
RE: Event problem
yes i dont understand why ... with my admin account its work..
05-20-2014 06:59 PM
Find all posts by this user Like Post Quote this message in a reply
Feeh
Sphere Developer
*****

Posts: 156
Likes Given: 6
Likes Received: 40 in 29 posts
Joined: Sep 2012
Reputation: 4



Post: #7
RE: Event problem
Do you have any other ON=@ITEMCLICK anywhere in your scripts that returns 1? Some something that may avoid the trigge from calling ?

Feeh/Epila - Nightly releases / SphereWiki / Github Issues / Sphere's GitHub
05-21-2014 01:08 AM
Find all posts by this user Like Post Quote this message in a reply
kevin465
Journeyman
*

Posts: 67
Likes Given: 1
Likes Received: 4 in 4 posts
Joined: Feb 2014
Reputation: 0

UO Reborn

Post: #8
RE: Event problem
No like i say ! when i use my admin account every items works fine i can see the durability but when i use a player account some items dont show me the durabilty when i click...
05-21-2014 06:15 AM
Find all posts by this user Like Post Quote this message in a reply
Alaric
Journeyman
*

Posts: 227
Likes Given: 7
Likes Received: 9 in 4 posts
Joined: Oct 2012
Reputation: 7



Post: #9
RE: Event problem
Better would be, if you showed us the certain way you apply the event. Show us what line you set in sphere.ini, what you have in a script. This trigger has nothing to do with plevel. Also, try it without the message parametres. Only act.message durability: <act.hits>/<act.maxhits>
(This post was last modified: 05-21-2014 06:22 AM by Alaric.)
05-21-2014 06:19 AM
Find all posts by this user Like Post Quote this message in a reply
Extreme
Grandmaster Poster
***

Posts: 1,140
Likes Given: 217
Likes Received: 89 in 76 posts
Joined: May 2012
Reputation: 20

SphereCommunity

Post: #10
RE: Event problem
Check multiples @ItemClick in your player events.

Are you sure you have the SAME events in your player and staff?

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.
05-21-2014 06:59 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)