Execute that in your DB:
Quote:
ALTER TABLE `user_effects` CHANGE `is_activated` `is_activated` INT( 1 ) NOT NULL DEFAULT '0';
Printable View
Solved
I've found in the user-table "hide_inroom". Maybe that causes the invisible bug in the room.
Got group gate fixed
http://i.imgur.com/VaiKy.png
Just need to fix for catalog buy bug <33
http://oi48.tinypic.com/2utgpdx.jpg
Divide has helped me with coding it
Sure, added to my To Do List:
*Fix the Staff Pick;
*Fix the Group Gate;
If you added the Parse2 function:
Search for:
Replace All the public function to:Code:public WallCoordinate(string wallPosition)
Code:public WallCoordinate(string wallPosition)
{
string[] strArray = wallPosition.Split(new char[] { ' ' });
if (strArray[2] == "l")
{
this.side = 'l';
}
else
{
this.side = 'r';
}
string[] strArray2 = strArray[0].Substring(3).Split(new char[] { ',' });
this.widthX = TextHandling.Parse2(strArray2[0]);
this.widthY = TextHandling.Parse2(strArray2[1]);
string[] strArray3 = strArray[1].Substring(2).Split(new char[] { ',' });
this.lengthX = TextHandling.Parse2(strArray3[0]);
this.lengthY = TextHandling.Parse2(strArray3[1]);
}
Wordfilter fix!:
Go to core -> LanguageLocale.cs and replace the entire thing with this:
:)Code:namespace Butterfly.Core
{
using Butterfly;
using Database_Manager.Database.Session_Details.Interfaces;
using System;
using System.Collections.Generic;
using System.Data;
using System.IO;
using System.Windows.Forms;
using Database_Manager.Database;
internal class LanguageLocale
{
private static List<string> swearwords;
private static Dictionary<string, string> values;
internal static string welcomeAlert;
internal static bool welcomeAlertEnabled;
internal static string FilterSwearwords(string original)
{
foreach (string str in swearwords)
{
original = ReplaceEx(original, str, "bobba");
}
return original;
}
internal static string GetValue(string value)
{
if (!values.ContainsKey(value))
{
throw new MissingLocaleException("Missing language locale for [" + value + "]");
}
return values[value];
}
internal static void Init()
{
values = IniReader.ReadFile(Path.Combine(Application.StartupPath, "System/locale.ini"));
InitWelcomeMessage();
}
internal static void InitSwearWord()
{
DataTable table;
swearwords = new List<string>();
using (IQueryAdapter adapter = ButterflyEnvironment.GetDatabaseManager().getQueryreactor())
{
adapter.setQuery("SELECT word FROM room_swearword_filter");
table = adapter.getTable();
}
foreach (DataRow row in table.Rows)
{
string item = (string) row[0];
swearwords.Add(item);
}
}
private static void InitWelcomeMessage()
{
welcomeAlertEnabled = IniReader.ReadFile(Path.Combine(Application.StartupPath, "System/welcome_config.ini"))["welcome.alert.enabled"] == "true";
if (welcomeAlertEnabled)
{
welcomeAlert = File.ReadAllText(Path.Combine(Application.StartupPath, "System/welcome_message.ini"));
}
}
private static string ReplaceEx(string original, string pattern, string replacement)
{
int count, position0, position1;
count = position0 = position1 = 0;
string upperString = original.ToUpper();
string upperPattern = pattern.ToUpper();
int inc = (original.Length / pattern.Length) * (replacement.Length - pattern.Length);
char[] chars = new char[original.Length + Math.Max(0, inc)];
while ((position1 = upperString.IndexOf(upperPattern, position0)) != -1)
{
for (int i = position0; i < position1; ++i)
chars[count++] = original[i];
for (int i = 0; i < replacement.Length; ++i)
chars[count++] = replacement[i];
position0 = position1 + pattern.Length;
}
if (position0 == 0) return original;
for (int i = position0; i < original.Length; ++i)
chars[count++] = original[i];
return new string(chars, 0, count);
}
}
}
i cba to go through the thread and see, but is there a list of bugs stated?
May I remind, this is not a help thread. So don't come here asking for help. You can find help in the help section.