|
You last visited: Today at 22:37
Advertisement
Help Sysser No module named net
Discussion on Help Sysser No module named net within the Metin2 Private Server forum part of the Metin2 category.
09/09/2018, 01:04
|
#1
|
elite*gold: 0
Join Date: Jun 2012
Posts: 15
Received Thanks: 0
|
Help Sysser No module named net
0908 18:02:03899 :: Traceback (most recent call last):
0908 18:02:03899 :: File "<string>", line 5, in <module>
0908 18:02:03900 :: File "system.py", line 137, in __pack_import
0908 18:02:03901 :: ImportError
0908 18:02:03901 :: :
0908 18:02:03901 :: No module named net
0908 18:02:03901 ::
Hello, I have this problem, can someone help me solve it? Thank you.
|
|
|
09/09/2018, 16:24
|
#2
|
elite*gold: 0
Join Date: Jun 2013
Posts: 197
Received Thanks: 129
|
what did you do?
|
|
|
09/10/2018, 20:54
|
#3
|
elite*gold: 0
Join Date: Jun 2012
Posts: 15
Received Thanks: 0
|
Quote:
Originally Posted by MrAiiRMaaX
what did you do?
|
Nothing, I need help.
|
|
|
09/11/2018, 14:53
|
#4
|
elite*gold: 0
Join Date: Sep 2015
Posts: 685
Received Thanks: 551
|
nothing
import net
|
|
|
09/11/2018, 19:48
|
#5
|
elite*gold: 0
Join Date: Jun 2012
Posts: 15
Received Thanks: 0
|
Quote:
Originally Posted by ThaRielFliege
nothing
import net
|
How do you import?, I have already tried but it does not work.
Look like this is in the python and I get that error.
global BugYang
import ui
import dbg
import chat
import net
import time
BugYangV = 0
class Dialog1(ui.BoardWithTitleBar):
def __init__(self):
ui.BoardWithTitleBar.__init__(self)
self.BuildWindow()
def __del__(self):
ui.BoardWithTitleBar.__del__(self)
def BuildWindow(self):
self.SetSize(162, 100)
self.SetCenterPosition()
self.AddFlag('movable')
self.AddFlag('float')
self.SetTitleName('Bug yang bot')
self.SetCloseEvent(self.Close)
self.comp = Component()
self.btnbugyang = self.comp.Button(self, 'Activar', '', 83, 37, self.btnbugyang_func, 'd:/ymir work/ui/public/middle_button_01.sub', 'd:/ymir work/ui/public/middle_button_02.sub', 'd:/ymir work/ui/public/middle_button_03.sub')
(self.slotbar_editlugar, self.editlugar) = self.comp.EditLine(self, '', 54, 39, 20, 15, 2)
self.txtlugar = self.comp.TextLine(self, 'Lugar:', 18, 39, self.comp.RGB(255, 255, 255))
self.txtcredit = self.comp.TextLine(self, 'Creditos: by Francoiz', 55, 73, self.comp.RGB(255, 255, 255))
def btnbugyang_func(self):
global BugYangV
if BugYangV == 0:
LugarBugYang = self.editlugar.GetText()
if LugarBugYang == '':
chat.AppendChat(chat.CHAT_TYPE_INFO, 'No puede dejar el campo vacio.')
else:
BugYangV = 1
self.btnbugyang.SetText('Desactivar')
chat.AppendChat(chat.CHAT_TYPE_NOTICE, 'Dejar los dos primeros huecos del inventario vacios.')
chat.AppendChat(chat.CHAT_TYPE_NOTICE, 'Dejar los dos primeros huecos del inventario vacios.')
self.BugYangActivado()
else:
BugYangV = 0
self.btnbugyang.SetText('Activar')
self.BugYangDesactivado()
def BugYangActivado(self):
LugarBugYang = self.editlugar.GetText()
net.SendShopBuyPacket(int(LugarBugYang))
net.SendShopBuyPacket(int(LugarBugYang))
net.SendShopSellPacket(0)
net.SendShopSellPacket(1)
self.BugYangSegundos = WaitingDialog()
self.BugYangSegundos.Open(float(1e-0990))
self.BugYangSegundos.SAFE_SetTimeOverEvent(self.Bu gYangActivado)
def BugYangDesactivado(self):
self.BugYangSegundos = WaitingDialog()
self.BugYangSegundos.Open(int(0x47BF19673DF52E37F2 410011D0FFFFFFFFFFFL))
self.BugYangSegundos.SAFE_SetTimeOverEvent(self.Bu gYangDesactivado)
def Close(self):
self.Hide()
class Component:
def Button(self, parent, buttonName, tooltipText, x, y, func, UpVisual, OverVisual, DownVisual):
button = ui.Button()
button.SetParent(parent)
button.SetPosition(x, y)
button.SetUpVisual(UpVisual)
button.SetOverVisual(OverVisual)
button.SetDownVisual(DownVisual)
button.SetText(buttonName)
button.SetToolTipText(tooltipText)
button.Show()
button.SetEvent(func)
return button
def ToggleButton(self, parent, buttonName, tooltipText, x, y, funcUp, funcDown, UpVisual, OverVisual, DownVisual):
button = ui.ToggleButton()
button.SetParent(parent)
button.SetPosition(x, y)
button.SetUpVisual(UpVisual)
button.SetOverVisual(OverVisual)
button.SetDownVisual(DownVisual)
button.SetText(buttonName)
button.SetToolTipText(tooltipText)
button.Show()
button.SetToggleUpEvent(funcUp)
button.SetToggleDownEvent(funcDown)
return button
def EditLine(self, parent, editlineText, x, y, width, heigh, max):
SlotBar = ui.SlotBar()
SlotBar.SetParent(parent)
SlotBar.SetSize(width, heigh)
SlotBar.SetPosition(x, y)
SlotBar.Show()
Value = ui.EditLine()
Value.SetParent(SlotBar)
Value.SetSize(width, heigh)
Value.SetPosition(5, 1)
Value.SetMax(max)
Value.SetText(editlineText)
Value.Show()
return (SlotBar, Value)
def TextLine(self, parent, textlineText, x, y, color):
textline = ui.TextLine()
textline.SetParent(parent)
textline.SetPosition(x, y)
if color != None:
textline.SetFontColor(color[0], color[1], color[2])
textline.SetText(textlineText)
textline.Show()
return textline
def RGB(self, r, g, b):
return (r * 255, g * 255, b * 255)
def SliderBar(self, parent, sliderPos, func, x, y):
Slider = ui.SliderBar()
Slider.SetParent(parent)
Slider.SetPosition(x, y)
Slider.SetSliderPos(sliderPos / 100)
Slider.Show()
Slider.SetEvent(func)
return Slider
def ExpandedImage(self, parent, x, y, img):
image = ui.ExpandedImageBox()
image.SetParent(parent)
image.SetPosition(x, y)
image.LoadImage(img)
image.Show()
return image
def ComboBox(self, parent, text, x, y, width):
combo = ui.ComboBox()
combo.SetParent(parent)
combo.SetPosition(x, y)
combo.SetSize(width, 15)
combo.SetCurrentItem(text)
combo.Show()
return combo
def ThinBoard(self, parent, moveable, x, y, width, heigh, center):
thin = ui.ThinBoard()
if parent != None:
thin.SetParent(parent)
if moveable == TRUE:
thin.AddFlag('movable')
thin.AddFlag('float')
thin.SetSize(width, heigh)
thin.SetPosition(x, y)
if center == TRUE:
thin.SetCenterPosition()
thin.Show()
return thin
class WaitingDialog(ui.ScriptWindow):
def __init__(self):
ui.ScriptWindow.__init__(self)
self.eventTimeOver = lambda *arg: None
self.eventExit = lambda *arg: None
def __del__(self):
ui.ScriptWindow.__del__(self)
def Open(self, waitTime):
curTime = time.clock()
self.endTime = curTime + waitTime
self.Show()
def Close(self):
self.Hide()
def Destroy(self):
self.Hide()
def SAFE_SetTimeOverEvent(self, event):
self.eventTimeOver = ui.__mem_func__(event)
def SAFE_SetExitEvent(self, event):
self.eventExit = ui.__mem_func__(event)
def OnUpdate(self):
lastTime = max(0, self.endTime - time.clock())
if 0 == lastTime:
self.Close()
self.eventTimeOver()
else:
return None
Dialog1().Show()
|
|
|
 |
Similar Threads
|
[Client-Problem]No module named...
08/20/2016 - Metin2 Private Server - 8 Replies
Hallo!
Und zwar habe ich versucht diverse GUIs einzufügen wo ich weiß das sie 100% funktionieren.
Allerdings steht in der client syserr "game.py no module named <module>"
Ich habe oben in der game bereits import XXX gemacht....
habe auch verschiedene namen probiert.
Allen anschein nach muss ich das evtl. auch woanders eintragen , oder kennt ihr die lösung?
|
Client Problem. No module named md5?????
06/02/2014 - Metin2 Private Server - 5 Replies
Hey. Ich bin gerade ein bissel am rumspielen. Habe ein Interface eingebaut und nun beim Starten der Mt2.exe Kommt der Fehler.
no module named md5
http://i.epvpimg.com/J0MAf.jpg
Syserr:
|
[help] sysser , icons error
04/18/2014 - Metin2 Private Server - 0 Replies
hello ,
do somebody know what i did wrong and i get this error?
sysser says that ...
0418 21:58:58652 :: GRANNY: r:/granny/rt/granny_file_info.cpp(145): File has run-time type tag of 0x8000000f, which doesn't match this version of Granny (0x80000010). Automatic conversion will be attempted.
0418 21:58:06290 :: CreateFromMemoryFile: Cannot create texture
0418 21:58:19677 :: icon/item/2hand.tga ÆÄÀÏÀÌ ¾ø½À´Ï´Ù.CItemData::__SetIconImage
0418 21:58:25301 :: icon/item/2hand.tga ÆÄÀÏÀÌ...
|
[Help] Error Sysser
10/19/2013 - Metin2 Private Server - 4 Replies
1017 00:29:30853 :: CEffectManager::RegisterEffect - LoadScript(d:/ymir work/effect/etc/recuperation/autodrugup_red.mse) Error
1017 00:29:30895 :: CInstanceBase::RegisterEffect(eEftType=267, c_szEftAttachBone=, c_szEftName=d:/ymir work/effect/etc/recuperation/autodrugup_red.mse, isCache=1) - Error
1017 00:29:30895 :: CEffectManager::RegisterEffect - LoadScript(d:/ymir work/effect/etc/recuperation/autodrugup_blue.mse) Error
1017 00:29:30895 :: CInstanceBase::RegisterEffect(eEftType=268,...
|
Sysser help
07/05/2013 - Metin2 Private Server - 0 Replies
0705 17:39:03377 :: Unknown Server Command SetTeamOffline Test | SetTeamOffline
0705 17:39:03393 :: Unknown Server Command HideKillGui | HideKillGui
Help me :(What to do please? : (
|
All times are GMT +1. The time now is 22:38.
|
|