Page 1 of 1

Prof.txt experiments

Posted: Sat Aug 29, 2009 3:12 am
by Dulen
Hello there.

I want to say sorry in advance for my English, it's no my main language and I was not sleeping all night :-(

I was experimenting with "Prof.txt" file that lets you select a pre-made profession, now I want to share my finds.

here is a general info that I found on the web about this

Code: Select all

Begin                                              - start
	Name			Paladin                    - name of the class in char selection screen
	TrueName		"Paladin"                  - true name of char when selected
	NameId			1061177              - Cliloc Number refers to Name
	DescId			1061227              - Cliloc Number refering to the description of the class
	Desc			5                          - ? Maybe description 5 ? Line 5 ?
	TopLevel		true                       - ?
	Gump			5587                       - Gump ID of the Gray Button showing the Paladin Symbol
	Type			Profession                 - ?
	Skill			Chivalry		50       - predefined skill and value for this class
	Skill			Tactics 		50       - predefined skill and value for this class
	Skill			Wrestling		0        - predefined skill and value for this class
	Stat			Str			45       - predefined Str value for this class
	Stat			Dex			20       - predefined Dex value for this class
	Stat			Int			15       - predefined Int value for this class
End                                                - end

Begin
	Name			Necromancer
	TrueName		"Necromancer"
	NameId			1061178
	DescId			1061228
	Desc			4
	TopLevel		true
	Gump			5557
	Type			Profession
	Skill			Necromancy		50
	Skill			Swordsmanship 		30
	Skill			Tactics 		20
	Stat			Str			25
	Stat			Dex			20
	Stat			Int			35
End
as you can see the following parameters are not well documented

Code: Select all

Desc			5                          - ? Maybe description 5 ? Line 5 ?
TopLevel		true                       - ?
Type			Profession                 - ?
Desc:
OLD CLIENTS - In older client such as 2.0.3 (with what I was experimenting) it means Description and Name of Profession or Category and Spawn location
NEW CLIENTS - Spawn location, Profession ID

TopLevel:
If set to "false" will not show the Gump/Button, can be called to show (true) from a Category

Type:
Type of Gump/Button "Profession" or "Category"

Full List of commands:

Code: Select all

What I mean by:
OLD Client = lower then 3.0.0
NEW Client = all above 4.0.0

Begin	:	Start of code

Name	Blabla	:	Name of "Category/Profession" that called from "Children"

TrueName	"Something"	:	Simple name of something, has no effect on anything

NameId	1234567	:	Name of "Category/Profession" that will get displayed in client (CliLoc), ignored in old clients

DescId	7654321	:	Description of "Category/Profession" will display only if hovered with mouse over "NameId" in client (CliLoc.*), ignored in old clients

Desc	200	:	New clients Spawn location and profession ID (4-6 AOS/KR/ML), Old clients "NameId", "DescId" (Professn.*), Spawn location and profession ID (Locations can be pre set by server)

TopLevel	true	:	"true" shows, "false" hides Gump/Button, can be called from "Category" if set in "Children"

Gump	9876	:	ID of Gump/Button/Image

Type	Profession	:	Set declaration to "Profession" or "Category" , "Category" works as intended but give out bug message about skill error in NEW clients

Children	Blabla,Tralala	:	Will call/display Gumps/Buttons by "Name" in a "Category", changes "TopLevel" from "false" to "true"

Skill	Wrestling	50	:	The following line must be repeated 3 times, "Skill {SkillName} {amount [min:0, max:50, total:100]}"

Stat	Str	40	:	The following line must be repeated 3 times, "Stat {Str/Dex/Int} {amount [min:10, max:60, total:80]}", Old clients {min:10 , max:45, total:65}

End	:	End of code
Prof.txt
T2A + Every thing after it (Extra Patch below)

Code: Select all

Begin
	Name			TheSecondAge
	TrueName		"TheSecondAge"
	NameId			1070098
	DescId			1070096
	Desc			-2
	TopLevel		true
	Gump			5505
	Type			Category
	Children		Adventurer,Merchant
End

