Jump to content
icytalent

Creating New NPC says BUSY

Recommended Posts

Can any1 help me please? just now some of the npc i made was working and some are not and i tried fixing it and now all like this

image.png.5d247fb485d5e39e8749f1ea24db9a5c.png

 

my garnernpc

 

163    Lance Apparel     1    869    0    229925,274825    229925,274825    270    Argent City    8    0    garnerapplance    0
164    Carsise Apparel     1    874    0    229925,274425    229925,274425    270    Argent City    8    0    garnerappcarsise    0
165    Phyllis Apparel     1    878    0    229925,275125    229925,275125    270    Argent City    8    0    garnerappphyllis    0
166    Ami Apparel     1    881    0    229925,275525    229925,275525    270    Argent City    8    0    garnerappami    00
177    General Store    1    16    15    224075,278425    224075,278425    180    Argent City    1    0    gstore    0
178    Wood Exchanger - Kals    1    838    15    219275,274675    219275,274675    90    Argent City    1    0    KalNPC    0
179    Wood Exchanger - Gold    1    838    15    219175,275975    219175,275975    90    Argent City    1    0    GoldExchanger    0
180    Rings Seller    1    16    15    225075,278125    225075,278125    180    Argent City    1    0    UnsealNpc    0
181    BlackSmith Disciple    1    425    0    219675,270325    219675,270325    180    Argent City    1    0    GemsNpc    0
182    Heaven Teleporter    1    11    7    219175,278875    219175,278875    10    Argent City    1    0    NpcTele    0

 

heres my script
 

function garnerapplance()
    
    
    Talk( 1, "ApparelNPC - Lance: Welcome to the Apparel Shop of Icicle City. I am the owner Lance." )
    Text( 1, "Trade Apparel", BuyPage )

    InitTrade()
    Weapon(    5001    )
    Weapon(    5007    )
    Weapon(    5008    )
    Weapon(    5004    )
    Weapon(    5002    )
    Weapon(    5283    )
    Weapon(    5284    )
    Weapon(    5070    )
    Weapon(    5071    )
    Weapon(    5072    )
    Weapon(    5281    )
    Weapon(    5286    )
    Weapon(    5282    )
    Weapon(    5004    )
    Weapon(    5010    )
    Weapon(    5006    )
    Weapon(    5012    )
    Weapon(    5073    )
    Weapon(    5280    )
    Weapon(    5276    )
    Weapon( 5277    )
    Weapon( 5278    )
    Weapon( 5279    )
    Weapon(    5285    )
    Weapon( 5009    )
    Weapon( 5003    )    
    Weapon( 5005    )
    Weapon( 5011    )
    Weapon( 5448    )
    Weapon( 5449    )
    Weapon( 5450    )
    Weapon( 5451    )
    Weapon( 5452    )
    Weapon( 5453    )
    Weapon( 5454    )
--Defence(    5975    )
--Defence(    5976    )
--Defence(    5977    )
--Defence(    5978    )
--Defence(    5979    )
--Defence(    5980    )
Defence(    5118    )
Defence(    5119    )
Defence(    5120    )
Defence(    5121    )
Defence(    5122    )
Defence(    5123    )
Defence(    5124    )
Defence(    5125    )
Defence(    5126    )
Defence(    5127    )
Defence(    5128    )
Defence( 5129 )
Defence(    5154    )
Defence(    5155    )
Defence(    5156    )
Defence(    5157    )
Defence(    5158    )
Defence(    5159    )
Defence(    5160    )
Defence(    5161    )
Defence(    5162    )
Defence(    5205    )
Defence(    5206    )
Defence(    5207    )
Defence(    5221    )
Defence(    5222    )
Defence(    5223    )
Defence(    5224    )
Defence(    5225    )
Defence(    5226    )
Defence(    5227    )
Defence(    5228    )
Defence(    5229    )
Defence(    5315    )
Defence(    5316    )
Defence(    5317    )
Defence(    5318    )
Defence(    5341    )
Defence(    5342    )
Defence(    5343    )
Defence(    5356    )
Defence(    5357    )
Defence(    5358    )
Defence(    5359    )
Defence(    5661    )
Defence(    5662    )
Defence(    5663    )
Defence(    5664    )
Defence(    5677    )
Defence(    5678    )
Defence(    5679    )
Defence(    5680    )
Defence(    5041    )--Cata
Defence(    5045    )
Defence(    5049    )
Defence(        5017    )
Defence(    5025    )
Defence(    5033    )
Defence(    5057    )
Defence(    5061    )
Defence(    5065    )
    Other(    5388    )
    Other(    5389    )
    Other(    5390    )
    Other(    5391    )
    Other(    5404    )
    Other(    5405    )
    Other(    5406    )
    Other(    5422    )
    Other(    5423    )
    Other(    5436    )
    Other(    5488    )
    Other(    5489    )
    Other(    5490    )
    Other(    5501    )
    Other(    5502    )
    Other(    5503    )
    Other(    5521    )
    Other(    5522    )
    Other(    5523    )
    Other(    5524    )
    Other(    5537    )
    Other(    5538    )
    Other(    5539    )
    Other(    5540    )
    Other(    5553    )
    Other(    5554    )
    Other(    5555    )
    Other(    5556    )
    Other(    5569    )
    Other(    5570    )
    Other(    5571    )
    Other(    5572    )
    Other(    5578    )
    Other(    5579    )
    Other(    5580    )
    Other(    5577    )
    Other(    5593    )
    Other(    5594    )
    Other(    5595    )
    Other(    5596    )
    --Other(    5947    )
    --Other(    5948    )
    --Other(    5949    )
    --Other(    141    )
    --Other(    905    )
    Other(    904    )
    Other(    906    )
    Other(    935    )
    Other(    937    )
    Other(    142    )
    Other(    1120    )
    Other(    1122    )
    Other(    1121    )
    Other(    2583    )
    Other(    2584    )
    Other(    2585    )    
    
