How can I get a item vnum via python?
Help whit a Bug highlight systemBumps :3in Searching
 Reference Serverfile + Client + Src [15 Available Languages]Your db syserr says it can't connect to mysql server on 127.0.0.1, while you say you're able to reach it from outside (from the internet). If you change 127.0.0.1 to your vps's public ip and metin2 & password to root and rootpassword in every config file and db/conf.txt then it would probably work. Should you do it? Just for testing, there's a reason metin2 uses a local user for the db (security). Also a local connection is probably faster I think. I'm not able to debug your FreeBSD's mysql server remotely. If It would be my vps, I would check first if "localhost" works instead of the 127.0.0.1, then check the [email protected] db user what is probably fine, then ask the hosting about are there any preinstalled firewall or port filter.
Upgraded Reference (TMP4 Base) By UltharAfter hours of searching for what was causing the first (quest scroll) problem, I couldn't figure it out, but I found a dirty workaround. Use it at your own risk In root/interfacemodule.py search: def __del__(self): systemSetting.DestroyInterfaceHandler() event.SetInterfaceWindow(None) And change it to: def __del__(self): systemSetting.DestroyInterfaceHandler() #event.SetInterfaceWindow(None) It doesn't solve the problem, just bypasses it!
 Reference Serverfile + Client + Src [15 Available Languages]If everyone use it and work,I think error is somewhere in my freebsd. Maybe I have somethink missing
Looking for shop offline systemHi devs! I'm looking for offline shop system, there is some free release which is know as bug free? or at least cannot be exploited? If you mind to share your knowlege with me thanks
Any decent servers that resemble the old days? 2012-2016?I can’t get on with any of the new servers. I miss the level 150+ servers with multiple different eq to grind for. Now it’s just lvl 120 1-2 sets to grind. Maybe something like the old United with 250 level but without the Pay2Win lolin Metin2
Render Target Remastered[Hidden Content] Hi there. Has anyone ever encountered this error? The model disappears when the camera is moved. ---------------------------------------- For me the error was a high FOG_ LEVEL
3D Shop - Mark ServiceUpdate! New products: http://mark3dservice.pl/in Marketplace
Visible in Granny but invisible in gameBump? Thanks **Questions & Answers → 48 Hours Wops, warn well earned
- No registered users viewing this page.
Does anyone know how to get an item vnum via python? Is there any function? I had a look through source but couldn't find one.
I want to get and display item vnum when I hoover over an item in my inventory.
Link to comment
Share on other sites
Top Posters For This Question
Top Posters For This Question
PACI 4 posts
ScreamMyName 4 posts
May 29 2016
player.GetItemIndex(slotPos) However, the uiToolTip.ItemToolTip.AddItemData() already receives an item vnum, so you must only print it.
Just use the function I said, and should work properly.
Try it like that: self.AppendTextLine("[%d]" % itemVnum)
7 answers to this question
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!Register a new account
Already have an account? Sign in here.Sign In Now