Welcome
Welcome to <strong>SunUO</strong>.

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. Registration is fast, simple, and absolutely free, so please, <a href="/profile.php?mode=register">join our community today</a>!

First alpha release of mySunUO

Post useful scripts here. All RunUO/SunUO scripts are GPL in nature being derivative works of RunUO.

First alpha release of mySunUO

Postby Maik on Fri Sep 07, 2007 6:53 pm

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.
Attachments
mySunUO.rar
(94.99 KiB) Downloaded 12 times
User avatar
Maik
 
Posts: 30
Joined: Wed Aug 15, 2007 3:30 pm

Postby Argo on Fri Sep 07, 2007 8:35 pm

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?
Argo
Site Admin
 
Posts: 46
Joined: Wed Aug 15, 2007 12:41 pm

Postby Maik on Fri Sep 07, 2007 9:13 pm

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.
User avatar
Maik
 
Posts: 30
Joined: Wed Aug 15, 2007 3:30 pm

Postby Argo on Mon Sep 10, 2007 2:51 pm

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.
Argo
Site Admin
 
Posts: 46
Joined: Wed Aug 15, 2007 12:41 pm


Return to Script Archive

Who is online

Users browsing this forum: No registered users and 0 guests

cron