Begin
	Name			AoSandBeyond
	TrueName		"AoSandBeyond"
	NameId			1070099
	DescId			1070097
	Desc			-3
	TopLevel		true
	Gump			5505
	Type			Category
	Children		SamuraiML,NinjaML,PaladinML,NecromancerML,WarriorML,MageML,BlacksmithML
End

Begin
	Name			Adventurer
	TrueName		"Adventurer"
	NameId			1070101
	DescId			1070129
	Desc			0
	TopLevel		false
	Gump			5547
	Type			Category
	Children		ArcherCat,MagicianCat,WarriorCat
End

Begin
	Name			Merchant
	TrueName		"Merchant"
	NameId			1070102
	DescId			1070130
	Desc			1
	TopLevel		false
	Gump			5571
	Type			Category
	Children		Craftsman,Tradesman
End

Begin
	Name			ArcherCat
	TrueName		"Archer"
	NameId			1070103
	DescId			1070131
	Desc			2
	TopLevel		false
	Gump			5551
	Type			Category
	Children		Archer,ArcherBard,ArcherMedic,ArcherRanger
End

Begin
	Name			MagicianCat
	TrueName		"Magician"
	NameId			1070104
	DescId			1070132
	Desc			3
	TopLevel		false
	Gump			5569
	Type			Category
	Children		BattleMage,PureMage,Warlock
End

Begin
	Name			WarriorCat
	TrueName		"Warrior"
	NameId			1070105
	DescId			1070133
	Desc			25
	TopLevel		false
	Gump			5587
	Type			Category
	Children		WarriorBard,MaceFighter,Fencer,Swordsman
End

Begin
	Name			Craftsman
	TrueName		"Craftsman"
	NameId			1070106
	DescId			1070134
	Desc			26
	TopLevel		false
	Gump			5559
	Type			Category
	Children		Blacksmith,Carpenter,Tailor,Tinker
End

Begin
	Name			Tradesman
	TrueName		"Tradesman"
	NameId			1070107
	DescId			1070135
	Desc			27
	TopLevel		false
	Gump			5583
	Type			Category
	Children		AnimalTamer,Fisherman,Prospector,Sorcerer
End

Begin
	Name			Archer
	TrueName		"Archer"
	Desc			28
	NameId			1070108
	DescId			1070136
	TopLevel		false
	Gump			5551
	Type			Profession
	Skill			Archery					50
	Skill			Bowcraft				25
	Skill			Lumberjacking			25
	Stat			Str						50
	Stat			Dex						15
	Stat			Int						15
End

Begin
	Name			ArcherBard
	TrueName		"Bard"
	Desc			29
	NameId			1070109
	DescId			1070137
	TopLevel		false
	Gump			5553
	Type			Profession
	Skill			Musicianship			50
	Skill			Provocation				40
	Skill			Archery					10
	Stat			Str						50
	Stat			Dex						15
	Stat			Int						15
End

Begin
	Name			ArcherMedic
	TrueName		"Field Medic"
	Desc			30
	NameId			1070110
	DescId			1070138
	TopLevel		false
	Gump			5563
	Type			Profession
	Skill			Archery					40
	Skill			Healing					30
	Skill			Anatomy					30
	Stat			Str						40
	Stat			Dex						25
	Stat			Int						15
End

Begin
	Name			ArcherRanger
	TrueName		"Ranger"
	Desc			10
	NameId			1070111
	DescId			1070139
	TopLevel		false
	Gump			5575
	Type			Profession
	Skill			Archery					50
	Skill			Tracking				25
	Skill			AnimalTaming			25
	Stat			Str						50
	Stat			Dex						15
	Stat			Int						15
End

Begin
	Name			BattleMage
	TrueName		"Battle Mage"
	Desc			11
	NameId			1070112
	DescId			1070140
	TopLevel		false
	Gump			5557
	Type			Profession
	Skill			Magery					40
	Skill			MaceFighting			30
	Skill			Healing					30
	Stat			Str						40
	Stat			Dex						15
	Stat			Int						25
End

Begin
	Name			PureMage
	TrueName		"Pure Mage"
	Desc			12
	NameId			1070113
	DescId			1070141
	TopLevel		false
	Gump			5569
	Type			Profession
	Skill			Magery					50
	Skill			EvaluateIntelligence	25
	Skill			ResistingSpells			25
	Stat			Str						40
	Stat			Dex 					15
	Stat			Int 					25
End

Begin
	Name			Warlock
	TrueName		"Warlock"
	Desc			13
	NameId			1070114
	DescId			1070142
	TopLevel		false
	Gump			5585
	Type			Profession
	Skill			Swordsmanship			40
	Skill			Magery					40
	Skill			ResistingSpells			20
	Stat			Str						40
	Stat			Dex						15
	Stat			Int						25
End

Begin
	Name			WarriorBard
	TrueName		"Bard"
	Desc			14
	NameId			1070115
	DescId			1070143
	TopLevel		false
	Gump			5553
	Type			Profession
	Skill			Musicianship			50
	Skill			Provocation				40
	Skill			Swordsmanship			10
	Stat			Str						50
	Stat			Dex						15
	Stat			Int						15
End

Begin
	Name			Fencer
	TrueName		"Fencer"
	Desc			15
	NameId			1070116
	DescId			1070144
	TopLevel		false
	Gump			5561
	Type			Profession
	Skill			Fencing					50
	Skill			Parrying				25
	Skill			Anatomy					25
	Stat			Str						50
	Stat			Dex						15
	Stat			Int						15
End

Begin
	Name			MaceFighter
	TrueName		"Mace Fighter"
	Desc			16
	NameId			1070117
	DescId			1070145
	TopLevel		false
	Gump			5567
	Type			Profession
	Skill			MaceFighting			50
	Skill			Parrying				25
	Skill			Anatomy					25
	Stat			Str						50
	Stat			Dex						15
	Stat			Int						15
End

Begin
	Name			Swordsman
	TrueName		"Swordsman"
	Desc			17
	NameId			1070118
	DescId			1070146
	TopLevel		false
	Gump			5577
	Type			Profession
	Skill			Swordsmanship			50
	Skill			Parrying				25
	Skill			Anatomy					25
	Stat			Str						50
	Stat			Dex						15
	Stat			Int						15
End

Begin
	Name			Blacksmith
	TrueName		"Blacksmith"
	Desc			18
	NameId			1070119
	DescId			1070147
	TopLevel		false
	Gump			5555
	Type			Profession
	Skill			Blacksmith				50
	Skill			Mining					50
	Skill			Tinkering				0
	Stat			Str						50
	Stat			Dex						15
	Stat			Int						15
End

Begin
	Name			Carpenter
	TrueName		"Carpenter"
	Desc			19
	NameId			1070120
	DescId			1070148
	TopLevel		false
	Gump			5559
	Type			Profession
	Skill			Carpentry				50
	Skill			Lumberjacking			40
	Skill			Bowcraft				10
	Stat			Str						50
	Stat			Dex						15
	Stat			Int						15
End

Begin
	Name			Sorcerer
	TrueName		"Sorcerer"
	Desc			20
	NameId			1070121
	DescId			1070149
	TopLevel		false
	Gump			5569
	Type			Profession
	Skill			Alchemy					35
	Skill			Inscription				35
	Skill			Magery					30
	Stat			Str						40
	Stat			Dex						15
	Stat			Int						25
End

Begin
	Name			Tailor
	TrueName		"Tailor"
	Desc			21
	NameId			1070122
	DescId			1070150
	TopLevel		false
	Gump			5579
	Type			Profession
	Skill			Tailoring				50
	Skill			Tracking				40
	Skill			Healing					10
	Stat			Str						50
	Stat			Dex						15
	Stat			Int						15
End

Begin
	Name			Tinker
	TrueName		"Tinker"
	Desc			22
	NameId			1070123
	DescId			1070151
	TopLevel		false
	Gump			5581
	Type			Profession
	Skill			Tinkering				50
	Skill			Mining					25
	Skill			Lumberjacking			25
	Stat			Str						50
	Stat			Dex						15
	Stat			Int						15
End

