Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Anti-Logout Dungeon!
Author Message
Lazarus
Master
**

Posts: 352
Likes Given: 11
Likes Received: 7 in 6 posts
Joined: Jun 2012
Reputation: 1

Hybris Ultima Online

Post: #1
Anti-Logout Dungeon!
Hi! Im needing some REGION_FLAG to take something like... If you logout on that REGION flag, death or alive, you will get out in 15 o 30 seconds if you didn't relog.


Any way to do this?
Maybe a memory item or something else? How can I create a new regionflag to use in dungeons regions?

Maybe I can create that regionflag and then a new item memory that
on=@timer
.go britain



and a region that

on=@logout
serv.newitem i_memory
[take in the player here]


on=@login
delete the item memory.



rly?! Smile

Lazarus.

[Image: 2hy9q0y.png]
11-12-2012 01:41 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Shaklaban
Master
**

Posts: 378
Likes Given: 0
Likes Received: 1 in 1 posts
Joined: Mar 2012
Reputation: 8

DOT

Post: #2
RE: Anti-Logout Dungeon!
PHP Code:
[AREADEF a_Yew_Ter]
EVENTS=r_anti_logout
NAME
=Yew Territory
GROUP
=ALLMAP
P
=823,1060
RECT
=47,21,918,2001,0
RECT
=917,260,1143,1493,0

[regiontype r_anti_logout]
on=@enter
if <src.isplayer>
    
src.events +e_anti_logout
endif

on=@exit
if <
src.isplayer>
    
src.events -e_anti_logout
endif

[
events e_anti_logout]
on=@logout
    go britain 
11-13-2012 04:12 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Lazarus
Master
**

Posts: 352
Likes Given: 11
Likes Received: 7 in 6 posts
Joined: Jun 2012
Reputation: 1

Hybris Ultima Online

Post: #3
RE: Anti-Logout Dungeon!
(11-13-2012 04:12 AM)Shaklaban Wrote:  
PHP Code:
[AREADEF a_Yew_Ter]
EVENTS=r_anti_logout
NAME
=Yew Territory
GROUP
=ALLMAP
P
=823,1060
RECT
=47,21,918,2001,0
RECT
=917,260,1143,1493,0

[regiontype r_anti_logout]
on=@enter
if <src.isplayer>
    
src.events +e_anti_logout
endif

on=@exit
if <
src.isplayer>
    
src.events -e_anti_logout
endif

[
events e_anti_logout]
on=@logout
    go britain 


Rly thanks Smile

That works rly FINE Smile

Lazarus

[Image: 2hy9q0y.png]
11-14-2012 04:33 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)