April 27, 2017, 05:22:31 AM

Vita-Nex: Core



ServUO
RunUO

JetBrains

User Info

 
 
Welcome, Guest. Please login or register.

Who's Online

  • Dot Guests: 1
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.

Advertisment

Current Board

Support  >  General Support

Give and receive help and advice to do with general aspects of project support like installation and configuration. This board is NOT for customisation support!


Author Topic: Error with SkillCodex  (Read 5740 times)

0 Members and 1 Guest are viewing this topic.

Offline vudu26

  • Sponsor
  • **
  • Posts: 3
  • Likes: 0
    • View Profile
Error with SkillCodex
« on: June 28, 2013, 03:45:07 AM »
Just installed this last night, compiled, and when I 'Build Solution' I get this error from SkillCodex.cs:
Code: [Select]
 + VitaNexCore/Items/Skills/SkillCodex.cs:
    CS1928: Line 643: 'Server.GenericReader' does not contain a definition for 'ReadList' and the best extension method overload'Server.SerializeExtUtility.ReadList<TObj(Server.GenericReader,System.Func<TObj>,System.Collections.Generic.List<TObj>)' has some invalid arguments
    CS1503: Line 643: Argument 2: cannot convert from 'method group' to 'System.Func<Server.SkillName>'

Code: [Select]
switch (version)
{
case 1:
{
Mode = reader.ReadFlag<SkillCodexMode>();
Flags = reader.ReadFlag<SkillCodexFlags>();
Count = reader.ReadInt();
Value = reader.ReadDouble();
DeleteWhenEmpty = reader.ReadBool();
Here -----> IgnoredSkills = reader.ReadList(reader.ReadFlag<SkillName>);
}
break;
case 0:
{
Mode = (SkillCodexMode)reader.ReadByte();
Flags = (SkillCodexFlags)reader.ReadByte();
Count = reader.ReadInt();
Value = reader.ReadDouble();
DeleteWhenEmpty = reader.ReadBool();
                IgnoredSkills = reader.ReadList(() => (SkillName)reader.ReadShort());
}
break;
}

I looked on RunUO, but to be honest I didn't know if that was the right place, and decided to post here. I am currently running the SVN 1057 with .NET 4.0 framework, its also not running in MONO.

I know there are people using this system and I know its probably something I'm just overlooking, but any help or a nudge in the right direction would be amazing.

Thanks!


Offline Vorspire

  • Administrator
  • *****
  • Posts: 142
  • Likes: 34
  • Founder & Developer
    • View Profile
    • Vita-Nex: Core
Re: Error with SkillCodex
« Reply #1 on: June 28, 2013, 04:35:27 AM »
Hey there, you posted in the right place for sure :)

I'm trying to replicate your issue, I have seen this before and I think it's due to a missing reference in Visual Studio.
It's also a bit hard to tell since I don't know how you have your project set up, did you include all the necessary 4.0 references (listed in Data/Assemblies_4_0.cfg) in the VS project?
Are you also defining the Framework_4_0 preprocessor argument in the Build section of the project properties? (That won't affect your issue, but it affects the way RunUO works in some ways)

Offline vudu26

  • Sponsor
  • **
  • Posts: 3
  • Likes: 0
    • View Profile
Re: Error with SkillCodex
« Reply #2 on: June 28, 2013, 01:33:10 PM »
I'm currently running Visual Studio 2010. I wondered about the references, in particular with 'Systerm.Func', that should be easy to find if they have a new directory to update from.

When I started a new Core, I did Build it as Net 4.0 too, and after it threw that error went back and rebuilt, just to be sure.

I'll check on updating the references and get back with you. Thanks for the help, Vorspire.

Offline Vorspire

  • Administrator
  • *****
  • Posts: 142
  • Likes: 34
  • Founder & Developer
    • View Profile
    • Vita-Nex: Core
Re: Error with SkillCodex
« Reply #3 on: June 28, 2013, 06:00:26 PM »
No problem :)

Sometimes when there are other more important errors, errors like the one you have reported here will pop up, but they are what I like to call 'ghosts' - If the main error is fixed, the rest will just vanish, as there is nothing wrong with the actual code, it's something to do with the compiler (MSBuild) in Visual Studio, it can be dumb sometimes.

Offline Vorspire

  • Administrator
  • *****
  • Posts: 142
  • Likes: 34
  • Founder & Developer
    • View Profile
    • Vita-Nex: Core
Re: Error with SkillCodex
« Reply #4 on: July 05, 2013, 12:58:25 AM »
I've made a small edit that should clear up that error, the update is in VNc 2.0.0.3
https://www.assembla.com/code/vita-nex_core/subversion/compare/8...9#files
https://www.assembla.com/code/vita-nex_core/subversion/nodes/9/Items/Skills/SkillCodex.cs#ln643

Offline vudu26

  • Sponsor
  • **
  • Posts: 3
  • Likes: 0
    • View Profile
Re: Error with SkillCodex
« Reply #5 on: July 06, 2013, 10:07:24 PM »
I've made a small edit that should clear up that error, the update is in VNc 2.0.0.3
https://www.assembla.com/code/vita-nex_core/subversion/compare/8...9#files
https://www.assembla.com/code/vita-nex_core/subversion/nodes/9/Items/Skills/SkillCodex.cs#ln643

Couple of hours left here at work, I will check it out when I get to the house. Thanks a lot, Vorspire.

 

Download VNc

Recent Topics

Vita-Nex: Core 4.0.0.0 Released by Vorspire
[January 15, 2017, 08:56:41 PM]


Effects Help by Vorspire
[January 15, 2017, 06:47:33 PM]


Ultima Online Phoenix is Ready to Begin! by Abracadabra2.0
[December 13, 2016, 01:14:49 AM]


How To: Deceit Braziers Spawn/Despawn by Abracadabra2.0
[November 26, 2016, 07:34:13 PM]


Installing VNC 3.0.0.1 by Johnny
[August 27, 2016, 06:49:40 PM]


JSON Web Stats Stuck Problem by Argalep
[May 27, 2016, 06:16:55 AM]


Modules not Working after being Enabled by ProfessorChaos
[May 19, 2016, 02:44:06 AM]


Issues Installing VitaNex Core 3.0.0.1 on RunUO 2.7 by ProfessorChaos
[May 18, 2016, 09:30:37 PM]


ADM Assistance by Vorspire
[May 18, 2016, 09:23:25 PM]


Suggestion by Vorspire
[April 24, 2016, 06:23:15 PM]

Comments

Refresh History
  • Moderated
  • Terrapin: Hello - and thanks - thought I would check VNC out since using it in JustUO server...
    April 22, 2015, 10:20:17 PM
  • Vorspire: Hello!
    December 16, 2014, 07:11:55 PM
  • Tek: Hello
    December 15, 2014, 08:51:25 AM
  • magnus_mythos: hello
    November 18, 2014, 05:30:22 AM
  • Antares_UO: thanks Vospire
    June 15, 2014, 06:52:17 PM
  • jezika: Thank you is not enough Vorspire! This system is exactly what I was looking for.
    June 04, 2014, 06:01:11 AM
  • Vorspire: VNc 2.1.1.0 Released!
    March 10, 2014, 01:33:06 AM
  • Vorspire: VNc 2.1.0.0 Released!
    January 27, 2014, 12:57:51 PM
  • Kassandra: Many thanks for building my shard for me.  It is awesome, I'm extremely pleased with what you've done and the ongoing support!!!
    November 20, 2013, 01:31:08 AM
  • Regnak: Great news ! Thanks Vorspire :)
    November 16, 2013, 01:55:16 PM
  • Vorspire: VNc: 2.1.0.0 is being developed!
    November 13, 2013, 08:38:35 AM
  • Vorspire: VNc 2.0.0.5 Released!
    September 11, 2013, 12:49:42 AM
  • Vorspire: VNc 2.0.0.4 Released!
    August 23, 2013, 12:47:54 AM
  • Vorspire: VNc 2.0.0.3 Released!
    July 05, 2013, 12:50:13 AM
  • Kaemalux: :-)
    July 01, 2013, 01:51:13 PM
  • Vorspire: VNc 2.0.0.2 Released!
    June 20, 2013, 08:29:19 PM
  • scrlked: I am trying it out on my shard. This is taking UO to the next level.
    June 13, 2013, 11:11:16 AM
  • Vorspire: VNc 2.0.0.0 Released!
    June 03, 2013, 12:53:33 AM
  • ST33LDI9ITAL: huzzah, going on vacation in for 2 weeks soon, plan to catch up on some runuo stuff. looking forward to taking some time with it. good job!
    February 26, 2013, 06:02:30 AM
  • Vorspire: The latest, most optimised version of VNc is not far from release.
    February 22, 2013, 03:16:51 AM

Carbonate design by Bloc
variant: carbon
SMF 2.0.11 | SMF © 2015, Simple Machines
SimplePortal 2.3.6 © 2008-2014, SimplePortal