end 

----------------------------------------------------------Apparel Carsise

function garnerappcarsise()
    
    
    Talk( 1, "Apparel NPC - Carsise: Welcome to the Apparel Shop of Icicle City. I am the owner Carsise." )
    Text( 1, "Trade Apparel", BuyPage )

    InitTrade()
    Weapon(    5001    )
    Weapon(    5007    )
    Weapon(    5008    )
    Weapon(    5004    )
    Weapon(    5002    )
    Weapon(    5283    )
    Weapon(    5284    )
    Weapon(    5070    )
    Weapon(    5071    )
    Weapon(    5072    )
    Weapon(    5281    )
    Weapon(    5286    )
    Weapon(    5282    )
    Weapon(    5004    )
    Weapon(    5010    )
    Weapon(    5006    )
    Weapon(    5012    )
    Weapon(    5073    )
    Weapon(    5280    )
    Weapon(    5276    )
    Weapon(    5285    )
    Weapon( 5277    )
    Weapon( 5278    )
    Weapon( 5279    )
    Weapon( 5009    )
    Weapon( 5003    )    
    Weapon( 5005    )
    Weapon( 5011    )
    Weapon( 5448    )
    Weapon( 5449    )
    Weapon( 5450    )
    Weapon( 5451    )
    Weapon( 5452    )
    Weapon( 5453    )
    Weapon( 5454    )
Defence(    5084    )
Defence(    5085    )
Defence(    5086    )
Defence(    5087    )
Defence(    5088    )
Defence(    5089    )
Defence(    5090    )
Defence(    5091    )
Defence(    5092    )
Defence(    5093    )
Defence(    5094    )
Defence(    5095    )
Defence(    5096    )
Defence(    5097    )
Defence(    5098    )
Defence(    5107    )
Defence(    5108    )
Defence(    5109    )
Defence(    5110    )
Defence(    5111    )
Defence(    5112    )
Defence(    5113    )
Defence(    5114    )
Defence(    5115    )
Defence(    5116    )
Defence(    5117    )
Defence(    5195    )
Defence(    5196    )
Defence(    5197    )
Defence(    5230    )
Defence(    5231    )
Defence(    5232    )
Defence(    5233    )
Defence(    5234    )
Defence(    5235    )
Defence(    5236    )
Defence(    5237    )
Defence(    5238    )
Defence(    5239    )
Defence(    5240    )
Defence(    5291    )
Defence(    5292    )
Defence(    5293    )
Defence(    5294    )
Defence(    5319    )
Defence(    5320    )
Defence(    5321    )
Defence(    5322    )
Defence(    5681    )
Defence(    5682    )
Defence(    5683    )
Defence(    5684    )
Defence(    5665    )
Defence(    5666    )
Defence(    5667    )
Defence(    5668    )
Defence(    5042    )--Cata
Defence(    5046    )
Defence(    5050    )
Other(    5392    )
Other(    5393    )
Other(    5394    )
Other(    5395    )
Other(    5407    )
Other(    5408    )
Other(    5409    )
Other(    5424    )
Other(    5425    )
Other(    5437    )
Other(    5491    )
Other(    5492    )
Other(    5493    )
Other(    5504    )
Other(    5505    )
Other(    5506    )
Other(    5525    )
Other(    5526    )
Other(    5527    )
Other(    5528    )
Other(    5541    )
Other(    5542    )
Other(    5543    )
Other(    5544    )
Other(    5557    )
Other(    5558    )
Other(    5559    )
Other(    5560    )
Other(    5573    )
Other(    5574    )
Other(    5575    )
Other(    5576    )
Other(    5581    )
--Other(    5582    )
--Other(    5583    )
--Other(    5584    )
Other(    5597    )
Other(    5598    )
Other(    5599    )
Other(    5600    )
    Other(    141    )
    Other(    905    )
    Other(    904    )
    Other(    906    )
    Other(    935    )
    Other(    937    )
    Other(    142    )
    Other(    1120    )
    Other(    1122    )
    Other(    1121    )
    Other(    2583    )
    Other(    2584    )
    Other(    2585    )
        Other(    6714    )
    Other(    6715    )
    Other(    6716    )
    Other(    6717    )
    Other(    6718    )
    Other(    6719    )
    Other(    6720    )

end 

----------------------------------------------------------Apparel Phyllis

function garnerappphyllis()
    
    
    Talk( 1, "ApparelNPC - Phyllis: Welcome to the Apparel Shop of Icicle City. I am the owner Phyllis." )
    Text( 1, "Trade Apparel", BuyPage )

    InitTrade()
    Weapon(    5001    )
    Weapon(    5007    )
    Weapon(    5008    )
    Weapon(    5004    )
    Weapon(    5002    )
    Weapon(    5283    )
    Weapon(    5284    )
    Weapon(    5070    )
    Weapon(    5071    )
    Weapon(    5072    )
    Weapon(    5281    )
    Weapon(    5286    )
    Weapon(    5282    )
    Weapon(    5004    )
    Weapon(    5010    )
    Weapon(    5006    )
    Weapon(    5012    )
    Weapon(    5073    )
    Weapon(    5280    )
    Weapon(    5276    )
    Weapon(    5285    )
    Weapon( 5277    )
    Weapon( 5278    )
    Weapon( 5279    )
    Weapon( 5009    )
    Weapon( 5003    )    
    Weapon( 5005    )
    Weapon( 5011    )
    Weapon( 5448    )
    Weapon( 5449    )
    Weapon( 5450    )
    Weapon( 5451    )
    Weapon( 5452    )
    Weapon( 5453    )
    Weapon( 5454    )
Defence(    5142    )
Defence(    5143    )
Defence(    5144    )
Defence(    5145    )
Defence(    5146    )
Defence(    5147    )
Defence(    5148    )
Defence(    5149    )
Defence(    5150    )
Defence(    5151    )
Defence(    5152    )
Defence(    5153    )
Defence(    5166    )
Defence(    5167    )
Defence(    5168    )
Defence(    5169    )
Defence(    5170    )
Defence(    5171    )
Defence(    5202    )
Defence(    5203    )
Defence(    5204    )
Defence(    5241    )
Defence(    5242    )
Defence(    5243    )
Defence(    5244    )
Defence(    5245    )
Defence(    5246    )
Defence(    5247    )
Defence(    5248    )
Defence(    5249    )
Defence(    5250    )
Defence(    5251    )
Defence(    5295    )
Defence(    5296    )
Defence(    5297    )
Defence(    5298    )
Defence(    5323    )
Defence(    5324    )
Defence(    5325    )
Defence(    5326    )
Defence(    5669    )
Defence(    5670    )
Defence(    5671    )
Defence(    5672    )
Defence(    5685    )
Defence(    5686    )
Defence(    5687    )
Defence(    5688    )
Defence(    5043    )--Cata
Defence(    5047    )
Defence(    5051    )
Other(    5396    )
Other(    5397    )
Other(    5398    )
Other(    5399    )
Other(    5410    )
Other(    5411    )
Other(    5412    )
Other(    5416    )
Other(    5417    )
Other(    5418    )
Other(    5426    )
Other(    5427    )
Other(    5438    )
Other(    5494    )
Other(    5495    )
Other(    5496    )
Other(    5507    )
Other(    5508    )
Other(    5509    )
Other(    5529    )
Other(    5530    )
Other(    5531    )
Other(    5532    )
Other(    5545    )
Other(    5546    )
Other(    5547    )
Other(    5548    )
Other(    5561    )
Other(    5562    )
Other(    5563    )
Other(    5564    )
Other(    5585    )
Other(    5586    )
Other(    5587    )
Other(    5588    )
Other(    5601    )
Other(    5602    )
Other(    5603    )
Other(    5604    )
    Other(    141    )
    Other(    905    )
    Other(    904    )
    Other(    906    )
    Other(    935    )
    Other(    937    )
    Other(    142    )
    Other(    1120    )
    Other(    1122    )
    Other(    1121    )
    Other(    2583    )
    Other(    2584    )
    Other(    2585    )
        Other(    6714    )
    Other(    6715    )
    Other(    6716    )
    Other(    6717    )
    Other(    6718    )
    Other(    6719    )
    Other(    6720    )

end 

----------------------------------------------------------Apparel Ami

function garnerappami()
    
    
    Talk( 1, "Apparel NPC - Ami: Welcome to the Apparel Shop of Icicle City. I am the owner Ami." )
    Text( 1, "Trade Appereals", BuyPage )

    InitTrade()
    Weapon(    5001    )
    Weapon(    5007    )
    Weapon(    5008    )
    Weapon(    5004    )
    Weapon(    5002    )
    Weapon(    5283    )
    Weapon(    5284    )
    Weapon(    5070    )
    Weapon(    5071    )
    Weapon(    5072    )
    Weapon(    5281    )
    Weapon(    5286    )
    Weapon(    5282    )
    Weapon(    5004    )
    Weapon(    5010    )
    Weapon(    5006    )
    Weapon(    5012    )
    Weapon(    5073    )
    Weapon(    5280    )
    Weapon(    5276    )
    Weapon(    5285    )
    Weapon( 5277    )
    Weapon( 5278    )
    Weapon( 5279    )
    Weapon( 5009    )
    Weapon( 5003    )    
    Weapon( 5005    )
    Weapon( 5011    )
    Weapon( 5448    )
    Weapon( 5449    )
    Weapon( 5450    )
    Weapon( 5451    )
    Weapon( 5452    )
    Weapon( 5453    )
    Weapon( 5454    )
Defence(    5130    )
Defence(    5131    )
Defence(    5132    )
Defence(    5133    )
Defence(    5134    )
Defence(    5135    )
Defence(    5136    )
Defence(    5137    )
Defence(    5138    )
Defence(    5139    )
Defence(    5140    )
Defence(    5141    )
Defence(    5175    )
Defence(    5176    )
Defence(    5177    )
Defence(    5178    )
Defence(    5179    )
Defence(    5180    )
Defence(    5181    )
Defence(    5182    )
Defence(    5183    )
Defence(    5184    )
Defence(    5185    )
Defence(    5186    )
Defence(    5187    )
Defence(    5188    )
Defence(    5189    )
Defence(    5190    )
Defence(    5191    )
Defence(    5192    )
Defence(    5193    )
Defence(    5194    )
Defence(    5198    )
Defence(    5199    )
Defence(    5200    )
Defence(    5201    )
Defence(    5252    )
Defence(    5253    )
Defence(    5254    )
Defence(    5255    )
Defence(    5256    )
Defence(    5257    )
Defence(    5258    )
Defence(    5259    )
Defence(    5260    )
Defence(    5261    )
Defence(    5262    )
Defence(    5263    )
Defence(    5299    )
Defence(    5300    )
Defence(    5301    )
Defence(    5302    )
Defence(    5327    )
Defence(    5328    )
Defence(    5329    )
Defence(    5330    )
Defence(    5673    )
Defence(    5674    )
Defence(    5675    )
Defence(    5676    )
Defence(    5689    )
Defence(    5690    )
Defence(    5691    )
Defence(    5692    )
Defence(    5056    )--Crown Cata
Defence(    5044    )--Cata Armor
Defence(    5048    )
Defence(    5052    )
Other(    5400    )
Other(    5401    )
Other(    5402    )
Other(    5403    )
Other(    5413    )
Other(    5414    )
Other(    5415    )
Other(    5419    )
Other(    5420    )
Other(    5421    )
Other(    5428    )
Other(    5429    )
Other(    5430    )
Other(    5431    )
Other(    5497    )
Other(    5498    )
Other(    5499    )
Other(    5500    )
Other(    5510    )
Other(    5511    )
Other(    5512    )
Other(    5513    )
Other(    5533    )
Other(    5534    )
Other(    5535    )
Other(    5536    )
Other(    5549    )
Other(    5550    )
Other(    5551    )
Other(    5552    )
Other(    5565    )
Other(    5566    )
Other(    5567    )
Other(    5568    )
Other(    5589    )
Other(    5590    )
Other(    5591    )
Other(    5592    )
Other(    5605    )
Other(    5606    )
Other(    5607    )
Other(    5608    )
    Other(    905    )
    Other(    904    )
    Other(    906    )
    Other(    935    )
    Other(    937    )
    Other(    142    )
    Other(    1120    )
    Other(    1122    )
    Other(    1121    )
    Other(    2583    )
    Other(    2584    )
    Other(    2585    )
        Other(    6714    )
    Other(    6715    )
    Other(    6716    )
    Other(    6717    )
    Other(    6718    )
    Other(    6719    )
    Other(    6720    )

end 

