PDA

View Full Version : Adding plinites to gameobj-data



Methais
04-20-2016, 03:35 PM
I'm trying to add plinites to this so that ;sloot will stop ignoring them when they drop. This worked fine on my work PC, but I just did it on my home PC and it's still ignoring them.

I'm pretty sure I added |plinite| to the game name list, but I added it to both that and the noun list and ;sloot is still ignoring them.


<type name="gem">
<name>^(?:milky quartz eye|plinite|piece of petrified haon|piece of rosespar|polished shark tooth|fiery ruby talon|obsidian eye|murky shadowglass orb|petrified tiger tooth|chalky yellow cube|deep blue sapphire talon|sparkling emerald talon|iron fang|silver fang|steel fang|copper fang|bronze fang|mithril fang|platinum fang|gold fang|glaesine crystal|rock crystal|quartz crystal|petrified mammoth tusk|piece of petrified maoral|shimmertine shard|shard of dragonmist crystal|golden firemote orb|petrified aivren egg|piece of petrified modwir|pinch of platinum dust|glistening onyx talon|shard of tigerfang crystal)$|gold dust$|glaes dust$</name>
<noun>^(?:mithril|faenor|rhimar|ora|vultite)\-bloom$|^(?:thunderstone|plinite|doomstone|soulston e|riftshard|geode|rosepar|firestone|bloodjewel|pea rl|corestone|shell|sard|sphene|jasper|marble|eosto ne|maoral|agate|amber|amethyst|blazestar|carbuncle |chalcedony|coral|despanal|diamond|emerald|feyston e|garnet|gem|mica|thanot|glimaerstone|heliodor|hya cinth|jacinth|moonstone|onyx|quartz|ruby|sapphire| spinel|topaz|tourmaline|turquoise|zircon|peridot|s tarstone|dreamstone|deathstone|sunstone|sandsilver |bluerock|diopside|ivory|nugget|jade|bloodstone|co rdierite|scarab|sardonyx|opal|stone|lapis|obsidian |beryl|mother\-of\-pearl|azurite|spherine|wyrdshard|riftstone|aethers tone|pyrite)$</noun>
<exclude>^smooth stone$|^some powdered |^scaly burgee shell$|^faceted crystal crab shell$</exclude>
</type>

Is this the completely wrong spot or what am I doing wrong? I barely know what I'm doing here as it is. :(

SashaFierce
04-20-2016, 03:39 PM
I would add it to the noun part, instead of the name part.

Make sure you log out and log back in afterwards.

Methais
04-20-2016, 03:47 PM
I would add it to the noun part, instead of the name part.

Make sure you log out and log back in afterwards.

I tried adding it to just name, just noun, and both, but it's still ignoring them.

Saved, relogged, edited it while logged out, etc. Nothing seems to be fixing it and I have no idea why.

Hazado
04-20-2016, 03:50 PM
or ;e GameObj.load_data

Methais
04-20-2016, 03:57 PM
Nope, still not working.

This is the only spot I have plinite listed right now:

<type name="gem">
<name>^(?:milky quartz eye|piece of petrified haon|piece of rosespar|polished shark tooth|fiery ruby talon|obsidian eye|murky shadowglass orb|petrified tiger tooth|chalky yellow cube|deep blue sapphire talon|sparkling emerald talon|iron fang|silver fang|steel fang|copper fang|bronze fang|mithril fang|platinum fang|gold fang|glaesine crystal|rock crystal|quartz crystal|petrified mammoth tusk|piece of petrified maoral|shimmertine shard|shard of dragonmist crystal|golden firemote orb|petrified aivren egg|piece of petrified modwir|pinch of platinum dust|glistening onyx talon|shard of tigerfang crystal)$|gold dust$|glaes dust$</name>
<noun>^(?:mithril|faenor|rhimar|ora|vultite)\-bloom$|^(?:thunderstone|plinite|doomstone|soulston e|riftshard|geode|rosepar|firestone|bloodjewel|pea rl|corestone|shell|sard|sphene|jasper|marble|eosto ne|maoral|agate|amber|amethyst|blazestar|carbuncle |chalcedony|coral|despanal|diamond|emerald|feyston e|garnet|gem|mica|thanot|glimaerstone|heliodor|hya cinth|jacinth|moonstone|onyx|quartz|ruby|sapphire| spinel|topaz|tourmaline|turquoise|zircon|peridot|s tarstone|dreamstone|deathstone|sunstone|sandsilver |bluerock|diopside|ivory|nugget|jade|bloodstone|co rdierite|scarab|sardonyx|opal|stone|lapis|obsidian |beryl|mother\-of\-pearl|azurite|spherine|wyrdshard|riftstone|aethers tone|pyrite)$</noun>
<exclude>^smooth stone$|^some powdered |^scaly burgee shell$|^faceted crystal crab shell$</exclude>
</type>



