Basicitem Guide

General assistance and guidelines for editing the server side of Soma.

Re: Basicitem Guide

Postby unvmeh » Mon Mar 02, 2009 1:32 pm

iSylver wrote:Created by Miser



bType
Description: tells the item how it should act (i.e. a bow to have ranged attacks, staff to use magic), and what stats to show (i.e. armour to show defence; weapons to show attack, speed). Types 0~7 are unstackable, types 9~15 are stackable with the exception of 13 and 14. bType is also responsible for what you can place on your belt and what sound the item makes as you move it around your inventory window.
0 = Sword
1 = Axe
2 = Bow
3 = Spear
4 = Knuckle
5 = Staff
6 = Item not used for anything in the game, but has the same qualities as 12.
7 = Armour
8 = Accessory
9 = Eatable item (Potions, Antidotes, Candles, Town Portals)
10 = Cooked potion (Bread, Meat Dish, Jerkey)
11 = Crafting Materials (wood, leather, gems, upgrades)
12 = Tradable Items (normal items, unequipable, some are for quests, stackable)
13 = Money (when viewed in your inventory screen or shop, you see the item's name and inventory picture, but when dropped onto the floor it becomes barr - 0 barr)
14 = Unused - tradable items that cannot be stacked.
15 = Untradable Items (mostly quest items)





If i wanted to make a Armour or accessory untradable by changing it to "15" will this mess up anything being "7" for armour will it not think its armour and do somthing it shouldnt?

Thank in advance
........./´¯/)
......../¯..//
......./..../ /
./´¯/'...'/´¯¯`·¸
/'/.../..../......./¨¯\
('(...´(..´......,~/'...')
.\.................\/..../
..\.......... _.·´/
...\..............(
....\.............\
.....\.UNVMEH.\
User avatar
unvmeh
SD Pro 5 Star
SD Pro 5 Star
 
Posts: 1438
Joined: Tue Apr 29, 2008 7:33 pm

Re: Basicitem Guide

Postby arcanine » Mon Mar 02, 2009 1:49 pm

I doubt it if the bArm field is correct
User avatar
arcanine
SD Pro 5 Star
SD Pro 5 Star
 
Posts: 1056
Joined: Mon Apr 21, 2008 2:53 pm

Re: Basicitem Guide

Postby unvmeh » Mon Mar 02, 2009 1:54 pm

looking at hero armour it has 7 i wonder how that is nontradable then.
........./´¯/)
......../¯..//
......./..../ /
./´¯/'...'/´¯¯`·¸
/'/.../..../......./¨¯\
('(...´(..´......,~/'...')
.\.................\/..../
..\.......... _.·´/
...\..............(
....\.............\
.....\.UNVMEH.\
User avatar
unvmeh
SD Pro 5 Star
SD Pro 5 Star
 
Posts: 1438
Joined: Tue Apr 29, 2008 7:33 pm

Re: Basicitem Guide

Postby RauBan » Mon Mar 02, 2009 1:58 pm

hardcoded itemnums.. it's in the various stuff fin posted mounths ago
RauBan
SD Four Star
SD Four Star
 
Posts: 184
Joined: Fri Feb 22, 2008 9:43 pm

Re: Basicitem Guide

Postby unvmeh » Mon Mar 02, 2009 2:04 pm

Thanks Rau,

Just about to say it changed the item into stackable item when its armour :(
........./´¯/)
......../¯..//
......./..../ /
./´¯/'...'/´¯¯`·¸
/'/.../..../......./¨¯\
('(...´(..´......,~/'...')
.\.................\/..../
..\.......... _.·´/
...\..............(
....\.............\
.....\.UNVMEH.\
User avatar
unvmeh
SD Pro 5 Star
SD Pro 5 Star
 
Posts: 1438
Joined: Tue Apr 29, 2008 7:33 pm

Re: Basicitem Guide

Postby Loki » Sat Jul 03, 2010 5:48 am

iSylver wrote:BasicItem
32 = POS Gem (Opt1=POS) - Unable to be: Traded; Dropped; Sold; Stored
39 = Zone

My first issue is the POS Gem, I've set as btype 9 and tried with btype 10 with barm 10 and sspecial 32 and opt1=50 and when I click the gem nothing happens
second, what is this "zone" thing? lol
but really im trying to figure out why the pos gems dont work.
I <3 Duckface
Loki
SD Three Star
SD Three Star
 
Posts: 87
Joined: Sun Feb 07, 2010 10:21 pm

Re: Basicitem Guide

Postby unvmeh » Sun Jul 04, 2010 10:44 am

Loki wrote:
iSylver wrote:BasicItem
32 = POS Gem (Opt1=POS) - Unable to be: Traded; Dropped; Sold; Stored
39 = Zone

My first issue is the POS Gem, I've set as btype 9 and tried with btype 10 with barm 10 and sspecial 32 and opt1=50 and when I click the gem nothing happens
second, what is this "zone" thing? lol
but really im trying to figure out why the pos gems dont work.



Have you added the pos event?
........./´¯/)
......../¯..//
......./..../ /
./´¯/'...'/´¯¯`·¸
/'/.../..../......./¨¯\
('(...´(..´......,~/'...')
.\.................\/..../
..\.......... _.·´/
...\..............(
....\.............\
.....\.UNVMEH.\
User avatar
unvmeh
SD Pro 5 Star
SD Pro 5 Star
 
Posts: 1438
Joined: Tue Apr 29, 2008 7:33 pm

Re: Basicitem Guide

Postby Loki » Sun Jul 04, 2010 4:46 pm

From just looking at the item guide I was under the impression that setting this POS gem up would make it edible and you get POS from it. But I could be thinking of it wrong.
I <3 Duckface
Loki
SD Three Star
SD Three Star
 
Posts: 87
Joined: Sun Feb 07, 2010 10:21 pm

Previous

Return to Server Development

Who is online

Users browsing this forum: No registered users and 1 guest

cron