function gstore() -- General Store

    Talk( 1, "Hi! I try to keep my stock up to date! feel free to look around! Prices still to be set" )
    Text( 1, "Buy", BuyPage)

    InitTrade()
    Other(    2235    ) -- rebirth  stone
    Other(    1024    ) -- Super Rechargable battery
    Other(    3463    ) -- Icy Crystal
    Other(    1128    )
    Other(    3844    ) --heaven berry
    Other(   849   ) --nana
    --Other(    3086    )
    Other(    3095    ) --hi-amp
    Other(    3845    ) -- charmed berry
    Other(    3096    ) -- amp of luck
    Other(    3097    ) -- hi amp of luck
    Other(    3882    ) -- super lucky fruit
    Other(    3105    ) -- skating pot
    Other(    3846    ) -- voodoo doll
    Other(    3099    ) -- sp holy water
    Other(    3098    ) -- con flask
    Other(    3336    ) -- mystic clover
    Other(    3086    ) --careerlot
    Other(    3462    ) -- magical clover
    Other(    3300    ) -- intense magic
    Other(    3301    ) -- crystalline blessing
    Other(    3109    ) -- str reset
    Other(    3110    ) -- con reset
    Other(    3111    ) -- agi reset
    Other(    3112    ) -- acc reset
    Other(    3113    ) -- spr reset
    Other(    2835    )
Weapon(    4602    ) -- Argent
    Weapon(    4603    ) -- Shaitan
    Weapon(    4604    ) -- Icicle
    Weapon(    3048    ) -- Thundoria Castle 5000
    Weapon(    3049    ) -- Thundoria Harbour 8000
    Weapon(    3050    ) -- Sacred Snow Mountain 15000
    Weapon(    3051    ) -- Andes Forest haven
    Weapon(    3052    ) -- Oasis Haven
    Weapon(    3053    ) -- Icespire Haven
    Weapon(    3055    ) -- Barren Cavern
    Weapon(    3073    ) -- Abandoned Mine 1
    Weapon(    3056    ) -- Abandoned Mine 2
    Weapon(    3057    ) -- silver mine 2
    Weapon(    3058    ) -- silver mine 3
    Weapon(    3054    ) -- Lone Tower
    Weapon(    3059    )
Weapon(    3076    )
Weapon(    2447    ) -- lone tower 2
    Weapon(    3060    ) -- lone tower 3
    Weapon(    3070    ) -- lone tower 4
    Weapon(    3071    ) -- lone tower 5
    Weapon(    3072    ) -- lone tower 6
    Weapon(    2445    ) -- carrabean
    Weapon(    563    ) -- summer
    Weapon(    583    ) -- autumn
    Weapon(    2491    ) -- naval base 50,000
    Weapon(    2844    ) -- abaddon 4 100,000
    Other(    141   )
    Other(   905   )
    Other(   904   )
Other(   6205   )
    Other(   906   )
    Other(   935   )
    Other(   936   )
    Other(   937   )
    Other(   142   )
    Other(   3088   )
    Other(   3089   )
    Other(   3090   )
    Other(   3091   )
    Other(   3092   )
    Other(   3093   )
    --Weapon(    3660    )
    --Weapon(    3667    )
    --Weapon(    3668    )


    

end 

function KalNPC()
    Talk( 1, "Exchange Woods to Gold" )
    Text( 1, "Exchange",SendExchangeData )
    Text( 2, "Close.", CloseTalk )
    InitExchange()
ExchangeData( 3989    ,    99    ,    3457    ,    1 , 249    )

end


end

function GoldExchanger()
    Talk( 1, "Exchange Woods to Gold" )
    Text( 1, "Exchange",SendExchangeData )
    Text( 2, "Close.", CloseTalk )
    InitExchange()
ExchangeData( 3989    ,    99    ,    854    ,    6 , 250    )

end

function UnsealNpc()
    Talk( 1, "Rings and Death Sets/Weapons" ) 
    Text( 1, "Trade", BuyPage) 
    Text( 1, "Nothing...",  CloseTalk)
    
    InitTrade()
    Weapon(    581    )
    Weapon(    580    )
    Defence(    2835    )
    Defence(    2836    )
    Defence(    2837    )
    Defence(    2838    )
    Defence(    2839    )
    Defence(    2840    )
    Defence(    2841    )
    Defence(    2331    )
    Defence(    2332    )
    Defence(    2333    )
    Defence(    2334    )
    Defence(    2335    )
    Defence(    2336    )
    Defence(    2337    )
    Defence(    2338    )
    Defence(    2339    )
    Defence(    2340    )
    Defence(    2341    )
    Defence(    2342    )
    Defence(    2343    )
    Defence(    2344    )
    Other(    ItemID    )

end

function PetNpc()
    Talk( 1, "Welcome!" ) 
    Text( 1, "Trade", BuyPage) 
    Text( 1, "Nothing...",  CloseTalk)
    InitTrade()
    Weapon(    2312    )
    Weapon(    227        )
    Weapon(    222    )
    Weapon(    223        )
    Weapon(    224    )
    Weapon(    225        )
    Weapon(    226    )
    Weapon(    276        )
    Weapon(    277    )
    Weapon(    278        )
    Weapon(    279    )
    Weapon(    280        )
    Weapon(    681    )
    Weapon(    231    )
    Weapon(    232        )
    Weapon(    233    )
    Weapon(    234        )
    Weapon(    235    )
    Weapon(    236        )
    Weapon(    237    )
    Weapon(    227        )
    Weapon(    239    )
    Weapon(    243        )
    Weapon(    244    )
    Weapon(    245        )
    Weapon(    246    )
    Weapon(    247        )
    Weapon(    248    )
    Weapon(    249        )
    Weapon( 250    )
    Weapon(    251        )
    Weapon(    252    )
    Weapon(    253        )
    Weapon(    254    )
    Weapon(    259        )
    Weapon(    260    )
    Weapon(    261        )
    Weapon(    609    )
    Weapon(    610        )
    Weapon(    611    )
    Weapon(    612    )
    
    

