[chardef c_spanci]
defname c_spanci
NAME=Spaner
ID=C_MAN
DESIRES=i_gold,e_notoriety
AVERSIONS=t_TRAP,t_eerie_stuff

On=@Click
message @0481 [<name>]
return 1

ON=@Create
NPC=brain_vendor
COLOR=colors_skin
STR={66 80}
DEX={61 75}
INT={66 80}
title Spaner

SPEECHCOLOR={ 0231 1 0481 1 018b 1 0515 1 07d1 1 060a 1 0400 1 }
ITEMNEWBIE=i_robe
COLOR 0481
ITEMNEWBIE=i_studded_gorget
COLOR 0481
ITEMNEWBIE=i_studded_gloves
COLOR 0481
ITEMNEWBIE=i_studded_leggings
COLOR 0481
ITEMNEWBIE=i_studded_sleeves
COLOR 0481
ITEMNEWBIE=i_studded_tunic
COLOR 0481
ITEMNEWBIE=i_boots_calf
COLOR 0481

ON=@GETHIT
src hits 2
return 1

ON=@DClick
IF (<DISTANCE> > 6)
SRC.SYSMESSAGE @066d,3,1 Cok uzaksiniz..
RETURN 1
else
src.dialog d_vendor1

[dialog d_vendor1]
0,0
nomove

[dialog d_vendor1]
0,0
nomove

resizepic 240 0 5054 320 345
resizepic 250 35 3000 300 360

Text 290 40 <eval 1153> 0
Text 290 60 <eval 1152> 1
Text 290 80 95 2
Text 290 100 <eval 1152> 3
text 290 120 95 4
text 290 140 <eval 1152> 5
text 290 160 95 6
text 290 180 <eval 1152> 7 
text 290 200 95 8
text 290 220 <eval 1152> 9
text 290 240 95 10
text 290 260 <eval 1152> 11
text 290 280 95 12
text 290 300 <eval 1152> 13
text 290 320 95 14
text 290 340 <eval 1152> 15
text 290 360 95 16
text 290 380 <eval 1152> 17


Button 270 65 2224 2117 1 0 1
Button 270 85 2224 2117 1 0 2
Button 270 105 2224 2117 1 0 3
Button 270 125 2224 2117 1 0 4
Button 270 145 2224 2117 1 0 5
button 270 165 2224 2117 1 0 6
button 270 185 2224 2117 1 0 7
button 270 205 2224 2117 1 0 8
button 270 225 2224 2117 1 0 9
button 270 245 2224 2117 1 0 10 
button 270 265 2224 2117 1 0 11
button 270 285 2224 2117 1 0 12
button 270 305 2224 2117 1 0 13
button 270 325 2224 2117 1 0 14
button 270 345 2224 2117 1 0 15
button 270 365 2224 2117 1 0 16


[dialog d_vendor1 text]
<serv.name> Spaner Menu
Mustang 
Mustang 2
Mustang 3
Shire 
Shire 2
Kara Steed
Llama 
Llama 2
Llama 3
Mid Ostard
Rare Shire
Rare Shire2
Rare Forest
Rare Desert
Rare Llama

[Dialog d_vendor1 BUTTON]
onbutton=1  //Mustang
SRC.GO 5589,2552,4

onbutton=2  //Mustang 2
SRC.GO 1727,3430

onbutton=3  //Mustang 3
SRC.GO 2734,1094

onbutton=4  //Shire
SRC.GO 5180,3580

onbutton=5  //Shire 2
src.go 5383,3263,2

onbutton=6  //Kara Steed
src.go 5626,3472,6

onbutton=7  //Llama
SRC.GO 657,1335

onbutton=8  //Llama 2
src.go 388,1330

onbutton=9  //Llama 3
src.go 813,926

onbutton=10  //Mid Ostard
src.go 628,1500

onbutton=11  //Zost
SRC.GO 1559,566,1

