Jump to content
×
×
  • Create New...
  • 0

Problem negot and Pvp Sistem


Zorke

Question

1. Hello, i have a bug with exchange .. when i clicked first time , the exchange disappear but when i clicked second time the exchange work without any error .. all time until close the client for that player you clicked second time.

How fix it ?

In syserr client i have this:

 
 1222 14:45:00300 :: import marshal # builtin

1222 14:45:00300 :: import imp # builtin

1222 14:45:00534 :: ui.py: inconsistent use of tabs and spaces in indentation

1222 14:45:01112 :: import _weakref # builtin

1222 14:45:04669 :: # trying .\os.pyd

1222 14:45:04669 :: # trying .\os.py

1222 14:45:04669 :: # trying .\os.pyw

1222 14:45:04670 :: # trying .\os.pyc

1222 14:45:04671 :: # trying lib\os.pyd

1222 14:45:04683 :: # trying lib\os.py

1222 14:45:04702 :: # lib\os.pyc has bad magic

1222 14:45:04850 :: import os # from lib\os.py

1222 14:45:04850 :: import nt # builtin

1222 14:45:04881 :: # trying .\ntpath.pyd

1222 14:45:04882 :: # trying .\ntpath.py

1222 14:45:04882 :: # trying .\ntpath.pyw

1222 14:45:04882 :: # trying .\ntpath.pyc

1222 14:45:04883 :: # trying lib\ntpath.pyd

1222 14:45:04883 :: # trying lib\ntpath.py

1222 14:45:04895 :: # lib\ntpath.pyc has bad magic

1222 14:45:04912 :: import ntpath # from lib\ntpath.py

1222 14:45:04913 :: # trying .\stat.pyd

1222 14:45:04914 :: # trying .\stat.py

1222 14:45:04914 :: # trying .\stat.pyw

1222 14:45:04914 :: # trying .\stat.pyc

1222 14:45:04915 :: # trying lib\stat.pyd

1222 14:45:04915 :: # trying lib\stat.py

1222 14:45:04923 :: # lib\stat.pyc has bad magic

1222 14:45:04940 :: import stat # from lib\stat.py

1222 14:45:05062 :: # trying .\UserDict.pyd

1222 14:45:05063 :: # trying .\UserDict.py

1222 14:45:05064 :: # trying .\UserDict.pyw

1222 14:45:05064 :: # trying .\UserDict.pyc

1222 14:45:05065 :: # trying lib\UserDict.pyd

1222 14:45:05065 :: # trying lib\UserDict.py

1222 14:45:05077 :: # lib\UserDict.pyc has bad magic

1222 14:45:05081 :: import UserDict # from lib\UserDict.py

1222 14:45:05082 :: # trying .\copy_reg.pyd

1222 14:45:05083 :: # trying .\copy_reg.py

1222 14:45:05083 :: # trying .\copy_reg.pyw

1222 14:45:05083 :: # trying .\copy_reg.pyc

1222 14:45:05084 :: # trying lib\copy_reg.pyd

1222 14:45:05084 :: # trying lib\copy_reg.py

1222 14:45:05099 :: # lib\copy_reg.pyc has bad magic

1222 14:45:05101 :: import copy_reg # from lib\copy_reg.py

1222 14:45:05102 :: # trying .\types.pyd

1222 14:45:05104 :: # trying .\types.py

1222 14:45:05104 :: # trying .\types.pyw

1222 14:45:05104 :: # trying .\types.pyc

1222 14:45:05105 :: # trying lib\types.pyd

1222 14:45:05105 :: # trying lib\types.py

1222 14:45:05128 :: # lib\types.pyc has bad magic

1222 14:45:05145 :: import types # from lib\types.py

1222 14:45:05147 :: # trying .\__future__.pyd

1222 14:45:05147 :: # trying .\__future__.py

1222 14:45:05148 :: # trying .\__future__.pyw

1222 14:45:05148 :: # trying .\__future__.pyc

1222 14:45:05155 :: # trying lib\__future__.pyd

1222 14:45:05156 :: # trying lib\__future__.py

1222 14:45:05158 :: # lib\__future__.pyc has bad magic

1222 14:45:05161 :: import __future__ # from lib\__future__.py

1222 14:45:05182 :: import errno # builtin

1222 14:45:06304 :: import time # builtin

1222 14:46:47022 :: CPythonSkill::RegisterSkillDesc(dwSkillIndex=137) - Strange Skill Need Weapon(CLAW)
1222 14:46:47022 :: CPythonSkill::RegisterSkillDesc(dwSkillIndex=139) - Strange Skill Need Weapon(CLAW)
1222 14:46:47023 :: CPythonSkill::RegisterSkillDesc(dwSkillIndex=170, strType=wolfman).STRANGE_SKILL_TYPE
1222 14:46:47023 :: CPythonSkill::RegisterSkillDesc(dwSkillIndex=171, strType=wolfman).STRANGE_SKILL_TYPE
1222 14:46:47023 :: CPythonSkill::RegisterSkillDesc(dwSkillIndex=172, strType=wolfman).STRANGE_SKILL_TYPE
1222 14:46:47023 :: CPythonSkill::RegisterSkillDesc(dwSkillIndex=173, strType=wolfman).STRANGE_SKILL_TYPE
1222 14:46:47023 :: CPythonSkill::RegisterSkillDesc(dwSkillIndex=174, strType=wolfman).STRANGE_SKILL_TYPE
1222 14:46:47023 :: CPythonSkill::RegisterSkillDesc(dwSkillIndex=175, strType=wolfman).STRANGE_SKILL_TYPE
1222 14:46:47061 :: import math # builtin

