-
Posts
340 -
Joined
-
Last visited
-
Days Won
10 -
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Posts posted by ѕeмa™
-
-
Thanks i have this error too.
-
I have errors when i try install php extensions:
Someone know why i have this errors?
-
when u execute the script:
def RefreshMyDialog(self): self.wndMyDialog.__OnRefresh() def __MakeMessengerWindow(self): ... self.wndMyDialog = uiMyDialog.MyDialog()
u first load the
def __MakeMessengerWindow(self):
and then
def RefreshMyDialog(self):
?
-
ur fail is here:
def onrefresh 1 tab more ? u need delete 1 tab.
Regards.
-
i want buy pet attack too.
-
CQuestManager& q = CQuestManager::instance(); LPCHARACTER npc = q.GetCurrentNPCCharacterPtr(); lua_pushnumber(L, npc->GetLevel()); return 1;
thanks denis, i go to try it
-
Hi, someone know or can create the function npc.get_level()???
for example
when 101.kill begin --- dog lv 1
if pc.get_level() +10 <= npc.get_level() and pc.get_level() -10 >= npc.get_level() then
syschat(" fuck yeah ")
end
end
Thanks.
-
I hope that you work with the launcher in the debug mode, because you'll have another log file with more info about the errors and even in the console you'll see an error right before it will close.
Also, on the server part, it's quite strange that you assign a c style string with `=`. You should use strcpy/strdup or something.
i dont know c++, so then i dont know use srtcpy or strdup :/ i try search on google but my c++ level is shit .
Thanks for try help me, and i will compile it in debug mode to try see more errors.
*EDIT: in debug mode when i recive the packet, the client close too and log.txt dont say nothing about the packet.
-
That (i) from Py_BuildValue stands for integer
Check this site https://docs.python.org/2.1/ext/buildValue.htmlfor available formats.
yep, i change it for (s) yesterday, but the client close when i recive the data and dont show me any errors.
-
-
cmdchat("getinputbegin") local ret = input(cmdchat(par)) cmdchat("getinputend")
here the error
-
-
Hi, someone know why when i send a string from game ( with packets ) in the binary i recive a numbers???
const char* M2int; <-- in binary and game
What happend??
In sys_err i can see the right string but in client i see numbers :/
Thanks.
-
0216 16:38:22706 :: Traceback (most recent call last): 0216 16:38:22706 :: File "uiTarget.py", line 464, in OnUpdate 0216 16:38:22706 :: NameError 0216 16:38:22706 :: : 0216 16:38:22706 :: global name 'event' is not defined 0216 16:38:22706 ::
def OnUpdate(self): if player.IsPVPInstance(self.vid): constInfo.VID = self.vid event.QuestButtonClick(constInfo.STHX) if not self.healthBoard.IsShow() and self.vid != 0: self.healthBoard.Show() else: self.healthBoard.Hide() if self.isShowButton: exchangeButton = self.buttonDict[localeInfo.TARGET_BUTTON_EXCHANGE] distance = player.GetCharacterDistance(self.vid) if distance < 0: return if exchangeButton.IsShow(): if distance > self.EXCHANGE_LIMIT_RANGE: self.RefreshButton() else: if distance < self.EXCHANGE_LIMIT_RANGE: self.RefreshButton()
Can you help me pls?
import event
- 1
-
Some one know how send here other table from player.player?
void CHARACTER::SendTitleSystem() // test client-game { if (!GetDesc()) { return; } TPacketGCMetin2Dev Metin2DevGC; Metin2DevGC.byHeader = HEADER_GC_METIN2DEV; Metin2DevGC.M2int = GetPlayerID(); // change here to a new table from player.player GetDesc()->Packet(&Metin2DevGC, sizeof(TPacketGCMetin2Dev)); }
for example a new table created , named "test"???
Thanks.
-
or u can use in onupdate:
for i in range(3): #i am using multiple buttonsif self.Button.IsIn(): # mouse over the imagexxxxxxxxelse:#mouse out of image
xxxxxxxx
- 1
-
u need put the function mouseoverin / out in the class imagebox (ui.py)
- 1
-
PyCallClassMemberFunc(m_apoPhaseWnd[PHASE_WINDOW_GAME], "BINARY_M2DEV_Test", Py_BuildValue("(i)", Metin2DevGC.M2int));
How can i put a variable in instancebaseeffect with Metin2DevGC.M2int???
-
1)remove this "-- with pc.get_level() == 1 and pc.getqf("welcome") == 0 begin" and yes i know that "--" is used to comment lines
2)make sure 'a.tga' image actually exists
3)remove line with 'addimage'
try them step by step
Thanks for try help me but, this dont work, so i go to try do an letter and try it with letter.
*EDIT: with letter work fine. SOLVED.
-
and like that?
quest bienvenida begin state start begin when login begin -- with pc.get_level() == 1 and pc.getqf("welcome") == 0 begin addimage(20, 12, "a.tga") say("") say("") say("") say("hello") wait() say("hello again") wait() end end end
same error ,
but i tried this quest:
quest test begin state start begin when 101.kill begin say("Has matado un perro.") say("Ahora viene un wait") wait() say("Enhorabuena has pasado el wait.") end end end
and work fine WTF!!!!!!!
why the wait() doesnt work on login? The question of the million of dolars xd
-
quest bienvenida begin state start begin when login begin -- with pc.get_level() == 1 and pc.getqf("welcome") == 0 begin addimage(20, 12, "a.tga") say("") say("") say("") say("hello") wait() say("hello again") end end end
the problemm no is the return, i try it before go here to ask xD
-
Hi, someone know why when i use "wait()" in one quest on my game doesnt work?
here an example:
quest bienvenida begin state start begin when login begin -- with pc.get_level() == 1 and pc.getqf("welcome") == 0 begin addimage(20, 12, "a.tga") say("") say("") say("") say("hello") return end end end
this work fine
quest bienvenida begin state start begin when login begin -- with pc.get_level() == 1 and pc.getqf("welcome") == 0 begin addimage(20, 12, "a.tga") say("") say("") say("") say("hello") wait() say("hello again") return end end end
Now when i click continue, the windows of quest dissapear and dont appear again, here a screen:
and here a gif:
Here a syslog from game.
Feb 15 12:00:47.29353 :: QUEST Setting flag bienvenida.__status 0 Feb 15 12:00:47.29384 :: _raw_script : [IMAGE x;20|y;12 Feb 15 12:00:47.29403 :: _raw_script : |src; Feb 15 12:00:47.29421 :: _raw_script : intro_quest.tga Feb 15 12:00:47.29439 :: _raw_script : ] Feb 15 12:00:47.29537 :: m_strScript [IMAGE x;20|y;12|src;intro_quest.tga][ENTER][ENTER][ENTER][COLOR r;1|g;0.90196078431373|b;0.72941176470588]Historia.[COLOR r;0.76862745098039|g;0.76862745098039|b;0.76862745098039][ENTER]Siglos atrás, los habitantes de Geomus vivían en paz[ENTER]y prosperidad.[ENTER]En 1975 los ancestros predijeron la llegada de un Dragón que[ENTER]destruiría Geomus y habitaría el cáos y la guerra.[ENTER]Pero nadie escuchó esas sabias palabras.[ENTER][ENTER]En el año 2000, como los ancestros predijeron, hubo un gran[ENTER]terremoto, que dividió geomus en 3 reinos.[ENTER][NEXT] size 572 SYSERR: Feb 15 12:00:47.29562 :: operator(): QUEST NOT END RUNNING on Login/Logout - bienvenida
Here a sysser from my game:
SYSERR: Feb 15 12:35:40.87653 :: operator(): QUEST NOT END RUNNING on Login/Logout - bienvenida SYSERR: Feb 15 12:35:45.447860 :: Resume: wrong QUEST_WAIT request! : 1
Someone know how solve it?
Thanks. -
Solved. Thanks to all.
You should check this:
Read what that guy said and how it will work.
yes i did, thanks
-
Solved. Thanks to all.
Attacking Pets System
in Features & Metin2 Systems
Posted · Edited by Metin2 Dev
Core X - External 2 Internal
tested:
all compiled right, pet dont attack xd ( maybe because pet dont have animations? )