Begin
	Name			AnimalTamer
	TrueName		"Animal Tamer"
	Desc			23
	NameId			1070124
	DescId			1070152
	TopLevel		false
	Gump			5549
	Type			Profession
	Skill			AnimalTaming			50
	Skill			Tracking				25
	Skill			AnimalLore				25
	Stat			Str						50
	Stat			Dex						15
	Stat			Int						15
End

Begin
	Name			Fisherman
	TrueName		"Fisherman"
	Desc			24
	NameId			1070125
	DescId			1070153
	TopLevel		false
	Gump			5565
	Type			Profession
	Skill			Fishing					50
	Skill			Cooking					45
	Skill			Camping					5
	Stat			Str						50
	Stat			Dex						15
	Stat			Int						15
End

Begin
	Name			Prospector
	TrueName		"Prospector"
	Desc			25
	NameId			1070126
	DescId			1070154
	TopLevel		false
	Gump			5573
	Type			Profession
	Skill			Mining					40
	Skill			Lumberjacking			40
	Skill			Hiding					20
	Stat			Str						55
	Stat			Dex						15
	Stat			Int						10
End

Begin
	Name SamuraiML
	TrueName "Samurai"
	NameId 1062948
	DescId 1062950
	Desc 6
	TopLevel false
	Gump 5591
	Type Profession
	Skill Bushido 50
	Skill Swordsmanship 50
	Skill Wrestling 0
	Stat Str 40
	Stat Dex 30
	Stat Int 10
End

Begin
	Name NinjaML
	TrueName "Ninja"
	NameId 1062949
	DescId 1062951
	Desc 7
	TopLevel false
	Gump 5589
	Type Profession
	Skill Ninjitsu 50
	Skill Hiding 50
	Skill Wrestling 0
	Stat Str 40
	Stat Dex 30
	Stat Int 10
End

Begin
	Name PaladinML
	TrueName "Paladin"
	NameId 1061177
	DescId 1061227
	Desc 5
	TopLevel false
	Gump 5587
	Type Profession
	Skill Chivalry 50
	Skill Tactics 50
	Skill Wrestling 0
	Stat Str 45
	Stat Dex 20
	Stat Int 15
End

Begin
	Name NecromancerML
	TrueName "Necromancer"
	NameId 1061178
	DescId 1061228
	Desc 4
	TopLevel false
	Gump 5557
	Type Profession
	Skill Necromancy 50
	Skill Swordsmanship 30
	Skill Tactics 20
	Stat Str 25
	Stat Dex 20
	Stat Int 35
End

Begin
	Name WarriorML
	TrueName "Warrior"
	NameId 1061180
	DescId 1061230
	Desc 31
	TopLevel false
	Gump 5577
	Type Profession
	Skill Tactics 50
	Skill Healing 45
	Skill Swordsmanship 5
	Stat Str 35
	Stat Dex 35
	Stat Int 10
End

Begin
	Name MageML
	TrueName "Mage"
	NameId 1061179
	DescId 1061229
	Desc 31
	TopLevel false
	Gump 5569
	Type Profession
	Skill Magery 50
	Skill Meditation 50
	Skill Wrestling 0
	Stat Str 25
	Stat Dex 10
	Stat Int 45
End

Begin
	Name BlacksmithML
	TrueName "Blacksmith"
	NameId 1061181
	DescId 1061231
	Desc 33
	TopLevel false
	Gump 5555
	Type Profession
	Skill Blacksmith 50
	Skill Tinkering 45
	Skill Mining 5
	Stat Str 60
	Stat Dex 10
	Stat Int 10
End
CliLoc patching program "UO Localization"
WARNING: DO NOT USE PATCHER IT BREAKS CLILOC, USE UO LOCALIZATION AND PATCH FROM IT

Code: Select all

http://ultima.lonet.cz/download/uolocalization22.rar
Data that must be inserted into CliLoc.enu using "UO Localization"

Code: Select all

http://www.mediafire.com/?5z0uzbyiynm
or download re-patched CliLoc.enu

Code: Select all

http://www.mediafire.com/?2zmvbzjuqty