Storage

Desolation Mir2 (Med Rate Server)

paul.obrien

LOMCN Veteran
Veteran
Aug 28, 2008
453
4
45
is there a way of increasing the storage..
ATM a player can store up to 80 items but i have been looking at doubling this.Is it possible to do this?
 

Killmaster

Legend
Legendary
Golden Oldie
Loyal Member
Nov 13, 2003
3,967
27
274
Meaning a new npc for each person in game?

Would be a lot of work but I see where you are going with that idea to be fair. Could work quite well but a lot of work.
 
Upvote 0

~HeavenSent~

Golden Oldie
Golden Oldie
Nov 9, 2005
2,157
17
180
Chorley
80 should be planty lol if you let them keep more wont it just slow the server up useing all the extra memory on the server pc?
 
Upvote 0

Killmaster

Legend
Legendary
Golden Oldie
Loyal Member
Nov 13, 2003
3,967
27
274
Not really because its all stored in the databases so when the server needs it it will take it straight from the database.
 
Upvote 0

paul.obrien

LOMCN Veteran
Veteran
Aug 28, 2008
453
4
45
you could make custom npcs for people via request. have a simple namelist check and let the person whos name is on said namelist sell/buy anything

lol i have no idea what you mean..
Would you care to write a mock script for me so i can see where to go from that ?.
 
Upvote 0

Spoon666

LOMCN Veteran
Veteran
Feb 12, 2005
292
0
43
South West Wales
take a shop npc and add all the std_mode numbers to the list and have the buy/sell feature. use a namelist at the beginning

[@main]
#IF
CHECKNAMELIST ../StoreNPCs/Spoon.txt
#ACT
goto @spoonstore
#ELSEACT
sendmsg 6 "This is not your store sorry"

[@spoonstore]
this is where your buy/sell stuff goes


To make it work people would have to request a store npc that you would need to make to read a namelist with their name in it. You could use just one NPC and have the script check namelists and sending people off to the right store

[@main]
#IF
CHECKNAMELIST ../StoreNPCs/Spoon.txt
#ACT
#CALL [\StoreNPCs\SpoonStore.txt] @spoonstore
#IF
CHECKNAMELIST etc etc etc

You would create the folder StoreNPCs in envir and the npc for the char Spoon (SpoonStore-0) that would need to start

[@spoonstore]
{
Text in here
}

and a txt document called spoon to use as the namelist. When you get one sorted it's 2 mins work to set up as many others as you need all you wold need to change is filenames and paths
 
Last edited:
Upvote 0

K_Jonzy

Golden Oldie
Golden Oldie
Oct 8, 2008
590
15
105
My House
it isnt coded into the files as ive seen a serv were its limitless,
and TM can also be changed to have limiless items consigned
 
Upvote 0

lifco

Untrusted Member
Legendary
Golden Oldie
Loyal Member
Jul 6, 2004
3,400
66
175
UK/Italy
Not sure if this will work on your 2.3 server,

but this is my hero unlimited storage script for my server

enjoy and hope it works for you

(@bigstorage @biggetback @getnextpage @getPreviouspage)
100%

[@main]
Hello. Iam the storekeeper \
Store your items without restrictions.\
No matter how many items you have\ \

<Storage / @bigstorage> \
<Retrieve items / @biggetback> \
<Exit / @exit>

[@bigstorage]
What you neen? \ \
<Back / @main>

[@biggetback]
Pick your item to retrieve \ \
<Previous / @getPreviouspage> <Next / @getnextpage> \
<Return to the / @main>

[@getPreviouspage]
#ACT
goto @biggetback

[@getnextpage]
#ACT
goto @biggetback


Find = Setup.txt
Add = BigStorageLimitCount = 100


lif
 
Upvote 0

Spoon666

LOMCN Veteran
Veteran
Feb 12, 2005
292
0
43
South West Wales
I just tried that lif wouldn't work for me just froze when clicked anything.

I made a sample of what i was talking about above it all works perfect except the stores are emptied at reboot, i know it can be saved i've seen it on a diff server
 
Upvote 0