demented
Member
Hello All,
I'm trying to convert the new Bod System and Venders From TimeSpan to DateTime to work with FS-Gen Taming and am Baffled and a little overwhelmed too say the least.I did borrow some code from the BOD revamp release, but I still keep getting errors pls help.
see Attached for scripts and script changes
also Posting -debug version of received errors
* I fixed some of the warning msgs and errors to shorten my error list *
Also including my AnimalTrainer that i already converted but seems to not throw any errors?
and including PlayerMobile with changes made....
* also Including daat's Control Gump.cs Also Trying to Include the OWLTR system *
I'm trying to convert the new Bod System and Venders From TimeSpan to DateTime to work with FS-Gen Taming and am Baffled and a little overwhelmed too say the least.I did borrow some code from the BOD revamp release, but I still keep getting errors pls help.
see Attached for scripts and script changes
also Posting -debug version of received errors
*******UPDATED ERROR MSG*******Server.@Port=2593
Shadowguard.ReadyDuration=30
Shadowguard.RandomizeInstances=False
Staff.Staffbody=False
Staff.UseColoring=True;
Staff.GiveBoots=True
Staff.CutHair=False
Staff.CutFacialHair=False
Staff.Owner=1001
Staff.Developer=1001
Staff.Administrator=1001
Staff.Seer=467
Staff.GameMaster=39
Staff.Counselor=3
TestCenter.Enabled=false
TreasureMaps.Enabled=True
TreasureMaps.LootChance=.01
TreasureMaps.ResetTime=30.0
Vendors.@RestockDelay=00:01:00:00
Vendors.@MaxSell=500
VetRewards.Enabled=true
VetRewards.AgeCheckOnUse=false
VetRewards.SkillCapRewards=False
VetRewards.SkillCapBonus=200
VetRewards.SkillCapBonusLevels=4
VetRewards.RewardInterval=30:00:00:00
VetRewards.StartingLevel=0
XmlSpawner2.Sockets=true
XmlSpawner2.Points=true
XmlSpawner2.Factions=false
Scripts: Compiling C# scripts...Failed with: 16 errors, 3 warnings
Warnings:
+ Customs/New Systems/Harvest System/Garden/GardenDeed.cs:
CS0162: Line 139: Unreachable code detected
+ Customs/New Systems/World Omniporter v2.5/WorldOmniporter.cs:
CS0162: Line 324: Unreachable code detected
CS0168: Line 957: The variable 'e' is declared but never used
+ Customs/New Systems/Yard and Garden System 10-05/Yard and Garden System 10-05
/Items/YardFountain.cs:
CS1717: Line 33: Assignment made to same variable; did you mean to assign so
mething else?
Errors:
+ Commands/GenTeleporter.cs:
CS1729: Line 166: 'Server.Items.WorldOmniporter' does not contain a construc
tor that takes 0 arguments
CS1729: Line 176: 'Server.Items.WorldOmniporter' does not contain a construc
tor that takes 0 arguments
+ Items/Containers/Container.cs:
CS0103: Line 197: The name 'canDrop' does not exist in the current context
CS0103: Line 207: The name 'canDrop' does not exist in the current context
CS0103: Line 245: The name 'cenDrop' does not exist in the current context
+ Customs/New Systems/ACC Systems/Complete Spell System/-=+ 03 Systems/Ancient/
Spells/CharmSpell.cs:
CS0117: Line 160: 'Server.Layer' does not contain a definition for 'Unused_x
F'
CS0117: Line 253: 'Server.Layer' does not contain a definition for 'Unused_x
F'
CS0117: Line 316: 'Server.Layer' does not contain a definition for 'Unused_x
F'
+ Customs/New Systems/ACC Systems/Complete Spell System/-=+ 03 Systems/Ancient/
Spells/CloneSpell.cs:
CS0117: Line 139: 'Server.Layer' does not contain a definition for 'Unused_x
F'
CS0117: Line 278: 'Server.Layer' does not contain a definition for 'Unused_x
F'
+ Customs/New Systems/ACC Systems/Complete Spell System/-=+ 03 Systems/Ancient/
Spells/MassCharmSpell.cs:
CS0117: Line 152: 'Server.Layer' does not contain a definition for 'Unused_x
F'
CS0117: Line 212: 'Server.Layer' does not contain a definition for 'Unused_x
F'
+ Customs/New Systems/ACC Systems/Complete Spell System/-=+ 03 Systems/Ancient/
Spells/PeerSpell.cs:
CS0117: Line 155: 'Server.Layer' does not contain a definition for 'Unused_x
F'
CS0117: Line 223: 'Server.Layer' does not contain a definition for 'Unused_x
F'
+ Customs/New Systems/ACC Systems/Complete Spell System/-=+ 03 Systems/Ranger/S
pells/NoxBowSpell.cs:
CS0103: Line 104: The name 'defender' does not exist in the current context
CS0103: Line 104: The name 'defender' does not exist in the current context
+ Customs/New Systems/ACC Systems/Complete Spell System/-=+ 03 Systems/Rogue/Sp
ells/Charm.cs:
CS0117: Line 168: 'Server.Layer' does not contain a definition for 'Unused_x
F'
CS0117: Line 260: 'Server.Layer' does not contain a definition for 'Unused_x
F'
CS0117: Line 341: 'Server.Layer' does not contain a definition for 'Unused_x
F'
+ Mobiles/PlayerMobile.cs:
CS0029: Line 3775: Cannot implicitly convert type 'System.DateTime' to 'Syst
em.TimeSpan'
CS1502: Line 3779: The best overloaded method match for 'Server.Engines.Bulk
Orders.BulkOrderSystem.SetNextBulkOrder(Server.Engines.BulkOrders.BODType, Serve
r.Mobiles.PlayerMobile, System.DateTime)' has some invalid arguments
CS1503: Line 3779: Argument 3: cannot convert from 'System.TimeSpan' to 'Sys
tem.DateTime'
CS0029: Line 3788: Cannot implicitly convert type 'System.DateTime' to 'Syst
em.TimeSpan'
CS1502: Line 3792: The best overloaded method match for 'Server.Engines.Bulk
Orders.BulkOrderSystem.SetNextBulkOrder(Server.Engines.BulkOrders.BODType, Serve
r.Mobiles.PlayerMobile, System.DateTime)' has some invalid arguments
CS1503: Line 3792: Argument 3: cannot convert from 'System.TimeSpan' to 'Sys
tem.DateTime'
CS0029: Line 3801: Cannot implicitly convert type 'System.DateTime' to 'Syst
em.TimeSpan'
CS1502: Line 3805: The best overloaded method match for 'Server.Engines.Bulk
Orders.BulkOrderSystem.SetNextBulkOrder(Server.Engines.BulkOrders.BODType, Serve
r.Mobiles.PlayerMobile, System.DateTime)' has some invalid arguments
CS1503: Line 3805: Argument 3: cannot convert from 'System.TimeSpan' to 'Sys
tem.DateTime'
CS0029: Line 3814: Cannot implicitly convert type 'System.DateTime' to 'Syst
em.TimeSpan'
CS1502: Line 3818: The best overloaded method match for 'Server.Engines.Bulk
Orders.BulkOrderSystem.SetNextBulkOrder(Server.Engines.BulkOrders.BODType, Serve
r.Mobiles.PlayerMobile, System.DateTime)' has some invalid arguments
CS1503: Line 3818: Argument 3: cannot convert from 'System.TimeSpan' to 'Sys
tem.DateTime'
CS0029: Line 3827: Cannot implicitly convert type 'System.DateTime' to 'Syst
em.TimeSpan'
CS1502: Line 3831: The best overloaded method match for 'Server.Engines.Bulk
Orders.BulkOrderSystem.SetNextBulkOrder(Server.Engines.BulkOrders.BODType, Serve
r.Mobiles.PlayerMobile, System.DateTime)' has some invalid arguments
CS1503: Line 3831: Argument 3: cannot convert from 'System.TimeSpan' to 'Sys
tem.DateTime'
CS0029: Line 3840: Cannot implicitly convert type 'System.DateTime' to 'Syst
em.TimeSpan'
CS1502: Line 3844: The best overloaded method match for 'Server.Engines.Bulk
Orders.BulkOrderSystem.SetNextBulkOrder(Server.Engines.BulkOrders.BODType, Serve
r.Mobiles.PlayerMobile, System.DateTime)' has some invalid arguments
CS1503: Line 3844: Argument 3: cannot convert from 'System.TimeSpan' to 'Sys
tem.DateTime'
CS0029: Line 3853: Cannot implicitly convert type 'System.DateTime' to 'Syst
em.TimeSpan'
CS1502: Line 3857: The best overloaded method match for 'Server.Engines.Bulk
Orders.BulkOrderSystem.SetNextBulkOrder(Server.Engines.BulkOrders.BODType, Serve
r.Mobiles.PlayerMobile, System.DateTime)' has some invalid arguments
CS1503: Line 3857: Argument 3: cannot convert from 'System.TimeSpan' to 'Sys
tem.DateTime'
CS0029: Line 3866: Cannot implicitly convert type 'System.DateTime' to 'Syst
em.TimeSpan'
CS1502: Line 3870: The best overloaded method match for 'Server.Engines.Bulk
Orders.BulkOrderSystem.SetNextBulkOrder(Server.Engines.BulkOrders.BODType, Serve
r.Mobiles.PlayerMobile, System.DateTime)' has some invalid arguments
CS1503: Line 3870: Argument 3: cannot convert from 'System.TimeSpan' to 'Sys
tem.DateTime'
CS0029: Line 4483: Cannot implicitly convert type 'System.DateTime' to 'Syst
em.TimeSpan'
CS0029: Line 4487: Cannot implicitly convert type 'System.DateTime' to 'Syst
em.TimeSpan'
CS0029: Line 4497: Cannot implicitly convert type 'System.DateTime' to 'Syst
em.TimeSpan'
CS0029: Line 4501: Cannot implicitly convert type 'System.DateTime' to 'Syst
em.TimeSpan'
+ Customs/New Systems/OWLTR/New/Daat99 Control Center Gumps.cs:
CS1002: Line 285: ; expected
CS1525: Line 285: Invalid expression term ')'
CS0019: Line 330: Operator '&&' cannot be applied to operands of type 'bool'
and 'System.TimeSpan'
CS0019: Line 338: Operator '<=' cannot be applied to operands of type 'Syste
m.TimeSpan' and 'System.DateTime'
CS0029: Line 339: Cannot implicitly convert type 'System.DateTime' to 'Syste
m.TimeSpan'
CS0019: Line 340: Operator '<=' cannot be applied to operands of type 'Syste
m.TimeSpan' and 'System.DateTime'
CS0019: Line 342: Operator '<=' cannot be applied to operands of type 'Syste
m.TimeSpan' and 'System.DateTime'
CS0029: Line 343: Cannot implicitly convert type 'System.DateTime' to 'Syste
m.TimeSpan'
CS0019: Line 360: Operator '&&' cannot be applied to operands of type 'bool'
and 'System.TimeSpan'
CS0019: Line 368: Operator '<=' cannot be applied to operands of type 'Syste
m.TimeSpan' and 'System.DateTime'
CS0029: Line 369: Cannot implicitly convert type 'System.DateTime' to 'Syste
m.TimeSpan'
CS0019: Line 370: Operator '<=' cannot be applied to operands of type 'Syste
m.TimeSpan' and 'System.DateTime'
CS0019: Line 372: Operator '<=' cannot be applied to operands of type 'Syste
m.TimeSpan' and 'System.DateTime'
CS0029: Line 373: Cannot implicitly convert type 'System.DateTime' to 'Syste
m.TimeSpan'
CS0019: Line 390: Operator '&&' cannot be applied to operands of type 'bool'
and 'System.TimeSpan'
CS0019: Line 399: Operator '<=' cannot be applied to operands of type 'Syste
m.TimeSpan' and 'System.DateTime'
CS0029: Line 400: Cannot implicitly convert type 'System.DateTime' to 'Syste
m.TimeSpan'
CS0019: Line 402: Operator '<=' cannot be applied to operands of type 'Syste
m.TimeSpan' and 'System.DateTime'
CS0029: Line 403: Cannot implicitly convert type 'System.DateTime' to 'Syste
m.TimeSpan'
CS0019: Line 405: Operator '<=' cannot be applied to operands of type 'Syste
m.TimeSpan' and 'System.DateTime'
CS0103: Line 411: The name 'SmallCarpenterBOD' does not exist in the current
context
CS0246: Line 411: The type or namespace name 'SmallCarpenterBOD' could not b
e found (are you missing a using directive or an assembly reference?)
CS0019: Line 422: Operator '&&' cannot be applied to operands of type 'bool'
and 'System.TimeSpan'
CS0019: Line 431: Operator '<=' cannot be applied to operands of type 'Syste
m.TimeSpan' and 'System.DateTime'
CS0029: Line 432: Cannot implicitly convert type 'System.DateTime' to 'Syste
m.TimeSpan'
CS0019: Line 434: Operator '<=' cannot be applied to operands of type 'Syste
m.TimeSpan' and 'System.DateTime'
CS0029: Line 435: Cannot implicitly convert type 'System.DateTime' to 'Syste
m.TimeSpan'
CS0019: Line 437: Operator '<=' cannot be applied to operands of type 'Syste
m.TimeSpan' and 'System.DateTime'
CS0029: Line 438: Cannot implicitly convert type 'System.DateTime' to 'Syste
m.TimeSpan'
+ Mobiles/NPCs/Blacksmith.cs:
CS0019: Line 107: Operator '<' cannot be applied to operands of type 'System
.TimeSpan' and 'System.DateTime'
CS0019: Line 123: Operator '<' cannot be applied to operands of type 'System
.TimeSpan' and 'System.DateTime'
CS0029: Line 125: Cannot implicitly convert type 'System.DateTime' to 'Syste
m.TimeSpan'
CS0019: Line 127: Operator '<' cannot be applied to operands of type 'System
.TimeSpan' and 'System.DateTime'
CS0019: Line 131: Operator '<' cannot be applied to operands of type 'System
.TimeSpan' and 'System.DateTime'
CS0029: Line 133: Cannot implicitly convert type 'System.DateTime' to 'Syste
m.TimeSpan'
CS0029: Line 160: Cannot implicitly convert type 'System.TimeSpan' to 'Syste
m.DateTime'
CS0029: Line 173: Cannot implicitly convert type 'System.TimeSpan' to 'Syste
m.DateTime'
CS0029: Line 178: Cannot implicitly convert type 'System.DateTime' to 'Syste
m.TimeSpan'
+ Mobiles/NPCs/Tailor.cs:
CS0019: Line 60: Operator '<' cannot be applied to operands of type 'System.
TimeSpan' and 'System.DateTime'
CS0019: Line 76: Operator '<' cannot be applied to operands of type 'System.
TimeSpan' and 'System.DateTime'
CS0029: Line 78: Cannot implicitly convert type 'System.DateTime' to 'System
.TimeSpan'
CS0019: Line 80: Operator '<' cannot be applied to operands of type 'System.
TimeSpan' and 'System.DateTime'
CS0019: Line 84: Operator '<' cannot be applied to operands of type 'System.
TimeSpan' and 'System.DateTime'
CS0029: Line 86: Cannot implicitly convert type 'System.DateTime' to 'System
.TimeSpan'
CS0029: Line 113: Cannot implicitly convert type 'System.TimeSpan' to 'Syste
m.DateTime'
CS0029: Line 126: Cannot implicitly convert type 'System.TimeSpan' to 'Syste
m.DateTime'
CS0029: Line 131: Cannot implicitly convert type 'System.DateTime' to 'Syste
m.TimeSpan'
+ Mobiles/NPCs/Weaponsmith.cs:
CS0019: Line 66: Operator '<' cannot be applied to operands of type 'System.
TimeSpan' and 'System.DateTime'
CS0019: Line 82: Operator '<' cannot be applied to operands of type 'System.
TimeSpan' and 'System.DateTime'
CS0029: Line 84: Cannot implicitly convert type 'System.DateTime' to 'System
.TimeSpan'
CS0019: Line 86: Operator '<' cannot be applied to operands of type 'System.
TimeSpan' and 'System.DateTime'
CS0019: Line 90: Operator '<' cannot be applied to operands of type 'System.
TimeSpan' and 'System.DateTime'
CS0029: Line 92: Cannot implicitly convert type 'System.DateTime' to 'System
.TimeSpan'
CS0029: Line 119: Cannot implicitly convert type 'System.TimeSpan' to 'Syste
m.DateTime'
CS0029: Line 132: Cannot implicitly convert type 'System.TimeSpan' to 'Syste
m.DateTime'
CS0029: Line 137: Cannot implicitly convert type 'System.DateTime' to 'Syste
m.TimeSpan'
+ Mobiles/NPCs/Weaver.cs:
CS0019: Line 53: Operator '<' cannot be applied to operands of type 'System.
TimeSpan' and 'System.DateTime'
CS0019: Line 69: Operator '<' cannot be applied to operands of type 'System.
TimeSpan' and 'System.DateTime'
CS0029: Line 71: Cannot implicitly convert type 'System.DateTime' to 'System
.TimeSpan'
CS0019: Line 73: Operator '<' cannot be applied to operands of type 'System.
TimeSpan' and 'System.DateTime'
CS0019: Line 77: Operator '<' cannot be applied to operands of type 'System.
TimeSpan' and 'System.DateTime'
CS0029: Line 79: Cannot implicitly convert type 'System.DateTime' to 'System
.TimeSpan'
CS0029: Line 106: Cannot implicitly convert type 'System.TimeSpan' to 'Syste
m.DateTime'
CS0029: Line 119: Cannot implicitly convert type 'System.TimeSpan' to 'Syste
m.DateTime'
CS0029: Line 124: Cannot implicitly convert type 'System.DateTime' to 'Syste
m.TimeSpan'
+ Services/BulkOrders/BulkOrderSystem.cs:
CS1001: Line 175: Identifier expected
CS1026: Line 209: ) expected
CS1002: Line 209: ; expected
CS1525: Line 209: Invalid expression term ')'
Scripts: One or more scripts failed to compile or no script files were found.
- Press return to exit, or R to try again.
* I fixed some of the warning msgs and errors to shorten my error list *
Also including my AnimalTrainer that i already converted but seems to not throw any errors?
and including PlayerMobile with changes made....
* also Including daat's Control Gump.cs Also Trying to Include the OWLTR system *
Attachments
Last edited: