Post Pacific

Post Pacific (https://postpacific.loc-online.com/index.php)
-   Темы без сохранившегося раздела (https://postpacific.loc-online.com/forumdisplay.php?f=10001)
-   -   DB Question (https://postpacific.loc-online.com/showthread.php?t=215)

Dubie 24.03.2005 23:49

DB Question
 
Sup all,

Trying to find out where the char stats are stored at in the DB?
Like: Str, Wit. Int and so on.
I swear I checked them all but I just dont see them anywhere.

Thanks for your time,
Dubie

badjoe 25.03.2005 00:25

I don't think these are stored in your DB
they depend on your class / lvl

Dubie 25.03.2005 02:52

Yeah I was wanting to just edit a couple users stats not everyones.
So I take there is no way to edit just one or 2 users stats then eh.
No tweaks to do this at all or is there a way to addin new GM commands?
So you could maybe make one that reset all your stats in one command.

Thanks for the replies
Dubie

Nya-o 25.03.2005 09:50

if you modify primary stats via //set_param, they will be re-set after restart.
the only possible solution is to make a stat-changing item, that won't drop and couldn't be sold. then just give that item to the desired player.....

Dubie 25.03.2005 10:10

Yeah I know about them resetting is why I was looking to the DB.
But the item idea sound like it might work. Thanks

But do you know if we can addin new GM commands to do things like this as well?

Thanks for your time,
Dubie

Dubie 28.03.2005 18:54

I see when you use the gmon command it runs some script that set a couple different setting on the GM that just said it.
Could we not edit that line to set the stats different as well.

If I just wanted to add one item to the server for GM only I only have to edit the itemdata on server and the itemname-e file for the client side?

Thanks for your time,
Dubie

torrentpimp 28.03.2005 19:07

hmmm both those are worth looking into.

Dubie 29.03.2005 03:18

This look right for a GM item?
Just getting into coding this stuff so I am not sure on some of the calls it has listed in here.
Say I could care less about the breath_inc={0;0} can I just leave that out?

Is there another file I would have to edit to get this to work?
I thought it was something like if I had it give a skill or something I would have to add it in one of the skill files maybe for a refernce.

Itemname-e:
Code:

item_name_begin id=5592 name=[Ring of the Gods] description=[A Golden Ring blessed by the Gods] item_name_end
Itemdata:
Code:

item_begin        accessary        5592        [ring_of_the_gods]        item_type=accessary        slot_bit_type={rfinger;lfinger}        armor_type=none        etcitem_type=none        blessed=1        weight=1        default_action=action_equip        consume_type=consume_type_normal        initial_count=1        maximum_count=1        soulshot_count=0        spiritshot_count=0        immediate_effect=1        price=0        default_price=900000000        item_skill=[none]        critical_attack_skill=[none]        material_type=gold        crystal_type=none        crystal_count=0        is_trade=0        is_drop=0        is_destruct=1        physical_damage=0        random_damage=0        weapon_type=none        can_penetrate=0        critical=0        hit_modify=0        avoid_modify=0        dual_fhit_rate=0        shield_defense=0        shield_defense_rate=0        attack_range=0        effective_range=0        damage_range={}        attack_speed=0        reuse_delay=0        mp_consume=0        magical_damage=0        durability=99        damaged=0        physical_defense=99        magical_defense=99        mp_bonus=2000        category={}        enchanted=1        html=[item_default.htm]        magic_weapon=0        p_def_inc={200;0}  m_def_inc={200;0}  hp_inc={1000;0}  mp_inc={1000;0}  move_speed_inc={250;0}  breath_inc={0;0}  magic_resist_inc={200;0}  casting_speed_inc={200;0}  p_attack_inc={200;0}  m_attack_inc={200;0}  hp_regen_inc={1000;0}  mp_regen_inc={1000;0}  str_inc={99;0}  con_inc={99;0}  dex_inc={99;0}  int_inc={99;0}  men_inc={99;0}  wit_inc={99;0}  avoid_inc={200;0}  shield_def_prob_inc={200;0}  weight_limit_inc={0;0}  resist_poison_inc={200;0}  p_def_vs_dagger_inc={200;0}        item_end
Any help would be appreciated tons.
If you see something that would be cool to crank up let me know or addin or knock down a lil.

Going to check on the GM commands now

Thanks for your time,
Dubie

Dubie 30.03.2005 08:47

Well I could not get that to work.
Not sure why.
Maybe we can not add new items/
Might have to use an item that is in there already then tweak it out.

If we can add new item could someone look at this and tell me what I did wrong please.

Thanks for your time,
Dubie

Dubie 31.03.2005 02:35

No I did not and thanks for the info on adding new things.
I will add it to that and see what I get.

But the statment looked ok on adding the stats in that type of item?

Thanks for your time,
Dubie

Dubie 31.03.2005 19:42

Well it does not seem to be working for me.
I put the item in:
itemdata | Server
item_ph | Server
itemname-e | Client
ectitemgrp | Client
But it was giving errors when loading client, working on that not sure why it looks all good.

I tried to spawn one lastnight with out it in the etcitemgrp and got:
All slots full and you are overweight and I only has like 2 things on me and no rings or any other items on me. lmao

So either the statement is wrong maybe for this type of item.
Maybe you can not use those setting I am trying to change on that type.
I took them for a armor piece was tried to add them to just a ring.

Any help would be great.

Thanks for your time,
Dubie


All times are GMT. The time now is 15:13.