This will not work on a npc, right? I'm trying to check if player's pet has a skill and in which level it is, in game.
well first you said just how to get skill level without referring that it need to be in npc, so here is what you will need to doQuote:
This will not work on a npc, right? I'm trying to check if player's pet has a skill and in which level it is, in game.
I will try again, have tried something like that when I started and couldn't get to work, but I'll give it a chance. Do you have any ideia of how to make a wait function? because I couldn't find a way to wait until the value is returned (by creating a new variable)Quote:
well first you said just how to get skill level without referring that it need to be in npc, so here is what you will need to do
1- use this guide how run queries from lua script (easy to find just by using that search button) [Only registered and activated users can see links. Click Here To Register...]
2-use the sql query given in previous post
3-use some dev(Lua-Sql) skills to adjust your Query & Script :)
sorry can't help you with that because i still haven't figured out how to develop a wait fonction :(Quote:
I will try again, have tried something like that when I started and couldn't get to work, but I'll give it a chance. Do you have any ideia of how to make a wait function? because I couldn't find a way to wait until the value is returned (by creating a new variable)
Buddy ... just save lua file in np++ and convert it to UTF-8 without BOM ...Quote:
I added an empty abuse_list.txt and banword.rdb and tried adding localeinfo.ini too (ascii and normal), nothing changes, NPC names, item names and main menu works well, but NPC text, menu and chat doesn't. thanks