1222 14:46:47303 :: uiTaskBar.py: inconsistent use of tabs and spaces in indentation

1222 14:46:47391 :: uiDragonSoul.py: inconsistent use of tabs and spaces in indentation

1222 14:46:47525 :: uiSystem.py: inconsistent use of tabs and spaces in indentation

1222 14:46:47693 :: uiQuest.py: inconsistent use of tabs and spaces in indentation

1222 14:47:50311 :: game.py: inconsistent use of tabs and spaces in indentation

1222 14:47:50409 :: # trying .\string.pyd

1222 14:47:50409 :: # trying .\string.py

1222 14:47:50409 :: # trying .\string.pyw

1222 14:47:50410 :: # trying .\string.pyc

1222 14:47:50410 :: # trying lib\string.pyd

1222 14:47:50411 :: # trying lib\string.py

1222 14:47:50428 :: # lib\string.pyc has bad magic

1222 14:47:50434 :: import string # from lib\string.py

1222 14:47:50435 :: import strop # builtin

1222 14:47:04129 :: antiexp_index 13
1222 14:47:04130 :: depozit_index 14
1222 14:47:04131 :: teleporter_index 15
1222 14:47:04131 :: BORRAR QID|21
1222 14:47:04142 :: zetsugfsys 31
1222 14:47:04143 :: super_quest 33
1222 14:47:04143 :: demirvidgame 34
1222 14:47:04143 :: demirvid 35
1222 14:47:15820 :: xmas_snow 1
1222 14:47:24850 :: GRANNY: r:/granny/rt/granny_file.cpp(331): File is not a Granny file
1222 14:47:27771 :: CRaceManager::RegisterRacePath : RACE[9020] LOAD MSMFILE[d:/ymir work/npc/jlantern_mark/jlantern_mark.msm] ERROR. Will Find Another Path.
1222 14:47:34308 :: antiexp_index 13
1222 14:47:34308 :: depozit_index 14
1222 14:47:34309 :: teleporter_index 15
1222 14:47:34309 :: BORRAR QID|21
1222 14:47:34321 :: zetsugfsys 31
1222 14:47:34321 :: super_quest 33
1222 14:47:34323 :: demirvidgame 34
1222 14:47:34323 :: demirvid 35
1222 14:47:34329 :: Mds 0
1222 14:48:43624 :: Mds 0
1222 14:48:53531 :: Mds 0
1222 14:48:03464 :: Mds 0
1222 14:48:04785 :: quit
1222 14:48:06135 :: # clear __builtin__._

1222 14:48:06136 :: # clear sys.path

1222 14:48:06136 :: # clear sys.argv

1222 14:48:06136 :: # clear sys.ps1

1222 14:48:06136 :: # clear sys.ps2

1222 14:48:06136 :: # clear sys.exitfunc

1222 14:48:06136 :: # clear sys.exc_type

1222 14:48:06136 :: # clear sys.exc_value

1222 14:48:06136 :: # clear sys.exc_traceback

1222 14:48:06136 :: # clear sys.last_type

1222 14:48:06136 :: # clear sys.last_value

1222 14:48:06136 :: # clear sys.last_traceback

1222 14:48:06136 :: # clear sys.path_hooks

1222 14:48:06137 :: # clear sys.path_importer_cache

1222 14:48:06137 :: # clear sys.meta_path

1222 14:48:06137 :: # clear sys.flags

1222 14:48:06137 :: # clear sys.float_info

1222 14:48:06137 :: # restore sys.stdin

1222 14:48:06137 :: # restore sys.stdout

1222 14:48:06137 :: # restore sys.stderr

This a video about this bug:

 

PvP system i fix.

 
Link to comment
  • Answers 12
  • Created
  • Last Reply

Top Posters For This Question

12 answers to this question

Recommended Posts

  • 0
5 hours ago, kimameixede said:

its easy.

just check the line error on demirvidgame.lua

 

 

i fix it.. i add in questlib.lua this

 

function setvarchar(name, var)
    local laenge = string.len (var)
    local setchar = 0
    local save_name = 0
    local letter = 0
    while laenge > setchar do
        setchar = setchar + 1
        letter = string.sub (var, setchar, setchar)
        letter = string.byte(letter, 1)
        save_name = ""..name.."_char_"..setchar..""
        pc.setqf(save_name, letter)
    end
    local save_laenge=""..name.."laenge"
    pc.setqf(save_laenge, laenge)
end


function getvarchar(name)
    local save_laenge = ""..name.."laenge"
    local laenge = pc.getqf(save_laenge)
    local save_name = 0
    local var = ""
    local letter = 0
    local getchar = 0
    while laenge > getchar do
        getchar = getchar + 1
        save_name = ""..name.."_char_"..getchar..""
        letter = pc.getqf(save_name)
        if letter!=0 then
            letter = string.char(letter)
        else
            letter = ""
        end
        var = ""..var..""..letter..""
    end
    return var
end

 

 

 

But, change how i fix it ?

 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Announcements

  • -15% Discount in Metin2 Dev Store (01/10/2021 => 31/12/2021) => Code => 15_PCT_OCT_TO_DEC_2021


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.