StorageStone Problem!!!!!

Play Now

LegendOfMir

LOMCN N00B +1
Veteran
I have a little problem with Storage Stone,coz dont open the window where to put/take the items. I do it in DB item name StorageStone, with Stdmode 31 + Anicount 99 & I write in QFunction-0.txt :
[@StdModeFunc99]
#ACT
#CALL [\Market\Market5.txt] @Markets

And at the NPC the script Market5.txt work corectly, but with the StrgeStone dsnt work corectly , appear only the the pop up text, but not appear the window, where to put/take the item... What's the solution to fix this? Any1 can help me? :):mad:

 

Fire

Golden Oldie
Golden Oldie
Apr 15, 2003
1,302
1
175
can you post the script for Market5.txt section in the call

make sure you have put at the top the (@storage) command
 
Upvote 0

Fire

Golden Oldie
Golden Oldie
Apr 15, 2003
1,302
1
175
then you will have to post what the script is so that we can see what the problem is...
 
Upvote 0

LegendOfMir

LOMCN N00B +1
Veteran
This is the Market5.txt for Storage NPC, and CAREFULLY WORK VERRY GOOD, and is in 2 language , i hope dont angry somebody....but dont work with Stone ...so:

;99% NPCs Including Quests
;Settings

;###############################################################
; Brief Description of the switches used in this NPC.
; [306] - Unknown
;###############################################################
;Pkr Tag (NPC won't talk to Pkrs)
(@storage @getback @MakeDrug)
%100
#INCLUDE 8ri.txt
[@Markets]
{
#IF
checkpkpoint 2
#SAY
Nu ajut pe cineva,inrait ca tine.\
-------------------------------------------------------\
I will not help an evil person like you..\
--------------------------------------------------------\
<Ok---Bine---/@exit>
#ELSEACT
goto @main-1
[@main-1]
#IF
random 10
#ACT
goto @QUEST
#ELSEACT
goto @normal
[@QUEST]
#IF
check [305] 1
#ACT
goto @Q305
#ELSEACT
goto @normal
[@Q305]
#IF
#ACT
SET [306] 1
#SAY
Cauti un bucatar? NU stiu despre bucatarie,doar am auzit de\
una numita Kumbun,din Serpentvalley.Poti cauta pe acolo...\
-------------------------------------------------------------------\
Do you look for a cook? Look,well..I know nothing about\
cooking,but I have heard about a cook,called Kumbun\
who lives in Serpent Valley. You can check there maybe...\
-------------------------------------------------------------------\
<Ok---Bine----/@exit>


[@normal]
BUN VENIT <$USERNAME>! BUN VENIT LA MAGAZIE! AICI\
DEPOZITEAZA CE AI.AI GRIJA AM CAPACITATE LIMITATA.\
NU MERGE PESTE CAPACITATEA MAXIMA.\
----------------------------------------------------------------------------\
<INMAGAZINEAZA/@storage> OBIECTE <REDA-MI/@getback> OBIECTE\
<SCHIMB/@mbind> DIVERSE (Galbeni,BareAur,Cufere) IN <ENGLISH/@eng>\
<REVIN ALTA DATA.../@exit>
[@eng]
What can I do for you?\
Please feel free to store items, we dont charge for custody.\
---------------------------------------------------------------------------\
<Store/@storage> item <Take back/@getback> item\
<Exchange/@mbind> stuff IN <ROMANA/@normal>
<Cancel/@exit>

[@storage]
Ce anume vrei sa inmagazinezi?\
----------------------------------------\
What item do you want to store?\
----------------------------------------\
<Back---REVIN---/@main>
[@getback]
Alege din lista,ce doresti sa iei inapoi?\
----------------------------------------------------------------------\
Please choose from the list what you want to take back.\
----------------------------------------------------------------------\
Back--REVIN--/@main


[@Mbind]
#IF
#SAY
Pot lega potiuni si teleporturi,si deasemenea,pot schimba aur in BareAur.\
----------------------------------------------------------------------------\
I can bundle potions and teleports,& also exchange gold into goldbars.\
----------------------------------------------------------------------------\
<ZI CE POT SCHIMBA!/@gope> <Tell me what I can exchange!/@gope>\
<LEG DIVERSE.../@bind> <Item bundling/@bind>\
<Cancel---REVIN!/@exit>
[@gope]
<Schimb GALBENII in BARAAUR/@changeGold> <Exchange Money into GoldBar/@changeGold>\
<Schimb BARAAUR in GALBENI/@changeMoney> <Exchange GoldBar into Money/@changeMoney>\
<Schimb BaraAur in BareAurLegate/@gold500> <Exchange GoldBar into GoldBarbundle/@gold500>\
<Schimb BaraAur in CufarAur/@gold1000> <Exchange GoldBar into GoldChest/@gold1000>\
<Schimb CufarAur in BareAur/@goli> <Exchange GoldChest in GoldBar/@gold1000>\
<Exit---Revin/@exit>
[@goli]
#IF
checkitem GoldChest 1
checkgold 4000
#SAY
DORESTI SA-TI SCHIMB CUFARUL DE AUR IN BARE AUR? TREBUIE 4K.\
---------------------------------------------------------------\
Do you want to change GoldChest into GoldBar?\
---------------------------------------------------------------\
<SCHIMBA-MI.../@exch> <Exchange.../@exch>\
<REVIN/@exit> <Exit/@exit>
#ELSESAY
BAH,...CE FACI? NU VEZI PROSTULE CA NU AI NIMIC PE TINE?\
ITI TREBUIE UN CUFAR CU AUR SI 4000 DE GALBENI. BAH,...VINO CIND AI\
CA AM TREBA SI TU MA ENERVEZI. VINO MAH CU BANI...AI NEVOIE DE 10\
SPATII GOALE IN MAGAZIE.\
-------------------------------------------------------------------------\
RETURN HERE WHEN YOU HAVE ONE GOLDCHEST & 4K GOLD.\
So,go and come back,when you have. I'm very busy man.\
<INTELEG.../@exit> <Exit/@exit>
[@exch]
#IF
checkitem GoldChest 1
checkgold 4000
#ACT
take GoldChest 1
take gold 4000
give GoldBar 10
#SAY
AI AICI GOLDBARURILE DORITE.\
-----------------------------------------------------\
You have here what you whant.\
----------------------------------------------------\
<GATA,...MERSI!/@exit> <Exit/@exit>\
<MAI SCHIMBA-MI.../@goli> <Exchange more.../@goli>
#ELSESAY
BAH,...CE FACI? NU VEZI PROSTULE CA NU AI NIMIC PE TINE?\
ITI TREBUIE UN CUFAR CU AUR SI 2000 DE GALBENI. BAH,...VINO CIND AI\
CA AM TREBA SI TU MA ENERVEZI. VINO MAH CU BANI...AI NEVOIE DE 10\
SPATII GOALE IN MAGAZIE.\
-------------------------------------------------------------------------\
RETURN HERE WHEN YOU HAVE ONE GOLDCHEST & 4K GOLD.So,go and come back\
when you have. I'm very busy man.\
<INTELEG.../@exit> Exit/@exit


[@changeGold]
#IF.......

[goods]
}
I put here all the needed script....but not all... for bind, change money, coz is to long and i cant put here more then 10000 characters. (have aprox.17000 char.)
And the script into the QManage.txt is on top the threat!!!:)
 
