Adrian1428
-
Posts
221 -
Joined
-
Last visited
-
Days Won
1 -
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Posts posted by Adrian1428
-
-
fatal error RC1015: cannot open include file 'resource.h'.
check resource.h if is in include folder
-
uiinventory.py , search lines for belt inventory and delete
-
I can not change the inventory is full article , i using 4 inv,
ex : stun tam mekale
Can you be more specific?
- 1
-
I tested and everything works fine. Thanks.
-
-
i tried this with 25
i wrote this in the server side
m_pGrid = M2_NEW CGrid(5,5);
EXCHANGE_ITEM_MAX_NUM = 25
i wrote this in client side
EXCHANGE_ITEM_MAX_NUM = 25
and changed the script in uiscript
but i can use only 12 slot ??
increase height , widht in uiscript
-
This solve all problems.
ou
char.cpp
In function CHARACTER::ComputePoints()
Search:
if (iMaxHP != GetMaxHP()) { SetRealPoint(POINT_MAX_HP, iMaxHP); // 기본HP를 RealPoint에 저장해 놓는다. } PointChange(POINT_MAX_HP, 0); if (iMaxSP != GetMaxSP()) { SetRealPoint(POINT_MAX_SP, iMaxSP); // 기본SP를 RealPoint에 저장해 놓는다. } PointChange(POINT_MAX_SP, 0); if (GetHP() > GetMaxHP()) PointChange(POINT_HP, GetMaxHP() - GetHP()); if (GetSP() > GetMaxSP()) PointChange(POINT_SP, GetMaxSP() - GetSP());
Copy this and remove.
After replace before UpdatePacket();
I try this a long tine ago and I have big problems with player hp after mount/unmount , hp has increased to all players.edit: I try only with
if (GetHP() > GetMaxHP()) PointChange(POINT_HP, GetMaxHP() - GetHP()); if (GetSP() > GetMaxSP()) PointChange(POINT_SP, GetMaxSP() - GetSP());
-
You have to make a new entry in the source like deposit open or item-shop I think.
-
visual studio 2008 not support this windows , use xp
Use XP? Are you really recommending using Windows XP? Please say no
Btw why just not use google? Here you go: http://stackoverflow.com/questions/4886383/remote-debugging-in-visual-studio
A virtual machine with windows xp , maybe? I try to install vs2008 on my windows 7 ultimate and don't work and I make a vdi with xp and everything works ok.
-
visual studio 2008 not support this windows , use xp
-
#Fixed x'D
Where was the mistake?
buttons
-
-
try lua function string.find
if string.find(""..pc.get_name().."", "[MOD]") then send_letter ( "Anunta ca esti online" ) return end
I corrected a little. Maybe works.
-
Make for each character name with rank - more easy.
-
In InstanceBase.cpp add
const char * CInstanceBase::GetLevelString() { char * str = new char[3]; sprintf(str,"%d",m_dwLevel); return str; }
in InstanceBase.h add
const char * GetLevelString();
Next in PythonNetworkStreamPhaseGame.cpp add in "if (pCharacterInstance){}"
CPythonExchange::Instance().SetTargetLevel(pCharacterInstance->GetLevelString());
Open PythonExchange.cpp and add
void CPythonExchange::SetTargetLevel(const char *name) { strncpy(m_victim.level, name, 3); } char * CPythonExchange::GetLevelFromTarget() { return m_victim.level; }
In PythonExchange.h inside "typedef struct trade{}" add
char level[3];
elsewhere in PythonExchange.h add too
void SetTargetLevel(const char *name); char *GetLevelFromTarget();
In PythonExchangeModule.cpp add inside "static PyMethodDef s_methods[] = {}"
{"GetLevelFromTarget", exchangeGetLevelFromTarget, METH_VARARGS},
elsewhere in this file add to
PyObject * exchangeGetLevelFromTarget(PyObject * poTarget, PyObject * poArgs) { return Py_BuildValue("s", CPythonExchange::Instance().GetLevelFromTarget()); }
Finally in python you can use
exchange.GetLevelFromTarget()
Thanks. Many thanks.
-
Martysama could help you I think, he made a new function in his sources if I remember well
He sells the source I don't think he can help me for free.
Can someone give me a hit here.
-
There's a file shared on epvp about level in trade, but it's a little bit bugged.
I need function in c ++ for target level.
Like this but for level:
char * CPythonExchange::GetNameFromTarget() { return m_victim.name; }
I tried this:
DWORD CPythonExchange::GetLevelFromTarget() { return m_victim.level; ( and m_victim.dwLevel ) }
I defined all stuff needed( in PythonExchange.cpp /PythonExchange.h and PythonExchangeModule.cpp) for this new exchange function but not work.
In exchange dialog appear 0 .
-
Even someone explain to me what to do ....
-
Search "INVENTORY_PAGE_SLOT_COUNT" (0 hits in 0 files)
This is not used in game source , so how can it work?
It's not working. Read above.
I understand , last night when I read the topic seemed strange to just add a variable.
I see now he edited the subject, and it may work.
-
Search "INVENTORY_PAGE_SLOT_COUNT" (0 hits in 0 files)
This is not used in game source , so how can it work?
-
-
-
Sometimes there isn't korean strings, just stranges strings, even with notepad++.
You thing that my last bug is caused by # -*- coding: x-*- ?
Thanks
Possibly.
-
Hello, i'ts me (again)
https://metin2.download/picture/0kyi10pLP2Hgq834oYw8T9605629wQSP/.png
Same problem with .pyd or packed .exe, I don't know why there's a "stopped working". Is it because my root are messed up ?
Indeed, I think it's because the charset, when I put any "coding" at the top, here's my error :
__pack_import() got an unexpected keyword argument 'level'
Edit : syserr error with normal root fixed, use this charset instead of utf8 : # -*- coding: ISO-8859-1 -*-
Edit : Once I've built a new launcher, here's my current error : https://metin2.download/picture/ORvH221QSCZ5QEcoPC4cK9wdu3lzzYI3/.png
Have a nice day.
Try to coding python file in notepad++ with korean or ansi, dont put # -*- coding: x-*- in file.
[Wanted]Source of 34k client
in Community Support - Questions & Answers
Posted
no existing...only for 40k