onbutton=12  //Desert Ostard
SRC.GO 5233,3217,2

onbutton=13  //Rare Shire
SRC.GO 5449,3251,4

onbutton=14  //Rare Shire 2
SRC.GO 1018,768,-40

onbutton=15  //Renkli Llama
SRC.GO 5448,3442,3

onbutton=16  //Renkli Llama 2
SRC.GO 5839,3467,14


////////////       2 Spanci  //////////

[chardef c_spanci2]
defname c_spanci2
NAME=Spawner
ID=C_MAN
DESIRES=i_gold,e_notoriety
AVERSIONS=t_TRAP,t_eerie_stuff

On=@Click
message @0481 [<name>]
return 1

ON=@Create
NPC=brain_vendor
COLOR=colors_skin
STR={66 80}
DEX={61 75}
INT={66 80}
title Spawner

SPEECHCOLOR={ 0231 1 0481 1 018b 1 0515 1 07d1 1 060a 1 0400 1 }
ITEMNEWBIE=i_robe
COLOR 0481
ITEMNEWBIE=i_studded_gorget
COLOR 0481
ITEMNEWBIE=i_studded_gloves
COLOR 0481
ITEMNEWBIE=i_studded_leggings
COLOR 0481
ITEMNEWBIE=i_studded_sleeves
COLOR 0481
ITEMNEWBIE=i_studded_tunic
COLOR 0481
ITEMNEWBIE=i_boots_calf
COLOR 0481

ON=@GETHIT
src hits 2
return 1

ON=@DClick
IF (<DISTANCE> > 6)
SRC.SYSMESSAGE @066d,3,1 Cok uzaksiniz..
RETURN 1
else
src.dialog d_vendor2

[dialog d_vendor2]
0,0
nomove

[dialog d_vendor2]
0,0
nomove

resizepic 240 0 5054 320 345
resizepic 250 35 3000 300 360

Text 290 40 <eval 1153> 0
Text 290 60 <eval 1152> 1
Text 290 80 95 2
Text 290 100 <eval 1152> 3
text 290 120 95 4
text 290 140 <eval 1152> 5
text 290 160 95 6
text 290 180 <eval 1152> 7 
text 290 200 95 8
text 290 220 <eval 1152> 9
text 290 240 95 10
text 290 260 <eval 1152> 11
text 290 280 95 12
text 290 300 <eval 1152> 13
text 290 320 95 14
text 290 340 <eval 1152> 15


Button 270 65 2224 2117 1 0 1
Button 270 85 2224 2117 1 0 2
Button 270 105 2224 2117 1 0 3
Button 270 125 2224 2117 1 0 4
Button 270 145 2224 2117 1 0 5
button 270 165 2224 2117 1 0 6
button 270 185 2224 2117 1 0 7
button 270 205 2224 2117 1 0 8
button 270 225 2224 2117 1 0 9
button 270 245 2224 2117 1 0 10 
button 270 265 2224 2117 1 0 11
button 270 285 2224 2117 1 0 12
button 270 305 2224 2117 1 0 13
button 270 325 2224 2117 1 0 14


[dialog d_vendor2 text]
<serv.name> Spaner2 Menu
Nightmare
Unicorn
Ice Steed
Haci Murat
Ferrari
Kara Steed
Black Must
Silver Steed
Mater Matuda
Mater Matuda 2
Mater Matuda 3
Besiktas
FenerBahce
Galatasaray



[Dialog d_vendor2 BUTTON]
onbutton=1  //Nightmare
SRC.GO 5590,1845

onbutton=2  //Unicorn
SRC.GO 1932,3398,10

onbutton=3  //Ice Steed
SRC.GO 5150,2355,29

onbutton=4  //Haci Murat
SRC.GO 2601,77

onbutton=5  //Ferrari
SRC.GO 5522,2489,40

onbutton=6  //Kara Steed
src.go 5626,3472,6

onbutton=7  //Black Must
SRC.GO 5707,4079,17

