Jump to content

avertuss

Inactive Member
  • Posts

    480
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by avertuss

  1. Hi. I have problem with new sashes. Gif:

    152d18cb196990d3ec2e47f090bf4575.gif

    item_proto:

    86001	"ěŁĽë‹ ěžĄě‹ť ëť  (기본)"	"ITEM_COSTUME"	"COSTUME_SASH"	1	"NONE"	"NONE"	"NONE"	"NONE"	0	0	0	0	0	"LIMIT_NONE"	0	"LIMIT_NONE"	0	"APPLY_ATTBONUS_MONSTER"	4	"APPLY_RESIST_EARTH"	4	"APPLY_CRITICAL_PCT"	4	1	0	0	0	0	0	100	0	0
    86002	"ěŁĽë‹ ěžĄě‹ť ëť  (미세)"	"ITEM_COSTUME"	"COSTUME_SASH"	1	"NONE"	"NONE"	"NONE"	"NONE"	0	0	0	0	0	"LIMIT_NONE"	0	"LIMIT_NONE"	0	"APPLY_ATTBONUS_MONSTER"	8	"APPLY_RESIST_EARTH"	8	"APPLY_CRITICAL_PCT"	8	2	0	0	0	0	0	100	0	0
    86003	"ěŁĽë‹ ěžĄě‹ť ëť  (귀족)"	"ITEM_COSTUME"	"COSTUME_SASH"	1	"NONE"	"NONE"	"NONE"	"NONE"	0	0	0	0	0	"LIMIT_NONE"	0	"LIMIT_NONE"	0	"APPLY_ATTBONUS_MONSTER"	12	"APPLY_RESIST_EARTH"	12	"APPLY_CRITICAL_PCT"	12	3	0	0	0	0	0	100	0	0
    86004	"ěŁĽë‹ ěžĄě‹ť ëť  (ě‚¬ěš©ěž ě •ěť)"	"ITEM_COSTUME"	"COSTUME_SASH"	1	"NONE"	"NONE"	"NONE"	"NONE"	0	0	0	0	0	"LIMIT_NONE"	0	"LIMIT_NONE"	0	"APPLY_ATTBONUS_MONSTER"	15	"APPLY_RESIST_EARTH"	15	"APPLY_CRITICAL_PCT"	15	4	0	0	0	0	0	100	0	0

    item_scale

    86001	JOB_ASSASSIN	M	73	73	73	0	0	0.52
    86001	JOB_ASSASSIN	F	54	65	62	0	0	0.45
    86001	JOB_SHAMAN	M	78	78	78	0	0	0.3
    86001	JOB_SHAMAN	F	62	62	62	0	0	0.43
    86001	JOB_SURA	M	85	85	85	0	0	0.4
    86001	JOB_SURA	F	62	62	62	0	0	0.4
    86001	JOB_WARRIOR	M	83	83	83	0	0	0.3
    86001	JOB_WARRIOR	F	72	75	72	0	0	0.4

    item_list

    86001	WING	icon/item/86001.tga	d:/ymir work/item/wing/acce_05_86_001.GR2
    86002	WING	icon/item/86002.tga	d:/ymir work/item/wing/acce_05_86_002.GR2
    86003	WING	icon/item/86003.tga	d:/ymir work/item/wing/acce_05_86_003.GR2
    86004	WING	icon/item/86004.tga	d:/ymir work/item/wing/acce_05_86_004.GR2

    Any ideas? 

  2. Hi. I have problem. Syserr:

    1009 13:17:39485 ::   File "game.py", line 1973, in BINARY_ServerCommand_Run
    
    1009 13:17:39485 ::   File "stringCommander.py", line 63, in Run
    
    1009 13:17:39485 ::   File "stringCommander.py", line 31, in __call__
    
    1009 13:17:39485 ::   File "stringCommander.py", line 20, in __call__
    
    1009 13:17:39486 ::   File "game.py", line 2098, in staty
    
    1009 13:17:39486 ::   File "uiCharacter.py", line 1508, in RefreshStatistic
    
    1009 13:17:39486 :: TypeError
    1009 13:17:39486 :: : 
    1009 13:17:39486 :: an integer is required
    1009 13:17:39486 :: 
    
    1009 13:17:39486 :: Unknown Server Command staty 0|0|0|0|0|0|0 | staty

    cmdchat 

    cmdchat("staty "..total_kills.."|"..killed_people.."|"..pc.getqf("killed_mobs").."|"..pc.getqf("killed_bosses").."|"..pc.getqf("killed_metins").."|"..pc.getqf("other_empire").."|"..pc.getqf("same_empire"))

    python

    "staty" : self.staty,
    
    def staty(self, data):
    		if self.interface.wndCharacter:
    			self.interface.wndCharacter.RefreshStatistic(data.split("|")[0], data.split("|")[1], data.split("|")[2], data.split("|")[3], data.split("|")[4], data.split("|")[5], data.split("|")[6])
    
    def RefreshStatistic(self, a, b, c, d, e, f, g):
    		data = {}
    		data['childs'] = [self.GetChild("kills_value"), self.GetChild("kills_player_value"), self.GetChild("pvm_value"), self.GetChild("boss_value"), self.GetChild("metin_value"), self.GetChild("enemy_value"), self.GetChild("friend_value")]
    		data['stat'] = [a, b, c, d, e, f, g]
    		
    		for i in xrange(xrange(len(data['childs']))):
    			data['childs'][i].SetText("%s" % data['stat'][i])

    Any ideas? 

  3. Hi. I tried like that but it doesn't work

    if (item2->AddRareAttribute() == true)
    									{
    										if (number(1, 100) <= 80)
    										{
    											ChatPacket(CHAT_TYPE_INFO, LC_TEXT("성공적으로 속성이 추가 되었습니다"));
    
    											int iAddedIdx = item2->GetRareAttrCount() + 4;
    											char buf[21];
    											snprintf(buf, sizeof(buf), "%u", item2->GetID());
    
    											item->SetCount(item->GetCount() - 1);
    										}
    										else
    										{
    											ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Fail"));
    										}
    									}
    									else
    									{
    										ChatPacket(CHAT_TYPE_INFO, LC_TEXT("더 이상 이 아이템으로 속성을 추가할 수 없습니다"));
    									}

     

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