Dan(Tasanar)

Moderator
I am looking for the old skill gates that set all skills to 0 and then set a few skills.

Before I try to script it myself does anyone have this old script?
 
edit: forgot that the AP gate is now part of this other system
http://www.runuo.com/community/threads/runuo-2-0-shard-event-with-ap-event-gate.89108/

* AP_EventGate: The new AP_EventGate will do the following when used (when BOOL is true - misc.):
*
* - Teleports the user to the location and map set on the Moongate. (m_DoesTeleport)
* - Renames the user (m_DoesRename - m_NameGiven)
* - May only allow certain number of players (m_PlayerCountMax) to use the gate (m_PlayerCountLimited - m_PlayerCountExeededMessage)
* - Changes the player's Title (m_TitleAdds - m_TitleToAdd)
* - Resurrects the player (m_DoesResurrect)
* - Alters the player's skills (m_ChangesSkills) and stats (m_ChangesStats)
* - Changes the player's Hue (m_ChangesHue - uses the Hue of the Gate)
* - Gives Items based on Skill levels given (m_SkillsGiveItems - when skill value >= m_SkillsItemsMin)
*
**
 
I got this error, pasting it but changing account info I dont want displayed lol:

Server Crash Report
===================

RunUO Version 0.5, Build 5808.2740
Operating System: Microsoft Windows NT 6.2.9200.0
.NET Framework: 4.0.30319.42000
Time: 12/1/2015 6:28:37 PM
Mobiles: 5727
Items: 137705
Exception:
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Server.Custom.AP_EventGate.UseGate(Mobile m)
at Server.Timer.Slice() in h:\ServUO-master\Server\Timer.cs:line 410
at Server.Core.Main(String[] args) in h:\ServUO-master\Server\Main.cs:line 571

Clients:
- Count: 1
+ 192.168.1.76: (account = Mycheeseburger) (mobile = 0x1 'Ostard')

When it crashes, the server autoreloads. The crash happens when I enter the gate.
 
I get this error with the gate:
Server Crash Report
===================

ServUO Version 0.5, Build 7346.41038
Operating System: Microsoft Windows NT 6.2.9200.0
.NET Framework: 4.0.30319.42000
Time: 3/19/2020 11:15:18 PM
Mobiles: 43202
Items: 221623
Exception:
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Server.Custom.AdvancedPlayerGate.UseGate(Mobile m)
at Server.Items.Moongate.BeginConfirmation(Mobile from)
at Server.Timer.Slice()
at Server.Core.Main(String[] args)
 
Back