end


function GemsNpc()
    Talk( 1, "Unique Gems and More" ) 
    Text( 1, "Trade", BuyPage) 
    Text( 1, "Nothing...",  CloseTalk)
    InitTrade()
    Weapon(    453    )
    Weapon(    454    )
    Weapon(    455    )
    Weapon(    456    )
    Weapon(    886    )
    Weapon(    890    )
    Weapon(    891    )
    Weapon(    878    )
    Weapon(    879    )
    Weapon(    880    )
    Weapon(    881    )
    Weapon(    882    )
    Weapon(    883    )
    Weapon(    884    )
    Weapon(    885    )
    Weapon(    887    )
    Weapon(    1012    )
    Weapon(    1020    )
    Weapon(    860    )
    Weapon(    861    )
    Weapon(    862    )
    Weapon(    863    )
    Weapon(    581    )
    Weapon(    580    )


end

function NpcTele()
    Talk( 1, "Would you like to teleport to Heaven?" )
    Text( 1, "Teleport to Heaven", JumpPage, 5 )

    Talk( 5, "Are you sure you want to teleport to heaven?" )
    Text( 5, "Teleport", GoTo, 1749, 908, "jialebi" )

end

 

 

 

Share this post


Link to post
Share on other sites
166    Ami Apparel     1    881    0    229925,275525    229925,275525    270    Argent City    8    0    garnerappami    00

Though, I don't know if it will solve your problem, but at the end its 00.


Nissan-GT-R.gif

Share this post


Link to post
Share on other sites
1 minute ago, GOAT said:

166    Ami Apparel     1    881    0    229925,275525    229925,275525    270    Argent City    8    0    garnerappami    00

Though, I don't know if it will solve your problem, but at the end its 00.

Hello sir thanks for helping, actually ami apparel is working now, Only Phyllis and Carsise says busy

Share this post


Link to post
Share on other sites

Then the only thing I think would interrupt the function is because of the # the NPC is residing with. try changing to a different number, or maybe you are using another NPC that has that number.

 

166 Ami Apparel


Nissan-GT-R.gif

Share this post


Link to post
Share on other sites
2 minutes ago, GOAT said:

Then the only thing I think would interrupt the function is because of the # the NPC is residing with. try changing to a different number, or maybe you are using another NPC that has that number.

 

166 Ami Apparel

//164    Lottery Seller - Peter    1    421    0    229388,282488    229388,282488    180    Argent City    1    0    peter_talk001    0
//165    Lottery Changer - Charlie    1    415    0    229688,282488    229688,282488    180    Argent City    1    0    peter_talk002    0
//166    Lottery Shop    1    1075    0    229422,282222    229422,282222    180    Argent City    1    0    0    0

 

