Jump to content

RafaVK

Inactive Member
  • Posts

    7
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by RafaVK

  1. I need connect execute a quest from phyton. 
     
    I am using:
     
    import event
    event.QuestButtonClick(1)
    

    But I have a problem that is.. I don't have index of the quest I have a name.

    test.quest
    

    the content of the quest is:

    quest test begin
    	state start begin
    		when login begin
    			set_state(open )
    		end
    	end
    	state open begin
    		when button begin
    			chat("I am here!!")
    		end
    	end
    end
    

    when I used the index of the quest (1 because is in first row of locale_list) everything work fine. But... I think all the time index of the quest will not be 1. If for some reason the change of position on the list would not work. I tried to find the index of the quest with the name of it but I could not.

     

    I tried using this:

    import event
    import quest
    event.QuestButtonClick(quest.GetQuestIndex("test.quest"))
    

    but does not work and get this error....

    SYSERR: Jan 25 23:53:02 :: OnInfo: QUEST no quest by (quest 2147483647)
    

    any ideas or help?

  2. >>SOLVED<<

     

    I have a problem with the root password .... not change. I start the mysql-server service (How you see in the picture). I have no idea how to solve this problem.

     

     

    BAu4zJY.png

     

     

    EDIT: The solution to this problem is:

    mysql -u root -p
    nuevapass
    
    GRANT ALL PRIVILEGES ON *.* TO root@'%' IDENTIFIED BY 'nuevapass';
    FLUSH PRIVILEGES;
    

    nuevapass is the password that you assigned to root

    • Love 1
  3. Hello, I go already 2 days with this without finding a solution. I thought that I was solved this way:

    attrSlot = [player.GetItemAttribute(dstSlotPos, i) for i in xrange(len(player.ATTRIBUTE_SLOT_MAX_NUM))]	
    

    But it me did not work and he says to me that it is not possible to do it.

     

     

    Syser.text 

    SrFeTN1.png

     

    lines that mentioned in syser.txt

     

    LTVv8Hg.png

     

     

    Thank you for the help that they could give me in this case.

     

×
×
  • 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.