Island Defense
May 23, 2012, 07:56:02 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: not so new version:  3.0.6G4, 3.0.8d
 
   Home   Help Search Login Register  
Pages: [1] 2
  Print  
Author Topic: Island Defense 3.0.8c unable to punish gray as mini  (Read 890 times)
0 Members and 1 Guest are viewing this topic.
Sil3nc3r
Worker


Karma: +2/-1
Posts: 31



View Profile
« on: February 24, 2011, 09:30:22 PM »

Well Neco, I'm pretty sure you left the game before noticing this glitch. I was breeze and after I killed taoi I attempted to punish him like I always do, but for some reason it didn't allow me. Then I tested the autopunish, and that seemed to work for the next 5 builders I killed, so it only glitched with the color gray. I will keep testing to see if this glitch reoccurs, and I'm sorry I didn't save the replay, but I'll try to test it out again soon.
Logged
Neco
Self Proclaimed AFK-King
Map Editor
Titanious Minion
*****

Karma: +21/-21
Posts: 985


Tired of your shit

fallingground@live.com
View Profile WWW Email
« Reply #1 on: February 24, 2011, 10:11:03 PM »

Apparently it doesn't work for people that maphack (waiting for confirmation on this).

Logged


Novynn@Azeroth | Novynn@Lordaeron | Novynn@Northrend
Not.Carnerox
Guest
« Reply #2 on: February 25, 2011, 12:26:06 AM »

Ha ha, how would map-hack break punish?
Logged
VAMPSI
Warned
Titan Hunter
****

Karma: +4/-12
Posts: 390

I swear to drunk I'm not God


View Profile
« Reply #3 on: February 25, 2011, 04:32:49 AM »

lal silencer mh?
Logged

Playerof
Guest
« Reply #4 on: February 25, 2011, 05:03:07 AM »

No Neco is just sour.(yes i still can't spell for shit!)
Logged
Sil3nc3r
Worker


Karma: +2/-1
Posts: 31



View Profile
« Reply #5 on: February 25, 2011, 04:22:28 PM »

I don't mh, so its not that, but I'll test it soon. I'm sorry I didn't save replay.
Logged
GodOfChickens
Titanious Minion
*****

Karma: +11/-33
Posts: 686



View Profile
« Reply #6 on: February 25, 2011, 04:29:30 PM »

I don't mh, so its not that, but I'll test it soon. I'm sorry I didn't save replay.
mher
Logged

Sil3nc3r
Worker


Karma: +2/-1
Posts: 31



View Profile
« Reply #7 on: February 25, 2011, 04:40:53 PM »

Hey I actually think it might because taoi uses some macro thing, I don't know the details
Logged
theholysmighter
Titanious Minion
*****

Karma: +8/-35
Posts: 747



View Profile
« Reply #8 on: February 25, 2011, 05:31:47 PM »

Excuse excuse
*mh*
Logged


Sil3nc3r
Worker


Karma: +2/-1
Posts: 31



View Profile
« Reply #9 on: February 25, 2011, 05:36:32 PM »

OMG YOUR MALA!!!
WHERE HAVE YOU BEEN I MISS U <3

Also where have you been God your never on anymore =(
« Last Edit: February 25, 2011, 05:38:49 PM by Sil3nc3r » Logged
Sil3nc3r
Worker


Karma: +2/-1
Posts: 31



View Profile
« Reply #10 on: February 25, 2011, 09:49:02 PM »

Btw if you guys are wondering it looks like the bug didn't occur in the game when we tested it again, so for now no problems. I like the map neco btw =D
Logged
Sil3nc3r
Worker


Karma: +2/-1
Posts: 31



View Profile
« Reply #11 on: February 25, 2011, 10:40:55 PM »

Okay we tested it again, this time it was yellow and the thing gave yellow my titan as you can see in the middle of it, I had to kick him to get titan back. You can see I tried to repunish and it made him immune. Here's the replay:

http://www.mediafire.com/?u46q0cpa8cmwxm3
Logged
Neco
Self Proclaimed AFK-King
Map Editor
Titanious Minion
*****

Karma: +21/-21
Posts: 985


Tired of your shit

fallingground@live.com
View Profile WWW Email
« Reply #12 on: February 26, 2011, 01:52:05 AM »

It doesn't seem to be player specific, or ability specific at all...

Was there any significant difference between those last games?
Logged


Novynn@Azeroth | Novynn@Lordaeron | Novynn@Northrend
Sil3nc3r
Worker


Karma: +2/-1
Posts: 31



View Profile
« Reply #13 on: February 26, 2011, 02:14:55 AM »

Well the one that we tested real quick had 3 people and I just killed taoi to test it, but the one I posted the replay of was an actual game with more people.
Logged
GodOfChickens
Titanious Minion
*****

Karma: +11/-33
Posts: 686



View Profile
« Reply #14 on: February 26, 2011, 02:56:57 AM »

OMG YOUR MALA!!!
WHERE HAVE YOU BEEN I MISS U <3

Also where have you been God your never on anymore =(
Do I know you? And yes I stopped playing -.-
Logged

Sil3nc3r
Worker


Karma: +2/-1
Posts: 31



View Profile
« Reply #15 on: February 26, 2011, 04:02:14 AM »

I know a lot of people =D.
But that's too bad I think you were a fun person but you know I think everyone is fun <3

Also about the glitch neco and me know its not caused by mh, or color, or name, or the autopunish spell, so if you are playing 3.0.8c make sure you are aware that you randomly you may not be able to punish you're minies and will have to resort to kicking them.
Logged
Neco
Self Proclaimed AFK-King
Map Editor
Titanious Minion
*****

Karma: +21/-21
Posts: 985


Tired of your shit

fallingground@live.com
View Profile WWW Email
« Reply #16 on: February 26, 2011, 04:12:31 AM »

I'll add a "-debug" mode to 3.0.8d so if this ever occurs again, hopefully I'll be able to find the cause.

Until then, it's a real mystery...
Logged


Novynn@Azeroth | Novynn@Lordaeron | Novynn@Northrend
theholysmighter
Titanious Minion
*****

Karma: +8/-35
Posts: 747



View Profile
« Reply #17 on: February 28, 2011, 04:01:44 PM »

OMG YOUR MALA!!!
WHERE HAVE YOU BEEN I MISS U <3

Also where have you been God your never on anymore =(
ive gone rampaging on dota
Logged


Playerof
Guest
« Reply #18 on: February 28, 2011, 06:15:32 PM »

Goddamit mala you missed some of our epic triple quadruple and just plain awesome bases Tongue
Logged
VAMPSI
Warned
Titan Hunter
****

Karma: +4/-12
Posts: 390

I swear to drunk I'm not God


View Profile
« Reply #19 on: February 28, 2011, 11:30:55 PM »

I rape mala at dota (or not)
Logged

Critikill
Guest
« Reply #20 on: March 03, 2011, 11:06:30 AM »

I wanna make a fun db again...

Could the problem be order the ex-builder picked?
Logged
Neco
Self Proclaimed AFK-King
Map Editor
Titanious Minion
*****

Karma: +21/-21
Posts: 985


Tired of your shit

fallingground@live.com
View Profile WWW Email
« Reply #21 on: March 03, 2011, 01:09:44 PM »

Could the problem be order the ex-builder picked?
No, since the trigger takes the unit that the spell was cast upon and acts upon that data alone.
Logged


Novynn@Azeroth | Novynn@Lordaeron | Novynn@Northrend
Critikill
Guest
« Reply #22 on: March 03, 2011, 03:28:21 PM »

Throwing out ideas here, could it be because of the builder the original color died as?

Or the Minion type?

Possibly the name of the mini (doubt it)?
Logged
Neco
Self Proclaimed AFK-King
Map Editor
Titanious Minion
*****

Karma: +21/-21
Posts: 985


Tired of your shit

fallingground@live.com
View Profile WWW Email
« Reply #23 on: March 03, 2011, 07:44:18 PM »

Here, I'll post the code that it uses so you can see what it does and does not use...
Code:
library Punish initializer init
    globals
        boolean AUTO_PUNISH = false
        private constant integer SPELL_ID = 'A0N4'
    endglobals
   
    private function isCage takes nothing returns boolean
        return (GetUnitTypeId(GetTriggerUnit()) == TITAN_PUNISH_CAGE_ID)
    endfunction
   
    private function cond takes nothing returns boolean
        return GetSpellAbilityId() == SPELL_ID and isCage()
    endfunction

    private function act takes nothing returns nothing
        local unit u = GetTriggerUnit()
        local unit t = GetSpellTargetUnit()
        local player p = GetOwningPlayer(u)
        if IsUnitEnemy(t, p) == false then
            call SetUnitOwner ( t, p, true )
            call UnitRemoveBuffs ( t, true, true )
           
            if GetUnitAbilityLevel(t, 'B004') > 0 then
                call IssueImmediateOrder( t, "unimmolation" )
            elseif GetUnitAbilityLevel(t, 'A0LN') > 0 then
                call IssueImmediateOrder( t, "unimmolation" )
            endif
        endif
        set u = null
        set t = null
        set p = null
    endfunction
   
    private function autopunish takes nothing returns nothing
        local integer i = GetIssuedOrderId()
        if i == OrderId("slowon") then
            set AUTO_PUNISH = true
            call DisplayTextToPlayer(GetTriggerPlayer(), 0, 0, "The |cffff0000autopunish|r feature is now |cffff0000ON|r.")
        elseif i == OrderId("slowoff") then
            set AUTO_PUNISH = false
            call DisplayTextToPlayer(GetTriggerPlayer(), 0, 0, "The |cffff0000autopunish|r feature is now |cffff0000OFF|r.")
        endif
    endfunction

    private function init takes nothing returns nothing
        local trigger t = CreateTrigger()
        local trigger tr = CreateTrigger()
       
        call TriggerRegisterAnyUnitEventBJ( tr, EVENT_PLAYER_UNIT_ISSUED_ORDER )
        call TriggerAddCondition(tr, Condition(function isCage))
        call TriggerAddAction( tr, function autopunish )
       
        call TriggerRegisterAnyUnitEventBJ( t, EVENT_PLAYER_UNIT_SPELL_CAST )
        call TriggerAddCondition( t, Condition( function cond ) )
        call TriggerAddAction( t, function act )
    endfunction
endlibrary
JASS/vJASS are all pretty self explanatory so you shouldn't need to ask what things do.
Logged


Novynn@Azeroth | Novynn@Lordaeron | Novynn@Northrend
Yokola95
Murloc
*

Karma: +9/-5
Posts: 77


View Profile Email
« Reply #24 on: March 04, 2011, 01:35:33 AM »

There is something of cool in this code.
First of all this global variable:
                  boolean AUTO_PUNISH = false


Then, this is the best part


    private function autopunish takes nothing returns nothing
        local integer i = GetIssuedOrderId()
        if i == OrderId("slowon") then
            set AUTO_PUNISH = true
            call DisplayTextToPlayer(GetTriggerPlayer(), 0, 0, "The |cffff0000autopunish|r feature is now |cffff0000ON|r.")
        elseif i == OrderId("slowoff") then
            set AUTO_PUNISH = false
            call DisplayTextToPlayer(GetTriggerPlayer(), 0, 0, "The |cffff0000autopunish|r feature is now |cffff0000OFF|r.")
        endif
    endfunction

I've never read that the autopunish fature is now ON or OFF, explainations? What the fuck does this mean:   OrderId("slowon")
Logged
Pages: [1] 2
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!