• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

[Tutorial] F1 teleport protection by assassin.

Experienced Elementalist
Joined
May 21, 2007
Messages
228
Reaction score
48
Few days ago in Soul666 blog seen how to protect F1 teleport in main town or other places of sin. So here is some info about how it's works. This code ("gstate") allowing or notallowing players to use this function like now... teleport.. So here is code:
Code:
(quest (index [COLOR=SeaGreen]1509 95[/COLOR]) 
(case (if (gstate [COLOR=Red]104 1[/COLOR])) (then (html 999000))) ;[I] if you are sin you get s999000.dat message and don't be teleported[/I]
(case (then (teleport [COLOR=Blue]m x y[/COLOR])))) ;[I] if you aren't sin then you will be teleported[/I]
Green - you can write any index which isn't using in your quest.txt
Red - if you are blocking teleport of sins you must use this code
Blue - here is (map 0,1,2,3,4) , x coordinates & y coordinates

Sorry for bad english.

More info about this function in Soul666's blog
 
Last edited:
Experienced Elementalist
Joined
Aug 25, 2008
Messages
239
Reaction score
1
Re: [Guide] F1 teleport protection by assassin.

Thank you..I needed this guide...was wondering how to stop sin's from using teleport stone.
 
Experienced Elementalist
Joined
Jul 15, 2008
Messages
229
Reaction score
6
Re: [Guide] F1 teleport protection by assassin.

thank you very much, very usefull :)
 
Newbie Spellweaver
Joined
Aug 24, 2006
Messages
84
Reaction score
0
Re: [Guide] F1 teleport protection by assassin.

hmm yes thank you,
104 = assa
1 = active
like soul said.
but there are some other gstate numbers?
 
Custom Title Activated
Loyal Member
Joined
Oct 6, 2006
Messages
1,490
Reaction score
3
Re: [Guide] F1 teleport protection by assassin.

thanks for this guide
 
Experienced Elementalist
Joined
May 21, 2007
Messages
228
Reaction score
48
Re: [Guide] F1 teleport protection by assassin.

hmm yes thank you,
104 = assa
1 = active
like soul said.
but there are some other gstate numbers?
Yap, there are that is why i told look in soul666 blog for more information. Other isn't tested so i didn't post here.
 
Divine Celestial
Loyal Member
Joined
Jul 1, 2007
Messages
865
Reaction score
4
Re: [Guide] F1 teleport protection by assassin.

thx for the cool guide
 
Junior Spellweaver
Joined
Jun 11, 2007
Messages
118
Reaction score
0
Re: [Guide] F1 teleport protection by assassin.

thanks to soul666
 
Newbie Spellweaver
Joined
Dec 6, 2007
Messages
29
Reaction score
1
Re: [Guide] F1 teleport protection by assassin.

thx , needed it.
 
Back
Top