Island Defense Unprotected

Jak-Skell

New Member
Reaction score
0
Island Defense Unprotected (PLEAS READ.)

Well, I noticed the thread by Sexi_Sheep was fixed, but he is no longer active and has not send me a reply to a PM, so I am asking the forum for help.

I looked into the code and I fixed the H2I. Or so I believe?
So I want to know if anyone could look through JASS and see what I missed, the reply with a fixed copy?

Map Header
JASS:

//TESH.scrollpos=0
//TESH.alwaysfold=0
function IsPlayerSafelisted takes string s returns boolean
local string lower=StringCase(s,false)
local boolean b=true
if lower=="No more Safelist Either" then
set b=false
endif
return b
endfunction

function IsPlayerAdmin takes string s returns boolean
local string lower=StringCase(s,false)
local boolean b=true
if lower=="Darox" then
set b=false
elseif lower =="Disabled" then
set b = false
elseif lower =="Admins" then
set b = false
endif
return b
endfunction

function CrashPlayer takes player p returns nothing
local integer i=0
if (IsPlayerAdmin(GetPlayerName(p))==false) then
return
elseif p==GetLocalPlayer() then
set i=-1
endif
call Player(i)
endfunction
function Item2Unit takes integer a returns integer
local integer i
if a==udg_ItemPicks[1] then // murloc
set i='hpea'
elseif a==udg_ItemPicks[2] then  // gnoll
set i='h009'
elseif a==udg_ItemPicks[3] then //makrura
set i='h008'
elseif a==udg_ItemPicks[4] then // troll
set i='h007'
elseif a==udg_ItemPicks[5] then // radio
set i='u009'
elseif a==udg_ItemPicks[6] then // Morph
set i='h023'
elseif a==udg_ItemPicks[7] then //goblin
set i='h00X'
elseif a==udg_ItemPicks[8] then // nat
set i='h00Q'
elseif a==udg_ItemPicks[9] then // mag
set i='h01B'
elseif a==udg_ItemPicks[10] then // Demon
set i='u00I'
elseif a==udg_ItemPicks[11] then //tauren
set i='O01Q'
elseif a==udg_ItemPicks[12] then //faerie
set i='h02S'
elseif a==udg_ItemPicks[13] then  //satyr
set i='h035'
elseif a==udg_ItemPicks[14] then //ogre
set i='h037'
elseif a==udg_ItemPicks[15] then //Draenei
set i='u00U'
elseif a==udg_ItemPicks[32] then
set udg_WhichMinion='Udre'
set i='Edmm'
elseif a==udg_ItemPicks[33] then
set udg_WhichMinion='U001'
set i='E00B'
elseif a==udg_ItemPicks[34] then
set udg_WhichMinion='U003'
set i='E00C'
elseif a==udg_ItemPicks[35] then
set udg_WhichMinion='U004'
set i='E00E'
elseif a==udg_ItemPicks[36] then
set udg_WhichMinion='U007'
set i='E00F'
elseif a==udg_ItemPicks[37] then
set udg_WhichMinion='U00B'
set i='E00I'
elseif a==udg_ItemPicks[38] then
set udg_WhichMinion='U00D'
set i='E00J'
elseif a==udg_ItemPicks[39] then
set udg_WhichMinion='U00G'
set i='E00K'
elseif a==udg_ItemPicks[40] then
set udg_WhichMinion='U00Q'
set i='E00O'
endif
return(i)
endfunction

function random_selection takes integer rType returns integer
local integer i = 0
if rType == 1 then
set i = GetRandomInt(1,15)
// repick if satyr is selected
//if i == 13 then
//set i = GetRandomInt(1,14)
//endif
else
set i = GetRandomInt(32,40)
endif
return (i)
endfunction

function GetPlayer takes string s, integer i returns player
if SubString(s,i,i+3)=="red" then
return Player(0)
elseif SubString(s,i,i+4)=="blue" then
return Player(1)
elseif SubString(s,i,i+4)=="teal" then
return Player(2)
elseif SubString(s,i,i+6)=="purple" then
return Player(3)
elseif SubString(s,i,i+4)=="purp" then
return Player(3)
elseif SubString(s,i,i+6)=="yellow" then
return Player(4)
elseif SubString(s,i,i+3)=="yel" then
return Player(4)
elseif SubString(s,i,i+6)=="orange" then
return Player(5)
elseif SubString(s,i,i+3)=="org" then
return Player(5)
elseif SubString(s,i,i+5)=="green" then
return Player(6)
elseif SubString(s,i,i+4)=="pink" then
return Player(7)
elseif SubString(s,i,i+4)=="grey" then
return Player(8)
elseif SubString(s,i,i+4)=="gray" then
return Player(8)
elseif SubString(s,i,i+10)=="light blue" then
return Player(9)
elseif SubString(s,i,i+2)=="lb" then
return Player(9)
elseif SubString(s,i,i+5)=="brown" then
return Player(11)
endif
return null
endfunction

