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-nmm7 (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-nmm7 (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-nmm7 (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
Travel Stone System
Author Message
morcegao
Apprentice
*

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



Post: #1
Travel Stone System
I need script travel stone system for sphere 0.56b, found nothing about it in the sphere 0.56b scripts, thank you


I have script for 0.55ie sphere 0.51a does not work
09-19-2012 02:30 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
amonvangrell
Banned

Posts: 337
Likes Given: 17
Likes Received: 32 in 20 posts
Joined: Aug 2012

britannia shard

Post: #2
RE: Travel Stone System
Add i_moongate to your portals.


// Moongate

[ITEMDEF i_moongate]
DEFNAME=i_moongate
NAME=moongate
ID=i_moongate_blue
TYPE=t_normal

ON=@STEP
IF (<ARGN1> == 0)
IF (<SRC.ISPLAYER>)
SOUND=snd_spell_gate_travel
IF (<SRC.P.M> == 0)
DIALOG D_MOONGATE 1
ELIF (<SRC.P.M> == 1)
DIALOG D_MOONGATE 2
ENDIF
ENDIF
ENDIF

CATEGORY=GM ITEMS
SUBSECTION=Moongates
DESCRIPTION=OSI Moongate

[DIALOG D_MOONGATE]
0,0
page 0
resizepic 190 180 5054 400 300

button 200 405 4005 4007 1 0 1
button 200 430 4005 4007 1 0 0

button 200 215 2117 2118 0 1 0
//button 200 240 2117 2118 0 2 0

dtext 200 190 0 Escolha seu destino:

dtext 220 215 0 Felucca
//dtext 220 240 0 Trammel

dtext 235 405 0 Aceitar
dtext 235 430 0 Cancelar

page 1
dtext 220 215 034 Felucca

radio 400 230 210 211 0 0
radio 400 255 210 211 0 1
radio 400 280 210 211 0 2
radio 400 305 210 211 0 3
radio 400 330 210 211 0 4
radio 400 355 210 211 0 5
radio 400 380 210 211 0 6
radio 400 405 210 211 0 7
radio 400 430 210 211 0 8

dtext 425 230 0 Moonglow
dtext 425 255 0 Britain
dtext 425 280 0 Jellom
dtext 425 305 0 Yew
dtext 425 330 0 Minoc
dtext 425 355 0 Trinsic
dtext 425 380 0 Skara Brae
dtext 425 405 0 Magincia
dtext 425 430 0 Haven

page 2
dtext 220 240 034 Trammel

radio 400 230 210 211 0 9
radio 400 255 210 211 0 10
radio 400 280 210 211 0 11
radio 400 305 210 211 0 12
radio 400 330 210 211 0 13
radio 400 355 210 211 0 14
radio 400 380 210 211 0 15
radio 400 405 210 211 0 16
radio 400 430 210 211 0 17

dtext 425 230 0 Moonglow
dtext 425 255 0 Britain
dtext 425 280 0 Jellom
dtext 425 305 0 Yew
dtext 425 330 0 Minoc
dtext 425 355 0 Trinsic
dtext 425 380 0 Skara Brae
dtext 425 405 0 Magincia
dtext 425 430 0 Buccaneer's Den


[DIALOG D_MOONGATE BUTTON]
ONBUTTON=1
IF (<DISTANCE> > 1)
SRC.SYSMESSAGE You are too far away to use the gate.
RETURN 1
ENDIF

SRC.SOUND=510

IF (<argchk[0]>)
SRC.GO 4467 1283 5 0
ELIF (<argchk[1]>)
SRC.GO 1336 1997 5 0
ELIF (<argchk[2]>)
SRC.GO 1499 3771 5 0
ELIF (<argchk[3]>)
SRC.GO 771 752 5 0
ELIF (<argchk[4]>)
SRC.GO 2701 692 5 0
ELIF (<argchk[5]>)
SRC.GO 1828 2948 -20 0
ELIF (<argchk[6]>)
SRC.GO 643 2067 5 0
ELIF (<argchk[7]>)
SRC.GO 3563 2139 34 0
ELIF (<argchk[8]>)
SRC.GO 3763 2771 50 0
ELIF (<argchk[9]>)
SRC.GO 4467 1283 5 1
ELIF (<argchk[10]>)
SRC.GO 1336 1997 5 1
ELIF (<argchk[11]>)
SRC.GO 1499 3771 5 1
ELIF (<argchk[12]>)
SRC.GO 771 752 5 1
ELIF (<argchk[13]>)
SRC.GO 2701 692 5 1
ELIF (<argchk[14]>)
SRC.GO 1828 2948 -20 1
ELIF (<argchk[15]>)
SRC.GO 643 2067 5 1
ELIF (<argchk[16]>)
SRC.GO 3563 2139 34 1
ELIF (<argchk[17]>)
SRC.GO 2711 2234 0 1
ENDIF

SRC.FLAGS |= statf_hidden
SRC.UPDATE

SRC.SYSMESSAGE <SRC.REGION.NAME>

[EOF]
03-28-2013 08:40 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)