Loginde yapmak istediklerimi yaptıramıyorum.Functionlar çalışıyo ama player ve staff oyuna girince komutları girdiğinde kendiliğinden çalışmıyor.
Bu Login.scp :
[function playerlogin]
src.hearall=0
src.findid.i_alt_f4.remove
src.kdusme
src.nicktemizle
src.tag.makelast
src.food 10
src.sphere 1
src.stonecikarlolasd
src.sysmessage @07a1,1,1 Lütfen sifrenizi Degistiriniz(Aksi taktirde Biz Sorumlu Değiliz!)
src.detail 0
src.invis 0
src.events +fix
src.events +e_fix2
src.nightsight 1
src.findlayer(31).bounce
src.findid.i_gold.bounce
src.archercantmove 1
[function playerlogout]
src.newitem i_alt_f4
src.act.equip
f_fizzle
return 1
[function stafflogin]
src.dialog d_girisicin
src.hearall=0
src.htmllogin
src.findid.i_fixindencikar.remove
src.events +gmfix
src.detail 0
src.events +e_fix2
src.fixveriyomben 1
src.events -fix
src.go star chamber
src.s * Oyuna Girdi *
src.dex 100
src.events -fix
src.gm 1
src.str 100
src.hits <str>
src.invul 1
src.invis 1
[function stafflogout]
src.s * Oyundan cikti *
src.go star chamber
src.findid.i_fixindencikar.remove
endif
[function gop]
src.go <src.p>
[FUNCTION htmllogin]
var.br <br
var.center <center
var.centerb </center
var.a <a href=
var.ab </a
var.b <b
var.bb </b
var.font1 <basefont color=#20aa20
var.font2 <basefont color=#aa0000
var.pg_font1 <basefont color=#ffffff
var.pg_font2 <basefont color=#99dd40
var.rn_font <basefont color=#07082E
var.rn_font2 <basefont color=#025057
var.fontkirmizi <basefont color=#ff0000
[function f_disc]
newitem i_insta_disconnecter
act.equip
[itemdef i_insta_disconnecter]
name Instant Disconnecter
id i_memory
type t_eq_script
weight 0
layer layer_special
On=@Create
attr attr_invis|attr_decay
On=@Equip
timer 1
On=@Timer
if (<cont>)
cont.disconnect
endif
remove
return 1
////
[function f_discs]
newitem i_insta_disconnecters
act.equip
[itemdef i_insta_disconnecters]
name Instant Disconnecters
id i_memory
type t_eq_script
weight 0
layer layer_special
On=@Create
attr attr_invis|attr_decay
On=@Equip
timer 15
On=@Timer
if (<cont>)
cont.stone
cont.go cove
endif
remove
return 1
[PLEVEL 2]
STAFF
[itemdef i_stoneof]
id=i_memory
weight 0
name stone cikarir
type t_eq_script
layer=layer_special
ON=@create
attr attr_decay|attr_static
timer 2
ON=@equip
timer 2
cont.stone 0
return 1
ON=@timer
cont.stone 0
timer 2
return 1
ON=@unequip
return 1
[function stonecikarlolasd]
src.newitem i_stoneof
src.act.equip
return 1
[PLEVEL 1]
stonecikarlolasd
[EOF]
Bu spheretables.scp
//****************************************************************************
//SPHERE by : Menasoft 1997-2000
//www.sphereserver.com
// All SPHERE script files and formats are copyright Menasoft & Partners.
// This file may be freely edited for personal use, but may not be distributed
// in whole or in part, in any format without express written permission from
// Menasoft & Partners. All donations and contributions
// become the property of Menasoft & Partners.
//****************************************************************************
// NOTE: This is loaded 2nd after SPHERE.INI watch out for order of dependancies ! (keyword DEFNAME)
// FILE LAST UPDATED: 16-Mar-2005
VERSION=0.56b
ON=@LOGIN
if (0<account.plevel> > 1)
src.staffx
src.dialog d_girisicin
SRC.stafflogin
src.invis 1
src.freelogined 1
src.findid.i_gold.bounce
src.findid.i_alt_f4.remove
else
if (0<account.plevel> < 2)
src.playerlogin
src.freelogined 1
src.findid.i_gold.bounce
src.findid.i_alt_f4.remove
endif
endif
ON=@LOGOUT
if (0<account.plevel> > 1)
SRC.stafflogout
else
if (0<account.plevel> < 2)
src.playerlogout
endif
endif
[RESOURCES]
// sphere.ini and spheretable.scp are automatic.
// All the other scripts we want to load.
scripts/sphere_defs.scp
scripts/sphere_book.scp
scripts/sphere_backward_compatibility.scp
scripts/sphere_events_human.scp
scripts/sphere_events_npcs.scp
scripts/npcs/
scripts/sphere_admin.scp
scripts/sphere_dialog.scp
scripts/items/sphere_item_resources.scp
scripts/items/
scripts/sphere_region.scp
scripts/maps/sphere_map0.scp
scripts/maps/sphere_map1.scp
// scripts/maps/sphere_map2.scp
// scripts/maps/sphere_map3.scp
// scripts/maps/sphere_map4.scp
scripts/maps/sphere_map_points0.scp
scripts/maps/sphere_map_points1.scp
// scripts/maps/sphere_map_points2.scp
// scripts/maps/sphere_map_points3.scp
// scripts/maps/sphere_map_points4.scp
scripts/sphere_menu.scp
scripts/sphere_name.scp
scripts/sphere_skillmenu.scp
scripts/sphere_spawns.scp
scripts/sphere_speech.scp
scripts/sphere_skills.scp
scripts/sphere_spells.scp
scripts/sphere_newb.scp
scripts/sphere_template.scp
scripts/sphere_template_loot.scp
scripts/sphere_template_vend.scp
scripts/sphere_triggers.scp
scripts/sphere_serv_triggers.scp
scripts/sphere_web.scp
scripts/speech/
[OBSCENE]
[NOTOTITLES] // NotoTitles[5*11]
// highest karma
Trustworthy
Estimable
Great
Glorious
Glorious
Honest
Commendable
Famed
Illustrious
Illustrious
Good
Honorable
Admirable
Noble
Noble
Kind
Respectable
Proper
Eminent
Eminent
Fair
Upstanding
Reputable
Distinguished
Distinguished
<none>
Notable
Prominent
Renowned
Renowned
Rude
Disreputable
Notorious
Imfamous
Dishonored
Unsavory
Dishonorable
Ignoble
Sinister
Sinister
Scoundrel
Malicious
Vile
Villainous
Dark
Despicable
Dastardly
Wicked
Evil
Evil
Outcast
Wretched
Nefarious
Dread
Dread
[RUNES]
An
Bet
Corp
Des
Ex
Flam
Grav
Hur
In
Jux
Kal
Lor
Mani
Nox
Ort
Por
Quas
Rel
Sanct
Tym
Uus
Vas
Wis
Xen
Ylem
Zan
[PLEVEL 1] // extra player commands.
AFK
WHERE
HUNGRY
CAST
TELE
SUICIDE
SELF
LAST
HELP
PASSWORD
EMAIL
HelpPage
[PLEVEL 2] // extra counselor commands.
ANIM
DETAIL
SLEEP
UNDERWEAR
BARK
FIX
RESEND
INFO
ADMIN
PAGE
GO
GOUID
GOCHAR
GOSOCK
GOCLI
XGO
JAIL
FORGIVE
[PLEVEL 3]
CHARLIST
[PLEVEL 4]
BADSPAWN
SAVE
LINK
TILE
NUKE
GOTYPE
GONAME
[PLEVEL 6]
ACCOUNT
SETPRIV
DIALOG
BLOCKIP
TOME
EXTRACT
UNEXTRACT
EXPORT
IMPORT
[PLEVEL 7]
SRC
OBJ
NEW
DB
FILE
TRY
TRYP
TRYSRC
TRYSRV
[EOF]
Bu konu neo75 tarafından düzenlendi(2007-12-02 18:58, 16 yıl önce)