The Big S
New Member
- Reaction score
- 6
Alright, so even after all the help I received on my first thread, my map is still causing server splits at the beginning.
Now, I found the first problem, which was the custom declared locals at the very beginning of map initialization. Unfortunately, once I took those off, it must have detected too many leaks in my map and now it kicks people out before anything happens. Should I just make it at 1 second of game time, and then put the custom script back in?
I really need to get some help for this
Now, I found the first problem, which was the custom declared locals at the very beginning of map initialization. Unfortunately, once I took those off, it must have detected too many leaks in my map and now it kicks people out before anything happens. Should I just make it at 1 second of game time, and then put the custom script back in?
I really need to get some help for this
Code:
Initialization Procedures
Events
Map initialization
Conditions
Actions
Game - Display to (All players) for 5.00 seconds the text: |cfffff000Welcome t...
Wait 1.00 seconds
Game - Display to (All players) for 5.00 seconds the text: |cfffff000Initializ...
Wait 1.00 seconds
Game - Hide creep camps on the minimap
Game - Disable ally color button and Disable creep camp button
Special Effect - Create a special effect attached to the overhead of Gleria (Trolls Quest) 0033 <gen> using Abilities\Spells\Other\TalkToMe\TalkToMe.mdl
Special Effect - Create a special effect attached to the overhead of Gorus Antlis (A simple delivery Quest) 0080 <gen> using Abilities\Spells\Other\TalkToMe\TalkToMe.mdl
Quest - Create a Required quest titled Characters and Clas... with the description Upon entering Athel..., using icon path ReplaceableTextures\CommandButtons\BTNScroll.blp
Quest - Create a Required quest titled Quests with the description In Athelor, people,..., using icon path ReplaceableTextures\CommandButtons\BTNScroll.blp
Quest - Create a Optional quest titled Command List with the description Refer to the follow..., using icon path ReplaceableTextures\CommandButtons\BTNScroll.blp
Quest - Create a Optional quest titled Credits with the description Although Athelor OR..., using icon path ReplaceableTextures\CommandButtons\BTNScroll.blp
Wait 1.00 seconds
Set PlayerHouseActual[1] = Player1House <gen>
Set PlayerHouseActual[2] = Player2House <gen>
Set PlayerHouseActual[3] = Player3House <gen>
Set PlayerHouseActual[4] = Player4House <gen>
Set PlayerHouseActual[5] = Player5House <gen>
Set PlayerHouseActual[6] = Player6House <gen>
Set PlayerHouseActual[7] = Player7House <gen>
Set PlayerHouseActual[8] = Player8House <gen>
Set rank2chest[1] = A Strongbox 0089 <gen>
Set rank2chest[2] = A Strongbox 0100 <gen>
Set rank2chest[3] = A Strongbox 0102 <gen>
Set rank2chest[4] = A Strongbox 0104 <gen>
Set rank2chest[5] = A Strongbox 0106 <gen>
Set rank2chest[6] = A Strongbox 0108 <gen>
Set rank2chest[7] = A Strongbox 0110 <gen>
Set rank2chest[8] = A Strongbox 0112 <gen>
Dialog - Change the title of SmithDialog[1] to What would you like...
Dialog - Change the title of SmithDialog[2] to Choose a weapon to ...
Dialog - Create a dialog button for SmithDialog[1] labelled Smith A Weapon
Set SmithButton[1] = (Last created dialog Button)
Dialog - Create a dialog button for SmithDialog[1] labelled Smith Armour
Set SmithButton[2] = (Last created dialog Button)
Dialog - Create a dialog button for SmithDialog[1] labelled |cffff0000Cancel|r
Dialog - Create a dialog button for SmithDialog[2] labelled Iron Dagger
Set SmithButton[3] = (Last created dialog Button)
Dialog - Create a dialog button for SmithDialog[2] labelled Iron Shortsword
Set SmithButton[4] = (Last created dialog Button)
Dialog - Create a dialog button for SmithDialog[2] labelled Iron Axe
Set SmithButton[5] = (Last created dialog Button)
Dialog - Create a dialog button for SmithDialog[2] labelled Steel Dagger
Set SmithButton[6] = (Last created dialog Button)
Dialog - Create a dialog button for SmithDialog[2] labelled Steel Shortsword
Set SmithButton[7] = (Last created dialog Button)
Dialog - Create a dialog button for SmithDialog[2] labelled |cff00ff00More...|r
Set SmithButton[8] = (Last created dialog Button)
Dialog - Create a dialog button for SmithDialog[3] labelled Steel Axe
Set SmithButton[9] = (Last created dialog Button)
Dialog - Create a dialog button for SmithDialog[2] labelled |cffff0000Cancel|r
Wait 1.00 seconds
Set Group1 = (Units owned by Neutral Hostile)
Set Loop = 0
Game - Display to (All players) for 5.00 seconds the text: |cfffff000Initializ...
Unit Group - Pick every unit in Group1 and do (Actions)
Loop - Actions
Set Creep_Type[Loop] = (Unit-type of (Picked unit))
Set Creep_Position[Loop] = (Position of (Picked unit))
Unit - Set the custom value of (Picked unit) to Loop
Trigger - Add to Damage Over Character <gen> the event (Unit - (Picked unit) Takes damage)
Set Loop = (Loop + 1)
Player - Disable sleeping for all creeps
Wait 1.00 seconds
Game - Display to (All players) for 5.00 seconds the text: |cfffff000Initializ...
Wait 1.00 seconds
Set TempForce = (All players matching (((Matching player) controller) Equal to User))
Advanced - Initialize advanced triggers
Wait 1.00 seconds
Advanced - Customize the hero save system to Save Life and Mana
Advanced - Customize the hero save system to Save Strength, Intelligence, Agility
Advanced - Customize the hero save system to Save Gold and Lumber
Advanced - Customize the hero save system to Save Carried Items
Advanced - Customize the hero save system to Save Owning Player Name
Advanced - Customize the hero save system to Save Skill Levels
Advanced - Customize the hero save system to Ignore Current Position
Player Group - Pick every player in TempForce and do (Actions)
Loop - Actions
Set BindPoint[(Player number of (Picked player))] = ArvaleRevival <gen>
Unit - Hide rank2chest[(Player number of (Picked player))]
Set TempPoint = (Random point in ClassSelection <gen>)
Unit - Create 1 Class Selector for (Picked player) at TempPoint facing Default building facing (270.0) degrees
Set CharChooser[(Player number of (Picked player))] = (Last created unit)
Visibility - Create an initially Disabled visibility modifier for (Picked player) emitting Visibility across ZONE Arvale Village <gen>
Set ArvaleVis[(Player number of (Picked player))] = (Last created visibility modifier)
Visibility - Create an initially Disabled visibility modifier for (Picked player) emitting Visibility across ZONE Iridius City <gen>
Set IridiusVis[(Player number of (Picked player))] = (Last created visibility modifier)
Player - Make (Picked player) treat Player 9 (Gray) as an Ally
Player - Make Player 9 (Gray) treat (Picked player) as an Ally
Game - Display to (Player group((Picked player))) for 5.00 seconds the text: |cfffff000Welcome t...
Set AlreadyRepicking[(Player number of (Picked player))] = True
Camera - Pan camera for (Picked player) to TempPoint over 0.00 seconds
Custom script: call DestroyGroup(udg_Group1)
Custom script: call DestroyForce(udg_TempForce)
Custom script: call RemoveLocation(udg_TempPoint)