Topic hỏi đáp về cách làm map | version 12

Status
Không mở trả lời sau này.
@Ngoc LeO

mình đã chỉ bạn cách khắc phục bug phím S rồi tại bạn không sử dụng thôi :-<

cách chống Bug S đơn giản tiện lợi là làm như vậy :-<
kèm 3 hàm này dưới trigger bug phim S
Mã:
[B]Trigger - Turn off (This trigger)[/B]
[B]Wait 0.80 seconds[/B]
[B]Trigger - Turn on (This trigger)[/B]
 
Mình thử cách của bạn,nhưng mà bug vẫn xảy ra :-s nên mình mới thử cách kia,mà thực tế là khi mình turn off trigger đó vẫn bị lag,mình chưa thể khẳng định đc gì :-s
 
Theo gợi ý của bạn LeoNguyen mình làm trigger như này để khắc phục bug phím s. Kết quả khắc phục tốt nhưng mà gây ra lag,càng chơi càng lag,càng dùng skill càng làm lag thêm =_= máy mình khá khỏe,chơi đến phút 30-40 là đã thấy phiền rồi,mốt số người khác chơi mới được vài phút đã la ầm trời :((. Mình làm sai ở điểm nào,ai có cách khắc phục thì chỉ mình với :(

P/S: mình cũng chưa khẳng định là do trigger này vì mình turn off trigger đi rồi mà dường như kết quả vẫn vậy,không biết có phải do mình dùng Wc3 Ultimate Optimizer nén map không nữa. Cũng mơ hồ quá,hix :-s




Mã:
Events

Conditions

Actions
    Trigger - Turn off (This trigger)
    Set UnitArray[31] = (Triggering unit)
    Set UnitArray[33] = UnitArray[32]
    Set UnitArray[32] = (Damage source)
    Set RealArray[26] = (Damage taken)
    -------- Loi Than --------
     Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
        If - Conditions
            (UnitArray[32] is an illusion) Not equal to (!=) True
            (Level of Hoanh Loi Cong  for UnitArray[32]) Greater than (>) 0
            (Random integer number between 1 and 100) Less than or equal to (<=) 20
        Then - Actions
            Set PointArray[42] = (Position of UnitArray[32])
            Unit - Create 1 Dummy (hoanhloi) for (Owner of UnitArray[32]) at PointArray[42] facing Default building facing (270.0) degrees
            Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
            Unit - Add Hoanh Loi  to (Last created unit)
            Unit - Set level of Hoanh Loi  for (Last created unit) to (Level of Hoanh Loi Cong  for UnitArray[32])
            Unit - Order (Last created unit) to Orc Far Seer - Chain Lightning UnitArray[31]
            Custom script:   call RemoveLocation (udg_PointArray[42])
        Else - Actions
            Do nothing
    -------- Phu Thuy Thoi Gian --------
     Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
        If - Conditions
            (Level of Tia Sang Thoi Gian  for UnitArray[32]) Greater than (>) 0
        Then - Actions
            Wait 0.40 seconds
            Unit - Cause UnitArray[32] to damage UnitArray[31], dealing ((Real((Intelligence of UnitArray[32] (Include bonuses)))) x (0.10 + (0.10 x (Real((Level of Tia Sang Thoi Gian  for UnitArray[32])))))) damage of attack type Hero and damage type Divine
        Else - Actions
            Do nothing
    -------- Ma Nu Vo Tinh --------
     Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
        If - Conditions
            (Level of Ngung Suong Thuc  for UnitArray[32]) Greater than (>) 0
            (Random integer number between 1 and 100) Less than or equal to (<=) 21
            (Mana of UnitArray[31]) Greater than (>) 0.00
        Then - Actions
            Set PointArray[43] = (Position of UnitArray[32])
            Unit - Create 1 Dummy (ngungsuong) for (Owner of UnitArray[32]) at PointArray[43] facing Default building facing (270.0) degrees
            Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
            Unit - Add Ngung Suong  to (Last created unit)
            Unit - Set level of Ngung Suong  for (Last created unit) to (Level of Ngung Suong Thuc  for UnitArray[32])
            Unit - Order (Last created unit) to Night Elf Demon Hunter - Mana Burn UnitArray[31]
            Unit - Set mana of UnitArray[32] to ((Mana of UnitArray[32]) + (20.00 x (Real((Level of Ngung Suong Thuc  for UnitArray[32])))))
            Special Effect - Create a special effect attached to the origin of UnitArray[32] using Abilities\Spells\Items\AIma\AImaTarget.mdl
            Special Effect - Destroy (Last created special effect)
            Custom script:   call RemoveLocation (udg_PointArray[43])
        Else - Actions
            Do nothing
    -------- Dua Con Cua Bien --------
     Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
        If - Conditions
            (Level of Giang Hanh So Tuc  for UnitArray[32]) Greater than (>) 0
        Then - Actions
             Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
                If - Conditions
                    (Agility of UnitArray[32] (Include bonuses)) Greater than (>) (Agility of UnitArray[31] (Include bonuses))
                Then - Actions
                    Wait 1.00 seconds
                    Unit - Cause UnitArray[32] to damage UnitArray[31], dealing (((Real((Agility of UnitArray[32] (Include bonuses)))) - (Real((Agility of UnitArray[31] (Include bonuses))))) x (0.40 + (0.10 x (Real((Level of Giang Hanh So Tuc  for UnitArray[32])))))) damage of attack type Hero and damage type Normal
                Else - Actions
                    Wait 1.00 seconds
                    Unit - Cause UnitArray[32] to damage UnitArray[31], dealing (((Real((Agility of UnitArray[31] (Include bonuses)))) - (Real((Agility of UnitArray[32] (Include bonuses))))) x (0.40 + (0.10 x (Real((Level of Giang Hanh So Tuc  for UnitArray[32])))))) damage of attack type Hero and damage type Normal
        Else - Actions
            Do nothing
    -------- Mang Xa Vuong --------
     Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
        If - Conditions
            (UnitArray[31] is A structure) Not equal to (!=) True
            (Unit-type of UnitArray[31]) Not equal to (!=) |cffff0000Qñy v­¬ng|r (Level 1)
            (Unit-type of UnitArray[31]) Not equal to (!=) |cffff0000Qñy v­¬ng|r (Level 2)
            (Unit-type of UnitArray[31]) Not equal to (!=) |cffff0000Qñy v­¬ng|r (Level 3)
        Then - Actions
            Wait 0.50 seconds
            Unit - Cause UnitArray[32] to damage UnitArray[31], dealing (((Max life of UnitArray[31]) - (Life of UnitArray[31])) x (0.02 + (0.01 x (Real((Level of Toi Doc Thuat  for UnitArray[32])))))) damage of attack type Hero and damage type Poison
        Else - Actions
            Do nothing
    -------- Voi Ma Mut --------
     Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
        If - Conditions
            (Level of Khai Son Thuc  for UnitArray[32]) Greater than (>) 0
            (UnitArray[32] is an illusion) Not equal to (!=) True
            (UnitArray[31] belongs to an enemy of (Owner of UnitArray[32])) Equal to (==) True
            (UnitArray[31] is A structure) Not equal to (!=) True
            (Random integer number between 1 and 100) Less than or equal to (<=) 20
        Then - Actions
            Set PointArray[44] = (Position of UnitArray[31])
            Unit - Create 1 Dummy (common) for (Owner of UnitArray[32]) at PointArray[44] facing Default building facing (270.0) degrees
            Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
            Unit - Add Khai Son  to (Last created unit)
            Unit - Set level of Khai Son  for (Last created unit) to (Level of Khai Son Thuc  for UnitArray[32])
            Unit - Order (Last created unit) to Orc Tauren Chieftain - War Stomp
            Custom script:   call RemoveLocation (udg_PointArray[44])
        Else - Actions
            Do nothing
    -------- Cuong Bao Dai Vuong --------
     Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
        If - Conditions
            (Unit-type of UnitArray[32]) Equal to (==) |cffff0000Cuång b¹o ®¹i v­¬ng|r
        Then - Actions
            Unit - Cause UnitArray[32] to damage UnitArray[31], dealing (((Max life of UnitArray[32]) - (Life of UnitArray[32])) x (0.04 + (0.02 x (Real((Level of Hoanh Son Phu  for UnitArray[32])))))) damage of attack type Hero and damage type Normal
        Else - Actions
    -------- Gau Do Vat --------
     Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
        If - Conditions
            (Level of Phieu Duc Tan Thu  for UnitArray[32]) Greater than (>) 0
            (UnitArray[32] is an illusion) Not equal to (!=) True
            (UnitArray[31] is A structure) Not equal to (!=) True
            (UnitArray[31] belongs to an enemy of (Owner of UnitArray[32])) Equal to (==) True
        Then - Actions
            Wait 0.30 seconds
            Unit - Cause UnitArray[32] to damage UnitArray[31], dealing ((0.01 x (Real((Level of Phieu Duc Tan Thu  for UnitArray[32])))) x (Life of UnitArray[32])) damage of attack type Hero and damage type Divine
        Else - Actions
            Do nothing
    -------- Loi Ma --------
     Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
        If - Conditions
            (Unit-type of UnitArray[32]) Equal to (==) |cff00ffffL«i ma|r
            (UnitArray[31] is A structure) Not equal to (!=) True
        Then - Actions
            Wait 0.50 seconds
            Unit - Cause UnitArray[32] to damage UnitArray[31], dealing ((Distance between (Position of UnitArray[32]) and (Position of UnitArray[31])) x (0.05 x (Real((Level of Ngu Loi Cong  for UnitArray[32]))))) damage of attack type Hero and damage type Normal
        Else - Actions
            Do nothing
    -------- Ke Xau So --------
     Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
        If - Conditions
            (Unit-type of UnitArray[32]) Equal to (==) |cff008000KÎ xÊu sè|r
            (Level of Thanh Guom Hac Am  for UnitArray[32]) Greater than (>) 0
        Then - Actions
            Wait 0.03 seconds
            Unit - Cause UnitArray[32] to damage UnitArray[31], dealing (3.00 x (Real(LinhHon_Number))) damage of attack type Hero and damage type Divine
        Else - Actions
            Do nothing
    -------- Kho Lau Song --------
     Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
        If - Conditions
            (Unit-type of UnitArray[32]) Equal to (==) |cffc0c0c0Kh« l©u sèng|r
            (UnitArray[31] is A structure) Not equal to (!=) True
            (Unit-type of UnitArray[31]) Not equal to (!=) |cffff0000Qñy v­¬ng|r (Level 1)
            (Unit-type of UnitArray[31]) Not equal to (!=) |cffff0000Qñy v­¬ng|r (Level 2)
            (Unit-type of UnitArray[31]) Not equal to (!=) |cffff0000Qñy v­¬ng|r (Level 3)
        Then - Actions
            Set Real_NgoCong = ((Life of UnitArray[31]) x (0.03 + (0.01 x (Real((Level of Ngo Cong Tran  for UnitArray[32]))))))
            Unit - Cause UnitArray[32] to damage UnitArray[31], dealing Real_NgoCong damage of attack type Hero and damage type Divine
            Unit - Set life of UnitArray[32] to ((Life of UnitArray[32]) + (Real_NgoCong x 0.50))
        Else - Actions
            Do nothing
    -------- Khoai Lang --------
     Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
        If - Conditions
             Multiple ConditionsOr - Any (Conditions) are true
                Conditions
                    (Unit-type of UnitArray[32]) Equal to (==) |cffff0000Kho¸i lang|r
                    (Unit-type of UnitArray[32]) Equal to (==) |cffff0000Kho¸i lang|r (level 1)
                    (Unit-type of UnitArray[32]) Equal to (==) |cffff0000Kho¸i lang|r (level 2)
                    (Unit-type of UnitArray[32]) Equal to (==) |cffff0000Kho¸i lang|r (level 3)
            (Level of Cuong Trao Thu  for UnitArray[32]) Greater than (>) 0
            (UnitArray[31] is A structure) Not equal to (!=) True
        Then - Actions
            Unit - Cause UnitArray[32] to damage UnitArray[31], dealing (15.00 x (Real((Level of Cuong Trao Thu  for UnitArray[32])))) damage of attack type Hero and damage type Normal
        Else - Actions
            Do nothing
    -------- Sinh Vat La --------
     Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
        If - Conditions
            (Unit-type of UnitArray[32]) Equal to (==) |cff0080c0Sinh vËt l¹|r
            (Level of Da Dai Dao Cuong  for UnitArray[32]) Greater than (>) 0
            (UnitArray[32] is A structure) Not equal to (!=) True
        Then - Actions
            Unit - Cause UnitArray[32] to damage UnitArray[31], dealing ((Real((Agility of UnitArray[32] (Include bonuses)))) x (0.20 + (0.10 x (Real((Level of Da Dai Dao Cuong  for UnitArray[32])))))) damage of attack type Hero and damage type Divine
        Else - Actions
            Do nothing
    -------- Thuy Quai --------
     Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
        If - Conditions
            (Unit-type of UnitArray[32]) Equal to (==) |cff0080ffThñy qu¸i|r
            (Level of Da Ne Doi Thuy  for UnitArray[32]) Greater than (>) 0
            (UnitArray[31] is A structure) Not equal to (!=) True
            (Random integer number between 1 and 100) Less than or equal to (<=) 20
            (UnitArray[31] belongs to an enemy of (Owner of UnitArray[32])) Equal to (==) True
        Then - Actions
            Set Unt_DaNe1 = UnitArray[32]
            Set Unt_DaNe2 = UnitArray[31]
            Set Loc_DaNe1 = (Position of Unt_DaNe1)
            Set Loc_DaNe2 = (Position of Unt_DaNe2)
            Set Deg_DaNe = (Angle from Loc_DaNe1 to Loc_DaNe2)
            If ((Level of Da Ne Doi Thuy  for Unt_DaNe1) Equal to (==) 1) then do (Set Tik_DaNe = 16) else do (Do nothing)
            If ((Level of Da Ne Doi Thuy  for Unt_DaNe1) Equal to (==) 2) then do (Set Tik_DaNe = 24) else do (Do nothing)
            If ((Level of Da Ne Doi Thuy  for Unt_DaNe1) Equal to (==) 3) then do (Set Tik_DaNe = 32) else do (Do nothing)
            If ((Level of Da Ne Doi Thuy  for Unt_DaNe1) Equal to (==) 4) then do (Set Tik_DaNe = 40) else do (Do nothing)
            Unit - Cause Unt_DaNe1 to damage Unt_DaNe2, dealing (10.00 + (30.00 x (Real((Level of Da Ne Doi Thuy  for Unt_DaNe1))))) damage of attack type Hero and damage type Divine
            Trigger - Turn on Da Ne Slide <gen>
        Else - Actions
            Do nothing
    -------- Thay Phap --------
     Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
        If - Conditions
            (Level of Ta Phi Thuc Fix  for UnitArray[32]) Greater than (>) 0
        Then - Actions
            Set Point_ThayPhap = (Position of UnitArray[31])
            Unit - Create 1 DummyOther for (Owner of UnitArray[32]) at Point_ThayPhap facing Default building facing (270.0) degrees
            Unit - Add Thay Phap  to (Last created unit)
            Unit - Set level of Thay Phap  for (Last created unit) to (Level of Ta Phi Thuc Fix  for UnitArray[32])
            Unit - Order (Last created unit) to Orc Shaman - Purge UnitArray[31]
            Unit - Remove (Last created unit) from the game
            Unit - Set mana of UnitArray[32] to ((Mana of UnitArray[32]) + (15.00 x (Real((Level of Ta Phi Thuc Fix  for UnitArray[32])))))
            Custom script:   call RemoveLocation (udg_Point_ThayPhap)
        Else - Actions
            Do nothing
    -------- Xen Bo Hung --------
     Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
        If - Conditions
            (Unit-type of UnitArray[32]) Equal to (==) |cff00ff80Xªn bä hung|r
            (Level of Nanh Vuot  for UnitArray[32]) Greater than (>) 0
        Then - Actions
            Set UntG_NanhVuot = (Units in (Region centered at (Position of UnitArray[32]) with size (1000.00, 1000.00)) matching ((((Matching unit) is A Hero) Equal to (==) True) and (((Matching unit) belongs to an enemy of (Owner of UnitArray[32])) Equal to (==) True)))
             Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
                If - Conditions
                    (Number of units in UntG_NanhVuot) Greater than or equal to (>=) 1
                Then - Actions
                    Unit - Cause UnitArray[32] to damage UnitArray[31], dealing ((Real((Number of units in UntG_NanhVuot))) x (5.00 + (5.00 x (Real((Level of Nanh Vuot  for UnitArray[32])))))) damage of attack type Chaos and damage type Divine
                    Special Effect - Create a special effect attached to the (hand + left) of UnitArray[32] using Abilities\Weapons\IllidanMissile\IllidanMissile.mdl
                    Special Effect - Destroy (Last created special effect)
                    Special Effect - Create a special effect attached to the (hand + right) of UnitArray[32] using Abilities\Weapons\IllidanMissile\IllidanMissile.mdl
                    Special Effect - Destroy (Last created special effect)
                    Special Effect - Create a special effect attached to the chest of UnitArray[31] using Objects\Spawnmodels\Critters\Albatross\CritterBloodAlbatross.mdl
                    Special Effect - Destroy (Last created special effect)
                    Unit - Add Xen - Armor (+1) to UnitArray[32]
                    Unit - Set level of Xen - Armor (+1) for UnitArray[32] to (Number of units in UntG_NanhVuot)
                Else - Actions
                    Do nothing
            Custom script:   call DestroyGroup (udg_UntG_NanhVuot)
        Else - Actions
            Do nothing
    Trigger - Turn on (This trigger)
Dòng nay phải trước cái 33 chứ Set UnitArray[32] = (Damage source)
Nếu không thì cái 33 sao nhận dạng

và có vài leak mới check
Mã:
(Line: 123 ) (Word: 11 )  Position Leak
Unit - Cause UnitArray[32] to damage UnitArray[31], dealing ((Distance between (Position of UnitArray[32]) and (Position of UnitArray[31])) x (0.05 x (Real((Level of Ngu Loi Cong for UnitArray[32]))))) damage of attack type Hero and damage type Normal  
Unit - Cause UnitArray[32] to damage UnitArray[31], dealing ((Distance between ^Leak
(Suggested fix) Set L = (Position of UnitArray[32]) and (Position of UnitArray[31])) x (0.05 x (Real((Level of Ngu Loi Cong for UnitArray[32]))))) damage of attack type Hero and damage type Normal  
(Suggested fix) Unit - Cause UnitArray[32] to damage UnitArray[31], dealing ((Distance between L 
(Suggested fix) Custom Script: call RemoveLocation(udg_L) 

(Line: 123 ) (Word: 15 )  Position Leak
Unit - Cause UnitArray[32] to damage UnitArray[31], dealing ((Distance between (Position of UnitArray[32]) and (Position of UnitArray[31])) x (0.05 x (Real((Level of Ngu Loi Cong for UnitArray[32]))))) damage of attack type Hero and damage type Normal  
Unit - Cause UnitArray[32] to damage UnitArray[31], dealing ((Distance between (Position of UnitArray[32]) and ^Leak
(Suggested fix) Set L = (Position of UnitArray[32]) and (Position of UnitArray[31])) x (0.05 x (Real((Level of Ngu Loi Cong for UnitArray[32]))))) damage of attack type Hero and damage type Normal  
(Suggested fix) Unit - Cause UnitArray[32] to damage UnitArray[31], dealing ((Distance between (Position of UnitArray[32]) and L 
(Suggested fix) Custom Script: call RemoveLocation(udg_L) 

(Line: 218 ) (Word: 9 )  Position Leak
Set UntG_NanhVuot = (Units in (Region centered at (Position of UnitArray[32]) with size (1000.00, 1000.00)) matching ((((Matching unit) is A Hero) Equal to (==) True) and (((Matching unit) belongs to an enemy of (Owner of UnitArray[32])) Equal to (==) True)))  
Set UntG_NanhVuot = (Units in (Region centered at ^Leak
(Suggested fix) Set L = (Position of UnitArray[32]) with size (1000.00, 1000.00)) matching ((((Matching unit) is A Hero) Equal to (==) True) and (((Matching unit) belongs to an enemy of (Owner of UnitArray[32])) Equal to (==) True)))  
(Suggested fix) Set UntG_NanhVuot = (Units in (Region centered at L 
(Suggested fix) Custom Script: call RemoveLocation(udg_L)
 
Bảo rồi muốn ko bị bug S thì sử dụng system của anh Tom hướng dẫn về cái Auto-Cast Skill ấy. Rồi thay skill auto cast đó = skill passive Envenomed Spear ==!
 
Cám ơn Kai nhiều,mình cũng vừa kiếm được cái soft check leak >:D<
 
Có vài map mình vào thì nó lại có mấy cái bóng, ai biết mấy cái đó từ đâu ko? Ko phải là doodad, region,.. Lạ quá...
 
Có vài map mình vào thì nó lại có mấy cái bóng, ai biết mấy cái đó từ đâu ko? Ko phải là doodad, region,.. Lạ quá...
Muốn xóa mấy cái bóng đấy đi thì bạn hãy làm như sau:
vào WE rồi chọn File/Calculate shadows and save map
Những cái bóng sẽ còn tồn tại cho dù đã remove sạch sẽ trên map. Làm như thế thì những cái bóng trong map mới mất đi.
 
Hay! cho xin luôn trình tìm leak gì đó đi mọi người. Mà nó chỉ tìm leak thôi hay ghi cách sửa luôn??
 
Hay! cho xin luôn trình tìm leak gì đó đi mọi người. Mà nó chỉ tìm leak thôi hay ghi cách sửa luôn??
Tool check leak ở đây nhưng leak thường thì ổn ( dạng Point Group đơn giản hay MUI), nhưng có nhiều cái còn hơi điên điên, như set 1 biến Unit thì nó sẽ báo là leak Group nhưng thật ra cái này ko leak, hay nếu set 1 Point hay Group có Array ( vòng Loop A B ) thì khi remove leak vòng Loop dưới nó cũng báo còn leak. Mình sài thì chỉ thấy 2 lỗi này, ai sài thấy còn gì bất khả thi thì nói luôn cho mọi ng` biết
 
Còn vụ này nữa, vd như create 1 jj at center of playable map, thì có leak point, muốn remove thì cần phải đặt biến à @.@
 
Còn vụ này nữa, vd như create 1 jj at center of playable map, thì có leak point, muốn remove thì cần phải đặt biến à @.@
Ừh, tạo lính để farm cũng phải set Point = cái chỗ lính ra, sau khi ra phải remove đi :)) để ko set thì leak ít thôi, nhưng từ đầu map tới cuối map lính ra hoài, góp từ từ thành big leak @@
 
Trời, map có tới mấy chục cái như vậy, nguy hiểm quá... À cho xem thử trig gui mà ông làm về 2 thùng đồ đi!
 
c58efc293b2f2159642a0d96263a5b73_37543279.1.jpg

xin cách fix lỗi jass
 
Nếu mình ko nhầm hiện tượng trên là do bạn dùng EGUI nó ko còn vài cái chưa tương thích với WE...
2 Cách sửa là cậu thay
1/ Thay đổi Trigger của cậu
CustomPolledWait() = TriggerSleepAction() _ với jass
Wait 2.00 game-time seconds = Wait 2.00 seconds _ với GUI
2/ Thay đổi file TriggerData trong thư mục UIfolder cài đặt war3
- Nếu đang bật WE/JNG thì tắt đi
- Ctrl + F, gõ PolledWait, nhấn search sẽ thấy dòng sau
Mã:
PolledWait=1,real
_PolledWait_Defaults=2
_PolledWait_Limits=0,_
_PolledWait_Category=TC_WAIT
_PolledWait_ScriptName="[COLOR="#FF0000"]Custom[/COLOR]PolledWait"
Xóa từ Custom => sẽ đúng và trông như sau _PolledWait_ScriptName="PolledWait"
- Save lại file TriggerData rồi mở lại WE/JNG
 
Chỉnh sửa cuối:
Mình làm thử cái bụi cỏ khi chui vào thì tàng hình giống LOL bằng

event unit enter rect

condition - triggering unit is alive - triggering unit has buff tang hinh equal to false

action - create 1 dummy for triggering unit at xxx xxx

rồi buff tàng hình cho con đó,khi ra thì remove buff tang hinh

nhưng khi test bước vào đó lần đầu thì ko sao,lần thứ 2 thì máy đơ luôn :-s ai có cách nào khả thi chỉ mình với
 
Nếu mình ko nhầm hiện tượng trên là do bạn dùng EGUI nó ko còn vài cái chưa tương thích với WE...
2 Cách sửa là cậu thay
1/ Thay đổi Trigger của cậu
CustomPolledWait() = TriggerSleepAction() _ với jass
Wait 2.00 game-time seconds = Wait 2.00 seconds _ với GUI
2/ Thay đổi file TriggerData trong thư mục UIfolder cài đặt war3
- Nếu đang bật WE/JNG thì tắt đi
- Ctrl + F, gõ PolledWait, nhấn search sẽ thấy dòng sau
Mã:
PolledWait=1,real
_PolledWait_Defaults=2
_PolledWait_Limits=0,_
_PolledWait_Category=TC_WAIT
_PolledWait_ScriptName="[COLOR="#FF0000"]Custom[/COLOR]PolledWait"
Xóa từ Custom => sẽ đúng và trông như sau _PolledWait_ScriptName="PolledWait"
- Save lại file TriggerData rồi mở lại WE/JNG

cảm ơn bạn đã hướng dẫn, nhưng m` vẫn bị lỗi này.
cách 1 thì cách k phải, vì bạn m` vẫn mở bình thường và mình thử 1 số map có jass khác thì vẫn lỗi.
cách 2 thì vẫn không được.

---------- Post added at 12:29 ---------- Previous post was at 11:48 ----------

tình hình sau khi xóa diệt virus ( hôm nọ mới cài vì nhiều virus quá ) , dù đã khôi phục những file war bị xóa nhưng vẫn bị lỗi.
sau khi cài lại war và cả we thì đã khắc phục đc lỗi trên, thanks đã giúp đỡ m`
 
Mình làm thử cái bụi cỏ khi chui vào thì tàng hình giống LOL bằng

event unit enter rect

condition - triggering unit is alive - triggering unit has buff tang hinh equal to false

action - create 1 dummy for triggering unit at xxx xxx

rồi buff tàng hình cho con đó,khi ra thì remove buff tang hinh

nhưng khi test bước vào đó lần đầu thì ko sao,lần thứ 2 thì máy đơ luôn :-s ai có cách nào khả thi chỉ mình với

Ế ?!:P
Cái vụ này giống trong map anh dentatus nè, cái map tên BaWa gì đó đó=)). Anh PM hỏi ảnh luôn cho tiện. Cái bụi cỏ trong map của ảnh đi vô là tàng hình, đi ra là hết tàng hình.
Đặc biệt khi đi vô còn có thể thấy luôn mấy thằng đang núp trong đó, nói chung là đúng ý anh hỏi luôn đó nha.:))
 
minh` bị lỗi tương tự khi dùng EGUI trong Jass. Giờ mình phải làm sao?
 
Mọi người cho hỏi khi mở map nó ghi là: " Main map file could not be opened " thì phải làm sao mới mở đc map ? ( map này bị del sau đó dùng Recover My File 4.9.4 lấy lại )
P.S: Dùng Jass mở luôn cũng thế
 
Chỉnh sửa cuối:
cảm ơn bạn đã hướng dẫn, nhưng m` vẫn bị lỗi này.
cách 1 thì cách k phải, vì bạn m` vẫn mở bình thường và mình thử 1 số map có jass khác thì vẫn lỗi.
cách 2 thì vẫn không được.

---------- Post added at 12:29 ---------- Previous post was at 11:48 ----------

tình hình sau khi xóa diệt virus ( hôm nọ mới cài vì nhiều virus quá ) , dù đã khôi phục những file war bị xóa nhưng vẫn bị lỗi.
sau khi cài lại war và cả we thì đã khắc phục đc lỗi trên, thanks đã giúp đỡ m`

nếu vậy bạn có thể cài thử x design pack của mình :| trong đó có cả EGUI nếu còn bị nữa thì chịu vậy :-??

Mọi người cho hỏi khi mở map nó ghi là: " Main map file could not be opened " thì phải làm sao mới mở đc map ? ( map này bị del sau đó dùng Recover My File 4.9.4 lấy lại )
P.S: Dùng Jass mở luôn cũng thế

tại vì cái file đó không phải là map nữa mặc dù lúc trước nó là map lý do bị vậy do đã bị xóa hủy mãi mãi và dùng tools cứu được nhân dữ liệu file có thể đã bị đề bởi các file khác nhau vì vậy file map đó đã bị hư :-??
 
Status
Không mở trả lời sau này.
Back
Top