-
Posts
576 -
Joined
-
Days Won
43 -
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Posts posted by Sanchez
-
-
-
Please upload your system.py to pastebin or to somewhere, because the code messed up here.
-
I don't have original files just modified, sorry.
-
I don't really have idea. It works properly for me with novaline binary.
-
2008 client? Sure it doesn't work...Use the newest files or use this client: http://metin2dev.org/board/topic/136-40250-test-client/
-
2.9 is the newest granny, here is the changelog: http://www.radgametools.com/granny/history.html
- 7
- 1
- 1
- 1
- 4
-
Which line do you use? Try out with this lib: https://mega.co.nz/#!Dct1zS5Q!znpHfK5WC4iBl3Nv-TbWWKVCSzdJIRJ4749g76NVe-Q
-
-
Yesterday night I watched the Ride Along and it was not so boring. It's worth to watch.
-
1. Overwrite the Python 2.2 files with these 2.7 files:
2. Open UserInterface.cpp and change #pragma comment( lib, "python22.lib" ) to #pragma comment( lib, "python27.lib" )
3. Use CTOA in the client: http://metin2dev.org/board/topic/459-problem-with-clientbinary/?p=3526- 7
-
One more important thing, do not forget to add this to the begin of your py:
import player
-
1. Open PythonPlayerModule.cpp and add this to the static PyMethodDef s_methods[]:
{ "GetRK", playerGetRK, METH_VARARGS },
2. Now still in PythonPlayerModule.cpp add this:
PyObject * playerGetRK(PyObject* poSelf, PyObject* poArgs) { return Py_BuildValue("i", 15); }
Add this to your py:
def GetRKValue(self): return player.GetRK()
- 3
-
Sure:
def GetRKValue(self): return constInfo.RKvalue
-
You can pass the value to that py or just use constInfo. Example:
1. Make a new variable in constInfo and name it to RKvalue
2. Paste this to your py:
def OnUpdate(self): if not self.rklable.GetText() == str(constInfo.RKvalue): self.rklable.SetText(constInfo.RKvalue)
Add this function to game.py:def UpdateRK(self, val): constInfo.RKvalue = val
- 1
-
You can easily call a function from binary:
PyCallClassMemberFunc(m_apoPhaseWnd[PHASE_WINDOW_GAME], "UpdateRK", Py_BuildValue("(i)", 15));
UpdateRK - Name of your event
(i) - The Py_BuildValue() Function
15 - Value what you want to push (Sure you can use variables too)
Example with a variable:int pushThis = 15; PyCallClassMemberFunc(m_apoPhaseWnd[PHASE_WINDOW_GAME], "UpdateRK", Py_BuildValue("(i)", pushThis));
- 1
-
Start once your server with txt files and it will load up to the database, then you can dump the sql.
- 1
-
-
-
-
28k game? I think you looking for 28k binary.
-
If you send me your item_proto I convert it for you.
- 1
-
The first item in the google is the source code.
-
I don't think it's worth to activate, because the monitor server source has been not published.
-
You can use the converter from the source.
Question for Python2.7
in Community Support - Questions & Answers
Posted
No, upload your LoginWindow.py.