Jump to content

Syreldar

Premium
  • Posts

    1298
  • Joined

  • Last visited

  • Days Won

    38
  • Feedback

    100%

Posts posted by Syreldar

  1. There is a Problem with the ApplyType0 when its be 8 and the ApplyValue0 is - it creates the number like: 4294967281

     

    in my own converter for sql i do this:

                            switch (rApplyValue0) {
                                case "4294967281":
                                    rApplyValue0 = "-15";
                                    break;
                                case "4294967282":
                                    rApplyValue0 = "-14";
                                    break;
                                case "4294967283":
                                    rApplyValue0 = "-13";
                                    break;
                                case "4294967284":
                                    rApplyValue0 = "-12";
                                    break;
                                case "4294967285":
                                    rApplyValue0 = "-11";
                                    break;
                                case "4294967286":
                                    rApplyValue0 = "-10";
                                    break;
                                case "4294967287":
                                    rApplyValue0 = "-9";
                                    break;
                                case "4294967288":
                                    rApplyValue0 = "-8";
                                    break;
                                case "4294967289":
                                    rApplyValue0 = "-7";
                                    break;
                                case "4294967290":
                                    rApplyValue0 = "-6";
                                    break;
                                case "4294967291":
                                    rApplyValue0 = "-5";
                                    break;
                                case "4294967292":
                                    rApplyValue0 = "-4";
                                    break;
                                case "4294967293":
                                    rApplyValue0 = "-3";
                                    break;
                                case "4294967294":
                                    rApplyValue0 = "-2";
                                    break;
                                case "4294967295":
                                    rApplyValue0 = "-1";
                                    break;
                            }

    Maybe someone can fix this

    4294967295 = 2^32 -1 = Max value for a 4bit long-integral number without overflowing.

     

    -4294967296 --> 4294967295

  2.  

    0430a-836273a6-a7ff-4451-a5d3-e50bad752a

     

    7uWaq.jpg

     

    Download:

    https://mega.co.nz/#!zIxk2TLK!tXgYw0hV35DQIa9S7n30wb8h8xB4pb8MVytUcBu_y_g

     

    The archive includes:

     

    *metin2_patch_etc_costume1.epk

    *metin2_patch_etc_costume1.eix

    *metin2_patch_etc.epk

    *metin2_patch_etc.eix

    *metin2_patch_xmas.epk

    *metin2_patch_xmas.eix

     

    The update consists of 4 new hairstyles and a new set of costumes, will update soon with new pet polar (which have not yet been able to find).

     

    Add client Index:

    *
    metin2_patch_etc_costume1
    *
    metin2_patch_etc
    *
    metin2_patch_xmas
    *

    I Don't have query and msm ç_ç

     

     

    Preview Pet:

     

    180px-Porky_Polare.png

     

    180px-Khan_dell%27Artide.png

     

    Pet Download:

     

    https://mega.co.nz/#...D3LJXAeGEpR-xGw

     

    The archive contains the pet polar dds, as in the screen adding more new textures of pet (gold, black, blue, white "polar") + msm

     

    Icon's Download:

     

    This is the hidden content, please

     

    The original release was made by me on another form...Zaudon <<

  3. Maybe this: 

    This is the hidden content, please

    New error <<

    0315 23:52:01210 ::   File "C:Documents and SettingsNabbHackeRKoashi3libxmldomminidom.py", line 49, in ?
     
    0315 23:52:01210 ::     
    0315 23:52:01210 :: class Node(xml.dom.Node):
     
    0315 23:52:01210 :: AttributeError
    0315 23:52:01210 :: : 
    0315 23:52:01210 :: 'module' object has no attribute 'dom'
    0315 23:52:01210 ::

    but i think i can fix this my way, it gaves me a decent output.

     

    Thank u very much for the support.

     

    Edit: i'm not able to resolve the error this time.

     

    It's due to a wrong-coded minidom.py, i need a good one since i can't code this by myself.

  4. EDIT: ahhh here we go.

     

    The error is in localeinfo.py, i've changed it cause the old gave me "traceback" error, now the new doesn't read my locale?.
     
     
    Solution: in localeinfo.py
     
    change this:

    def LoadLocaleFile(srcFileName, localeDict):
     
    funcDict = {"SA":SA, "SNA":SNA}
     
    lineIndex = 1
     
    try:
    lines = open(srcFileName, "r").readlines()

     

    with this:

    def LoadLocaleFile(srcFileName, localeDict):
     
    funcDict = {"SA":SA, "SNA":SNA}
     
    lineIndex = 1
     
    try:
    lines = pack_open(srcFileName, "r").readlines()

     

    New Error:

    0315 22:52:01071 :: Traceback (most recent call last):
     
    0315 22:52:01071 ::   File "uiPhaseCurtain.py", line 61, in OnUpdate
     
    0315 22:52:01071 ::   File "networkModule.py", line 150, in __ChangePhaseWindow
     
    0315 22:52:01072 ::   File "introLogin.py", line 236, in Open
     
    0315 22:52:01072 ::   File "introLogin.py", line 737, in __LoadLoginInfo
     
    0315 22:52:01072 ::   File "system.py", line 137, in __pack_import
     
    0315 22:52:01072 :: ImportError
    0315 22:52:01072 :: : 
    0315 22:52:01072 :: Bad magic number in C:Documents and SettingsNabbHackeRKoashi3libxml__init__.pyc
    0315 22:52:01072 :: 
    
  5. It can't be considered an "exploit" since ymir wanted to write the code like that (shitty as the rest as well).

    Indeed, check for yang, siegel (in some locals) and level is done right in that function.

     

    Would be a better idea to delete completely the part of "answermakeguild" and create a function that returns valid values in LUA ( 3 lines of code; i've done it month ago, and works without problems).

  6. Hey,

     

    After using new metin2.bin (r34669) i get

    0314 03:29:20234 :: CMapBase::LoadProperty(FileName=metin2_map_c1MapProperty.txt) - LoadMultipleTextData ERROR ÆÄÀÏÀÌ ¾øÀ» °¡´É¼ºÀÌ ¸¹½À´Ï´Ù.
    0314 03:29:20234 :: CMapManager::LoadMap() Invalid Map Type
    0314 03:29:20234 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL

     when i use old metin2.bin (the for 2089game) its working

    same Problem with Map_A1 Map_B1

    type ="2" ----> type="1"

     

    end

    • Love 1
  7. Hi all,

     

    Since i am a very curious programer,  the day i was able to programing in C++ , i checked all the differences between C++ and LUA.

     

    Recently in those months, i've checked YMIR's locale, and i saw something quests adding DEFINE functions before the quest start.

     

    DEFINE functions can be used as a global variable, it's very, very useful.

     

    The question is: Why when i recall DEFINE function in a quest it gives me error-output of the quest-compiler?

     

    Script:

    DEFINE NPC 20091
    quest test begin
    state start begin
    when NPC.chat."Test" begin
    say_title(mob_name(NPC))
    say("It should work properly.")
    end
    end
    end

     

    QC error:

    Err: must start with quest

    Sorry for the script indentation, forum doesn't indent my script :/

  8.  

    This command is running a mysql Query aswell. But it doesnt establish a new connection

     

    with not npc.is_pc() is this not a redundant condition since you are also checking the vnum?

     

    The important is that the function, even it's redundant, doesn't establish a connection to the server.

     

    It's legit and very useful since it doesn't create any lag issue.

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