onbutton=8  //Silver Steed
src.go 3908,205

onbutton=9  //Mater Matuda
SRC.GO 5566,4070,22

onbutton=10  //Mater Matuda 2
SRC.GO 5834,4032,23

onbutton=11  //Mater Matuda 3
SRC.GO 6112,3950,48

onbutton=12  //Besiktas
SRC.GO 5694,206,-6

onbutton=13  //Fenerbahce
SRC.GO 5683,303

onbutton=14  //Galatasaray
SRC.GO 5837,337,2


[EoF]


Şimdi Sorun Şu Bu Vendorlara Tıkladımızda Client Göçüyor Neden?
client versionunuzu değiştirin.mesela sphere 56b ise 203 kullan herhangi bi dialogda göçtüğünü görmedim çünkü sistemin aynısını bende kullanıyordum client 300a da göçüyodu 203 e geçince düzeldi




[chardef c_spawnci]
defname c_spanci
NAME=Spawner
ID=C_MAN
DESIRES=i_gold,e_notoriety
AVERSIONS=t_TRAP,t_eerie_stuff

On=@Click
message @0481 [<name>]
return 1

ON=@Create
NPC=brain_vendor
COLOR=colors_skin
STR={66 80}
DEX={61 75}
INT={66 80}
title Spaner

SPEECHCOLOR={ 0231 1 0481 1 018b 1 0515 1 07d1 1 060a 1 0400 1 }
ITEMNEWBIE=i_robe
COLOR 0455
ITEMNEWBIE=i_studded_gorget
COLOR 0455
ITEMNEWBIE=i_studded_gloves
COLOR 0455
ITEMNEWBIE=i_studded_leggings
COLOR 0455
ITEMNEWBIE=i_studded_sleeves
COLOR 0455
ITEMNEWBIE=i_studded_tunic
COLOR 0455
ITEMNEWBIE=i_boots_calf
COLOR 0455

on=@dclick
flags 04
IF (<DISTANCE> > 6)
SRC.SYSMESSAGE @066d,3,1 Cok uzaksiniz..
RETURN 1
else
src.dialog d_vendor1
return 1

on=@death
hits = <str>
flags 04
return 1

on=@spellcast
hits = <str>
flags 04
return 1

on=@gethit
hits = <str>
flags 04
return 1


[dialog d_vendor1]
0,0
nomove

resizepic 25 25 3600 250 400
resizepic 275 25 3600 200 200

Text 60 40 <eval 00> 0
Text 75 60 <eval 025> 1
Text 75 80 95 2
Text 75 100 <eval 025> 3
text 75 120 95 4
text 75 140 <eval 025> 5
text 75 160 95 6
text 75 180 <eval 025> 7 
text 75 200 95 8
text 75 220 <eval 025> 9
text 75 240 95 10
text 75 260 <eval 025> 11
text 75 280 95 12
text 75 300 <eval 025> 13
text 75 320 95 14
text 75 340 <eval 025> 15
text 75 360 95 16
text 340 100 <eval 025> 17


Button 50 65 5605 2117 1 0 1
Button 50 85 5605 2117 1 0 2
Button 50 105 5605 2117 1 0 3
Button 50 125 5605 2117 1 0 4
Button 50 145 5605 2117 1 0 5
button 50 165 5605 2117 1 0 6
button 50 185 5605 2117 1 0 7
button 50 205 5605 2117 1 0 8
button 50 225 5605 2117 1 0 9
button 50 245 5605 2117 1 0 10 
button 50 265 5605 2117 1 0 11
button 50 285 5605 2117 1 0 12
button 50 305 5605 2117 1 0 13
button 50 325 5605 2117 1 0 14
button 50 345 5605 2117 1 0 15
button 50 365 5605 2117 1 0 16
button 340 120 5549 5550 11 0 17