I don't remember which version my work PC is running, but it's not the latest version of lich. My home PC is updated though, if that helps any.

Tgo01
04-20-2016, 04:15 PM
Try this script to see if you added plinites to the GameObj correctly or if the problem is deeper in ;sloot:



GameObj.loot.each{ |i|
if i.type =~ /gem/
fput "get #{i}"
end
}


Drop a plinite on the ground and run the above script. If it picks up the plinite then the problem is probably within ;sloot somewhere or for some reason it doesn't use item types to decide which items to pick up.

I never really looked into the ;sloot coding.

Methais
04-20-2016, 04:19 PM
Try this script to see if you added plinites to the GameObj correctly or if the problem is deeper in ;sloot:



GameObj.loot.each{ |i|
if i.type =~ /gem/
fput "get #{i}"
end
}


Drop a plinite on the ground and run the above script. If it picks up the plinite then the problem is probably within ;sloot somewhere or for some reason it doesn't use item types to decide which items to pick up.

I never really looked into the ;sloot coding.

You drop a shard of red plinite.
>;test
--- Lich: test active.
--- Lich: test has exited.

Gelston
04-20-2016, 04:23 PM
Jesus hates you.

Methais
04-20-2016, 04:39 PM
Jesus hates you.

BUT WHYYYYYYYYYYYY????????????

Methais
04-20-2016, 05:05 PM
Also in other news, it seems like the loresong updates fucked over some purify scripts, it gets hung up after this, tried with ;purify2 and ;gibs_purify:


You sing:

"White starstone with power and luster
What ability can you muster?"

You feel as though you have reached the end of the starstone's song.


Halp?

Hazado
04-20-2016, 05:08 PM
Make sure you modify the GameObj-data.xml inside lich/data/
Not inside your scripts folder

Methais
04-20-2016, 05:16 PM
So I just had someone from work send me the gameobj file from that PC, and it's still not working, but it works fine on my work PC.

I think my work PC is running lich 4.4 and my home PC is running 4.6.31.

I also noticed I'm getting this when I log in:

--- Lich: could not find script 'updater' in directory F:/Simu/lich/scripts

Except I have no idea where to actually find updater. It's not on the repository or anything.

Cereal Killer
04-20-2016, 06:10 PM
I added the following to the end of my "valuable" list. Should probably work for gem too if that floats your boat.

shard of (?:purple|grey|green|brown|blackened|orange|red) plinite

Methais
04-20-2016, 07:10 PM
I added the following to the end of my "valuable" list. Should probably work for gem too if that floats your boat.

shard of (?:purple|grey|green|brown|blackened|orange|red) plinite

Still no luck. I don't get it.

Tgo01
04-20-2016, 07:23 PM
Like Hazado suggested, you are editing the GameObj file located inside of your lich/data folder?

Methais
04-20-2016, 07:49 PM
Like Hazado suggested, you are editing the GameObj file located inside of your lich/data folder?

Uh....no. I'm fucking retarded. I was fucking with the one in my scripts folder. I somehow missed Hazado's post. :(

I apologize to the Jews.

Kithus
04-20-2016, 07:53 PM
When I added plinites I was having the same issue. Do what Hazado suggested.