Upvote 0

lifco

Untrusted Member
Legendary
Golden Oldie
Loyal Member
Jul 6, 2004
3,400
66
175
UK/Italy
this bit is your problem #CALL [\Market\Market5.txt] @Markets coz in your script it says
#INCLUDE 8ri.txt
[@Markets]

also why have you made is so weak ? ie easy 2 hack longer the script easyer to hack

also you use
#IF
#SAY

but dont add nothing to #IF

lif
 
Upvote 0

LegendOfMir

LOMCN N00B +1
Veteran
Neah man is not this.... coz this file 8ri.txt dsnt exist... I remove this but the situation is the same.
I tell U again, I REPEAT this file work fine with NPC....but with StorageStone apear only the pop up text, without the windows to put/take the items... I know ...normaly ...is with (@storage) but not with Stone...something is missing... i dont understand what...maybe any1...:brows: ;)
 
Upvote 0

lifco

Untrusted Member
Legendary
Golden Oldie
Loyal Member
Jul 6, 2004
3,400
66
175
UK/Italy
i told you

you must understand this

QFunction.txt add this to the very top of the txt
(@storage @getback @makedrug)

[@StdModeFunc99]
#INCLUDE 8ri.txt
[@main]
#ACT
#CALL [\Market\Market5.txt] @Markets

Now In C:\mirserver\Mir200\Envir\QuestDiary\Market


Your txt pad must be called Market5, so in Market5.txt

your script here ie