[dialog d_vendor1 text]
<serv.name> Spawner
Won Steed
Aqua Mare
Miscellaneous
Angel Ostard
Shire
Forest Ostard
Metal Ostard
Lemon Ostard
Llama 3
Mid Ostard
Zosthrich
Desert Ostard
Legend Horse
Rare shire
Renkli Llama
Deskarno
 Ikinci Sayfa



[Dialog d_vendor1 BUTTON]
onbutton=1  //Won Steed
if !(<src.restest 8000 i_fctn_silver>) 
	SRC.SYSMESSAGE @025,1,1 Bu binegi alabilmek icin cantanizda 8000  pvp bileti olmali.
	return 1
ELSE
	src.consume 8000  i_fctn_silver
	src.newitem i_deed_won
	src.act.bounce
ENDIF

onbutton=2  //Aqua Mare
if !(<src.restest 15000 i_fctn_silver>) 
	SRC.SYSMESSAGE @025,1,1 Bu binegi alabilmek icin cantanizda 15000  pvp bileti olmali.
	return 1
ELSE
	src.consume 15000  i_fctn_silver
	src.newitem i_deed_aquamare
	src.act.bounce
ENDIF

onbutton=3  //Miscellaneous
if !(<src.restest 9000 i_fctn_silver>) 
	SRC.SYSMESSAGE @025,1,1 Bu binegi alabilmek icin cantanizda 9000  pvp bileti olmali.
	return 1
ELSE
	src.consume 9000 i_fctn_silver
	src.newitem i_deed_mis
	src.act.bounce
ENDIF

onbutton=4  //Angel Ostard
if !(<src.restest 5000 i_fctn_silver>) 
	SRC.SYSMESSAGE @025,1,1 Bu binegi alabilmek icin cantanizda 5000  pvp bileti olmali.
	return 1
ELSE
	src.consume 5000  i_fctn_silver
	src.newitem i_deed_angel
	src.act.bounce
ENDIF

onbutton=5  //Shire
if !(<src.restest 4500 i_fctn_silver>) 
	SRC.SYSMESSAGE @025,1,1 Bu binegi alabilmek icin cantanizda 4500  pvp bileti olmali.
	return 1
ELSE
	src.consume 4500 i_fctn_silver
	src.newitem i_deed_shire
	src.act.bounce
ENDIF

onbutton=6  //Forest
if !(<src.restest 3500 i_fctn_silver>) 
	SRC.SYSMESSAGE @025,1,1 Bu binegi alabilmek icin cantanizda 3500  pvp bileti olmali.
	return 1
ELSE
	src.consume 3500 i_fctn_silver
	src.newitem i_deed_forest
	src.act.bounce
ENDIF

onbutton=7  //Metal Ostard
if !(<src.restest 7000 i_fctn_silver>) 
	SRC.SYSMESSAGE @025,1,1 Bu binegi alabilmek icin cantanizda 7000  pvp bileti olmali.
	return 1
ELSE
	src.consume 7000 i_fctn_silver
	src.newitem i_deed_metal
	src.act.bounce
ENDIF


onbutton=8  //Lemon Ostard
if !(<src.restest 7000 i_fctn_silver>) 
	SRC.SYSMESSAGE @025,1,1 Bu binegi alabilmek icin cantanizda 7000  pvp bileti olmali.
	return 1
ELSE
	src.consume 7000  i_fctn_silver
	src.newitem i_deed_lemon
	src.act.bounce
ENDIF

onbutton=9  //Llama
if !(<src.restest 200 i_fctn_silver>) 
	SRC.SYSMESSAGE @025,1,1 Bu binegi alabilmek icin cantanizda 200  pvp bileti olmali.
	return 1
ELSE
	src.consume 200  i_fctn_silver
	src.newitem i_deed_llama
	src.act.bounce
ENDIF

onbutton=10  //Mid Ostard
if !(<src.restest 5000 i_fctn_silver>) 
	SRC.SYSMESSAGE @025,1,1 Bu binegi alabilmek icin cantanizda 5000  pvp bileti olmali.
	return 1
