-
Posts
191 -
Joined
-
Last visited
-
Days Won
5 -
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Posts posted by IonutRO
-
-
You can make a converter yourself, it's really simple. You use tabs as delimiters and take line by line.
-
In eterPythonLib/PythonSlotWindow.h search:
CGraphicImageInstance * pInstance;
Add after:
CGraphicImageInstance * pInstanceLevel;
Search for:
void Destroy();
Insert after:
void SetSlotLevelImage(DWORD dwIndex, CGraphicImage * levelImage);
Open eterPythonLib/PythonSlotWindow.cpp and search:
Slot.pFinishCoolTimeEffect = NULL;
Add after:
Slot.pInstanceLevel = NULL;
Search for:
void CSlotWindow::SetSlotCount(DWORD dwIndex, DWORD dwCount)
Insert after:
void CSlotWindow::SetSlotLevelImage(DWORD dwIndex, CGraphicImage * levelImage) { TSlot * pSlot; if (!GetSlotPointer(dwIndex, &pSlot) || !levelImage) return; assert(NULL == pSlot->pInstanceLevel); pSlot->pInstanceLevel = CGraphicImageInstance::New(); pSlot->pInstanceLevel->SetDiffuseColor(1.0, 1.0, 1.0, 1.0); pSlot->pInstanceLevel->SetImagePointer(levelImage); }
Search:
pSlot->dwCenterSlotNumber = 0xffffffff;
Add after:
if (pSlot->pInstanceLevel) { CGraphicImageInstance::Delete(pSlot->pInstanceLevel); pSlot->pInstanceLevel = NULL; }
Search:
if (rSlot.bActive)
Add before:
if (rSlot.pInstanceLevel) { rSlot.pInstanceLevel->SetPosition(m_rect.left + rSlot.ixPosition, (m_rect.top + rSlot.iyPosition + rSlot.byyPlacedItemSize*ITEM_HEIGHT) - 32); rSlot.pInstanceLevel->Render(); }
Open eterPythonLib/PythonWindowManagerModule.cpp and search:
void initwndMgr()
Add before:
PyObject * wndMgrSetSlotImage(PyObject * poSelf, PyObject * poArgs) { UI::CWindow * pWin; if (!PyTuple_GetWindow(poArgs, 0, &pWin)) return Py_BuildException(); int iSlotIndex; if (!PyTuple_GetInteger(poArgs, 1, &iSlotIndex)) return Py_BuildException(); char * szImagePath; if (!PyTuple_GetString(poArgs, 2, &szImagePath)) return Py_BuildException(); if (!pWin->IsType(UI::CSlotWindow::Type())) return Py_BuildException(); UI::CSlotWindow * pSlotWin = (UI::CSlotWindow *)pWin; CGraphicImage * pImage = (CGraphicImage *)CResourceManager::Instance().GetResourcePointer(szImagePath); if (!pImage) return Py_BuildException(); pSlotWin->SetSlotLevelImage(iSlotIndex, pImage); return Py_BuildNone(); }
Search:
{ "ShowOverInWindowName", wndMgrShowOverInWindowName, METH_VARARGS },
Add after:
{ "SetSlotLevelImage", wndMgrSetSlotImage, METH_VARARGS },
Open root/ui.py and search for:
wndMgr.SetSlotCount(self.hWnd, renderingSlotNumber, ItemCount)
Add after:
####Item level text/icon ### itemName=item.GetItemName().strip() itemNameP=item.GetItemName().rfind('+') if itemNameP>0 and len(itemName)>itemNameP+1: level=itemName[itemNameP+1:] if level.isdigit(): wndMgr.SetSlotLevelImage(self.hWnd, renderingSlotNumber, ("icon/level/%d.tga"%int(level))) ####Item level text/icon END ###
The 'level' directory will be in icon/level/ .
Here are the files. There is also a PSD file https://mega.nz/file/VslF2RDa#AVG_5vk3OUd2YhKmCoOmAWZBQkyXBMTv8vPIJB0gQMM
QuoteSource: turkmmo
- 1
- 5
-
12 hours ago, Syrex said:
i can't connect to the server
i have this problem :
and this ip in config.cpp
free image hosting with direct link
but i can't login in server
why ?
Just change that "10." with "89.". I'm not an expert, is just an ideea. Idk what is used for that var g_szInternalIP.
- 1
- 1
-
Simple, and yet a very good idea. Nice work.
- 1
-
2 minutes ago, metho said:
I had planned this update for some time. It's just that I haven't published anything yet, because I still have work on it. People who come to me to encode their design receive the latest files, so some of them have already this.
I didn't realize it was a security issue. I initially made that change some time ago because many email services need to receive the source email, not one that doesn't exist.
- 1
-
1 hour ago, Kori said:
Why XML and not txt? But thanks
Most people have asked for this. I can do and txt :))
- 2
-
Link: https://metin2cms.cf/tools/
It is a tool that converts item_proto and mob_proto between SQL and XML. I understood that before there was a site that did this, but now it doesn't work anymore. I said do something similar.
For those who do not want to use the data in the database, just create another that is not related to the server. It was easier for me to make the converter like this.
- 11
- 1
- 7
- 1
- 7
-
30 minutes ago, BeHappy4Ever said:
Are there any quality cheap hosting that you know from there?
https://www.gazduirejocuri.ro/ in romania, not very powerfull, but most people use it for small servers.
-
Update[10.04.2020]:
- The site has been updated. (4597 items)
-
On 4/5/2020 at 5:45 PM, WeedHex said:
with pc.get_level() >= 1
Wow level can be also <=0 ?
I edited your quest. If you ask such a question, good luck,
- 1
-
quest level begin state start begin when 70090.use with pc.get_level() >= 1 begin pc.set_level(pc.get_level()+1) chat("One level up!") end end end
- 1
-
2 hours ago, Domik309 said:
CREATE TABLE `itemshop_logs` ( `id` int(11) NOT NULL, `account_id` int(11) NOT NULL, `coins` int(11) NOT NULL DEFAULT 0, `who` varchar(24) NOT NULL, `what` int(11) DEFAULT NULL, `count` int(11) NOT NULL DEFAULT 0, `date` datetime DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; ALTER TABLE `itemshop_logs` ADD PRIMARY KEY (`id`); ALTER TABLE `itemshop_logs` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; COMMIT;
-
CREATE TABLE `itemshop_logs` ( `id` int(11) NOT NULL, `account_id` int(11) NOT NULL, `coins` int(11) NOT NULL DEFAULT 0, `who` varchar(24) NOT NULL, `what` int(11) DEFAULT NULL, `count` int(11) NOT NULL DEFAULT 0, `date` datetime NOT NULL DEFAULT current_timestamp() ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; ALTER TABLE `itemshop_logs` ADD PRIMARY KEY (`id`); ALTER TABLE `itemshop_logs` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; COMMIT;
-
Update[03.01.2020]:
- The site has been updated. (4324 items)
- All the official items that are currently present have been added.
- You can now view only one type of object.
- 2
-
This is a very nice design. Thank you!
-
Can someone extract item_names.txt from the all locales?
Thank you!
- 1
-
Hello! Some news? I, too, have thought of something similar in the past.
-
Acum 2 ore, Traceur3RUN a spus:
Hello, how i can set time to item in item_award?
Did you try to set the time on a socket?
-
You can do it. Html DOM. You need to select what do you need from official wiki and the compare the name of the item with the item list.
-
La 05.09.2016 la 18:25, Optimus a spus:
Update[05.01.2019]:
The site has been updated. (2727 items)
All the official items that are currently present have been added.
I have also changed the theme of the site.
Objects can be found in 16 languages.
An Android app has been created that does not require Internet connection. ( https://play.google.com/store/apps/details?id=work.ionut.itemdb )
-
Acum 39 minute, genco15 a spus:
Create items have a problem
i Seeing characters not exist.
You need to select add item by account or by player name.
-
-
There are scripts from darkdev, one friend that creates sites for metin. You updated all scripts to pdo?
Acum 2 ore, Fleon a spus:from this i understood that you know nothing about it, pdo is a php extension/driver and MySQL is a database so this must be some ripoff that i won't even look at.
mysql also it's an extesion, that was removed since php 7, and deprecated since php 5.5.
-
Social Authentication System
in Showcase
Posted