L2Tower Discord Let's keep the community alive with discord. Discussions about plugins and scripts L2Tower Discord

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
items.txt
Author Message
modnar Offline
Expired VIP Member
**

Posts: 20
Joined: Jan 2014
Reputation: 2
Version: 1.4.1.118
Post: #1
items.txt

I've noticed the generated items.txt misses out things such as if a weapon is Acumen / Empower or both. If an item is Blessed or not. It just lists the standard name. Does anybody know of a way to retrieve the full item name? Many thanks.

I know the following works in game:

Code:
ShowToClient('Plugin', tostring(GetItemName(000000)));

But the following doesn't

Code:
local itemManager = GetItemManager();
    local item = itemManager:GetByNameId(000000);

    if item ~= nil then
        ShowToClient('Plugin', tostring(item:GetName()));
    else
        ShowToClient('Plugin', 'failed, sorry :(');
    end

------------
itemManager = userdata
item = nil
(This post was last modified: 03-11-2014 02:54 AM by modnar.)
03-11-2014 02:38 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  delete d grade items dekinfrost 2 2,497 11-10-2015 06:57 AM
Last Post: dekinfrost
  Steel Coins Items Dwarf 7 4,013 03-06-2015 14:45 PM
Last Post: Dwarf



User(s) browsing this thread: 1 Guest(s)