From cb500bd3e37e2aca518991c038f46566842148e3 Mon Sep 17 00:00:00 2001 From: kervala Date: Fri, 7 May 2010 12:43:01 +0200 Subject: [PATCH 01/12] Changed: #845 Don't check for MS STL headers if STLport is used --- code/nel/include/nel/misc/types_nl.h | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/code/nel/include/nel/misc/types_nl.h b/code/nel/include/nel/misc/types_nl.h index 694fc968c..d6b735a39 100644 --- a/code/nel/include/nel/misc/types_nl.h +++ b/code/nel/include/nel/misc/types_nl.h @@ -52,9 +52,11 @@ # if _MSC_VER >= 1500 # define NL_COMP_VC9 # include // This way we know about _HAS_TR1 :O -# if defined(_HAS_TR1) && (_HAS_TR1 + 0) // VC9 TR1 feature pack -# define NL_ISO_STDTR1_AVAILABLE -# define NL_ISO_STDTR1_HEADER(header)
+# ifndef _STLPORT_VERSION // STLport doesn't depend on MS STL features +# if defined(_HAS_TR1) && (_HAS_TR1 + 0) // VC9 TR1 feature pack +# define NL_ISO_STDTR1_AVAILABLE +# define NL_ISO_STDTR1_HEADER(header)
+# endif # endif # elif _MSC_VER >= 1400 # define NL_COMP_VC8 @@ -262,14 +264,18 @@ typedef unsigned int uint; // at least 32bits (depend of processor) #ifndef NL_ISO_STDTR1_AVAILABLE # include # include -# if defined(NL_COMP_VC7) || defined(NL_COMP_VC71) || defined(NL_COMP_VC8) || defined(NL_COMP_VC9) // VC7 through 9 -# define CHashMap stdext::hash_map -# define CHashSet stdext::hash_set -# define CHashMultiMap stdext::hash_multimap -# else // MSVC6 +# ifdef _STLP_HASH_MAP # define CHashMap ::std::hash_map # define CHashSet ::std::hash_set # define CHashMultiMap ::std::hash_multimap +# pragma message("Using STLport") +# elif defined(NL_COMP_VC7) || defined(NL_COMP_VC71) || defined(NL_COMP_VC8) || defined(NL_COMP_VC9) // VC7 through 9 +# define CHashMap stdext::hash_map +# define CHashSet stdext::hash_set +# define CHashMultiMap stdext::hash_multimap +# pragma message("Using MS STL") +# else +# pragma error("You need to update your compiler") # endif #endif // NL_ISO_STDTR1_AVAILABLE @@ -331,6 +337,7 @@ template<> struct hash # define CHashMap std::tr1::unordered_map # define CHashSet std::tr1::unordered_set # define CHashMultiMap std::tr1::unordered_multimap +# pragma message("Using TR1 extensions") #endif /** From 1a162a7fb95db3086c35e22ff81b1aabdd7633fc Mon Sep 17 00:00:00 2001 From: "kaetemi@users.sourceforge.net" Date: Sat, 8 May 2010 10:43:32 +0200 Subject: [PATCH 02/12] Changed: VS2008 project for max vertex tree paint. --- .../nel_vertex_tree_paint.vcproj | 642 +++++------------- .../tools/3d/plugin_max/plugin_max_public.sln | 6 + 2 files changed, 187 insertions(+), 461 deletions(-) diff --git a/code/nel/tools/3d/plugin_max/nel_vertex_tree_paint/nel_vertex_tree_paint.vcproj b/code/nel/tools/3d/plugin_max/nel_vertex_tree_paint/nel_vertex_tree_paint.vcproj index 7eee397a7..61fd98897 100644 --- a/code/nel/tools/3d/plugin_max/nel_vertex_tree_paint/nel_vertex_tree_paint.vcproj +++ b/code/nel/tools/3d/plugin_max/nel_vertex_tree_paint/nel_vertex_tree_paint.vcproj @@ -1,514 +1,234 @@ - + + ProjectGUID="{680F9C48-975D-425A-89DF-D7AC3C093968}" + RootNamespace="vertex_tree_paint" + TargetFrameworkVersion="0" + > + Name="Win32" + /> + + - - - - - - - - - - - - - - - + CharacterSet="2" + > + Name="VCPreBuildEventTool" + /> + Name="VCCustomBuildTool" + /> + Name="VCXMLDataGeneratorTool" + /> + + /> + Name="VCCLCompilerTool" + Optimization="4" + InlineFunctionExpansion="1" + PreprocessorDefinitions="LIBXML_STATIC;WIN32;_DEBUG;_USRDLL" + StringPooling="true" + ExceptionHandling="2" + BasicRuntimeChecks="3" + SmallerTypeCheck="true" + RuntimeLibrary="3" + BufferSecurityCheck="true" + EnableFunctionLevelLinking="true" + WarningLevel="3" + SuppressStartupBanner="true" + DebugInformationFormat="3" + /> - + Name="VCManagedResourceCompilerTool" + /> + /> + Name="VCPreLinkEventTool" + /> + Name="VCLinkerTool" + AdditionalDependencies="maxscrpt.lib helpsys.lib winmm.lib libxml2.lib comctl32.lib delayimp.lib bmm.lib core.lib edmodel.lib geom.lib gfx.lib mesh.lib mnmath.lib paramblk2.lib maxutil.lib acap.lib version.lib freetype.lib ws2_32.lib" + OutputFile="..\plugins\$(ProjectName)_d.dlm" + SuppressStartupBanner="true" + IgnoreDefaultLibraryNames="libc;libcmt;libcmtd;msvcrt" + ModuleDefinitionFile="$(RootNamespace).def" + GenerateDebugInformation="true" + ProgramDatabaseFile="$(IntDir)\$(TargetName).pdb" + ImportLibrary="$(ProjectName)_d.lib" + TargetMachine="1" + /> + Name="VCALinkTool" + /> + Name="VCManifestTool" + /> + Name="VCXDCMakeTool" + /> + + + + + CharacterSet="2" + > + + + + + + SuppressStartupBanner="true" + DebugInformationFormat="3" + /> - - - - - + Name="VCManagedResourceCompilerTool" + /> + /> - - - - - - - - + Name="VCPreLinkEventTool" + /> + AdditionalDependencies="maxscrpt.lib helpsys.lib winmm.lib libxml2.lib comctl32.lib delayimp.lib bmm.lib core.lib edmodel.lib geom.lib gfx.lib mesh.lib mnmath.lib paramblk2.lib maxutil.lib acap.lib version.lib freetype.lib ws2_32.lib" + OutputFile="..\plugins\$(ProjectName)_r.dlm" + SuppressStartupBanner="true" + IgnoreDefaultLibraryNames="libc;libcmt;libcmtd;msvcrtd" + ModuleDefinitionFile="$(RootNamespace).def" + GenerateDebugInformation="true" + ProgramDatabaseFile="$(IntDir)\$(TargetName).pdb" + OptimizeReferences="2" + EnableCOMDATFolding="2" + ImportLibrary="$(ProjectName)_r.lib" + TargetMachine="1" + /> + Name="VCALinkTool" + /> + Name="VCManifestTool" + /> + Name="VCXDCMakeTool" + /> + Name="VCBscMakeTool" + /> + Name="VCFxCopTool" + /> + Name="VCAppVerifierTool" + /> - - - - - - - - - - - - - - - - - - + Name="VCPostBuildEventTool" + /> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + diff --git a/code/nel/tools/3d/plugin_max/plugin_max_public.sln b/code/nel/tools/3d/plugin_max/plugin_max_public.sln index b7d0e3960..38f9d99ed 100644 --- a/code/nel/tools/3d/plugin_max/plugin_max_public.sln +++ b/code/nel/tools/3d/plugin_max/plugin_max_public.sln @@ -154,6 +154,8 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "nel_patch_edit", "nel_patch {CDFC60B0-9D01-4822-ACAD-B66F7130FCAD} = {CDFC60B0-9D01-4822-ACAD-B66F7130FCAD} EndProjectSection EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "nel_vertex_tree_paint", "nel_vertex_tree_paint\nel_vertex_tree_paint.vcproj", "{680F9C48-975D-425A-89DF-D7AC3C093968}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Win32 = Debug|Win32 @@ -256,6 +258,10 @@ Global {53B9D9A1-AE6B-4E39-82B2-E8EE01075EEC}.Debug|Win32.Build.0 = Debug|Win32 {53B9D9A1-AE6B-4E39-82B2-E8EE01075EEC}.Release|Win32.ActiveCfg = Release|Win32 {53B9D9A1-AE6B-4E39-82B2-E8EE01075EEC}.Release|Win32.Build.0 = Release|Win32 + {680F9C48-975D-425A-89DF-D7AC3C093968}.Debug|Win32.ActiveCfg = Debug|Win32 + {680F9C48-975D-425A-89DF-D7AC3C093968}.Debug|Win32.Build.0 = Debug|Win32 + {680F9C48-975D-425A-89DF-D7AC3C093968}.Release|Win32.ActiveCfg = Release|Win32 + {680F9C48-975D-425A-89DF-D7AC3C093968}.Release|Win32.Build.0 = Release|Win32 EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE From a9c74710fe6e90a3ed79f364be5a8bca2b6b0bce Mon Sep 17 00:00:00 2001 From: "kaetemi@users.sourceforge.net" Date: Sat, 8 May 2010 10:47:45 +0200 Subject: [PATCH 03/12] Removed: Some files generated by VS compiler. --- .../3d/plugin_max/nel_export/nelexport_r.exp | Bin 1373 -> 0 bytes .../nel_patch_converter/nelconvertpatch_r.exp | Bin 2557 -> 0 bytes .../nel_patch_paint/nelpaintpatch_r.exp | Bin 1410 -> 0 bytes .../plugin_max/tile_utility/neltileutility_r.exp | Bin 1273 -> 0 bytes 4 files changed, 0 insertions(+), 0 deletions(-) delete mode 100644 code/nel/tools/3d/plugin_max/nel_export/nelexport_r.exp delete mode 100644 code/nel/tools/3d/plugin_max/nel_patch_converter/nelconvertpatch_r.exp delete mode 100644 code/nel/tools/3d/plugin_max/nel_patch_paint/nelpaintpatch_r.exp delete mode 100644 code/nel/tools/3d/plugin_max/tile_utility/neltileutility_r.exp diff --git a/code/nel/tools/3d/plugin_max/nel_export/nelexport_r.exp b/code/nel/tools/3d/plugin_max/nel_export/nelexport_r.exp deleted file mode 100644 index 0cbbb736813e4a79bf01f0aea824e2b40d21cb05..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1373 zcmb7EOK;Oa5FRIiP@c)90tti zj+_8-9UE?=U9!2C z&p(`7TU)2)ir;Q9A$KsBh&mH4`JTkn>4rF*N2CvmgNhiFS_+Y(kHZw=38~E@9+g@e zk@m+iLxdzVh^M4hL_8+7Nkqzb92ODBq&AIsMrvim<5HtLf1y0Wq>Y1;M0NPp8$!d+ zhs!XVq??ARr}M_T3f$vO;keGGr>2)D)N-k^1RmT$k<*)w$#l%2?m3R->RD6o zSbmG!8*QUY{6>&mU|j}l>E3;`t_b)EnBAUN7hkZtE7e zpJIgAAQLc?jAA2F83r|?TGZz1Blco`9WJ7)(sLcDpmd%uV(G@wfeH{VDQ%4OHtwq} zZC%8T=g=Y6bLiEYmX>e{{@{UUQK&Z)%EHc*ukW&--ru!r-&$|e9|3+Ne-q^pX&cEP zzNk(3`T2{QDVED>rh0!hx36{8%*vg@YN=YuY4k)VmmfgB>9ji8Y6&umwP2~Zm_smc_N>+mAPWZ`j$xe9)W zxdv}S%rxu_7*yo5p_xYTZ*VCvMwt9R3`N%;!7ko6agM-q#Q*3fayhVz!repmfn7rj Hp>FvL-O>%k diff --git a/code/nel/tools/3d/plugin_max/nel_patch_converter/nelconvertpatch_r.exp b/code/nel/tools/3d/plugin_max/nel_patch_converter/nelconvertpatch_r.exp deleted file mode 100644 index 61b49a1bd8ea149f5237dc1c7d86751b638a295c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2557 zcmcIlO>fgc5S=uIP(B;JK}A@o5}+bC&=%SX6sJj{RYMw@5DGF1uDxw796MS&B_KG$ zi4!+&`~iLe2>t*UZd{N!azhA�h5BPMSDHlme^xdG`73?07RX&PJl}p>$;W`DTE_ zAVx%HhURJhgz#eo;4$94E}uJyHwAyP!4_&u{RN)|*cSyb@M;|j^iIeIXS%n-8vGC% zcX7YA5%{K98a!?bTZ5~?{f~P$Y=X@YgDubl6h;K1U^7d1>=nkns^;m-vSC#qnM~xa z&P^1G+^pms)AkhQN@`NcT^nxF8IxYsbZkXYZb0%9^U}+jjm{Kb!s=d)vj(T6Qj=5j zzHW78)7k1C$<*3=1Z(pe*DB0oJlLfzzFZ(G`g<2@d{NWcFXKt2O0A(bS_5Y{O~s)ZO-5qAn}81ay>Jj7kXqWAiY*Asl{ zK8R5G;ruFdnboT>0O#W|e7agh6nRfQ0+&slJFc_nNhjt`O4;e$3_O4fanSD=z{geH zF_?;Jrh1NJx$2OiR;}8SX_qTno%piI;&PDEj03APNRO*|?kr*MNEc0ux$5dBCDW~G zmQ?U+hUrLSazZVo)dka5Ez`b@p<*qcgV8wsPk&q$GA^V)bG_9ufqFU=(r>g%2G9p3 z2Ko4HwPaCD=T73kubPwSEsA+e71AspDwBMw)H0vKesL6~kwDr~TtYmN!K&Ji0?ONP zwb8<^U}0O?(NgL#hfvTR2!b-CM>F^c;45B~$JB3oBM)EYAB}az-`#v+l}Eny9Rv7+ z{AIj0l4xrsAAUC$;nR!P(qJZ=l?G?87RNC~!|hfYEKH`0)3dp8nLbCS=B|OFJC&+z z8a?$V@Z$%SN$aPI!jFP`FNeL*|6utHU#hN9^i`+mmYMmuvl0WaH`#1K3SF{j~qh&cmqLd-C{Z!#E$Xrgqd zK}{B5M4%5obF+ha+QGc)V7hUi#_;_d?_iV;Cf~uBZOna~{c#IfZ|nG*ma(o@@o!qh WI$8rs)@%vkRzUMLTL3)>mHtmt8a?>{ diff --git a/code/nel/tools/3d/plugin_max/nel_patch_paint/nelpaintpatch_r.exp b/code/nel/tools/3d/plugin_max/nel_patch_paint/nelpaintpatch_r.exp deleted file mode 100644 index 75c4d8aeb5cbfd5b290ee34fffd66cc6187eaf4a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1410 zcmb7Ezi-n(6n<`6LZCphQGN(Z1gRC3+tMPHsDRU?C{aUFC2fGpQsvl}aKf=I+i6oI z1{NkJB>n{!24H4jVPa)RFfb!j_VV62PSenVp7K7w_uc2a^Ly`7l49_+e!2J~29N|X zB!!uJpoanB2eg-HcO;4c&Z4RKQ%u(Aw9+-=X#B+aFFj4jkS@8bm>x5NZ5DBJ=)A-I z4vmp8qO(LiEj8A&h&#@66lhTiVqi1N)wvzGdSE z%r_{Yr^nrZJ2r*oPP@T8p{gr2jjRt?GcAdi1bNukP%0Pmqw)X$6*oiwD6V? zPY7=ok=~DEjtI#n5zh!Ok9bme(}` zmZz|;3)f*OMY|mofYwZOCAiNG&+(mRAWv4OL8pEEvJ6I}JeUx2&xCv7@8KcR;($VBvw%#wLsut8uxPnrt zCmkrP5HII(EfS3M1cypZk^%}QP%zpP^hzI{12gvr?K~QFYf}1rHTkXjKD~GC`*`!M zwfhWU5BU|ef$upIW^~^tQEzi_ea_hxPIit`Oo~}Ls)o|Lb z!p%hY73}X**$1yT9Xba7)3V;ily71bGG5EwrZZDRMog%p29B7Wif00>^_g^e7RODn zhM0Nmqv)+rGY2n*m>ckVh*^L)eFhzIspv@~{I{40g8_z47mZM}5ry~+8N9dsF#^xg XKeEOCqqRtKWJ}S+k*!1%LoM_dkh2?$ diff --git a/code/nel/tools/3d/plugin_max/tile_utility/neltileutility_r.exp b/code/nel/tools/3d/plugin_max/tile_utility/neltileutility_r.exp deleted file mode 100644 index a8c27b2dbda68493f4230e243617fafbdbe631eb..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1273 zcmb7DPj3=Y5T7lzNc|JIX_UAJ5@~D}Y}|di8tw0gTamoq4-Zpgq(VW_IQ`za3_0=9Q%gY#k*_pCSNvK^#e8rtay1 zL;4HK2b8o#9>8rB6@QA!+I}ZhCydS+#=nM~03lv{M=>2{cmp=VR?ukS|4p5_z@u75 zIHj5oWrSVlNvR}=K#y4-x0sKLd+!v}@}bPz1xt6`B6AIL=;`pj$L$`u6~EhNj$kmC zfCh71iivNgyis_Fnu?EtjGF3;LJIW_VP#P-3Tqwpg0Rx4ZwYHtXnJEAE$U+wI|Oi3 zSZk>72&;%XCM?ST8|5W7;{iwsG-tl6bB0mg|5PEIpylWEv0&9iOG)mBZdZ}}bGYjyRZM*VAr4Foo1P{?UD$L=_K zSAKypSG&mG;I6M*a^3SyZp#}=R%;ZrHt%T`@4dwuasErNo`^sk@{@B=)#i3>yD^@N zs_v?9;1N=#kUB9XLEb684hVB0VQOwf*+s&A%rGAk!Z}iC4?_TdQSPD8j>V<@jUV5d z&yov%-uSsFohAYPAf8A0uMSPM3vb6U{Q7<-XNu*roTvkJxx@)Y_r$O@d!AZze(jG!Sd0zK&jclmMPOd#qdq&bCH=v`wqh;rphP~gf{ Jpuo%u`~%_q|62e6 From 311e87b746d3d3fd2632659b09690dab698f47db Mon Sep 17 00:00:00 2001 From: kervala Date: Sat, 8 May 2010 13:08:33 +0200 Subject: [PATCH 04/12] Changed: #853 Compilation on 64-bits platforms --- .../server/src/log_analyser_service/log_analyser_service.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/ryzom/server/src/log_analyser_service/log_analyser_service.cpp b/code/ryzom/server/src/log_analyser_service/log_analyser_service.cpp index b239d5c5a..c590e4d5a 100644 --- a/code/ryzom/server/src/log_analyser_service/log_analyser_service.cpp +++ b/code/ryzom/server/src/log_analyser_service/log_analyser_service.cpp @@ -247,7 +247,7 @@ bool CLogAnalyserService::getQueryResult(uint32 queryId, std::string& result, si page = numpage-1; uint lmin = page*linePerPage; - uint lmax = std::min((uint)(lmin+linePerPage), _Finished[i]->Result.size()); + uint lmax = std::min((uint)(lmin+linePerPage), (uint)_Finished[i]->Result.size()); uint l; result.clear(); @@ -329,7 +329,7 @@ bool CLogAnalyserService::getQueryResult(uint32 queryId, std::string& result, si page = numpage-1; uint lmin = page*linePerPage; - uint lmax = std::min((uint)(lmin+linePerPage), matchingLines.size()); + uint lmax = std::min((uint)(lmin+linePerPage), (uint)matchingLines.size()); result.clear(); From b5c66e8a1948337a835237836007c18d86220829 Mon Sep 17 00:00:00 2001 From: "kaetemi@users.sourceforge.net" Date: Sat, 8 May 2010 14:02:09 +0200 Subject: [PATCH 05/12] Added: Missing sheets causing server crash. --- .../leveldesign/game_element/emotes/list.emot | 13 + .../game_element/emotes/list.text_emotes | 13 + ..._for_difficulty_table.succes_chances_table | 315 ++++++++++++++++++ .../break_cast_resist.succes_chances_table | 315 ++++++++++++++++++ .../xp_table/craft.succes_chances_table | 315 ++++++++++++++++++ .../curative_magic.succes_chances_table | 315 ++++++++++++++++++ .../xp_table/default.action_xp_factor | 13 + .../xp_table/dodge_parry.succes_chances_table | 315 ++++++++++++++++++ .../dodge_parry_ai.succes_chances_table | 315 ++++++++++++++++++ .../xp_table/extracting.succes_chances_table | 315 ++++++++++++++++++ .../fight_phrase.succes_chances_table | 315 ++++++++++++++++++ .../magic_resist.succes_chances_table | 315 ++++++++++++++++++ .../magic_resist_link.succes_chances_table | 315 ++++++++++++++++++ .../offensive_magic.succes_chances_table | 315 ++++++++++++++++++ .../xp_table/prospecting.succes_chances_table | 315 ++++++++++++++++++ .../xp_table/shield_use.succes_chances_table | 315 ++++++++++++++++++ 16 files changed, 4134 insertions(+) create mode 100644 code/ryzom/common/data_leveldesign/leveldesign/game_element/emotes/list.emot create mode 100644 code/ryzom/common/data_leveldesign/leveldesign/game_element/emotes/list.text_emotes create mode 100644 code/ryzom/common/data_leveldesign/leveldesign/game_element/xp_table/action_success_for_difficulty_table.succes_chances_table create mode 100644 code/ryzom/common/data_leveldesign/leveldesign/game_element/xp_table/break_cast_resist.succes_chances_table create mode 100644 code/ryzom/common/data_leveldesign/leveldesign/game_element/xp_table/craft.succes_chances_table create mode 100644 code/ryzom/common/data_leveldesign/leveldesign/game_element/xp_table/curative_magic.succes_chances_table create mode 100644 code/ryzom/common/data_leveldesign/leveldesign/game_element/xp_table/default.action_xp_factor create mode 100644 code/ryzom/common/data_leveldesign/leveldesign/game_element/xp_table/dodge_parry.succes_chances_table create mode 100644 code/ryzom/common/data_leveldesign/leveldesign/game_element/xp_table/dodge_parry_ai.succes_chances_table create mode 100644 code/ryzom/common/data_leveldesign/leveldesign/game_element/xp_table/extracting.succes_chances_table create mode 100644 code/ryzom/common/data_leveldesign/leveldesign/game_element/xp_table/fight_phrase.succes_chances_table create mode 100644 code/ryzom/common/data_leveldesign/leveldesign/game_element/xp_table/magic_resist.succes_chances_table create mode 100644 code/ryzom/common/data_leveldesign/leveldesign/game_element/xp_table/magic_resist_link.succes_chances_table create mode 100644 code/ryzom/common/data_leveldesign/leveldesign/game_element/xp_table/offensive_magic.succes_chances_table create mode 100644 code/ryzom/common/data_leveldesign/leveldesign/game_element/xp_table/prospecting.succes_chances_table create mode 100644 code/ryzom/common/data_leveldesign/leveldesign/game_element/xp_table/shield_use.succes_chances_table diff --git a/code/ryzom/common/data_leveldesign/leveldesign/game_element/emotes/list.emot b/code/ryzom/common/data_leveldesign/leveldesign/game_element/emotes/list.emot new file mode 100644 index 000000000..5088d4a41 --- /dev/null +++ b/code/ryzom/common/data_leveldesign/leveldesign/game_element/emotes/list.emot @@ -0,0 +1,13 @@ + +
+ + + + + + + + + + + diff --git a/code/ryzom/common/data_leveldesign/leveldesign/game_element/emotes/list.text_emotes b/code/ryzom/common/data_leveldesign/leveldesign/game_element/emotes/list.text_emotes new file mode 100644 index 000000000..8dc793bab --- /dev/null +++ b/code/ryzom/common/data_leveldesign/leveldesign/game_element/emotes/list.text_emotes @@ -0,0 +1,13 @@ + +
+ + + + + + + + + + + diff --git a/code/ryzom/common/data_leveldesign/leveldesign/game_element/xp_table/action_success_for_difficulty_table.succes_chances_table b/code/ryzom/common/data_leveldesign/leveldesign/game_element/xp_table/action_success_for_difficulty_table.succes_chances_table new file mode 100644 index 000000000..15ffc8604 --- /dev/null +++ b/code/ryzom/common/data_leveldesign/leveldesign/game_element/xp_table/action_success_for_difficulty_table.succes_chances_table @@ -0,0 +1,315 @@ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/code/ryzom/common/data_leveldesign/leveldesign/game_element/xp_table/break_cast_resist.succes_chances_table b/code/ryzom/common/data_leveldesign/leveldesign/game_element/xp_table/break_cast_resist.succes_chances_table new file mode 100644 index 000000000..15ffc8604 --- /dev/null +++ b/code/ryzom/common/data_leveldesign/leveldesign/game_element/xp_table/break_cast_resist.succes_chances_table @@ -0,0 +1,315 @@ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/code/ryzom/common/data_leveldesign/leveldesign/game_element/xp_table/craft.succes_chances_table b/code/ryzom/common/data_leveldesign/leveldesign/game_element/xp_table/craft.succes_chances_table new file mode 100644 index 000000000..15ffc8604 --- /dev/null +++ b/code/ryzom/common/data_leveldesign/leveldesign/game_element/xp_table/craft.succes_chances_table @@ -0,0 +1,315 @@ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/code/ryzom/common/data_leveldesign/leveldesign/game_element/xp_table/curative_magic.succes_chances_table b/code/ryzom/common/data_leveldesign/leveldesign/game_element/xp_table/curative_magic.succes_chances_table new file mode 100644 index 000000000..15ffc8604 --- /dev/null +++ b/code/ryzom/common/data_leveldesign/leveldesign/game_element/xp_table/curative_magic.succes_chances_table @@ -0,0 +1,315 @@ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/code/ryzom/common/data_leveldesign/leveldesign/game_element/xp_table/default.action_xp_factor b/code/ryzom/common/data_leveldesign/leveldesign/game_element/xp_table/default.action_xp_factor new file mode 100644 index 000000000..bf5f18ea0 --- /dev/null +++ b/code/ryzom/common/data_leveldesign/leveldesign/game_element/xp_table/default.action_xp_factor @@ -0,0 +1,13 @@ + +
+ + + + + + + + + + + \ No newline at end of file diff --git a/code/ryzom/common/data_leveldesign/leveldesign/game_element/xp_table/dodge_parry.succes_chances_table b/code/ryzom/common/data_leveldesign/leveldesign/game_element/xp_table/dodge_parry.succes_chances_table new file mode 100644 index 000000000..15ffc8604 --- /dev/null +++ b/code/ryzom/common/data_leveldesign/leveldesign/game_element/xp_table/dodge_parry.succes_chances_table @@ -0,0 +1,315 @@ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/code/ryzom/common/data_leveldesign/leveldesign/game_element/xp_table/dodge_parry_ai.succes_chances_table b/code/ryzom/common/data_leveldesign/leveldesign/game_element/xp_table/dodge_parry_ai.succes_chances_table new file mode 100644 index 000000000..15ffc8604 --- /dev/null +++ b/code/ryzom/common/data_leveldesign/leveldesign/game_element/xp_table/dodge_parry_ai.succes_chances_table @@ -0,0 +1,315 @@ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/code/ryzom/common/data_leveldesign/leveldesign/game_element/xp_table/extracting.succes_chances_table b/code/ryzom/common/data_leveldesign/leveldesign/game_element/xp_table/extracting.succes_chances_table new file mode 100644 index 000000000..15ffc8604 --- /dev/null +++ b/code/ryzom/common/data_leveldesign/leveldesign/game_element/xp_table/extracting.succes_chances_table @@ -0,0 +1,315 @@ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/code/ryzom/common/data_leveldesign/leveldesign/game_element/xp_table/fight_phrase.succes_chances_table b/code/ryzom/common/data_leveldesign/leveldesign/game_element/xp_table/fight_phrase.succes_chances_table new file mode 100644 index 000000000..15ffc8604 --- /dev/null +++ b/code/ryzom/common/data_leveldesign/leveldesign/game_element/xp_table/fight_phrase.succes_chances_table @@ -0,0 +1,315 @@ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/code/ryzom/common/data_leveldesign/leveldesign/game_element/xp_table/magic_resist.succes_chances_table b/code/ryzom/common/data_leveldesign/leveldesign/game_element/xp_table/magic_resist.succes_chances_table new file mode 100644 index 000000000..15ffc8604 --- /dev/null +++ b/code/ryzom/common/data_leveldesign/leveldesign/game_element/xp_table/magic_resist.succes_chances_table @@ -0,0 +1,315 @@ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/code/ryzom/common/data_leveldesign/leveldesign/game_element/xp_table/magic_resist_link.succes_chances_table b/code/ryzom/common/data_leveldesign/leveldesign/game_element/xp_table/magic_resist_link.succes_chances_table new file mode 100644 index 000000000..15ffc8604 --- /dev/null +++ b/code/ryzom/common/data_leveldesign/leveldesign/game_element/xp_table/magic_resist_link.succes_chances_table @@ -0,0 +1,315 @@ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/code/ryzom/common/data_leveldesign/leveldesign/game_element/xp_table/offensive_magic.succes_chances_table b/code/ryzom/common/data_leveldesign/leveldesign/game_element/xp_table/offensive_magic.succes_chances_table new file mode 100644 index 000000000..15ffc8604 --- /dev/null +++ b/code/ryzom/common/data_leveldesign/leveldesign/game_element/xp_table/offensive_magic.succes_chances_table @@ -0,0 +1,315 @@ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/code/ryzom/common/data_leveldesign/leveldesign/game_element/xp_table/prospecting.succes_chances_table b/code/ryzom/common/data_leveldesign/leveldesign/game_element/xp_table/prospecting.succes_chances_table new file mode 100644 index 000000000..15ffc8604 --- /dev/null +++ b/code/ryzom/common/data_leveldesign/leveldesign/game_element/xp_table/prospecting.succes_chances_table @@ -0,0 +1,315 @@ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/code/ryzom/common/data_leveldesign/leveldesign/game_element/xp_table/shield_use.succes_chances_table b/code/ryzom/common/data_leveldesign/leveldesign/game_element/xp_table/shield_use.succes_chances_table new file mode 100644 index 000000000..15ffc8604 --- /dev/null +++ b/code/ryzom/common/data_leveldesign/leveldesign/game_element/xp_table/shield_use.succes_chances_table @@ -0,0 +1,315 @@ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file From b7585a6dfde76c5a313f4f1dbd2f3007b0c22018 Mon Sep 17 00:00:00 2001 From: "kaetemi@users.sourceforge.net" Date: Sat, 8 May 2010 14:44:54 +0200 Subject: [PATCH 06/12] Added: The .hgignore file. --- .hgignore | 71 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 71 insertions(+) create mode 100644 .hgignore diff --git a/.hgignore b/.hgignore new file mode 100644 index 000000000..cf2723cf7 --- /dev/null +++ b/.hgignore @@ -0,0 +1,71 @@ +syntax: glob + +# Various build directories +bin +obj +Debug +Release +ReleaseDebug +DebugFast +ReleaseDebugStatic +DebugFastStatic + +# Test and application directories +screenshots +release +test +Temp + +# Windows compile +*.exe +*.dll +*.lib +*.obj + +# Linux compile +*.a +*.la +*.o + +# Log dump files +report_refused +report_failed +exception_catched +*.stat +*.log +log.txt + +# Max plugin extensions +*.dlx +*.dlm +*.dlu + +# Visual Studio garbage +*.opensdf +UpgradeLog*.XML +_UpgradeReport_Files +BuildLog.htm +mt.dep +ipch +*.suo +*.ncb +*.user +*.ilk +*.pdb +*.aps +*.exp +*.idb +*.sdf + +# Python cache +*.pyd +*.pyc + +# Qt compiler +moc_*.cpp +*.moc + +# Misc garbage +*.cachefile +*.cache +*.7z From bac9d3f6ff97f6d85584d31d1278e43c4ce97131 Mon Sep 17 00:00:00 2001 From: kervala Date: Sat, 8 May 2010 15:25:16 +0200 Subject: [PATCH 07/12] Changed: #853 Compilation on 64-bits platforms --- code/ryzom/client/src/libwww.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/ryzom/client/src/libwww.cpp b/code/ryzom/client/src/libwww.cpp index 8f01e8440..aa95339a4 100644 --- a/code/ryzom/client/src/libwww.cpp +++ b/code/ryzom/client/src/libwww.cpp @@ -406,7 +406,7 @@ int requestTerminater (HTRequest * request, HTResponse * /* response */, // the parameter is actually an uint32 if (param != 0) { - CGroupHTML::TGroupHtmlByUIDMap::iterator it= CGroupHTML::_GroupHtmlByUID.find((uint32)param); + CGroupHTML::TGroupHtmlByUIDMap::iterator it= CGroupHTML::_GroupHtmlByUID.find((uint32)(size_t)param); if(it!=CGroupHTML::_GroupHtmlByUID.end()) { // get the pointer. NB: the refptr should not be NULL From c863ea76442e50ec8cfc87c4eae043efb16dc65e Mon Sep 17 00:00:00 2001 From: kervala Date: Sat, 8 May 2010 15:26:22 +0200 Subject: [PATCH 08/12] Changed: #851 misc linux patches (patches provided by ratmice) --- code/ryzom/client/src/connection.cpp | 4 ++-- code/ryzom/client/src/login_patch.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/code/ryzom/client/src/connection.cpp b/code/ryzom/client/src/connection.cpp index 167283fa3..dea96674c 100644 --- a/code/ryzom/client/src/connection.cpp +++ b/code/ryzom/client/src/connection.cpp @@ -981,7 +981,7 @@ TInterfaceState globalMenu() while (PlayerWantToGoInGame == false) { - #ifdef NL_DEBUG + #if defined(NL_OS_WINDOWS) && defined(NL_DEBUG) // tmp for debug if (::GetAsyncKeyState(VK_SPACE)) { @@ -1064,7 +1064,7 @@ TInterfaceState globalMenu() nlSleep(ClientCfg.Sleep); } - #ifdef NL_DEBUG + #if defined(NL_OS_WINDOWS) && defined(NL_DEBUG) if (::GetAsyncKeyState(VK_CONTROL)) { pIM->displayUIViewBBoxs(""); diff --git a/code/ryzom/client/src/login_patch.cpp b/code/ryzom/client/src/login_patch.cpp index 343945446..47a75d97f 100644 --- a/code/ryzom/client/src/login_patch.cpp +++ b/code/ryzom/client/src/login_patch.cpp @@ -1197,7 +1197,7 @@ void CPatchManager::downloadFileWithCurl (const string &source, const string &de // file not found, delete local file throw Exception ("curl init failed"); } - curl_easy_setopt(curl, CURLOPT_NOPROGRESS, FALSE); + curl_easy_setopt(curl, CURLOPT_NOPROGRESS, 0); curl_easy_setopt(curl, CURLOPT_PROGRESSFUNCTION, downloadProgressFunc); curl_easy_setopt(curl, CURLOPT_PROGRESSDATA, (void *) progress); curl_easy_setopt(curl, CURLOPT_URL, source.c_str()); From 0ef7935d573b156830daed8b15bd9d647b5c7bf2 Mon Sep 17 00:00:00 2001 From: "kaetemi@users.sourceforge.net" Date: Sat, 8 May 2010 15:26:47 +0200 Subject: [PATCH 09/12] Changed: More entries for .hgignore file. --- .hgignore | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/.hgignore b/.hgignore index cf2723cf7..c8c4c2605 100644 --- a/.hgignore +++ b/.hgignore @@ -16,6 +16,9 @@ release test Temp +# NeL cache +*.packed_sheets + # Windows compile *.exe *.dll @@ -26,6 +29,7 @@ Temp *.a *.la *.o +*_debug # Log dump files report_refused @@ -40,6 +44,24 @@ log.txt *.dlm *.dlu +# Linux garbage +Makefile.in +aclocal.m4 +config.guess +config.sub +configure +depcomp +nelconfig.h.in +install-sh +ltmain.sh +missing +ylwrap +*.config +*.creator +*.files +*.includes +*.mk + # Visual Studio garbage *.opensdf UpgradeLog*.XML From 1d7f0999b8ba2c3f8b29d1a46cc1628c35594893 Mon Sep 17 00:00:00 2001 From: "kaetemi@users.sourceforge.net" Date: Sat, 8 May 2010 15:31:00 +0200 Subject: [PATCH 10/12] Removed: Some files generated by VS compiler. --- .../extract_warnings/extract_warnings_r.exp | Bin 1315 -> 0 bytes 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 code/nel/tools/misc/log_analyser_plug_ins/extract_warnings/extract_warnings_r.exp diff --git a/code/nel/tools/misc/log_analyser_plug_ins/extract_warnings/extract_warnings_r.exp b/code/nel/tools/misc/log_analyser_plug_ins/extract_warnings/extract_warnings_r.exp deleted file mode 100644 index 3c870cfb7dc1da477cb304363f3b4d8b7ea68e34..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1315 zcmc&z&2AGh5S~qe5X6DpLE6I}ia@Kh;!vuhIBA3wQ9?yT1ZAa_v+FJfXC2v26A%Z) z1e*uK`?vN`hGA+;MLZ zMgc&M^GBRXF5_VM#km;IifBk2$yZ$evGnl_`CaRhPBB&-xzv_p#hpF}AQsN>%%yW~ zN?8^*HF2&Kv~%4lxq58{W6wJ2pwk_-qa%?yZPvG0Cb~?B^=2m8@ zbq3F5y(jG`d%;bLp`^2{=N1r{z*Crf>^( znsr>JpkC;(#v*`+GBeuhLl>?;z8UWI2M^!_+-pKM&%tabna)L03Y9pml}#qnW{J{8 z%6(-_I#shGm8DJots-7U!0vXkZ**b!B)l(`u*vUmBWY(`g+n*Xr4H}Ltz@*DjAfZ9 zS-y&CGrWhbCNXQ}Yy{KPS%>0qT2fcN|M1vN}2GCRXKAzcxZzl{YRaenWLO%}hu0jtr_>RhX J7UWC{@eA Date: Sat, 8 May 2010 15:32:03 +0200 Subject: [PATCH 11/12] Added: tables and default data for sql --- .../tools/server/sql/ryzom_default_data.sql | 47 + code/ryzom/tools/server/sql/ryzom_tables.sql | 812 ++++++++++++++++++ 2 files changed, 859 insertions(+) create mode 100644 code/ryzom/tools/server/sql/ryzom_default_data.sql create mode 100644 code/ryzom/tools/server/sql/ryzom_tables.sql diff --git a/code/ryzom/tools/server/sql/ryzom_default_data.sql b/code/ryzom/tools/server/sql/ryzom_default_data.sql new file mode 100644 index 000000000..7d470df6c --- /dev/null +++ b/code/ryzom/tools/server/sql/ryzom_default_data.sql @@ -0,0 +1,47 @@ +# -------------------------------------------------------- +# Host: 94.23.202.75 +# Database: nel +# Server version: 5.1.37-1ubuntu5.1 +# Server OS: debian-linux-gnu +# HeidiSQL version: 5.0.0.3272 +# Date/time: 2010-05-08 15:31:21 +# -------------------------------------------------------- + +/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; +/*!40101 SET NAMES utf8 */; +/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; +/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; +# Dumping data for table nel.domain: 8 rows +/*!40000 ALTER TABLE `domain` DISABLE KEYS */; +INSERT IGNORE INTO `domain` (`domain_id`, `domain_name`, `status`, `patch_version`, `backup_patch_url`, `patch_urls`, `login_address`, `session_manager_address`, `ring_db_name`, `web_host`, `web_host_php`, `description`) VALUES (12, 'ryzom_open', 'ds_open', 610, 'http://open.ryzom.com:23001', NULL, 'open.ryzom.com:49998', 'open.ryzom.com:49999', 'ring_open', 'open.ryzom.com:30000', 'open.ryzom.com:40916', 'Open Domain'); +/*!40000 ALTER TABLE `domain` ENABLE KEYS */; + +# Dumping data for table nel.shard: 17 rows +/*!40000 ALTER TABLE `shard` DISABLE KEYS */; +INSERT IGNORE INTO `shard` (`ShardId`, `domain_id`, `WsAddr`, `NbPlayers`, `Name`, `Online`, `ClientApplication`, `Version`, `PatchURL`, `DynPatchURL`, `FixedSessionId`, `State`, `MOTD`, `prim`) VALUES (302, 12, 'open.ryzom.com', 0, 'Open Shard', 0, 'ryzom_open', '', '', '', 0, 'ds_dev', '', 30); +/*!40000 ALTER TABLE `shard` ENABLE KEYS */; +# -------------------------------------------------------- +# Host: 94.23.202.75 +# Database: ring_open +# Server version: 5.1.37-1ubuntu5.1 +# Server OS: debian-linux-gnu +# HeidiSQL version: 5.0.0.3272 +# Date/time: 2010-05-08 15:31:22 +# -------------------------------------------------------- + +/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; +/*!40101 SET NAMES utf8 */; +/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; +/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; +# Dumping data for table ring_open.sessions: 1 rows +/*!40000 ALTER TABLE `sessions` DISABLE KEYS */; +INSERT IGNORE INTO `sessions` (`session_id`, `session_type`, `title`, `owner`, `plan_date`, `start_date`, `description`, `orientation`, `level`, `rule_type`, `access_type`, `state`, `host_shard_id`, `subscription_slots`, `reserved_slots`, `free_slots`, `estimated_duration`, `final_duration`, `folder_id`, `lang`, `icone`, `anim_mode`, `race_filter`, `religion_filter`, `guild_filter`, `shard_filter`, `level_filter`, `subscription_closed`, `newcomer`) VALUES (302, 'st_mainland', 'open shard mainland', 0, '2005-09-21 12:41:33', '2005-08-31 00:00:00', '', 'so_other', 'sl_a', 'rt_strict', 'at_public', 'ss_planned', 0, 0, 0, 0, 'et_short', 0, 0, 'lang_en', '', 'am_dm', 'rf_fyros,rf_matis,rf_tryker,rf_zorai', 'rf_kami,rf_karavan,rf_neutral', 'gf_any_player', '', 'lf_a,lf_b,lf_c,lf_d,lf_e,lf_f', 0, 0); +/*!40000 ALTER TABLE `sessions` ENABLE KEYS */; + +# Dumping data for table ring_open.shard: 1 rows +/*!40000 ALTER TABLE `shard` DISABLE KEYS */; +INSERT IGNORE INTO `shard` (`shard_id`, `WSOnline`, `MOTD`, `OldState`, `RequiredState`) VALUES (302, 1, 'Shard up', 'ds_restricted', 'ds_open'); +/*!40000 ALTER TABLE `shard` ENABLE KEYS */; +/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; +/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; diff --git a/code/ryzom/tools/server/sql/ryzom_tables.sql b/code/ryzom/tools/server/sql/ryzom_tables.sql new file mode 100644 index 000000000..25bfc1fac --- /dev/null +++ b/code/ryzom/tools/server/sql/ryzom_tables.sql @@ -0,0 +1,812 @@ +# -------------------------------------------------------- +# Host: 94.23.202.75 +# Database: nel +# Server version: 5.1.37-1ubuntu5.1 +# Server OS: debian-linux-gnu +# HeidiSQL version: 5.0.0.3272 +# Date/time: 2010-05-08 09:14:27 +# -------------------------------------------------------- + +/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; +/*!40101 SET NAMES utf8 */; +/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; +/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; +# Dumping database structure for nel +CREATE DATABASE IF NOT EXISTS `nel` /*!40100 DEFAULT CHARACTER SET latin1 */; +USE `nel`; + + +# Dumping structure for table nel.domain +CREATE TABLE IF NOT EXISTS `domain` ( + `domain_id` int(10) unsigned NOT NULL AUTO_INCREMENT, + `domain_name` varchar(32) NOT NULL DEFAULT '', + `status` enum('ds_close','ds_dev','ds_restricted','ds_open') NOT NULL DEFAULT 'ds_dev', + `patch_version` int(10) unsigned NOT NULL DEFAULT '0', + `backup_patch_url` varchar(255) DEFAULT NULL, + `patch_urls` text, + `login_address` varchar(255) NOT NULL DEFAULT '', + `session_manager_address` varchar(255) NOT NULL DEFAULT '', + `ring_db_name` varchar(255) NOT NULL DEFAULT '', + `web_host` varchar(255) NOT NULL DEFAULT '', + `web_host_php` varchar(255) NOT NULL DEFAULT '', + `description` varchar(200) DEFAULT NULL, + PRIMARY KEY (`domain_id`), + UNIQUE KEY `name_idx` (`domain_name`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1; + +# Data exporting was unselected. + + +# Dumping structure for table nel.permission +CREATE TABLE IF NOT EXISTS `permission` ( + `UId` int(10) unsigned NOT NULL DEFAULT '0', + `ClientApplication` char(64) NOT NULL DEFAULT 'ryzom', + `ShardId` int(10) NOT NULL DEFAULT '-1', + `AccessPrivilege` set('OPEN','DEV','RESTRICTED') NOT NULL DEFAULT 'OPEN', + `prim` int(10) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`prim`), + KEY `UIDIndex` (`UId`) +) ENGINE=InnoDB DEFAULT CHARSET=latin1; + +# Data exporting was unselected. + + +# Dumping structure for table nel.shard +CREATE TABLE IF NOT EXISTS `shard` ( + `ShardId` int(10) NOT NULL DEFAULT '0', + `domain_id` int(11) unsigned NOT NULL DEFAULT '0', + `WsAddr` varchar(64) DEFAULT NULL, + `NbPlayers` int(10) unsigned DEFAULT '0', + `Name` varchar(255) DEFAULT 'unknown shard', + `Online` tinyint(1) unsigned DEFAULT '0', + `ClientApplication` varchar(64) DEFAULT 'ryzom', + `Version` varchar(64) NOT NULL DEFAULT '', + `PatchURL` varchar(255) NOT NULL DEFAULT '', + `DynPatchURL` varchar(255) NOT NULL DEFAULT '', + `FixedSessionId` int(11) unsigned NOT NULL DEFAULT '0', + `State` enum('ds_close','ds_dev','ds_restricted','ds_open') NOT NULL DEFAULT 'ds_dev', + `MOTD` text NOT NULL, + `prim` int(10) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`prim`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='contains all shards informations for login system'; + +# Data exporting was unselected. + + +# Dumping structure for table nel.user +CREATE TABLE IF NOT EXISTS `user` ( + `UId` int(10) NOT NULL AUTO_INCREMENT, + `Login` varchar(64) NOT NULL DEFAULT '', + `Password` varchar(13) DEFAULT NULL, + `ShardId` int(10) NOT NULL DEFAULT '-1', + `State` enum('Offline','Online') NOT NULL DEFAULT 'Offline', + `Privilege` varchar(255) NOT NULL DEFAULT '', + `GroupName` varchar(255) NOT NULL DEFAULT '', + `FirstName` varchar(255) NOT NULL DEFAULT '', + `LastName` varchar(255) NOT NULL DEFAULT '', + `Birthday` varchar(32) NOT NULL DEFAULT '', + `Gender` tinyint(1) unsigned NOT NULL DEFAULT '0', + `Country` char(2) NOT NULL DEFAULT '', + `Email` varchar(255) NOT NULL DEFAULT '', + `Address` varchar(255) NOT NULL DEFAULT '', + `City` varchar(100) NOT NULL DEFAULT '', + `PostalCode` varchar(10) NOT NULL DEFAULT '', + `USState` char(2) NOT NULL DEFAULT '', + `Chat` char(2) NOT NULL DEFAULT '0', + `BetaKeyId` int(10) unsigned NOT NULL DEFAULT '0', + `CachedCoupons` varchar(255) NOT NULL DEFAULT '', + `ProfileAccess` varchar(45) DEFAULT NULL, + `Level` int(2) NOT NULL DEFAULT '0', + `CurrentFunds` int(4) NOT NULL DEFAULT '0', + `IdBilling` varchar(255) NOT NULL DEFAULT '', + `Community` char(2) NOT NULL DEFAULT '--', + `Newsletter` tinyint(1) NOT NULL DEFAULT '1', + `Account` varchar(64) NOT NULL DEFAULT '', + `ChoiceSubLength` tinyint(2) NOT NULL DEFAULT '0', + `CurrentSubLength` varchar(255) NOT NULL DEFAULT '0', + `ValidIdBilling` int(4) NOT NULL DEFAULT '0', + `GMId` int(4) NOT NULL DEFAULT '0', + `ExtendedPrivilege` varchar(128) NOT NULL DEFAULT '', + `ToolsGroup` varchar(20) NOT NULL DEFAULT '', + `Unsubscribe` date NOT NULL DEFAULT '0000-00-00', + `SubDate` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', + `SubIp` varchar(20) NOT NULL DEFAULT '', + `SecurePassword` varchar(32) NOT NULL DEFAULT '', + `LastInvoiceEmailCheck` date NOT NULL DEFAULT '0000-00-00', + `FromSource` varchar(8) NOT NULL DEFAULT '', + `ValidMerchantCode` varchar(13) NOT NULL DEFAULT '', + `PBC` tinyint(1) NOT NULL DEFAULT '0', + `ApiKeySeed` varchar(8) DEFAULT NULL, + PRIMARY KEY (`UId`), + KEY `LoginIndex` (`Login`), + KEY `GroupIndex` (`GroupName`), + KEY `ToolsGroup` (`ToolsGroup`), + KEY `CurrentSubLength` (`CurrentSubLength`), + KEY `Community` (`Community`), + KEY `Email` (`Email`), + KEY `GMId` (`GMId`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='contains all users informations for login system'; + +# Data exporting was unselected. +# -------------------------------------------------------- +# Host: 94.23.202.75 +# Database: nel_tool +# Server version: 5.1.37-1ubuntu5.1 +# Server OS: debian-linux-gnu +# HeidiSQL version: 5.0.0.3272 +# Date/time: 2010-05-08 09:14:28 +# -------------------------------------------------------- + +/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; +/*!40101 SET NAMES utf8 */; +/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; +/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; +# Dumping database structure for nel_tool +CREATE DATABASE IF NOT EXISTS `nel_tool` /*!40100 DEFAULT CHARACTER SET latin1 */; +USE `nel_tool`; + + +# Dumping structure for table nel_tool.neltool_annotations +CREATE TABLE IF NOT EXISTS `neltool_annotations` ( + `annotation_id` int(11) NOT NULL AUTO_INCREMENT, + `annotation_domain_id` int(11) DEFAULT NULL, + `annotation_shard_id` int(11) DEFAULT NULL, + `annotation_data` varchar(255) NOT NULL DEFAULT '', + `annotation_user_name` varchar(32) NOT NULL DEFAULT '', + `annotation_date` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`annotation_id`), + UNIQUE KEY `annotation_shard_id` (`annotation_shard_id`), + UNIQUE KEY `annotation_domain_id` (`annotation_domain_id`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1; + +# Data exporting was unselected. + + +# Dumping structure for table nel_tool.neltool_applications +CREATE TABLE IF NOT EXISTS `neltool_applications` ( + `application_id` int(11) NOT NULL AUTO_INCREMENT, + `application_name` varchar(64) NOT NULL DEFAULT '', + `application_uri` varchar(255) NOT NULL DEFAULT '', + `application_restriction` varchar(64) NOT NULL DEFAULT '', + `application_order` int(11) NOT NULL DEFAULT '0', + `application_visible` int(11) NOT NULL DEFAULT '0', + `application_icon` varchar(128) NOT NULL DEFAULT '', + PRIMARY KEY (`application_id`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1; + +# Data exporting was unselected. + + +# Dumping structure for table nel_tool.neltool_domains +CREATE TABLE IF NOT EXISTS `neltool_domains` ( + `domain_id` int(11) NOT NULL AUTO_INCREMENT, + `domain_name` varchar(128) NOT NULL DEFAULT '', + `domain_as_host` varchar(128) NOT NULL DEFAULT '', + `domain_as_port` int(11) NOT NULL DEFAULT '0', + `domain_rrd_path` varchar(255) NOT NULL DEFAULT '', + `domain_las_admin_path` varchar(255) NOT NULL DEFAULT '', + `domain_las_local_path` varchar(255) NOT NULL DEFAULT '', + `domain_application` varchar(128) NOT NULL DEFAULT '', + `domain_sql_string` varchar(128) NOT NULL DEFAULT '', + `domain_hd_check` int(11) NOT NULL DEFAULT '0', + `domain_mfs_web` text, + `domain_cs_sql_string` varchar(255) DEFAULT NULL, + PRIMARY KEY (`domain_id`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1; + +# Data exporting was unselected. + + +# Dumping structure for table nel_tool.neltool_groups +CREATE TABLE IF NOT EXISTS `neltool_groups` ( + `group_id` int(11) NOT NULL AUTO_INCREMENT, + `group_name` varchar(32) NOT NULL DEFAULT 'NewGroup', + `group_level` int(11) NOT NULL DEFAULT '0', + `group_default` int(11) NOT NULL DEFAULT '0', + `group_active` int(11) NOT NULL DEFAULT '0', + `group_default_domain_id` tinyint(3) unsigned DEFAULT NULL, + `group_default_shard_id` tinyint(3) unsigned DEFAULT NULL, + PRIMARY KEY (`group_id`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1; + +# Data exporting was unselected. + + +# Dumping structure for table nel_tool.neltool_group_applications +CREATE TABLE IF NOT EXISTS `neltool_group_applications` ( + `group_application_id` int(11) NOT NULL AUTO_INCREMENT, + `group_application_group_id` int(11) NOT NULL DEFAULT '0', + `group_application_application_id` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`group_application_id`), + KEY `group_application_group_id` (`group_application_group_id`), + KEY `group_application_application_id` (`group_application_application_id`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1; + +# Data exporting was unselected. + + +# Dumping structure for table nel_tool.neltool_group_domains +CREATE TABLE IF NOT EXISTS `neltool_group_domains` ( + `group_domain_id` int(11) NOT NULL AUTO_INCREMENT, + `group_domain_group_id` int(11) NOT NULL DEFAULT '0', + `group_domain_domain_id` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`group_domain_id`), + KEY `group_domain_group_id` (`group_domain_group_id`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1; + +# Data exporting was unselected. + + +# Dumping structure for table nel_tool.neltool_group_shards +CREATE TABLE IF NOT EXISTS `neltool_group_shards` ( + `group_shard_id` int(11) NOT NULL AUTO_INCREMENT, + `group_shard_group_id` int(11) NOT NULL DEFAULT '0', + `group_shard_shard_id` int(11) NOT NULL DEFAULT '0', + `group_shard_domain_id` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`group_shard_id`), + KEY `group_shard_group_id` (`group_shard_group_id`), + KEY `group_shard_domain_id` (`group_shard_domain_id`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1; + +# Data exporting was unselected. + + +# Dumping structure for table nel_tool.neltool_locks +CREATE TABLE IF NOT EXISTS `neltool_locks` ( + `lock_id` int(11) NOT NULL AUTO_INCREMENT, + `lock_domain_id` int(11) DEFAULT NULL, + `lock_shard_id` int(11) DEFAULT NULL, + `lock_user_name` varchar(32) NOT NULL DEFAULT '', + `lock_date` int(11) NOT NULL DEFAULT '0', + `lock_update` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`lock_id`), + UNIQUE KEY `lock_shard_id` (`lock_shard_id`), + UNIQUE KEY `lock_domain_id` (`lock_domain_id`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1; + +# Data exporting was unselected. + + +# Dumping structure for table nel_tool.neltool_logs +CREATE TABLE IF NOT EXISTS `neltool_logs` ( + `logs_id` int(11) NOT NULL AUTO_INCREMENT, + `logs_user_name` varchar(32) NOT NULL DEFAULT '0', + `logs_date` int(11) NOT NULL DEFAULT '0', + `logs_data` varchar(255) NOT NULL DEFAULT '', + PRIMARY KEY (`logs_id`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1; + +# Data exporting was unselected. + + +# Dumping structure for table nel_tool.neltool_notes +CREATE TABLE IF NOT EXISTS `neltool_notes` ( + `note_id` int(11) NOT NULL AUTO_INCREMENT, + `note_user_id` int(11) NOT NULL DEFAULT '0', + `note_title` varchar(128) NOT NULL DEFAULT '', + `note_data` text NOT NULL, + `note_date` int(11) NOT NULL DEFAULT '0', + `note_active` int(11) NOT NULL DEFAULT '0', + `note_global` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`note_id`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1; + +# Data exporting was unselected. + + +# Dumping structure for table nel_tool.neltool_restart_groups +CREATE TABLE IF NOT EXISTS `neltool_restart_groups` ( + `restart_group_id` int(10) unsigned NOT NULL AUTO_INCREMENT, + `restart_group_name` varchar(50) DEFAULT NULL, + `restart_group_list` varchar(50) DEFAULT NULL, + `restart_group_order` varchar(50) DEFAULT NULL, + PRIMARY KEY (`restart_group_id`), + UNIQUE KEY `restart_group_id` (`restart_group_id`), + KEY `restart_group_id_2` (`restart_group_id`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1; + +# Data exporting was unselected. + + +# Dumping structure for table nel_tool.neltool_restart_messages +CREATE TABLE IF NOT EXISTS `neltool_restart_messages` ( + `restart_message_id` int(10) unsigned NOT NULL AUTO_INCREMENT, + `restart_message_name` varchar(20) DEFAULT NULL, + `restart_message_value` varchar(128) DEFAULT NULL, + `restart_message_lang` varchar(5) DEFAULT NULL, + PRIMARY KEY (`restart_message_id`), + UNIQUE KEY `restart_message_id` (`restart_message_id`), + KEY `restart_message_id_2` (`restart_message_id`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1; + +# Data exporting was unselected. + + +# Dumping structure for table nel_tool.neltool_restart_sequences +CREATE TABLE IF NOT EXISTS `neltool_restart_sequences` ( + `restart_sequence_id` int(10) unsigned NOT NULL AUTO_INCREMENT, + `restart_sequence_domain_id` int(10) unsigned NOT NULL DEFAULT '0', + `restart_sequence_shard_id` int(10) unsigned NOT NULL DEFAULT '0', + `restart_sequence_user_name` varchar(50) DEFAULT NULL, + `restart_sequence_step` int(10) unsigned NOT NULL DEFAULT '0', + `restart_sequence_date_start` int(11) DEFAULT NULL, + `restart_sequence_date_end` int(11) DEFAULT NULL, + `restart_sequence_timer` int(11) unsigned DEFAULT '0', + PRIMARY KEY (`restart_sequence_id`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1; + +# Data exporting was unselected. + + +# Dumping structure for table nel_tool.neltool_shards +CREATE TABLE IF NOT EXISTS `neltool_shards` ( + `shard_id` int(11) NOT NULL AUTO_INCREMENT, + `shard_name` varchar(128) NOT NULL DEFAULT '', + `shard_as_id` varchar(255) NOT NULL DEFAULT '0', + `shard_domain_id` int(11) NOT NULL DEFAULT '0', + `shard_lang` char(2) NOT NULL DEFAULT 'en', + `shard_restart` int(10) unsigned NOT NULL DEFAULT '0', + PRIMARY KEY (`shard_id`), + KEY `shard_domain_id` (`shard_domain_id`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1; + +# Data exporting was unselected. + + +# Dumping structure for table nel_tool.neltool_stats_hd_datas +CREATE TABLE IF NOT EXISTS `neltool_stats_hd_datas` ( + `hd_id` int(11) NOT NULL AUTO_INCREMENT, + `hd_domain_id` int(11) NOT NULL DEFAULT '0', + `hd_server` varchar(32) NOT NULL DEFAULT '', + `hd_device` varchar(64) NOT NULL DEFAULT '', + `hd_size` varchar(16) NOT NULL DEFAULT '', + `hd_used` varchar(16) NOT NULL DEFAULT '', + `hd_free` varchar(16) NOT NULL DEFAULT '', + `hd_percent` int(11) NOT NULL DEFAULT '0', + `hd_mount` varchar(128) NOT NULL DEFAULT '', + PRIMARY KEY (`hd_id`), + KEY `hd_domain_id` (`hd_domain_id`), + KEY `hd_server` (`hd_server`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1; + +# Data exporting was unselected. + + +# Dumping structure for table nel_tool.neltool_stats_hd_times +CREATE TABLE IF NOT EXISTS `neltool_stats_hd_times` ( + `hd_domain_id` int(11) NOT NULL DEFAULT '0', + `hd_last_time` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`hd_domain_id`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1; + +# Data exporting was unselected. + + +# Dumping structure for table nel_tool.neltool_users +CREATE TABLE IF NOT EXISTS `neltool_users` ( + `user_id` int(11) NOT NULL AUTO_INCREMENT, + `user_name` varchar(32) NOT NULL DEFAULT '', + `user_password` varchar(64) NOT NULL DEFAULT '', + `user_group_id` int(11) NOT NULL DEFAULT '0', + `user_created` int(11) NOT NULL DEFAULT '0', + `user_active` int(11) NOT NULL DEFAULT '0', + `user_logged_last` int(11) NOT NULL DEFAULT '0', + `user_logged_count` int(11) NOT NULL DEFAULT '0', + `user_menu_style` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`user_id`), + UNIQUE KEY `user_login` (`user_name`), + KEY `user_group_id` (`user_group_id`), + KEY `user_active` (`user_active`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1; + +# Data exporting was unselected. + + +# Dumping structure for table nel_tool.neltool_user_applications +CREATE TABLE IF NOT EXISTS `neltool_user_applications` ( + `user_application_id` int(11) NOT NULL AUTO_INCREMENT, + `user_application_user_id` int(11) NOT NULL DEFAULT '0', + `user_application_application_id` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`user_application_id`), + KEY `user_application_user_id` (`user_application_user_id`), + KEY `user_application_application_id` (`user_application_application_id`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1; + +# Data exporting was unselected. + + +# Dumping structure for table nel_tool.neltool_user_domains +CREATE TABLE IF NOT EXISTS `neltool_user_domains` ( + `user_domain_id` int(11) NOT NULL AUTO_INCREMENT, + `user_domain_user_id` int(11) NOT NULL DEFAULT '0', + `user_domain_domain_id` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`user_domain_id`), + KEY `user_domain_user_id` (`user_domain_user_id`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1; + +# Data exporting was unselected. + + +# Dumping structure for table nel_tool.neltool_user_shards +CREATE TABLE IF NOT EXISTS `neltool_user_shards` ( + `user_shard_id` int(11) NOT NULL AUTO_INCREMENT, + `user_shard_user_id` int(11) NOT NULL DEFAULT '0', + `user_shard_shard_id` int(11) NOT NULL DEFAULT '0', + `user_shard_domain_id` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`user_shard_id`), + KEY `user_shard_user_id` (`user_shard_user_id`), + KEY `user_shard_domain_id` (`user_shard_domain_id`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1; + +# Data exporting was unselected. +# -------------------------------------------------------- +# Host: 94.23.202.75 +# Database: ring_open +# Server version: 5.1.37-1ubuntu5.1 +# Server OS: debian-linux-gnu +# HeidiSQL version: 5.0.0.3272 +# Date/time: 2010-05-08 09:14:32 +# -------------------------------------------------------- + +/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; +/*!40101 SET NAMES utf8 */; +/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; +/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; +# Dumping database structure for ring_open +CREATE DATABASE IF NOT EXISTS `ring_open` /*!40100 DEFAULT CHARACTER SET latin1 */; +USE `ring_open`; + + +# Dumping structure for table ring_open.characters +CREATE TABLE IF NOT EXISTS `characters` ( + `char_id` int(10) unsigned NOT NULL DEFAULT '0', + `char_name` varchar(20) NOT NULL DEFAULT '', + `user_id` int(10) unsigned NOT NULL DEFAULT '0', + `guild_id` int(10) unsigned NOT NULL DEFAULT '0', + `best_combat_level` int(10) unsigned NOT NULL DEFAULT '0', + `home_mainland_session_id` int(10) unsigned NOT NULL DEFAULT '0', + `ring_access` varchar(63) NOT NULL DEFAULT '', + `race` enum('r_fyros','r_matis','r_tryker','r_zorai') NOT NULL DEFAULT 'r_fyros', + `civilisation` enum('c_neutral','c_fyros','c_fyros','c_matis','c_tryker','c_zorai') NOT NULL DEFAULT 'c_neutral', + `cult` enum('c_neutral','c_kami','c_karavan') NOT NULL DEFAULT 'c_neutral', + `current_session` int(11) unsigned NOT NULL DEFAULT '0', + `rrp_am` int(11) unsigned NOT NULL DEFAULT '0', + `rrp_masterless` int(11) unsigned NOT NULL DEFAULT '0', + `rrp_author` int(11) unsigned NOT NULL DEFAULT '0', + `newcomer` tinyint(1) NOT NULL DEFAULT '1', + `creation_date` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', + `last_played_date` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', + PRIMARY KEY (`char_id`), + UNIQUE KEY `char_name_idx` (`char_name`,`home_mainland_session_id`), + KEY `user_id_idx` (`user_id`), + KEY `guild_idx` (`guild_id`), + KEY `guild_id_idx` (`guild_id`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1; + +# Data exporting was unselected. + + +# Dumping structure for table ring_open.folder +CREATE TABLE IF NOT EXISTS `folder` ( + `Id` int(10) unsigned NOT NULL AUTO_INCREMENT, + `owner` int(10) unsigned NOT NULL DEFAULT '0', + `title` varchar(40) NOT NULL DEFAULT '', + `comments` text NOT NULL, + PRIMARY KEY (`Id`), + KEY `owner_idx` (`owner`), + KEY `title_idx` (`title`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1 ROW_FORMAT=DYNAMIC; + +# Data exporting was unselected. + + +# Dumping structure for table ring_open.folder_access +CREATE TABLE IF NOT EXISTS `folder_access` ( + `Id` int(10) unsigned NOT NULL AUTO_INCREMENT, + `folder_id` int(10) unsigned NOT NULL DEFAULT '0', + `user_id` int(10) unsigned NOT NULL DEFAULT '0', + PRIMARY KEY (`Id`), + KEY `folder_id_idx` (`folder_id`), + KEY `user_idx` (`user_id`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1 ROW_FORMAT=FIXED; + +# Data exporting was unselected. + + +# Dumping structure for table ring_open.guilds +CREATE TABLE IF NOT EXISTS `guilds` ( + `guild_id` int(10) unsigned NOT NULL DEFAULT '0', + `guild_name` varchar(50) NOT NULL DEFAULT '', + `shard_id` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`guild_id`), + KEY `shard_id_idx` (`shard_id`), + KEY `guild_name_idx` (`guild_name`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1 ROW_FORMAT=DYNAMIC; + +# Data exporting was unselected. + + +# Dumping structure for table ring_open.guild_invites +CREATE TABLE IF NOT EXISTS `guild_invites` ( + `Id` int(10) unsigned NOT NULL AUTO_INCREMENT, + `session_id` int(10) unsigned NOT NULL DEFAULT '0', + `guild_id` int(10) unsigned NOT NULL DEFAULT '0', + PRIMARY KEY (`Id`), + KEY `guild_id_idx` (`guild_id`), + KEY `session_id_idx` (`session_id`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1 ROW_FORMAT=FIXED; + +# Data exporting was unselected. + + +# Dumping structure for table ring_open.journal_entry +CREATE TABLE IF NOT EXISTS `journal_entry` ( + `Id` int(10) unsigned NOT NULL AUTO_INCREMENT, + `session_id` int(10) unsigned NOT NULL DEFAULT '0', + `author` int(10) unsigned NOT NULL DEFAULT '0', + `type` enum('jet_credits','jet_notes') NOT NULL DEFAULT 'jet_notes', + `text` text NOT NULL, + `time_stamp` datetime NOT NULL DEFAULT '2005-09-07 12:41:33', + PRIMARY KEY (`Id`), + KEY `session_id_idx` (`session_id`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1 ROW_FORMAT=DYNAMIC; + +# Data exporting was unselected. + + +# Dumping structure for table ring_open.known_users +CREATE TABLE IF NOT EXISTS `known_users` ( + `Id` int(10) unsigned NOT NULL AUTO_INCREMENT, + `owner` int(10) unsigned NOT NULL DEFAULT '0', + `targer_user` int(10) unsigned NOT NULL DEFAULT '0', + `targer_character` int(10) unsigned NOT NULL DEFAULT '0', + `relation_type` enum('rt_friend','rt_banned','rt_friend_dm') NOT NULL DEFAULT 'rt_friend', + `comments` varchar(255) NOT NULL DEFAULT '', + PRIMARY KEY (`Id`), + KEY `user_index` (`owner`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1 ROW_FORMAT=DYNAMIC; + +# Data exporting was unselected. + + +# Dumping structure for table ring_open.mfs_erased_mail_series +CREATE TABLE IF NOT EXISTS `mfs_erased_mail_series` ( + `erased_char_id` int(11) unsigned NOT NULL DEFAULT '0', + `erased_char_name` varchar(32) NOT NULL DEFAULT '', + `erased_series` int(11) unsigned NOT NULL AUTO_INCREMENT, + `erase_date` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', + PRIMARY KEY (`erased_series`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1 ROW_FORMAT=DYNAMIC; + +# Data exporting was unselected. + + +# Dumping structure for table ring_open.mfs_guild_thread +CREATE TABLE IF NOT EXISTS `mfs_guild_thread` ( + `thread_id` int(11) NOT NULL AUTO_INCREMENT, + `guild_id` int(11) unsigned NOT NULL DEFAULT '0', + `topic` varchar(255) NOT NULL DEFAULT '', + `author_name` varchar(32) NOT NULL DEFAULT '', + `last_post_date` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', + `post_count` int(11) unsigned NOT NULL DEFAULT '0', + PRIMARY KEY (`thread_id`), + KEY `guild_index` (`guild_id`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1 ROW_FORMAT=DYNAMIC; + +# Data exporting was unselected. + + +# Dumping structure for table ring_open.mfs_guild_thread_message +CREATE TABLE IF NOT EXISTS `mfs_guild_thread_message` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `thread_id` int(11) unsigned NOT NULL DEFAULT '0', + `author_name` varchar(32) NOT NULL DEFAULT '', + `date` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', + `content` text NOT NULL, + PRIMARY KEY (`id`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1 ROW_FORMAT=DYNAMIC; + +# Data exporting was unselected. + + +# Dumping structure for table ring_open.mfs_mail +CREATE TABLE IF NOT EXISTS `mfs_mail` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `sender_name` varchar(32) NOT NULL DEFAULT '', + `subject` varchar(250) NOT NULL DEFAULT '', + `date` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', + `status` enum('ms_new','ms_read','ms_erased') NOT NULL DEFAULT 'ms_new', + `dest_char_id` int(11) unsigned NOT NULL DEFAULT '0', + `erase_series` int(11) unsigned NOT NULL DEFAULT '0', + `content` text NOT NULL, + PRIMARY KEY (`id`), + KEY `dest_index` (`dest_char_id`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1 ROW_FORMAT=DYNAMIC; + +# Data exporting was unselected. + + +# Dumping structure for table ring_open.outlands +CREATE TABLE IF NOT EXISTS `outlands` ( + `session_id` int(11) unsigned NOT NULL AUTO_INCREMENT, + `island_name` text NOT NULL, + `billing_instance_id` int(11) unsigned NOT NULL DEFAULT '0', + `anim_session_id` int(11) unsigned NOT NULL DEFAULT '0', + PRIMARY KEY (`session_id`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1; + +# Data exporting was unselected. + + +# Dumping structure for table ring_open.player_rating +CREATE TABLE IF NOT EXISTS `player_rating` ( + `Id` int(10) unsigned NOT NULL AUTO_INCREMENT, + `scenario_id` int(10) unsigned NOT NULL DEFAULT '0', + `session_id` int(10) unsigned NOT NULL DEFAULT '0', + `rate_fun` tinyint(3) unsigned NOT NULL DEFAULT '0', + `rate_difficulty` tinyint(3) unsigned NOT NULL DEFAULT '0', + `rate_accessibility` tinyint(3) unsigned NOT NULL DEFAULT '0', + `rate_originality` tinyint(3) unsigned NOT NULL DEFAULT '0', + `rate_direction` tinyint(3) unsigned NOT NULL DEFAULT '0', + `author` int(10) unsigned NOT NULL DEFAULT '0', + `rating` int(10) NOT NULL DEFAULT '0', + `comments` text NOT NULL, + `time_stamp` datetime NOT NULL DEFAULT '2005-09-07 12:41:33', + PRIMARY KEY (`Id`), + KEY `session_id_idx` (`scenario_id`), + KEY `author_idx` (`author`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1 ROW_FORMAT=DYNAMIC; + +# Data exporting was unselected. + + +# Dumping structure for table ring_open.ring_users +CREATE TABLE IF NOT EXISTS `ring_users` ( + `user_id` int(10) unsigned NOT NULL DEFAULT '0', + `user_name` varchar(20) NOT NULL DEFAULT '', + `user_type` enum('ut_character','ut_pioneer') NOT NULL DEFAULT 'ut_character', + `current_session` int(10) unsigned NOT NULL DEFAULT '0', + `current_activity` enum('ca_none','ca_play','ca_edit','ca_anim') NOT NULL DEFAULT 'ca_none', + `current_status` enum('cs_offline','cs_logged','cs_online') NOT NULL DEFAULT 'cs_offline', + `public_level` enum('pl_none','pl_public') NOT NULL DEFAULT 'pl_none', + `account_type` enum('at_normal','at_gold') NOT NULL DEFAULT 'at_normal', + `content_access_level` varchar(20) NOT NULL DEFAULT '', + `description` text NOT NULL, + `lang` enum('lang_en','lang_fr','lang_de') NOT NULL DEFAULT 'lang_en', + `cookie` varchar(30) NOT NULL DEFAULT '', + `current_domain_id` int(10) NOT NULL DEFAULT '-1', + `pioneer_char_id` int(11) unsigned NOT NULL DEFAULT '0', + `current_char` int(11) NOT NULL DEFAULT '0', + `add_privileges` varchar(64) NOT NULL DEFAULT '', + PRIMARY KEY (`user_id`), + UNIQUE KEY `user_name_idx` (`user_name`), + KEY `cookie_idx` (`cookie`), + KEY `current_session_idx` (`current_session`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1 ROW_FORMAT=DYNAMIC; + +# Data exporting was unselected. + + +# Dumping structure for table ring_open.scenario +CREATE TABLE IF NOT EXISTS `scenario` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `md5` varchar(64) NOT NULL DEFAULT '', + `title` varchar(32) NOT NULL DEFAULT '', + `description` text NOT NULL, + `author` varchar(32) NOT NULL DEFAULT '', + `rrp_total` int(11) unsigned NOT NULL DEFAULT '0', + `anim_mode` enum('am_dm','am_autonomous') NOT NULL DEFAULT 'am_dm', + `language` varchar(11) NOT NULL DEFAULT '', + `orientation` enum('so_newbie_training','so_story_telling','so_mistery','so_hack_slash','so_guild_training','so_other') NOT NULL DEFAULT 'so_other', + `level` enum('sl_a','sl_b','sl_c','sl_d','sl_e','sl_f') NOT NULL DEFAULT 'sl_a', + `allow_free_trial` tinyint(1) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1 ROW_FORMAT=DYNAMIC; + +# Data exporting was unselected. + + +# Dumping structure for table ring_open.scenario_desc +CREATE TABLE IF NOT EXISTS `scenario_desc` ( + `session_id` int(10) unsigned NOT NULL DEFAULT '0', + `parent_scenario` int(10) unsigned NOT NULL DEFAULT '0', + `description` text NOT NULL, + `relation_to_parent` enum('rtp_same','rtp_variant','rtp_different') NOT NULL DEFAULT 'rtp_same', + `title` varchar(40) NOT NULL DEFAULT '', + `num_player` int(10) unsigned NOT NULL DEFAULT '0', + `content_access_level` varchar(20) NOT NULL DEFAULT '', + PRIMARY KEY (`session_id`), + UNIQUE KEY `title_idx` (`title`), + KEY `parent_idx` (`parent_scenario`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1 ROW_FORMAT=DYNAMIC; + +# Data exporting was unselected. + + +# Dumping structure for table ring_open.sessions +CREATE TABLE IF NOT EXISTS `sessions` ( + `session_id` int(10) unsigned NOT NULL AUTO_INCREMENT, + `session_type` enum('st_edit','st_anim','st_outland','st_mainland') NOT NULL DEFAULT 'st_edit', + `title` varchar(40) NOT NULL DEFAULT '', + `owner` int(10) unsigned NOT NULL DEFAULT '0', + `plan_date` datetime NOT NULL DEFAULT '2005-09-21 12:41:33', + `start_date` datetime NOT NULL DEFAULT '2005-08-31 00:00:00', + `description` text NOT NULL, + `orientation` enum('so_newbie_training','so_story_telling','so_mistery','so_hack_slash','so_guild_training','so_other') NOT NULL DEFAULT 'so_other', + `level` enum('sl_a','sl_b','sl_c','sl_d','sl_e','sl_f') NOT NULL DEFAULT 'sl_a', + `rule_type` enum('rt_strict','rt_liberal') NOT NULL DEFAULT 'rt_strict', + `access_type` enum('at_public','at_private') NOT NULL DEFAULT 'at_private', + `state` enum('ss_planned','ss_open','ss_locked','ss_closed') NOT NULL DEFAULT 'ss_planned', + `host_shard_id` int(11) NOT NULL DEFAULT '0', + `subscription_slots` int(11) unsigned NOT NULL DEFAULT '0', + `reserved_slots` int(10) unsigned NOT NULL DEFAULT '0', + `free_slots` int(10) unsigned NOT NULL DEFAULT '0', + `estimated_duration` enum('et_short','et_medium','et_long') NOT NULL DEFAULT 'et_short', + `final_duration` int(10) unsigned NOT NULL DEFAULT '0', + `folder_id` int(10) unsigned NOT NULL DEFAULT '0', + `lang` varchar(20) NOT NULL DEFAULT '', + `icone` varchar(70) NOT NULL DEFAULT '', + `anim_mode` enum('am_dm','am_autonomous') NOT NULL DEFAULT 'am_dm', + `race_filter` set('rf_fyros','rf_matis','rf_tryker','rf_zorai') NOT NULL DEFAULT '', + `religion_filter` set('rf_kami','rf_karavan','rf_neutral') NOT NULL DEFAULT '', + `guild_filter` enum('gf_only_my_guild','gf_any_player') DEFAULT 'gf_only_my_guild', + `shard_filter` set('sf_shard00','sf_shard01','sf_shard02','sf_shard03','sf_shard04','sf_shard05','sf_shard06','sf_shard07','sf_shard08','sf_shard09','sf_shard10','sf_shard11','sf_shard12','sf_shard13','sf_shard14','sf_shard15','sf_shard16','sf_shard17','sf_shard18','sf_shard19','sf_shard20','sf_shard21','sf_shard22','sf_shard23','sf_shard24','sf_shard25','sf_shard26','sf_shard27','sf_shard28','sf_shard29','sf_shard30','sf_shard31') NOT NULL DEFAULT 'sf_shard00,sf_shard01,sf_shard02,sf_shard03,sf_shard04,sf_shard05,sf_shard06,sf_shard07,sf_shard08,sf_shard09,sf_shard10,sf_shard11,sf_shard12,sf_shard13,sf_shard14,sf_shard15,sf_shard16,sf_shard17,sf_shard18,sf_shard19,sf_shard20,sf_shard21,sf_shard22,sf_shard23,sf_shard24,sf_shard25,sf_shard26,sf_shard27,sf_shard28,sf_shard29,sf_shard30,sf_shard31', + `level_filter` set('lf_a','lf_b','lf_c','lf_d','lf_e','lf_f') NOT NULL DEFAULT 'lf_a,lf_b,lf_c,lf_d,lf_e,lf_f', + `subscription_closed` tinyint(1) NOT NULL DEFAULT '0', + `newcomer` tinyint(1) unsigned zerofill NOT NULL DEFAULT '0', + PRIMARY KEY (`session_id`), + KEY `owner_idx` (`owner`), + KEY `folder_idx` (`folder_id`), + KEY `state_type_idx` (`state`,`session_type`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1 ROW_FORMAT=DYNAMIC; + +# Data exporting was unselected. + + +# Dumping structure for table ring_open.session_log +CREATE TABLE IF NOT EXISTS `session_log` ( + `id` int(11) NOT NULL DEFAULT '0', + `scenario_id` int(11) unsigned NOT NULL DEFAULT '0', + `rrp_scored` int(11) unsigned NOT NULL DEFAULT '0', + `scenario_point_scored` int(11) unsigned NOT NULL DEFAULT '0', + `time_taken` int(11) unsigned NOT NULL DEFAULT '0', + `participants` text NOT NULL, + `launch_date` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', + `owner` varchar(32) NOT NULL DEFAULT '0', + `guild_name` varchar(50) DEFAULT NULL, + PRIMARY KEY (`id`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1 ROW_FORMAT=DYNAMIC; + +# Data exporting was unselected. + + +# Dumping structure for table ring_open.session_participant +CREATE TABLE IF NOT EXISTS `session_participant` ( + `Id` int(10) unsigned NOT NULL AUTO_INCREMENT, + `session_id` int(10) unsigned NOT NULL DEFAULT '0', + `char_id` int(10) unsigned NOT NULL DEFAULT '0', + `status` enum('sps_play_subscribed','sps_play_invited','sps_edit_invited','sps_anim_invited','sps_playing','sps_editing','sps_animating') NOT NULL DEFAULT 'sps_play_subscribed', + `kicked` tinyint(1) unsigned NOT NULL DEFAULT '0', + `session_rated` tinyint(1) unsigned NOT NULL DEFAULT '0', + PRIMARY KEY (`Id`), + KEY `session_idx` (`session_id`), + KEY `user_idx` (`char_id`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1 ROW_FORMAT=FIXED; + +# Data exporting was unselected. + + +# Dumping structure for table ring_open.shard +CREATE TABLE IF NOT EXISTS `shard` ( + `shard_id` int(10) NOT NULL DEFAULT '0', + `WSOnline` tinyint(1) NOT NULL DEFAULT '0', + `MOTD` text NOT NULL, + `OldState` enum('ds_close','ds_dev','ds_restricted','ds_open') NOT NULL DEFAULT 'ds_restricted', + `RequiredState` enum('ds_close','ds_dev','ds_restricted','ds_open') NOT NULL DEFAULT 'ds_dev', + PRIMARY KEY (`shard_id`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1 ROW_FORMAT=FIXED; + +# Data exporting was unselected. +/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; +/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; From 297446ef5f65a934c487ae5d0d99a643f31caec0 Mon Sep 17 00:00:00 2001 From: "acemtp@users.sourceforge.net" Date: Sat, 8 May 2010 15:37:08 +0200 Subject: [PATCH 12/12] Added: tables and default data for sql --- .../tools/server/sql/ryzom_default_data.sql | 47 + code/ryzom/tools/server/sql/ryzom_tables.sql | 812 ++++++++++++++++++ 2 files changed, 859 insertions(+) create mode 100644 code/ryzom/tools/server/sql/ryzom_default_data.sql create mode 100644 code/ryzom/tools/server/sql/ryzom_tables.sql diff --git a/code/ryzom/tools/server/sql/ryzom_default_data.sql b/code/ryzom/tools/server/sql/ryzom_default_data.sql new file mode 100644 index 000000000..7d470df6c --- /dev/null +++ b/code/ryzom/tools/server/sql/ryzom_default_data.sql @@ -0,0 +1,47 @@ +# -------------------------------------------------------- +# Host: 94.23.202.75 +# Database: nel +# Server version: 5.1.37-1ubuntu5.1 +# Server OS: debian-linux-gnu +# HeidiSQL version: 5.0.0.3272 +# Date/time: 2010-05-08 15:31:21 +# -------------------------------------------------------- + +/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; +/*!40101 SET NAMES utf8 */; +/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; +/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; +# Dumping data for table nel.domain: 8 rows +/*!40000 ALTER TABLE `domain` DISABLE KEYS */; +INSERT IGNORE INTO `domain` (`domain_id`, `domain_name`, `status`, `patch_version`, `backup_patch_url`, `patch_urls`, `login_address`, `session_manager_address`, `ring_db_name`, `web_host`, `web_host_php`, `description`) VALUES (12, 'ryzom_open', 'ds_open', 610, 'http://open.ryzom.com:23001', NULL, 'open.ryzom.com:49998', 'open.ryzom.com:49999', 'ring_open', 'open.ryzom.com:30000', 'open.ryzom.com:40916', 'Open Domain'); +/*!40000 ALTER TABLE `domain` ENABLE KEYS */; + +# Dumping data for table nel.shard: 17 rows +/*!40000 ALTER TABLE `shard` DISABLE KEYS */; +INSERT IGNORE INTO `shard` (`ShardId`, `domain_id`, `WsAddr`, `NbPlayers`, `Name`, `Online`, `ClientApplication`, `Version`, `PatchURL`, `DynPatchURL`, `FixedSessionId`, `State`, `MOTD`, `prim`) VALUES (302, 12, 'open.ryzom.com', 0, 'Open Shard', 0, 'ryzom_open', '', '', '', 0, 'ds_dev', '', 30); +/*!40000 ALTER TABLE `shard` ENABLE KEYS */; +# -------------------------------------------------------- +# Host: 94.23.202.75 +# Database: ring_open +# Server version: 5.1.37-1ubuntu5.1 +# Server OS: debian-linux-gnu +# HeidiSQL version: 5.0.0.3272 +# Date/time: 2010-05-08 15:31:22 +# -------------------------------------------------------- + +/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; +/*!40101 SET NAMES utf8 */; +/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; +/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; +# Dumping data for table ring_open.sessions: 1 rows +/*!40000 ALTER TABLE `sessions` DISABLE KEYS */; +INSERT IGNORE INTO `sessions` (`session_id`, `session_type`, `title`, `owner`, `plan_date`, `start_date`, `description`, `orientation`, `level`, `rule_type`, `access_type`, `state`, `host_shard_id`, `subscription_slots`, `reserved_slots`, `free_slots`, `estimated_duration`, `final_duration`, `folder_id`, `lang`, `icone`, `anim_mode`, `race_filter`, `religion_filter`, `guild_filter`, `shard_filter`, `level_filter`, `subscription_closed`, `newcomer`) VALUES (302, 'st_mainland', 'open shard mainland', 0, '2005-09-21 12:41:33', '2005-08-31 00:00:00', '', 'so_other', 'sl_a', 'rt_strict', 'at_public', 'ss_planned', 0, 0, 0, 0, 'et_short', 0, 0, 'lang_en', '', 'am_dm', 'rf_fyros,rf_matis,rf_tryker,rf_zorai', 'rf_kami,rf_karavan,rf_neutral', 'gf_any_player', '', 'lf_a,lf_b,lf_c,lf_d,lf_e,lf_f', 0, 0); +/*!40000 ALTER TABLE `sessions` ENABLE KEYS */; + +# Dumping data for table ring_open.shard: 1 rows +/*!40000 ALTER TABLE `shard` DISABLE KEYS */; +INSERT IGNORE INTO `shard` (`shard_id`, `WSOnline`, `MOTD`, `OldState`, `RequiredState`) VALUES (302, 1, 'Shard up', 'ds_restricted', 'ds_open'); +/*!40000 ALTER TABLE `shard` ENABLE KEYS */; +/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; +/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; diff --git a/code/ryzom/tools/server/sql/ryzom_tables.sql b/code/ryzom/tools/server/sql/ryzom_tables.sql new file mode 100644 index 000000000..25bfc1fac --- /dev/null +++ b/code/ryzom/tools/server/sql/ryzom_tables.sql @@ -0,0 +1,812 @@ +# -------------------------------------------------------- +# Host: 94.23.202.75 +# Database: nel +# Server version: 5.1.37-1ubuntu5.1 +# Server OS: debian-linux-gnu +# HeidiSQL version: 5.0.0.3272 +# Date/time: 2010-05-08 09:14:27 +# -------------------------------------------------------- + +/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; +/*!40101 SET NAMES utf8 */; +/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; +/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; +# Dumping database structure for nel +CREATE DATABASE IF NOT EXISTS `nel` /*!40100 DEFAULT CHARACTER SET latin1 */; +USE `nel`; + + +# Dumping structure for table nel.domain +CREATE TABLE IF NOT EXISTS `domain` ( + `domain_id` int(10) unsigned NOT NULL AUTO_INCREMENT, + `domain_name` varchar(32) NOT NULL DEFAULT '', + `status` enum('ds_close','ds_dev','ds_restricted','ds_open') NOT NULL DEFAULT 'ds_dev', + `patch_version` int(10) unsigned NOT NULL DEFAULT '0', + `backup_patch_url` varchar(255) DEFAULT NULL, + `patch_urls` text, + `login_address` varchar(255) NOT NULL DEFAULT '', + `session_manager_address` varchar(255) NOT NULL DEFAULT '', + `ring_db_name` varchar(255) NOT NULL DEFAULT '', + `web_host` varchar(255) NOT NULL DEFAULT '', + `web_host_php` varchar(255) NOT NULL DEFAULT '', + `description` varchar(200) DEFAULT NULL, + PRIMARY KEY (`domain_id`), + UNIQUE KEY `name_idx` (`domain_name`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1; + +# Data exporting was unselected. + + +# Dumping structure for table nel.permission +CREATE TABLE IF NOT EXISTS `permission` ( + `UId` int(10) unsigned NOT NULL DEFAULT '0', + `ClientApplication` char(64) NOT NULL DEFAULT 'ryzom', + `ShardId` int(10) NOT NULL DEFAULT '-1', + `AccessPrivilege` set('OPEN','DEV','RESTRICTED') NOT NULL DEFAULT 'OPEN', + `prim` int(10) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`prim`), + KEY `UIDIndex` (`UId`) +) ENGINE=InnoDB DEFAULT CHARSET=latin1; + +# Data exporting was unselected. + + +# Dumping structure for table nel.shard +CREATE TABLE IF NOT EXISTS `shard` ( + `ShardId` int(10) NOT NULL DEFAULT '0', + `domain_id` int(11) unsigned NOT NULL DEFAULT '0', + `WsAddr` varchar(64) DEFAULT NULL, + `NbPlayers` int(10) unsigned DEFAULT '0', + `Name` varchar(255) DEFAULT 'unknown shard', + `Online` tinyint(1) unsigned DEFAULT '0', + `ClientApplication` varchar(64) DEFAULT 'ryzom', + `Version` varchar(64) NOT NULL DEFAULT '', + `PatchURL` varchar(255) NOT NULL DEFAULT '', + `DynPatchURL` varchar(255) NOT NULL DEFAULT '', + `FixedSessionId` int(11) unsigned NOT NULL DEFAULT '0', + `State` enum('ds_close','ds_dev','ds_restricted','ds_open') NOT NULL DEFAULT 'ds_dev', + `MOTD` text NOT NULL, + `prim` int(10) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`prim`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='contains all shards informations for login system'; + +# Data exporting was unselected. + + +# Dumping structure for table nel.user +CREATE TABLE IF NOT EXISTS `user` ( + `UId` int(10) NOT NULL AUTO_INCREMENT, + `Login` varchar(64) NOT NULL DEFAULT '', + `Password` varchar(13) DEFAULT NULL, + `ShardId` int(10) NOT NULL DEFAULT '-1', + `State` enum('Offline','Online') NOT NULL DEFAULT 'Offline', + `Privilege` varchar(255) NOT NULL DEFAULT '', + `GroupName` varchar(255) NOT NULL DEFAULT '', + `FirstName` varchar(255) NOT NULL DEFAULT '', + `LastName` varchar(255) NOT NULL DEFAULT '', + `Birthday` varchar(32) NOT NULL DEFAULT '', + `Gender` tinyint(1) unsigned NOT NULL DEFAULT '0', + `Country` char(2) NOT NULL DEFAULT '', + `Email` varchar(255) NOT NULL DEFAULT '', + `Address` varchar(255) NOT NULL DEFAULT '', + `City` varchar(100) NOT NULL DEFAULT '', + `PostalCode` varchar(10) NOT NULL DEFAULT '', + `USState` char(2) NOT NULL DEFAULT '', + `Chat` char(2) NOT NULL DEFAULT '0', + `BetaKeyId` int(10) unsigned NOT NULL DEFAULT '0', + `CachedCoupons` varchar(255) NOT NULL DEFAULT '', + `ProfileAccess` varchar(45) DEFAULT NULL, + `Level` int(2) NOT NULL DEFAULT '0', + `CurrentFunds` int(4) NOT NULL DEFAULT '0', + `IdBilling` varchar(255) NOT NULL DEFAULT '', + `Community` char(2) NOT NULL DEFAULT '--', + `Newsletter` tinyint(1) NOT NULL DEFAULT '1', + `Account` varchar(64) NOT NULL DEFAULT '', + `ChoiceSubLength` tinyint(2) NOT NULL DEFAULT '0', + `CurrentSubLength` varchar(255) NOT NULL DEFAULT '0', + `ValidIdBilling` int(4) NOT NULL DEFAULT '0', + `GMId` int(4) NOT NULL DEFAULT '0', + `ExtendedPrivilege` varchar(128) NOT NULL DEFAULT '', + `ToolsGroup` varchar(20) NOT NULL DEFAULT '', + `Unsubscribe` date NOT NULL DEFAULT '0000-00-00', + `SubDate` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', + `SubIp` varchar(20) NOT NULL DEFAULT '', + `SecurePassword` varchar(32) NOT NULL DEFAULT '', + `LastInvoiceEmailCheck` date NOT NULL DEFAULT '0000-00-00', + `FromSource` varchar(8) NOT NULL DEFAULT '', + `ValidMerchantCode` varchar(13) NOT NULL DEFAULT '', + `PBC` tinyint(1) NOT NULL DEFAULT '0', + `ApiKeySeed` varchar(8) DEFAULT NULL, + PRIMARY KEY (`UId`), + KEY `LoginIndex` (`Login`), + KEY `GroupIndex` (`GroupName`), + KEY `ToolsGroup` (`ToolsGroup`), + KEY `CurrentSubLength` (`CurrentSubLength`), + KEY `Community` (`Community`), + KEY `Email` (`Email`), + KEY `GMId` (`GMId`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='contains all users informations for login system'; + +# Data exporting was unselected. +# -------------------------------------------------------- +# Host: 94.23.202.75 +# Database: nel_tool +# Server version: 5.1.37-1ubuntu5.1 +# Server OS: debian-linux-gnu +# HeidiSQL version: 5.0.0.3272 +# Date/time: 2010-05-08 09:14:28 +# -------------------------------------------------------- + +/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; +/*!40101 SET NAMES utf8 */; +/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; +/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; +# Dumping database structure for nel_tool +CREATE DATABASE IF NOT EXISTS `nel_tool` /*!40100 DEFAULT CHARACTER SET latin1 */; +USE `nel_tool`; + + +# Dumping structure for table nel_tool.neltool_annotations +CREATE TABLE IF NOT EXISTS `neltool_annotations` ( + `annotation_id` int(11) NOT NULL AUTO_INCREMENT, + `annotation_domain_id` int(11) DEFAULT NULL, + `annotation_shard_id` int(11) DEFAULT NULL, + `annotation_data` varchar(255) NOT NULL DEFAULT '', + `annotation_user_name` varchar(32) NOT NULL DEFAULT '', + `annotation_date` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`annotation_id`), + UNIQUE KEY `annotation_shard_id` (`annotation_shard_id`), + UNIQUE KEY `annotation_domain_id` (`annotation_domain_id`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1; + +# Data exporting was unselected. + + +# Dumping structure for table nel_tool.neltool_applications +CREATE TABLE IF NOT EXISTS `neltool_applications` ( + `application_id` int(11) NOT NULL AUTO_INCREMENT, + `application_name` varchar(64) NOT NULL DEFAULT '', + `application_uri` varchar(255) NOT NULL DEFAULT '', + `application_restriction` varchar(64) NOT NULL DEFAULT '', + `application_order` int(11) NOT NULL DEFAULT '0', + `application_visible` int(11) NOT NULL DEFAULT '0', + `application_icon` varchar(128) NOT NULL DEFAULT '', + PRIMARY KEY (`application_id`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1; + +# Data exporting was unselected. + + +# Dumping structure for table nel_tool.neltool_domains +CREATE TABLE IF NOT EXISTS `neltool_domains` ( + `domain_id` int(11) NOT NULL AUTO_INCREMENT, + `domain_name` varchar(128) NOT NULL DEFAULT '', + `domain_as_host` varchar(128) NOT NULL DEFAULT '', + `domain_as_port` int(11) NOT NULL DEFAULT '0', + `domain_rrd_path` varchar(255) NOT NULL DEFAULT '', + `domain_las_admin_path` varchar(255) NOT NULL DEFAULT '', + `domain_las_local_path` varchar(255) NOT NULL DEFAULT '', + `domain_application` varchar(128) NOT NULL DEFAULT '', + `domain_sql_string` varchar(128) NOT NULL DEFAULT '', + `domain_hd_check` int(11) NOT NULL DEFAULT '0', + `domain_mfs_web` text, + `domain_cs_sql_string` varchar(255) DEFAULT NULL, + PRIMARY KEY (`domain_id`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1; + +# Data exporting was unselected. + + +# Dumping structure for table nel_tool.neltool_groups +CREATE TABLE IF NOT EXISTS `neltool_groups` ( + `group_id` int(11) NOT NULL AUTO_INCREMENT, + `group_name` varchar(32) NOT NULL DEFAULT 'NewGroup', + `group_level` int(11) NOT NULL DEFAULT '0', + `group_default` int(11) NOT NULL DEFAULT '0', + `group_active` int(11) NOT NULL DEFAULT '0', + `group_default_domain_id` tinyint(3) unsigned DEFAULT NULL, + `group_default_shard_id` tinyint(3) unsigned DEFAULT NULL, + PRIMARY KEY (`group_id`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1; + +# Data exporting was unselected. + + +# Dumping structure for table nel_tool.neltool_group_applications +CREATE TABLE IF NOT EXISTS `neltool_group_applications` ( + `group_application_id` int(11) NOT NULL AUTO_INCREMENT, + `group_application_group_id` int(11) NOT NULL DEFAULT '0', + `group_application_application_id` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`group_application_id`), + KEY `group_application_group_id` (`group_application_group_id`), + KEY `group_application_application_id` (`group_application_application_id`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1; + +# Data exporting was unselected. + + +# Dumping structure for table nel_tool.neltool_group_domains +CREATE TABLE IF NOT EXISTS `neltool_group_domains` ( + `group_domain_id` int(11) NOT NULL AUTO_INCREMENT, + `group_domain_group_id` int(11) NOT NULL DEFAULT '0', + `group_domain_domain_id` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`group_domain_id`), + KEY `group_domain_group_id` (`group_domain_group_id`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1; + +# Data exporting was unselected. + + +# Dumping structure for table nel_tool.neltool_group_shards +CREATE TABLE IF NOT EXISTS `neltool_group_shards` ( + `group_shard_id` int(11) NOT NULL AUTO_INCREMENT, + `group_shard_group_id` int(11) NOT NULL DEFAULT '0', + `group_shard_shard_id` int(11) NOT NULL DEFAULT '0', + `group_shard_domain_id` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`group_shard_id`), + KEY `group_shard_group_id` (`group_shard_group_id`), + KEY `group_shard_domain_id` (`group_shard_domain_id`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1; + +# Data exporting was unselected. + + +# Dumping structure for table nel_tool.neltool_locks +CREATE TABLE IF NOT EXISTS `neltool_locks` ( + `lock_id` int(11) NOT NULL AUTO_INCREMENT, + `lock_domain_id` int(11) DEFAULT NULL, + `lock_shard_id` int(11) DEFAULT NULL, + `lock_user_name` varchar(32) NOT NULL DEFAULT '', + `lock_date` int(11) NOT NULL DEFAULT '0', + `lock_update` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`lock_id`), + UNIQUE KEY `lock_shard_id` (`lock_shard_id`), + UNIQUE KEY `lock_domain_id` (`lock_domain_id`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1; + +# Data exporting was unselected. + + +# Dumping structure for table nel_tool.neltool_logs +CREATE TABLE IF NOT EXISTS `neltool_logs` ( + `logs_id` int(11) NOT NULL AUTO_INCREMENT, + `logs_user_name` varchar(32) NOT NULL DEFAULT '0', + `logs_date` int(11) NOT NULL DEFAULT '0', + `logs_data` varchar(255) NOT NULL DEFAULT '', + PRIMARY KEY (`logs_id`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1; + +# Data exporting was unselected. + + +# Dumping structure for table nel_tool.neltool_notes +CREATE TABLE IF NOT EXISTS `neltool_notes` ( + `note_id` int(11) NOT NULL AUTO_INCREMENT, + `note_user_id` int(11) NOT NULL DEFAULT '0', + `note_title` varchar(128) NOT NULL DEFAULT '', + `note_data` text NOT NULL, + `note_date` int(11) NOT NULL DEFAULT '0', + `note_active` int(11) NOT NULL DEFAULT '0', + `note_global` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`note_id`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1; + +# Data exporting was unselected. + + +# Dumping structure for table nel_tool.neltool_restart_groups +CREATE TABLE IF NOT EXISTS `neltool_restart_groups` ( + `restart_group_id` int(10) unsigned NOT NULL AUTO_INCREMENT, + `restart_group_name` varchar(50) DEFAULT NULL, + `restart_group_list` varchar(50) DEFAULT NULL, + `restart_group_order` varchar(50) DEFAULT NULL, + PRIMARY KEY (`restart_group_id`), + UNIQUE KEY `restart_group_id` (`restart_group_id`), + KEY `restart_group_id_2` (`restart_group_id`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1; + +# Data exporting was unselected. + + +# Dumping structure for table nel_tool.neltool_restart_messages +CREATE TABLE IF NOT EXISTS `neltool_restart_messages` ( + `restart_message_id` int(10) unsigned NOT NULL AUTO_INCREMENT, + `restart_message_name` varchar(20) DEFAULT NULL, + `restart_message_value` varchar(128) DEFAULT NULL, + `restart_message_lang` varchar(5) DEFAULT NULL, + PRIMARY KEY (`restart_message_id`), + UNIQUE KEY `restart_message_id` (`restart_message_id`), + KEY `restart_message_id_2` (`restart_message_id`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1; + +# Data exporting was unselected. + + +# Dumping structure for table nel_tool.neltool_restart_sequences +CREATE TABLE IF NOT EXISTS `neltool_restart_sequences` ( + `restart_sequence_id` int(10) unsigned NOT NULL AUTO_INCREMENT, + `restart_sequence_domain_id` int(10) unsigned NOT NULL DEFAULT '0', + `restart_sequence_shard_id` int(10) unsigned NOT NULL DEFAULT '0', + `restart_sequence_user_name` varchar(50) DEFAULT NULL, + `restart_sequence_step` int(10) unsigned NOT NULL DEFAULT '0', + `restart_sequence_date_start` int(11) DEFAULT NULL, + `restart_sequence_date_end` int(11) DEFAULT NULL, + `restart_sequence_timer` int(11) unsigned DEFAULT '0', + PRIMARY KEY (`restart_sequence_id`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1; + +# Data exporting was unselected. + + +# Dumping structure for table nel_tool.neltool_shards +CREATE TABLE IF NOT EXISTS `neltool_shards` ( + `shard_id` int(11) NOT NULL AUTO_INCREMENT, + `shard_name` varchar(128) NOT NULL DEFAULT '', + `shard_as_id` varchar(255) NOT NULL DEFAULT '0', + `shard_domain_id` int(11) NOT NULL DEFAULT '0', + `shard_lang` char(2) NOT NULL DEFAULT 'en', + `shard_restart` int(10) unsigned NOT NULL DEFAULT '0', + PRIMARY KEY (`shard_id`), + KEY `shard_domain_id` (`shard_domain_id`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1; + +# Data exporting was unselected. + + +# Dumping structure for table nel_tool.neltool_stats_hd_datas +CREATE TABLE IF NOT EXISTS `neltool_stats_hd_datas` ( + `hd_id` int(11) NOT NULL AUTO_INCREMENT, + `hd_domain_id` int(11) NOT NULL DEFAULT '0', + `hd_server` varchar(32) NOT NULL DEFAULT '', + `hd_device` varchar(64) NOT NULL DEFAULT '', + `hd_size` varchar(16) NOT NULL DEFAULT '', + `hd_used` varchar(16) NOT NULL DEFAULT '', + `hd_free` varchar(16) NOT NULL DEFAULT '', + `hd_percent` int(11) NOT NULL DEFAULT '0', + `hd_mount` varchar(128) NOT NULL DEFAULT '', + PRIMARY KEY (`hd_id`), + KEY `hd_domain_id` (`hd_domain_id`), + KEY `hd_server` (`hd_server`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1; + +# Data exporting was unselected. + + +# Dumping structure for table nel_tool.neltool_stats_hd_times +CREATE TABLE IF NOT EXISTS `neltool_stats_hd_times` ( + `hd_domain_id` int(11) NOT NULL DEFAULT '0', + `hd_last_time` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`hd_domain_id`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1; + +# Data exporting was unselected. + + +# Dumping structure for table nel_tool.neltool_users +CREATE TABLE IF NOT EXISTS `neltool_users` ( + `user_id` int(11) NOT NULL AUTO_INCREMENT, + `user_name` varchar(32) NOT NULL DEFAULT '', + `user_password` varchar(64) NOT NULL DEFAULT '', + `user_group_id` int(11) NOT NULL DEFAULT '0', + `user_created` int(11) NOT NULL DEFAULT '0', + `user_active` int(11) NOT NULL DEFAULT '0', + `user_logged_last` int(11) NOT NULL DEFAULT '0', + `user_logged_count` int(11) NOT NULL DEFAULT '0', + `user_menu_style` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`user_id`), + UNIQUE KEY `user_login` (`user_name`), + KEY `user_group_id` (`user_group_id`), + KEY `user_active` (`user_active`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1; + +# Data exporting was unselected. + + +# Dumping structure for table nel_tool.neltool_user_applications +CREATE TABLE IF NOT EXISTS `neltool_user_applications` ( + `user_application_id` int(11) NOT NULL AUTO_INCREMENT, + `user_application_user_id` int(11) NOT NULL DEFAULT '0', + `user_application_application_id` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`user_application_id`), + KEY `user_application_user_id` (`user_application_user_id`), + KEY `user_application_application_id` (`user_application_application_id`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1; + +# Data exporting was unselected. + + +# Dumping structure for table nel_tool.neltool_user_domains +CREATE TABLE IF NOT EXISTS `neltool_user_domains` ( + `user_domain_id` int(11) NOT NULL AUTO_INCREMENT, + `user_domain_user_id` int(11) NOT NULL DEFAULT '0', + `user_domain_domain_id` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`user_domain_id`), + KEY `user_domain_user_id` (`user_domain_user_id`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1; + +# Data exporting was unselected. + + +# Dumping structure for table nel_tool.neltool_user_shards +CREATE TABLE IF NOT EXISTS `neltool_user_shards` ( + `user_shard_id` int(11) NOT NULL AUTO_INCREMENT, + `user_shard_user_id` int(11) NOT NULL DEFAULT '0', + `user_shard_shard_id` int(11) NOT NULL DEFAULT '0', + `user_shard_domain_id` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`user_shard_id`), + KEY `user_shard_user_id` (`user_shard_user_id`), + KEY `user_shard_domain_id` (`user_shard_domain_id`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1; + +# Data exporting was unselected. +# -------------------------------------------------------- +# Host: 94.23.202.75 +# Database: ring_open +# Server version: 5.1.37-1ubuntu5.1 +# Server OS: debian-linux-gnu +# HeidiSQL version: 5.0.0.3272 +# Date/time: 2010-05-08 09:14:32 +# -------------------------------------------------------- + +/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; +/*!40101 SET NAMES utf8 */; +/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; +/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; +# Dumping database structure for ring_open +CREATE DATABASE IF NOT EXISTS `ring_open` /*!40100 DEFAULT CHARACTER SET latin1 */; +USE `ring_open`; + + +# Dumping structure for table ring_open.characters +CREATE TABLE IF NOT EXISTS `characters` ( + `char_id` int(10) unsigned NOT NULL DEFAULT '0', + `char_name` varchar(20) NOT NULL DEFAULT '', + `user_id` int(10) unsigned NOT NULL DEFAULT '0', + `guild_id` int(10) unsigned NOT NULL DEFAULT '0', + `best_combat_level` int(10) unsigned NOT NULL DEFAULT '0', + `home_mainland_session_id` int(10) unsigned NOT NULL DEFAULT '0', + `ring_access` varchar(63) NOT NULL DEFAULT '', + `race` enum('r_fyros','r_matis','r_tryker','r_zorai') NOT NULL DEFAULT 'r_fyros', + `civilisation` enum('c_neutral','c_fyros','c_fyros','c_matis','c_tryker','c_zorai') NOT NULL DEFAULT 'c_neutral', + `cult` enum('c_neutral','c_kami','c_karavan') NOT NULL DEFAULT 'c_neutral', + `current_session` int(11) unsigned NOT NULL DEFAULT '0', + `rrp_am` int(11) unsigned NOT NULL DEFAULT '0', + `rrp_masterless` int(11) unsigned NOT NULL DEFAULT '0', + `rrp_author` int(11) unsigned NOT NULL DEFAULT '0', + `newcomer` tinyint(1) NOT NULL DEFAULT '1', + `creation_date` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', + `last_played_date` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', + PRIMARY KEY (`char_id`), + UNIQUE KEY `char_name_idx` (`char_name`,`home_mainland_session_id`), + KEY `user_id_idx` (`user_id`), + KEY `guild_idx` (`guild_id`), + KEY `guild_id_idx` (`guild_id`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1; + +# Data exporting was unselected. + + +# Dumping structure for table ring_open.folder +CREATE TABLE IF NOT EXISTS `folder` ( + `Id` int(10) unsigned NOT NULL AUTO_INCREMENT, + `owner` int(10) unsigned NOT NULL DEFAULT '0', + `title` varchar(40) NOT NULL DEFAULT '', + `comments` text NOT NULL, + PRIMARY KEY (`Id`), + KEY `owner_idx` (`owner`), + KEY `title_idx` (`title`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1 ROW_FORMAT=DYNAMIC; + +# Data exporting was unselected. + + +# Dumping structure for table ring_open.folder_access +CREATE TABLE IF NOT EXISTS `folder_access` ( + `Id` int(10) unsigned NOT NULL AUTO_INCREMENT, + `folder_id` int(10) unsigned NOT NULL DEFAULT '0', + `user_id` int(10) unsigned NOT NULL DEFAULT '0', + PRIMARY KEY (`Id`), + KEY `folder_id_idx` (`folder_id`), + KEY `user_idx` (`user_id`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1 ROW_FORMAT=FIXED; + +# Data exporting was unselected. + + +# Dumping structure for table ring_open.guilds +CREATE TABLE IF NOT EXISTS `guilds` ( + `guild_id` int(10) unsigned NOT NULL DEFAULT '0', + `guild_name` varchar(50) NOT NULL DEFAULT '', + `shard_id` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`guild_id`), + KEY `shard_id_idx` (`shard_id`), + KEY `guild_name_idx` (`guild_name`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1 ROW_FORMAT=DYNAMIC; + +# Data exporting was unselected. + + +# Dumping structure for table ring_open.guild_invites +CREATE TABLE IF NOT EXISTS `guild_invites` ( + `Id` int(10) unsigned NOT NULL AUTO_INCREMENT, + `session_id` int(10) unsigned NOT NULL DEFAULT '0', + `guild_id` int(10) unsigned NOT NULL DEFAULT '0', + PRIMARY KEY (`Id`), + KEY `guild_id_idx` (`guild_id`), + KEY `session_id_idx` (`session_id`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1 ROW_FORMAT=FIXED; + +# Data exporting was unselected. + + +# Dumping structure for table ring_open.journal_entry +CREATE TABLE IF NOT EXISTS `journal_entry` ( + `Id` int(10) unsigned NOT NULL AUTO_INCREMENT, + `session_id` int(10) unsigned NOT NULL DEFAULT '0', + `author` int(10) unsigned NOT NULL DEFAULT '0', + `type` enum('jet_credits','jet_notes') NOT NULL DEFAULT 'jet_notes', + `text` text NOT NULL, + `time_stamp` datetime NOT NULL DEFAULT '2005-09-07 12:41:33', + PRIMARY KEY (`Id`), + KEY `session_id_idx` (`session_id`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1 ROW_FORMAT=DYNAMIC; + +# Data exporting was unselected. + + +# Dumping structure for table ring_open.known_users +CREATE TABLE IF NOT EXISTS `known_users` ( + `Id` int(10) unsigned NOT NULL AUTO_INCREMENT, + `owner` int(10) unsigned NOT NULL DEFAULT '0', + `targer_user` int(10) unsigned NOT NULL DEFAULT '0', + `targer_character` int(10) unsigned NOT NULL DEFAULT '0', + `relation_type` enum('rt_friend','rt_banned','rt_friend_dm') NOT NULL DEFAULT 'rt_friend', + `comments` varchar(255) NOT NULL DEFAULT '', + PRIMARY KEY (`Id`), + KEY `user_index` (`owner`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1 ROW_FORMAT=DYNAMIC; + +# Data exporting was unselected. + + +# Dumping structure for table ring_open.mfs_erased_mail_series +CREATE TABLE IF NOT EXISTS `mfs_erased_mail_series` ( + `erased_char_id` int(11) unsigned NOT NULL DEFAULT '0', + `erased_char_name` varchar(32) NOT NULL DEFAULT '', + `erased_series` int(11) unsigned NOT NULL AUTO_INCREMENT, + `erase_date` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', + PRIMARY KEY (`erased_series`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1 ROW_FORMAT=DYNAMIC; + +# Data exporting was unselected. + + +# Dumping structure for table ring_open.mfs_guild_thread +CREATE TABLE IF NOT EXISTS `mfs_guild_thread` ( + `thread_id` int(11) NOT NULL AUTO_INCREMENT, + `guild_id` int(11) unsigned NOT NULL DEFAULT '0', + `topic` varchar(255) NOT NULL DEFAULT '', + `author_name` varchar(32) NOT NULL DEFAULT '', + `last_post_date` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', + `post_count` int(11) unsigned NOT NULL DEFAULT '0', + PRIMARY KEY (`thread_id`), + KEY `guild_index` (`guild_id`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1 ROW_FORMAT=DYNAMIC; + +# Data exporting was unselected. + + +# Dumping structure for table ring_open.mfs_guild_thread_message +CREATE TABLE IF NOT EXISTS `mfs_guild_thread_message` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `thread_id` int(11) unsigned NOT NULL DEFAULT '0', + `author_name` varchar(32) NOT NULL DEFAULT '', + `date` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', + `content` text NOT NULL, + PRIMARY KEY (`id`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1 ROW_FORMAT=DYNAMIC; + +# Data exporting was unselected. + + +# Dumping structure for table ring_open.mfs_mail +CREATE TABLE IF NOT EXISTS `mfs_mail` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `sender_name` varchar(32) NOT NULL DEFAULT '', + `subject` varchar(250) NOT NULL DEFAULT '', + `date` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', + `status` enum('ms_new','ms_read','ms_erased') NOT NULL DEFAULT 'ms_new', + `dest_char_id` int(11) unsigned NOT NULL DEFAULT '0', + `erase_series` int(11) unsigned NOT NULL DEFAULT '0', + `content` text NOT NULL, + PRIMARY KEY (`id`), + KEY `dest_index` (`dest_char_id`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1 ROW_FORMAT=DYNAMIC; + +# Data exporting was unselected. + + +# Dumping structure for table ring_open.outlands +CREATE TABLE IF NOT EXISTS `outlands` ( + `session_id` int(11) unsigned NOT NULL AUTO_INCREMENT, + `island_name` text NOT NULL, + `billing_instance_id` int(11) unsigned NOT NULL DEFAULT '0', + `anim_session_id` int(11) unsigned NOT NULL DEFAULT '0', + PRIMARY KEY (`session_id`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1; + +# Data exporting was unselected. + + +# Dumping structure for table ring_open.player_rating +CREATE TABLE IF NOT EXISTS `player_rating` ( + `Id` int(10) unsigned NOT NULL AUTO_INCREMENT, + `scenario_id` int(10) unsigned NOT NULL DEFAULT '0', + `session_id` int(10) unsigned NOT NULL DEFAULT '0', + `rate_fun` tinyint(3) unsigned NOT NULL DEFAULT '0', + `rate_difficulty` tinyint(3) unsigned NOT NULL DEFAULT '0', + `rate_accessibility` tinyint(3) unsigned NOT NULL DEFAULT '0', + `rate_originality` tinyint(3) unsigned NOT NULL DEFAULT '0', + `rate_direction` tinyint(3) unsigned NOT NULL DEFAULT '0', + `author` int(10) unsigned NOT NULL DEFAULT '0', + `rating` int(10) NOT NULL DEFAULT '0', + `comments` text NOT NULL, + `time_stamp` datetime NOT NULL DEFAULT '2005-09-07 12:41:33', + PRIMARY KEY (`Id`), + KEY `session_id_idx` (`scenario_id`), + KEY `author_idx` (`author`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1 ROW_FORMAT=DYNAMIC; + +# Data exporting was unselected. + + +# Dumping structure for table ring_open.ring_users +CREATE TABLE IF NOT EXISTS `ring_users` ( + `user_id` int(10) unsigned NOT NULL DEFAULT '0', + `user_name` varchar(20) NOT NULL DEFAULT '', + `user_type` enum('ut_character','ut_pioneer') NOT NULL DEFAULT 'ut_character', + `current_session` int(10) unsigned NOT NULL DEFAULT '0', + `current_activity` enum('ca_none','ca_play','ca_edit','ca_anim') NOT NULL DEFAULT 'ca_none', + `current_status` enum('cs_offline','cs_logged','cs_online') NOT NULL DEFAULT 'cs_offline', + `public_level` enum('pl_none','pl_public') NOT NULL DEFAULT 'pl_none', + `account_type` enum('at_normal','at_gold') NOT NULL DEFAULT 'at_normal', + `content_access_level` varchar(20) NOT NULL DEFAULT '', + `description` text NOT NULL, + `lang` enum('lang_en','lang_fr','lang_de') NOT NULL DEFAULT 'lang_en', + `cookie` varchar(30) NOT NULL DEFAULT '', + `current_domain_id` int(10) NOT NULL DEFAULT '-1', + `pioneer_char_id` int(11) unsigned NOT NULL DEFAULT '0', + `current_char` int(11) NOT NULL DEFAULT '0', + `add_privileges` varchar(64) NOT NULL DEFAULT '', + PRIMARY KEY (`user_id`), + UNIQUE KEY `user_name_idx` (`user_name`), + KEY `cookie_idx` (`cookie`), + KEY `current_session_idx` (`current_session`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1 ROW_FORMAT=DYNAMIC; + +# Data exporting was unselected. + + +# Dumping structure for table ring_open.scenario +CREATE TABLE IF NOT EXISTS `scenario` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `md5` varchar(64) NOT NULL DEFAULT '', + `title` varchar(32) NOT NULL DEFAULT '', + `description` text NOT NULL, + `author` varchar(32) NOT NULL DEFAULT '', + `rrp_total` int(11) unsigned NOT NULL DEFAULT '0', + `anim_mode` enum('am_dm','am_autonomous') NOT NULL DEFAULT 'am_dm', + `language` varchar(11) NOT NULL DEFAULT '', + `orientation` enum('so_newbie_training','so_story_telling','so_mistery','so_hack_slash','so_guild_training','so_other') NOT NULL DEFAULT 'so_other', + `level` enum('sl_a','sl_b','sl_c','sl_d','sl_e','sl_f') NOT NULL DEFAULT 'sl_a', + `allow_free_trial` tinyint(1) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1 ROW_FORMAT=DYNAMIC; + +# Data exporting was unselected. + + +# Dumping structure for table ring_open.scenario_desc +CREATE TABLE IF NOT EXISTS `scenario_desc` ( + `session_id` int(10) unsigned NOT NULL DEFAULT '0', + `parent_scenario` int(10) unsigned NOT NULL DEFAULT '0', + `description` text NOT NULL, + `relation_to_parent` enum('rtp_same','rtp_variant','rtp_different') NOT NULL DEFAULT 'rtp_same', + `title` varchar(40) NOT NULL DEFAULT '', + `num_player` int(10) unsigned NOT NULL DEFAULT '0', + `content_access_level` varchar(20) NOT NULL DEFAULT '', + PRIMARY KEY (`session_id`), + UNIQUE KEY `title_idx` (`title`), + KEY `parent_idx` (`parent_scenario`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1 ROW_FORMAT=DYNAMIC; + +# Data exporting was unselected. + + +# Dumping structure for table ring_open.sessions +CREATE TABLE IF NOT EXISTS `sessions` ( + `session_id` int(10) unsigned NOT NULL AUTO_INCREMENT, + `session_type` enum('st_edit','st_anim','st_outland','st_mainland') NOT NULL DEFAULT 'st_edit', + `title` varchar(40) NOT NULL DEFAULT '', + `owner` int(10) unsigned NOT NULL DEFAULT '0', + `plan_date` datetime NOT NULL DEFAULT '2005-09-21 12:41:33', + `start_date` datetime NOT NULL DEFAULT '2005-08-31 00:00:00', + `description` text NOT NULL, + `orientation` enum('so_newbie_training','so_story_telling','so_mistery','so_hack_slash','so_guild_training','so_other') NOT NULL DEFAULT 'so_other', + `level` enum('sl_a','sl_b','sl_c','sl_d','sl_e','sl_f') NOT NULL DEFAULT 'sl_a', + `rule_type` enum('rt_strict','rt_liberal') NOT NULL DEFAULT 'rt_strict', + `access_type` enum('at_public','at_private') NOT NULL DEFAULT 'at_private', + `state` enum('ss_planned','ss_open','ss_locked','ss_closed') NOT NULL DEFAULT 'ss_planned', + `host_shard_id` int(11) NOT NULL DEFAULT '0', + `subscription_slots` int(11) unsigned NOT NULL DEFAULT '0', + `reserved_slots` int(10) unsigned NOT NULL DEFAULT '0', + `free_slots` int(10) unsigned NOT NULL DEFAULT '0', + `estimated_duration` enum('et_short','et_medium','et_long') NOT NULL DEFAULT 'et_short', + `final_duration` int(10) unsigned NOT NULL DEFAULT '0', + `folder_id` int(10) unsigned NOT NULL DEFAULT '0', + `lang` varchar(20) NOT NULL DEFAULT '', + `icone` varchar(70) NOT NULL DEFAULT '', + `anim_mode` enum('am_dm','am_autonomous') NOT NULL DEFAULT 'am_dm', + `race_filter` set('rf_fyros','rf_matis','rf_tryker','rf_zorai') NOT NULL DEFAULT '', + `religion_filter` set('rf_kami','rf_karavan','rf_neutral') NOT NULL DEFAULT '', + `guild_filter` enum('gf_only_my_guild','gf_any_player') DEFAULT 'gf_only_my_guild', + `shard_filter` set('sf_shard00','sf_shard01','sf_shard02','sf_shard03','sf_shard04','sf_shard05','sf_shard06','sf_shard07','sf_shard08','sf_shard09','sf_shard10','sf_shard11','sf_shard12','sf_shard13','sf_shard14','sf_shard15','sf_shard16','sf_shard17','sf_shard18','sf_shard19','sf_shard20','sf_shard21','sf_shard22','sf_shard23','sf_shard24','sf_shard25','sf_shard26','sf_shard27','sf_shard28','sf_shard29','sf_shard30','sf_shard31') NOT NULL DEFAULT 'sf_shard00,sf_shard01,sf_shard02,sf_shard03,sf_shard04,sf_shard05,sf_shard06,sf_shard07,sf_shard08,sf_shard09,sf_shard10,sf_shard11,sf_shard12,sf_shard13,sf_shard14,sf_shard15,sf_shard16,sf_shard17,sf_shard18,sf_shard19,sf_shard20,sf_shard21,sf_shard22,sf_shard23,sf_shard24,sf_shard25,sf_shard26,sf_shard27,sf_shard28,sf_shard29,sf_shard30,sf_shard31', + `level_filter` set('lf_a','lf_b','lf_c','lf_d','lf_e','lf_f') NOT NULL DEFAULT 'lf_a,lf_b,lf_c,lf_d,lf_e,lf_f', + `subscription_closed` tinyint(1) NOT NULL DEFAULT '0', + `newcomer` tinyint(1) unsigned zerofill NOT NULL DEFAULT '0', + PRIMARY KEY (`session_id`), + KEY `owner_idx` (`owner`), + KEY `folder_idx` (`folder_id`), + KEY `state_type_idx` (`state`,`session_type`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1 ROW_FORMAT=DYNAMIC; + +# Data exporting was unselected. + + +# Dumping structure for table ring_open.session_log +CREATE TABLE IF NOT EXISTS `session_log` ( + `id` int(11) NOT NULL DEFAULT '0', + `scenario_id` int(11) unsigned NOT NULL DEFAULT '0', + `rrp_scored` int(11) unsigned NOT NULL DEFAULT '0', + `scenario_point_scored` int(11) unsigned NOT NULL DEFAULT '0', + `time_taken` int(11) unsigned NOT NULL DEFAULT '0', + `participants` text NOT NULL, + `launch_date` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', + `owner` varchar(32) NOT NULL DEFAULT '0', + `guild_name` varchar(50) DEFAULT NULL, + PRIMARY KEY (`id`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1 ROW_FORMAT=DYNAMIC; + +# Data exporting was unselected. + + +# Dumping structure for table ring_open.session_participant +CREATE TABLE IF NOT EXISTS `session_participant` ( + `Id` int(10) unsigned NOT NULL AUTO_INCREMENT, + `session_id` int(10) unsigned NOT NULL DEFAULT '0', + `char_id` int(10) unsigned NOT NULL DEFAULT '0', + `status` enum('sps_play_subscribed','sps_play_invited','sps_edit_invited','sps_anim_invited','sps_playing','sps_editing','sps_animating') NOT NULL DEFAULT 'sps_play_subscribed', + `kicked` tinyint(1) unsigned NOT NULL DEFAULT '0', + `session_rated` tinyint(1) unsigned NOT NULL DEFAULT '0', + PRIMARY KEY (`Id`), + KEY `session_idx` (`session_id`), + KEY `user_idx` (`char_id`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1 ROW_FORMAT=FIXED; + +# Data exporting was unselected. + + +# Dumping structure for table ring_open.shard +CREATE TABLE IF NOT EXISTS `shard` ( + `shard_id` int(10) NOT NULL DEFAULT '0', + `WSOnline` tinyint(1) NOT NULL DEFAULT '0', + `MOTD` text NOT NULL, + `OldState` enum('ds_close','ds_dev','ds_restricted','ds_open') NOT NULL DEFAULT 'ds_restricted', + `RequiredState` enum('ds_close','ds_dev','ds_restricted','ds_open') NOT NULL DEFAULT 'ds_dev', + PRIMARY KEY (`shard_id`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1 ROW_FORMAT=FIXED; + +# Data exporting was unselected. +/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; +/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;