Jump to content

Aioria

Inactive Member
  • Posts

    116
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by Aioria

  1. ? that's interesting, thank you! 
    Anyway it did work for that issue, (thank you again), but now it gives me a new error and don't know where looking for cause it just print me this

    Spoiler

    vDQ1hdi.png

    while in intrologin.py at 176 there is this:

    Spoiler

    aikjj26.png

    and a line 24 there are imports:

    Spoiler

    Joom4ov.png

    I hate these errors, (I) never know where to look.

    and at system.py 136:

    Spoiler

    d6XepuS.png

     

    --- edit 1
    Ok the issue is with the importing file in intrologin.py, but i don't know why, and mostly why syntax error and another error?

    --- edit 2
    I checked and probably there is another issue about python version in uiselectcredentials i think, am i wrong? ?

    --- edit 3
    I think the issue is here:

    	def __OnOK(self):
    		selItem=self.fileListBox.GetSelectedItem()
    		if selItem:
    			if self.selectEvent:
    				self.selectEvent(selItem.GetText())
    			with open('user//preferred','w') as mainpg:
    				mainpg.write("{};{}".format(selItem.GetText(),self.GetPwdFromId(selItem.GetText())) )
    			self.__PopupMessage("Account name {} selected.".format(selItem.GetText()))
    			self.Hide()
    		else:
    			self.__PopupMessage("You did not select any account.")

     but i don't know, i though it was the double slash / / in "with open" but stil gives me syntax error

    ok I'm pretty sure (but i could be wrong) that it's this lines fault:

    			with open('user//preferred','w') as mainpg:
    				mainpg.write("{};{}".format(selItem.GetText(),self.GetPwdFromId(selItem.GetText())))

    but how make them work in python 2.2? ?

    ok probably i'm wrong but i'm trying in this way

    				mainpg = open("user//preferred", "w")
    				mainpg.write("{};{}".format(selItem.GetText(),self.GetPwdFromId(selItem.GetText())))

    but now i have to fight against bad magic number, and can't fine base64 for python 2.2 ?

    --- edit idon'trememberthenumber

    Ok base64 is the only .pyc for python 2.2 i found, missing random.pyc, struct.pyc, hashlib.pyc  and _winreg.pyc 

  2. 1 hour ago, VegaS™ said:

    Did you tried to add imports at begin of file < introLogin.py?

    
    import random, string

     

    Hi Vegas! Yes!

    Spoiler

    YwnXe9c.png

    Spoiler

    vUH4pSV.png

     

    Spoiler

    hG7j1N2.png

    tabs are ok, and i tried even with "".join (thinking it was '' fault) 
    p.s: the line is 1052 (i added an import later)

    and this is the .py

    https://pastebin.com/3xZRuLb8

    could be because i'm using python 2.2? I can't get it work with 2.2?

  3. Solved! Was in uiinventory.py, expanded_money strings
     

                # EXPANDED_MONEY_TASKBAR [Nevisor]
                self.wndMoney.Hide()
                self.wndMoneySlot.Hide()
                self.wndMoneyIcon.Hide()
                self.board = self.GetChild("board")
                self.SetSize(176, 542)
                self.board.SetSize(176, 542)

     

    • Love 1
  4. You have to create another core folder, like the one of your channel 1 (with all links and folder)

    Then just change ports in CONFIG like "13000" in ch1, and "13010" in ch2

    example from my channels CONFIGS:
     

    CHANNEL: 1
    HOSTNAME: core1
    PORT: 13000
    P2P_PORT: 14000
    MAP_ALLOW: 1 3 4 5 6 21 23 24 25 26 41 43 44 45 46
    

    and

    CHANNEL: 2
    HOSTNAME: core1
    PORT: 13010
    P2P_PORT: 14010
    MAP_ALLOW: 1 3 4 5 6 21 23 24 25 26 41 43 44 45 46
    

    ports have to be the same in "root/serverinfo.py" from each channel and remember to add the new channel to your start server .sh file

  5. Well, i've have the same error, so i don't open another topic, all i can say is that with the "original" binary from client i use the game works, but if I switch the same binary to work in python2.7 (and nothing else) i got this error.

    and this is what happens in game

    https://metin2.download/picture/TLJXu6Y5gOmAlRMcXZ53rh7Y09K33ByF/.gif

    any help?

  6. Hi! I started 2-3 days ago to search info and guides on metin2 and its source/fileserver.
    I'm still a noob, but I want to learn, and i started a local server with public files from the web, wonka files.

    Here are my questions:

    1. Which are the most important fixes to do on the game source? and what they fix?

    2. As I said i'm working on wonka public files, but want to use the nevisor's 2k10 client, of course they don't work together but i don't know why, I have no syserr in client or server, the client seems to connect to the server cause it say "server online", but when try to connect it remains on "connecting", what should I looking for?

    Thanks!

    -------------------------------------- Edit ------------------------------

    Question 2 solved, i had lot of edit, but was probably the auth 

  7. I've this error on compiling:
     

    Mxnxzju.png

     

    I have read this:

    "You need extern and folder"

    but where they are? I can take it wherever, or I need the samurai version? 

    ---------------------------------------------

    Ok solved, i downloaded samuraicore 1.2, they have them

  8. Ah sorry, i didn't know it :( I'm newbe with this, btw thanks so much, i'll try it right now

    ------------- Edit --------------

    Je t'aime! It works perfectly, thank you very much!

    Can I ask you how to improve the quest? I've noticed you didn't appreciated this part

     
    
    	                if killing_enemy == 0 or killing_enemy == pc.get_vid() then
                        return
                    end[/CODE]

    and if this don't disturb you, can i ask you to tell me how make this quest print even if the killing player is buffed by group skill? or just if it is in a group.

    Anyway thanks again, no problem if you don't answer to these questions

  9. Hi! I found this quest on epvp from Vegas, and it works, I've just a problem. 

    The syschat is printed twice when get killed and I can't fix it

     

      
    	quest hp_opponent_info begin
        state start begin
            when kill with npc.is_pc() begin
                local opponent
                    if pc.get_sex() == 0 then
                        opponent = "he"
                    else
                        opponent = "she"
                    end
                local remaining_life = pc.get_hp()
                local obtaining_names = pc.get_name()
                local killing_enemy = npc.get_vid()
    	                if killing_enemy == 0 or killing_enemy == pc.get_vid() then
                        return
                    end
    	            local old_opponent = pc.select(killing_enemy)
                    syschat("You were killed by '"..obtaining_names.."', and "..opponent.." remained with "..remaining_life.." hp")
                    pc.select(old_opponent)
            end
        end
    end
    	  

     

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