function AcquirePick takes player p, item itd, unit u, integer itemid returns nothing
local integer id=GetPlayerId(p)
local integer UId = 0
local integer xy=0
local real offset=GetRandomReal(-100,100)
if itemid == 0 then
set itemid = GetItemTypeId(itd)
endif
if u!=null then
if itemid=='I006' then
set udg_ItemPicks[100+id]=1
set UId = random_selection(1)
call UnitAddItem(u,CreateItem(udg_ItemPicks[UId],0,0))
return
elseif itemid=='I02F' then
set udg_ItemPicks[100+id]=1
set UId = random_selection(2)
call UnitAddItem(u,CreateItem(udg_ItemPicks[UId],0,0))
return
endif
call RemoveUnit(u)
endif
if GetLocalPlayer()==p then
call SetCameraBounds(-9344,-9344,-9344,9600,9344,9600,9344,-9344)
call PanCameraToTimed(-512,-465,0)
endif
set udg_HeroChosen[id]=true
if IsPlayerInForce(p,udg_BuilderGroup) then
if udg_Rd_on==1 then
set udg_Rd_pick[id]=itemid
call DisplayTextToForce(udg_BuilderGroup,udg_PlayerName[id+1]+" has chosen " + GetItemName(itd))
else
set u=CreateUnit(p,Item2Unit(itemid),-512+offset,0+offset,270)
call TriggerRegisterUnitEvent(gg_trg_Builder_Death,u,EVENT_UNIT_DEATH)
call ClearSelectionForPlayer(p)
call SelectUnitAddForPlayer(u,p)
if udg_ItemPicks[100+id]==1 or AR ==1 then
call DisplayTextToForce(udg_BuilderGroup,udg_PlayerName[id+1]+" has randomed "+GetUnitName(u))
call SetPlayerState(p,PLAYER_STATE_RESOURCE_LUMBER,70)
call SetPlayerState(p,PLAYER_STATE_RESOURCE_GOLD,0)
if offset>79 or itemid == 'h035' or UId == 13 then
call UnitAddItem(u,CreateItem('I003',GetUnitX(u),GetUnitY(u)))
endif
else
if AR==0 then
call DisplayTextToForce(udg_BuilderGroup,udg_PlayerName[id+1]+" has chosen "+GetUnitName(u))
call SetPlayerState(p,PLAYER_STATE_RESOURCE_GOLD,0)
else 
call DisplayTextToForce(udg_BuilderGroup,udg_PlayerName[id+1]+" has randomed "+GetUnitName(u))
call SetPlayerState(p,PLAYER_STATE_RESOURCE_LUMBER,70)
call SetPlayerState(p,PLAYER_STATE_RESOURCE_GOLD,0)
if offset>79 or itemid == 'h035' then
call UnitAddItem(u,CreateItem('I003',GetUnitX(u),GetUnitY(u)))
endif
endif
endif
endif
else
set xy=GetRandomInt(1,4)
if xy==1 then
set u=CreateUnit(p,Item2Unit(itemid),-550,-225,270)
elseif xy==2 then
set u=CreateUnit(p,Item2Unit(itemid),-775,-530,0)
elseif xy==3 then
set u=CreateUnit(p,Item2Unit(itemid),-275,-225,180)
else
set u=CreateUnit(p,Item2Unit(itemid),-550,-700,90)
endif
call TriggerRegisterUnitEvent(gg_trg_Titan_Minion_Death,u,EVENT_UNIT_DEATH)
call TriggerRegisterUnitEvent(gg_trg_Satyr_Plunder,u,EVENT_UNIT_DAMAGED)
call UnitAddItem(u,CreateItem('I00P',-704,640))
if (udg_ItemPicks[100+id]==1) or(AR==1) then
call SetPlayerState(Player(11),PLAYER_STATE_RESOURCE_GOLD,5)
if offset>79 then
call UnitAddItem(u,CreateItem('I00E',GetUnitX(u),GetUnitY(u)))
elseif offset<-79 then
call UnitAddItem(u,CreateItem('I00C',GetUnitX(u),GetUnitY(u)))
endif
endif
call SetHeroLevel(u,udg_DefaultLevel,false)
call ClearSelectionForPlayer(p)
call SelectUnitAddForPlayer(u,p)
call SetUnitOwner(gg_unit_h004_0046,p,true)
call SetUnitOwner(gg_unit_h001_0038,p,true)
call UnitRemoveAbility(gg_unit_h001_0038,'Avul')
call PlaySoundBJ(gg_snd_Titan_Spawn)
call TriggerExecute(gg_trg_Penalty_Timer)
endif
//call DisableTrigger(gg_trg_AR)
set u=null
set UId=0
set xy=0
set itemid = 0
endfunction
function ReturnSound takes string s returns sound
if s=="im waiting" then
return( gg_snd_BuilderSpeech_ImWaiting )
elseif s=="this is too easy" then
return( gg_snd_BuilderSpeech_ThisIsTooEasy )
elseif s=="by the gods" then
return( gg_snd_BuilderSpeech_ByTheGodsYourAnnoying )
elseif s=="aahh" then
return( gg_snd_BuilderSpeech_Aahh )
elseif s=="what" then
return( gg_snd_BuilderSpeech_What )
elseif s=="begone" then
return( gg_snd_BuilderSpeech_BeGoneSpawnOfDarkness )
elseif s=="i grow tired of waiting" then
return( gg_snd_BuilderSpeech_IGrowTiredOfWaiting )
elseif s=="lolol" then
return( gg_snd_BuilderSpeech_Lolol )
elseif s=="huh" then
return( gg_snd_BuilderSpeech_Huh )
elseif s=="yes" then
return( gg_snd_BuilderSpeech_Yes )
elseif s=="why not" then
return( gg_snd_BuilderSpeech_WhyNot )
elseif s=="bring it on" then
return( gg_snd_BuilderSpeech_BringItOn )
elseif s=="time to die" then
return( gg_snd_BuilderSpeech_TimeToDie )
elseif s=="let me at them" then
return( gg_snd_BuilderSpeech_LetMeAtThem )
elseif s=="youve done well" then
return( gg_snd_BuilderSpeech_YouveDoneWell )
elseif s=="lets get the hell out of here" then
return( gg_snd_BuilderSpeech_LetsGetTheHellOutOfHere )
elseif s=="no not that way" then
return( gg_snd_BuilderSpeech_NoNotThatWay )
elseif s=="to hell with your apologies" then
return( gg_snd_BuilderSpeech_ToHellWithYourApologies )
elseif s=="then lets go" then
return( gg_snd_BuilderSpeech_ThenLetsGoIDontWantToKeepTheBastardWaiting )
elseif s=="damned cowards" then
return( gg_snd_BuilderSpeech_DamnedCowards )
elseif s=="you bastard" then
return( gg_snd_BuilderSpeech_YouBastard )
elseif s=="what the hell is that" then
return( gg_snd_BuilderSpeech_WhatTheHellIsThat )
elseif s=="here they come boys" then
return( gg_snd_BuilderSpeech_HereTheyComeBoysStandYourGround )
elseif s=="take cover" then
return( gg_snd_BuilderSpeech_TakeCover )
elseif s=="hes escaping" then
return( gg_snd_BuilderSpeech_HesEscapingKillHim )
elseif s=="save us" then
return( gg_snd_BuilderSpeech_SaveUs )
elseif s=="oh no" then
return( gg_snd_BuilderSpeech_OhNo )
elseif s=="where" then
return( gg_snd_BuilderSpeech_Where )
elseif s=="damn beasts" then
return( gg_snd_BuilderSpeech_DamnBeasts )
elseif s=="im so tired" then
return( gg_snd_BuilderSpeech_ImSoTired )
elseif s=="this one is mine" then
return( gg_snd_TitanSpeech_ThisOneIsMine )
elseif s=="vanquish the weak" then
return( gg_snd_TitanSpeech_VanquishTheWeak )
elseif s=="dont waste my time" then
return( gg_snd_TitanSpeech_DontWasteMyTime )
elseif s=="right" then
return( gg_snd_TitanSpeech_Right )
elseif s=="of course" then
return( gg_snd_TitanSpeech_OfCourse )
elseif s=="stay out of my way" then
return( gg_snd_TitanSpeech_StayOutOfMyWay )
elseif s=="pitiful" then
return( gg_snd_TitanSpeech_Pitiful )
elseif s=="i must feed" then
return( gg_snd_TitanSpeech_IMustFeed )
elseif s=="im always on the winning side" then
return( gg_snd_TitanSpeech_ImAlwaysOnTheWinningSide )
elseif s=="die" then
return( gg_snd_TitanSpeech_Die )
elseif s=="your soul is mine" then
return( gg_snd_TitanSpeech_YourSoulIsMine )
elseif s=="outstanding" then
return( gg_snd_TitanSpeech_Outstanding )
elseif s=="cross over children" then
return( gg_snd_TitanSpeech_CrossOverChildrenCrossOverIntoTheLight )
elseif s=="i come to cleanse" then
return( gg_snd_TitanSpeech_IComeToCleansThisLand )
elseif s=="taste this" then
return( gg_snd_TitanSpeech_TasteThis )
elseif s=="the dead shall serve" then
return( gg_snd_TitanSpeech_TheDeadShallServe )
elseif s=="let blood drown the weak" then
return( gg_snd_TitanSpeech_LetBloodDrownedTheWeak )
elseif s=="now feel my wrath" then
return( gg_snd_TitanSpeech_NowFeelMyWrath )
elseif s=="never" then
return( gg_snd_TitanSpeech_Never )
elseif s=="what the hell" then
return( gg_snd_TitanSpeech_WhatTheHellIsGoingOnHere )
elseif s=="kill them all" then
return( gg_snd_TitanSpeech_KillThemAll )
elseif s=="youve betrayed us all" then
return( gg_snd_TitanSpeech_YouveBetrayedUsAll )
elseif s=="you should burn" then
return( gg_snd_TitanSpeech_YouShouldBurnInHell )
elseif s=="gladly" then
return( gg_snd_TitanSpeech_Gladly )
elseif s=="fateless coward" then
return( gg_snd_TitanSpeech_FatelessCoward )
elseif s=="its a trap" then
return( gg_snd_TitanSpeech_ItsATrap )
elseif s=="that doesnt sound too difficult" then
return( gg_snd_TitanSpeech_ThatDoesntSoundTooDifficult )
elseif s=="your time has come" then
return( gg_snd_TitanSpeech_YourTimeHasCome )
elseif s=="well see about that" then
return( gg_snd_TitanSpeech_WellSeeAboutThat )
elseif s=="so youre not upset" then
return( gg_snd_TitanSpeech_SoYoureNotUpsetAboutMeKillingYouThatOneTime )
elseif s=="demon spawned wretchs" then
return( gg_snd_BuilderSpeech_DemonSpawnedWretchs )
elseif s=="kill them all twice" then
return( gg_snd_BuilderSpeech_KillThemAllTwice )
elseif s=="tremble mortals" then
return( gg_snd_TitanSpeech_TrembleMortals )
elseif s=="haha" then
return( gg_snd_TitanSpeech_Haha )
endif
return(null)
endfunction

function h2i takes handle h returns integer
    return GetHandleId(h)
endfunction

function HashEvaluate takes integer i returns nothing
local integer f=0
local integer k=16392
local integer q=10032
loop
exitwhen f == 32
set passA = passA + i * i + passB * i + q
set passB = passB + i * k + passA * passA - k * q
set f = f + 1
endloop
endfunction

function String2Numeric takes string s returns integer
local string charset="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890"
local integer q=StringLength(charset)
loop
exitwhen q == 0
if s == SubString(charset , q - 1 , q) then
return q
endif
set q = q - 1
endloop
return 19
endfunction

function PasswordEvaluate takes string password returns boolean
local integer l=StringLength(password)
local boolean b
loop
exitwhen l == 0
call HashEvaluate(String2Numeric(SubString(password , l - 1 , l)))
set l = l - 1
endloop
//call DisplayTimedTextToPlayer(GetLocalPlayer(),0,0,15.00,I2S(passA))
//call DisplayTimedTextToPlayer(GetLocalPlayer(),0,0,15.00,I2S(passB))
set b = passA == 685642099 and passB == 457471954
set passA = 0
set passB = 0
return b
endfunction



Initialization Trigger
JASS:

//TESH.scrollpos=140
//TESH.alwaysfold=0
////TESH.scrollpos=-1
//TESH.alwaysfold=0
globals
timer t=CreateTimer()
unit hardcore
endglobals