ELSE
	src.consume 5000  i_fctn_silver
	src.newitem i_deed_mid
	src.act.bounce
ENDIF


onbutton=11  //Zost
if !(<src.restest 7500 i_fctn_silver>) 
	SRC.SYSMESSAGE @025,1,1 Bu binegi alabilmek icin cantanizda 7500  pvp bileti olmali.
	return 1
ELSE
	src.consume 7500  i_fctn_silver
	src.newitem i_deed_zost
	src.act.bounce
ENDIF

onbutton=12  //Desert Ostard
if !(<src.restest 3500 i_fctn_silver>) 
	SRC.SYSMESSAGE @025,1,1 Bu binegi alabilmek icin cantanizda 3500  pvp bileti olmali.
	return 1
ELSE
	src.consume 3500 i_fctn_silver
	src.newitem i_deed_desert
	src.act.bounce
ENDIF


onbutton=13  //Legend Horse
if !(<src.restest 9500 i_fctn_silver>) 
	SRC.SYSMESSAGE @025,1,1 Bu binegi alabilmek icin cantanizda 9500  pvp bileti olmali.
	return 1
ELSE
	src.consume 9500 i_fctn_silver
	src.newitem i_deed_legend
	src.act.bounce
ENDIF


onbutton=14  //Rare Shire
if !(<src.restest 8000 i_fctn_silver>) 
	SRC.SYSMESSAGE @025,1,1 Bu binegi alabilmek icin cantanizda 8000  pvp bileti olmali.
	return 1
ELSE
	src.consume 8000 i_fctn_silver
	src.newitem i_deed_rshire
	src.act.bounce
ENDIF

onbutton=15  //Renkli Llama
if !(<src.restest 4500 i_fctn_silver>) 
	SRC.SYSMESSAGE @025,1,1 Bu binegi alabilmek icin cantanizda 4500  pvp bileti olmali.
	return 1
ELSE
	src.consume 4500 i_fctn_silver
	src.newitem i_deed_lama
	src.act.bounce
ENDIF

onbutton=16  //Deskarno
if !(<src.restest 7000 i_fctn_silver>) 
	SRC.SYSMESSAGE @025,1,1 Bu binegi alabilmek icin cantanizda 7000  pvp bileti olmali.
	return 1
ELSE
	src.consume 7000 i_fctn_silver
	src.newitem i_deed_deskarno
	src.act.bounce
ENDIF

onbutton=17
src.dialog d_vendor2
return 1



[dialog d_vendor2]
0,0
nomove

resizepic 25 25 3600 250 400
resizepic 275 25 3600 200 200

Text 60 40 <eval 00> 0
Text 75 60 <eval 025> 1
Text 75 80 95 2
Text 75 100 <eval 025> 3
text 75 120 95 4
text 75 140 <eval 025> 5
text 75 160 95 6
text 75 180 <eval 025> 7 
text 75 200 95 8
text 340 100 <eval 025> 9


Button 50 65 5605 2117 1 0 1
Button 50 85 5605 2117 1 0 2
Button 50 105 5605 2117 1 0 3
Button 50 125 5605 2117 1 0 4
Button 50 145 5605 2117 1 0 5
button 50 165 5605 2117 1 0 6
button 50 185 5605 2117 1 0 7
button 50 205 5605 2117 1 0 8
button 340 120 5549 5550 11 0 9

[dialog d_vendor2 text]
<serv.name> Spawner
Unicorn
Silver Steed
Aqua Steed
Axta
Dragon Steed
Fire Steed
Night Mare 
Kiirin
 Cikis

[dialog d_vendor2 button]
onbutton=1  //Unicorn
if !(<src.restest 12000 i_fctn_silver>) 
	SRC.SYSMESSAGE @025,1,1 Bu binegi alabilmek icin cantanizda 12000  pvp bileti olmali.
	return 1
ELSE
	src.consume 12000  i_fctn_silver
	src.newitem i_deed_unicorn
	src.act.bounce
ENDIF

onbutton=2  //Silver
if !(<src.restest 9500 i_fctn_silver>) 
	SRC.SYSMESSAGE @025,1,1 Bu binegi alabilmek icin cantanizda 9500  pvp bileti olmali.
	return 1
ELSE
	src.consume 9500  i_fctn_silver
	src.newitem i_deed_silver
	src.act.bounce
ENDIF

onbutton=3  //Aqua
if !(<src.restest 7500 i_fctn_silver>) 
	SRC.SYSMESSAGE @025,1,1 Bu binegi alabilmek icin cantanizda 7500  pvp bileti olmali.
	return 1
ELSE
	src.consume 7500  i_fctn_silver
	src.newitem i_deed_aqua
	src.act.bounce
ENDIF

onbutton=4  //Axta
if !(<src.restest 7000 i_fctn_silver>) 
	SRC.SYSMESSAGE @025,1,1 Bu binegi alabilmek icin cantanizda 7000 pvp bileti olmali.
	return 1
ELSE
	src.consume 7000  i_fctn_silver
	src.newitem i_deed_axta
	src.act.bounce
ENDIF

onbutton=5  //Dragon
if !(<src.restest 8000 i_fctn_silver>) 
	SRC.SYSMESSAGE @025,1,1 Bu binegi alabilmek icin cantanizda 8000  pvp bileti olmali.
	return 1
ELSE
	src.consume 8000  i_fctn_silver
	src.newitem i_deed_dragon
	src.act.bounce
ENDIF

onbutton=6  //Fire
if !(<src.restest 9600 i_fctn_silver>) 
	SRC.SYSMESSAGE @025,1,1 Bu binegi alabilmek icin cantanizda 9600  pvp bileti olmali.
	return 1
ELSE
	src.consume 9600  i_fctn_silver
	src.newitem i_deed_fire
	src.act.bounce
ENDIF

onbutton=7  //Mare
if !(<src.restest 20000 i_fctn_silver>) 
	SRC.SYSMESSAGE @025,1,1 Bu binegi alabilmek icin cantanizda 20000  pvp bileti olmali.
	return 1
ELSE
	src.consume 20000  i_fctn_silver
	src.newitem i_deed_mare
	src.act.bounce
ENDIF


onbutton=8  //Kiirin
if !(<src.restest 8000 i_fctn_silver>) 
	SRC.SYSMESSAGE @025,1,1 Bu binegi alabilmek icin cantanizda 8000  pvp bileti olmali.
	return 1
ELSE
	src.consume 8000  i_fctn_silver
	src.newitem i_deed_kirin
	src.act.bounce
ENDIF


[dialog d_vendor1]
0,0
nomove

Scpde görüldüğü üzere 2 adet aynı dialogtan war bu sorun çıkartırmı çıkartır ama çok fazla çıkartmaz. Ancak 2 dialogta alt alta olması ve üsttekinin bozuk olan olması clientinizin göçm sebebidir.

Son mesajdaki sanırım işinizi çözer.





Ayrıca;

client versionunuzu değiştirin.mesela sphere 56b ise 203 kullan herhangi bi dialogda göçtüğünü görmedim çünkü sistemin aynısını bende kullanıyordum client 300a da göçüyodu 203 e geçince düzeldi.

Bu mesaja hiç katılmıyorum. 56B kullanıpta 203 kullanıcaksanız hiç 56B ye geçmenize gerek yok bence r402 de kalın olsun bitsin.
helall!!asd
ya abi daha bugün verdim bu scp yi ya düenleyim abi fazladan text ve buton var :D

al : https://ultima-strike.com/forumlar-m-mesajlar-q-34882.html

Üye Ol veya Giriş Yap

Bu forum başlığına mesaj atmak istiyorsanız hemen üye olun veya giriş yapın.