Jump to content

ѕeмa™

Member
  • Posts

    340
  • Joined

  • Last visited

  • Days Won

    10
  • Feedback

    0%

Posts posted by ѕeмa™

  1. 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.

  2. 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

    • Love 1
  3. 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.

  4.  

    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

  5. 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:

     

    71b6278298528d313b2dbdfa5126314e.jpg

     

    and here a gif:

     

    9f9b5612b90f19dcbdf3a2b328f3e18b.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.

×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.