Commit b72ae8e4 authored by DailyShana's avatar DailyShana

2.3.0.7

parent b56a662e
......@@ -256,6 +256,7 @@ bool savefile(bool saveas)
return false;
}
}
oldtext = fctb.Text;
File.WriteAllText(nowFile, alltext, new UTF8Encoding(false));
return true;
}
......
......@@ -288,7 +288,7 @@ string levelString()
long i = 0, j = level & 0xff;
for (i = 0; i < j; i++)
{
if (i >= 0 && (i % 4) == 0)
if (i > 0 && (i % 4) == 0)
star += " ";
star += "★";
}
......
......@@ -337,7 +337,7 @@ public static void GetFunctions(string name,string texts,string file)
{
StreamWriter sw=new StreamWriter(fs, Encoding.UTF8);
sw.WriteLine("========== "+name+" ==========");
File.AppendAllText(funclisttxt, "========== "+name+" ==========");
File.AppendAllText(funclisttxt, "========== " + name + " ==========" + Environment.NewLine);
foreach(string k in fun.Keys)
{
string v=fun[k];
......@@ -349,7 +349,7 @@ public static void GetFunctions(string name,string texts,string file)
+code;
sw.WriteLine(txt);
File.AppendAllText(funclisttxt,txt+Environment.NewLine);
File.AppendAllText(funclisttxt,txt + Environment.NewLine);
}
sw.Close();
}
......
......@@ -112,7 +112,7 @@ public static string GetCardType(Card c)
str = GetType(CardType.TYPE_NORMAL);
str += GetType(CardType.TYPE_TRAP);
}
return str;
return str.Replace(" ", "");
}
static string GetType(CardType type)
......@@ -229,7 +229,7 @@ public static void CardRename(long newid, long oldid, YgoPath ygopath, bool delo
string[] newfiles = ygopath.GetCardfiles(newid);
string[] oldfiles = ygopath.GetCardfiles(oldid);
for (int i = 0; i < 3; i++)
for (int i = 0; i < oldfiles.Length; i++)
{
if (File.Exists(oldfiles[i]))
{
......
......@@ -356,7 +356,7 @@ void SetSelect(ComboBox cb, long k)
}
List<long> keys = (List<long>)cb.Tag;
int index = keys.IndexOf(k);
if (index>=0 && index < cb.Items.Count)
if (index >= 0 && index < cb.Items.Count)
cb.SelectedIndex = index;
else
cb.SelectedIndex = 0;
......
......@@ -28,4 +28,4 @@
//
// You can specify all the values or you can use the default the Revision and
// Build Numbers by using the '*' as shown below:
[assembly: AssemblyVersion("2.3.0.6")]
[assembly: AssemblyVersion("2.3.0.7")]
★更新历史
2.3.0.7
更新系列名,函数列表,常数列表
修复:修改资源时不能更改脚本文件名,保存脚本后关闭文件仍然提示是否保存
2.3.0.6
修复图片占用问题。
2.3.0.5
......
[DataEditorX]2.3.0.6[DataEditorX]
[DataEditorX]2.3.0.7[DataEditorX]
[URL]https://github.com/247321453/DataEditorX/raw/master/win32/win32.zip[URL]
★运行环境(Environment)
......

★Environment
This program based on .Net2.0/winXP(need .Net2.0)/win7(with.Net2.0)/win8(need.Net3.5 incloud 2.0)
This program based on .Net2.0/winXP(need .Net2.0)/win7(with.Net2.0)/win8(need.Net3.5 include 2.0)
★File association
.lua Notepad++/Sublime text/DataEditorX
......@@ -12,8 +12,8 @@ Click file with right mouse button, Open with, Browse Files, Choose confirm(Yes
Email:247321453@qq.com
Title:DataEditorX X.X.X.X
Text:
The error message text:If there is a error message box,please press Ctrl+C,then paste in someplace.
please give a detailed description of:card message;antivirus;programe location;the operation that time.
The error message text: If there is a error message box, please press Ctrl+C, then paste in someplace.
please give a detailed description of: card message; antivirus; programe location;the operation that time.
★Setting
......@@ -52,7 +52,7 @@ you need it when you want to add or pendulum.
★DataEditor:
IF you need to input Attack?, you can use anyone of ?/?/-2 instead.
If you need to input Attack "?", you can use anyone of ?/?/-2 instead.
The folder of pics, script and cdb should be in a same folder consistent.
......@@ -76,11 +76,11 @@ pics
★Lua search
Find lua from C++ Source
Return in parameter typeC++ implement code
Return in parameter type, C++ implement code
★Copy a card:
Copy and ReplaceIf there's a card with same name, replace it.
Copy without ReplaceIf there's a card with same name, ignore it.
Copy and Replace: If there's a card with same name, replace it.
Copy without Replace: If there's a card with same name, ignore it.
★Card search
......@@ -91,8 +91,8 @@ Copy without Replace:If there's a card with same name, ignore it.
If there is a "?", input"-2"or"?"
4.Search by card name:
AOJ%% start with AOJ
流%%天 start with“流” and end with“天
%%战士 end with “战士
Shooting%%Dragon start with “Shooting” and end with “Dragon
%%Warrior end with “Warrior
5.Search by card number
--A card(or a card with same name) with card number of 10000000,
......
No preview for this file type
★更新历史
2.3.0.7
更新系列名,函数列表,常数列表
修复:修改资源时不能更改脚本文件名,保存脚本后关闭文件仍然提示是否保存
2.3.0.6
修复图片占用问题。
2.3.0.5
......
[DataEditorX]2.3.0.6[DataEditorX]
[DataEditorX]2.3.0.7[DataEditorX]
[URL]https://github.com/247321453/DataEditorX/raw/master/win32/win32.zip[URL]
★运行环境(Environment)
......

★Environment
This program based on .Net2.0/winXP(need .Net2.0)/win7(with.Net2.0)/win8(need.Net3.5 incloud 2.0)
This program based on .Net2.0/winXP(need .Net2.0)/win7(with.Net2.0)/win8(need.Net3.5 include 2.0)
★File association
.lua Notepad++/Sublime text/DataEditorX
......@@ -12,8 +12,8 @@ Click file with right mouse button, Open with, Browse Files, Choose confirm(Yes
Email:247321453@qq.com
Title:DataEditorX X.X.X.X
Text:
The error message text:If there is a error message box,please press Ctrl+C,then paste in someplace.
please give a detailed description of:card message;antivirus;programe location;the operation that time.
The error message text: If there is a error message box, please press Ctrl+C, then paste in someplace.
please give a detailed description of: card message; antivirus; programe location;the operation that time.
★Setting
......@@ -52,7 +52,7 @@ you need it when you want to add or pendulum.
★DataEditor:
IF you need to input Attack?, you can use anyone of ?/?/-2 instead.
If you need to input Attack "?", you can use anyone of ?/?/-2 instead.
The folder of pics, script and cdb should be in a same folder consistent.
......@@ -76,11 +76,11 @@ pics
★Lua search
Find lua from C++ Source
Return in parameter typeC++ implement code
Return in parameter type, C++ implement code
★Copy a card:
Copy and ReplaceIf there's a card with same name, replace it.
Copy without ReplaceIf there's a card with same name, ignore it.
Copy and Replace: If there's a card with same name, replace it.
Copy without Replace: If there's a card with same name, ignore it.
★Card search
......@@ -91,8 +91,8 @@ Copy without Replace:If there's a card with same name, ignore it.
If there is a "?", input"-2"or"?"
4.Search by card name:
AOJ%% start with AOJ
流%%天 start with“流” and end with“天
%%战士 end with “战士
Shooting%%Dragon start with “Shooting” and end with “Dragon
%%Warrior end with “Warrior
5.Search by card number
--A card(or a card with same name) with card number of 10000000,
......
No preview for this file type
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment