Problema client

Totalitatea subiectelor care nu respectă regulamentul impus in sectiunea "Probleme şi Întrebări" vor fi stocate aici.
Deconectat
Avatar utilizator
Emrys7Daniel
Nivel 1
Nivel 1
Mesaje: 104
Membru din: 02 Ian 2018
Mulțumiri acordate: 2
Mulțumiri primite: 0

Problema client

Mesajde Emrys7Daniel » 05 Mai 2018, 20:18

*Problemă:Imi apare o eroare cand deschid client-ul
Tipologie server:-
*Resursă folosită:-
*ServerFiles utilizat:-
*Syserr:-
Poză:Trebuie să fii logat sau înregistrat pentru a vedea acest link.
[b]*Detalii suplimentare: Am implementat shop-ul offline, cel al lui Korayt, dupa ce am terminat partea de client(sursa binary si fisierele din root/uiscript/locale), cand deschid clientul primesc acea eroare din poza. De la ce poate sa fie? Presupun ca e ceva din sursa.

Deconectat
Avatar utilizator
[ST]SSH
Helper
Helper
Mesaje: 1621
Membru din: 12 Apr 2016
Localitate: Iasi
Reputație: ==================
►✔ Helper J4M♛
==================
►✔ Membru club♛
==================
►✔ Mister♛
==================
►✔ Fost Detinator Server♛
==================
►✔ Skype : manucu4
==================
Status: Unknown Boy.
Server Metin2: Fost Eluria2
Regat: Jinno
Mulțumiri acordate: 142
Mulțumiri primite: 68
Contact:

Re: Problema client

Mesajde [ST]SSH » 05 Mai 2018, 20:33

cauta : MOTION_FRENCH_KISS_WITH_WOFLMAN sa vezi unde vine,nu prea vad ca eroarea sa aiba treaba cu offline shop :))
pentru incepatori e imposibil de instalat offline shop,chiar daca dai doar copy paste.
Imagine

Deconectat
Avatar utilizator
Emrys7Daniel
Nivel 1
Nivel 1
Mesaje: 104
Membru din: 02 Ian 2018
Mulțumiri acordate: 2
Mulțumiri primite: 0

Re: Problema client

Mesajde Emrys7Daniel » 05 Mai 2018, 21:04

[ST]SSH scrie:cauta : MOTION_FRENCH_KISS_WITH_WOFLMAN sa vezi unde vine,nu prea vad ca eroarea sa aiba treaba cu offline shop :))
pentru incepatori e imposibil de instalat offline shop,chiar daca dai doar copy paste.



Aici este:
emotion.py| Afiseaza codul
import localeInfo
import player
import chrmgr
import chr

EMOTION_VERSION = 2

if EMOTION_VERSION == 2:
EMOTION_CLAP = 1
EMOTION_CONGRATULATION = 2
EMOTION_FORGIVE = 3
EMOTION_ANGRY = 4
EMOTION_ATTRACTIVE = 5
EMOTION_SAD = 6
EMOTION_SHY = 7
EMOTION_CHEERUP = 8
EMOTION_BANTER = 9
EMOTION_JOY = 10
EMOTION_CHEERS_1 = 11
EMOTION_CHEERS_2 = 12
EMOTION_DANCE_1 = 13
EMOTION_DANCE_2 = 14
EMOTION_DANCE_3 = 15
EMOTION_DANCE_4 = 16
EMOTION_DANCE_5 = 17
EMOTION_DANCE_6 = 18
EMOTION_KISS = 51
EMOTION_FRENCH_KISS = 52
EMOTION_SLAP = 53

EMOTION_DICT = {
EMOTION_CLAP : {"name": localeInfo.EMOTION_CLAP, "command":"/clap"},
EMOTION_DANCE_1 : {"name": localeInfo.EMOTION_DANCE_1, "command":"/dance1"},
EMOTION_DANCE_2 : {"name": localeInfo.EMOTION_DANCE_2, "command":"/dance2"},
EMOTION_DANCE_3 : {"name": localeInfo.EMOTION_DANCE_3, "command":"/dance3"},
EMOTION_DANCE_4 : {"name": localeInfo.EMOTION_DANCE_4, "command":"/dance4"},
EMOTION_DANCE_5 : {"name": localeInfo.EMOTION_DANCE_5, "command":"/dance5"},
EMOTION_DANCE_6 : {"name": localeInfo.EMOTION_DANCE_6, "command":"/dance6"},
EMOTION_CONGRATULATION : {"name": localeInfo.EMOTION_CONGRATULATION, "command":"/congratulation"},
EMOTION_FORGIVE : {"name": localeInfo.EMOTION_FORGIVE, "command":"/forgive"},
EMOTION_ANGRY : {"name": localeInfo.EMOTION_ANGRY, "command":"/angry"},
EMOTION_ATTRACTIVE : {"name": localeInfo.EMOTION_ATTRACTIVE, "command":"/attractive"},
EMOTION_SAD : {"name": localeInfo.EMOTION_SAD, "command":"/sad"},
EMOTION_SHY : {"name": localeInfo.EMOTION_SHY, "command":"/shy"},
EMOTION_CHEERUP : {"name": localeInfo.EMOTION_CHEERUP, "command":"/cheerup"},
EMOTION_BANTER : {"name": localeInfo.EMOTION_BANTER, "command":"/banter"},
EMOTION_JOY : {"name": localeInfo.EMOTION_JOY, "command":"/joy"},
EMOTION_CHEERS_1 : {"name": localeInfo.EMOTION_CHEERS_1, "command":"/cheer1"},
EMOTION_CHEERS_2 : {"name": localeInfo.EMOTION_CHEERS_2, "command":"/cheer2"},
EMOTION_KISS : {"name": localeInfo.EMOTION_CLAP_KISS, "command":"/kiss"},
EMOTION_FRENCH_KISS : {"name": localeInfo.EMOTION_FRENCH_KISS, "command":"/french_kiss"},
EMOTION_SLAP : {"name": localeInfo.EMOTION_SLAP, "command":"/slap"},
}

ICON_DICT = {
EMOTION_CLAP : "d:/ymir work/ui/game/windows/emotion_clap.sub",
EMOTION_CHEERS_1 : "d:/ymir work/ui/game/windows/emotion_cheers_1.sub",
EMOTION_CHEERS_2 : "d:/ymir work/ui/game/windows/emotion_cheers_2.sub",

EMOTION_DANCE_1 : "icon/action/dance1.tga",
EMOTION_DANCE_2 : "icon/action/dance2.tga",

EMOTION_CONGRATULATION : "icon/action/congratulation.tga",
EMOTION_FORGIVE : "icon/action/forgive.tga",
EMOTION_ANGRY : "icon/action/angry.tga",
EMOTION_ATTRACTIVE : "icon/action/attractive.tga",
EMOTION_SAD : "icon/action/sad.tga",
EMOTION_SHY : "icon/action/shy.tga",
EMOTION_CHEERUP : "icon/action/cheerup.tga",
EMOTION_BANTER : "icon/action/banter.tga",
EMOTION_JOY : "icon/action/joy.tga",
EMOTION_DANCE_1 : "icon/action/dance1.tga",
EMOTION_DANCE_2 : "icon/action/dance2.tga",
EMOTION_DANCE_3 : "icon/action/dance3.tga",
EMOTION_DANCE_4 : "icon/action/dance4.tga",
EMOTION_DANCE_5 : "icon/action/dance5.tga",
EMOTION_DANCE_6 : "icon/action/dance6.tga",

EMOTION_KISS : "d:/ymir work/ui/game/windows/emotion_kiss.sub",
EMOTION_FRENCH_KISS : "d:/ymir work/ui/game/windows/emotion_french_kiss.sub",
EMOTION_SLAP : "d:/ymir work/ui/game/windows/emotion_slap.sub",
}

ANI_DICT = {
chr.MOTION_CLAP : "clap.msa",
chr.MOTION_CHEERS_1 : "cheers_1.msa",
chr.MOTION_CHEERS_2 : "cheers_2.msa",
chr.MOTION_DANCE_1 : "dance_1.msa",
chr.MOTION_DANCE_2 : "dance_2.msa",
chr.MOTION_DANCE_3 : "dance_3.msa",
chr.MOTION_DANCE_4 : "dance_4.msa",
chr.MOTION_DANCE_5 : "dance_5.msa",
chr.MOTION_DANCE_6 : "dance_6.msa",
chr.MOTION_CONGRATULATION : "congratulation.msa",
chr.MOTION_FORGIVE : "forgive.msa",
chr.MOTION_ANGRY : "angry.msa",
chr.MOTION_ATTRACTIVE : "attractive.msa",
chr.MOTION_SAD : "sad.msa",
chr.MOTION_SHY : "shy.msa",
chr.MOTION_CHEERUP : "cheerup.msa",
chr.MOTION_BANTER : "banter.msa",
chr.MOTION_JOY : "joy.msa",
chr.MOTION_FRENCH_KISS_WITH_WARRIOR : "french_kiss_with_warrior.msa",
chr.MOTION_FRENCH_KISS_WITH_ASSASSIN : "french_kiss_with_assassin.msa",
chr.MOTION_FRENCH_KISS_WITH_SURA : "french_kiss_with_sura.msa",
chr.MOTION_FRENCH_KISS_WITH_SHAMAN : "french_kiss_with_shaman.msa",
chr.MOTION_KISS_WITH_WARRIOR : "kiss_with_warrior.msa",
chr.MOTION_KISS_WITH_ASSASSIN : "kiss_with_assassin.msa",
chr.MOTION_KISS_WITH_SURA : "kiss_with_sura.msa",
chr.MOTION_KISS_WITH_SHAMAN : "kiss_with_shaman.msa",
chr.MOTION_KISS_WITH_WOLFMAN : "kiss_with_wolfman.msa",
chr.MOTION_SLAP_HIT_WITH_WARRIOR : "slap_hit.msa",
chr.MOTION_SLAP_HIT_WITH_ASSASSIN : "slap_hit.msa",
chr.MOTION_SLAP_HIT_WITH_SURA : "slap_hit.msa",
chr.MOTION_SLAP_HIT_WITH_SHAMAN : "slap_hit.msa",
chr.MOTION_SLAP_HIT_WITH_WOLFMAN : "slap_hit.msa",
chr.MOTION_SLAP_HURT_WITH_WARRIOR : "slap_hurt.msa",
chr.MOTION_SLAP_HURT_WITH_ASSASSIN : "slap_hurt.msa",
chr.MOTION_SLAP_HURT_WITH_SURA : "slap_hurt.msa",
chr.MOTION_SLAP_HURT_WITH_SHAMAN : "slap_hurt.msa",
chr.MOTION_SLAP_HURT_WITH_WOLFMAN : "slap_hurt.msa",
}

elif EMOTION_VERSION == 1:
EMOTION_CLAP = 1
EMOTION_CHEERS_1 = 2
EMOTION_CHEERS_2 = 3
EMOTION_DANCE_1 = 4
EMOTION_DANCE_2 = 5
EMOTION_KISS = 51
EMOTION_FRENCH_KISS = 52
EMOTION_SLAP = 53

EMOTION_DICT = {
EMOTION_CLAP : {"name": localeInfo.EMOTION_CLAP, "command":"/clap"},
EMOTION_CHEERS_1 : {"name": localeInfo.EMOTION_CHEERS_1, "command":"/cheer1"},
EMOTION_CHEERS_2 : {"name": localeInfo.EMOTION_CHEERS_2, "command":"/cheer2"},
EMOTION_DANCE_1 : {"name": localeInfo.EMOTION_DANCE_1, "command":"/dance1"},
EMOTION_DANCE_2 : {"name": localeInfo.EMOTION_DANCE_2, "command":"/dance2"},
EMOTION_KISS : {"name": localeInfo.EMOTION_CLAP_KISS, "command":"/kiss"},
EMOTION_FRENCH_KISS : {"name": localeInfo.EMOTION_FRENCH_KISS, "command":"/french_kiss"},
EMOTION_SLAP : {"name": localeInfo.EMOTION_SLAP, "command":"/slap"},
}

ICON_DICT = {
EMOTION_CLAP : "d:/ymir work/ui/game/windows/emotion_clap.sub",
EMOTION_CHEERS_1 : "d:/ymir work/ui/game/windows/emotion_cheers_1.sub",
EMOTION_CHEERS_2 : "d:/ymir work/ui/game/windows/emotion_cheers_2.sub",

EMOTION_DANCE_1 : "icon/action/dance1.tga",
EMOTION_DANCE_2 : "icon/action/dance2.tga",

EMOTION_KISS : "d:/ymir work/ui/game/windows/emotion_kiss.sub",
EMOTION_FRENCH_KISS : "d:/ymir work/ui/game/windows/emotion_french_kiss.sub",
EMOTION_SLAP : "d:/ymir work/ui/game/windows/emotion_slap.sub",
}

ANI_DICT = {
chr.MOTION_CLAP : "clap.msa",
chr.MOTION_CHEERS_1 : "cheers_1.msa",
chr.MOTION_CHEERS_2 : "cheers_2.msa",
chr.MOTION_DANCE_1 : "dance_1.msa",
chr.MOTION_DANCE_2 : "dance_2.msa",
chr.MOTION_FRENCH_KISS_WITH_WARRIOR : "french_kiss_with_warrior.msa",
chr.MOTION_FRENCH_KISS_WITH_ASSASSIN : "french_kiss_with_assassin.msa",
chr.MOTION_FRENCH_KISS_WITH_SURA : "french_kiss_with_sura.msa",
chr.MOTION_FRENCH_KISS_WITH_SHAMAN : "french_kiss_with_shaman.msa",
chr.MOTION_KISS_WITH_WARRIOR : "kiss_with_warrior.msa",
chr.MOTION_KISS_WITH_ASSASSIN : "kiss_with_assassin.msa",
chr.MOTION_KISS_WITH_SURA : "kiss_with_sura.msa",
chr.MOTION_KISS_WITH_SHAMAN : "kiss_with_shaman.msa",
chr.MOTION_KISS_WITH_WOLFMAN : "kiss_with_wolfman.msa",
chr.MOTION_SLAP_HIT_WITH_WARRIOR : "slap_hit.msa",
chr.MOTION_SLAP_HIT_WITH_ASSASSIN : "slap_hit.msa",
chr.MOTION_SLAP_HIT_WITH_SURA : "slap_hit.msa",
chr.MOTION_SLAP_HIT_WITH_SHAMAN : "slap_hit.msa",
chr.MOTION_SLAP_HIT_WITH_WOLFMAN : "slap_hit.msa",
chr.MOTION_SLAP_HURT_WITH_WARRIOR : "slap_hurt.msa",
chr.MOTION_SLAP_HURT_WITH_ASSASSIN : "slap_hurt.msa",
chr.MOTION_SLAP_HURT_WITH_SURA : "slap_hurt.msa",
chr.MOTION_SLAP_HURT_WITH_SHAMAN : "slap_hurt.msa",
chr.MOTION_SLAP_HURT_WITH_WOLFMAN : "slap_hurt.msa",
}
else:
EMOTION_CLAP = 1
EMOTION_CHEERS_1 = 2
EMOTION_CHEERS_2 = 3
EMOTION_KISS = 51
EMOTION_FRENCH_KISS = 52
EMOTION_SLAP = 53

EMOTION_DICT = {
EMOTION_CLAP : {"name": localeInfo.EMOTION_CLAP, "command":"/clap"},
EMOTION_CHEERS_1 : {"name": localeInfo.EMOTION_CHEERS_1, "command":"/cheer1"},
EMOTION_CHEERS_2 : {"name": localeInfo.EMOTION_CHEERS_2, "command":"/cheer2"},
EMOTION_KISS : {"name": localeInfo.EMOTION_CLAP_KISS, "command":"/kiss"},
EMOTION_FRENCH_KISS : {"name": localeInfo.EMOTION_FRENCH_KISS, "command":"/french_kiss"},
EMOTION_SLAP : {"name": localeInfo.EMOTION_SLAP, "command":"/slap"},
}

ICON_DICT = {
EMOTION_CLAP : "d:/ymir work/ui/game/windows/emotion_clap.sub",
EMOTION_CHEERS_1 : "d:/ymir work/ui/game/windows/emotion_cheers_1.sub",
EMOTION_CHEERS_2 : "d:/ymir work/ui/game/windows/emotion_cheers_2.sub",

EMOTION_KISS : "d:/ymir work/ui/game/windows/emotion_kiss.sub",
EMOTION_FRENCH_KISS : "d:/ymir work/ui/game/windows/emotion_french_kiss.sub",
EMOTION_SLAP : "d:/ymir work/ui/game/windows/emotion_slap.sub",
}

ANI_DICT = {
chr.MOTION_CLAP : "clap.msa",
chr.MOTION_CHEERS_1 : "cheers_1.msa",
chr.MOTION_CHEERS_2 : "cheers_2.msa",
chr.MOTION_FRENCH_KISS_WITH_WARRIOR : "french_kiss_with_warrior.msa",
chr.MOTION_FRENCH_KISS_WITH_ASSASSIN : "french_kiss_with_assassin.msa",
chr.MOTION_FRENCH_KISS_WITH_SURA : "french_kiss_with_sura.msa",
chr.MOTION_FRENCH_KISS_WITH_SHAMAN : "french_kiss_with_shaman.msa",
chr.MOTION_KISS_WITH_WARRIOR : "kiss_with_warrior.msa",
chr.MOTION_KISS_WITH_ASSASSIN : "kiss_with_assassin.msa",
chr.MOTION_KISS_WITH_SURA : "kiss_with_sura.msa",
chr.MOTION_KISS_WITH_SHAMAN : "kiss_with_shaman.msa",
chr.MOTION_SLAP_HIT_WITH_WARRIOR : "slap_hit.msa",
chr.MOTION_SLAP_HIT_WITH_ASSASSIN : "slap_hit.msa",
chr.MOTION_SLAP_HIT_WITH_SURA : "slap_hit.msa",
chr.MOTION_SLAP_HIT_WITH_SHAMAN : "slap_hit.msa",
chr.MOTION_SLAP_HURT_WITH_WARRIOR : "slap_hurt.msa",
chr.MOTION_SLAP_HURT_WITH_ASSASSIN : "slap_hurt.msa",
chr.MOTION_SLAP_HURT_WITH_SURA : "slap_hurt.msa",
chr.MOTION_SLAP_HURT_WITH_SHAMAN : "slap_hurt.msa",
}


def __RegisterSharedEmotionAnis(mode, path):
chrmgr.SetPathName(path)
chrmgr.RegisterMotionMode(mode)

for key, val in ANI_DICT.items():
chrmgr.RegisterMotionData(mode, key, val)

def RegisterEmotionAnis(path):
actionPath = path + "action/"
weddingPath = path + "wedding/"

__RegisterSharedEmotionAnis(chr.MOTION_MODE_GENERAL, actionPath)
__RegisterSharedEmotionAnis(chr.MOTION_MODE_WEDDING_DRESS, actionPath)

chrmgr.SetPathName(weddingPath)
chrmgr.RegisterMotionMode(chr.MOTION_MODE_WEDDING_DRESS)
chrmgr.RegisterMotionData(chr.MOTION_MODE_WEDDING_DRESS, chr.MOTION_WAIT, "wait.msa")
chrmgr.RegisterMotionData(chr.MOTION_MODE_WEDDING_DRESS, chr.MOTION_WALK, "walk.msa")
chrmgr.RegisterMotionData(chr.MOTION_MODE_WEDDING_DRESS, chr.MOTION_RUN, "walk.msa")

def RegisterEmotionIcons():
for key, val in ICON_DICT.items():
player.RegisterEmotionIcon(key, val)

Nu vad ce e gresit aici, iar la shop offline nu am gresit cand l-am implementat, sursa binary am compilat-o fara probleme.
Am sters acel MOTION_FRENCH_KISS_WITH_WOLFMAN, dar primesc aceasi eroare. Daca pun binary ce-l vechi nu primesc aceasta eroare.
Ultima oară modificat 05 Mai 2018, 21:10 de către Emrys7Daniel, modificat 1 dată în total.

Deconectat
Avatar utilizator
[ST]SSH
Helper
Helper
Mesaje: 1621
Membru din: 12 Apr 2016
Localitate: Iasi
Reputație: ==================
►✔ Helper J4M♛
==================
►✔ Membru club♛
==================
►✔ Mister♛
==================
►✔ Fost Detinator Server♛
==================
►✔ Skype : manucu4
==================
Status: Unknown Boy.
Server Metin2: Fost Eluria2
Regat: Jinno
Mulțumiri acordate: 142
Mulțumiri primite: 68
Contact:

Re: Problema client

Mesajde [ST]SSH » 05 Mai 2018, 21:10

Emrys7Daniel scrie:
[ST]SSH scrie:cauta : MOTION_FRENCH_KISS_WITH_WOFLMAN sa vezi unde vine,nu prea vad ca eroarea sa aiba treaba cu offline shop :))
pentru incepatori e imposibil de instalat offline shop,chiar daca dai doar copy paste.



Aici este:
emotion.py| Afiseaza codul
import localeInfo
import player
import chrmgr
import chr

EMOTION_VERSION = 2

if EMOTION_VERSION == 2:
EMOTION_CLAP = 1
EMOTION_CONGRATULATION = 2
EMOTION_FORGIVE = 3
EMOTION_ANGRY = 4
EMOTION_ATTRACTIVE = 5
EMOTION_SAD = 6
EMOTION_SHY = 7
EMOTION_CHEERUP = 8
EMOTION_BANTER = 9
EMOTION_JOY = 10
EMOTION_CHEERS_1 = 11
EMOTION_CHEERS_2 = 12
EMOTION_DANCE_1 = 13
EMOTION_DANCE_2 = 14
EMOTION_DANCE_3 = 15
EMOTION_DANCE_4 = 16
EMOTION_DANCE_5 = 17
EMOTION_DANCE_6 = 18
EMOTION_KISS = 51
EMOTION_FRENCH_KISS = 52
EMOTION_SLAP = 53

EMOTION_DICT = {
EMOTION_CLAP : {"name": localeInfo.EMOTION_CLAP, "command":"/clap"},
EMOTION_DANCE_1 : {"name": localeInfo.EMOTION_DANCE_1, "command":"/dance1"},
EMOTION_DANCE_2 : {"name": localeInfo.EMOTION_DANCE_2, "command":"/dance2"},
EMOTION_DANCE_3 : {"name": localeInfo.EMOTION_DANCE_3, "command":"/dance3"},
EMOTION_DANCE_4 : {"name": localeInfo.EMOTION_DANCE_4, "command":"/dance4"},
EMOTION_DANCE_5 : {"name": localeInfo.EMOTION_DANCE_5, "command":"/dance5"},
EMOTION_DANCE_6 : {"name": localeInfo.EMOTION_DANCE_6, "command":"/dance6"},
EMOTION_CONGRATULATION : {"name": localeInfo.EMOTION_CONGRATULATION, "command":"/congratulation"},
EMOTION_FORGIVE : {"name": localeInfo.EMOTION_FORGIVE, "command":"/forgive"},
EMOTION_ANGRY : {"name": localeInfo.EMOTION_ANGRY, "command":"/angry"},
EMOTION_ATTRACTIVE : {"name": localeInfo.EMOTION_ATTRACTIVE, "command":"/attractive"},
EMOTION_SAD : {"name": localeInfo.EMOTION_SAD, "command":"/sad"},
EMOTION_SHY : {"name": localeInfo.EMOTION_SHY, "command":"/shy"},
EMOTION_CHEERUP : {"name": localeInfo.EMOTION_CHEERUP, "command":"/cheerup"},
EMOTION_BANTER : {"name": localeInfo.EMOTION_BANTER, "command":"/banter"},
EMOTION_JOY : {"name": localeInfo.EMOTION_JOY, "command":"/joy"},
EMOTION_CHEERS_1 : {"name": localeInfo.EMOTION_CHEERS_1, "command":"/cheer1"},
EMOTION_CHEERS_2 : {"name": localeInfo.EMOTION_CHEERS_2, "command":"/cheer2"},
EMOTION_KISS : {"name": localeInfo.EMOTION_CLAP_KISS, "command":"/kiss"},
EMOTION_FRENCH_KISS : {"name": localeInfo.EMOTION_FRENCH_KISS, "command":"/french_kiss"},
EMOTION_SLAP : {"name": localeInfo.EMOTION_SLAP, "command":"/slap"},
}

ICON_DICT = {
EMOTION_CLAP : "d:/ymir work/ui/game/windows/emotion_clap.sub",
EMOTION_CHEERS_1 : "d:/ymir work/ui/game/windows/emotion_cheers_1.sub",
EMOTION_CHEERS_2 : "d:/ymir work/ui/game/windows/emotion_cheers_2.sub",

EMOTION_DANCE_1 : "icon/action/dance1.tga",
EMOTION_DANCE_2 : "icon/action/dance2.tga",

EMOTION_CONGRATULATION : "icon/action/congratulation.tga",
EMOTION_FORGIVE : "icon/action/forgive.tga",
EMOTION_ANGRY : "icon/action/angry.tga",
EMOTION_ATTRACTIVE : "icon/action/attractive.tga",
EMOTION_SAD : "icon/action/sad.tga",
EMOTION_SHY : "icon/action/shy.tga",
EMOTION_CHEERUP : "icon/action/cheerup.tga",
EMOTION_BANTER : "icon/action/banter.tga",
EMOTION_JOY : "icon/action/joy.tga",
EMOTION_DANCE_1 : "icon/action/dance1.tga",
EMOTION_DANCE_2 : "icon/action/dance2.tga",
EMOTION_DANCE_3 : "icon/action/dance3.tga",
EMOTION_DANCE_4 : "icon/action/dance4.tga",
EMOTION_DANCE_5 : "icon/action/dance5.tga",
EMOTION_DANCE_6 : "icon/action/dance6.tga",

EMOTION_KISS : "d:/ymir work/ui/game/windows/emotion_kiss.sub",
EMOTION_FRENCH_KISS : "d:/ymir work/ui/game/windows/emotion_french_kiss.sub",
EMOTION_SLAP : "d:/ymir work/ui/game/windows/emotion_slap.sub",
}

ANI_DICT = {
chr.MOTION_CLAP : "clap.msa",
chr.MOTION_CHEERS_1 : "cheers_1.msa",
chr.MOTION_CHEERS_2 : "cheers_2.msa",
chr.MOTION_DANCE_1 : "dance_1.msa",
chr.MOTION_DANCE_2 : "dance_2.msa",
chr.MOTION_DANCE_3 : "dance_3.msa",
chr.MOTION_DANCE_4 : "dance_4.msa",
chr.MOTION_DANCE_5 : "dance_5.msa",
chr.MOTION_DANCE_6 : "dance_6.msa",
chr.MOTION_CONGRATULATION : "congratulation.msa",
chr.MOTION_FORGIVE : "forgive.msa",
chr.MOTION_ANGRY : "angry.msa",
chr.MOTION_ATTRACTIVE : "attractive.msa",
chr.MOTION_SAD : "sad.msa",
chr.MOTION_SHY : "shy.msa",
chr.MOTION_CHEERUP : "cheerup.msa",
chr.MOTION_BANTER : "banter.msa",
chr.MOTION_JOY : "joy.msa",
chr.MOTION_FRENCH_KISS_WITH_WARRIOR : "french_kiss_with_warrior.msa",
chr.MOTION_FRENCH_KISS_WITH_ASSASSIN : "french_kiss_with_assassin.msa",
chr.MOTION_FRENCH_KISS_WITH_SURA : "french_kiss_with_sura.msa",
chr.MOTION_FRENCH_KISS_WITH_SHAMAN : "french_kiss_with_shaman.msa",
chr.MOTION_KISS_WITH_WARRIOR : "kiss_with_warrior.msa",
chr.MOTION_KISS_WITH_ASSASSIN : "kiss_with_assassin.msa",
chr.MOTION_KISS_WITH_SURA : "kiss_with_sura.msa",
chr.MOTION_KISS_WITH_SHAMAN : "kiss_with_shaman.msa",
chr.MOTION_KISS_WITH_WOLFMAN : "kiss_with_wolfman.msa",
chr.MOTION_SLAP_HIT_WITH_WARRIOR : "slap_hit.msa",
chr.MOTION_SLAP_HIT_WITH_ASSASSIN : "slap_hit.msa",
chr.MOTION_SLAP_HIT_WITH_SURA : "slap_hit.msa",
chr.MOTION_SLAP_HIT_WITH_SHAMAN : "slap_hit.msa",
chr.MOTION_SLAP_HIT_WITH_WOLFMAN : "slap_hit.msa",
chr.MOTION_SLAP_HURT_WITH_WARRIOR : "slap_hurt.msa",
chr.MOTION_SLAP_HURT_WITH_ASSASSIN : "slap_hurt.msa",
chr.MOTION_SLAP_HURT_WITH_SURA : "slap_hurt.msa",
chr.MOTION_SLAP_HURT_WITH_SHAMAN : "slap_hurt.msa",
chr.MOTION_SLAP_HURT_WITH_WOLFMAN : "slap_hurt.msa",
}

elif EMOTION_VERSION == 1:
EMOTION_CLAP = 1
EMOTION_CHEERS_1 = 2
EMOTION_CHEERS_2 = 3
EMOTION_DANCE_1 = 4
EMOTION_DANCE_2 = 5
EMOTION_KISS = 51
EMOTION_FRENCH_KISS = 52
EMOTION_SLAP = 53

EMOTION_DICT = {
EMOTION_CLAP : {"name": localeInfo.EMOTION_CLAP, "command":"/clap"},
EMOTION_CHEERS_1 : {"name": localeInfo.EMOTION_CHEERS_1, "command":"/cheer1"},
EMOTION_CHEERS_2 : {"name": localeInfo.EMOTION_CHEERS_2, "command":"/cheer2"},
EMOTION_DANCE_1 : {"name": localeInfo.EMOTION_DANCE_1, "command":"/dance1"},
EMOTION_DANCE_2 : {"name": localeInfo.EMOTION_DANCE_2, "command":"/dance2"},
EMOTION_KISS : {"name": localeInfo.EMOTION_CLAP_KISS, "command":"/kiss"},
EMOTION_FRENCH_KISS : {"name": localeInfo.EMOTION_FRENCH_KISS, "command":"/french_kiss"},
EMOTION_SLAP : {"name": localeInfo.EMOTION_SLAP, "command":"/slap"},
}

ICON_DICT = {
EMOTION_CLAP : "d:/ymir work/ui/game/windows/emotion_clap.sub",
EMOTION_CHEERS_1 : "d:/ymir work/ui/game/windows/emotion_cheers_1.sub",
EMOTION_CHEERS_2 : "d:/ymir work/ui/game/windows/emotion_cheers_2.sub",

EMOTION_DANCE_1 : "icon/action/dance1.tga",
EMOTION_DANCE_2 : "icon/action/dance2.tga",

EMOTION_KISS : "d:/ymir work/ui/game/windows/emotion_kiss.sub",
EMOTION_FRENCH_KISS : "d:/ymir work/ui/game/windows/emotion_french_kiss.sub",
EMOTION_SLAP : "d:/ymir work/ui/game/windows/emotion_slap.sub",
}

ANI_DICT = {
chr.MOTION_CLAP : "clap.msa",
chr.MOTION_CHEERS_1 : "cheers_1.msa",
chr.MOTION_CHEERS_2 : "cheers_2.msa",
chr.MOTION_DANCE_1 : "dance_1.msa",
chr.MOTION_DANCE_2 : "dance_2.msa",
chr.MOTION_FRENCH_KISS_WITH_WARRIOR : "french_kiss_with_warrior.msa",
chr.MOTION_FRENCH_KISS_WITH_ASSASSIN : "french_kiss_with_assassin.msa",
chr.MOTION_FRENCH_KISS_WITH_SURA : "french_kiss_with_sura.msa",
chr.MOTION_FRENCH_KISS_WITH_SHAMAN : "french_kiss_with_shaman.msa",
chr.MOTION_KISS_WITH_WARRIOR : "kiss_with_warrior.msa",
chr.MOTION_KISS_WITH_ASSASSIN : "kiss_with_assassin.msa",
chr.MOTION_KISS_WITH_SURA : "kiss_with_sura.msa",
chr.MOTION_KISS_WITH_SHAMAN : "kiss_with_shaman.msa",
chr.MOTION_KISS_WITH_WOLFMAN : "kiss_with_wolfman.msa",
chr.MOTION_SLAP_HIT_WITH_WARRIOR : "slap_hit.msa",
chr.MOTION_SLAP_HIT_WITH_ASSASSIN : "slap_hit.msa",
chr.MOTION_SLAP_HIT_WITH_SURA : "slap_hit.msa",
chr.MOTION_SLAP_HIT_WITH_SHAMAN : "slap_hit.msa",
chr.MOTION_SLAP_HIT_WITH_WOLFMAN : "slap_hit.msa",
chr.MOTION_SLAP_HURT_WITH_WARRIOR : "slap_hurt.msa",
chr.MOTION_SLAP_HURT_WITH_ASSASSIN : "slap_hurt.msa",
chr.MOTION_SLAP_HURT_WITH_SURA : "slap_hurt.msa",
chr.MOTION_SLAP_HURT_WITH_SHAMAN : "slap_hurt.msa",
chr.MOTION_SLAP_HURT_WITH_WOLFMAN : "slap_hurt.msa",
}
else:
EMOTION_CLAP = 1
EMOTION_CHEERS_1 = 2
EMOTION_CHEERS_2 = 3
EMOTION_KISS = 51
EMOTION_FRENCH_KISS = 52
EMOTION_SLAP = 53

EMOTION_DICT = {
EMOTION_CLAP : {"name": localeInfo.EMOTION_CLAP, "command":"/clap"},
EMOTION_CHEERS_1 : {"name": localeInfo.EMOTION_CHEERS_1, "command":"/cheer1"},
EMOTION_CHEERS_2 : {"name": localeInfo.EMOTION_CHEERS_2, "command":"/cheer2"},
EMOTION_KISS : {"name": localeInfo.EMOTION_CLAP_KISS, "command":"/kiss"},
EMOTION_FRENCH_KISS : {"name": localeInfo.EMOTION_FRENCH_KISS, "command":"/french_kiss"},
EMOTION_SLAP : {"name": localeInfo.EMOTION_SLAP, "command":"/slap"},
}

ICON_DICT = {
EMOTION_CLAP : "d:/ymir work/ui/game/windows/emotion_clap.sub",
EMOTION_CHEERS_1 : "d:/ymir work/ui/game/windows/emotion_cheers_1.sub",
EMOTION_CHEERS_2 : "d:/ymir work/ui/game/windows/emotion_cheers_2.sub",

EMOTION_KISS : "d:/ymir work/ui/game/windows/emotion_kiss.sub",
EMOTION_FRENCH_KISS : "d:/ymir work/ui/game/windows/emotion_french_kiss.sub",
EMOTION_SLAP : "d:/ymir work/ui/game/windows/emotion_slap.sub",
}

ANI_DICT = {
chr.MOTION_CLAP : "clap.msa",
chr.MOTION_CHEERS_1 : "cheers_1.msa",
chr.MOTION_CHEERS_2 : "cheers_2.msa",
chr.MOTION_FRENCH_KISS_WITH_WARRIOR : "french_kiss_with_warrior.msa",
chr.MOTION_FRENCH_KISS_WITH_ASSASSIN : "french_kiss_with_assassin.msa",
chr.MOTION_FRENCH_KISS_WITH_SURA : "french_kiss_with_sura.msa",
chr.MOTION_FRENCH_KISS_WITH_SHAMAN : "french_kiss_with_shaman.msa",
chr.MOTION_KISS_WITH_WARRIOR : "kiss_with_warrior.msa",
chr.MOTION_KISS_WITH_ASSASSIN : "kiss_with_assassin.msa",
chr.MOTION_KISS_WITH_SURA : "kiss_with_sura.msa",
chr.MOTION_KISS_WITH_SHAMAN : "kiss_with_shaman.msa",
chr.MOTION_SLAP_HIT_WITH_WARRIOR : "slap_hit.msa",
chr.MOTION_SLAP_HIT_WITH_ASSASSIN : "slap_hit.msa",
chr.MOTION_SLAP_HIT_WITH_SURA : "slap_hit.msa",
chr.MOTION_SLAP_HIT_WITH_SHAMAN : "slap_hit.msa",
chr.MOTION_SLAP_HURT_WITH_WARRIOR : "slap_hurt.msa",
chr.MOTION_SLAP_HURT_WITH_ASSASSIN : "slap_hurt.msa",
chr.MOTION_SLAP_HURT_WITH_SURA : "slap_hurt.msa",
chr.MOTION_SLAP_HURT_WITH_SHAMAN : "slap_hurt.msa",
}


def __RegisterSharedEmotionAnis(mode, path):
chrmgr.SetPathName(path)
chrmgr.RegisterMotionMode(mode)

for key, val in ANI_DICT.items():
chrmgr.RegisterMotionData(mode, key, val)

def RegisterEmotionAnis(path):
actionPath = path + "action/"
weddingPath = path + "wedding/"

__RegisterSharedEmotionAnis(chr.MOTION_MODE_GENERAL, actionPath)
__RegisterSharedEmotionAnis(chr.MOTION_MODE_WEDDING_DRESS, actionPath)

chrmgr.SetPathName(weddingPath)
chrmgr.RegisterMotionMode(chr.MOTION_MODE_WEDDING_DRESS)
chrmgr.RegisterMotionData(chr.MOTION_MODE_WEDDING_DRESS, chr.MOTION_WAIT, "wait.msa")
chrmgr.RegisterMotionData(chr.MOTION_MODE_WEDDING_DRESS, chr.MOTION_WALK, "walk.msa")
chrmgr.RegisterMotionData(chr.MOTION_MODE_WEDDING_DRESS, chr.MOTION_RUN, "walk.msa")

def RegisterEmotionIcons():
for key, val in ICON_DICT.items():
player.RegisterEmotionIcon(key, val)

Nu vad ce e gresit aici, iar la shop offline nu am gresit cand l-am implementat, sursa binary am compilat-o fara probleme.
Am sters acel MOTION_FRENCH_KISS_WITH_WOLFMAN, dar primesc aceasi eroare. Daca pun binary ce-l vechi nu primesc aceasta eroare.

eu nu il vad acolo,nu trebuie sters,baga-l la loc si daca e ceva gen :
localeInfo.MOTION_FRENCH_KISS_WITH_WOFLMAN
pune in locale_game.txt din locale :
MOTION_FRENCH_KISS_WITH_WOFLMAN [tab] text
unde am pus tab nu scrii tab,apesi tab
Imagine

Deconectat
Avatar utilizator
Emrys7Daniel
Nivel 1
Nivel 1
Mesaje: 104
Membru din: 02 Ian 2018
Mulțumiri acordate: 2
Mulțumiri primite: 0

Re: Problema client

Mesajde Emrys7Daniel » 05 Mai 2018, 21:34

[ST]SSH scrie:
Emrys7Daniel scrie:
[ST]SSH scrie:cauta : MOTION_FRENCH_KISS_WITH_WOFLMAN sa vezi unde vine,nu prea vad ca eroarea sa aiba treaba cu offline shop :))
pentru incepatori e imposibil de instalat offline shop,chiar daca dai doar copy paste.



Aici este:
emotion.py| Afiseaza codul
import localeInfo
import player
import chrmgr
import chr

EMOTION_VERSION = 2

if EMOTION_VERSION == 2:
EMOTION_CLAP = 1
EMOTION_CONGRATULATION = 2
EMOTION_FORGIVE = 3
EMOTION_ANGRY = 4
EMOTION_ATTRACTIVE = 5
EMOTION_SAD = 6
EMOTION_SHY = 7
EMOTION_CHEERUP = 8
EMOTION_BANTER = 9
EMOTION_JOY = 10
EMOTION_CHEERS_1 = 11
EMOTION_CHEERS_2 = 12
EMOTION_DANCE_1 = 13
EMOTION_DANCE_2 = 14
EMOTION_DANCE_3 = 15
EMOTION_DANCE_4 = 16
EMOTION_DANCE_5 = 17
EMOTION_DANCE_6 = 18
EMOTION_KISS = 51
EMOTION_FRENCH_KISS = 52
EMOTION_SLAP = 53

EMOTION_DICT = {
EMOTION_CLAP : {"name": localeInfo.EMOTION_CLAP, "command":"/clap"},
EMOTION_DANCE_1 : {"name": localeInfo.EMOTION_DANCE_1, "command":"/dance1"},
EMOTION_DANCE_2 : {"name": localeInfo.EMOTION_DANCE_2, "command":"/dance2"},
EMOTION_DANCE_3 : {"name": localeInfo.EMOTION_DANCE_3, "command":"/dance3"},
EMOTION_DANCE_4 : {"name": localeInfo.EMOTION_DANCE_4, "command":"/dance4"},
EMOTION_DANCE_5 : {"name": localeInfo.EMOTION_DANCE_5, "command":"/dance5"},
EMOTION_DANCE_6 : {"name": localeInfo.EMOTION_DANCE_6, "command":"/dance6"},
EMOTION_CONGRATULATION : {"name": localeInfo.EMOTION_CONGRATULATION, "command":"/congratulation"},
EMOTION_FORGIVE : {"name": localeInfo.EMOTION_FORGIVE, "command":"/forgive"},
EMOTION_ANGRY : {"name": localeInfo.EMOTION_ANGRY, "command":"/angry"},
EMOTION_ATTRACTIVE : {"name": localeInfo.EMOTION_ATTRACTIVE, "command":"/attractive"},
EMOTION_SAD : {"name": localeInfo.EMOTION_SAD, "command":"/sad"},
EMOTION_SHY : {"name": localeInfo.EMOTION_SHY, "command":"/shy"},
EMOTION_CHEERUP : {"name": localeInfo.EMOTION_CHEERUP, "command":"/cheerup"},
EMOTION_BANTER : {"name": localeInfo.EMOTION_BANTER, "command":"/banter"},
EMOTION_JOY : {"name": localeInfo.EMOTION_JOY, "command":"/joy"},
EMOTION_CHEERS_1 : {"name": localeInfo.EMOTION_CHEERS_1, "command":"/cheer1"},
EMOTION_CHEERS_2 : {"name": localeInfo.EMOTION_CHEERS_2, "command":"/cheer2"},
EMOTION_KISS : {"name": localeInfo.EMOTION_CLAP_KISS, "command":"/kiss"},
EMOTION_FRENCH_KISS : {"name": localeInfo.EMOTION_FRENCH_KISS, "command":"/french_kiss"},
EMOTION_SLAP : {"name": localeInfo.EMOTION_SLAP, "command":"/slap"},
}

ICON_DICT = {
EMOTION_CLAP : "d:/ymir work/ui/game/windows/emotion_clap.sub",
EMOTION_CHEERS_1 : "d:/ymir work/ui/game/windows/emotion_cheers_1.sub",
EMOTION_CHEERS_2 : "d:/ymir work/ui/game/windows/emotion_cheers_2.sub",

EMOTION_DANCE_1 : "icon/action/dance1.tga",
EMOTION_DANCE_2 : "icon/action/dance2.tga",

EMOTION_CONGRATULATION : "icon/action/congratulation.tga",
EMOTION_FORGIVE : "icon/action/forgive.tga",
EMOTION_ANGRY : "icon/action/angry.tga",
EMOTION_ATTRACTIVE : "icon/action/attractive.tga",
EMOTION_SAD : "icon/action/sad.tga",
EMOTION_SHY : "icon/action/shy.tga",
EMOTION_CHEERUP : "icon/action/cheerup.tga",
EMOTION_BANTER : "icon/action/banter.tga",
EMOTION_JOY : "icon/action/joy.tga",
EMOTION_DANCE_1 : "icon/action/dance1.tga",
EMOTION_DANCE_2 : "icon/action/dance2.tga",
EMOTION_DANCE_3 : "icon/action/dance3.tga",
EMOTION_DANCE_4 : "icon/action/dance4.tga",
EMOTION_DANCE_5 : "icon/action/dance5.tga",
EMOTION_DANCE_6 : "icon/action/dance6.tga",

EMOTION_KISS : "d:/ymir work/ui/game/windows/emotion_kiss.sub",
EMOTION_FRENCH_KISS : "d:/ymir work/ui/game/windows/emotion_french_kiss.sub",
EMOTION_SLAP : "d:/ymir work/ui/game/windows/emotion_slap.sub",
}

ANI_DICT = {
chr.MOTION_CLAP : "clap.msa",
chr.MOTION_CHEERS_1 : "cheers_1.msa",
chr.MOTION_CHEERS_2 : "cheers_2.msa",
chr.MOTION_DANCE_1 : "dance_1.msa",
chr.MOTION_DANCE_2 : "dance_2.msa",
chr.MOTION_DANCE_3 : "dance_3.msa",
chr.MOTION_DANCE_4 : "dance_4.msa",
chr.MOTION_DANCE_5 : "dance_5.msa",
chr.MOTION_DANCE_6 : "dance_6.msa",
chr.MOTION_CONGRATULATION : "congratulation.msa",
chr.MOTION_FORGIVE : "forgive.msa",
chr.MOTION_ANGRY : "angry.msa",
chr.MOTION_ATTRACTIVE : "attractive.msa",
chr.MOTION_SAD : "sad.msa",
chr.MOTION_SHY : "shy.msa",
chr.MOTION_CHEERUP : "cheerup.msa",
chr.MOTION_BANTER : "banter.msa",
chr.MOTION_JOY : "joy.msa",
chr.MOTION_FRENCH_KISS_WITH_WARRIOR : "french_kiss_with_warrior.msa",
chr.MOTION_FRENCH_KISS_WITH_ASSASSIN : "french_kiss_with_assassin.msa",
chr.MOTION_FRENCH_KISS_WITH_SURA : "french_kiss_with_sura.msa",
chr.MOTION_FRENCH_KISS_WITH_SHAMAN : "french_kiss_with_shaman.msa",
chr.MOTION_KISS_WITH_WARRIOR : "kiss_with_warrior.msa",
chr.MOTION_KISS_WITH_ASSASSIN : "kiss_with_assassin.msa",
chr.MOTION_KISS_WITH_SURA : "kiss_with_sura.msa",
chr.MOTION_KISS_WITH_SHAMAN : "kiss_with_shaman.msa",
chr.MOTION_KISS_WITH_WOLFMAN : "kiss_with_wolfman.msa",
chr.MOTION_SLAP_HIT_WITH_WARRIOR : "slap_hit.msa",
chr.MOTION_SLAP_HIT_WITH_ASSASSIN : "slap_hit.msa",
chr.MOTION_SLAP_HIT_WITH_SURA : "slap_hit.msa",
chr.MOTION_SLAP_HIT_WITH_SHAMAN : "slap_hit.msa",
chr.MOTION_SLAP_HIT_WITH_WOLFMAN : "slap_hit.msa",
chr.MOTION_SLAP_HURT_WITH_WARRIOR : "slap_hurt.msa",
chr.MOTION_SLAP_HURT_WITH_ASSASSIN : "slap_hurt.msa",
chr.MOTION_SLAP_HURT_WITH_SURA : "slap_hurt.msa",
chr.MOTION_SLAP_HURT_WITH_SHAMAN : "slap_hurt.msa",
chr.MOTION_SLAP_HURT_WITH_WOLFMAN : "slap_hurt.msa",
}

elif EMOTION_VERSION == 1:
EMOTION_CLAP = 1
EMOTION_CHEERS_1 = 2
EMOTION_CHEERS_2 = 3
EMOTION_DANCE_1 = 4
EMOTION_DANCE_2 = 5
EMOTION_KISS = 51
EMOTION_FRENCH_KISS = 52
EMOTION_SLAP = 53

EMOTION_DICT = {
EMOTION_CLAP : {"name": localeInfo.EMOTION_CLAP, "command":"/clap"},
EMOTION_CHEERS_1 : {"name": localeInfo.EMOTION_CHEERS_1, "command":"/cheer1"},
EMOTION_CHEERS_2 : {"name": localeInfo.EMOTION_CHEERS_2, "command":"/cheer2"},
EMOTION_DANCE_1 : {"name": localeInfo.EMOTION_DANCE_1, "command":"/dance1"},
EMOTION_DANCE_2 : {"name": localeInfo.EMOTION_DANCE_2, "command":"/dance2"},
EMOTION_KISS : {"name": localeInfo.EMOTION_CLAP_KISS, "command":"/kiss"},
EMOTION_FRENCH_KISS : {"name": localeInfo.EMOTION_FRENCH_KISS, "command":"/french_kiss"},
EMOTION_SLAP : {"name": localeInfo.EMOTION_SLAP, "command":"/slap"},
}

ICON_DICT = {
EMOTION_CLAP : "d:/ymir work/ui/game/windows/emotion_clap.sub",
EMOTION_CHEERS_1 : "d:/ymir work/ui/game/windows/emotion_cheers_1.sub",
EMOTION_CHEERS_2 : "d:/ymir work/ui/game/windows/emotion_cheers_2.sub",

EMOTION_DANCE_1 : "icon/action/dance1.tga",
EMOTION_DANCE_2 : "icon/action/dance2.tga",

EMOTION_KISS : "d:/ymir work/ui/game/windows/emotion_kiss.sub",
EMOTION_FRENCH_KISS : "d:/ymir work/ui/game/windows/emotion_french_kiss.sub",
EMOTION_SLAP : "d:/ymir work/ui/game/windows/emotion_slap.sub",
}

ANI_DICT = {
chr.MOTION_CLAP : "clap.msa",
chr.MOTION_CHEERS_1 : "cheers_1.msa",
chr.MOTION_CHEERS_2 : "cheers_2.msa",
chr.MOTION_DANCE_1 : "dance_1.msa",
chr.MOTION_DANCE_2 : "dance_2.msa",
chr.MOTION_FRENCH_KISS_WITH_WARRIOR : "french_kiss_with_warrior.msa",
chr.MOTION_FRENCH_KISS_WITH_ASSASSIN : "french_kiss_with_assassin.msa",
chr.MOTION_FRENCH_KISS_WITH_SURA : "french_kiss_with_sura.msa",
chr.MOTION_FRENCH_KISS_WITH_SHAMAN : "french_kiss_with_shaman.msa",
chr.MOTION_KISS_WITH_WARRIOR : "kiss_with_warrior.msa",
chr.MOTION_KISS_WITH_ASSASSIN : "kiss_with_assassin.msa",
chr.MOTION_KISS_WITH_SURA : "kiss_with_sura.msa",
chr.MOTION_KISS_WITH_SHAMAN : "kiss_with_shaman.msa",
chr.MOTION_KISS_WITH_WOLFMAN : "kiss_with_wolfman.msa",
chr.MOTION_SLAP_HIT_WITH_WARRIOR : "slap_hit.msa",
chr.MOTION_SLAP_HIT_WITH_ASSASSIN : "slap_hit.msa",
chr.MOTION_SLAP_HIT_WITH_SURA : "slap_hit.msa",
chr.MOTION_SLAP_HIT_WITH_SHAMAN : "slap_hit.msa",
chr.MOTION_SLAP_HIT_WITH_WOLFMAN : "slap_hit.msa",
chr.MOTION_SLAP_HURT_WITH_WARRIOR : "slap_hurt.msa",
chr.MOTION_SLAP_HURT_WITH_ASSASSIN : "slap_hurt.msa",
chr.MOTION_SLAP_HURT_WITH_SURA : "slap_hurt.msa",
chr.MOTION_SLAP_HURT_WITH_SHAMAN : "slap_hurt.msa",
chr.MOTION_SLAP_HURT_WITH_WOLFMAN : "slap_hurt.msa",
}
else:
EMOTION_CLAP = 1
EMOTION_CHEERS_1 = 2
EMOTION_CHEERS_2 = 3
EMOTION_KISS = 51
EMOTION_FRENCH_KISS = 52
EMOTION_SLAP = 53

EMOTION_DICT = {
EMOTION_CLAP : {"name": localeInfo.EMOTION_CLAP, "command":"/clap"},
EMOTION_CHEERS_1 : {"name": localeInfo.EMOTION_CHEERS_1, "command":"/cheer1"},
EMOTION_CHEERS_2 : {"name": localeInfo.EMOTION_CHEERS_2, "command":"/cheer2"},
EMOTION_KISS : {"name": localeInfo.EMOTION_CLAP_KISS, "command":"/kiss"},
EMOTION_FRENCH_KISS : {"name": localeInfo.EMOTION_FRENCH_KISS, "command":"/french_kiss"},
EMOTION_SLAP : {"name": localeInfo.EMOTION_SLAP, "command":"/slap"},
}

ICON_DICT = {
EMOTION_CLAP : "d:/ymir work/ui/game/windows/emotion_clap.sub",
EMOTION_CHEERS_1 : "d:/ymir work/ui/game/windows/emotion_cheers_1.sub",
EMOTION_CHEERS_2 : "d:/ymir work/ui/game/windows/emotion_cheers_2.sub",

EMOTION_KISS : "d:/ymir work/ui/game/windows/emotion_kiss.sub",
EMOTION_FRENCH_KISS : "d:/ymir work/ui/game/windows/emotion_french_kiss.sub",
EMOTION_SLAP : "d:/ymir work/ui/game/windows/emotion_slap.sub",
}

ANI_DICT = {
chr.MOTION_CLAP : "clap.msa",
chr.MOTION_CHEERS_1 : "cheers_1.msa",
chr.MOTION_CHEERS_2 : "cheers_2.msa",
chr.MOTION_FRENCH_KISS_WITH_WARRIOR : "french_kiss_with_warrior.msa",
chr.MOTION_FRENCH_KISS_WITH_ASSASSIN : "french_kiss_with_assassin.msa",
chr.MOTION_FRENCH_KISS_WITH_SURA : "french_kiss_with_sura.msa",
chr.MOTION_FRENCH_KISS_WITH_SHAMAN : "french_kiss_with_shaman.msa",
chr.MOTION_KISS_WITH_WARRIOR : "kiss_with_warrior.msa",
chr.MOTION_KISS_WITH_ASSASSIN : "kiss_with_assassin.msa",
chr.MOTION_KISS_WITH_SURA : "kiss_with_sura.msa",
chr.MOTION_KISS_WITH_SHAMAN : "kiss_with_shaman.msa",
chr.MOTION_SLAP_HIT_WITH_WARRIOR : "slap_hit.msa",
chr.MOTION_SLAP_HIT_WITH_ASSASSIN : "slap_hit.msa",
chr.MOTION_SLAP_HIT_WITH_SURA : "slap_hit.msa",
chr.MOTION_SLAP_HIT_WITH_SHAMAN : "slap_hit.msa",
chr.MOTION_SLAP_HURT_WITH_WARRIOR : "slap_hurt.msa",
chr.MOTION_SLAP_HURT_WITH_ASSASSIN : "slap_hurt.msa",
chr.MOTION_SLAP_HURT_WITH_SURA : "slap_hurt.msa",
chr.MOTION_SLAP_HURT_WITH_SHAMAN : "slap_hurt.msa",
}


def __RegisterSharedEmotionAnis(mode, path):
chrmgr.SetPathName(path)
chrmgr.RegisterMotionMode(mode)

for key, val in ANI_DICT.items():
chrmgr.RegisterMotionData(mode, key, val)

def RegisterEmotionAnis(path):
actionPath = path + "action/"
weddingPath = path + "wedding/"

__RegisterSharedEmotionAnis(chr.MOTION_MODE_GENERAL, actionPath)
__RegisterSharedEmotionAnis(chr.MOTION_MODE_WEDDING_DRESS, actionPath)

chrmgr.SetPathName(weddingPath)
chrmgr.RegisterMotionMode(chr.MOTION_MODE_WEDDING_DRESS)
chrmgr.RegisterMotionData(chr.MOTION_MODE_WEDDING_DRESS, chr.MOTION_WAIT, "wait.msa")
chrmgr.RegisterMotionData(chr.MOTION_MODE_WEDDING_DRESS, chr.MOTION_WALK, "walk.msa")
chrmgr.RegisterMotionData(chr.MOTION_MODE_WEDDING_DRESS, chr.MOTION_RUN, "walk.msa")

def RegisterEmotionIcons():
for key, val in ICON_DICT.items():
player.RegisterEmotionIcon(key, val)

Nu vad ce e gresit aici, iar la shop offline nu am gresit cand l-am implementat, sursa binary am compilat-o fara probleme.
Am sters acel MOTION_FRENCH_KISS_WITH_WOLFMAN, dar primesc aceasi eroare. Daca pun binary ce-l vechi nu primesc aceasta eroare.

eu nu il vad acolo,nu trebuie sters,baga-l la loc si daca e ceva gen :
localeInfo.MOTION_FRENCH_KISS_WITH_WOFLMAN
pune in locale_game.txt din locale :
MOTION_FRENCH_KISS_WITH_WOFLMAN [tab] text
unde am pus tab nu scrii tab,apesi tab


Este acolo. L-am pus la loc(dupa ce l-am sters, aveam alta eroare, tot ceva legat de lycan:APPLY_BLEEDING_PCT, am sters-o si pe asta alta eroare tot legata de lycan. Deci e problema, functiile de la lycan sau nu stiu cum sa le numesc, nu mai suntem cititte. Inainte sa pun sursa binary cu shop offline, am modificat client-ul inainte, am implementat butonul de shop offline, si cand deschideam client-ul primeam o eraore asemanatoare ca aceea care o primesc acum, in loc de MOTION_FRENCH_KISS_WITH_WOLFMAN, aveam ceva cu shop offline, deci, in concluzie, dupa cunostintele mele limitate, cred ca problema e din sursa binary. Doar ca nu am modificat nimic in legatura cu lycan-ul, eu am facut doar sa adaug liniile care erau necesare pentru shop offline. Ce este de facut?

Deconectat
Avatar utilizator
Emrys7Daniel
Nivel 1
Nivel 1
Mesaje: 104
Membru din: 02 Ian 2018
Mulțumiri acordate: 2
Mulțumiri primite: 0

Re: Problema client

Mesajde Emrys7Daniel » 06 Mai 2018, 02:19

Am rezolvat acea eroare, am modificat alta sursa binary, iar ea nu avea lycan, am refacut sursa binary, acum pot sa ma loghez, dar ramane blocat in bara de loading, Iar in sysser am asta:
0506 03:10:11254 :: GRANNY: r:/granny/rt/granny_file_info.cpp(145): File has run-time type tag of 0x80000015, which doesn't match this version of Granny (0x80000010). Automatic conversion will be attempted.
0506 03:10:18823 :: 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.
0506 03:10:23903 :: Traceback (most recent call last):

0506 03:10:23903 :: File "networkModule.py", line 247, in SetGamePhase

0506 03:10:23903 :: File "game.py", line 105, in __init__

0506 03:10:23903 :: File "interfaceModule.py", line 308, in MakeInterface

0506 03:10:23903 :: File "interfaceModule.py", line 190, in __MakeWindows

0506 03:10:23903 :: File "uiSafebox.py", line 707, in __init__

0506 03:10:23903 :: File "uiSafebox.py", line 742, in __LoadWindow

0506 03:10:23903 :: AttributeError
0506 03:10:23904 :: :
0506 03:10:23904 :: 'MallWindow' object has no attribute 'SelectItemSlot'
0506 03:10:23904 ::

Deconectat
Avatar utilizator
Emrys7Daniel
Nivel 1
Nivel 1
Mesaje: 104
Membru din: 02 Ian 2018
Mulțumiri acordate: 2
Mulțumiri primite: 0

Re: Problema client

Mesajde Emrys7Daniel » 06 Mai 2018, 09:06

Up

Deconectat
Avatar utilizator
Madara
Helper Avansat
Helper Avansat
Mesaje: 1889
Membru din: 17 Aug 2017
Reputație: ♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦
» Helper Avansat
» Fost Helper
» Fost Helper
» Fost Trial Helper
♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦
» Mister J4M
» Fost Miss J4M
» Fost Coleg Just4Metin
» Membru Club Permanent
♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦
Skype : wendigo669
♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦
Server Metin2: Taranis2
Mulțumiri acordate: 59
Mulțumiri primite: 249
Contact:

Re: Problema client

Mesajde Madara » 06 Mai 2018, 09:17

In cazul ca nu ai Lycan pe server cauta MOTION_FRENCH_KISS_WITH_WOFLMAN cu notepad in fisiere si sterge-o.

[ Postat de pe Android ] Imagine

Deconectat
Avatar utilizator
Emrys7Daniel
Nivel 1
Nivel 1
Mesaje: 104
Membru din: 02 Ian 2018
Mulțumiri acordate: 2
Mulțumiri primite: 0

Re: Problema client

Mesajde Emrys7Daniel » 06 Mai 2018, 09:54

Athero scrie:In cazul ca nu ai Lycan pe server cauta MOTION_FRENCH_KISS_WITH_WOFLMAN cu notepad in fisiere si sterge-o.

[ Postat de pe Android ] Imagine

Am rezolvat aceea problema. Era de la sursa binary, eu am implementat pe alta sursa binary shop offline si de aia nu mergea.
Acum am pus-o pe aia buna, dar primesc aceea eroare,
0506 03:10:11254 :: GRANNY: r:/granny/rt/granny_file_info.cpp(145): File has run-time type tag of 0x80000015, which doesn't match this version of Granny (0x80000010). Automatic conversion will be attempted.
0506 03:10:18823 :: 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.
0506 03:10:23903 :: Traceback (most recent call last):

0506 03:10:23903 :: File "networkModule.py", line 247, in SetGamePhase

0506 03:10:23903 :: File "game.py", line 105, in __init__

0506 03:10:23903 :: File "interfaceModule.py", line 308, in MakeInterface

0506 03:10:23903 :: File "interfaceModule.py", line 190, in __MakeWindows

0506 03:10:23903 :: File "uiSafebox.py", line 707, in __init__

0506 03:10:23903 :: File "uiSafebox.py", line 742, in __LoadWindow

0506 03:10:23903 :: AttributeError
0506 03:10:23904 :: :
0506 03:10:23904 :: 'MallWindow' object has no attribute 'SelectItemSlot'
0506 03:10:23904 ::

Deconectat
Avatar utilizator
Emrys7Daniel
Nivel 1
Nivel 1
Mesaje: 104
Membru din: 02 Ian 2018
Mulțumiri acordate: 2
Mulțumiri primite: 0

Re: Problema client

Mesajde Emrys7Daniel » 07 Mai 2018, 00:03

Up


Înapoi la “Arhivă Probleme şi Întrebări”

Cine este conectat

Utilizatori ce ce navighează pe acest forum: Google [Bot], mrryahm97 și 24 vizitatori