Page 1 of 1

First alpha release of mySunUO

PostPosted: Fri Sep 07, 2007 6:53 pm
by Maik
For anyone who wants it: It is a connector for mysql with basic support for a vendor system based on mysql database.

Please read the install.txt for installation instructions.

Post bugs, comments or feature request here. You are welcome to extend and contribute this package.

Thanks.

PostPosted: Fri Sep 07, 2007 8:35 pm
by Argo
Awesome, I jumped right in to try it but I'm getting a weird error.

SunUO Version 0.5.0 http://www.sunuo.org/
on Unix 2.6.20.16, runtime 1.1.4322.2032

2007-09-07 16:31:14,231 INFO Compiling library legacy, 2427 C# sources
2007-09-07 16:31:20,804 ERROR Compilation failed (1 errors, 0 warnings)
2007-09-07 16:31:20,805 ERROR /home/xxxxx/sunuo-0.4.4/Scripts/Customs/mycustom/mySunUO/Helper.cs: CS1002: (line 29, column 41) Expecting `;'

so I hopped right in with my trusty pico and to my dismay line 29 column 41 looks fine ( to me anyway)

string typeBaseName = typeName.Substring(0, indexOf);
string[] argumentsGeneric = typeName.Substring(indexOf + 1).Remove(typeName.Length - indexOf - 2).Split(',');
List<Type> typeGenerics = new List<Type>(); <<---- Line 29 according to [ctrl]+c in pico
string currentArgument = "";
int countLevelGeneric = 0;

So, any suggestions for me to try?

PostPosted: Fri Sep 07, 2007 9:13 pm
by Maik
What type of mono do you use? I have tested it in .Net 2.0, may you should compile your server using the -langversion flag for mcs. Please modify the Makefile of sunuo source about at line 30 to look like this:

MCS_FLAGS += -define:MONO -debug -lib:lib -langversion:ISO-1

Please report me the results. May I have to modify the type helper, which is used to identify the Item in database, which is a string. It will return the type class of an existing Item. Example:

"HealthPotion" will get the type class HealthPotion. I have no other idea to identify a type class by string.

PostPosted: Mon Sep 10, 2007 2:51 pm
by Argo
Sorry, I haven't had a chance to check this yet. I am using the binary version tho. I haven't compiled for myself yet.