its already been commented sir. I dont know exactly whats happening with carsise and phyllis :(

 

Share this post


Link to post
Share on other sites
3 minutes ago, icytalent said:

//164    Lottery Seller - Peter    1    421    0    229388,282488    229388,282488    180    Argent City    1    0    peter_talk001    0
//165    Lottery Changer - Charlie    1    415    0    229688,282488    229688,282488    180    Argent City    1    0    peter_talk002    0
//166    Lottery Shop    1    1075    0    229422,282222    229422,282222    180    Argent City    1    0    0    0

 

its already been commented sir. I dont know exactly whats happening with carsise and phyllis :(

 

Try renaming the functions like

 

garner_lance

garner_carsise

garner_ami

garner_phyllis

 

Otherwise, pm me your Team View Info.

 

Edited by GOAT
  • Thanks 1

Nissan-GT-R.gif

Share this post


Link to post
Share on other sites
3 minutes ago, GOAT said:

Try renaming the functions like

 

garner_lance

 garner_carsise

garner_ami

garner_phyllis

 

Otherwise, pm me your Team View Info.

 

OMG! it really woooorked! thanks alot sir! can you help me 1 more? im getting headache with this too

 

garner

178    Wood Exchanger - Kals    1    838    15    219275,274675    219275,274675    90    Argent City    1    0    KalNPC    0
179    Wood Exchanger - Gold    1    838    15    219175,275975    219175,275975    90    Argent City    1    0    GoldExchanger    0

 

 

script

function KalNPC()
    Talk( 1, "Exchange Woods to Kals" )
    Text( 1, "Exchange",SendExchangeData )
    Text( 2, "Close.", CloseTalk )
    InitExchange()
ExchangeData( 3989    ,    99    ,    3457    ,    1 , 249    )

end

function GoldExchanger()
    Talk( 1, "Exchange Woods to Gold" )
    Text( 1, "Exchange",SendExchangeData )
    Text( 2, "Close.", CloseTalk )
    InitExchange()
ExchangeData( 3989    ,    99    ,    854    ,    6 , 250    )

end
 

my variable

ChangeItemList[ 249    ]=    {    3989    ,    99    ,    3457    ,    1    }
ChangeItemList[ 250    ]=    {    3989    ,    99    ,    854    ,    6    }
 

 

Share this post


Link to post
Share on other sites
1 minute ago, icytalent said:

OMG! it really woooorked! thanks alot sir! can you help me 1 more? im getting headache with this too

 

garner

178    Wood Exchanger - Kals    1    838    15    219275,274675    219275,274675    90    Argent City    1    0    KalNPC    0
179    Wood Exchanger - Gold    1    838    15    219175,275975    219175,275975    90    Argent City    1    0    GoldExchanger    0

 

 

script

function KalNPC()
    Talk( 1, "Exchange Woods to Kals" )
    Text( 1, "Exchange",SendExchangeData )
    Text( 2, "Close.", CloseTalk )
    InitExchange()
ExchangeData( 3989    ,    99    ,    3457    ,    1 , 249    )

end

function GoldExchanger()
    Talk( 1, "Exchange Woods to Gold" )
    Text( 1, "Exchange",SendExchangeData )
    Text( 2, "Close.", CloseTalk )
    InitExchange()
ExchangeData( 3989    ,    99    ,    854    ,    6 , 250    )

end
 

my variable

ChangeItemList[ 249    ]=    {    3989    ,    99    ,    3457    ,    1    }
ChangeItemList[ 250    ]=    {    3989    ,    99    ,    854    ,    6    }
 

 

my problem is my goldexchanger itemID is different but in game they both show the Million Dollar note no kals at all

Share this post


Link to post
Share on other sites
2 minutes ago, icytalent said:

OMG! it really woooorked! thanks alot sir! can you help me 1 more? im getting headache with this too

 

garner

178    Wood Exchanger - Kals    1    838    15    219275,274675    219275,274675    90    Argent City    1    0    KalNPC    0
179    Wood Exchanger - Gold    1    838    15    219175,275975    219175,275975    90    Argent City    1    0    GoldExchanger    0

 

 

script

function KalNPC()
    Talk( 1, "Exchange Woods to Kals" )
    Text( 1, "Exchange",SendExchangeData )
    Text( 2, "Close.", CloseTalk )
    InitExchange()
ExchangeData( 3989    ,    99    ,    3457    ,    1 , 249    )

end

function GoldExchanger()
    Talk( 1, "Exchange Woods to Gold" )
    Text( 1, "Exchange",SendExchangeData )
    Text( 2, "Close.", CloseTalk )
    InitExchange()
ExchangeData( 3989    ,    99    ,    854    ,    6 , 250    )

end
 

my variable

ChangeItemList[ 249    ]=    {    3989    ,    99    ,    3457    ,    1    }
ChangeItemList[ 250    ]=    {    3989    ,    99    ,    854    ,    6    }
 

 

Yeah try Kal_Exchanger

Wood_Exchanger

 

 

Your ExchangeData should look the same as your ChangeItemList

 

Edited by GOAT

Nissan-GT-R.gif

Share this post


Link to post
Share on other sites

ChangeItemList[ 250    ]=    {    3989    ,    99    ,    854    ,    6    } -- Wood 99x for 6x Million notes

ExchangeData( 3989    ,    99    ,    854    ,    6 , 250    ) -- This is your problem here.


Nissan-GT-R.gif

Share this post


Link to post
Share on other sites
8 minutes ago, GOAT said:

ChangeItemList[ 250    ]=    {    3989    ,    99    ,    854    ,    6    } -- Wood 99x for 6x Million notes

ExchangeData( 3989    ,    99    ,    854    ,    6 , 250    ) -- This is your problem here.

i dont get what you mean sir, sorry, should i not exceed to 250?

Share this post


Link to post
Share on other sites

Example:

 

ExchangeDataX(    7410    ,    99    ,    222    ,    1    ,    1)

ChangeItemList[ 249    ]=    {    7410    ,    99    ,    222    ,    1    }

Edited by GOAT

Nissan-GT-R.gif

Share this post


Link to post
Share on other sites
7 minutes ago, GOAT said:

Example:

 

ExchangeDataX(    7410    ,    99    ,    222    ,    1    ,    1)

ChangeItemList[ 249    ]=    {    7410    ,    99    ,    222    ,    1    }

function Kal_Exchanger()
    Talk( 1, "Exchange Woods to Kals" )
    Text( 1, "Exchange",SendExchangeData )
    Text( 2, "Close.", CloseTalk )
    InitExchange()
ExchangeDataX( 3989    ,    99    ,    3457    ,    1 , 1    )

 

ChangeItemList[ 249    ]=    {    3989    ,    99    ,    3457    ,    1    }

 

its not working again sir

image.png.deb0725ccdcb7d60627588295582537a.png

Share this post


Link to post
Share on other sites

You are changing Ash Wood 99x for 1 kal

ExchangeDataX( 3989    ,    99    ,    3457    ,    1 ,    1    )

 

Don't Copy and Paste mines.

Make a new number

 

 

ChangeItemList[ 249    ]=    {    3989    ,    99    ,    3457    ,    1    }

 

249 -> ###


Nissan-GT-R.gif

Share this post


Link to post
Share on other sites

This is what your NPC will display

ExchangeDataX( 3989    ,    99    ,    3457    ,    1 ,    1    ) -- In your NPC Script

 

 

And what the character needs to be able to exchange even if it shows the above.

ChangeItemList[ ### ]=    {    3989    ,    99    ,    3457    ,    1    }  -- Variable.lua

Edited by GOAT
  • Thanks 1

Nissan-GT-R.gif

Share this post


Link to post
Share on other sites
2 minutes ago, GOAT said:

You are changing Ash Wood 99x for 1 kal

ExchangeDataX( 3989    ,    99    ,    3457    ,    1 ,    1    )

 

Don't Copy and Paste mines.

Make a new number

 

 

ChangeItemList[ 249    ]=    {    3989    ,    99    ,    3457    ,    1    }

 

249 -> ###

function Kal_Exchanger()
    Talk( 1, "Exchange Woods to Kals" )
    Text( 1, "Exchange",SendExchangeData )
    Text( 2, "Close.", CloseTalk )
    InitExchange()
ExchangeData( 3989    ,    99    ,    3457    ,    1 , 1    ) ---- i tried it with ExchangeDataX still not working

end

 

ChangeItemList[ 261    ]=    {    3989    ,    99    ,    3457    ,    1    }

 

like this sir? its still not working T_T im really sorry for being an idiot

Share this post


Link to post
Share on other sites
7 minutes ago, GOAT said:

This is what your NPC will display

ExchangeDataX( 3989    ,    99    ,    3457    ,    1 ,    1    ) -- In your NPC Script

 

 

And what the character needs to be able to exchange even if it shows the above.

ChangeItemList[ ### ]=    {    3989    ,    99    ,    3457    ,    1    }  -- Variable.lua

Sir its already workiiing now i changed it to another scripts xDDDD thanks alot sir youre really a big help hope you can help more idiots like me xDDD

Share this post


Link to post
Share on other sites
12 minutes ago, icytalent said:

Sir its already workiiing now i changed it to another scripts xDDDD thanks alot sir youre really a big help hope you can help more idiots like me xDDD

We all gotta start somewhere right.

  • Like 1
  • Thanks 1

Nissan-GT-R.gif

Share this post


Link to post
Share on other sites
On 1/30/2019 at 12:46 PM, ᴡʀx said:

We all gotta start somewhere right.

SIR WOULD WE TV? I ALSO GOT THAT ISSUE RIGHT NOW ALL NPC BUSY IT WAS WORKING BEFORE

  • Haha 2

Share this post


Link to post
Share on other sites
10 hours ago, Zackeus said:

SIR WOULD WE TV? I ALSO GOT THAT ISSUE RIGHT NOW ALL NPC BUSY IT WAS WORKING BEFORE

You changed something and messed up, whatever you changed is blocking a chunk of files from being loaded in GameServer. You should check your console if any errors pop up when initiating the server or check "lua_err.log" and track your error from there.

Share this post


Link to post
Share on other sites
10 hours ago, Angelix said:

You changed something and messed up, whatever you changed is blocking a chunk of files from being loaded in GameServer. You should check your console if any errors pop up when initiating the server or check "lua_err.log" and track your error from there.

[12-11 15:01:28]No definition DoString(config) <-- so where do i need to configure this thing?

 

Share this post


Link to post
Share on other sites
14 hours ago, Zackeus said:

[12-11 15:01:28]No definition DoString(config) <-- so where do i need to configure this thing?

 

Does anything show up when you're opening GameServer?

Share this post


Link to post
Share on other sites
On 12/10/2020 at 12:27 PM, Zackeus said:

SIR WOULD WE TV? I ALSO GOT THAT ISSUE RIGHT NOW ALL NPC BUSY IT WAS WORKING BEFORE

YOU GOT wrong function. Check GameServer/Log/lua_err and show what system say

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...