[@Markets]
{
#IF
checkpkpoint 2
#SAY
Nu ajut pe cineva,inrait ca tine.\
-------------------------------------------------------\
I will not help an evil person like you..\
--------------------------------------------------------\
<Ok---Bine---/@exit>
#ELSEACT
goto @main-1
[@main-1]
#IF
random 10
#ACT
goto @QUEST
#ELSEACT
goto @normal
[@QUEST]
#IF
check [305] 1
#ACT
goto @Q305
#ELSEACT
goto @normal
[@Q305]
#IF
#ACT
SET [306] 1
#SAY
Cauti un bucatar? NU stiu despre bucatarie,doar am auzit de\
una numita Kumbun,din Serpentvalley.Poti cauta pe acolo...\
-------------------------------------------------------------------\
Do you look for a cook? Look,well..I know nothing about\
cooking,but I have heard about a cook,called Kumbun\
who lives in Serpent Valley. You can check there maybe...\
-------------------------------------------------------------------\
<Ok---Bine----/@exit>


[@normal]
BUN VENIT <$USERNAME>! BUN VENIT LA MAGAZIE! AICI\
DEPOZITEAZA CE AI.AI GRIJA AM CAPACITATE LIMITATA.\
NU MERGE PESTE CAPACITATEA MAXIMA.\
----------------------------------------------------------------------------\
<INMAGAZINEAZA/@storage> OBIECTE <REDA-MI/@getback> OBIECTE\
<SCHIMB/@mbind> DIVERSE (Galbeni,BareAur,Cufere) IN <ENGLISH/@eng>\
<REVIN ALTA DATA.../@exit>
[@eng]
What can I do for you?\
Please feel free to store items, we dont charge for custody.\
---------------------------------------------------------------------------\
<Store/@storage> item <Take back/@getback> item\
<Exchange/@mbind> stuff IN <ROMANA/@normal>
<Cancel/@exit>

[@storage]
Ce anume vrei sa inmagazinezi?\
----------------------------------------\
What item do you want to store?\
----------------------------------------\
<Back---REVIN---/@main>
[@getback]
Alege din lista,ce doresti sa iei inapoi?\
----------------------------------------------------------------------\
Please choose from the list what you want to take back.\
----------------------------------------------------------------------\
Back--REVIN--/@main


[@Mbind]
#IF
#SAY
Pot lega potiuni si teleporturi,si deasemenea,pot schimba aur in BareAur.\
----------------------------------------------------------------------------\
I can bundle potions and teleports,& also exchange gold into goldbars.\
----------------------------------------------------------------------------\
<ZI CE POT SCHIMBA!/@gope> <Tell me what I can exchange!/@gope>\
<LEG DIVERSE.../@bind> <Item bundling/@bind>\
<Cancel---REVIN!/@exit>
[@gope]
<Schimb GALBENII in BARAAUR/@changeGold> <Exchange Money into GoldBar/@changeGold>\
<Schimb BARAAUR in GALBENI/@changeMoney> <Exchange GoldBar into Money/@changeMoney>\
<Schimb BaraAur in BareAurLegate/@gold500> <Exchange GoldBar into GoldBarbundle/@gold500>\
<Schimb BaraAur in CufarAur/@gold1000> <Exchange GoldBar into GoldChest/@gold1000>\
<Schimb CufarAur in BareAur/@goli> <Exchange GoldChest in GoldBar/@gold1000>\
<Exit---Revin/@exit>
[@goli]
#IF
checkitem GoldChest 1
checkgold 4000
#SAY
DORESTI SA-TI SCHIMB CUFARUL DE AUR IN BARE AUR? TREBUIE 4K.\
---------------------------------------------------------------\
Do you want to change GoldChest into GoldBar?\
---------------------------------------------------------------\
<SCHIMBA-MI.../@exch> <Exchange.../@exch>\
<REVIN/@exit> <Exit/@exit>
#ELSESAY
BAH,...CE FACI? NU VEZI PROSTULE CA NU AI NIMIC PE TINE?\
ITI TREBUIE UN CUFAR CU AUR SI 4000 DE GALBENI. BAH,...VINO CIND AI\
CA AM TREBA SI TU MA ENERVEZI. VINO MAH CU BANI...AI NEVOIE DE 10\
SPATII GOALE IN MAGAZIE.\
-------------------------------------------------------------------------\
RETURN HERE WHEN YOU HAVE ONE GOLDCHEST & 4K GOLD.\
So,go and come back,when you have. I'm very busy man.\
<INTELEG.../@exit> <Exit/@exit>
[@exch]
#IF
checkitem GoldChest 1
checkgold 4000
#ACT
take GoldChest 1
take gold 4000
give GoldBar 10
#SAY
AI AICI GOLDBARURILE DORITE.\
-----------------------------------------------------\
You have here what you whant.\
----------------------------------------------------\
<GATA,...MERSI!/@exit> <Exit/@exit>\
<MAI SCHIMBA-MI.../@goli> <Exchange more.../@goli>
#ELSESAY
BAH,...CE FACI? NU VEZI PROSTULE CA NU AI NIMIC PE TINE?\
ITI TREBUIE UN CUFAR CU AUR SI 2000 DE GALBENI. BAH,...VINO CIND AI\
CA AM TREBA SI TU MA ENERVEZI. VINO MAH CU BANI...AI NEVOIE DE 10\
SPATII GOALE IN MAGAZIE.\
-------------------------------------------------------------------------\
RETURN HERE WHEN YOU HAVE ONE GOLDCHEST & 4K GOLD.So,go and come back\
when you have. I'm very busy man.\
<INTELEG.../@exit> Exit/@exit


[@changeGold]
#IF.......

[goods]
}


lif
 
Upvote 0

LegendOfMir

LOMCN N00B +1
Veteran
StorageStone Problem Fix it!!!

WORK!!!! Finally, this is the answer ... (@storage @getback @MakeDrug) into the QFunction.txt , nothings else, coz this work like an NPC(i know this) but ...this little think escape me.... I test it and work now fine...Tnx man LIFCO!!!:) :agree: :ppunk: :dunce: ;)

 
Upvote 0