jo3bingham
Excellent OT User
Download
Small NPC Tool v2
Update
- Removed 'Send Messages' until fixed.
- Fixed so trade items will be converted to OT item IDs.
- Included items.xml. (items.xml MUST be in the folder with the exe file, else the program won't convert the items).
- Added a 'Save' option in the 'XML File' area so you can save the converted xml file.
- Included Dixi.xml file.
Information
This uses a proxy to to successfully 'catch' the player/npc conversation, the trade list, and the NPC's stats. In order to use this program correctly you must first log out and close your character list, start the program and allow it through your firewall, once the program loads you can log in and start using it. If you have problems using the program that way, close the program and all Tibia clients, start the program, click Choose to locate your Tibia client, and open it. Once Tibia and the program is loaded log in.
Catch Conversation - Any messages sent and received in the NPC window will be recorded in the above text box.
Catch Trade List - When the trade window is opened the items will be recorded in the above text box.
Catch NPC Stats - When the NPC sends you a message it's LookType, Head, Body, Legs, Feet, and Addons will be recorded.
Make Shop NPC - This will add the items from the trade list to the generated text for the XML File.
When finished with the current NPC click the 'Convert' button and all the info will be converted and displayed, ready to be saved as an npc.xml file.
Coming Soon/Requests/Bugs
Please report any bugs to ensure this program gets made to its full potential, thanks.
Coming Soon
- Auto Send Messages
- Load XML File
- Travel Fares (This will catch travel destinations (Thais, Carlin, Edron, etc.) and their prices from NPC messages.)
- Make Boat NPC
- Detection of NPC sending multiple messages.
- N/A
- N/A
Sample
Here's a sample NPC (Dixi in Rookgaard).
Code:
<?xml version="1.0" encoding="UTF-8"?>
<npc name="Dixi" script="data/npc/scripts/sample.lua" walkinterval="1000" floorchange="0">
<health now="100" max="100"/>
<look type="136" head="96" body="99" legs="76" feet="115" addons="0"/>
<parameters>
<parameter key="module_keywords" value="1" />
<parameter key="keywords" value="hi;name;job;obi;trade;weapons;bye;" />
<parameter key="keyword_reply1" value="Good day, Sir. How may I help you, |PLAYERNAME|? If you like to see my offers, simply ask me for a {trade}!" />
<parameter key="keyword_reply2" value="I'm Dixi." />
<parameter key="keyword_reply3" value="I'm helping my grandfather {Obi} with this shop. If you like to see my offers, simply ask me for a {trade}!" />
<parameter key="keyword_reply4" value="Obi is my beloved grandfather. He sells {weapons}, most of them forged by himself!" />
<parameter key="keyword_reply5" value="Here, take a look and choose something nice for you!" />
<parameter key="keyword_reply6" value="Oh, I'm sorry, but my grandfather {Obi} doesn't like seeing me waving around with pointy things. He sells weapons himself, just go downstairs!" />
<parameter key="keyword_reply7" value="Good bye, Sir." />
<parameter key="module_shop" value="1"/>
<parameter key="shop_sellable" value="chain helmet,2458,52;coat,2651,8;doublet,2485,16;jacket,2650,10;leather armor,2467,25;leather helmet,2461,12;leather legs,2649,10;studded helmet,2482,63;studded shield,2526,50;wooden shield,2512,15;" />
<parameter key="shop_buyable" value="brass armor,2465,150;brass helmet,2460,22;brass shield,2511,25;chain armor,2464,40;chain helmet,2458,12;copper shield,2530,50;doublet,2485,3;leather armor,2467,5;leather boots,2643,2;leather helmet,2461,3;leather legs,2649,2;legion helmet,2480,22;plate shield,2510,40;studded armor,2484,10;studded helmet,2482,20;studded legs,2468,15;studded shield,2526,16;viking helmet,2473,25;wooden shield,2512,3;" />
</parameters>
</npc>
Jo3
Attachments
-
SmallNPCToolv2.rar128.7 KB · Views: 986 · VirusTotal
Last edited by a moderator: