codepage in war3map.j ?

General talk about editing, cheating, and deprotecting maps.

Moderator: Cheaters

User avatar
Cagik
Old Wrinkly Member
Posts: 270
Joined: May 28th, 2008, 10:18 am
Location: Ukraine

codepage in war3map.j ?

Post by Cagik »

Hi,
What coding in war3map.j a file?
I do the program cp adder and I do not know as the coding
Because of it it turns out vv
Spoiler:
globalsinteger array udg_AttackingUnitTypeunit array udg_Herodialog array udg_Dialogbutton array udg_DialogButtondialog array udg_StartingDialogquest array udg_Questquestitem array udg_QuestsRequirementstring array function Trig_Quest_4_next_Conditions))call TriggerAddAction(gg_trg_Quest_4_next,function Trig_Quest_4_next_Actions)endfunctionfunction Trig_Quest_5_Conditions takes nothing returns booleanif(not(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO)==true))thenreturn falseendifif(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I00M')==true))thenreturn falseendifreturn trueendfunctionfunction Trig_Quest_5_Actions takes nothing returns nothingcall DisableTrigger(GetTriggeringTrigger())call PlaySoundBJ(gg_snd_QuestNew)call QuestMessageBJ(GetPlayersAll(),bj_QUESTMESSAGE_DISCOVERED,"|cffffcc00ПОЛУЧЕНО ЗАДАНИЕ|r
Порченый источник жизни
- Доберитесь до храма магов

К несчастью источник жизни испорчен, единственный кто может помочь в этой ситуации это маг.")call QuestSetEnabledBJ(true,udg_Quest[5])set udg_QuestRegion=gg_rct_Quest_region_5call 8080Добераться до храма магов ( Выполнено )|r

Вы добрались до храма. Маг, живущий здесь, посоветовал вам найти 3 святых артефакта феникса, с помощью которых он сможет очистить источник жизни от скверны, наполнившей его.")call QuestItemSetDescriptionBJ(udg_QuestsRequirement[8],"Найти Лапу Феникса")call QuestItemSetDescriptionBJ(udg_QuestsRequirement[9],"Найти Голову Феникса")call QuestItemSetDescriptionBJ(udg_QuestsRequirement[10],"Найти Яйцо Феникса")call QuestItemSetDescriptionBJ(udg_QuestsRequirement[11],"Вернуться к магу")set TP=GetRectCenter(gg_rct_Quest_5_Item_loc_1)call CreateItemLoc('I00N',TP)set udg_QuestItem[2]=GetLastCreatedItem()call SetItemInvulnerableBJ(GetLastCreatedItem(),true)call RemoveLocation(TP)set TP=GetRectCenter(gg_rct_Quest_5_Item_loc_2)call CreateItemLoc('I00O',TP)set udg_QuestItem[3]=GetLastCreatedItem()call SetItemInvulnerableBJ(GetLastCreatedItem(),true)call RemoveLocation(TP)set TP=GetRectCenter(gg_rct_Quest_5_Item_loc_3)call CreateItemLoc('I00P',TP)set udg_QuestItem[4]=GetLastCreatedItem()call SetItemInvulnerableBJ(GetLastCreatedItem(),true)call RemoveLocation(TP)call DisableTrigger(gg_trg_Standart_Ping_minimap)call EnableTrigger(gg_trg_Quest_5_ping_minimap)call EnableTrigger(gg_trg_Quest_5_requirement_2)call EnableTrigger(gg_trg_Quest_5_requirement_3)call EnableTrigger(gg_trg_Quest_5_requirement_4)set TP=nullendfunctionfunction InitTrig_Quest_5_requirement_1 takes nothing returns nothingset gg_trg_Quest_5_requirement_1=CreateTrigger()call TriggerRegisterEnterRectSimple(gg_trg_Quest_5_requirement_1,gg_rct_Quest_region_5)call TriggerAddCondition(gg_trg_Quest_5_requirement_1,Condition(function Trig_Quest_5_requirement_1_Conditions))call TriggerAddAction(gg_trg_Quest_5_requirement_1,function Trig_Quest_5_requirement_1_Actions)endfunctionfunction Trig_Quest_5_requirement_2_Conditions takes nothing returns booleanif(not(GetManipulatedItem()==udg_QuestItem[2]))thenreturn falseendifreturn trueendfunctionfunction Trig_Quest_5_requirement_2_Func007Func007C takes nothing returns booleanif(not(IsQuestItemCompleted(udg_QuestsRequirement[8])==true))thenreturn falseendifif(not(IsQuestItemCompleted(udg_QuestsRequirement[9])==true))thenreturn falseendifif(not(IsQuestItemCompleted(udg_QuestsRequirement[10])==true))thenreturn falseendifreturn trueendfunctionfunction Trig_Quest_5_requirement_2_Func007C takes nothing returns booleanif(not Trig_Quest_5_requirement_2_Func007Func007C())thenreturn falseendifreturn trueendfunctionfunction Trig_Quest_5_requirement_2_Actions takes nothing returns nothingcall DisableTrigger(GetTriggeringTrigger())call PlaySoundBJ(gg_snd_QuestLog)call QuestItemSetCompletedBJ(udg_QuestsRequirement[8],true)call QuestMessageBJ(GetPlayersAll(),bj_QUESTMESSAGE_DISCOVERED,"|cffffcc00ЗАДАНИЕ ИЗМЕНИЛОСЬ|r
Порченый источник жизни")call QuestMessageBJ(GetPlayersAll(),bj_QUESTMESSAGE_UPDATED," - |cff808080Найти Лапу Феникса ( Выполнено )|r

Отлично вы нашли лапу феникса приступайте к поиску остальных артефактов, если таковые остались.")call PolledWait(5.00)if(Trig_Quest_5_requirement_2_Func007C())thencall PlaySoundBJ(gg_snd_QuestLog)call QuestMessageBJ(GetPlayersAll(),bj_QUESTMESSAGE_DISCOVERED,"|cffffcc00ЗАДАНИЕ ИЗМЕНИЛОСЬ|r
Порченый источник жизни
Thanks
grand
Member
Posts: 67
Joined: January 6th, 2008, 10:05 pm

Re: codepage in war3map.j ?

Post by grand »

Add the cheatpack manually if the program does some funny thing like that one that you showed us. The programming in war3map.j is jass.
User avatar
Cagik
Old Wrinkly Member
Posts: 270
Joined: May 28th, 2008, 10:18 am
Location: Ukraine

Re: codepage in war3map.j ?

Post by Cagik »

ANSI,UTF-8...?????
User avatar
Ozzapoo
The Flying Cow!
Posts: 2196
Joined: November 2nd, 2007, 10:34 pm
Location: Melbourne

Re: codepage in war3map.j ?

Post by Ozzapoo »

Try UTF-8.
Visit Ozzapoo.net, my blog and the home of AutoCP and Cheatpack Detector!
AutoCP3 now available for free!
User avatar
Cagik
Old Wrinkly Member
Posts: 270
Joined: May 28th, 2008, 10:18 am
Location: Ukraine

Re: codepage in war3map.j ?

Post by Cagik »

Thanks
User avatar
Ozzapoo
The Flying Cow!
Posts: 2196
Joined: November 2nd, 2007, 10:34 pm
Location: Melbourne

Re: codepage in war3map.j ?

Post by Ozzapoo »

It's probably not right though.
Dekar said it was in UNIX.
Visit Ozzapoo.net, my blog and the home of AutoCP and Cheatpack Detector!
AutoCP3 now available for free!
Dekar
Forum Drunk
Posts: 2915
Joined: January 17th, 2007, 4:22 pm
Has thanked: 1 time
Been thanked: 1 time

Re: codepage in war3map.j ?

Post by Dekar »

Uhm the unix only defines if it uses LF+CR or only LF.
Can still be utf-8 encoded.
Don't pm me with Warcraft questions, this is a forum so just make a post!
In the world of thinking we are all immigrants. -Robert Nozick
User avatar
Ozzapoo
The Flying Cow!
Posts: 2196
Joined: November 2nd, 2007, 10:34 pm
Location: Melbourne

Re: codepage in war3map.j ?

Post by Ozzapoo »

oh right.. ><"
Visit Ozzapoo.net, my blog and the home of AutoCP and Cheatpack Detector!
AutoCP3 now available for free!
User avatar
Cagik
Old Wrinkly Member
Posts: 270
Joined: May 28th, 2008, 10:18 am
Location: Ukraine

Re: codepage in war3map.j ?

Post by Cagik »

Thanks,
I work over two programs