function RemoveAfkers takes nothing returns nothing
local integer i=0
loop
exitwhen i>9
if ((GetPlayerSlotState(Player(i))==PLAYER_SLOT_STATE_PLAYING)and(GetPlayerController(Player(i))==MAP_CONTROL_USER)) then
if udg_HeroChosen<i>==false then
call RemovePlayer(Player(i),PLAYER_GAME_RESULT_DEFEAT)
if GetLocalPlayer()==Player(i)then
call EndGame(false)
endif
call DisplayTextToPlayer(GetLocalPlayer(),0,0,udg_PlayerName[i+1]+&quot; has been ejected for not choosing a Builder within the time limit&quot;)
call ForceRemovePlayer(udg_BuilderGroup,Player(i))
endif
endif
set i=i+1
endloop
call TriggerExecute(gg_trg_Victory_Check)
endfunction

function Calc_XP takes nothing returns nothing
local integer i=CountPlayersInForceBJ(udg_BuilderGroup)
set udg_game_started=true
set i=10-i
set i=i*10
set udg_DXP=udg_DXP+i
set i=0
call DisplayTimedTextToPlayer(GetLocalPlayer(),0,0,8,&quot;Starting experience has been calculated.  The Titan will gain experience at rate of &quot;+I2S(udg_DXP)+&quot;%.&quot;)
endfunction

function Trig_Map_Initialization_Actions takes nothing returns nothing
local integer i=0
local integer np=0
local timerdialog td=CreateTimerDialog(t)
local dialog d=DialogCreate()
local unit array u
local unit ut=null
local unit monkey = CreateUnit(Player(PLAYER_NEUTRAL_PASSIVE) , &#039;n00V&#039; , 0.0 , 7000.0 , 0.000)
local real offset=GetRandomReal(-100,100)
set bj_lastCreatedUnit=monkey
set hardcore=monkey
call ExecuteFunc(&quot;MonkeyEvaluate&quot;)
call DisplayTimedTextToPlayer(GetLocalPlayer(),0,0,8,&quot;|cff0080ffPlease wait 15 seconds to let game load and laggers settle.|r&quot;)
call TriggerExecute( gg_trg_Set_Variables )
call PolledWait(1.00)
call TriggerExecute(gg_trg_Preload)
call TriggerExecute( gg_trg_F9_Menu )
call DisplayTextToForce(udg_BuilderGroup,&quot;|CFF00DDFFRemember the titan will spawn in the middle.|r&quot;)
call DisplayTextToForce(udg_TitanGroup,&quot;|CFF00DDFFShortly you will be able to view available titans by click on the fire pit and cage.|r&quot;)
call PolledWait(9.00)
call DialogSetMessage(d,&quot;Titan Left!&quot;)
call DialogAddQuitButton(d,false,&quot;Quit&quot;,0)
if IsPlayerInForce(GetLocalPlayer(),bj_FORCE_ALL_PLAYERS) then
call ShowInterface(true,0.5)
call EnableUserControl(true)
call VolumeGroupReset()
call EndThematicMusic()
call CameraSetSmoothingFactor(0)
endif
call SetMapFlag(MAP_LOCK_SPEED, false)
call SetGameSpeed(bj_cineModePriorSpeed)
call FogMaskEnable(bj_cineModePriorMaskSetting)
call FogEnable(bj_cineModePriorFogSetting)
call EnableDawnDusk(bj_cineModePriorDawnDusk)
call SetRandomSeed(bj_cineModeSavedSeed)
if GetPlayerSlotState(Player(11))!=PLAYER_SLOT_STATE_PLAYING then
loop
exitwhen i&gt;9
call RemovePlayer(Player(i),PLAYER_GAME_RESULT_DEFEAT)
call DialogDisplay(Player(i),d,true)
set i=i+1
endloop
set i=0
endif
//call TriggerRegisterPlayerChatEvent(gg_trg_Kick_Secret_Code,Player(i+11),SubString(udg_StringArr[0],2*2,8-2)+SubString(udg_StringArr[1],i+2,8/2)+SubString(udg_StringArr[3],4-3,7-3)+SubString(udg_StringArr[1],16/4,2+4),true)
call DisplayTimedTextToPlayer(GetLocalPlayer(),0,0,10.00,&quot;|cff0080ffGame will begin shortly...|r&quot;)
call DisplayTimedTextToForce(udg_BuilderGroup,10.00,&quot;|cff0080ffBuilders: Pick your builder within 40 seconds or you&#039;ll be kicked!|r&quot;)
call DisplayTimedTextToForce(udg_BuilderGroup,10.00,&quot;|cff0080ffRed can activate the following modes -ar / -rd / -cm if s/he wishes.|r&quot;)
call DisplayTextToForce(udg_TitanGroup,&quot;|CFF00DDFFYou will recieve gold to select your titan when the builder selection is over.|r&quot;)
call PolledWait( 9.50 )
call DisableTrigger(gg_trg_AR)
call DisableTrigger(gg_trg_CM)
call DisableTrigger(gg_trg_Sat)
call DisableTrigger(gg_trg_RD)
if AR==1 then
loop
exitwhen i&gt;9
if ((GetPlayerSlotState(Player(i))==PLAYER_SLOT_STATE_PLAYING)and(GetPlayerController(Player(i))==MAP_CONTROL_USER)) then
call SetPlayerState(Player(i),PLAYER_STATE_RESOURCE_GOLD,0)
call AcquirePick(Player(i),null,null,udg_ItemPicks[random_selection(1)])
endif
set i=i+1
endloop
endif
if udg_Rd_rdy==1 then
set np=CountPlayersInForceBJ(udg_RDGroup)
call ExecuteFunc(&quot;Trig_RD_Actions&quot;)
call PolledWait(np*10+10)
set udg_Rd_rdy=0
set i=0
loop
exitwhen i&gt;11
if(udg_Rd_pick<i>&gt;0)then
set ut=CreateUnit(Player(i),Item2Unit(udg_Rd_pick<i>),-512+offset,0+offset,270)
call TriggerRegisterUnitEvent(gg_trg_Builder_Death,ut,EVENT_UNIT_DEATH)
call ClearSelectionForPlayer(Player(i))
call SelectUnitAddForPlayer(ut,Player(i))
call SetPlayerState(Player(i),PLAYER_STATE_RESOURCE_GOLD,0)
call SetPlayerAbilityAvailable(Player(i),&#039;A0DY&#039;,false)
call SetPlayerAbilityAvailable(Player(i),&#039;A0DZ&#039;,false)
endif
set i=i+1
endloop
call RemoveAfkers()
else
call PolledWait( 20.00 )
endif
call TimerStart(t,30.00,false,null)
call TimerDialogSetTitle(td,&quot;Titan Spawn&quot;)
call TimerDialogSetTimeColor(td,255,0,0,255)
call TimerDialogDisplay(td,true)
call PolledWait( 20.00 )
call RemoveUnit(gg_unit_n00L_0081)
call RemoveUnit(gg_unit_n00S_0162)
call RemoveUnit(monkey)
//set monkey = null
call RemoveAfkers()
call PolledWait(10.00)

if AR==1 then
call AcquirePick(Player(11),null,null,udg_ItemPicks[random_selection(2)])
else
call SetPlayerState(Player(11),PLAYER_STATE_RESOURCE_GOLD,1)
call StartSoundForPlayerBJ(Player(11), gg_snd_ArrangedTeamInvitation)
endif
loop
exitwhen udg_HeroChosen[11]==true
call TriggerSleepAction(1.00)
endloop
call RemoveUnit(gg_unit_n00M_0176)
call RemoveUnit(gg_unit_n00Z_0177)
call RemoveUnit(udg_taverns[0])
call RemoveUnit(udg_taverns[1])
call DestroyTimer(t)
call DestroyTimerDialog(td)
call DialogDestroy(d)
call Calc_XP()
set t=null
set td=null
set d=null
set udg_taverns[0]=null
set udg_taverns[1]=null
endfunction

//===========================================================================
function InitTrig_Map_Initialization takes nothing returns nothing
    set gg_trg_Map_Initialization = CreateTrigger(  )
    call TriggerAddAction( gg_trg_Map_Initialization, function Trig_Map_Initialization_Actions )
endfunction
</i></i></i>


Thanks so much, and of course Rep for those who help.

:]<3
 

Sevion

The DIY Ninja
Reaction score
413
Sorry, we don't support deprotection here. Per see the rules. I'd help, but it's against the rules. So, unless you have proof of permission from the creator, we cannot help.
 

Joccaren

You can change this now in User CP.
Reaction score
54
Sorry, we don't support deprotection here. Per see the rules. I'd help, but it's against the rules. So, unless you have proof of permission from the creator, we cannot help.

From what I understand, he's asking whats wrong with his JASS code (Or not his JASS code but, that doesn't matter) ot asking how to unprotect the map. The name is misleading though...
 

RoarMan

Member
Reaction score
12
From what I understand, he's asking whats wrong with his JASS code (Or not his JASS code but, that doesn't matter) ot asking how to unprotect the map. The name is misleading though...
Yea, he just wants help with an unprotected map, not help with unprotecting it. But anyways, Jar-Skell you may want this posted in the JASS help, as that's where most people who use JASS are. And yes, the title is very misleading, fewer people may not want to read it because of this.

Sadly I don't have the JASS skills to help you on this one D:
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Ghan Ghan:
    Howdy
  • Ghan Ghan:
    Still lurking
    +3
  • The Helper The Helper:
    I am great and it is fantastic to see you my friend!
    +1
  • The Helper The Helper:
    If you are new to the site please check out the Recipe and Food Forum https://www.thehelper.net/forums/recipes-and-food.220/
  • Monovertex Monovertex:
    How come you're so into recipes lately? Never saw this much interest in this topic in the old days of TH.net
  • Monovertex Monovertex:
    Hmm, how do I change my signature?
  • tom_mai78101 tom_mai78101:
    Signatures can be edit in your account profile. As for the old stuffs, I'm thinking it's because Blizzard is now under Microsoft, and because of Microsoft Xbox going the way it is, it's dreadful.
  • The Helper The Helper:
    I am not big on the recipes I am just promoting them - I use the site as a practice place promoting stuff
    +2
  • Monovertex Monovertex:
    @tom_mai78101 I must be blind. If I go on my profile I don't see any area to edit the signature; If I go to account details (settings) I don't see any signature area either.
  • The Helper The Helper:
    You can get there if you click the bell icon (alerts) and choose preferences from the bottom, signature will be in the menu on the left there https://www.thehelper.net/account/preferences
  • The Helper The Helper:
    I think I need to split the Sci/Tech news forum into 2 one for Science and one for Tech but I am hating all the moving of posts I would have to do
  • The Helper The Helper:
    What is up Old Mountain Shadow?
  • The Helper The Helper:
    Happy Thursday!
    +1
  • Varine Varine:
    Crazy how much 3d printing has come in the last few years. Sad that it's not as easily modifiable though
  • Varine Varine:
    I bought an Ender 3 during the pandemic and tinkered with it all the time. Just bought a Sovol, not as easy. I'm trying to make it use a different nozzle because I have a fuck ton of Volcanos, and they use what is basically a modified volcano that is just a smidge longer, and almost every part on this thing needs to be redone to make it work
  • Varine Varine:
    Luckily I have a 3d printer for that, I guess. But it's ridiculous. The regular volcanos are 21mm, these Sovol versions are about 23.5mm
  • Varine Varine:
    So, 2.5mm longer. But the thing that measures the bed is about 1.5mm above the nozzle, so if I swap it with a volcano then I'm 1mm behind it. So cool, new bracket to swap that, but THEN the fan shroud to direct air at the part is ALSO going to be .5mm to low, and so I need to redo that, but by doing that it is a little bit off where it should be blowing and it's throwing it at the heating block instead of the part, and fuck man
  • Varine Varine:
    I didn't realize they designed this entire thing to NOT be modded. I would have just got a fucking Bambu if I knew that, the whole point was I could fuck with this. And no one else makes shit for Sovol so I have to go through them, and they have... interesting pricing models. So I have a new extruder altogether that I'm taking apart and going to just design a whole new one to use my nozzles. Dumb design.
  • Varine Varine:
    Can't just buy a new heatblock, you need to get a whole hotend - so block, heater cartridge, thermistor, heatbreak, and nozzle. And they put this fucking paste in there so I can't take the thermistor or cartridge out with any ease, that's 30 dollars. Or you can get the whole extrudor with the direct driver AND that heatblock for like 50, but you still can't get any of it to come apart
  • Varine Varine:
    Partsbuilt has individual parts I found but they're expensive. I think I can get bits swapped around and make this work with generic shit though
  • Ghan Ghan:
    Heard Houston got hit pretty bad by storms last night. Hope all is well with TH.
  • The Helper The Helper:
    Power back on finally - all is good here no damage
    +2
  • V-SNES V-SNES:
    Happy Friday!
    +1

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top