repo
string
commit
string
message
string
diff
string
bjeanes/twibblr
9dbb23484829069dedb6f37b7a3362f61f5f12b5
Changed association between Tags and Posts to be a HMT and created a counter_cache on tags to keep a tally of number of posts in each tag
diff --git a/app/models/post.rb b/app/models/post.rb index 5663f97..97d0401 100644 --- a/app/models/post.rb +++ b/app/models/post.rb @@ -1,35 +1,36 @@ class Post < ActiveRecord::Base default_scope :order => "created_at DESC" has_many :comments, :order => "created_at ASC" - has_and_belongs_to_many :tags, :order => "name ASC" + has_many :posts_tags + has_many :tags, :through => :posts_tags, :order => "name ASC" named_scope :archive, :group => "month(created_at)" validates_presence_of :body, :title %w{year month day}.each do |time| delegate time, :to => :created_at named_scope :"in_#{time}", lambda { |num| {:conditions => ["#{time.upcase}(created_at) = ?", num] } } end def date created_at.to_date.to_s(:long_ordinal) end def to_s title end def link @link ||= "/#{created_at.year}/#{created_at.month}/#{created_at.day}/#{to_param}" end def to_param if title.blank? id else "#{id}-#{title.parameterize}" end end end \ No newline at end of file diff --git a/app/models/posts_tag.rb b/app/models/posts_tag.rb new file mode 100644 index 0000000..c5c1fe6 --- /dev/null +++ b/app/models/posts_tag.rb @@ -0,0 +1,4 @@ +class PostsTag < ActiveRecord::Base + belongs_to :post + belongs_to :tag, :counter_cache => "posts_count" +end \ No newline at end of file diff --git a/app/models/tag.rb b/app/models/tag.rb index 16f330b..448b86f 100644 --- a/app/models/tag.rb +++ b/app/models/tag.rb @@ -1,30 +1,33 @@ class Tag < ActiveRecord::Base - has_and_belongs_to_many :posts, :order => "created_at ASC" + default_scope :order => "posts_count" + + has_many :posts_tags + has_many :posts, :through => :posts_tags, :order => "created_at ASC" before_create :set_permalink before_save :lowercase_name def to_s name end def to_param permalink end def self.[](identifier) identifier.is_a?(Fixnum) ? find(identifier) : find(:first, :conditions => ["name = :name OR permalink = :name", {:name => identifier.to_s}]) rescue nil end private def set_permalink self.permalink = name.parameterize if permalink.blank? end def lowercase_name self.name.downcase! end end \ No newline at end of file diff --git a/app/views/layouts/twibblr.html.erb b/app/views/layouts/twibblr.html.erb index d7d614b..e2f6906 100644 --- a/app/views/layouts/twibblr.html.erb +++ b/app/views/layouts/twibblr.html.erb @@ -1,64 +1,64 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <title>Sleek by TemplateFusion.org</title> <meta name="keywords" content="" /> <meta name="description" content="" /> <link href="/twibblr/master.css" rel="stylesheet" type="text/css" media="screen" /> <%= yield :head %> </head> <body> <!-- start header --> <div id="header"> <div id="logo"> <h1>My Website</h1> <p>Powered by <a href="http://github.com/bjeanes/twibblr">Twibblr</a></p> </div> <div id="search"> <form method="get" action=""> <fieldset> <input id="s" type="text" name="s" value="" /> <input id="x" type="submit" value="Search" /> </fieldset> </form> </div> </div> <!-- end header --> <!-- start page --> <div id="page"> <!-- start content --> <div id="content"> <%= yield %> </div> <!-- end content --> <!-- start sidebar --> <div id="sidebar"> <ul> <li> <h2>Updates:</h2> <ul> <% render_posts(:limit => 5) do |post| %> <li><%= link_to post.title, post.link %></li> <% end %> </ul> </li> <li> <h2>Tags</h2> <ul> <% render_tags do |tag| %> - <li><%= link_to "#{tag} (#{tag.posts.count})", "/tags/#{tag.permalink}" %></li> + <li><%= link_to "#{tag} (#{tag.posts_count})", "/tags/#{tag.permalink}" %></li> <% end %> </ul> </li> </ul> </div> <!-- end sidebar --> </div> <!-- end page --> <div id="footer"> <p>&copy;2007 All Rights Reserved. &nbsp;&bull;&nbsp; Design by <a href="http://templatefusion.org">TemplateFusion</a> &nbsp;&bull;&nbsp; Icons by <a href="http://www.famfamfam.com/">FAMFAMFAM</a>.</p> </div> </body> </html> \ No newline at end of file diff --git a/db/migrate/20090216162012_add_posts_count_to_tags.rb b/db/migrate/20090216162012_add_posts_count_to_tags.rb new file mode 100644 index 0000000..6a078dd --- /dev/null +++ b/db/migrate/20090216162012_add_posts_count_to_tags.rb @@ -0,0 +1,9 @@ +class AddPostsCountToTags < ActiveRecord::Migration + def self.up + add_column :tags, :posts_count, :integer, :default => 0 + end + + def self.down + remove_column :tags, :posts_count + end +end
bjeanes/twibblr
a16b3a8737c0191e8fdc7ad6bd67f95af4fbaed6
Sort tags by alphabetical order
diff --git a/app/helpers/twibblr_helper.rb b/app/helpers/twibblr_helper.rb index 6394115..42db40f 100644 --- a/app/helpers/twibblr_helper.rb +++ b/app/helpers/twibblr_helper.rb @@ -1,34 +1,38 @@ module TwibblrHelper - def render_posts(*options, &block) + def render_posts(*args, &block) # if they are fetching posts in the controller # then awesome(!) otherwise get it for them - posts = @posts || Post.all(*options) + posts = @posts || Post.all(*args) if block_given? posts.each do |post| render_post(post, &block) end else render :partial => posts end end - def render_tags(*options) + def render_tags(*args) raise "No Block Given" unless block_given? - (@tags || Tag.all(*options)).each {|tag| yield(tag)} + + options = {:order => "name"}.merge(args.extract_options!) + args << options + + (@tags || Tag.all(*args)).each {|tag| yield(tag)} end private def render_post(post, &block) raise "No block given" unless block_given? case block.arity when 1 then yield(post) when 2 then yield(post.title, post.body) when 3 then yield(post.title, post.body, post.created_at) when 4 then yield(post.title, post.body, post.created_at, post.tags) when 5 then yield(post.title, post.body, post.created_at, post.tags, post.comments) else raise "Parameter Error" end end end \ No newline at end of file
bjeanes/twibblr
0c4a28f2b2773aea840abbc5e997248c19c871c4
Post show page
diff --git a/app/views/posts/_post.html.erb b/app/views/posts/_post.html.erb index 5ef8835..866869b 100644 --- a/app/views/posts/_post.html.erb +++ b/app/views/posts/_post.html.erb @@ -1,8 +1,12 @@ <div class="post"> <h1 class="title"><%= post.title.titleize %></h1> <p class="byline"><small>Posted on <%= post.created_at.strftime("%B %d, %Y") %> | <a href="#">Edit Post</a></small></p> <div class="entry"> - <%= truncate(simple_format(post.body), 250, ' ... (continued)') %> + <% if controller.action_name == "show" %> + <%= simple_format(post.body) %> + <% else %> + <%= truncate(simple_format(post.body), 250, ' ... (continued)') %> + <% end %> </div> <p class="meta"><a href="#" class="more">Read More</a> &nbsp;&nbsp;&nbsp; <a href="#" class="comments">Comments (1337)</a></p> </div> \ No newline at end of file diff --git a/app/views/posts/show.html.erb b/app/views/posts/show.html.erb new file mode 100644 index 0000000..3f39a89 --- /dev/null +++ b/app/views/posts/show.html.erb @@ -0,0 +1 @@ +<%= render :partial => @post %> \ No newline at end of file
bjeanes/twibblr
be99c84b6babfadf16410fb9f97adfd240e552a1
Fixed PostsController when there are no available posts and changed that Tag model to only set permalink if one hasn't already been set
diff --git a/app/controllers/posts_controller.rb b/app/controllers/posts_controller.rb index 3d1aba1..9d233d9 100644 --- a/app/controllers/posts_controller.rb +++ b/app/controllers/posts_controller.rb @@ -1,40 +1,40 @@ class PostsController < TwibblrController before_filter :filter_by_time, :only => [:index, :show] def index + @posts = @posts.all respond_to do |format| format.html format.rss { render :layout => false } end end def by_tag @posts = Tag.find_by_permalink(params[:tag]).posts rescue flash[:error] = "Tag '#{params[:tag]}' does not exist." redirect_to :action => :index end def show - @post = @posts.find(params[:id], :include => :comments) + @post = @posts.find(params[:id].to_i, :include => :comments) @comments = @post.comments @comment = Comment.new respond_to do |format| format.html # show.html.erb format.rss { render :layout => false } end end protected # TODO: this needs to be cleaner!!! def filter_by_time @posts = Post @posts = @posts.in_year(params[:year]) if params[:year] @posts = @posts.in_month(params[:month]) if params[:month] @posts = @posts.in_day(params[:day]) if params[:day] - @posts = @posts.all end end \ No newline at end of file diff --git a/app/models/tag.rb b/app/models/tag.rb index e62c6f5..16f330b 100644 --- a/app/models/tag.rb +++ b/app/models/tag.rb @@ -1,30 +1,30 @@ class Tag < ActiveRecord::Base has_and_belongs_to_many :posts, :order => "created_at ASC" - before_save :set_permalink + before_create :set_permalink before_save :lowercase_name def to_s name end def to_param permalink end def self.[](identifier) identifier.is_a?(Fixnum) ? find(identifier) : find(:first, :conditions => ["name = :name OR permalink = :name", {:name => identifier.to_s}]) rescue nil end private def set_permalink - self.permalink = name.parameterize + self.permalink = name.parameterize if permalink.blank? end def lowercase_name self.name.downcase! end end \ No newline at end of file
bjeanes/twibblr
c004166c5a9cadef516d533dd17383478e860cea
Added Tag[] method to find tags by name/id quickly
diff --git a/app/models/tag.rb b/app/models/tag.rb index a128610..e62c6f5 100644 --- a/app/models/tag.rb +++ b/app/models/tag.rb @@ -1,24 +1,30 @@ class Tag < ActiveRecord::Base has_and_belongs_to_many :posts, :order => "created_at ASC" before_save :set_permalink before_save :lowercase_name def to_s name end def to_param permalink end + + def self.[](identifier) + identifier.is_a?(Fixnum) ? find(identifier) : find(:first, :conditions => ["name = :name OR permalink = :name", {:name => identifier.to_s}]) + rescue + nil + end private def set_permalink self.permalink = name.parameterize end def lowercase_name self.name.downcase! end end \ No newline at end of file
bjeanes/twibblr
9432efc96491902aa44ca3fcd2c6ae0533e3baec
tags and post links linked now
diff --git a/app/models/post.rb b/app/models/post.rb index 72e8e80..5663f97 100644 --- a/app/models/post.rb +++ b/app/models/post.rb @@ -1,31 +1,35 @@ class Post < ActiveRecord::Base default_scope :order => "created_at DESC" has_many :comments, :order => "created_at ASC" has_and_belongs_to_many :tags, :order => "name ASC" named_scope :archive, :group => "month(created_at)" validates_presence_of :body, :title %w{year month day}.each do |time| delegate time, :to => :created_at named_scope :"in_#{time}", lambda { |num| {:conditions => ["#{time.upcase}(created_at) = ?", num] } } end def date created_at.to_date.to_s(:long_ordinal) end def to_s title end + + def link + @link ||= "/#{created_at.year}/#{created_at.month}/#{created_at.day}/#{to_param}" + end def to_param if title.blank? id else "#{id}-#{title.parameterize}" end end end \ No newline at end of file diff --git a/app/views/layouts/twibblr.html.erb b/app/views/layouts/twibblr.html.erb index 07945fc..d7d614b 100644 --- a/app/views/layouts/twibblr.html.erb +++ b/app/views/layouts/twibblr.html.erb @@ -1,64 +1,64 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <title>Sleek by TemplateFusion.org</title> <meta name="keywords" content="" /> <meta name="description" content="" /> <link href="/twibblr/master.css" rel="stylesheet" type="text/css" media="screen" /> <%= yield :head %> </head> <body> <!-- start header --> <div id="header"> <div id="logo"> <h1>My Website</h1> <p>Powered by <a href="http://github.com/bjeanes/twibblr">Twibblr</a></p> </div> <div id="search"> <form method="get" action=""> <fieldset> <input id="s" type="text" name="s" value="" /> <input id="x" type="submit" value="Search" /> </fieldset> </form> </div> </div> <!-- end header --> <!-- start page --> <div id="page"> <!-- start content --> <div id="content"> <%= yield %> </div> <!-- end content --> <!-- start sidebar --> <div id="sidebar"> <ul> <li> <h2>Updates:</h2> <ul> <% render_posts(:limit => 5) do |post| %> - <li><%= post.title %></li> + <li><%= link_to post.title, post.link %></li> <% end %> </ul> </li> <li> <h2>Tags</h2> <ul> <% render_tags do |tag| %> - <li><%= tag %> (<%= tag.posts.count %>)</li> + <li><%= link_to "#{tag} (#{tag.posts.count})", "/tags/#{tag.permalink}" %></li> <% end %> </ul> </li> </ul> </div> <!-- end sidebar --> </div> <!-- end page --> <div id="footer"> <p>&copy;2007 All Rights Reserved. &nbsp;&bull;&nbsp; Design by <a href="http://templatefusion.org">TemplateFusion</a> &nbsp;&bull;&nbsp; Icons by <a href="http://www.famfamfam.com/">FAMFAMFAM</a>.</p> </div> </body> </html> \ No newline at end of file
bjeanes/twibblr
ee849dd3071aa56270d92c4a24cd08d6deb3ea55
Loading entire site including theme, posts, tags, and post count from plugin in a vanilla app with NO CODE MODIFICATIONS other than datbase.yml
diff --git a/app/helpers/twibblr_helper.rb b/app/helpers/twibblr_helper.rb index e034c41..6394115 100644 --- a/app/helpers/twibblr_helper.rb +++ b/app/helpers/twibblr_helper.rb @@ -1,9 +1,34 @@ module TwibblrHelper - def render_posts + def render_posts(*options, &block) + # if they are fetching posts in the controller + # then awesome(!) otherwise get it for them + posts = @posts || Post.all(*options) + if block_given? - @posts.each { |post| yield post.title, post.body, post.created_at } + posts.each do |post| + render_post(post, &block) + end else - render :partial => @posts + render :partial => posts + end + end + + def render_tags(*options) + raise "No Block Given" unless block_given? + (@tags || Tag.all(*options)).each {|tag| yield(tag)} + end + + private + + def render_post(post, &block) + raise "No block given" unless block_given? + case block.arity + when 1 then yield(post) + when 2 then yield(post.title, post.body) + when 3 then yield(post.title, post.body, post.created_at) + when 4 then yield(post.title, post.body, post.created_at, post.tags) + when 5 then yield(post.title, post.body, post.created_at, post.tags, post.comments) + else raise "Parameter Error" end end end \ No newline at end of file diff --git a/app/views/layouts/twibblr.html.erb b/app/views/layouts/twibblr.html.erb index 27d190a..07945fc 100644 --- a/app/views/layouts/twibblr.html.erb +++ b/app/views/layouts/twibblr.html.erb @@ -1,169 +1,64 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<!-- -Template by TemplateFusion.org -http://templatefusion.org -Creative Commons Attribution 2.5 Canada License -Name : Sleek -Description : A nice sleek, clean design. -Notes : Based off of "splatter" by freecsstemplates.org - ---> <html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="content-type" content="text/html; charset=utf-8" /> -<title>Sleek by TemplateFusion.org</title> -<meta name="keywords" content="" /> -<meta name="description" content="" /> -<link href="/twibblr/master.css" rel="stylesheet" type="text/css" media="screen" /> -</head> -<body> -<!-- start header --> -<div id="header"> - <div id="logo"> - <h1>Sleek</h1> - <p>Brought to you by <a href="http://fusiontemplates.org">Template Fusion</a></p> - </div> - <div id="search"> - <form method="get" action=""> - <fieldset> - <input id="s" type="text" name="s" value="" /> - <input id="x" type="submit" value="Search" /> - </fieldset> - </form> - </div> -</div> -<!-- end header --> -<!-- start page --> -<div id="page"> - <!-- start content --> - <div id="content"> - <div class="post"> - <h1 class="title">What's the catch?</h1> - <p class="byline"><small>Posted on November 25th, 2007 by <a href="http://sean-pollock.com">Sean</a> | <a href="#">Edit Post</a></small></p> - <div class="entry"> - <p>This is a free template released by <a href="http://templatefusion.org">Template Fusion</a> for personal or commercial use. It is licensed under the <a rel="license" href="http://creativecommons.org/licenses/by/2.5/ca/">Creative Commons Attribution 2.5 Canada License</a>. That pretty much means you can use it in any way you want, but you MUST have &quot;attribution&quot; to <a href="http://templatefusion.org">TemplateFusion</a>, in the form of a link.</p> - </div> - <p class="meta"><a href="#" class="more">Read More</a> &nbsp;&nbsp;&nbsp; <a href="#" class="comments">Comments (1337)</a></p> - </div> - <div class="post"> - <h2 class="title">Some Code Examples </h2> - <p class="byline"><small>Posted on November 25th, 2007 by <a href="http://sean-pollock.com">Sean</a> | <a href="#">Edit Post</a></small> </p> - <h3>Code</h3> - <p><code> - code-sample { <br /> - font-weight: bold;<br /> - font-style: italic;<br /> - } - </code></p> - - <h3>Example Lists</h3> - - - <ol> - <li>Here is an example</li> - <li>of an ordered list</li> - </ol> - <ul> - <li>Here is an example</li> - <li>of an unordered list</li> - </ul> - - <h3>Blockquote</h3> - <blockquote> - <p>A blockquote is meant to seperate a quote or important part of text from the main text body. A stylish blockquote does that with flair. </p> - </blockquote> - - - <h3>Image and text</h3> - <p><a href="http://templatefusion.org/"><img src="/twibblr/templatefusion.jpg" alt="Template Fusion - Free CSS templates" width="120" height="120" class="float-left" /></a> - If you want to align an image to the right or the left of your text, simply add class=&quot;float-right&quot; or class=&quot;float-left&quot; in your &lt;img&gt; tag. If you want to align DIV or &lt;P&gt; tags to anything, simply add class=&quot;align-left&quot;, or class=&quot;align-right&quot; to your &lt;p&gt; or &lt;div&gt; tag. </p> - - <h3>Table Styling</h3> - - <table> - <tbody><tr> - <th><strong>post</strong> date</th> - - <th>title</th> - <th>description</th> - </tr> - <tr> - <td>04.18.2007</td> - <td><a href="index.html">Augue non nibh</a></td> - <td><a href="index.html">Lobortis commodo metus vestibulum</a></td> - - </tr> - <tr> - <td>04.18.2007</td> - <td><a href="index.html">Fusce ut diam bibendum</a></td> - <td><a href="index.html">Purus in eget odio in sapien</a></td> - </tr> - <tr> - - <td>04.18.2007</td> - <td><a href="index.html">Maecenas et ipsum</a></td> - <td><a href="index.html">Adipiscing blandit quisque eros</a></td> - </tr> - <tr> - <td>04.18.2007</td> - <td><a href="index.html">Sed vestibulum blandit</a></td> - - <td><a href="index.html">Cras lobortis commodo metus lorem</a></td> - </tr> - </tbody></table> - - <h3>Example Form</h3> - <form method="get" action="#"> - <p> - <label>Name</label> - <input style="background-color: rgb(255, 255, 160);" name="dname" value="Your Name" size="30" type="text" /> - - <label>Email</label> - <input style="background-color: rgb(255, 255, 160);" name="demail" value="Your Email" size="30" type="text" /> - <label>Your Comments</label> - <textarea rows="5" cols="5"></textarea> - <br /> - <input class="button" type="submit" /> - </p> - </form> - - <p class="meta"><a href="#" class="more">Read More</a> &nbsp;&nbsp;&nbsp; <a href="#" class="comments">Comments (7331)</a></p> - </div> - </div> - <!-- end content --> - <!-- start sidebar --> - <div id="sidebar"> - <ul> - <li> - <h2>Updates:</h2> - <ul> - <li><a href="#">Wow my site looks good!</a></li> - <li><a href="#">New Template up!</a></li> - <li><a href="#">Found one</a></li> - <li><a href="#">Looking for a nice template</a></li> - <li><a href="#">Site Finished</a></li> - <li><a href="#">Site Launched</a></li> - </ul> - </li> - <li> - <h2>Cool Links!</h2> - <ul> - <li><a href="http://templatefusion.org">Template Fusion</a></li> - <li><a href="http://sean-pollock.com">Sean Pollock</a></li> - <li><a href="http://learn-poetry.com">Learn How to Write Poetry</a></li> - <li><a href="http://whois-it.info">Whois-it.info</a></li> - <li><a href="http://tutorialfusion.org">Tutorial Fusion</a></li> - <li><a href="http://pcsafetycenter.com">PC: Safety Center</a></li> - </ul> - </li> - </ul> - </div> - <!-- end sidebar --> -</div> -<!-- end page --> -<div id="footer"> - <p>&copy;2007 All Rights Reserved. &nbsp;&bull;&nbsp; Design by <a href="http://templatefusion.org">TemplateFusion</a> &nbsp;&bull;&nbsp; Icons by <a href="http://www.famfamfam.com/">FAMFAMFAM</a>.</p> -</div> -</body> + <head> + <meta http-equiv="content-type" content="text/html; charset=utf-8" /> + <title>Sleek by TemplateFusion.org</title> + <meta name="keywords" content="" /> + <meta name="description" content="" /> + <link href="/twibblr/master.css" rel="stylesheet" type="text/css" media="screen" /> + <%= yield :head %> + </head> + <body> + <!-- start header --> + <div id="header"> + <div id="logo"> + <h1>My Website</h1> + <p>Powered by <a href="http://github.com/bjeanes/twibblr">Twibblr</a></p> + </div> + <div id="search"> + <form method="get" action=""> + <fieldset> + <input id="s" type="text" name="s" value="" /> + <input id="x" type="submit" value="Search" /> + </fieldset> + </form> + </div> + </div> + <!-- end header --> + <!-- start page --> + <div id="page"> + <!-- start content --> + <div id="content"> + <%= yield %> + </div> + <!-- end content --> + <!-- start sidebar --> + <div id="sidebar"> + <ul> + <li> + <h2>Updates:</h2> + <ul> + <% render_posts(:limit => 5) do |post| %> + <li><%= post.title %></li> + <% end %> + </ul> + </li> + <li> + <h2>Tags</h2> + <ul> + <% render_tags do |tag| %> + <li><%= tag %> (<%= tag.posts.count %>)</li> + <% end %> + </ul> + </li> + </ul> + </div> + <!-- end sidebar --> + </div> + <!-- end page --> + <div id="footer"> + <p>&copy;2007 All Rights Reserved. &nbsp;&bull;&nbsp; Design by <a href="http://templatefusion.org">TemplateFusion</a> &nbsp;&bull;&nbsp; Icons by <a href="http://www.famfamfam.com/">FAMFAMFAM</a>.</p> + </div> + </body> </html> \ No newline at end of file diff --git a/app/views/posts/_post.html.erb b/app/views/posts/_post.html.erb new file mode 100644 index 0000000..5ef8835 --- /dev/null +++ b/app/views/posts/_post.html.erb @@ -0,0 +1,8 @@ +<div class="post"> + <h1 class="title"><%= post.title.titleize %></h1> + <p class="byline"><small>Posted on <%= post.created_at.strftime("%B %d, %Y") %> | <a href="#">Edit Post</a></small></p> + <div class="entry"> + <%= truncate(simple_format(post.body), 250, ' ... (continued)') %> + </div> + <p class="meta"><a href="#" class="more">Read More</a> &nbsp;&nbsp;&nbsp; <a href="#" class="comments">Comments (1337)</a></p> +</div> \ No newline at end of file
bjeanes/twibblr
78c3532e7f48bdcdb7096736e8bc090d0490f86e
force mime type
diff --git a/app/controllers/assets_controller.rb b/app/controllers/assets_controller.rb index 3de9c91..3acb05e 100644 --- a/app/controllers/assets_controller.rb +++ b/app/controllers/assets_controller.rb @@ -1,43 +1,43 @@ class AssetsController < TwibblrController layout nil around_filter :asset_check PUBLIC_DIR = File.join(::TWIBBLR_ROOT, 'public') def stylesheet - respond_to { |format| format.css { send_file(File.join(PUBLIC_DIR, 'stylesheets', "#{params[:stylesheet]}.css")) } } + respond_to { |format| format.css { send_file(File.join(PUBLIC_DIR, 'stylesheets', "#{params[:stylesheet]}.css"), :type => "text/css") } } end def javascript - respond_to { |format| format.js { send_file(File.join(PUBLIC_DIR, 'javascripts', "#{params[:javascript]}.js")) } } + respond_to { |format| format.js { send_file(File.join(PUBLIC_DIR, 'javascripts', "#{params[:javascript]}.js"), :type => "text/javascript") } } end def image respond_to do |format| %w{gif png jpg}.each do |f| format.send(f) do image = File.expand_path(File.join(PUBLIC_DIR, 'images', "#{params[:image]}.#{f}")) send_file(image) and return end end end end protected def asset_check if file_safe? yield else raise "unsafe file" end rescue raise ActiveRecord::RecordNotFound unless development? end # TODO make these check the params to make sure we aren't # accessing arbitrary files on the system etc def file_safe? true end end \ No newline at end of file
bjeanes/twibblr
6ff91e1d99ae26d38dbf4f55bcde8efe54f32507
theme files for previous commit
diff --git a/public/images/img01.gif b/public/images/img01.gif new file mode 100755 index 0000000..5da9495 Binary files /dev/null and b/public/images/img01.gif differ diff --git a/public/images/img01.jpg b/public/images/img01.jpg new file mode 100755 index 0000000..d74e49a Binary files /dev/null and b/public/images/img01.jpg differ diff --git a/public/images/img02.gif b/public/images/img02.gif new file mode 100755 index 0000000..dbf8279 Binary files /dev/null and b/public/images/img02.gif differ diff --git a/public/images/img02.jpg b/public/images/img02.jpg new file mode 100755 index 0000000..d5d2ccb Binary files /dev/null and b/public/images/img02.jpg differ diff --git a/public/images/img03.gif b/public/images/img03.gif new file mode 100755 index 0000000..7ac099e Binary files /dev/null and b/public/images/img03.gif differ diff --git a/public/images/img04.gif b/public/images/img04.gif new file mode 100755 index 0000000..4507be1 Binary files /dev/null and b/public/images/img04.gif differ diff --git a/public/images/img05.gif b/public/images/img05.gif new file mode 100755 index 0000000..a5ed00b Binary files /dev/null and b/public/images/img05.gif differ diff --git a/public/images/img06.gif b/public/images/img06.gif new file mode 100755 index 0000000..c04714b Binary files /dev/null and b/public/images/img06.gif differ diff --git a/public/images/img07.gif b/public/images/img07.gif new file mode 100755 index 0000000..04dde45 Binary files /dev/null and b/public/images/img07.gif differ diff --git a/public/images/spacer.gif b/public/images/spacer.gif new file mode 100755 index 0000000..5bfd67a Binary files /dev/null and b/public/images/spacer.gif differ diff --git a/public/images/table-bg.jpg b/public/images/table-bg.jpg new file mode 100755 index 0000000..9cfe73e Binary files /dev/null and b/public/images/table-bg.jpg differ diff --git a/public/images/templatefusion.jpg b/public/images/templatefusion.jpg new file mode 100755 index 0000000..2ba4285 Binary files /dev/null and b/public/images/templatefusion.jpg differ diff --git a/public/stylesheets/master.css b/public/stylesheets/master.css new file mode 100644 index 0000000..5f7accd --- /dev/null +++ b/public/stylesheets/master.css @@ -0,0 +1,395 @@ +/* +Design by TemplateFusion +http://templatefusion.org +Released for free under a Creative Commons Attribution 2.5 Canada License +*/ + +body { + margin: 0; + padding: 0; + background: #FFFFFF url(/twibblr/img01.jpg) repeat-x; + font-size: 13px; + color: #666666; +} + +body, th, td, input, textarea, select, option { + font-family: Arial, Helvetica, sans-serif; +} + +h1, h2, h3 { + font-family: "Trebuchet MS", Arial, Helvetica, sans-serif; + color:#666666; +} + +h1 { + letter-spacing: -2px; + font-size: 3em; +} + +h2 { + letter-spacing: -1px; + font-size: 2em; +} + +h3 { + font-size: 1em; +} + +p, ul, ol { + line-height: 200%; +} + +img { +border: 0px; +} + +a { + color: #333333; +} + +a:hover { + text-decoration: none; +} + +/* Header */ + +#header { + width: 760px; + height: 200px; + margin: 0 auto; + background: url(/twibblr/img02.jpg) no-repeat left center; +} + +#logo { + float: left; + padding: 90px 0 0 0; +} + +#logo h1, #logo p { + margin: 0; + color: #FFFFFF; + padding-left: 60px; +} + +#logo a { + color: #FFFFFF; +} + +#search { + float: right; + width: 200px; + padding: 135px 0 0 0; +} + +#search form { + margin: 0; + padding: 0; +} + +#search fieldset { + margin: 0; + padding: 0; + border: none; +} + +#s { + width: 190px; + padding: 3px 5px; + background: #FFFFFF url(/twibblr/img03.gif) repeat-x; + border: 1px solid #FFFFFF; +} + +#x { + display: none; +} + +/* Page */ + +#page { + width: 720px; + margin: 0 auto; + padding: 20px 0; +} + +/* Content */ + +#content { + float: right; + width: 420px; +} + +.post { + padding: 0 0 20px 0; +} + +.title { + margin: 0; +} + +.byline { + margin: 0; +} + +.meta { + padding: 5px 10px; + border: 1px solid #EFEFEF; + background: #F9F9F9; +} + +.meta .more { + padding-left: 20px; + background: url(/twibblr/img04.gif) no-repeat left center; +} + +.meta .comments { + padding-left: 20px; + background: url(/twibblr/img05.gif) no-repeat left center; +} + +/* Sidebar */ + +#sidebar { + float: left; + width: 240px; +} + +#sidebar ul { + margin: 0; + padding: 0; + list-style: none; +} + +#sidebar li { +} + +#sidebar li ul { +} + +#sidebar li li { + padding-left: 10px; + background: url(/twibblr/img06.gif) no-repeat left center; + border-bottom: 1px dotted #CCCCCC; +} + +#sidebar h2 { + margin: 0; + padding: 20px 0; +} + +#sidebar a { + text-decoration: none; +} + +#sidebar a:hover { + color: #999999; +} + +/* Footer */ + +#footer { + clear: both; + padding: 30px 0; + background: url(/twibblr/img07.gif) repeat-x; + text-align: center; + font-size: smaller; +} + +/* Special Formatting */ +code { + + margin: 5px 0; + + padding: 10px; + + text-align: left; + + display: block; + + overflow: auto; + + font: 500 1em/1.5em 'Lucida Console', 'courier new', monospace; + + /* white-space: pre; */ + + background: #FAFAFA; + + border: 1px solid #f2f2f2; + + border-left: 3px solid #999999; + +} + +blockquote { + + margin: 15px; padding: 0 0 0 20px; + + background-color: #FAFAFA; + + background-position: 8px 10px; + + border: 1px solid #f2f2f2; + + border-left: 3px solid #999999; + + font: bold 1.2em/1.5em "Trebuchet MS", Tahoma, sans-serif; + + color: #666666; + +} + +blockquote p, blockquote ul, blockquote ol { + line-height: normal; + font-style: italic; +} +.float-left { float: left; padding-right: 5px; } + +.float-right { float: right; padding-left: 5px; } + +.align-left { text-align: left; } + +.align-right { text-align: right; } + +/* Table Styling */ + +table { + + border-collapse: collapse; + + margin: 10px 15px; + +} + +th strong { + + color: #fff; + +} + +th { + + background: #717170; + + background-image:url(/twibblr/table-bg.jpg); background-repeat:repeat-x; + + height: 29px; + + padding-left: 11px; + + padding-right: 11px; + + color: #fff; + + text-align: left; + + border-left: 1px solid #999999; + + border-bottom: solid 2px #FFF; + +} + +tr { + + height: 30px; + +} + +td { + + padding-left: 11px; + + padding-right: 11px; + + /* border-left: 1px solid #FFE1C3; */ + + border-left: 1px solid #FFF; + + border-bottom: solid 1px #ffffff; + +} + +td.first,th.first { + + border-left: 0px; + +} + +tr.row-a { + + background: #F8F8F8; + +} + +tr.row-b { + + background: #EFEFEF; + +} + +/* form styling */ +form { + + margin:10px 15px; padding: 5px; + + border: 1px solid #EEEEEE; + + background-color: #FAFAFA; + +} + +label { + + display:block; + + font-weight:bold; + + margin:5px 0; + +} + +input { + + width: 275px; + + padding: 2px; + + border:1px solid #eee; + + font: normal 1em "Trebuchet MS", Tahoma, sans-serif; + + color:#777; + +} + +textarea { + + width:375px; + + padding:2px; + + font: normal 1em "Trebuchet MS", Tahoma, sans-serif; + + border:1px solid #eee; + + height:100px; + + display:block; + + color:#777; + +} + +input.button { + + margin: 0; + + font: bold 1em Arial, Sans-serif; + + background: #FFF url(gradientbg.jpg) repeat-x; + + padding: 2px 3px; + + color: #333; + + border: 1px solid #DADADA; + +} \ No newline at end of file
bjeanes/twibblr
19b53ab058c8d225987a5e226e19643d8b4d001e
Load initializers from the plugin so we can set up some configuration needed by plugin, load all assets (images, css, javascript) happily from the twibblr/public by using an AssetsController (needs to be cached like woah though). Added some tempalte I found from google to use for testing stubbing out an example post/blog/stuff ... need to turn into partials, namespace all the CSS to not conflict, etc
diff --git a/app/controllers/assets_controller.rb b/app/controllers/assets_controller.rb index ab53951..3de9c91 100644 --- a/app/controllers/assets_controller.rb +++ b/app/controllers/assets_controller.rb @@ -1,29 +1,43 @@ class AssetsController < TwibblrController layout nil around_filter :asset_check + + PUBLIC_DIR = File.join(::TWIBBLR_ROOT, 'public') def stylesheet - respond_to { |format| format.css { render params[:stylesheet] if stylesheet_safe? } } + respond_to { |format| format.css { send_file(File.join(PUBLIC_DIR, 'stylesheets', "#{params[:stylesheet]}.css")) } } end def javascript - respond_to { |format| format.js { render params[:javascript] if javascript_safe? } } + respond_to { |format| format.js { send_file(File.join(PUBLIC_DIR, 'javascripts', "#{params[:javascript]}.js")) } } end - + + def image + respond_to do |format| + %w{gif png jpg}.each do |f| + format.send(f) do + image = File.expand_path(File.join(PUBLIC_DIR, 'images', "#{params[:image]}.#{f}")) + send_file(image) and return + end + end + end + end + protected def asset_check - yield + if file_safe? + yield + else + raise "unsafe file" + end rescue raise ActiveRecord::RecordNotFound unless development? end # TODO make these check the params to make sure we aren't # accessing arbitrary files on the system etc - def stylesheet_safe? - true - end - def javascript_safe? + def file_safe? true end end \ No newline at end of file diff --git a/app/controllers/twibblr_controller.rb b/app/controllers/twibblr_controller.rb index fce66b2..2826949 100644 --- a/app/controllers/twibblr_controller.rb +++ b/app/controllers/twibblr_controller.rb @@ -1,17 +1,17 @@ # Define a master controller for plugin to have defaults set everywhere class TwibblrController < ApplicationController helper :twibblr filter_parameter_logging :password layout :choose_layout protected def development? RAILS_ENV == "development" end - + def choose_layout # This ivar could be set by some form of site config later @layout ||= "twibblr" end -end +end \ No newline at end of file diff --git a/app/helpers/twibblr_helper.rb b/app/helpers/twibblr_helper.rb index 989eada..e034c41 100644 --- a/app/helpers/twibblr_helper.rb +++ b/app/helpers/twibblr_helper.rb @@ -1,3 +1,9 @@ module TwibblrHelper - + def render_posts + if block_given? + @posts.each { |post| yield post.title, post.body, post.created_at } + else + render :partial => @posts + end + end end \ No newline at end of file diff --git a/app/models/post.rb b/app/models/post.rb index aa68828..72e8e80 100644 --- a/app/models/post.rb +++ b/app/models/post.rb @@ -1,31 +1,31 @@ class Post < ActiveRecord::Base default_scope :order => "created_at DESC" has_many :comments, :order => "created_at ASC" has_and_belongs_to_many :tags, :order => "name ASC" named_scope :archive, :group => "month(created_at)" validates_presence_of :body, :title %w{year month day}.each do |time| delegate time, :to => :created_at - named_scope :"in_#{time}", lambda { |num| {:conditions => ["#{time.upcase}(created_at) = ?", num] } } + named_scope :"in_#{time}", lambda { |num| {:conditions => ["#{time.upcase}(created_at) = ?", num] } } end - + def date created_at.to_date.to_s(:long_ordinal) end def to_s title end def to_param if title.blank? id else "#{id}-#{title.parameterize}" end end end \ No newline at end of file diff --git a/app/views/assets/master.css.erb b/app/views/assets/master.css.erb deleted file mode 100644 index 0862daa..0000000 --- a/app/views/assets/master.css.erb +++ /dev/null @@ -1,2 +0,0 @@ -header, nav, footer, section, /* convert some html5 elements into structural elements */ - aside, article, figure {display: block;} \ No newline at end of file diff --git a/app/views/layouts/twibblr.html.erb b/app/views/layouts/twibblr.html.erb index f3433de..27d190a 100644 --- a/app/views/layouts/twibblr.html.erb +++ b/app/views/layouts/twibblr.html.erb @@ -1,22 +1,169 @@ -<!DOCTYPE html> <!-- HTML 5 --> -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-GB"> - <head> - <title>Twibblr</title> - <link rel="stylesheet" href="/twibblr/master.css" type="text/css" media="screen" title="Master Twibblr CSS" charset="utf-8" /> - <%= yield :head %> - </head> - <body> - <header><h1>Twibblr-Assisted Site</h1></header> - <nav> - <h1>Archives</h1> - <ul> - - </ul> - </nav> - <section> - <%= yield %> - </section> - <nav></nav> - <footer>&copy; <%= Time.zone.now.year %> A Developer</footer> - </body> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<!-- +Template by TemplateFusion.org +http://templatefusion.org +Creative Commons Attribution 2.5 Canada License + +Name : Sleek +Description : A nice sleek, clean design. +Notes : Based off of "splatter" by freecsstemplates.org + +--> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<meta http-equiv="content-type" content="text/html; charset=utf-8" /> +<title>Sleek by TemplateFusion.org</title> +<meta name="keywords" content="" /> +<meta name="description" content="" /> +<link href="/twibblr/master.css" rel="stylesheet" type="text/css" media="screen" /> +</head> +<body> +<!-- start header --> +<div id="header"> + <div id="logo"> + <h1>Sleek</h1> + <p>Brought to you by <a href="http://fusiontemplates.org">Template Fusion</a></p> + </div> + <div id="search"> + <form method="get" action=""> + <fieldset> + <input id="s" type="text" name="s" value="" /> + <input id="x" type="submit" value="Search" /> + </fieldset> + </form> + </div> +</div> +<!-- end header --> +<!-- start page --> +<div id="page"> + <!-- start content --> + <div id="content"> + <div class="post"> + <h1 class="title">What's the catch?</h1> + <p class="byline"><small>Posted on November 25th, 2007 by <a href="http://sean-pollock.com">Sean</a> | <a href="#">Edit Post</a></small></p> + <div class="entry"> + <p>This is a free template released by <a href="http://templatefusion.org">Template Fusion</a> for personal or commercial use. It is licensed under the <a rel="license" href="http://creativecommons.org/licenses/by/2.5/ca/">Creative Commons Attribution 2.5 Canada License</a>. That pretty much means you can use it in any way you want, but you MUST have &quot;attribution&quot; to <a href="http://templatefusion.org">TemplateFusion</a>, in the form of a link.</p> + </div> + <p class="meta"><a href="#" class="more">Read More</a> &nbsp;&nbsp;&nbsp; <a href="#" class="comments">Comments (1337)</a></p> + </div> + <div class="post"> + <h2 class="title">Some Code Examples </h2> + <p class="byline"><small>Posted on November 25th, 2007 by <a href="http://sean-pollock.com">Sean</a> | <a href="#">Edit Post</a></small> </p> + <h3>Code</h3> + <p><code> + code-sample { <br /> + font-weight: bold;<br /> + font-style: italic;<br /> + } + </code></p> + + <h3>Example Lists</h3> + + + <ol> + <li>Here is an example</li> + <li>of an ordered list</li> + </ol> + <ul> + <li>Here is an example</li> + <li>of an unordered list</li> + </ul> + + <h3>Blockquote</h3> + <blockquote> + <p>A blockquote is meant to seperate a quote or important part of text from the main text body. A stylish blockquote does that with flair. </p> + </blockquote> + + + <h3>Image and text</h3> + <p><a href="http://templatefusion.org/"><img src="/twibblr/templatefusion.jpg" alt="Template Fusion - Free CSS templates" width="120" height="120" class="float-left" /></a> + If you want to align an image to the right or the left of your text, simply add class=&quot;float-right&quot; or class=&quot;float-left&quot; in your &lt;img&gt; tag. If you want to align DIV or &lt;P&gt; tags to anything, simply add class=&quot;align-left&quot;, or class=&quot;align-right&quot; to your &lt;p&gt; or &lt;div&gt; tag. </p> + + <h3>Table Styling</h3> + + <table> + <tbody><tr> + <th><strong>post</strong> date</th> + + <th>title</th> + <th>description</th> + </tr> + <tr> + <td>04.18.2007</td> + <td><a href="index.html">Augue non nibh</a></td> + <td><a href="index.html">Lobortis commodo metus vestibulum</a></td> + + </tr> + <tr> + <td>04.18.2007</td> + <td><a href="index.html">Fusce ut diam bibendum</a></td> + <td><a href="index.html">Purus in eget odio in sapien</a></td> + </tr> + <tr> + + <td>04.18.2007</td> + <td><a href="index.html">Maecenas et ipsum</a></td> + <td><a href="index.html">Adipiscing blandit quisque eros</a></td> + </tr> + <tr> + <td>04.18.2007</td> + <td><a href="index.html">Sed vestibulum blandit</a></td> + + <td><a href="index.html">Cras lobortis commodo metus lorem</a></td> + </tr> + </tbody></table> + + <h3>Example Form</h3> + <form method="get" action="#"> + <p> + <label>Name</label> + <input style="background-color: rgb(255, 255, 160);" name="dname" value="Your Name" size="30" type="text" /> + + <label>Email</label> + <input style="background-color: rgb(255, 255, 160);" name="demail" value="Your Email" size="30" type="text" /> + <label>Your Comments</label> + <textarea rows="5" cols="5"></textarea> + <br /> + <input class="button" type="submit" /> + </p> + </form> + + <p class="meta"><a href="#" class="more">Read More</a> &nbsp;&nbsp;&nbsp; <a href="#" class="comments">Comments (7331)</a></p> + </div> + </div> + <!-- end content --> + <!-- start sidebar --> + <div id="sidebar"> + <ul> + <li> + <h2>Updates:</h2> + <ul> + <li><a href="#">Wow my site looks good!</a></li> + <li><a href="#">New Template up!</a></li> + <li><a href="#">Found one</a></li> + <li><a href="#">Looking for a nice template</a></li> + <li><a href="#">Site Finished</a></li> + <li><a href="#">Site Launched</a></li> + </ul> + </li> + <li> + <h2>Cool Links!</h2> + <ul> + <li><a href="http://templatefusion.org">Template Fusion</a></li> + <li><a href="http://sean-pollock.com">Sean Pollock</a></li> + <li><a href="http://learn-poetry.com">Learn How to Write Poetry</a></li> + <li><a href="http://whois-it.info">Whois-it.info</a></li> + <li><a href="http://tutorialfusion.org">Tutorial Fusion</a></li> + <li><a href="http://pcsafetycenter.com">PC: Safety Center</a></li> + </ul> + </li> + </ul> + </div> + <!-- end sidebar --> +</div> +<!-- end page --> +<div id="footer"> + <p>&copy;2007 All Rights Reserved. &nbsp;&bull;&nbsp; Design by <a href="http://templatefusion.org">TemplateFusion</a> &nbsp;&bull;&nbsp; Icons by <a href="http://www.famfamfam.com/">FAMFAMFAM</a>.</p> +</div> +</body> </html> \ No newline at end of file diff --git a/app/views/posts/index.html.erb b/app/views/posts/index.html.erb index 74d4bbb..7800c25 100644 --- a/app/views/posts/index.html.erb +++ b/app/views/posts/index.html.erb @@ -1,10 +1,5 @@ <% content_for :head do %> <link href="/posts.rss" rel="alternate" title="Blog Posts" type="application/rss+xml" /> <% end %> -<% @posts.each do |post| %> - <article> - <h1><%= post.title %></h1> - <%= post.body %> - </article> -<% end %> \ No newline at end of file +<%= render_posts %> \ No newline at end of file diff --git a/config/initializers/mime_types.rb b/config/initializers/mime_types.rb new file mode 100644 index 0000000..96a1add --- /dev/null +++ b/config/initializers/mime_types.rb @@ -0,0 +1,5 @@ +# TODO - make sure it doesn't overwrite existing mime types +Mime::Type.register "image/jpeg", :jpg +Mime::Type.register "image/jpeg", :jpeg +Mime::Type.register "image/gif", :gif +Mime::Type.register "image/png", :png diff --git a/config/routes.rb b/config/routes.rb index c5c6534..770946f 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -1,31 +1,35 @@ YEAR_REGEX = /\d{4}/ MONTH_REGEX = /(?:0?[1-9]|1[012])/ DAY_REGEX = /(?:0?[1-9]|[12][0-9]|3[01])/ PARAM_REGEX = /\d+(?:-[a-z0-9_-]+?)?/ ActionController::Routing::Routes.draw do |map| map.with_options :conditions => {:method => :get} do |get| get.with_options :controller => "posts" do |posts| posts.with_options :action => "index" do |list_posts| + list_posts.root list_posts.posts "/posts" list_posts.formatted_posts "/posts.:format" list_posts.map "/:year", :requirements => {:year => YEAR_REGEX} list_posts.map "/:year/:month", :requirements => {:year => YEAR_REGEX, :month => MONTH_REGEX} list_posts.map "/:year/:month/:day", :requirements => {:year => YEAR_REGEX, :month => MONTH_REGEX, :day => DAY_REGEX} end posts.map "/tags/:tag", :action => "by_tag" options = {:action => "show", :requirements => {:year => YEAR_REGEX, :month => MONTH_REGEX, :day => DAY_REGEX, :id => PARAM_REGEX}} posts.post "/:year/:month/:day/:id", options posts.formatted_post "/:year/:month/:day/:id.:format", options end get.with_options :controller => "assets" do |assets| - assets.connect "/twibblr" +# assets.connect "/twibblr" assets.connect "/twibblr/:stylesheet.css", :action => "stylesheet" assets.connect "/twibblr/:javascript.js", :action => "javascript" + %w{jpg png gif jpeg}.each do |ext| + assets.connect "/twibblr/:image.#{ext}", :action => "image" + end end end end diff --git a/init.rb b/init.rb index 3249414..93b6e72 100644 --- a/init.rb +++ b/init.rb @@ -1,3 +1,10 @@ # We want to reload all the controllers, helpers, and # models if we are in development mode: -ActiveSupport::Dependencies.load_once_paths.clear if RAILS_ENV == "development" \ No newline at end of file +ActiveSupport::Dependencies.load_once_paths.clear if RAILS_ENV == "development" + +::TWIBBLR_ROOT = File.expand_path(File.dirname(__FILE__)) + +# Load plug-in initializers +Dir.chdir(File.join(::TWIBBLR_ROOT, "config", "initializers")) do + Dir["*.rb"].each { |file| require file } +end \ No newline at end of file
bjeanes/twibblr
c060dc9dfc2f40650ce64204ca47c94ee08ce8a7
Clean up the post date scoping (DRYer but not as pretty, yet)
diff --git a/app/controllers/posts_controller.rb b/app/controllers/posts_controller.rb index af5643a..3d1aba1 100644 --- a/app/controllers/posts_controller.rb +++ b/app/controllers/posts_controller.rb @@ -1,33 +1,40 @@ class PostsController < TwibblrController + before_filter :filter_by_time, :only => [:index, :show] + def index - @posts = Post.find(:all) - respond_to do |format| format.html format.rss { render :layout => false } end end - def archive - # show posts in a certain time period (year, month, day, etc) - end - def by_tag @posts = Tag.find_by_permalink(params[:tag]).posts rescue flash[:error] = "Tag '#{params[:tag]}' does not exist." redirect_to :action => :index end def show - @post = Post.find(params[:id], :include => :comments) + @post = @posts.find(params[:id], :include => :comments) @comments = @post.comments @comment = Comment.new respond_to do |format| format.html # show.html.erb format.rss { render :layout => false } end end + + protected + + # TODO: this needs to be cleaner!!! + def filter_by_time + @posts = Post + @posts = @posts.in_year(params[:year]) if params[:year] + @posts = @posts.in_month(params[:month]) if params[:month] + @posts = @posts.in_day(params[:day]) if params[:day] + @posts = @posts.all + end end \ No newline at end of file diff --git a/app/models/post.rb b/app/models/post.rb index 7849049..aa68828 100644 --- a/app/models/post.rb +++ b/app/models/post.rb @@ -1,31 +1,31 @@ class Post < ActiveRecord::Base default_scope :order => "created_at DESC" has_many :comments, :order => "created_at ASC" has_and_belongs_to_many :tags, :order => "name ASC" named_scope :archive, :group => "month(created_at)" validates_presence_of :body, :title %w{year month day}.each do |time| delegate time, :to => :created_at - named_scope :"in_#{time}", lambda { |time| {:conditions => ["#{time.upcase}(created_at) = ?", time] } } + named_scope :"in_#{time}", lambda { |num| {:conditions => ["#{time.upcase}(created_at) = ?", num] } } end def date created_at.to_date.to_s(:long_ordinal) end def to_s title end def to_param if title.blank? id else "#{id}-#{title.parameterize}" end end end \ No newline at end of file diff --git a/config/routes.rb b/config/routes.rb index 4e12e21..c5c6534 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -1,34 +1,31 @@ YEAR_REGEX = /\d{4}/ MONTH_REGEX = /(?:0?[1-9]|1[012])/ DAY_REGEX = /(?:0?[1-9]|[12][0-9]|3[01])/ PARAM_REGEX = /\d+(?:-[a-z0-9_-]+?)?/ ActionController::Routing::Routes.draw do |map| map.with_options :conditions => {:method => :get} do |get| get.with_options :controller => "posts" do |posts| - posts.with_options :action => "index" do |index| - index.posts "/posts" - index.formatted_posts "/posts.:format" - end - - posts.with_options :action => "archive" do |archive| - archive.map "/:year", :requirements => {:year => YEAR_REGEX} - archive.map "/:year/:month", :requirements => {:year => YEAR_REGEX, :month => MONTH_REGEX} - archive.map "/:year/:month/:day", :requirements => {:year => YEAR_REGEX, :month => MONTH_REGEX, :day => DAY_REGEX} + posts.with_options :action => "index" do |list_posts| + list_posts.posts "/posts" + list_posts.formatted_posts "/posts.:format" + list_posts.map "/:year", :requirements => {:year => YEAR_REGEX} + list_posts.map "/:year/:month", :requirements => {:year => YEAR_REGEX, :month => MONTH_REGEX} + list_posts.map "/:year/:month/:day", :requirements => {:year => YEAR_REGEX, :month => MONTH_REGEX, :day => DAY_REGEX} end posts.map "/tags/:tag", :action => "by_tag" options = {:action => "show", :requirements => {:year => YEAR_REGEX, :month => MONTH_REGEX, :day => DAY_REGEX, :id => PARAM_REGEX}} posts.post "/:year/:month/:day/:id", options posts.formatted_post "/:year/:month/:day/:id.:format", options end get.with_options :controller => "assets" do |assets| assets.connect "/twibblr" assets.connect "/twibblr/:stylesheet.css", :action => "stylesheet" assets.connect "/twibblr/:javascript.js", :action => "javascript" end end end
bjeanes/twibblr
89828a59208b9acdcc10739847e5ef2e1fb707a6
Added named_scope to grab posts by time period (year, month, day, etc)
diff --git a/app/models/post.rb b/app/models/post.rb index 04673ef..7849049 100644 --- a/app/models/post.rb +++ b/app/models/post.rb @@ -1,28 +1,31 @@ class Post < ActiveRecord::Base default_scope :order => "created_at DESC" has_many :comments, :order => "created_at ASC" has_and_belongs_to_many :tags, :order => "name ASC" named_scope :archive, :group => "month(created_at)" validates_presence_of :body, :title - - delegate :day, :month, :year, :to => :created_at + + %w{year month day}.each do |time| + delegate time, :to => :created_at + named_scope :"in_#{time}", lambda { |time| {:conditions => ["#{time.upcase}(created_at) = ?", time] } } + end def date created_at.to_date.to_s(:long_ordinal) end def to_s title end def to_param if title.blank? id else "#{id}-#{title.parameterize}" end end end \ No newline at end of file
bjeanes/twibblr
7e388d57ab3a4731fd36bb517631befd980f6d96
removed unused line
diff --git a/app/controllers/posts_controller.rb b/app/controllers/posts_controller.rb index fe70c8e..af5643a 100644 --- a/app/controllers/posts_controller.rb +++ b/app/controllers/posts_controller.rb @@ -1,34 +1,33 @@ class PostsController < TwibblrController def index @posts = Post.find(:all) respond_to do |format| format.html format.rss { render :layout => false } end end def archive # show posts in a certain time period (year, month, day, etc) end def by_tag @posts = Tag.find_by_permalink(params[:tag]).posts rescue flash[:error] = "Tag '#{params[:tag]}' does not exist." redirect_to :action => :index end def show @post = Post.find(params[:id], :include => :comments) @comments = @post.comments @comment = Comment.new - @extended_meta_data = true respond_to do |format| format.html # show.html.erb format.rss { render :layout => false } end end end \ No newline at end of file
bjeanes/twibblr
a0d3aff54e23cbb35cd944e9dd1ae045b00ebe34
Listing posts by tag will now redirect to post index if tag does not exist
diff --git a/app/controllers/posts_controller.rb b/app/controllers/posts_controller.rb index e5c8ab3..fe70c8e 100644 --- a/app/controllers/posts_controller.rb +++ b/app/controllers/posts_controller.rb @@ -1,31 +1,34 @@ class PostsController < TwibblrController def index @posts = Post.find(:all) respond_to do |format| format.html format.rss { render :layout => false } end end def archive # show posts in a certain time period (year, month, day, etc) end def by_tag - Tag.find_by_permalink(params[:tag]).posts + @posts = Tag.find_by_permalink(params[:tag]).posts + rescue + flash[:error] = "Tag '#{params[:tag]}' does not exist." + redirect_to :action => :index end def show @post = Post.find(params[:id], :include => :comments) @comments = @post.comments @comment = Comment.new @extended_meta_data = true respond_to do |format| format.html # show.html.erb format.rss { render :layout => false } end end end \ No newline at end of file diff --git a/config/routes.rb b/config/routes.rb index d0dd5a4..4e12e21 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -1,34 +1,34 @@ YEAR_REGEX = /\d{4}/ MONTH_REGEX = /(?:0?[1-9]|1[012])/ DAY_REGEX = /(?:0?[1-9]|[12][0-9]|3[01])/ PARAM_REGEX = /\d+(?:-[a-z0-9_-]+?)?/ ActionController::Routing::Routes.draw do |map| map.with_options :conditions => {:method => :get} do |get| get.with_options :controller => "posts" do |posts| posts.with_options :action => "index" do |index| index.posts "/posts" index.formatted_posts "/posts.:format" end posts.with_options :action => "archive" do |archive| archive.map "/:year", :requirements => {:year => YEAR_REGEX} archive.map "/:year/:month", :requirements => {:year => YEAR_REGEX, :month => MONTH_REGEX} archive.map "/:year/:month/:day", :requirements => {:year => YEAR_REGEX, :month => MONTH_REGEX, :day => DAY_REGEX} end - posts.map "/posts/tag/:tag", :action => "by_tag" + posts.map "/tags/:tag", :action => "by_tag" options = {:action => "show", :requirements => {:year => YEAR_REGEX, :month => MONTH_REGEX, :day => DAY_REGEX, :id => PARAM_REGEX}} posts.post "/:year/:month/:day/:id", options posts.formatted_post "/:year/:month/:day/:id.:format", options end get.with_options :controller => "assets" do |assets| assets.connect "/twibblr" assets.connect "/twibblr/:stylesheet.css", :action => "stylesheet" assets.connect "/twibblr/:javascript.js", :action => "javascript" end end end
bjeanes/twibblr
2b5e2faaff40e33fa352906edcb79508f4e5e303
Added new actions for different types of post viewing
diff --git a/app/controllers/posts_controller.rb b/app/controllers/posts_controller.rb index 4b7e897..e5c8ab3 100644 --- a/app/controllers/posts_controller.rb +++ b/app/controllers/posts_controller.rb @@ -1,23 +1,31 @@ class PostsController < TwibblrController def index - @posts = Post.find(:all, :order => "created_at DESC") + @posts = Post.find(:all) respond_to do |format| format.html format.rss { render :layout => false } end end + + def archive + # show posts in a certain time period (year, month, day, etc) + end + + def by_tag + Tag.find_by_permalink(params[:tag]).posts + end def show @post = Post.find(params[:id], :include => :comments) @comments = @post.comments @comment = Comment.new @extended_meta_data = true respond_to do |format| format.html # show.html.erb format.rss { render :layout => false } end end end \ No newline at end of file diff --git a/config/routes.rb b/config/routes.rb index 11d2163..d0dd5a4 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -1,29 +1,34 @@ YEAR_REGEX = /\d{4}/ MONTH_REGEX = /(?:0?[1-9]|1[012])/ DAY_REGEX = /(?:0?[1-9]|[12][0-9]|3[01])/ PARAM_REGEX = /\d+(?:-[a-z0-9_-]+?)?/ ActionController::Routing::Routes.draw do |map| map.with_options :conditions => {:method => :get} do |get| get.with_options :controller => "posts" do |posts| - posts.with_options :action => "index" do |show_posts| - show_posts.posts "/posts" - show_posts.formatted_posts "/posts.:format" - show_posts.map "/:year", :requirements => {:year => YEAR_REGEX} - show_posts.map "/:year/:month", :requirements => {:year => YEAR_REGEX, :month => MONTH_REGEX} - show_posts.map "/:year/:month/:day", :requirements => {:year => YEAR_REGEX, :month => MONTH_REGEX, :day => DAY_REGEX} + posts.with_options :action => "index" do |index| + index.posts "/posts" + index.formatted_posts "/posts.:format" end + + posts.with_options :action => "archive" do |archive| + archive.map "/:year", :requirements => {:year => YEAR_REGEX} + archive.map "/:year/:month", :requirements => {:year => YEAR_REGEX, :month => MONTH_REGEX} + archive.map "/:year/:month/:day", :requirements => {:year => YEAR_REGEX, :month => MONTH_REGEX, :day => DAY_REGEX} + end + + posts.map "/posts/tag/:tag", :action => "by_tag" options = {:action => "show", :requirements => {:year => YEAR_REGEX, :month => MONTH_REGEX, :day => DAY_REGEX, :id => PARAM_REGEX}} posts.post "/:year/:month/:day/:id", options posts.formatted_post "/:year/:month/:day/:id.:format", options end get.with_options :controller => "assets" do |assets| assets.connect "/twibblr" assets.connect "/twibblr/:stylesheet.css", :action => "stylesheet" assets.connect "/twibblr/:javascript.js", :action => "javascript" end end end
bjeanes/twibblr
e9c57e7128fe9056960e3fa7f29495a4f4be6503
Changed some association orderings
diff --git a/app/models/post.rb b/app/models/post.rb index 78a2dd6..04673ef 100644 --- a/app/models/post.rb +++ b/app/models/post.rb @@ -1,26 +1,28 @@ class Post < ActiveRecord::Base + default_scope :order => "created_at DESC" + has_many :comments, :order => "created_at ASC" - has_and_belongs_to_many :tags + has_and_belongs_to_many :tags, :order => "name ASC" named_scope :archive, :group => "month(created_at)" validates_presence_of :body, :title delegate :day, :month, :year, :to => :created_at def date created_at.to_date.to_s(:long_ordinal) end def to_s title end def to_param if title.blank? id else "#{id}-#{title.parameterize}" end end end \ No newline at end of file diff --git a/app/models/tag.rb b/app/models/tag.rb index a209e94..a128610 100644 --- a/app/models/tag.rb +++ b/app/models/tag.rb @@ -1,24 +1,24 @@ class Tag < ActiveRecord::Base - has_and_belongs_to_many :posts + has_and_belongs_to_many :posts, :order => "created_at ASC" before_save :set_permalink before_save :lowercase_name def to_s name end def to_param permalink end private def set_permalink self.permalink = name.parameterize end def lowercase_name self.name.downcase! end end \ No newline at end of file
bjeanes/twibblr
93423d94243145aabcff8d82b5f03dd3477ad7c0
added TwibblrHelper
diff --git a/app/helpers/twibblr_helper.rb b/app/helpers/twibblr_helper.rb new file mode 100644 index 0000000..989eada --- /dev/null +++ b/app/helpers/twibblr_helper.rb @@ -0,0 +1,3 @@ +module TwibblrHelper + +end \ No newline at end of file
bjeanes/twibblr
2977d4697e6312c70f2e7fe13acd41ccedc16392
Fixed typo in post.rb model and delegate a few date/time methods to the created_at date
diff --git a/app/models/post.rb b/app/models/post.rb index 572c9af..78a2dd6 100644 --- a/app/models/post.rb +++ b/app/models/post.rb @@ -1,24 +1,26 @@ class Post < ActiveRecord::Base has_many :comments, :order => "created_at ASC" has_and_belongs_to_many :tags named_scope :archive, :group => "month(created_at)" - validates_presence_of :text, :title + validates_presence_of :body, :title + + delegate :day, :month, :year, :to => :created_at def date created_at.to_date.to_s(:long_ordinal) end def to_s title end def to_param if title.blank? id else "#{id}-#{title.parameterize}" end end end \ No newline at end of file
bjeanes/twibblr
460ad99046aa730fe8610d3c3c7cbf10556138d9
Removed stubbed out archives
diff --git a/app/views/layouts/twibblr.html.erb b/app/views/layouts/twibblr.html.erb index 04a9fa0..f3433de 100644 --- a/app/views/layouts/twibblr.html.erb +++ b/app/views/layouts/twibblr.html.erb @@ -1,25 +1,22 @@ <!DOCTYPE html> <!-- HTML 5 --> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-GB"> <head> <title>Twibblr</title> <link rel="stylesheet" href="/twibblr/master.css" type="text/css" media="screen" title="Master Twibblr CSS" charset="utf-8" /> <%= yield :head %> </head> <body> <header><h1>Twibblr-Assisted Site</h1></header> <nav> <h1>Archives</h1> <ul> - <ol>September 2008</ol> - <ol>August 2008</ol> - <ol>July 2008</ol> - <ol>June 2008</ol> + </ul> </nav> <section> <%= yield %> </section> <nav></nav> <footer>&copy; <%= Time.zone.now.year %> A Developer</footer> </body> </html> \ No newline at end of file
bjeanes/twibblr
4e9784ecccf75a091ba8139f62b389dfd18e1eaf
Posts RSS
diff --git a/app/views/posts/index.rss.builder b/app/views/posts/index.rss.builder new file mode 100644 index 0000000..c38450b --- /dev/null +++ b/app/views/posts/index.rss.builder @@ -0,0 +1,20 @@ +xml.instruct! :xml, :version => "1.0" +xml.rss :version => "2.0" do + xml.channel do + xml.title "TODO" + xml.description "TODO" + xml.link formatted_posts_url(:format => :rss) + @posts.each do |post| + xml.item do + xml.title post.title + xml.description post.body + xml.pubDate post.created_at.to_s(:rfc822) + + link = post_url(post.year, post.month, post.day, post.to_param) + + xml.link link + xml.guid link + end + end + end +end \ No newline at end of file
bjeanes/twibblr
8264f6e89c55596d6cbb15b0105818fb7319c327
Display posts simply in html + rss
diff --git a/app/controllers/posts_controller.rb b/app/controllers/posts_controller.rb index 969fe58..4b7e897 100644 --- a/app/controllers/posts_controller.rb +++ b/app/controllers/posts_controller.rb @@ -1,7 +1,23 @@ class PostsController < TwibblrController def index + @posts = Post.find(:all, :order => "created_at DESC") + + respond_to do |format| + format.html + format.rss { render :layout => false } + end end - + def show + @post = Post.find(params[:id], :include => :comments) + + @comments = @post.comments + @comment = Comment.new + + @extended_meta_data = true + respond_to do |format| + format.html # show.html.erb + format.rss { render :layout => false } + end end end \ No newline at end of file diff --git a/app/views/layouts/twibblr.html.erb b/app/views/layouts/twibblr.html.erb index f622de4..04a9fa0 100644 --- a/app/views/layouts/twibblr.html.erb +++ b/app/views/layouts/twibblr.html.erb @@ -1,24 +1,25 @@ <!DOCTYPE html> <!-- HTML 5 --> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-GB"> <head> <title>Twibblr</title> <link rel="stylesheet" href="/twibblr/master.css" type="text/css" media="screen" title="Master Twibblr CSS" charset="utf-8" /> + <%= yield :head %> </head> <body> <header><h1>Twibblr-Assisted Site</h1></header> <nav> <h1>Archives</h1> <ul> <ol>September 2008</ol> <ol>August 2008</ol> <ol>July 2008</ol> <ol>June 2008</ol> </ul> </nav> <section> <%= yield %> </section> <nav></nav> <footer>&copy; <%= Time.zone.now.year %> A Developer</footer> </body> </html> \ No newline at end of file diff --git a/app/views/posts/index.html.erb b/app/views/posts/index.html.erb index 3b12464..74d4bbb 100644 --- a/app/views/posts/index.html.erb +++ b/app/views/posts/index.html.erb @@ -1 +1,10 @@ -TEST \ No newline at end of file +<% content_for :head do %> + <link href="/posts.rss" rel="alternate" title="Blog Posts" type="application/rss+xml" /> +<% end %> + +<% @posts.each do |post| %> + <article> + <h1><%= post.title %></h1> + <%= post.body %> + </article> +<% end %> \ No newline at end of file diff --git a/config/routes.rb b/config/routes.rb index d5dbeef..11d2163 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -1,25 +1,29 @@ YEAR_REGEX = /\d{4}/ MONTH_REGEX = /(?:0?[1-9]|1[012])/ DAY_REGEX = /(?:0?[1-9]|[12][0-9]|3[01])/ -PARAM_REGEX = /\d+(-(?:([a-z0-9][a-z0-9_-]?)+?))?/ +PARAM_REGEX = /\d+(?:-[a-z0-9_-]+?)?/ ActionController::Routing::Routes.draw do |map| map.with_options :conditions => {:method => :get} do |get| get.with_options :controller => "posts" do |posts| posts.with_options :action => "index" do |show_posts| - show_posts.map ":year", :requirements => {:year => YEAR_REGEX} - show_posts.map ":year/:month", :requirements => {:year => YEAR_REGEX, :month => MONTH_REGEX} - show_posts.map ":year/:month/:day", :requirements => {:year => YEAR_REGEX, :month => MONTH_REGEX, :day => DAY_REGEX} + show_posts.posts "/posts" + show_posts.formatted_posts "/posts.:format" + show_posts.map "/:year", :requirements => {:year => YEAR_REGEX} + show_posts.map "/:year/:month", :requirements => {:year => YEAR_REGEX, :month => MONTH_REGEX} + show_posts.map "/:year/:month/:day", :requirements => {:year => YEAR_REGEX, :month => MONTH_REGEX, :day => DAY_REGEX} end - posts.connect ":year/:month/:day/:id", :action => "show", :requirements => - {:year => YEAR_REGEX, :month => MONTH_REGEX, :day => DAY_REGEX, :id => PARAM_REGEX} + options = {:action => "show", :requirements => {:year => YEAR_REGEX, :month => MONTH_REGEX, :day => DAY_REGEX, :id => PARAM_REGEX}} + + posts.post "/:year/:month/:day/:id", options + posts.formatted_post "/:year/:month/:day/:id.:format", options end get.with_options :controller => "assets" do |assets| - assets.connect "twibblr" - assets.connect "twibblr/:stylesheet.css", :action => "stylesheet" - assets.connect "twibblr/:javascript.js", :action => "javascript" + assets.connect "/twibblr" + assets.connect "/twibblr/:stylesheet.css", :action => "stylesheet" + assets.connect "/twibblr/:javascript.js", :action => "javascript" end end end
bjeanes/twibblr
c92862beae07b4f302cc631fea1ffe2b73f31f9b
Added some models and migrations based on those from Radar/rblog project
diff --git a/app/models/comment.rb b/app/models/comment.rb new file mode 100644 index 0000000..d1e9de1 --- /dev/null +++ b/app/models/comment.rb @@ -0,0 +1,4 @@ +class Comment < ActiveRecord::Base + belongs_to :post + validates_presence_of :name, :email +end diff --git a/app/models/post.rb b/app/models/post.rb index 3ff0d73..572c9af 100644 --- a/app/models/post.rb +++ b/app/models/post.rb @@ -1,3 +1,24 @@ class Post < ActiveRecord::Base + has_many :comments, :order => "created_at ASC" + has_and_belongs_to_many :tags + named_scope :archive, :group => "month(created_at)" + + validates_presence_of :text, :title + + def date + created_at.to_date.to_s(:long_ordinal) + end + + def to_s + title + end + + def to_param + if title.blank? + id + else + "#{id}-#{title.parameterize}" + end + end end \ No newline at end of file diff --git a/app/models/tag.rb b/app/models/tag.rb new file mode 100644 index 0000000..a209e94 --- /dev/null +++ b/app/models/tag.rb @@ -0,0 +1,24 @@ +class Tag < ActiveRecord::Base + has_and_belongs_to_many :posts + + before_save :set_permalink + before_save :lowercase_name + + def to_s + name + end + + def to_param + permalink + end + + private + + def set_permalink + self.permalink = name.parameterize + end + + def lowercase_name + self.name.downcase! + end +end \ No newline at end of file diff --git a/db/migrate/20090208091453_create_posts.rb b/db/migrate/20090208091453_create_posts.rb index 1ade2c3..e4c8227 100644 --- a/db/migrate/20090208091453_create_posts.rb +++ b/db/migrate/20090208091453_create_posts.rb @@ -1,13 +1,13 @@ class CreatePosts < ActiveRecord::Migration def self.up create_table :posts, :force => true do |t| - t.string :title, :permalink + t.string :title t.text :body t.timestamps end end def self.down drop_table :posts end end diff --git a/db/migrate/20090210222840_create_comments.rb b/db/migrate/20090210222840_create_comments.rb new file mode 100644 index 0000000..80f71ca --- /dev/null +++ b/db/migrate/20090210222840_create_comments.rb @@ -0,0 +1,16 @@ +class CreateComments < ActiveRecord::Migration + def self.up + create_table :comments do |t| + t.references :post + t.text :body + t.string :name + t.string :email + t.string :website + t.timestamps + end + end + + def self.down + drop_table :comments + end +end diff --git a/db/migrate/20090210223500_create_tags.rb b/db/migrate/20090210223500_create_tags.rb new file mode 100644 index 0000000..7186447 --- /dev/null +++ b/db/migrate/20090210223500_create_tags.rb @@ -0,0 +1,22 @@ +class CreateTags < ActiveRecord::Migration + def self.up + create_table :tags do |t| + t.string :name + t.string :permalink + end + + create_table :posts_tags, :id => false do |t| + t.references :tag + t.references :post + end + + add_index :tags, :name, :unique => true + add_index :tags, :permalink, :unique => true + add_index :posts_tags, [:post_id, :tag_id], :unique => true + end + + def self.down + drop_table :tags + drop_table :posts_tags + end +end
bjeanes/twibblr
a80915bd4a47c2719ed5baaad8578bef94530fe6
Created rake task plugin:twibblr:copy_migrations to copy migrations from plugin into app's db/migrate folder if a migration by that name does not already exist
diff --git a/Rakefile b/Rakefile index 6d4a097..b1f52e2 100644 --- a/Rakefile +++ b/Rakefile @@ -1,23 +1,11 @@ require 'rake' -require 'rake/testtask' require 'rake/rdoctask' -desc 'Default: run unit tests.' -task :default => :test - -desc 'Test the twibblr plugin.' -Rake::TestTask.new(:test) do |t| - t.libs << 'lib' - t.libs << 'test' - t.pattern = 'test/**/*_test.rb' - t.verbose = true -end - desc 'Generate documentation for the twibblr plugin.' Rake::RDocTask.new(:rdoc) do |rdoc| rdoc.rdoc_dir = 'rdoc' rdoc.title = 'Twibblr' rdoc.options << '--line-numbers' << '--inline-source' rdoc.rdoc_files.include('README') rdoc.rdoc_files.include('lib/**/*.rb') end diff --git a/tasks/plugin/twibblr/copy_migrations.rake b/tasks/plugin/twibblr/copy_migrations.rake new file mode 100644 index 0000000..fad0495 --- /dev/null +++ b/tasks/plugin/twibblr/copy_migrations.rake @@ -0,0 +1,38 @@ +TWIBBLR_ROOT = File.expand_path(File.join(File.dirname(__FILE__),'..','..','..')) + +def db_migrate_path(root) + File.join(root, "db", "migrate") +end + +def migrations(path) + Dir.chdir(path) do + Dir["*.rb"].sort + end +end + +namespace :plugin do + namespace :twibblr do + desc "Copy Twibblr migrations to db/migrate" + task :copy_migrations do + app_migrate_path = db_migrate_path(RAILS_ROOT) + plugin_migrate_path = db_migrate_path(TWIBBLR_ROOT) + + app_migrations = migrations(app_migrate_path) + plugin_migrations = migrations(plugin_migrate_path) + + time = Time.now + + plugin_migrations.each do |migration| + migration_name = migration.match(/\d+_(.+)\.rb/)[1].to_s + + if app_migrations.grep(Regexp.new("#{migration_name}\.rb$")).empty? + new_migration = "#{(time+=1).to_s(:number)}_#{migration_name}.rb" + source = File.join(plugin_migrate_path, migration) + destination = File.join(app_migrate_path, new_migration) + puts "Installing #{migration} into main Rails application" + FileUtils.cp(source, destination) + end + end + end + end +end \ No newline at end of file diff --git a/tasks/twibblr_tasks.rake b/tasks/twibblr_tasks.rake deleted file mode 100644 index 96412bf..0000000 --- a/tasks/twibblr_tasks.rake +++ /dev/null @@ -1,4 +0,0 @@ -# desc "Explaining what the task does" -# task :twibblr do -# # Task goes here -# end
bjeanes/twibblr
fd53936de7ae7b8a45655a75b11f2929bcaccc0e
Some randome template code
diff --git a/app/views/layouts/twibblr.html.erb b/app/views/layouts/twibblr.html.erb index 8aac9d6..f622de4 100644 --- a/app/views/layouts/twibblr.html.erb +++ b/app/views/layouts/twibblr.html.erb @@ -1,15 +1,24 @@ <!DOCTYPE html> <!-- HTML 5 --> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-GB"> <head> <title>Twibblr</title> <link rel="stylesheet" href="/twibblr/master.css" type="text/css" media="screen" title="Master Twibblr CSS" charset="utf-8" /> </head> <body> - <header></header> - <nav></nav> + <header><h1>Twibblr-Assisted Site</h1></header> + <nav> + <h1>Archives</h1> + <ul> + <ol>September 2008</ol> + <ol>August 2008</ol> + <ol>July 2008</ol> + <ol>June 2008</ol> + </ul> + </nav> <section> <%= yield %> </section> <nav></nav> + <footer>&copy; <%= Time.zone.now.year %> A Developer</footer> </body> </html> \ No newline at end of file
bjeanes/twibblr
1e7ea52dd92812bda7daafe159d4fa465089320b
Moved TwibblrController to the controllers folder
diff --git a/lib/twibblr.rb b/app/controllers/twibblr.rb similarity index 100% rename from lib/twibblr.rb rename to app/controllers/twibblr.rb diff --git a/init.rb b/init.rb index 3557c18..3249414 100644 --- a/init.rb +++ b/init.rb @@ -1,8 +1,3 @@ -# Include hook code here -require 'twibblr' - -ActiveSupport::Dependencies.load_once_paths.clear - -# Reminder: -# -# http://rails.lighthouseapp.com/projects/8994/tickets/1712-template-is-missing-error-for-engine-in-production-environment \ No newline at end of file +# We want to reload all the controllers, helpers, and +# models if we are in development mode: +ActiveSupport::Dependencies.load_once_paths.clear if RAILS_ENV == "development" \ No newline at end of file
bjeanes/twibblr
e0855449854235bc0c1a72930759837a5a357fb2
TwibblrController loads layout a bit more dynamically, at least stubbed out for being dynamic
diff --git a/app/controllers/posts_controller.rb b/app/controllers/posts_controller.rb index 8cf3788..969fe58 100644 --- a/app/controllers/posts_controller.rb +++ b/app/controllers/posts_controller.rb @@ -1,5 +1,7 @@ class PostsController < TwibblrController def index - # This is my test controller + end + + def show end end \ No newline at end of file diff --git a/lib/twibblr.rb b/lib/twibblr.rb index 63b4b9a..bf11e31 100644 --- a/lib/twibblr.rb +++ b/lib/twibblr.rb @@ -1,12 +1,17 @@ # Define a master controller for plugin to have defaults set everywhere class TwibblrController < ApplicationController helper :all filter_parameter_logging :password - layout "twibblr" + layout :choose_layout protected def development? RAILS_ENV == "development" end + + def choose_layout + # This ivar could be set by some form of site config later + @layout ||= "twibblr" + end end
bjeanes/twibblr
f6eb2080d1b36de425f939df0151aba47ba93316
Added assets directory where the assets controller can load JS/CSS
diff --git a/app/views/assets/master.css.erb b/app/views/assets/master.css.erb new file mode 100644 index 0000000..0862daa --- /dev/null +++ b/app/views/assets/master.css.erb @@ -0,0 +1,2 @@ +header, nav, footer, section, /* convert some html5 elements into structural elements */ + aside, article, figure {display: block;} \ No newline at end of file diff --git a/app/views/posts/index.html.erb b/app/views/posts/index.html.erb index 1050001..3b12464 100644 --- a/app/views/posts/index.html.erb +++ b/app/views/posts/index.html.erb @@ -1 +1 @@ -asd \ No newline at end of file +TEST \ No newline at end of file
bjeanes/twibblr
aafd38542e2863e720460badaf68903a541dd544
Spruced up routes a bit in prep for a blog/post section matching /YYYY/MM/DD/:id-url-safe-name
diff --git a/config/routes.rb b/config/routes.rb index e466a69..d5dbeef 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -1,9 +1,25 @@ +YEAR_REGEX = /\d{4}/ +MONTH_REGEX = /(?:0?[1-9]|1[012])/ +DAY_REGEX = /(?:0?[1-9]|[12][0-9]|3[01])/ +PARAM_REGEX = /\d+(-(?:([a-z0-9][a-z0-9_-]?)+?))?/ + ActionController::Routing::Routes.draw do |map| - map.posts "posts", :controller => "posts" - - map.with_options :controller => "assets" do |assets| - assets.connect "twibblr" - assets.connect "twibblr/:stylesheet.css", :action => "stylesheet" - assets.connect "twibblr/:javascript.js", :action => "javascript" + map.with_options :conditions => {:method => :get} do |get| + get.with_options :controller => "posts" do |posts| + posts.with_options :action => "index" do |show_posts| + show_posts.map ":year", :requirements => {:year => YEAR_REGEX} + show_posts.map ":year/:month", :requirements => {:year => YEAR_REGEX, :month => MONTH_REGEX} + show_posts.map ":year/:month/:day", :requirements => {:year => YEAR_REGEX, :month => MONTH_REGEX, :day => DAY_REGEX} + end + + posts.connect ":year/:month/:day/:id", :action => "show", :requirements => + {:year => YEAR_REGEX, :month => MONTH_REGEX, :day => DAY_REGEX, :id => PARAM_REGEX} + end + + get.with_options :controller => "assets" do |assets| + assets.connect "twibblr" + assets.connect "twibblr/:stylesheet.css", :action => "stylesheet" + assets.connect "twibblr/:javascript.js", :action => "javascript" + end end end
bjeanes/twibblr
6a5fe77a4b575ba38843cc45cb85d70050b041fc
Cleaned up assetscontroller
diff --git a/app/controllers/assets_controller.rb b/app/controllers/assets_controller.rb index e675507..ab53951 100644 --- a/app/controllers/assets_controller.rb +++ b/app/controllers/assets_controller.rb @@ -1,32 +1,29 @@ class AssetsController < TwibblrController - + layout nil around_filter :asset_check def stylesheet - @format.css { render params[:stylesheet] if stylesheet_safe? } + respond_to { |format| format.css { render params[:stylesheet] if stylesheet_safe? } } end def javascript - @format.js { render params[:javascript] if javascript_safe? } + respond_to { |format| format.js { render params[:javascript] if javascript_safe? } } end protected def asset_check - respond_to do |format| - @format.format - yield - end + yield rescue raise ActiveRecord::RecordNotFound unless development? end # TODO make these check the params to make sure we aren't # accessing arbitrary files on the system etc def stylesheet_safe? true end def javascript_safe? true end end \ No newline at end of file
bjeanes/twibblr
147e30da33991dd64fcf6ec350f2e319eff2ddae
Lots of hours spent trying to get engine views to auto reload without having to restart rails server .. seems to work if rails is vendored
diff --git a/MIT-LICENSE b/MIT-LICENSE new file mode 100644 index 0000000..a17b27e --- /dev/null +++ b/MIT-LICENSE @@ -0,0 +1,20 @@ +Copyright (c) 2009 Bodaniel Jeanes + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/README b/README new file mode 100644 index 0000000..13d06f7 --- /dev/null +++ b/README @@ -0,0 +1,13 @@ +Twibblr +======= + +Introduction goes here. + + +Example +======= + +Example goes here. + + +Copyright (c) 2009 Bodaniel Jeanes, released under the MIT license diff --git a/Rakefile b/Rakefile new file mode 100644 index 0000000..6d4a097 --- /dev/null +++ b/Rakefile @@ -0,0 +1,23 @@ +require 'rake' +require 'rake/testtask' +require 'rake/rdoctask' + +desc 'Default: run unit tests.' +task :default => :test + +desc 'Test the twibblr plugin.' +Rake::TestTask.new(:test) do |t| + t.libs << 'lib' + t.libs << 'test' + t.pattern = 'test/**/*_test.rb' + t.verbose = true +end + +desc 'Generate documentation for the twibblr plugin.' +Rake::RDocTask.new(:rdoc) do |rdoc| + rdoc.rdoc_dir = 'rdoc' + rdoc.title = 'Twibblr' + rdoc.options << '--line-numbers' << '--inline-source' + rdoc.rdoc_files.include('README') + rdoc.rdoc_files.include('lib/**/*.rb') +end diff --git a/about.yml b/about.yml new file mode 100644 index 0000000..ab877c2 --- /dev/null +++ b/about.yml @@ -0,0 +1,2 @@ +author: Bodaniel Jeanes +url: http://github.com/bjeanes/twibblr \ No newline at end of file diff --git a/app/controllers/assets_controller.rb b/app/controllers/assets_controller.rb new file mode 100644 index 0000000..e675507 --- /dev/null +++ b/app/controllers/assets_controller.rb @@ -0,0 +1,32 @@ +class AssetsController < TwibblrController + + around_filter :asset_check + + def stylesheet + @format.css { render params[:stylesheet] if stylesheet_safe? } + end + + def javascript + @format.js { render params[:javascript] if javascript_safe? } + end + + protected + + def asset_check + respond_to do |format| + @format.format + yield + end + rescue + raise ActiveRecord::RecordNotFound unless development? + end + + # TODO make these check the params to make sure we aren't + # accessing arbitrary files on the system etc + def stylesheet_safe? + true + end + def javascript_safe? + true + end +end \ No newline at end of file diff --git a/app/controllers/posts_controller.rb b/app/controllers/posts_controller.rb new file mode 100644 index 0000000..8cf3788 --- /dev/null +++ b/app/controllers/posts_controller.rb @@ -0,0 +1,5 @@ +class PostsController < TwibblrController + def index + # This is my test controller + end +end \ No newline at end of file diff --git a/app/models/post.rb b/app/models/post.rb new file mode 100644 index 0000000..3ff0d73 --- /dev/null +++ b/app/models/post.rb @@ -0,0 +1,3 @@ +class Post < ActiveRecord::Base + +end \ No newline at end of file diff --git a/app/views/layouts/twibblr.html.erb b/app/views/layouts/twibblr.html.erb new file mode 100644 index 0000000..8aac9d6 --- /dev/null +++ b/app/views/layouts/twibblr.html.erb @@ -0,0 +1,15 @@ +<!DOCTYPE html> <!-- HTML 5 --> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-GB"> + <head> + <title>Twibblr</title> + <link rel="stylesheet" href="/twibblr/master.css" type="text/css" media="screen" title="Master Twibblr CSS" charset="utf-8" /> + </head> + <body> + <header></header> + <nav></nav> + <section> + <%= yield %> + </section> + <nav></nav> + </body> +</html> \ No newline at end of file diff --git a/app/views/posts/index.html.erb b/app/views/posts/index.html.erb new file mode 100644 index 0000000..1050001 --- /dev/null +++ b/app/views/posts/index.html.erb @@ -0,0 +1 @@ +asd \ No newline at end of file diff --git a/config/routes.rb b/config/routes.rb new file mode 100644 index 0000000..e466a69 --- /dev/null +++ b/config/routes.rb @@ -0,0 +1,9 @@ +ActionController::Routing::Routes.draw do |map| + map.posts "posts", :controller => "posts" + + map.with_options :controller => "assets" do |assets| + assets.connect "twibblr" + assets.connect "twibblr/:stylesheet.css", :action => "stylesheet" + assets.connect "twibblr/:javascript.js", :action => "javascript" + end +end diff --git a/db/migrate/20090208091453_create_posts.rb b/db/migrate/20090208091453_create_posts.rb new file mode 100644 index 0000000..1ade2c3 --- /dev/null +++ b/db/migrate/20090208091453_create_posts.rb @@ -0,0 +1,13 @@ +class CreatePosts < ActiveRecord::Migration + def self.up + create_table :posts, :force => true do |t| + t.string :title, :permalink + t.text :body + t.timestamps + end + end + + def self.down + drop_table :posts + end +end diff --git a/init.rb b/init.rb new file mode 100644 index 0000000..3557c18 --- /dev/null +++ b/init.rb @@ -0,0 +1,8 @@ +# Include hook code here +require 'twibblr' + +ActiveSupport::Dependencies.load_once_paths.clear + +# Reminder: +# +# http://rails.lighthouseapp.com/projects/8994/tickets/1712-template-is-missing-error-for-engine-in-production-environment \ No newline at end of file diff --git a/install.rb b/install.rb new file mode 100644 index 0000000..f7732d3 --- /dev/null +++ b/install.rb @@ -0,0 +1 @@ +# Install hook code here diff --git a/lib/twibblr.rb b/lib/twibblr.rb new file mode 100644 index 0000000..63b4b9a --- /dev/null +++ b/lib/twibblr.rb @@ -0,0 +1,12 @@ +# Define a master controller for plugin to have defaults set everywhere +class TwibblrController < ApplicationController + helper :all + filter_parameter_logging :password + layout "twibblr" + + protected + + def development? + RAILS_ENV == "development" + end +end diff --git a/tasks/twibblr_tasks.rake b/tasks/twibblr_tasks.rake new file mode 100644 index 0000000..96412bf --- /dev/null +++ b/tasks/twibblr_tasks.rake @@ -0,0 +1,4 @@ +# desc "Explaining what the task does" +# task :twibblr do +# # Task goes here +# end diff --git a/test/test_helper.rb b/test/test_helper.rb new file mode 100644 index 0000000..cf148b8 --- /dev/null +++ b/test/test_helper.rb @@ -0,0 +1,3 @@ +require 'rubygems' +require 'active_support' +require 'active_support/test_case' \ No newline at end of file diff --git a/test/twibblr_test.rb b/test/twibblr_test.rb new file mode 100644 index 0000000..2b5d3c3 --- /dev/null +++ b/test/twibblr_test.rb @@ -0,0 +1,8 @@ +require 'test_helper' + +class TwibblrTest < ActiveSupport::TestCase + # Replace this with your real tests. + test "the truth" do + assert true + end +end diff --git a/uninstall.rb b/uninstall.rb new file mode 100644 index 0000000..9738333 --- /dev/null +++ b/uninstall.rb @@ -0,0 +1 @@ +# Uninstall hook code here
petersn/elegans-dev
531a5d05c83d7a08bf75cfd44327eae7c540cc39
Added README.markdown
diff --git a/README.markdown b/README.markdown new file mode 100644 index 0000000..03167a6 --- /dev/null +++ b/README.markdown @@ -0,0 +1,15 @@ +Elegans-dev +=========== + +The original Elegans implementation (see github.com/petersn/elegans) had many problems, but embodied some simple principles: + +1. Simple grammars: Elegans used a modified shunting yard parser exclusively. +2. Simple compilers: Elegans had no concept of "if" or "while", those were function calls into the standard library. +3. High level behavior reached simply: Closures and lambdas are trivial in Elegans. + +The new Elegans language embodies a new set of principles: + +1. Make the obvious solution be high level: Passing lambdas and closures around is good. Continuation passing and tail recursion are natural ways of programming. +2. Static analysis can be quite powerful: Make lambdas, closures, and tail recursion as cheap as other descriptions. +3. Relax the restriction that compilers must provably halt. +
petersn/elegans-dev
4c43c395f7095e5ceddbf6840e3c5e6854d7e5de
Initial Elegans work
diff --git a/asm/Executable.asm b/asm/Executable.asm new file mode 100644 index 0000000..eae779f --- /dev/null +++ b/asm/Executable.asm @@ -0,0 +1,18 @@ + +format ELF64 + +include 'elegans.inc' + +section '.code' executable + +public _start + _start: + +include 'temp/code.asm' + + call elegans_exit + +section '.data' writeable + +include 'temp/data.asm' + diff --git a/asm/Executable.o b/asm/Executable.o new file mode 100644 index 0000000..d86f025 Binary files /dev/null and b/asm/Executable.o differ diff --git a/asm/c/Makefile b/asm/c/Makefile new file mode 100644 index 0000000..7d1e51c --- /dev/null +++ b/asm/c/Makefile @@ -0,0 +1,6 @@ + +CFLAGS = -O2 -Wall -Wextra -fPIC + +libelegans.o: libelegans.c Makefile + gcc $(CFLAGS) -c libelegans.c + diff --git a/asm/c/libelegans.c b/asm/c/libelegans.c new file mode 100644 index 0000000..2a6f394 --- /dev/null +++ b/asm/c/libelegans.c @@ -0,0 +1,27 @@ +/* + * Standard Elegans Library + * Compliant to the Elegans standard library specification + */ + +#include <stdio.h> +#include <stdint.h> +#include <stdlib.h> + +void* elegans_allocate( uint64_t bytes ) { + void* buffer; + buffer = malloc( (size_t) bytes ); + return buffer; +} + +void elegans_free( void* buffer ) { + free( buffer ); +} + +void elegans_print( const char* ptr ) { + printf("%s", ptr); +} + +void elegans_exit( void ) { + exit(0); +} + diff --git a/asm/c/libelegans.o b/asm/c/libelegans.o new file mode 100644 index 0000000..5f06c31 Binary files /dev/null and b/asm/c/libelegans.o differ diff --git a/asm/elegans.asm b/asm/elegans.asm new file mode 100644 index 0000000..ffad033 --- /dev/null +++ b/asm/elegans.asm @@ -0,0 +1,18 @@ + +format ELF64 + +macro ELG name +{ + public _#name + #name: + _#name: +} + +section '.code' executable + +ELG elegans_exit + + xor edi, edi + mov eax, 60 + syscall + diff --git a/asm/elegans.inc b/asm/elegans.inc new file mode 100644 index 0000000..8f57d3f --- /dev/null +++ b/asm/elegans.inc @@ -0,0 +1,9 @@ + +macro ELG name +{ + extrn _#name + name = PLT _#name +} + +ELG elegans_exit + diff --git a/asm/elegans.o b/asm/elegans.o new file mode 100644 index 0000000..adc025c Binary files /dev/null and b/asm/elegans.o differ diff --git a/asm/main b/asm/main new file mode 100755 index 0000000..bed34d3 Binary files /dev/null and b/asm/main differ diff --git a/asm/temp/code.asm b/asm/temp/code.asm new file mode 100644 index 0000000..e69de29 diff --git a/asm/temp/data.asm b/asm/temp/data.asm new file mode 100644 index 0000000..e69de29 diff --git a/assembler.py b/assembler.py new file mode 100755 index 0000000..1eb33c8 --- /dev/null +++ b/assembler.py @@ -0,0 +1,160 @@ +#! /usr/bin/python + +magic_number = '\xf2\xef-\x7f\xdbeP.' + +functions = list(enumerate(( + +# General + ("NOP"), + +# Memory access + ("LOOKUP", "SYMBOL"), + ("ADDR", "SYMBOL"), + ("DEREF"), + ("STORE"), + +# Numeric + ("INT", "INTEGER"), + ("FLOAT", "FLOAT"), + ("DUP"), + ("DROP"), + ("SWAP"), + ("ROT"), + +# Type operations + ("CAST="), + ("CAST+"), + ("CAST-"), + ("ASSERT="), + ("ASSERT+"), + ("ASSERT-"), + ("NONCE"), + ("JOIN"), + +# Branching + ("JUMP"), + ("BRANCH"), + +# Function calling + ("ENTRY", "SYMBOL"), + ("CALL"), + ("FAIL"), + ("RETURN"), + +))) + +def serialize( data ): + output = "" + for datum, format in data: + if format == "SYMBOL": + output += chr(len(datum)) + datum + elif format == "INTEGER": + try: + datum = str(int(datum)) + output += chr(len(datum)) + datum + except ValueError: + print "Invalid INTEGER field for instruction:" + print repr(datum) + raise Exception + elif format == "FLOAT": + try: + datum = str(float(datum)) + output += chr(len(datum)) + datum + except ValueError: + print "Invalid INTEGER field for instruction:" + print repr(datum) + raise Exception + return output + +def consume( code, desc ): + output = [] + for format in desc: + if format == "SYMBOL": + length, code = ord(code[0]), code[1:] + output.append( code[:length] ) + code = code[length:] + if format == "INTEGER": + length, code = ord(code[0]), code[1:] + output.append( int(code[:length]) ) + code = code[length:] + if format == "FLOAT": + length, code = ord(code[0]), code[1:] + output.append( float(code[:length]) ) + code = code[length:] + return code, output + +def assemble( code ): + output = "" + for rawline in code.split("\n"): + line = rawline.split("#")[0].strip() + if not line: continue + args = line.split(" ") + f, args = args[0], args[1:] + for opcode, desc in functions: + if type(desc) == str and desc == f and not args: + output += chr(opcode) + break + elif len(desc) == len(args)+1 and f == desc[0]: + output += chr(opcode) + serialize( zip( args, desc[1:] ) ) + break + else: + print "Invalid instruction:" + print repr(rawline) + raise Exception + return magic_number + output + +def disassemble( code ): + if code.startswith( magic_number ): + code = code[len(magic_number):] + output = [] + jumptable = { } + addr = 0 + while code: + for opcode, desc in functions: + if ord(code[0]) == opcode: + code = code[1:] + if type(desc) == str: + output.append( [ desc ] ) + else: + code, results = consume( code, desc[1:] ) + # Special handling for co-routine entry points + if desc[0] == "ENTRY": + jumptable[ results[0] ] = addr + else: + output.append( [ desc[0] ] + results ) + addr += 1 + break + else: + print "Invalid opcode:", ord(code[0]) + raise Exception + return output, jumptable + +def pretty( code ): + code, jumptable = code + return "\n".join( " ".join( str(i) for i in instr ) for instr in code ) + "\n\nJump table:\n" + \ + "\n".join( "%s : %s\n" % (name, addr) for name, addr in jumptable.iteritems() ) + +if __name__ == "__main__": + import sys + for path in sys.argv[1:]: + openfile = open(path) + data = openfile.read() + openfile.close() + + code = assemble(data) + + if path.endswith(".easm"): + path = path[:-5] + + openfile = open(path+".ebc", "w") + openfile.write(code) + openfile.close() + + print "Input size: %.2f kbytes" % (len(data)/1024.0) + print "Output size: %.2f kbytes" % (len(code)/1024.0) + print "Compression: %.2f%%" % (float(len(code)) / len(data) * 100.0) + print + print repr(code) + print + print pretty( disassemble(code) ) + diff --git a/assembler.pyc b/assembler.pyc new file mode 100644 index 0000000..811c6d9 Binary files /dev/null and b/assembler.pyc differ diff --git a/codegen.py b/codegen.py new file mode 100644 index 0000000..71b1682 --- /dev/null +++ b/codegen.py @@ -0,0 +1,23 @@ +#! /usr/bin/python +""" +Elegans type system runtime implementation +""" + +tag_number = 0 +def Tag(): + global tag_number + tag_number += 1 + return "tag%s" % tag_number + +def runtime_enumeration(options, context): + output = [] + con = context.copy() + for option in options: + jump_over = Tag() + context.hidden["type_failure_continuation"] = lambda context : [" jmp %s\n" % jump_over] + output.extend( option( con ) ) + return output + +def runtime_type_error(context): + return context.hidden["type_failure_continuation"]() + diff --git a/codegen.pyc b/codegen.pyc new file mode 100644 index 0000000..5100958 Binary files /dev/null and b/codegen.pyc differ diff --git a/compiler.py b/compiler.py new file mode 100644 index 0000000..0c79779 --- /dev/null +++ b/compiler.py @@ -0,0 +1,58 @@ +#! /usr/bin/python + +maximum_trace_depth = 8 + +import assembler +import type_system + +def TypeFailure( msg ): + print "Type Failure:", msg + raise SystemExit + +def Trace( code, ip, context, depth=0 ): + """ + Traces through the evaluation of the given code starting at ip. + Trace will return an unfolded series of events in Elegans second level bytecode. + When required, Trace will perform subtraces, up to a maximum depth set by maximum_trace_depth. + """ + output = [] + + while ip < len(code): + inst = code[ip] + if inst[0] == "NOP": pass + elif inst[0] == "LOOKUP": + context.stack.append( context.symbols[inst[1]].copy() ) + elif inst[0] == "ADDR": + pass + elif inst[0] == "STORE": + pass + elif inst[0] == "INT": + context.stack.append( type_system.Integer( inst[1] ) ) + elif inst[0] == "CALL": + d = context.stack.pop() + result = d.ask_callable( context ) + if result == type_system.No: + TypeFailure("Uncallable object %s" % d) + output.extend( d.call( context ) ) + ip += 1 + + return output + +if __name__ == "__main__": + import sys + for path in sys.argv[1:]: + openfile = open(path) + data = openfile.read() + openfile.close() + + if not data.startswith( assembler.magic_number ): + data = assembler.assemble( data ) + + code, jumptable = assembler.disassemble( data ) + + context = type_system.load_standard_context() + + output_code = Trace( code, jumptable["origin"], context ) + + print "".join( output_code ) + diff --git a/libelegans/stdlib.elgdecl b/libelegans/stdlib.elgdecl new file mode 100644 index 0000000..341e913 --- /dev/null +++ b/libelegans/stdlib.elgdecl @@ -0,0 +1,6 @@ +# Standard Elegans library type specifications + +print :: ext_call :: Integer :: Nil +print :: ext_call :: External :: Integer +exit :: ext_call :: Nil :: Nil + diff --git a/old/codegen.py b/old/codegen.py new file mode 100644 index 0000000..4598804 --- /dev/null +++ b/old/codegen.py @@ -0,0 +1,24 @@ +#! /usr/bin/python +""" +Elegans code generator +""" + +import type_system +import unfolding_tracer + +def external_call( d, output, stack, context ): + """Produce code for a call to an externally linked function.""" + arguments = d["args"].split(" ") + stack_collect = stack[-len(arguments):] + for arg, desired in zip(stack_collect, arguments): + result = type_system.type_reduce( arg, desired, output, stack, context ) + if result != "success": + return "pass" + output.append(" call %s\n" % d["name"]) + for i in arguments: + stack.pop() + retvals = d["ret"].split(" ") + for val in retvals: + stack.append( type_system.Datum( [[val]], [None] ) ) + return "success" + diff --git a/old/compiler_bytecode.py b/old/compiler_bytecode.py new file mode 100644 index 0000000..21ba019 --- /dev/null +++ b/old/compiler_bytecode.py @@ -0,0 +1,42 @@ +#! /usr/bin/python + +import assembler + +def ProduceInstructionCode( instr ): + instr, args = instr[0], instr[1:] + + if instr == "NOP": + return " ; NOP\n" + elif instr == "LOOKUP": + return " pushd %s\n" % args[0] + elif instr == "DEREF": + return " popd eax\n mov eax, [eax]\n pushd eax\n" + elif instr == "CALL": + return " popd eax\n call eax\n" + elif instr == "INT": + return " pushd %s\n" % args[0] + + print "Unknown instruction:", instr + raise Exception + +def ProduceCode( code ): + output = "" + for instruction in code: + output += ProduceInstructionCode( instruction ) + return output + +if __name__ == "__main__": + import sys + for path in sys.argv[1:]: + openfile = open(path) + data = openfile.read() + openfile.close() + + code = assembler.disassemble( assembler.assemble( data ) ) + + print code + + asm = ProduceCode( code ) + + print asm + diff --git a/old/interpreter.py b/old/interpreter.py new file mode 100644 index 0000000..61d1711 --- /dev/null +++ b/old/interpreter.py @@ -0,0 +1,129 @@ +#! /usr/bin/python + +import assembler +import sys + +class Value: + def __init__(self, types=None, value=None, ref=None): + if types == None: + types = [] + self.types = types[:] + self.value = value + self.ref = ref + + def copy(self): + return Value( self.types, self.value, self.ref ) + +def global_fail(): + print "Global failure continuation taken." + raise SystemExit + +namespace = { + "print" : Value( types=["Lambda"], value=lambda fail=global_fail : sys.stdout.write( str(stack.pop().value)+"\n" ) ), + "exit" : Value( types=["Lambda"], value=lambda fail=global_fail : exit() ) + } + +stack = [ ] + +constant_value = 0 +def Constant(): + global constant_value + constant_value += 1 + return constant_value + +def interpret( code, ip=0, fail_continuation = global_fail ): + while ip < len(code): + inst = code[ip] + if inst[0] == "NOP": + pass + elif inst[0] == "LOOKUP": + stack.append( namespace[ inst[1] ].copy() ) + elif inst[0] == "ADDR": + stack.append( Value( types=["Token"], ref=namespace[ inst[1] ] ) ) + elif inst[0] == "DEREF": + stack.append( stack.pop().ref ) + elif inst[0] == "STORE": + token = stack.pop().ref + value = stack.pop() + token.value = value + elif inst[0] in ("INT", "FLOAT"): + stack.append( Value( types=[inst[0]], value=inst[1] ) ) + elif inst[0] == "DUP": + stack.append( stack[-1].copy() ) + elif inst[0] == "DROP": + stack.pop() + elif inst[0] == "SWAP": + stack[-1], stack[-2] = stack[-2], stack[-1] + elif inst[0] == "ROT": + stack[-1], stack[-2], stack[-3] = stack[-3], stack[-1], stack[-2] + elif inst[0] == "CAST=": + stack[-1].types = stack.pop().value + elif inst[0] == "CAST+": + type_list = stack.pop().value + for t in type_list: + if t not in stack[-1].types: + stack[-1].types.append( t ) + elif inst[0] == "CAST-": + type_list = stack.pop().value + for t in type_list: + if t in stack[-1].types: + stack[-1].types.remove( t ) + elif inst[0] == "ASSERT=": + type_list = stack.pop().value + if stack[-1].types != type_list: + fail_continuation() + elif inst[0] == "ASSERT-": + type_list = stack.pop().value + for t in type_list: + if t in stack[-1].types: + fail_continuation() + elif inst[0] == "ASSERT+": + type_list = stack.pop().value + for t in type_list: + if t not in stack[-1].types: + fail_continuation() + elif inst[0] == "NONCE": + stack.append( Value( types=["Type"], value=[Constant()] ) ) + elif inst[0] == "JOIN": + type_list = stack.pop().value + stack[-1].value += type_list + elif inst[0] == "JUMP": + ip = stack.pop().value + continue + elif inst[0] == "BRANCH": + test = stack.pop().value + destination = stack.pop().value + if test: + ip = destination + continue + elif inst[0] == "CALL": + next = stack.pop() + if "Code" in next.types: + interpret( code, next.value, fail=fail_continuation ) + elif "Lambda" in next.types: + next.value( fail=fail_continuation ) + else: + fail_continuation() + elif inst[0] == "FAIL": + fail_continuation() + elif inst[0] == "RETURN": + return + ip += 1 + +if __name__ == "__main__": + import sys + for path in sys.argv[1:]: + openfile = open(path) + data = openfile.read() + openfile.close() + + if not data.startswith( assembler.magic_number ): + data = assembler.assemble( data ) + + code, jumptable = assembler.disassemble( data ) + + for name, addr in jumptable.iteritems(): + namespace[name] = Value( types=["Code"], value=addr ) + + interpret( code, ip=jumptable["start"] ) + diff --git a/old/type_system.py b/old/type_system.py new file mode 100644 index 0000000..807b475 --- /dev/null +++ b/old/type_system.py @@ -0,0 +1,75 @@ +#! /usr/bin/python + +import copy +import codegen + +class Context(dict): + pass + +class Datum: + def __init__(self, types=None, values=None): + if types == None: + types = [] + if values == None: + values = [] + self.types = types + self.values = values + + def copy(self): + return Datum( copy.copy(self.types), copy.deepcopy(self.values) ) + + def __str__(self): + if not self.types: + return "Nil" + return "{ %s }" % ( " | ".join( "(%s) %s" % (" ".join(type_set), value) for type_set, value in zip(self.types, self.values) ) ) + +class Integer: + def __init__(self, value): + self.value = value + + def produce_code( self, output, stack, context ): + output.append(" pushq %s\n" % self.value) + return "success" + + def __str__(self): + return str(self.value) + +class Reference(Datum): + pass + +def type_reduce( d, desired, output, stack, context ): + for type_set, val in zip(d.types, d.values): + if desired in type_set: + result = val.produce_code( output, stack, context ) + if result != "success": + return "pass" + return "success" + return "pass" + +always_horrible = lambda *args, **kwargs : "horrible" + +call_handlers = { + "Integer" : always_horrible, + "ExtCall" : codegen.external_call, + } + +def ExtCall(name, arguments, retval): + d = Datum( [["ExtCall"]], [{"name":name, "args":arguments, "ret":retval}] ) + return d + +def load_standard_context(): + con = Context() + + openfile = open("libelegans/stdlib.elgdecl") + for line in openfile: + line = line.split("#")[0].strip() + if not line: continue + + name, form, arguments, retval = line.split("::") + name, form, arguments, retval = name.strip(), form.strip(), arguments.strip(), retval.strip() + + if form == "ext_call": + con[name] = ExtCall(name, arguments, retval) + + return con + diff --git a/old/unfolding_tracer.py b/old/unfolding_tracer.py new file mode 100644 index 0000000..5103866 --- /dev/null +++ b/old/unfolding_tracer.py @@ -0,0 +1,76 @@ +#! /usr/bin/python + +maximum_trace_depth = 8 + +import assembler +from type_system import * + +def TypeFailure( msg ): + print "Type Failure:", msg + raise SystemExit + +def Trace( code, ip, context, depth=0 ): + """ + Traces through the evaluation of the given code starting at ip. + Trace will return an unfolded series of events in Elegans second level bytecode. + When required, Trace will perform subtraces, up to a maximum depth set by maximum_trace_depth. + """ + output = [] + + stack = [] + + while ip < len(code): + inst = code[ip] + if inst[0] == "NOP": pass + elif inst[0] == "LOOKUP": + stack.append( context[inst[1]].copy() ) + elif inst[0] == "ADDR": + stack.append( Reference( [["Ref"]], [context[inst[1]]] ) ) + elif inst[0] == "STORE": + context + elif inst[0] == "INT": + stack.append( Datum( [["Integer"]], [Integer(inst[1])] ) ) + elif inst[0] == "CALL": + d = stack.pop() + # Inspect the object's various types and values + handled = False + for type_set, val in zip( d.types, d.values ): + for t in type_set: + call_handler = call_handlers[ t ] + result = call_handler( val, output, stack, context ) + if result == "horrible": + TypeFailure("Uncallable subtype %s of datum %s" % (t, d)) + elif result == "pass": + pass + elif result == "maybe": + handled = True + elif result == "success": + handled = True + break + if not handled: + TypeFailure("No good subtypes of datum %s for call." % d) + ip += 1 + + return output + +if __name__ == "__main__": + import sys + for path in sys.argv[1:]: + openfile = open(path) + data = openfile.read() + openfile.close() + + if not data.startswith( assembler.magic_number ): + data = assembler.assemble( data ) + + code, jumptable = assembler.disassemble( data ) + + #for name, addr in jumptable.iteritems(): + #print name, addr + + context = load_standard_context() + + output_code = Trace( code, jumptable["origin"], context ) + + print "".join( output_code ) + diff --git a/src/hello_world.easm b/src/hello_world.easm new file mode 100644 index 0000000..1cfc7eb --- /dev/null +++ b/src/hello_world.easm @@ -0,0 +1,11 @@ + +ENTRY origin + +INT 1337 + +LOOKUP print +LOOKUP print +CALL +LOOKUP print +CALL + diff --git a/type_system.py b/type_system.py new file mode 100644 index 0000000..8fe7799 --- /dev/null +++ b/type_system.py @@ -0,0 +1,194 @@ +#! /usr/bin/python +""" +Elegans type system JIT-side implementation +""" + +import copy +import codegen + +@apply +class Yes: + def __imul__(self, other): + return other + def __iadd__(self, other): + return Yes + +@apply +class No: + def __imul__(self, other): + return No + def __iadd__(self, other): + return other + +@apply +class Maybe: + def __imul__(self, other): + if other == No: + return No + return Maybe + def __iadd__(self, other): + if other == Yes: + return Yes + return Maybe + +class Context: + def __init__(self): + self.symbols = { } + self.hidden = { + "type_failure_continuation" : lambda context : [" jmp rt_type_error\n"], + } + self.stack = [ ] + + def copy(self): + con = Context() + con.symbols = copy.deepcopy(self.symbols) + con.hidden = copy.deepcopy(self.hidden) + con.stack = copy.deepcopy(self.stack) + return con + +class Datum: + def __init__(self, types=None): + if types == None: + types = [] + self.types = types + + def typestring(self): + if not self.types: + return "" + else: + return "(%s) " % (" ".join(t in self.types)) + + def extend_definition(self, obj): + return DatumUnion([self, obj]) + + def __str__(self): + if not self.types: + return "Nil" + return " ".join(self.types) + +class DatumUnion(Datum): + def __init__(self, objs=None): + if objs == None: + objs = [] + self.objs = objs + + def extend_definition(self, obj): + return DatumUnion( self.objs + [obj] ) + + def __str__(self): + return "{ %s }" % (", ".join( str(obj) for obj in self.objs ) ) + + def ask_callable(self, context): + answer = No + for obj in self.objs: + answer += obj.ask_callable(context) + return answer + + def ask_is_of_type(self, t): + answer = No + for obj in self.objs: + answer += obj.ask_is_of_type( t ) + return answer + + def copy(self): + return copy.deepcopy(self) + + def call(self, context): + maybe_code = [] + for obj in self.objs: + result = obj.ask_callable(context) + if result == Yes: + return codegen.runtime_enumeration( maybe_code, context ) + obj.call(context) + elif result == Maybe: + maybe_code.append( obj.call ) + return codegen.runtime_enumeration( maybe_code, context ) + codegen.runtime_type_error(context) + + def production_code(self, context): + output = [] + for obj in self.objs: + output.extend( obj.production_code(context) ) + return output + +class Uncallable: + def ask_callable(self, context): + return No + +def IsOfType(type_name): + class _IsOfType: + def ask_is_of_type( self, t ): + if t == type_name: + return Yes + return No + return _IsOfType + +class Integer(Datum, Uncallable, IsOfType("Integer")): + def __init__(self, value=0): + Datum.__init__(self, ["Integer"]) + self.value = value + + def copy(self): + return Integer(self.value) + + def production_code(self, context): + return [" pushd %s\n" % self.value] + + def __str__(self): + return "%s%s" % (self.typestring(), self.value) + +primitive_name_lookup = { + "Integer" : Integer, + } + +class ExternalFunctionHandle(Datum, IsOfType("External")): + def __init__(self, name, arguments, retval): + Datum.__init__(self, ["External"]) + self.name = name + self.arguments = arguments + self.retval = retval + + def production_code(self, context): + return [" push %s\n" % self.name] + + def ask_callable(self, context): + answer = Yes + if self.arguments != "Nil": + arguments = self.arguments.split(" ") + stack_collect = context.stack[-len(arguments):] + for arg, desired in zip(stack_collect, arguments): + answer *= arg.ask_is_of_type( desired ) + return answer + + def call(self, context): + output = [] + for i in self.arguments.split(" "): + output.extend( context.stack.pop().production_code( context ) ) + output.append( " call %s\n" % self.name ) + if self.retval != "Nil": + retval = self.retval.split(" ") + for val in retval: + context.stack.append( primitive_name_lookup[val]( None ) ) + return output + + def copy(self): + return ExternalFunctionHandle(self.name, self.arguments, self.retval) + +def load_standard_context(): + con = Context() + + openfile = open("libelegans/stdlib.elgdecl") + for line in openfile: + line = line.split("#")[0].strip() + if not line: continue + + name, form, arguments, retval = line.split("::") + name, form, arguments, retval = name.strip(), form.strip(), arguments.strip(), retval.strip() + + if form == "ext_call": + obj = ExternalFunctionHandle(name, arguments, retval) + if name in con.symbols: + con.symbols[name] = con.symbols[name].extend_definition( obj ) + else: + con.symbols[name] = obj + + return con + diff --git a/type_system.pyc b/type_system.pyc new file mode 100644 index 0000000..c78559b Binary files /dev/null and b/type_system.pyc differ
dlonnon/Daryl-s-Utilities
f7b42e6cb3d5ce0b59b57f66dafe943bc0ba8d04
Fix formatting on README.md
diff --git a/README.md b/README.md index 2c4f9eb..9c56a09 100644 --- a/README.md +++ b/README.md @@ -1 +1 @@ -#Daryl's Utilities +# Daryl's Utilities
swganh/mmoserverdb
840291ff87079a9bb38eef8932ded858fe8e6279
fix for var names in sp_AdminAddAccount
diff --git a/swganh_config/procedures/sp_AdminAddAccount.sql b/swganh_config/procedures/sp_AdminAddAccount.sql index dd84800..0c6d92b 100644 --- a/swganh_config/procedures/sp_AdminAddAccount.sql +++ b/swganh_config/procedures/sp_AdminAddAccount.sql @@ -1,89 +1,89 @@ /* --------------------------------------------------------------------------------------- This source file is part of SWG:ANH (Star Wars Galaxies - A New Hope - Server Emulator) For more information, visit http://www.swganh.com Copyright (c) 2006 - 2010 The SWG:ANH Team --------------------------------------------------------------------------------------- This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA --------------------------------------------------------------------------------------- */ /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8 */; /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; /*!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' */; -USE swganh_config; +use swganh_config; DELIMITER $$ DROP PROCEDURE IF EXISTS `sp_AdminAddAccount` $$ /*!50003 SET @TEMP_SQL_MODE=@@SQL_MODE, SQL_MODE='' */ $$ -CREATE PROCEDURE `sp_AdminAddAccount`(IN username CHAR(32), userpass CHAR(64), email CHAR(64)) +CREATE PROCEDURE `sp_AdminAddAccount`(IN musername CHAR(32), userpass CHAR(64), email CHAR(64)) BEGIN ## ## Declare Vars DECLARE mAccount_id BIGINT(20); DECLARE mStation_id BIGINT(20); DECLARE mAccount_password CHAR(64); ## ## Prefetch the data neeeded SELECT SHA1(userpass) INTO mAccount_password; ## ## Insert the new User Account SELECT MAX(account_id) + 1 FROM swganh.account INTO mAccount_id FOR UPDATE; IF mAccount_id IS NULL THEN SET mAccount_id = 1; END IF; SELECT MAX(account_station_id) + 1 FROM swganh.account INTO mStation_id; IF mStation_id IS NULL THEN SET mStation_id = 1000000; END IF; - INSERT INTO swganh.account VALUES (NULL, mUsername, mAccount_password, mStation_id, mAccountType, 0, mEmail, NOW(), NOW(), 1, 0, 0, 1, NULL, NOW()); + INSERT INTO swganh.account VALUES (NULL, musername, mAccount_password, mStation_id, 0, 0, email, NOW(), NOW(), 1, 0, 0, 1, NULL); SELECT mAccount_id; END $$ /*!50003 SET SESSION SQL_MODE=@TEMP_SQL_MODE */ $$ DELIMITER ; /*!40101 SET SQL_MODE=@OLD_SQL_MODE */; /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
swganh/mmoserverdb
5e21b66933802953b3f8b8502ce0674a1e4b26ca
changed the fields to start with account_ as it was stopping the launcher from working
diff --git a/swganh/procedures/sp_AccountSessionKeyGenerate.sql b/swganh/procedures/sp_AccountSessionKeyGenerate.sql index c35dfa9..eab2d0a 100644 --- a/swganh/procedures/sp_AccountSessionKeyGenerate.sql +++ b/swganh/procedures/sp_AccountSessionKeyGenerate.sql @@ -1,90 +1,90 @@ /* --------------------------------------------------------------------------------------- This source file is part of SWG:ANH (Star Wars Galaxies - A New Hope - Server Emulator) For more information, visit http://www.swganh.com Copyright (c) 2006 - 2010 The SWG:ANH Team --------------------------------------------------------------------------------------- This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA --------------------------------------------------------------------------------------- */ /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8 */; /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; /*!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' */; use swganh; -- -- Definition of procedure `sp_AccountSessionKeyGenerate` -- DROP PROCEDURE IF EXISTS `sp_AccountSessionKeyGenerate`; DELIMITER $$ /*!50003 SET @TEMP_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */ $$ DELIMITER $$ CREATE DEFINER=`root`@`localhost` PROCEDURE `sp_AccountSessionKeyGenerate`(IN maccount_id BIGINT) BEGIN ## ## sp_AccountSessionKeyGenerate (account_id) DECLARE seed VARCHAR(64); DECLARE account_seed VARCHAR(64); DECLARE newkey VARCHAR(32); ## ## Get our seeds - SELECT LENGTH(email) + LENGTH(username) FROM account WHERE account_id = maccount_id INTO account_seed ; + SELECT LENGTH(account_email) + LENGTH(account_username) FROM account WHERE account_id = maccount_id INTO account_seed ; - SELECT SHA1(UNIX_TIMESTAMP()+LENGTH(username)) FROM account WHERE account_id = maccount_id INTO seed; + SELECT SHA1(UNIX_TIMESTAMP()+LENGTH(account_username)) FROM account WHERE account_id = maccount_id INTO seed; ## ## Generate the session key SELECT MD5(seed + account_seed) INTO newkey; ## ## Update the account table with the new key UPDATE account SET account_session_key = newkey WHERE account_id = maccount_id; ## ## Return the session key SELECT newkey; END $$ /*!50003 SET SESSION SQL_MODE=@TEMP_SQL_MODE */ $$ DELIMITER ; /*!40101 SET SQL_MODE=@OLD_SQL_MODE */; /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; \ No newline at end of file
swganh/mmoserverdb
88d30cb15f7fe08ed3a89417997569f5fa23472a
added missing sp_MailStatusUpdate
diff --git a/swganh/procedures/sp_MailStatusUpdate.sql b/swganh/procedures/sp_MailStatusUpdate.sql new file mode 100644 index 0000000..e1626cd --- /dev/null +++ b/swganh/procedures/sp_MailStatusUpdate.sql @@ -0,0 +1,64 @@ +/* +--------------------------------------------------------------------------------------- +This source file is part of SWG:ANH (Star Wars Galaxies - A New Hope - Server Emulator) + +For more information, visit http://www.swganh.com + +Copyright (c) 2006 - 2010 The SWG:ANH Team +--------------------------------------------------------------------------------------- +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU Lesser General Public +License as published by the Free Software Foundation; either +version 2.1 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Lesser General Public License for more details. + +You should have received a copy of the GNU Lesser General Public +License along with this library; if not, write to the Free Software +Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +--------------------------------------------------------------------------------------- +*/ + +/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; +/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; +/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; +/*!40101 SET NAMES utf8 */; + +/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; +/*!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' */; + +use swganh; + +-- +-- Definition of procedure `sp_MailStatusUpdate` +-- + +DROP PROCEDURE IF EXISTS `sp_MailStatusUpdate`; + +DELIMITER $$ + +/*!50003 SET @TEMP_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */ $$ +CREATE DEFINER=`root`@`localhost` PROCEDURE `sp_MailStatusUpdate`(IN mailID BIGINT) +BEGIN + + ## + ## sp_MailStatusUpdate(mail_id) + + UPDATE chat_mail SET status = 1 WHERE id = mailID; + +END $$ +/*!50003 SET SESSION SQL_MODE=@TEMP_SQL_MODE */ $$ + +DELIMITER ; + +/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; +/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; +/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; +/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; +/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; \ No newline at end of file
swganh/mmoserverdb
14c0d8e095198c97bd417c88f47d563d140b75d4
sp_AccountStatusUpdate - fix for new column names
diff --git a/swganh/procedures/sp_AccountStatusUpdate.sql b/swganh/procedures/sp_AccountStatusUpdate.sql index 7f7fd48..046d541 100644 --- a/swganh/procedures/sp_AccountStatusUpdate.sql +++ b/swganh/procedures/sp_AccountStatusUpdate.sql @@ -1,67 +1,67 @@ /* --------------------------------------------------------------------------------------- This source file is part of SWG:ANH (Star Wars Galaxies - A New Hope - Server Emulator) For more information, visit http://www.swganh.com Copyright (c) 2006 - 2010 The SWG:ANH Team --------------------------------------------------------------------------------------- This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA --------------------------------------------------------------------------------------- */ /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8 */; /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; /*!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' */; use swganh; -- -- Definition of procedure `sp_AccountStatusUpdate` -- DROP PROCEDURE IF EXISTS `sp_AccountStatusUpdate`; DELIMITER $$ /*!50003 SET @TEMP_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */ $$ CREATE DEFINER=`root`@`localhost` PROCEDURE `sp_AccountStatusUpdate`(IN account_status INT, accountID BIGINT) BEGIN ## ## sp_AccountStatusUpdate(status, accountID) ## ## Update account status ## - UPDATE account SET account_lastlogin=NOW(), loggedin = account_status WHERE account_id = accountID; + UPDATE account SET account_lastlogin=NOW(), account_loggedin = account_status WHERE account_id = accountID; END $$ /*!50003 SET SESSION SQL_MODE=@TEMP_SQL_MODE */ $$ DELIMITER ; /*!40101 SET SQL_MODE=@OLD_SQL_MODE */; /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; \ No newline at end of file
swganh/mmoserverdb
73f1020009dfd003ac9c06a0a5eb7f73e29334cb
ap_AccountStatusUpdate - fix for new column names
diff --git a/swganh/procedures/sp_AccountStatusUpdate.sql b/swganh/procedures/sp_AccountStatusUpdate.sql index 543e99e..7f7fd48 100644 --- a/swganh/procedures/sp_AccountStatusUpdate.sql +++ b/swganh/procedures/sp_AccountStatusUpdate.sql @@ -1,67 +1,67 @@ /* --------------------------------------------------------------------------------------- This source file is part of SWG:ANH (Star Wars Galaxies - A New Hope - Server Emulator) For more information, visit http://www.swganh.com Copyright (c) 2006 - 2010 The SWG:ANH Team --------------------------------------------------------------------------------------- This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA --------------------------------------------------------------------------------------- */ /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8 */; /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; /*!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' */; use swganh; -- -- Definition of procedure `sp_AccountStatusUpdate` -- DROP PROCEDURE IF EXISTS `sp_AccountStatusUpdate`; DELIMITER $$ /*!50003 SET @TEMP_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */ $$ CREATE DEFINER=`root`@`localhost` PROCEDURE `sp_AccountStatusUpdate`(IN account_status INT, accountID BIGINT) BEGIN ## ## sp_AccountStatusUpdate(status, accountID) ## ## Update account status ## - UPDATE account SET lastlogin=NOW(), loggedin = account_status WHERE account_id = accountID; + UPDATE account SET account_lastlogin=NOW(), loggedin = account_status WHERE account_id = accountID; END $$ /*!50003 SET SESSION SQL_MODE=@TEMP_SQL_MODE */ $$ DELIMITER ; /*!40101 SET SQL_MODE=@OLD_SQL_MODE */; /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; \ No newline at end of file
swganh/mmoserverdb
e427d17c730f61e65337fe5622becd27f56bd64f
fix for sp_AdminAddAccount to support new account column names
diff --git a/swganh_config/procedures/sp_AdminAddAccount.sql b/swganh_config/procedures/sp_AdminAddAccount.sql index ed73f52..dd84800 100644 --- a/swganh_config/procedures/sp_AdminAddAccount.sql +++ b/swganh_config/procedures/sp_AdminAddAccount.sql @@ -1,89 +1,89 @@ /* --------------------------------------------------------------------------------------- This source file is part of SWG:ANH (Star Wars Galaxies - A New Hope - Server Emulator) For more information, visit http://www.swganh.com Copyright (c) 2006 - 2010 The SWG:ANH Team --------------------------------------------------------------------------------------- This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA --------------------------------------------------------------------------------------- */ /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8 */; /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; /*!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' */; -use swganh_config; +USE swganh_config; DELIMITER $$ DROP PROCEDURE IF EXISTS `sp_AdminAddAccount` $$ /*!50003 SET @TEMP_SQL_MODE=@@SQL_MODE, SQL_MODE='' */ $$ CREATE PROCEDURE `sp_AdminAddAccount`(IN username CHAR(32), userpass CHAR(64), email CHAR(64)) BEGIN ## ## Declare Vars DECLARE mAccount_id BIGINT(20); DECLARE mStation_id BIGINT(20); DECLARE mAccount_password CHAR(64); ## ## Prefetch the data neeeded SELECT SHA1(userpass) INTO mAccount_password; ## ## Insert the new User Account SELECT MAX(account_id) + 1 FROM swganh.account INTO mAccount_id FOR UPDATE; IF mAccount_id IS NULL THEN SET mAccount_id = 1; END IF; - SELECT MAX(station_id) + 1 FROM swganh.account INTO mStation_id; + SELECT MAX(account_station_id) + 1 FROM swganh.account INTO mStation_id; IF mStation_id IS NULL THEN SET mStation_id = 1000000; END IF; INSERT INTO swganh.account VALUES (NULL, mUsername, mAccount_password, mStation_id, mAccountType, 0, mEmail, NOW(), NOW(), 1, 0, 0, 1, NULL, NOW()); SELECT mAccount_id; END $$ /*!50003 SET SESSION SQL_MODE=@TEMP_SQL_MODE */ $$ DELIMITER ; /*!40101 SET SQL_MODE=@OLD_SQL_MODE */; /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
swganh/mmoserverdb
fa5f5a12c2622264b68ab621384ec2cf0e276591
Fixed an issue when loading into tutorial after selecting Artisan or Scout profession.
diff --git a/swganh/procedures/sp_CharacterCreate.sql b/swganh/procedures/sp_CharacterCreate.sql index 2de5987..f62301c 100644 --- a/swganh/procedures/sp_CharacterCreate.sql +++ b/swganh/procedures/sp_CharacterCreate.sql @@ -1,292 +1,297 @@ /* --------------------------------------------------------------------------------------- This source file is part of SWG:ANH (Star Wars Galaxies - A New Hope - Server Emulator) For more information, visit http://www.swganh.com Copyright (c) 2006 - 2010 The SWG:ANH Team --------------------------------------------------------------------------------------- This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA --------------------------------------------------------------------------------------- */ /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8 */; /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; /*!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' */; -- -- Use schema swganh -- USE swganh; -- -- Definition of procedure `sp_CharacterCreate` -- DROP PROCEDURE IF EXISTS `sp_CharacterCreate`; DELIMITER $$ CREATE DEFINER=`root`@`localhost` PROCEDURE `sp_CharacterCreate`( IN start_account_id INT,IN start_galaxy_id INT,IN start_firstname char(32),IN start_lastname char(32), IN start_profession char(64),IN start_city char(32),IN start_scale FLOAT,IN start_biography text(2048), IN 00FF INT, IN 01FF INT, IN 02FF INT, IN 03FF INT, IN 04FF INT, IN 05FF INT, IN 06FF INT, IN 07FF INT, IN 08FF INT, IN 09FF INT, IN 0AFF INT, IN 0BFF INT, IN 0CFF INT, IN 0DFF INT, IN 0EFF INT, IN 0FFF INT, IN 10FF INT, IN 11FF INT, IN 12FF INT, IN 13FF INT, IN 14FF INT, IN 15FF INT, IN 16FF INT, IN 17FF INT, IN 18FF INT, IN 19FF INT, IN 1AFF INT, IN 1BFF INT, IN 1CFF INT, IN 1DFF INT, IN 1EFF INT, IN 1FFF INT, IN 20FF INT, IN 21FF INT, IN 22FF INT, IN 23FF INT, IN 24FF INT, IN 25FF INT, IN 26FF INT, IN 27FF INT, IN 28FF INT, IN 29FF INT, IN 2AFF INT, IN 2BFF INT, IN 2CFF INT, IN 2DFF INT, IN 2EFF INT, IN 2FFF INT, IN 30FF INT, IN 31FF INT, IN 32FF INT, IN 33FF INT, IN 34FF INT, IN 35FF INT, IN 36FF INT, IN 37FF INT, IN 38FF INT, IN 39FF INT, IN 3AFF INT, IN 3BFF INT, IN 3CFF INT, IN 3DFF INT, IN 3EFF INT, IN 3FFF INT, IN 40FF INT, IN 41FF INT, IN 42FF INT, IN 43FF INT, IN 44FF INT, IN 45FF INT, IN 46FF INT, IN 47FF INT, IN 48FF INT, IN 49FF INT, IN 4AFF INT, IN 4BFF INT, IN 4CFF INT, IN 4DFF INT, IN 4EFF INT, IN 4FFF INT, IN 50FF INT, IN 51FF INT, IN 52FF INT, IN 53FF INT, IN 54FF INT, IN 55FF INT, IN 56FF INT, IN 57FF INT, IN 58FF INT, IN 59FF INT, IN 5AFF INT, IN 5BFF INT, IN 5CFF INT, IN 5DFF INT, IN 5EFF INT, IN 5FFF INT, IN 60FF INT, IN 61FF INT, IN 62FF INT, IN 63FF INT, IN 64FF INT, IN 65FF INT, IN 66FF INT, IN 67FF INT, IN 68FF INT, IN 69FF INT, IN 6AFF INT, IN 6BFF INT, IN 6CFF INT, IN 6DFF INT, IN 6EFF INT, IN 6FFF INT, IN 70FF INT, IN ABFF INT, IN AB2FF INT, IN start_hair_model CHAR(64), IN hair1 INT,IN hair2 INT, IN base_model_string CHAR(64)) charCreate:BEGIN -- -- Declare Vars -- DECLARE oX FLOAT;DECLARE oY FLOAT;DECLARE oZ FLOAT;DECLARE oW FLOAT; DECLARE battlefatigue INT; DECLARE race_id INT; DECLARE character_id BIGINT(20); DECLARE character_parent_id BIGINT(20); DECLARE inventory_id BIGINT(20); DECLARE tutorialcontainer_id BIGINT(20); DECLARE privateowner_id BIGINT(20); DECLARE bank_id BIGINT(20); DECLARE datapad_id BIGINT(20); DECLARE planet_name char(32); DECLARE profession_id INT; DECLARE t_health INT; DECLARE t_strength INT; DECLARE t_constitution INT; DECLARE t_action INT; DECLARE t_quickness INT; DECLARE t_stamina INT; DECLARE t_mind INT; DECLARE t_focus INT; DECLARE t_willpower INT; DECLARE start_planet INT; DECLARE start_x FLOAT;DECLARE start_y FLOAT;DECLARE start_z FLOAT; DECLARE shortSpecies CHAR(32); DECLARE gender INT(3); DECLARE base_skill_id INT; DECLARE nameCheck INT; DECLARE currentTime BIGINT(20); DECLARE tool_id BIGINT(20); DECLARE melon_id BIGINT(20); DECLARE charactersAllowed INT; DECLARE charactersCurrent INT; -- -- Transactional Support -- DECLARE EXIT HANDLER FOR NOT FOUND BEGIN SET character_id = 4; ROLLBACK; SELECT character_id; END; DECLARE EXIT HANDLER FOR SQLEXCEPTION BEGIN SET character_id = 4; ROLLBACK; SELECT character_id; END; DECLARE EXIT HANDLER FOR SQLWARNING BEGIN SET character_id = 4; ROLLBACK; SELECT character_id; END; -- -- Check the new character name for validity -- SELECT sf_CharacterNameDeveloperCheck(start_firstname) INTO nameCheck; IF nameCheck <> 666 THEN SELECT(nameCheck); LEAVE charCreate; END IF; SELECT sf_CharacterNameFictionalCheck(start_firstname) INTO nameCheck; IF nameCheck <> 666 THEN SELECT(nameCheck); LEAVE charCreate; END IF; SELECT sf_CharacterNameInUseCheck(start_firstname) INTO nameCheck; IF nameCheck <> 666 THEN SELECT(nameCheck); LEAVE charCreate; END IF; -- -- Set the gender -- IF base_model_string like '%female%' THEN SET gender = 0; ELSE SET gender = 1; END IF; -- -- Set defaults (battle fatigue, world orientation) -- SET character_parent_id = 0; SET privateowner_id = 0; SET battlefatigue = 0; SET oX = 0; SET oY = 1; SET oZ = 0; SET oW = 0; -- -- Transaction Start -- START TRANSACTION; SELECT MAX(id) + 1000 FROM characters INTO character_id FOR UPDATE; IF character_id IS NULL THEN SET character_id = 8589934593; END IF; -- -- Set the initial IDs -- SET inventory_id = character_id + 1; SET bank_id = character_id + 4; SET datapad_id = character_id + 3; SET tutorialcontainer_id = 0; SELECT planet_id, x, y, z FROM starting_location WHERE location LIKE start_city INTO start_planet, start_x, start_y, start_z; SELECT f_speciesShort(base_model_string) INTO shortSpecies; SELECT health, strength, constitution, action, quickness, stamina, mind, focus, willpower FROM starting_attributes WHERE starting_attributes.species like shortSpecies AND starting_attributes.profession like start_profession INTO t_health, t_strength, t_constitution, t_action, t_quickness, t_stamina, t_mind, t_focus, t_willpower; SELECT id from race where race.name like shortSpecies into race_id; SELECT skill_id from skills where skill_name like start_profession INTO profession_id; -- Don't set any default skills or XP when creating player in the Tutorial. IF start_city = 'tutorial' THEN SET character_parent_id = 2203318222960; SET tutorialcontainer_id = 2533274790395904; SET privateowner_id = character_id; END IF; IF start_city = 'default_location' THEN SET character_parent_id = 2203318222975; END IF; INSERT INTO characters VALUES (character_id, start_account_id, start_galaxy_id, start_firstname, start_lastname, race_id, character_parent_id, start_planet, start_x, start_y, start_z, oX, oY, oZ, oW, 0, NULL, 0, CURDATE() + 0); INSERT INTO inventories VALUES (inventory_id,1,1000); INSERT INTO banks VALUES (bank_id,1000,-1); INSERT INTO datapads VALUES (datapad_id,1); INSERT INTO character_attributes VALUES (character_id, 1, t_health, t_strength, t_constitution, t_action, t_quickness, t_stamina, t_mind, t_focus, t_willpower, t_health, t_strength, t_constitution, t_action, t_quickness, t_stamina, t_mind, t_focus, t_willpower, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, battlefatigue,0,0,NULL,0,0,1,0,0,0,3); INSERT INTO character_appearance VALUES (character_id, 00FF, 01FF, 02FF, 03FF, 04FF, 05FF, 06FF, 07FF, 08FF, 09FF, 0AFF, 0BFF, 0CFF, 0DFF, 0EFF, 0FFF, 10FF, 11FF, 12FF, 13FF, 14FF, 15FF, 16FF, 17FF, 18FF, 19FF, 1AFF, 1BFF, 1CFF, 1DFF, 1EFF, 1FFF, 20FF, 21FF, 22FF, 23FF, 24FF, 25FF, 26FF, 27FF, 28FF, 29FF, 2AFF, 2BFF, 2CFF, 2DFF, 2EFF, 2FFF, 30FF, 31FF, 32FF, 33FF, 34FF, 35FF, 36FF, 37FF, 38FF, 39FF, 3AFF, 3BFF, 3CFF, 3DFF, 3EFF, 3FFF, 40FF, 41FF, 42FF, 43FF, 44FF, 45FF, 46FF, 47FF, 48FF, 49FF, 4AFF, 4BFF, 4CFF, 4DFF, 4EFF, 4FFF, 50FF, 51FF, 52FF, 53FF, 54FF, 55FF, 56FF, 57FF, 58FF, 59FF, 5AFF, 5BFF, 5CFF, 5DFF, 5EFF, 5FFF, 60FF, 61FF, 62FF, 63FF, 64FF, 65FF, 66FF, 67FF, 68FF, 69FF, 6AFF, 6BFF, 6CFF, 6DFF, 6EFF, 6FFF, 70FF, ABFF, AB2FF, start_hair_model, hair1,hair2, base_model_string,start_scale); INSERT INTO character_movement VALUES(character_id,5.75,1.50,1.00,0.0125); INSERT INTO character_tutorial VALUES(character_id,1,1,start_profession); IF start_city <> 'tutorial' THEN SET base_skill_id = profession_id + 1; CALL sp_CharacterSkillsCreate(character_id,base_skill_id,race_id); CALL sp_CharacterXpCreate(character_id,base_skill_id); END IF; IF start_biography IS NULL THEN SET start_biography = ''; END IF; INSERT INTO character_biography VALUES (character_id, start_biography); INSERT INTO character_matchmaking VALUES (character_id,0,0,0,0,0); CALL sp_CharacterCreateFactions(character_id); CALL sp_CharacterStartingItems(inventory_id,tutorialcontainer_id,privateowner_id,race_id,profession_id,gender); -- -- Fix Melon to have 5 stacks -- -- Wen running the Tutorial there is no melon in the inventory. And it will make it impossible to create a character at the Tutorial zone. -- SELECT id FROM items WHERE parent_id = inventory_id AND item_type = 89 INTO melon_id; -- INSERT INTO item_attributes VALUES (melon_id, 23, 5, 3, NULL); IF start_city = 'tutorial' THEN SELECT id FROM items WHERE items.privateowner_id = character_id AND items.item_type = 89 INTO melon_id; INSERT INTO item_attributes VALUES (melon_id, 23, 5, 3, NULL); ELSE SELECT id FROM items WHERE items.parent_id = inventory_id AND items.item_type = 89 INTO melon_id; INSERT INTO item_attributes VALUES (melon_id, 23, 5, 3, NULL); END IF; -- -- Fix tools to have effectivness of 0 -- IF start_profession LIKE '%crafting%' OR start_profession LIKE '%scout%' THEN - SELECT id FROM items where parent_id = inventory_id AND item_family = 3 INTO tool_id; - UPDATE item_attributes SET item_attributes.value = '0' WHERE attribute_id = 15 and item_id = tool_id; + IF start_city = 'tutorial' THEN + SELECT id FROM items where items.privateowner_id = character_id AND items.item_family = 3 INTO tool_id; + UPDATE item_attributes SET item_attributes.value = '0' WHERE attribute_id = 15 and item_id = tool_id; + ELSE + SELECT id FROM items where items.parent_id = inventory_id AND items.item_family = 3 INTO tool_id; + UPDATE item_attributes SET item_attributes.value = '0' WHERE attribute_id = 15 and item_id = tool_id; + END IF; END IF; -- -- Commit Transaction -- COMMIT; -- -- Return new character ID -- SELECT(character_id); END $$ DELIMITER ; /*!40101 SET SQL_MODE=@OLD_SQL_MODE */; /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; \ No newline at end of file
swganh/mmoserverdb
7da1c2f1046b91288c2fe3a5140f639a86c18b33
Fixed issue with missing fields
diff --git a/swganh/scripts/item_family_attribute_defaults.sql b/swganh/scripts/item_family_attribute_defaults.sql index 51bafd0..fd62213 100644 --- a/swganh/scripts/item_family_attribute_defaults.sql +++ b/swganh/scripts/item_family_attribute_defaults.sql @@ -1,558 +1,560 @@ /* --------------------------------------------------------------------------------------- This source file is part of SWG:ANH (Star Wars Galaxies - A New Hope - Server Emulator) For more information, visit http://www.swganh.com Copyright (c) 2006 - 2010 The SWG:ANH Team --------------------------------------------------------------------------------------- This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA --------------------------------------------------------------------------------------- */ /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8 */; /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; /*!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' */; USE swganh; -- -- Definition of table `item_family_attribute_defaults` -- DROP TABLE IF EXISTS `item_family_attribute_defaults`; CREATE TABLE `item_family_attribute_defaults` ( `family_id` int(11) unsigned NOT NULL DEFAULT '0', `item_type_id` int(11) unsigned NOT NULL DEFAULT '0', `attribute_id` int(11) unsigned NOT NULL DEFAULT '0', `attribute_value` char(255) NOT NULL DEFAULT '0', + `attribute_value_max` char(255) NOT NULL DEFAULT '0', `attribute_order` int(11) unsigned NOT NULL DEFAULT '0', + `attribute_type` int(11) unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`family_id`,`item_type_id`,`attribute_id`), KEY `fk_item_att_family_def_item_type` (`item_type_id`), KEY `fk_item_att_family_def_attribute` (`attribute_id`), CONSTRAINT `fk_item_att_family_def_attribute` FOREIGN KEY (`attribute_id`) REFERENCES `attributes` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, CONSTRAINT `fk_item_att_family_def_family` FOREIGN KEY (`family_id`) REFERENCES `item_families` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, CONSTRAINT `fk_item_att_family_def_item_type` FOREIGN KEY (`item_type_id`) REFERENCES `item_types` (`id`) ON DELETE CASCADE ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=REDUNDANT; -- -- Dumping data for table `item_family_attribute_defaults` -- /*!40000 ALTER TABLE `item_family_attribute_defaults` DISABLE KEYS */; INSERT INTO `item_family_attribute_defaults` (`family_id`,`item_type_id`,`attribute_id`,`attribute_value`,`attribute_value_max`,`attribute_order`,`attribute_type`) VALUES (1,1,1,'1','',3,0), (1,1,6,'-1','',0,0), (1,1,7,'4','',0,0), (1,1,8,'286','',0,0), (1,1,9,'156','',0,0), (1,1,10,'903','',0,0), (1,1,16,'','',5,1), (1,1,17,'','',4,1), (1,1,198,'1000','1000',2,0), (1,1,566,'@item_n:survey_tool_wind','',1,2), (1,1,1270,'0','',0,0), (1,2,1,'1','',3,0), (1,2,6,'-1','',0,0), (1,2,7,'4','',0,0), (1,2,8,'26','',0,0), (1,2,9,'373','',0,0), (1,2,10,'591','',0,0), (1,2,16,'','',5,1), (1,2,17,'','',4,1), (1,2,198,'1000','1000',2,0), (1,2,566,'@item_n:survey_tool_gas','',1,2), (1,2,1270,'0','',0,0), (1,3,1,'1','',3,0), (1,3,6,'-1','',0,0), (1,3,7,'4','',0,0), (1,3,8,'286','',0,0), (1,3,9,'156','',0,0), (1,3,10,'228','',0,0), (1,3,16,'','',5,1), (1,3,17,'','',4,1), (1,3,198,'1000','1000',2,0), (1,3,566,'@item_n:survey_tool_lumber','',1,2), (1,3,1270,'0','',0,0), (1,4,1,'1','',3,0), (1,4,6,'-1','',0,0), (1,4,7,'4','',0,0), (1,4,8,'178','',0,0), (1,4,9,'264','',0,0), (1,4,10,'453','',0,0), (1,4,16,'','',5,1), (1,4,17,'','',4,1), (1,4,198,'1000','1000',2,0), (1,4,566,'@item_n:survey_tool_moisture','',1,2), (1,4,1270,'0','',0,0), (1,5,1,'1','',3,0), (1,5,6,'-1','',0,0), (1,5,7,'4','',0,0), (1,5,8,'131','',0,0), (1,5,9,'161','',0,0), (1,5,10,'439','',0,0), (1,5,16,'','',5,1), (1,5,17,'','',4,1), (1,5,198,'1000','1000',2,0), (1,5,303,'-15','',0,0), (1,5,566,'@item_n:survey_tool_liquid','',1,2), (1,5,1270,'0','',0,0), (1,6,1,'1','',3,0), (1,6,6,'-1','',0,0), (1,6,7,'4','',0,0), (1,6,8,'131','',0,0), (1,6,9,'50','',0,0), (1,6,10,'904','',0,0), (1,6,16,'','',5,1), (1,6,17,'','',4,1), (1,6,198,'1000','1000',2,0), (1,6,566,'@item_n:survey_tool_solar','',1,2), (1,6,1270,'0','',0,0), (1,7,1,'1','',3,0), (1,7,6,'-1','',0,0), (1,7,7,'4','',0,0), (1,7,8,'302','',0,0), (1,7,9,'50','',0,0), (1,7,10,'464','',0,0), (1,7,16,'','',5,1), (1,7,17,'','',4,1), (1,7,198,'1000','1000',2,0), (1,7,566,'@item_n:survey_tool_mineral','',1,2), (1,7,1270,'0','',0,0), (1,8,1,'1','',3,0), (1,8,6,'-1','',0,0), (1,8,7,'4','',0,0), (1,8,8,'261','',0,0), (1,8,9,'156','',0,0), (1,8,10,'2','',0,0), (1,8,16,'','',5,1), (1,8,17,'','',4,1), (1,8,198,'1000','1000',2,0), (1,8,566,'@item_n:survey_tool_organic','',1,2), (1,8,1270,'0','',0,0), (1,9,1,'1','',3,0), (1,9,6,'-1','',0,0), (1,9,7,'4','',0,0), (1,9,8,'261','',0,0), (1,9,9,'50','',0,0), (1,9,10,'438','',0,0), (1,9,16,'','',5,1), (1,9,17,'','',4,1), (1,9,198,'1000','1000',2,0), (1,9,566,'@item_n:survey_tool_inorganic','',1,2), (1,9,1270,'0','',0,0), (3,11,1,'1','',3,0), (3,11,14,'20','',0,0), (3,11,15,'-15.0','15.0',4,0), (3,11,16,'','',7,1), (3,11,17,'','',6,1), (3,11,18,'@crafting:tool_status_ready','',5,0), (3,11,19,'114698','',0,0), (3,11,198,'1000','1000',2,0), (3,11,566,'@crafting:clothing_tool_name','',1,2), (3,11,1270,'0','',0,0), (3,12,1,'1','',2,0), (3,12,14,'15','',0,0), (3,12,15,'-15.0','',3,0), (3,12,16,'','',7,1), (3,12,17,'','',6,1), (3,12,18,'@crafting:tool_status_ready','',4,0), (3,12,19,'791071','',0,0), (3,12,198,'###/###','',2,0), (3,12,566,'@crafting:generic_tool_name','',1,2), (3,12,1270,'0','',0,0), (3,13,1,'1','',2,0), (3,13,14,'20','',0,0), (3,13,15,'-15.0','',3,0), (3,13,16,'','',7,1), (3,13,17,'','',6,1), (3,13,18,'@crafting:tool_status_ready','',4,0), (3,13,19,'528433','',0,0), (3,13,198,'###/###','',2,0), (3,13,566,'@crafting:weapon_tool_name','',1,2), (3,13,1270,'0','',0,0), (3,14,1,'1','',2,0), (3,14,14,'20','',0,0), (3,14,15,'-15.0','',3,0), (3,14,16,'','',7,1), (3,14,17,'','',6,1), (3,14,18,'@crafting:tool_status_ready','',4,0), (3,14,19,'4548','',0,0), (3,14,198,'###/###','',2,0), (3,14,566,'@crafting:food_tool_name','',1,2), (3,14,1270,'0','',0,0), (3,15,1,'1','',2,0), (3,15,14,'20','',0,0), (3,15,15,'-15.0','',3,0), (3,15,16,'','',7,1), (3,15,17,'','',6,1), (3,15,18,'@crafting:tool_status_ready','',4,0), (3,15,19,'1536','',0,0), (3,15,198,'###/###','',2,0), (3,15,566,'@crafting:structure_tool_name','',1,2), (3,15,1270,'0','',0,0), (3,16,1,'1','',2,0), (3,16,14,'20','',0,0), (3,16,15,'-15.0','',3,0), (3,16,16,'','',7,1), (3,16,17,'','',6,1), (3,16,18,'@crafting:tool_status_ready','',4,0), (3,16,19,'2048','',0,0), (3,16,198,'###/###','',2,0), (3,16,566,'@crafting:jedi_tool_name','',1,2), (3,16,1270,'0','',0,0), (3,17,1,'1','',2,0), (3,17,14,'20','',0,0), (3,17,15,'-15.0','',3,0), (3,17,16,'','',7,1), (3,17,17,'','',6,1), (3,17,18,'@crafting:tool_status_ready','',4,0), (3,17,19,'131072','',0,0), (3,17,198,'###/###','',2,0), (3,17,566,'@crafting:space_tool_name','',1,2), (3,17,1270,'0','',0,0), (4,18,1,'1','',2,0), (4,18,566,'@crafting:structure_public_station_name','',1,2), (4,19,1,'1','',2,0), (4,19,566,'@crafting:clothing_station_name','',1,2), (4,20,1,'1','',2,0), (4,20,566,'@crafting:food_public_station_name','',1,2), (4,21,1,'1','',2,0), (4,21,566,'@crafting:structure_repair_name','',1,2), (4,22,1,'1','',2,0), (4,22,566,'@crafting:weapon_public_station_name','',1,2), (4,23,1,'1','',2,0), (4,23,566,'@crafting:weapon_station_name','',1,2), (4,24,1,'1','',2,0), (4,24,566,'@crafting:structure_station_name','',1,2), (4,29,1,'1','',2,0), (4,29,566,'@crafting:clothing_public_station_name','',1,2), (4,30,1,'1','',2,0), (4,30,566,'@crafting:food_station_name','',1,2), (4,31,1,'1','',2,0), (4,31,566,'@crafting:space_station_name','',1,2), (4,32,1,'1','',2,0), (4,32,566,'@crafting:space_station_name','',1,2), (5,204,1,'1','',2,0), (5,204,566,'@frn_n:frn_lamp_candlestick','',1,2), (5,205,1,'1','',2,0), (5,205,566,'@frn_n:fountain_rectangle','',1,2), (5,206,1,'1','',2,0), (5,206,566,'@warren_item_n:terminal','',1,2), (5,207,1,'1','',2,0), (5,207,566,'@frn_n:frn_jedi_chair','',1,2), (5,208,1,'1','',2,0), (5,208,566,'@frn_n:frn_tato_cantina_table','',1,2), (5,209,1,'1','',2,0), (5,209,566,'@frn_n:carved_bowl','',1,2), (5,210,1,'1','',2,0), (5,210,566,'@frn_n:frn_potted_plant','',1,2), (5,211,1,'1','',2,0), (5,211,566,'@frn_n:bestine_quest_statue','',1,2), (5,212,1,'1','',2,0), (5,212,566,'@frn_n:frn_lamp_desk','',1,2), (5,213,1,'1','',2,0), (5,213,566,'@frn_n:frn_chair','',1,2), (5,214,1,'1','',2,0), (5,214,566,'@frn_n:frn_table','',1,2), (5,215,1,'1','',2,0), (5,215,566,'@frn_n:frn_art','',1,2), (5,216,1,'1','',2,0), (5,216,566,'@frn_n:unknown','',1,2), (5,217,1,'1','',2,0), (5,217,566,'@frn_n:frn_love_seat','',1,2), (5,218,1,'1','',2,0), (5,218,566,'@frn_n:frn_light','',1,2), (5,219,1,'1','',2,0), (5,219,566,'@frn_n:frn_chair','',1,2), (5,220,1,'1','',2,0), (5,220,566,'@frn_n:frn_couch','',1,2), (5,221,1,'1','',2,0), (5,221,566,'@frn_n:frn_couch_small','',1,2), (5,222,1,'1','',2,0), (5,222,566,'@frn_n:frn_chair','',1,2), (5,223,1,'1','',2,0), (5,223,566,'@frn_n:frn_end_table','',1,2), (5,224,1,'1','',2,0), (5,224,566,'@frn_n:frn_table_small','',1,2), (5,225,1,'1','',2,0), (5,225,566,'@frn_n:frn_rug_rect_sml_01','',1,2), (5,226,1,'1','',2,0), (5,226,566,'@frn_n:frn_chair','',1,2), (5,227,1,'1','',2,0), (5,227,566,'@frn_n:frn_bookcase','',1,2), (5,228,1,'1','',2,0), (5,228,566,'@frn_n:blue_streetlamp','',1,2), (5,229,1,'1','',2,0), (5,229,566,'@frn_n:frn_end_table','',1,2), (5,230,1,'1','',2,0), (5,230,566,'@frn_n:frn_throwpillow','',1,2), (5,231,1,'1','',2,0), (5,231,566,'@frn_n:frn_chair','',1,2), (5,232,1,'1','',2,0), (5,232,566,'@frn_n:frn_end_table','',1,2), (5,233,1,'1','',2,0), (5,233,566,'@frn_n:frn_lamp_table','',1,2), (5,234,1,'1','',2,0), (5,234,566,'@frn_n:spear_rack','',1,2), (5,235,1,'1','',2,0), (5,235,566,'@frn_n:blue_streetlamp_2','',1,2), (5,236,1,'1','',2,0), (5,236,566,'@frn_n:frn_lamp_free','',1,2), (5,237,1,'1','',2,0), (5,237,566,'@frn_n:frn_love_seat','',1,2), (5,238,1,'1','',2,0), (5,238,566,'@frn_n:frn_lamp_free_razorcoil','',1,2), (5,239,1,'1','',2,0), (5,239,566,'@frn_n:frn_lamp_candlestick','',1,2), (5,240,1,'1','',2,0), (5,240,566,'@frn_n:frn_lamp_table','',1,2), (5,241,1,'1','',2,0), (5,241,566,'@frn_n:frn_table_small','',1,2), (5,242,1,'1','',2,0), (5,242,566,'@frn_n:frn_rug_01','',1,2), (5,243,1,'1','',2,0), (5,243,566,'@frn_n:frn_lamp_table_naboo','',1,2), (5,244,1,'1','',2,0), (5,244,566,'@frn_n:frn_lamp_table_corellia','',1,2), (5,245,1,'1','',2,0), (5,245,566,'@frn_n:frn_lamp_table','',1,2), (5,246,1,'1','',2,0), (5,246,566,'@frn_n:fountain_heroic','',1,2), (5,247,1,'1','',2,0), (5,247,566,'@frn_n:frn_bar_piece_straight_s1','',1,2), (5,248,1,'1','',2,0), (5,248,566,'@frn_n:frn_couch','',1,2), (5,249,1,'1','',2,0), (5,249,566,'@frn_n:frn_lamp_table','',1,2), (5,250,1,'1','',2,0), (5,250,566,'@frn_n:bacta_tank','',1,2), (5,251,1,'1','',2,0), (5,251,566,'@warren_item_n:warning_sign','',1,2), (5,252,1,'1','',2,0), (5,252,566,'@frn_n:frn_armoire','',1,2), (5,253,1,'1','',2,0), (5,253,566,'@frn_n:frn_lamp_table_tatooine','',1,2), (5,254,1,'1','',2,0), (5,254,566,'@frn_n:frn_chair','',1,2), (5,255,1,'1','',2,0), (5,255,566,'@frn_n:bar_piece_curve_s1','',1,2), (5,256,1,'1','',2,0), (5,256,566,'@frn_n:frn_data_terminal','',1,2), (5,257,1,'1','',2,0), (5,257,566,'@frn_n:green_streetlamp_2','',1,2), (5,258,1,'1','',2,0), (5,258,566,'@frn_n:fountain','',1,2), (5,259,1,'1','',2,0), (5,259,566,'@frn_n:frn_console','',1,2), (5,260,1,'1','',2,0), (5,260,566,'@frn_n:frn_armoire','',1,2), (5,261,1,'1','',2,0), (5,261,566,'@frn_n:frn_art','',1,2), (5,262,1,'1','',2,0), (5,262,566,'@frn_n:vet_couch_falcon_section_s01','',1,2), (5,263,1,'1','',2,0), (5,263,566,'@frn_n:frn_bookcase','',1,2), (5,264,1,'1','',2,0), (5,264,566,'@frn_n:frn_couch','',1,2), (5,265,1,'1','',2,0), (5,265,566,'@frn_n:frn_end_table_modern_small','',1,2), (5,266,1,'1','',2,0), (5,266,566,'@frn_n:frn_chair_recliner','',1,2), (5,267,1,'1','',2,0), (5,267,566,'@frn_n:streetlamp','',1,2), (5,268,1,'1','',2,0), (5,268,566,'@frn_n:frn_toolchest','',1,2), (5,269,1,'1','',2,0), (5,269,566,'@frn_n:frn_couch_large','',1,2), (5,270,1,'1','',2,0), (5,270,566,'@frn_n:frn_table','',1,2), (5,271,1,'1','',2,0), (5,271,566,'@frn_n:frn_lamp_table_corellia','',1,2), (5,272,1,'1','',2,0), (5,272,566,'@frn_n:frn_all_banner_rebel','',1,2), (5,273,1,'1','',2,0), (5,273,566,'@frn_n:unknown','',1,2), (5,274,1,'1','',2,0), (5,274,566,'@frn_n:frn_lamp_desk_bantha','',1,2), (5,275,1,'1','',2,0), (5,275,566,'@frn_n:frn_data_terminal','',1,2), (5,276,1,'1','',2,0), (5,276,566,'@frn_n:frn_bookcase','',1,2), (5,277,1,'1','',2,0), (5,277,566,'@frn_n:frn_data_terminal','',1,2), (5,278,1,'1','',2,0), (5,278,566,'@frn_n:frn_love_seat','',1,2), (5,279,1,'1','',2,0), (5,279,566,'@frn_n:frn_potted_plant_sml_s05','',1,2), (5,280,1,'1','',2,0), (5,280,566,'@frn_n:unknown','',1,2), (5,281,1,'1','',2,0), (5,281,566,'@frn_n:frn_couch_divan','',1,2), (5,282,1,'1','',2,0), (5,282,16,'','',4,0), (5,282,17,'','',3,0), (5,282,566,'@frn_n:frn_chair_metal','',1,2), (5,283,1,'1','',2,0), (5,283,566,'@frn_n:frn_couch','',1,2), (5,284,1,'1','',2,0), (5,284,566,'@frn_n:unknown','',1,2), (5,285,1,'1','',2,0), (5,285,566,'@frn_n:frn_rug_rect_lg_01','',1,2), (5,286,1,'1','',2,0), (5,286,566,'@frn_n:frn_table_large','',1,2), (5,287,1,'1','',2,0), (5,287,566,'@frn_n:portable_stove','',1,2), (5,288,1,'1','',2,0), (5,288,566,'@frn_n:frn_lamp_free','',1,2), (5,289,1,'1','',2,0), (5,289,566,'@frn_n:frn_couch','',1,2), (5,290,1,'1','',2,0), (5,290,566,'@frn_n:vet_couch_falcon_corner_s01','',1,2), (5,291,1,'1','',2,0), (5,291,566,'@frn_n:green_streetlamp_2','',1,2), (5,292,1,'1','',2,0), (5,292,566,'@frn_n:frn_lamp_free','',1,2), (5,293,1,'1','',2,0), (5,293,566,'@frn_n:microphone','',1,2), (5,294,1,'1','',2,0), (5,294,566,'@frn_n:bottle_tall','',1,2), (5,295,1,'1','',2,0), (5,295,566,'@frn_n:red_streetlamp_2','',1,2), (5,296,1,'1','',2,0), (5,296,566,'@frn_n:frn_chair','',1,2), (5,297,1,'1','',2,0), (5,297,566,'@frn_n:frn_lamp_desk_bantha','',1,2), (5,298,1,'1','',2,0), (5,298,566,'@frn_n:frn_rug_rnd_m_01','',1,2), (5,299,1,'1','',2,0), (5,299,566,'@frn_n:frn_desk','',1,2), (5,300,1,'1','',2,0), (5,300,566,'@frn_n:tanning_hide','',1,2), (5,301,1,'1','',2,0), (5,301,566,'@frn_n:frn_table','',1,2), (5,302,1,'1','',2,0), (5,302,566,'@frn_n:frn_cabinet','',1,2), (5,303,1,'1','',2,0), (5,303,566,'@frn_n:frn_tato_cantina_table','',1,2), (5,304,1,'1','',2,0), (5,304,16,'','',4,1), (5,304,17,'','',3,1), (5,304,566,'@frn_n:bestine_quest_imp_banner','',1,2), (5,305,1,'1','',2,0), (5,305,566,'@warren_item_n:terminal','',1,2), (5,306,1,'1','',2,0), (5,306,566,'@frn_n:frn_tato_cafe_chair','',1,2), (5,307,1,'1','',2,0), (5,307,566,'@frn_n:basket_closed','',1,2), (5,308,1,'1','',2,0), (5,308,566,'@frn_n:frn_lamp_free','',1,2), (5,309,1,'1','',2,0), (5,309,566,'@frn_n:frn_cabinet','',1,2), (5,310,1,'1','',2,0), (5,310,566,'@frn_n:frn_bed_small','',1,2), (5,311,1,'1','',2,0), (5,311,566,'@frn_n:frn_searchable_desk_02','',1,2), (5,312,1,'1','',2,0), (5,312,566,'@frn_n:frn_potted_plant_lg_s2','',1,2), (5,313,1,'1','',2,0), (5,313,566,'@frn_n:frn_lamp_candlestick','',1,2), (5,314,1,'1','',2,0), (5,314,566,'@frn_n:frn_table','',1,2), (5,315,1,'1','',2,0), (5,315,566,'@frn_n:frn_lamp_table_naboo','',1,2), (5,316,1,'1','',2,0), (5,316,566,'@frn_n:red_streetlamp_2','',1,2), (5,317,1,'1','',2,0), (5,317,566,'@frn_n:unknown','',1,2), (5,318,1,'1','',2,0), (5,318,566,'@frn_n:frn_potted_plant_sml_s01','',1,2), (5,319,1,'1','',2,0), (5,319,566,'@frn_n:statue_weird_02','',1,2), (5,320,1,'1','',2,0), (5,320,566,'@frn_n:streetlamp','',1,2), (5,321,1,'1','',2,0), (5,321,566,'@frn_n:frn_lamp_candlestick','',1,2), (5,322,1,'1','',2,0), (5,322,566,'@frn_n:frn_coffee_table_s01','',1,2), (5,323,1,'1','',2,0), (5,323,566,'@frn_n:frn_lamp_candlestick','',1,2), (5,324,1,'1','',2,0), (5,324,566,'@frn_n:frn_tato_vase','',1,2), (5,325,1,'1','',2,0), (5,325,566,'@frn_n:frn_bench','',1,2), (5,326,1,'1','',2,0), (5,326,566,'@frn_n:frn_lamp_free','',1,2), (5,327,1,'1','',2,0), (5,327,566,'@frn_n:frn_command_console','',1,2), (5,328,1,'1','',2,0), (5,328,566,'@frn_n:frn_bookcase','',1,2), (5,329,1,'1','',2,0), (5,329,566,'@frn_n:frn_chair','',1,2), (5,330,1,'1','',2,0), (5,330,566,'@frn_n:frn_armoire','',1,2), (5,331,1,'1','',2,0), (5,331,566,'@frn_n:frn_rug_rnd_sml_01','',1,2), (5,332,1,'1','',2,0), (5,332,566,'@frn_n:frn_coffee_table','',1,2), (5,333,1,'1','',2,0), (5,333,566,'@frn_n:unknown','',1,2), (5,334,1,'1','',2,0), (5,334,566,'@frn_n:frn_love_seat','',1,2), (5,335,1,'1','',2,0), (5,335,566,'@frn_n:frn_lamp_table','',1,2), (5,336,1,'1','',2,0), (5,336,566,'@frn_n:frn_tato_cafe_parasol','',1,2), (5,337,1,'1','',2,0), (5,337,566,'@frn_n:frn_droid_detector','',1,2), (5,338,1,'1','',2,0), (5,338,566,'@warren_item_n:terminal','',1,2), (5,339,1,'1','',2,0), (5,339,566,'@frn_n:radio','',1,2), (5,340,1,'1','',2,0), (5,340,566,'@frn_n:frn_rug_rect_lg_01','',1,2), (5,341,1,'1','',2,0), (5,341,566,'@frn_n:frn_rug_01','',1,2), (5,342,1,'1','',2,0), (5,342,566,'@frn_n:frn_rug_rnd_m_01','',1,2), (5,343,1,'1','',2,0), (5,343,566,'@frn_n:frn_potted_tree_s1','',1,2), (5,344,1,'1','',2,0), (5,344,566,'@frn_n:frn_chair','',1,2), (5,345,1,'1','',2,0), (5,345,566,'@frn_n:frn_coffee_table_s01','',1,2), (5,346,1,'1','',2,0), (5,346,566,'@frn_n:frn_lamp_free','',1,2), (5,347,1,'1','',2,0), (5,347,566,'@frn_n:streetlamp','',1,2), (5,348,1,'1','',2,0), (5,348,566,'@frn_n:frn_coffee_table_s01','',1,2), (5,349,1,'1','',2,0), (5,349,566,'@frn_n:fountain_circle','',1,2), (5,350,1,'1','',2,0), (5,350,566,'@frn_n:frn_data_terminal','',1,2), (5,351,1,'1','',2,0), (5,351,566,'@frn_n:frn_art','',1,2), (5,352,1,'1','',2,0), (5,352,566,'@frn_n:frn_couch_futon','',1,2), (5,353,1,'1','',2,0), (5,353,566,'@frn_n:statue_sentinel_02','',1,2), (5,354,1,'1','',2,0), (5,354,566,'@frn_n:frn_rug_rect_m_01','',1,2),
swganh/mmoserverdb
2bf85f1ea9b2b77747d5c1f902bcd0528a5dce7f
Fixed a couple sql errors that have shown on login for some time
diff --git a/swganh/procedures/sp_ReturnChatCharChannels.sql b/swganh/procedures/sp_ReturnChatCharChannels.sql index 29cda2d..6a221ba 100644 --- a/swganh/procedures/sp_ReturnChatCharChannels.sql +++ b/swganh/procedures/sp_ReturnChatCharChannels.sql @@ -1,63 +1,63 @@ /* --------------------------------------------------------------------------------------- This source file is part of SWG:ANH (Star Wars Galaxies - A New Hope - Server Emulator) For more information, visit http://www.swganh.com Copyright (c) 2006 - 2010 The SWG:ANH Team --------------------------------------------------------------------------------------- This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA --------------------------------------------------------------------------------------- */ /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8 */; /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; /*!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' */; use swganh; -- -- Definition of procedure `sp_ReturnChatCharChannels` -- DROP PROCEDURE IF EXISTS `sp_ReturnChatCharChannels`; DELIMITER $$ /*!50003 SET @TEMP_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */ $$ CREATE DEFINER=`root`@`localhost` PROCEDURE `sp_ReturnChatCharChannels`(IN charId BIGINT) BEGIN SELECT A.channel_id - FROM swganh.chat_char_channels + FROM swganh.chat_char_channels A WHERE A.character_id = charId; END $$ /*!50003 SET SESSION SQL_MODE=@TEMP_SQL_MODE */ $$ DELIMITER ; /*!40101 SET SQL_MODE=@OLD_SQL_MODE */; /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; \ No newline at end of file diff --git a/swganh/procedures/sp_ReturnChatIgnorelist.sql b/swganh/procedures/sp_ReturnChatIgnorelist.sql index d8859c5..e5d4935 100644 --- a/swganh/procedures/sp_ReturnChatIgnorelist.sql +++ b/swganh/procedures/sp_ReturnChatIgnorelist.sql @@ -1,64 +1,64 @@ /* --------------------------------------------------------------------------------------- This source file is part of SWG:ANH (Star Wars Galaxies - A New Hope - Server Emulator) For more information, visit http://www.swganh.com Copyright (c) 2006 - 2010 The SWG:ANH Team --------------------------------------------------------------------------------------- This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA --------------------------------------------------------------------------------------- */ /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8 */; /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; /*!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' */; use swganh; -- -- Definition of procedure `sp_ReturnChatIgnorelist` -- DROP PROCEDURE IF EXISTS `sp_ReturnChatIgnorelist`; DELIMITER $$ /*!50003 SET @TEMP_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */ $$ CREATE DEFINER=`root`@`localhost` PROCEDURE `sp_ReturnChatIgnorelist`(IN charId BIGINT) BEGIN SELECT B.firstname FROM swganh.chat_ignorelist A - INNER JOIN swganh.characters B ON (A.friend_id = B.id) + INNER JOIN swganh.characters B ON (A.character_id = B.id) WHERE (A.character_id = charId); END $$ /*!50003 SET SESSION SQL_MODE=@TEMP_SQL_MODE */ $$ DELIMITER ; /*!40101 SET SQL_MODE=@OLD_SQL_MODE */; /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; \ No newline at end of file
swganh/mmoserverdb
042d643d833dbcd56a10e2514cc9ce960c919047
more sql fixes
diff --git a/locomotion_snow.sql b/locomotion_snow.sql new file mode 100644 index 0000000..fe87091 --- /dev/null +++ b/locomotion_snow.sql @@ -0,0 +1,771 @@ +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%actionShot1%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%actionShot2%'; +UPDATE command_table SET deny_in_locomotion = 4194301 WHERE commandname LIKE '%activateClone%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%activateQuest%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%addAllowedPlayer%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%addBannedPlayer%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%addFriend%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%addIgnore%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%addMapLocation%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%addPower%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%adjustLotCount%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%aiIgnore%'; +UPDATE command_table SET deny_in_locomotion = 72191 WHERE commandname LIKE '%aim%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%alert%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%animalAttack%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%animalCalm%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%animalScare%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%anon%'; +UPDATE command_table SET deny_in_locomotion = 96639 WHERE commandname LIKE '%applyDisease%'; +UPDATE command_table SET deny_in_locomotion = 96639 WHERE commandname LIKE '%applyPoison%'; +UPDATE command_table SET deny_in_locomotion = 14 WHERE commandname LIKE '%applyPowerup%'; +UPDATE command_table SET deny_in_locomotion = 8063 WHERE commandname LIKE '%areatrack%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%assignDroid%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%assist%'; +UPDATE command_table SET deny_in_locomotion = 6 WHERE commandname LIKE '%associateDroidControlDeviceWithShip%'; +UPDATE command_table SET deny_in_locomotion = 73727 WHERE commandname LIKE '%attack%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%auction%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%auctionAccept%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%auctionBid%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%auctionCancel%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%auctionCreate%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%auctionQuery%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%auctionRetrieve%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%auctionsay%'; +UPDATE command_table SET deny_in_locomotion = 1121911 WHERE commandname LIKE '%avoidIncapacitation%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%bandFlourish%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%battlefieldStatus%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%berserk1%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%berserk2%'; +UPDATE command_table SET deny_in_locomotion = 6 WHERE commandname LIKE '%bet%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%bleedingShot%'; +UPDATE command_table SET deny_in_locomotion = 73727 WHERE commandname LIKE '%blindAttack%'; +UPDATE command_table SET deny_in_locomotion = 1310719 WHERE commandname LIKE '%boardShuttle%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%bodyShot1%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%bodyShot2%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%bodyShot3%'; +UPDATE command_table SET deny_in_locomotion = 1056767 WHERE commandname LIKE '%boostmorale%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%broadcast%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%broadcastArea%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%broadcastGalaxy%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%broadcastPlanet%'; +UPDATE command_table SET deny_in_locomotion = 1310719 WHERE commandname LIKE '%burstRun%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%burstShot1%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%burstShot2%'; +UPDATE command_table SET deny_in_locomotion = 6 WHERE commandname LIKE '%cancelCraftingSession%'; +UPDATE command_table SET deny_in_locomotion = 1122255 WHERE commandname LIKE '%centerOfBeing%'; +UPDATE command_table SET deny_in_locomotion = 1572799 WHERE commandname LIKE '%changeBandMusic%'; +UPDATE command_table SET deny_in_locomotion = 1572799 WHERE commandname LIKE '%changeDance%'; +UPDATE command_table SET deny_in_locomotion = 1572799 WHERE commandname LIKE '%changeMusic%'; +UPDATE command_table SET deny_in_locomotion = 1121911 WHERE commandname LIKE '%channelForce%'; +UPDATE command_table SET deny_in_locomotion = 1269759 WHERE commandname LIKE '%chargeShot1%'; +UPDATE command_table SET deny_in_locomotion = 1269759 WHERE commandname LIKE '%chargeShot2%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%checkForceStatus%'; +UPDATE command_table SET deny_in_locomotion = 8160 WHERE commandname LIKE '%cityban%'; +UPDATE command_table SET deny_in_locomotion = 8160 WHERE commandname LIKE '%citypardon%'; +UPDATE command_table SET deny_in_locomotion = 1949311 WHERE commandname LIKE '%claimVeteranReward%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%clearCompletedQuest%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%clearVeteranReward%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%clientQualifiedForSkill%'; +UPDATE command_table SET deny_in_locomotion = 1310719 WHERE commandname LIKE '%clone%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%closeContainer%'; +UPDATE command_table SET deny_in_locomotion = 1572799 WHERE commandname LIKE '%colorlights%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%combat%'; +UPDATE command_table SET deny_in_locomotion = 4 WHERE commandname LIKE '%combatEscape%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%combatModeCheck%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%combatSpam%'; +UPDATE command_table SET deny_in_locomotion = 73727 WHERE commandname LIKE '%combatTarget%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%completeQuest%'; +UPDATE command_table SET deny_in_locomotion = 8063 WHERE commandname LIKE '%conceal%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%concealShot%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%confusionShot%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%consent%'; +UPDATE command_table SET deny_in_locomotion = 6 WHERE commandname LIKE '%corpse%'; +UPDATE command_table SET deny_in_locomotion = 72191 WHERE commandname LIKE '%counterAttack%'; +UPDATE command_table SET deny_in_locomotion = 72191 WHERE commandname LIKE '%coupDeGrace%'; +UPDATE command_table SET deny_in_locomotion = 1312383 WHERE commandname LIKE '%craft%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%createCreature%'; +UPDATE command_table SET deny_in_locomotion = 6 WHERE commandname LIKE '%createManfSchematic%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%createMissionElement%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%createNPC%'; +UPDATE command_table SET deny_in_locomotion = 6 WHERE commandname LIKE '%createPrototype%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%createSpawningElement%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%createSpawningElementWithDifficulty%'; +UPDATE command_table SET deny_in_locomotion = 73727 WHERE commandname LIKE '%creatureAreaAttack%'; +UPDATE command_table SET deny_in_locomotion = 73727 WHERE commandname LIKE '%creatureAreaBleeding%'; +UPDATE command_table SET deny_in_locomotion = 73727 WHERE commandname LIKE '%creatureAreaCombo%'; +UPDATE command_table SET deny_in_locomotion = 73727 WHERE commandname LIKE '%creatureAreaDisease%'; +UPDATE command_table SET deny_in_locomotion = 73727 WHERE commandname LIKE '%creatureAreaKnockdown%'; +UPDATE command_table SET deny_in_locomotion = 73727 WHERE commandname LIKE '%creatureAreaPoison%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%credits%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%cripplingShot%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%csAppendComment%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%csCancelTicket%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%csConnectPlayer%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%csCreateTicket%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%csDisconnectPlayer%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%csGetArticle%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%csGetComments%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%csGetTickets%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%csRequestCategories%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%csSearchKnowledgeBase%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%cuiConsentResponse%'; +UPDATE command_table SET deny_in_locomotion = 96639 WHERE commandname LIKE '%cureDisease%'; +UPDATE command_table SET deny_in_locomotion = 96639 WHERE commandname LIKE '%curePoison%'; +UPDATE command_table SET deny_in_locomotion = 96639 WHERE commandname LIKE '%customizeDroid%'; +UPDATE command_table SET deny_in_locomotion = 96639 WHERE commandname LIKE '%customizeVehicle%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%database%'; +UPDATE command_table SET deny_in_locomotion = 1572799 WHERE commandname LIKE '%dazzle%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%deactivateQuest%'; +UPDATE command_table SET deny_in_locomotion = 72191 WHERE commandname LIKE '%deathBlow%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%deathCount%'; +UPDATE command_table SET deny_in_locomotion = 6 WHERE commandname LIKE '%declareOvert%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%declareresidence%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%decline%'; +UPDATE command_table SET deny_in_locomotion = 73727 WHERE commandname LIKE '%defaultAttack%'; +UPDATE command_table SET deny_in_locomotion = 8191 WHERE commandname LIKE '%defuseMinefield%'; +UPDATE command_table SET deny_in_locomotion = 6 WHERE commandname LIKE '%delegateFactionPoints%'; +UPDATE command_table SET deny_in_locomotion = 6 WHERE commandname LIKE '%denyService%'; +UPDATE command_table SET deny_in_locomotion = 1572863 WHERE commandname LIKE '%deployTrap%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%destroy%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%destroystructure%'; +UPDATE command_table SET deny_in_locomotion = 96639 WHERE commandname LIKE '%detonateDroid%'; +UPDATE command_table SET deny_in_locomotion = 96639 WHERE commandname LIKE '%diagnose%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%disarmingShot1%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%disarmingShot2%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%disband%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%dismissGroupMember%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%dismount%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%dismountandstore%'; +UPDATE command_table SET deny_in_locomotion = 1572799 WHERE commandname LIKE '%distract%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%diveShot%'; +UPDATE command_table SET deny_in_locomotion = 73727 WHERE commandname LIKE '%dizzyAttack%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%doubleTap%'; +UPDATE command_table SET deny_in_locomotion = 1310719 WHERE commandname LIKE '%dragIncapacitatedPlayer%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%drainForce%'; +UPDATE command_table SET deny_in_locomotion = 4 WHERE commandname LIKE '%duel%'; +UPDATE command_table SET deny_in_locomotion = 6 WHERE commandname LIKE '%dumpTargetInformation%'; +UPDATE command_table SET deny_in_locomotion = 6 WHERE commandname LIKE '%dumpZoneInformation%'; +UPDATE command_table SET deny_in_locomotion = 6 WHERE commandname LIKE '%eat%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%editAppearance%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%editBank%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%editBankAccount%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%editStats%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%emboldenpets%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%emptyMailTarget%'; +UPDATE command_table SET deny_in_locomotion = 4 WHERE commandname LIKE '%endDuel%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%enragepets%'; +UPDATE command_table SET deny_in_locomotion = 1120334 WHERE commandname LIKE '%equilibrium%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%executeKnowledgeBaseMessage%'; +UPDATE command_table SET deny_in_locomotion = 96639 WHERE commandname LIKE '%extinguishFire%'; +UPDATE command_table SET deny_in_locomotion = 6 WHERE commandname LIKE '%extractObject%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%eyeShot%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%factoryCrateSplit%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%fanShot%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%fastBlast%'; +UPDATE command_table SET deny_in_locomotion = 106495 WHERE commandname LIKE '%feignDeath%'; +UPDATE command_table SET deny_in_locomotion = 6 WHERE commandname LIKE '%find%'; +UPDATE command_table SET deny_in_locomotion = 6 WHERE commandname LIKE '%findFriend%'; +UPDATE command_table SET deny_in_locomotion = 6 WHERE commandname LIKE '%findFriend%'; +UPDATE command_table SET deny_in_locomotion = 6 WHERE commandname LIKE '%findMyTrainer%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%findObject%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%findPlayer%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%fireAcidCone1%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%fireAcidCone2%'; +UPDATE command_table SET deny_in_locomotion = 1138687 WHERE commandname LIKE '%fireAcidSingle1%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%fireAcidSingle2%'; +UPDATE command_table SET deny_in_locomotion = 72191 WHERE commandname LIKE '%fireHeavyWeapon%'; +UPDATE command_table SET deny_in_locomotion = 1572799 WHERE commandname LIKE '%firejet%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%fireLightningCone1%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%fireLightningCone2%'; +UPDATE command_table SET deny_in_locomotion = 1138687 WHERE commandname LIKE '%fireLightningSingle1%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%fireLightningSingle2%'; +UPDATE command_table SET deny_in_locomotion = 96639 WHERE commandname LIKE '%firstAid%'; +UPDATE command_table SET deny_in_locomotion = 2097151 WHERE commandname LIKE '%fish%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%flameCone1%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%flameCone2%'; +UPDATE command_table SET deny_in_locomotion = 1138687 WHERE commandname LIKE '%flameSingle1%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%flameSingle2%'; +UPDATE command_table SET deny_in_locomotion = 1572863 WHERE commandname LIKE '%flashSpeeder%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%flourish%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%flurryShot1%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%flurryShot2%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%flushingShot1%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%flushingShot2%'; +UPDATE command_table SET deny_in_locomotion = 1572863 WHERE commandname LIKE '%forage%'; +UPDATE command_table SET deny_in_locomotion = 1122295 WHERE commandname LIKE '%forceAbsorb1%'; +UPDATE command_table SET deny_in_locomotion = 1122295 WHERE commandname LIKE '%forceAbsorb2%'; +UPDATE command_table SET deny_in_locomotion = 1122295 WHERE commandname LIKE '%forceArmor1%'; +UPDATE command_table SET deny_in_locomotion = 1122295 WHERE commandname LIKE '%forceArmor2%'; +UPDATE command_table SET deny_in_locomotion = 1121911 WHERE commandname LIKE '%forceChoke%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%forceCommand%'; +UPDATE command_table SET deny_in_locomotion = 1121911 WHERE commandname LIKE '%forceCureDisease%'; +UPDATE command_table SET deny_in_locomotion = 1121911 WHERE commandname LIKE '%forceCurePoison%'; +UPDATE command_table SET deny_in_locomotion = 1122295 WHERE commandname LIKE '%forceFeedback1%'; +UPDATE command_table SET deny_in_locomotion = 1122295 WHERE commandname LIKE '%forceFeedback2%'; +UPDATE command_table SET deny_in_locomotion = 1121911 WHERE commandname LIKE '%forceIntimidate1%'; +UPDATE command_table SET deny_in_locomotion = 1121911 WHERE commandname LIKE '%forceIntimidate2%'; +UPDATE command_table SET deny_in_locomotion = 1121911 WHERE commandname LIKE '%forceKnockdown1%'; +UPDATE command_table SET deny_in_locomotion = 1121911 WHERE commandname LIKE '%forceKnockdown2%'; +UPDATE command_table SET deny_in_locomotion = 1121911 WHERE commandname LIKE '%forceKnockdown3%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%forceLightningCone1%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%forceLightningCone2%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%forceLightningSingle1%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%forceLightningSingle2%'; +UPDATE command_table SET deny_in_locomotion = 1121919 WHERE commandname LIKE '%forceMeditate%'; +UPDATE command_table SET deny_in_locomotion = 4186107 WHERE commandname LIKE '%forceOfWill%'; +UPDATE command_table SET deny_in_locomotion = 1122295 WHERE commandname LIKE '%forceProtection%'; +UPDATE command_table SET deny_in_locomotion = 1121911 WHERE commandname LIKE '%forceResistBleeding%'; +UPDATE command_table SET deny_in_locomotion = 1121911 WHERE commandname LIKE '%forceResistDisease%'; +UPDATE command_table SET deny_in_locomotion = 1121911 WHERE commandname LIKE '%forceResistPoison%'; +UPDATE command_table SET deny_in_locomotion = 1121911 WHERE commandname LIKE '%forceResistStates%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%forceRun1%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%forceRun2%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%forceRun3%'; +UPDATE command_table SET deny_in_locomotion = 1122295 WHERE commandname LIKE '%forceShield1%'; +UPDATE command_table SET deny_in_locomotion = 1122295 WHERE commandname LIKE '%forceShield2%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%forceSpeed1%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%forceSpeed2%'; +UPDATE command_table SET deny_in_locomotion = 1121911 WHERE commandname LIKE '%forceThrow1%'; +UPDATE command_table SET deny_in_locomotion = 1121911 WHERE commandname LIKE '%forceThrow2%'; +UPDATE command_table SET deny_in_locomotion = 1121911 WHERE commandname LIKE '%forceWeaken1%'; +UPDATE command_table SET deny_in_locomotion = 1121911 WHERE commandname LIKE '%forceWeaken2%'; +UPDATE command_table SET deny_in_locomotion = 1310719 WHERE commandname LIKE '%formup%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%freezePlayer%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%fullAutoArea1%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%fullAutoArea2%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%fullAutoSingle1%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%fullAutoSingle2%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%g%'; +UPDATE command_table SET deny_in_locomotion = 1122255 WHERE commandname LIKE '%gallop%'; +UPDATE command_table SET deny_in_locomotion = 1122255 WHERE commandname LIKE '%gallopStop%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%gc%'; +UPDATE command_table SET deny_in_locomotion = 6 WHERE commandname LIKE '%gcwStatus%'; +UPDATE command_table SET deny_in_locomotion = 6 WHERE commandname LIKE '%generateCraftedItem%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%getAccountInfo%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%getAttributes%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%getAttributesBatch%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%getFriendList%'; +UPDATE command_table SET deny_in_locomotion = 6 WHERE commandname LIKE '%getGameTime%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%getIgnoreList%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%getMapLocations%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%getObjVars%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%getPlayerId%'; +UPDATE command_table SET deny_in_locomotion = 1115711 WHERE commandname LIKE '%getPrototype%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%getRank%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%getSpawnDelays%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%getStationName%'; +UPDATE command_table SET deny_in_locomotion = 6 WHERE commandname LIKE '%getVeteranRewardTime%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%getVeteranRewardTimeCs%'; +UPDATE command_table SET deny_in_locomotion = 14 WHERE commandname LIKE '%giveItem%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%giveMaintenanceToVendor%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%givevendormaint%'; +UPDATE command_table SET deny_in_locomotion = 6 WHERE commandname LIKE '%gmForceCommand%'; +UPDATE command_table SET deny_in_locomotion = 6 WHERE commandname LIKE '%gmCreateClassResource%'; +UPDATE command_table SET deny_in_locomotion = 6 WHERE commandname LIKE '%gmCreateSpecificResource%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%gmForceRank%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%gmFsVillage%'; +UPDATE command_table SET deny_in_locomotion = 6 WHERE commandname LIKE '%gmJediState%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%gmRevive%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%goto%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%grantBadge%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%grantPadawanTrialsEligibility%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%grantSkill%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%grantTitle%'; +UPDATE command_table SET deny_in_locomotion = 8160 WHERE commandname LIKE '%grantZoningRights%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%groupChat%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%groupSay%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%gsay%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%gtell%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%guild%'; +UPDATE command_table SET deny_in_locomotion = 6 WHERE commandname LIKE '%guildremove%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%guildsay%'; +UPDATE command_table SET deny_in_locomotion = 6 WHERE commandname LIKE '%guildstatus%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%harmful%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%harmless%'; +UPDATE command_table SET deny_in_locomotion = 1179647 WHERE commandname LIKE '%harvestCorpse%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%harvesterActivate%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%harvesterDeactivate%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%harvesterDiscardHopper%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%harvesterGetResourceData%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%harvesterHarvest%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%harvesterMakeCrate%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%harvesterSelectResource%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%harvesterTakeSurvey%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%hasVeteranReward%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%haveconsent%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%headShot1%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%headShot2%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%headShot3%'; +UPDATE command_table SET deny_in_locomotion = 1121911 WHERE commandname LIKE '%healActionSelf1%'; +UPDATE command_table SET deny_in_locomotion = 1121911 WHERE commandname LIKE '%healActionSelf2%'; +UPDATE command_table SET deny_in_locomotion = 1121911 WHERE commandname LIKE '%healActionWoundOther1%'; +UPDATE command_table SET deny_in_locomotion = 1121911 WHERE commandname LIKE '%healActionWoundOther2%'; +UPDATE command_table SET deny_in_locomotion = 1121911 WHERE commandname LIKE '%healActionWoundSelf1%'; +UPDATE command_table SET deny_in_locomotion = 1121911 WHERE commandname LIKE '%healActionWoundSelf2%'; +UPDATE command_table SET deny_in_locomotion = 1121911 WHERE commandname LIKE '%healAllOther1%'; +UPDATE command_table SET deny_in_locomotion = 1121911 WHERE commandname LIKE '%healAllOther2%'; +UPDATE command_table SET deny_in_locomotion = 1121911 WHERE commandname LIKE '%healAllSelf1%'; +UPDATE command_table SET deny_in_locomotion = 1121911 WHERE commandname LIKE '%healAllSelf2%'; +UPDATE command_table SET deny_in_locomotion = 1121911 WHERE commandname LIKE '%healBattleFatigueOther1%'; +UPDATE command_table SET deny_in_locomotion = 1121911 WHERE commandname LIKE '%healBattleFatigueOther2%'; +UPDATE command_table SET deny_in_locomotion = 1121911 WHERE commandname LIKE '%healBattleFatigueSelf1%'; +UPDATE command_table SET deny_in_locomotion = 1121911 WHERE commandname LIKE '%healBattleFatigueSelf2%'; +UPDATE command_table SET deny_in_locomotion = 96639 WHERE commandname LIKE '%healDamage%'; +UPDATE command_table SET deny_in_locomotion = 96639 WHERE commandname LIKE '%healDroidDamage%'; +UPDATE command_table SET deny_in_locomotion = 96639 WHERE commandname LIKE '%healDroidWound%'; +UPDATE command_table SET deny_in_locomotion = 96639 WHERE commandname LIKE '%healEnhance%'; +UPDATE command_table SET deny_in_locomotion = 1121911 WHERE commandname LIKE '%healHealthSelf1%'; +UPDATE command_table SET deny_in_locomotion = 1121911 WHERE commandname LIKE '%healHealthSelf2%'; +UPDATE command_table SET deny_in_locomotion = 1121911 WHERE commandname LIKE '%healHealthWoundOther1%'; +UPDATE command_table SET deny_in_locomotion = 1121911 WHERE commandname LIKE '%healHealthWoundOther2%'; +UPDATE command_table SET deny_in_locomotion = 1121911 WHERE commandname LIKE '%healHealthWoundSelf1%'; +UPDATE command_table SET deny_in_locomotion = 1121911 WHERE commandname LIKE '%healHealthWoundSelf2%'; +UPDATE command_table SET deny_in_locomotion = 96639 WHERE commandname LIKE '%healMind%'; +UPDATE command_table SET deny_in_locomotion = 1121911 WHERE commandname LIKE '%healMindSelf1%'; +UPDATE command_table SET deny_in_locomotion = 1121911 WHERE commandname LIKE '%healMindSelf2%'; +UPDATE command_table SET deny_in_locomotion = 1121911 WHERE commandname LIKE '%healMindWoundOther1%'; +UPDATE command_table SET deny_in_locomotion = 1121911 WHERE commandname LIKE '%healMindWoundOther2%'; +UPDATE command_table SET deny_in_locomotion = 1121911 WHERE commandname LIKE '%healMindWoundSelf1%'; +UPDATE command_table SET deny_in_locomotion = 1121911 WHERE commandname LIKE '%healMindWoundSelf2%'; +UPDATE command_table SET deny_in_locomotion = 96639 WHERE commandname LIKE '%healPet%'; +UPDATE command_table SET deny_in_locomotion = 96639 WHERE commandname LIKE '%healState%'; +UPDATE command_table SET deny_in_locomotion = 1121911 WHERE commandname LIKE '%healStatesOther%'; +UPDATE command_table SET deny_in_locomotion = 1121911 WHERE commandname LIKE '%healStatesSelf%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%healthShot1%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%healthShot2%'; +UPDATE command_table SET deny_in_locomotion = 96639 WHERE commandname LIKE '%healWound%'; +UPDATE command_table SET deny_in_locomotion = 6 WHERE commandname LIKE '%holoEmote%'; +UPDATE command_table SET deny_in_locomotion = 96639 WHERE commandname LIKE '%imagedesign%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%initializeComponent%'; +UPDATE command_table SET deny_in_locomotion = 1309134 WHERE commandname LIKE '%innate%'; +UPDATE command_table SET deny_in_locomotion = 6 WHERE commandname LIKE '%insertItemIntoShipComponentSlot%'; +UPDATE command_table SET deny_in_locomotion = 8160 WHERE commandname LIKE '%installMissionTerminal%'; +UPDATE command_table SET deny_in_locomotion = 6 WHERE commandname LIKE '%installShipComponent%'; +UPDATE command_table SET deny_in_locomotion = 1310719 WHERE commandname LIKE '%insure%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%intimidate1%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%intimidate2%'; +UPDATE command_table SET deny_in_locomotion = 73727 WHERE commandname LIKE '%intimidationAttack%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%invite%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%invulnerable%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%itemmoveback%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%itemmovedown%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%itemmoveforward%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%itemmoveup%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%itemrotateleft%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%itemrotateright%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%jediMindTrick%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%join%'; +UPDATE command_table SET deny_in_locomotion = 6 WHERE commandname LIKE '%joinGame%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%kick%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%kill%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%killPlayer%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%kipUpShot%'; +UPDATE command_table SET deny_in_locomotion = 1910 WHERE commandname LIKE '%kneel%'; +UPDATE command_table SET deny_in_locomotion = 73727 WHERE commandname LIKE '%knockdownAttack%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%knockdownFire%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%lag%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%lastDitch%'; +UPDATE command_table SET deny_in_locomotion = 1146879 WHERE commandname LIKE '%launchFirework%'; +UPDATE command_table SET deny_in_locomotion = 6 WHERE commandname LIKE '%leaveGame%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%leaveGroup%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%legShot1%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%legShot2%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%legShot3%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%lfg%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%listActiveQuests%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%listCompletedQuests%'; +UPDATE command_table SET deny_in_locomotion = 1572735 WHERE commandname LIKE '%listen%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%listGuilds%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%logoutServer%'; +UPDATE command_table SET deny_in_locomotion = 6 WHERE commandname LIKE '%loot%'; +UPDATE command_table SET deny_in_locomotion = 6 WHERE commandname LIKE '%lootPlayerCorpse%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%lowBlow%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%makeLeader%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%makeMasterLooter%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%makeSurvey%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%manufacture%'; +UPDATE command_table SET deny_in_locomotion = 8063 WHERE commandname LIKE '%maskscent%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%maxCombatAbility%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%maxStats%'; +UPDATE command_table SET deny_in_locomotion = 1572863 WHERE commandname LIKE '%medicalForage%'; +UPDATE command_table SET deny_in_locomotion = 1416831 WHERE commandname LIKE '%meditate%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%melee1hBlindHit1%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%melee1hBlindHit2%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%melee1hBodyHit1%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%melee1hBodyHit2%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%melee1hBodyHit3%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%melee1hDizzyHit1%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%melee1hDizzyHit2%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%melee1hHealthHit1%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%melee1hHealthHit2%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%melee1hHit1%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%melee1hHit2%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%melee1hHit3%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%melee1hLunge1%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%melee1hLunge2%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%melee1hScatterHit1%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%melee1hScatterHit2%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%melee1hSpinAttack1%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%melee1hSpinAttack2%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%melee2hArea1%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%melee2hArea2%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%melee2hArea3%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%melee2hHeadHit1%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%melee2hHeadHit2%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%melee2hHeadHit3%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%melee2hHit1%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%melee2hHit2%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%melee2hHit3%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%melee2hLunge1%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%melee2hLunge2%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%melee2hMindHit1%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%melee2hMindHit2%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%melee2hSpinAttack1%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%melee2hSpinAttack2%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%melee2hSweep1%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%melee2hSweep2%'; +UPDATE command_table SET deny_in_locomotion = 1121911 WHERE commandname LIKE '%mindBlast1%'; +UPDATE command_table SET deny_in_locomotion = 1121911 WHERE commandname LIKE '%mindBlast2%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%mindShot1%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%mindShot2%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%money%'; +UPDATE command_table SET deny_in_locomotion = 1310719 WHERE commandname LIKE '%mount%'; +UPDATE command_table SET deny_in_locomotion = 1121855 WHERE commandname LIKE '%moveFurniture%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%multiTargetPistolShot%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%multiTargetShot%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%nameStructure%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%newbiehelper%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%newbieRequestStartingLocations%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%newbieSelectStartingLocation%'; +UPDATE command_table SET deny_in_locomotion = 6 WHERE commandname LIKE '%nextCraftingStage%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%npc%'; +UPDATE command_table SET deny_in_locomotion = 1114686 WHERE commandname LIKE '%npcConversationSelect%'; +UPDATE command_table SET deny_in_locomotion = 1114686 WHERE commandname LIKE '%npcConversationStart%'; +UPDATE command_table SET deny_in_locomotion = 1114686 WHERE commandname LIKE '%npcConversationStop%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%object%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%objvar%'; +UPDATE command_table SET deny_in_locomotion = 6 WHERE commandname LIKE '%openContainer%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%overChargeShot1%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%overChargeShot2%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%overrideActiveMonths%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%overridePadawanTrialsEligibility%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%panicShot%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%pauseDance%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%pauseMusic%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%paWithdraw%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%paymaintenance%'; +UPDATE command_table SET deny_in_locomotion = 4 WHERE commandname LIKE '%peace%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%permissionListModify%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%pistolMeleeDefense1%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%pistolMeleeDefense2%'; +UPDATE command_table SET deny_in_locomotion = 1572863 WHERE commandname LIKE '%placeBattlefieldStructure%'; +UPDATE command_table SET deny_in_locomotion = 1384319 WHERE commandname LIKE '%placeStructure%'; +UPDATE command_table SET deny_in_locomotion = 1572863 WHERE commandname LIKE '%placeStructureMode%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%planet%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%planetsay%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%planetwarp%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%planetwarpTarget%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%pointBlankArea1%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%pointBlankArea2%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%pointBlankSingle1%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%pointBlankSingle2%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%polearmActionHit1%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%polearmActionHit2%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%polearmArea1%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%polearmArea2%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%polearmHit1%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%polearmHit2%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%polearmHit3%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%polearmLegHit1%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%polearmLegHit2%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%polearmLegHit3%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%polearmLunge1%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%polearmLunge2%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%polearmSpinAttack1%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%polearmSpinAttack2%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%polearmStun1%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%polearmStun2%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%polearmSweep1%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%polearmSweep2%'; +UPDATE command_table SET deny_in_locomotion = 73727 WHERE commandname LIKE '%postureDownAttack%'; +UPDATE command_table SET deny_in_locomotion = 73727 WHERE commandname LIKE '%postureUpAttack%'; +UPDATE command_table SET deny_in_locomotion = 4185983 WHERE commandname LIKE '%powerBoost%'; +UPDATE command_table SET deny_in_locomotion = 1910 WHERE commandname LIKE '%prone%'; +UPDATE command_table SET deny_in_locomotion = 1572863 WHERE commandname LIKE '%purchaseReinforcement%'; +UPDATE command_table SET deny_in_locomotion = 1121855 WHERE commandname LIKE '%purchaseTicket%'; +UPDATE command_table SET deny_in_locomotion = 96639 WHERE commandname LIKE '%quickHeal%'; +UPDATE command_table SET deny_in_locomotion = 72191 WHERE commandname LIKE '%rally%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%reconnectToTransferServer%'; +UPDATE command_table SET deny_in_locomotion = 8160 WHERE commandname LIKE '%recruitSkillTrainer%'; +UPDATE command_table SET deny_in_locomotion = 4194301 WHERE commandname LIKE '%regainConsciousness%'; +UPDATE command_table SET deny_in_locomotion = 1120334 WHERE commandname LIKE '%regeneration%'; +UPDATE command_table SET deny_in_locomotion = 6 WHERE commandname LIKE '%registerWithLocation%'; +UPDATE command_table SET deny_in_locomotion = 1122047 WHERE commandname LIKE '%reload%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%remote%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%removeAllowedPlayer%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%removeBannedPlayer%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%removeFriend%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%removeIgnore%'; +UPDATE command_table SET deny_in_locomotion = 1572863 WHERE commandname LIKE '%repairBattlefieldStructure%'; +UPDATE command_table SET deny_in_locomotion = 6 WHERE commandname LIKE '%repairShipComponentInSlot%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%report%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%requestBadges%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%requestBiography%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%requestCharacterMatch%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%requestCharacterSheetInfo%'; +UPDATE command_table SET deny_in_locomotion = 8110 WHERE commandname LIKE '%requestCoreSample%'; +UPDATE command_table SET deny_in_locomotion = 1050239 WHERE commandname LIKE '%requestCraftingSession%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%requestDraftSlots%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%requestDraftSlotsBatch%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%requestManfSchematicSlots%'; +UPDATE command_table SET deny_in_locomotion = 6 WHERE commandname LIKE '%requestResourceWeights%'; +UPDATE command_table SET deny_in_locomotion = 6 WHERE commandname LIKE '%requestResourceWeightsBatch%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%requestSetStatMigrationData%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%requestStatMigrationData%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%requestStatMigrationStart%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%requestStatMigrationStop%'; +UPDATE command_table SET deny_in_locomotion = 96639 WHERE commandname LIKE '%requestStimpack%'; +UPDATE command_table SET deny_in_locomotion = 7950 WHERE commandname LIKE '%requestSurvey%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%requestWaypointAtPosition%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%rescue%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%resendLoginMessageToAll%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%resetJedi%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%resource%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%resourceContainerSplit%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%resourceContainerTransfer%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%resourceSetName%'; +UPDATE command_table SET deny_in_locomotion = 1383983 WHERE commandname LIKE '%resSampleLoop%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%restartConversion%'; +UPDATE command_table SET deny_in_locomotion = 1050175 WHERE commandname LIKE '%restartCraftingSession%'; +UPDATE command_table SET deny_in_locomotion = 1310719 WHERE commandname LIKE '%retreat%'; +UPDATE command_table SET deny_in_locomotion = 1179647 WHERE commandname LIKE '%revivePlayer%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%revokeBadge%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%revokeSkill%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%rolePlay%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%rollShot%'; +UPDATE command_table SET deny_in_locomotion = 1121855 WHERE commandname LIKE '%rotateFurniture%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%saber1hComboHit1%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%saber1hComboHit2%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%saber1hComboHit3%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%saber1hFlurry%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%saber1hFlurry2%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%saber1hHeadHit1%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%saber1hHeadHit2%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%saber1hHeadHit3%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%saber1hHit1%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%saber1hHit2%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%saber1hHit3%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%saber2hBodyHit1%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%saber2hBodyHit2%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%saber2hBodyHit3%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%saber2hFrenzy%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%saber2hHit1%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%saber2hHit2%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%saber2hHit3%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%saber2hPhantom%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%saber2hSweep1%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%saber2hSweep2%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%saber2hSweep3%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%saberPolearmDervish%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%saberPolearmDervish2%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%saberPolearmHit1%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%saberPolearmHit2%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%saberPolearmHit3%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%saberPolearmLegHit1%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%saberPolearmLegHit2%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%saberPolearmLegHit3%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%saberPolearmSpinAttack1%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%saberPolearmSpinAttack2%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%saberPolearmSpinAttack3%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%saberSlash1%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%saberSlash2%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%saberThrow1%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%saberThrow2%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%saberThrow3%'; +UPDATE command_table SET deny_in_locomotion = 8174 WHERE commandname LIKE '%sample%'; +UPDATE command_table SET deny_in_locomotion = 1171455 WHERE commandname LIKE '%sampleDNA%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%scatterShot1%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%scatterShot2%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%script%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%searchCorpse%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%secretSpawnSpam%'; +UPDATE command_table SET deny_in_locomotion = 7790 WHERE commandname LIKE '%seGoggles%'; +UPDATE command_table SET deny_in_locomotion = 6 WHERE commandname LIKE '%selectDraftSchematic%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%server%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%serverDestroyObject%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%serverSysGroup%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%setBiographyAdmin%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%setBiography%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%setBoostmorale%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%setCharge%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%setCurrentSkillTitle%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%setExperience%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%setFaction%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%setFactionStanding%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%setFirstName%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%setFormup%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%setGodMode%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%setHue%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%setIntimidate%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%setLastName%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%setLoginMessage%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%setLoginTitle%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%setMatchMakingCharacterId%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%setMatchMakingPersonalId%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%setMaximumSpawnTime%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%setMinimumSpawnTime%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%setMood%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%setMoodInternal%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%setName%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%setName%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%setOwner%'; +UPDATE command_table SET deny_in_locomotion = 6 WHERE commandname LIKE '%setPerformanceBuffTarget%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%setpermission%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%setPlanetLimit%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%setPlayerAppearance%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%setPlayerState%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%setprivacy%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%setPublicState%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%setRank%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%setRetreat%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%setSpeed%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%setSpokenLanguage%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%setSteadyaim%'; +UPDATE command_table SET deny_in_locomotion = 6 WHERE commandname LIKE '%setTEF%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%setVeteranReward%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%setWarcry%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%setWaypointActiveStatus%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%setWaypointName%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%showCouncilRank%'; +UPDATE command_table SET deny_in_locomotion = 1572799 WHERE commandname LIKE '%showDanceVisuals%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%showFactionInformation%'; +UPDATE command_table SET deny_in_locomotion = 1572799 WHERE commandname LIKE '%showMusicianVisuals%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%showPvPRating%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%showSpawnRegion%'; +UPDATE command_table SET deny_in_locomotion = 510 WHERE commandname LIKE '%sitServer%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%skill%'; +UPDATE command_table SET deny_in_locomotion = 1572799 WHERE commandname LIKE '%smokebomb%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%sniperShot%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%snoop%'; +UPDATE command_table SET deny_in_locomotion = 6 WHERE commandname LIKE '%social%'; +UPDATE command_table SET deny_in_locomotion = 6 WHERE commandname LIKE '%socialInternal%'; +UPDATE command_table SET deny_in_locomotion = 6 WHERE commandname LIKE '%spatialChat%'; +UPDATE command_table SET deny_in_locomotion = 6 WHERE commandname LIKE '%spatialChatInternal%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%spawnStatus%'; +UPDATE command_table SET deny_in_locomotion = 6 WHERE commandname LIKE '%splitCreditsWithGroup%'; +UPDATE command_table SET deny_in_locomotion = 1572799 WHERE commandname LIKE '%spotlight%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%sprayShot%'; +UPDATE command_table SET deny_in_locomotion = 1590 WHERE commandname LIKE '%stand%'; +UPDATE command_table SET deny_in_locomotion = 1572863 WHERE commandname LIKE '%startBand%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%startCitySpawner%'; +UPDATE command_table SET deny_in_locomotion = 1572863 WHERE commandname LIKE '%startDance%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%startleShot1%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%startleShot2%'; +UPDATE command_table SET deny_in_locomotion = 1572863 WHERE commandname LIKE '%startMusic%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%startSpawner%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%startTargetSpawner%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%startTraceLogging%'; +UPDATE command_table SET deny_in_locomotion = 6 WHERE commandname LIKE '%stat%'; +UPDATE command_table SET deny_in_locomotion = 72191 WHERE commandname LIKE '%steadyaim%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%stopBand%'; +UPDATE command_table SET deny_in_locomotion = 1121911 WHERE commandname LIKE '%stopBleeding%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%stopCitySpawner%'; +UPDATE command_table SET deny_in_locomotion = 6 WHERE commandname LIKE '%stopCraftingSession%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%stopDance%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%stoplistening%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%stopMusic%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%stoppingShot%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%stopSpawner%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%stopTargetSpawner%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%stopTraceLogging%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%stopwatching%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%strafeShot1%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%strafeShot2%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%structurestatus%'; +UPDATE command_table SET deny_in_locomotion = 73727 WHERE commandname LIKE '%stunAttack%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%suppressionFire1%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%suppressionFire2%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%surpriseShot%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%surrenderSkill%'; +UPDATE command_table SET deny_in_locomotion = 8174 WHERE commandname LIKE '%survey%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%synchronizedUiListen%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%synchronizedUiStopListening%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%systemMessage%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%takeCover%'; +UPDATE command_table SET deny_in_locomotion = 62 WHERE commandname LIKE '%tame%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%target%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%taunt%'; +UPDATE command_table SET deny_in_locomotion = 1073023 WHERE commandname LIKE '%teach%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%teleport%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%teleportTarget%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%teleportTo%'; +UPDATE command_table SET deny_in_locomotion = 6 WHERE commandname LIKE '%tellpet%'; +UPDATE command_table SET deny_in_locomotion = 96639 WHERE commandname LIKE '%tendDamage%'; +UPDATE command_table SET deny_in_locomotion = 96639 WHERE commandname LIKE '%tendDamageTool%'; +UPDATE command_table SET deny_in_locomotion = 96639 WHERE commandname LIKE '%tendWound%'; +UPDATE command_table SET deny_in_locomotion = 96639 WHERE commandname LIKE '%tendWoundsTool%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%threatenShot%'; +UPDATE command_table SET deny_in_locomotion = 72191 WHERE commandname LIKE '%throwGrenade%'; +UPDATE command_table SET deny_in_locomotion = 73727 WHERE commandname LIKE '%throwTrap%'; +UPDATE command_table SET deny_in_locomotion = 6 WHERE commandname LIKE '%tip%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%toggleAwayFromKeyBoard%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%toggleDisplayingFactionRank%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%torsoShot%'; +UPDATE command_table SET deny_in_locomotion = 1121911 WHERE commandname LIKE '%totalHealOther%'; +UPDATE command_table SET deny_in_locomotion = 1121911 WHERE commandname LIKE '%totalHealSelf%'; +UPDATE command_table SET deny_in_locomotion = 1121911 WHERE commandname LIKE '%transferForce%'; +UPDATE command_table SET deny_in_locomotion = 6 WHERE commandname LIKE '%transferItem%'; +UPDATE command_table SET deny_in_locomotion = 6 WHERE commandname LIKE '%transferItemArmor%'; +UPDATE command_table SET deny_in_locomotion = 6 WHERE commandname LIKE '%transferItemMisc%'; +UPDATE command_table SET deny_in_locomotion = 6 WHERE commandname LIKE '%transferItemWeapon%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%transferstructure%'; +UPDATE command_table SET deny_in_locomotion = 1056766 WHERE commandname LIKE '%tumbleToKneeling%'; +UPDATE command_table SET deny_in_locomotion = 1056766 WHERE commandname LIKE '%tumbleToProne%'; +UPDATE command_table SET deny_in_locomotion = 1056766 WHERE commandname LIKE '%tumbleToStanding%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%unarmedBlind1%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%unarmedBodyHit1%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%unarmedCombo1%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%unarmedCombo2%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%unarmedDizzy1%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%unarmedHeadHit1%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%unarmedHit1%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%unarmedHit2%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%unarmedHit3%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%unarmedKnockdown1%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%unarmedKnockdown2%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%unarmedLegHit1%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%unarmedLunge1%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%unarmedLunge2%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%unarmedSpinAttack1%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%unarmedSpinAttack2%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%unarmedStun1%'; +UPDATE command_table SET deny_in_locomotion = 6 WHERE commandname LIKE '%unassociateDroidControlDeviceWithShip%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%unCityBan%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%unconsent%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%underHandShot%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%unfreezePlayer%'; +UPDATE command_table SET deny_in_locomotion = 6 WHERE commandname LIKE '%uninstallShipComponent%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%uninvite%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%unsnoop%'; +UPDATE command_table SET deny_in_locomotion = 6 WHERE commandname LIKE '%useReconDrone%'; +UPDATE command_table SET deny_in_locomotion = 1146879 WHERE commandname LIKE '%useSkillBuff%'; +UPDATE command_table SET deny_in_locomotion = 1572799 WHERE commandname LIKE '%ventriloquism%'; +UPDATE command_table SET deny_in_locomotion = 6 WHERE commandname LIKE '%toggleCombatTaunts%'; +UPDATE command_table SET deny_in_locomotion = 1121855 WHERE commandname LIKE '%vertFurniture%'; +UPDATE command_table SET deny_in_locomotion = 1120334 WHERE commandname LIKE '%vitalize%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%volleyFire%'; +UPDATE command_table SET deny_in_locomotion = 72191 WHERE commandname LIKE '%volleyFireAttack%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%warcry1%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%warcry2%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%warningShot%'; +UPDATE command_table SET deny_in_locomotion = 1572735 WHERE commandname LIKE '%watch%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%wildShot1%'; +UPDATE command_table SET deny_in_locomotion = 1122303 WHERE commandname LIKE '%wildShot2%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%wipeItems%'; +UPDATE command_table SET deny_in_locomotion = 1309134 WHERE commandname LIKE '%wookieeRoar%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%cityInfo%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%groupLoot%'; +UPDATE command_table SET deny_in_locomotion = 6 WHERE commandname LIKE '%openLotteryContainer%'; +UPDATE command_table SET deny_in_locomotion = 6 WHERE commandname LIKE '%closeLotteryContainer%'; +UPDATE command_table SET deny_in_locomotion = 0 WHERE commandname LIKE '%requestQuestTimersAndCounters%'; \ No newline at end of file
swganh/mmoserverdb
293897dcf4bf9242eb406010ff1e30ff559fd368
added sp_ServerStatusGet
diff --git a/swganh/procedures/sp_ServerStatusGet.sql b/swganh/procedures/sp_ServerStatusGet.sql new file mode 100644 index 0000000..7c74283 --- /dev/null +++ b/swganh/procedures/sp_ServerStatusGet.sql @@ -0,0 +1,67 @@ +/* +--------------------------------------------------------------------------------------- +This source file is part of SWG:ANH (Star Wars Galaxies - A New Hope - Server Emulator) + +For more information, visit http://www.swganh.com + +Copyright (c) 2006 - 2010 The SWG:ANH Team +--------------------------------------------------------------------------------------- +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU Lesser General Public +License as published by the Free Software Foundation; either +version 2.1 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Lesser General Public License for more details. + +You should have received a copy of the GNU Lesser General Public +License along with this library; if not, write to the Free Software +Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +--------------------------------------------------------------------------------------- +*/ + +/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; +/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; +/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; +/*!40101 SET NAMES utf8 */; + +/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; +/*!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' */; + +use swganh; + +-- +-- Definition of procedure `sp_ServerStatusGet` +-- + +DROP PROCEDURE IF EXISTS `sp_ServerStatusGet`; + +DELIMITER $$ + +/*!50003 SET @TEMP_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */ $$ +CREATE DEFINER=`root`@`localhost` PROCEDURE `sp_ServerStatusGet`(IN serverName CHAR(64)) +BEGIN + + ## + ## sp_ServerStatusGet (servername) + ## + ## Retrieves the status of the server + ## + + SELECT id, address, port, status, active FROM config_process_list WHERE name = serverName; + +END $$ +/*!50003 SET SESSION SQL_MODE=@TEMP_SQL_MODE */ $$ + +DELIMITER ; + +/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; +/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; +/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; +/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; +/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; \ No newline at end of file
swganh/mmoserverdb
f810e2ebf8a90f124a163cb1232da5b4db01c7d5
small changes
diff --git a/swganh/scripts/account.sql b/swganh/scripts/account.sql index b6b3a5d..dd4e2a5 100644 --- a/swganh/scripts/account.sql +++ b/swganh/scripts/account.sql @@ -1,86 +1,86 @@ /* --------------------------------------------------------------------------------------- This source file is part of SWG:ANH (Star Wars Galaxies - A New Hope - Server Emulator) For more information, visit http://www.swganh.com Copyright (c) 2006 - 2010 The SWG:ANH Team --------------------------------------------------------------------------------------- This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA --------------------------------------------------------------------------------------- */ /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8 */; /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; /*!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' */; use swganh; -- -- Definition of table `account` -- DROP TABLE IF EXISTS `account`; CREATE TABLE `account` ( `account_id` bigint(20) unsigned NOT NULL auto_increment COMMENT 'Account ID', `account_username` char(32) NOT NULL default '' COMMENT 'Account username', `account_password` char(64) NOT NULL COMMENT 'Account password', `account_station_id` bigint(20) unsigned NOT NULL default '0' COMMENT 'Account STATION_ID', `account_csr` tinyint(1) NOT NULL default '0' COMMENT 'Account - CSR Flag', `account_banned` tinyint(1) NOT NULL default '0' COMMENT 'Account - Banned Status', `account_email` char(64) NOT NULL default '' COMMENT 'Account - User email', `account_joindate` datetime NOT NULL default '0000-00-00 00:00:00' COMMENT 'Account - Join Date', `account_lastlogin` timestamp NULL default NULL COMMENT 'Account - Last Login Timestamp', `account_active` tinyint(1) default NULL COMMENT 'Account - Active Flag', `account_loggedin` int(1) NOT NULL default '0' COMMENT 'Account - Cluster id account is logged into', `account_authenticated` tinyint(1) NOT NULL default '0' COMMENT 'Account - Authenticated Status', `account_characters_allowed` tinyint(3) unsigned NOT NULL default '2' COMMENT 'Number of characters allowed', `account_session_key` varchar(32) default NULL COMMENT 'Client Launcher - Session Key', - `account_lastcreate` datetime` NOT NULL default '0000-00-00 00:00:00' COMMENT 'Account - Last Character Create TimeStamp', + `account_lastcreate` datetime NOT NULL default '0000-00-00 00:00:00' COMMENT 'Account - Last Character Create TimeStamp', PRIMARY KEY (`account_id`), UNIQUE KEY `account_username` (`account_username`) ) ENGINE=InnoDB AUTO_INCREMENT=145 DEFAULT CHARSET=utf8; -- -- Dumping data for table `account` -- /*!40000 ALTER TABLE `account` DISABLE KEYS */; -INSERT INTO `account` (`account_id`,`account_username`,`account_password`,`account_station_id`,`account_csr`,`account_banned`,`account_email`,`account_joindate`,`account_lastlogin`,`account_active`,`account_loggedin`,`account_authenticated`,`account_characters_allowed`,`account_session_key`, `account_lastcreate` datetime`) VALUES +INSERT INTO `account` (`account_id`,`account_username`,`account_password`,`account_station_id`,`account_csr`,`account_banned`,`account_email`,`account_joindate`,`account_lastlogin`,`account_active`,`account_loggedin`,`account_authenticated`,`account_characters_allowed`,`account_session_key`, `account_lastcreate`) VALUES (1,'swganh0','41d14978522cc50b70e73f6f0007e82a000a95d5',100000001,0,0,'[email protected]','0000-00-00 00:00:00','0000-00-00 00:00:00',1,0,0,2,NULL,'0000-00-00 00:00:00'), (2,'swganh1','41d14978522cc50b70e73f6f0007e82a000a95d5',100000002,0,0,'[email protected]','0000-00-00 00:00:00','0000-00-00 00:00:00',1,0,0,2,NULL,'0000-00-00 00:00:00'), (3,'swganh2','41d14978522cc50b70e73f6f0007e82a000a95d5',100000003,0,0,'[email protected]','0000-00-00 00:00:00','0000-00-00 00:00:00',1,0,0,2,NULL,'0000-00-00 00:00:00'), (4,'swganh3','41d14978522cc50b70e73f6f0007e82a000a95d5',100000004,0,0,'[email protected]','0000-00-00 00:00:00','0000-00-00 00:00:00',1,0,0,2,NULL,'0000-00-00 00:00:00'), (5,'swganh4','41d14978522cc50b70e73f6f0007e82a000a95d5',100000005,0,0,'[email protected]','0000-00-00 00:00:00','0000-00-00 00:00:00',1,0,0,2,NULL,'0000-00-00 00:00:00'), (6,'swganh5','41d14978522cc50b70e73f6f0007e82a000a95d5',100000006,0,0,'[email protected]','0000-00-00 00:00:00','0000-00-00 00:00:00',1,0,0,2,NULL,'0000-00-00 00:00:00'), (7,'swganh6','41d14978522cc50b70e73f6f0007e82a000a95d5',100000007,0,0,'[email protected]','0000-00-00 00:00:00','0000-00-00 00:00:00',1,0,0,2,NULL,'0000-00-00 00:00:00'), (8,'swganh7','41d14978522cc50b70e73f6f0007e82a000a95d5',100000008,0,0,'[email protected]','0000-00-00 00:00:00','0000-00-00 00:00:00',1,0,0,2,NULL,'0000-00-00 00:00:00'), (9,'swganh8','41d14978522cc50b70e73f6f0007e82a000a95d5',100000009,0,0,'[email protected]','0000-00-00 00:00:00','0000-00-00 00:00:00',1,0,0,2,NULL,'0000-00-00 00:00:00'), (10,'swganh9','41d14978522cc50b70e73f6f0007e82a000a95d5',100000010,0,0,'[email protected]','0000-00-00 00:00:00','0000-00-00 00:00:00',1,0,0,2,NULL,'0000-00-00 00:00:00'); /*!40000 ALTER TABLE `account` ENABLE KEYS */; DELIMITER ; /*!40101 SET SQL_MODE=@OLD_SQL_MODE */; /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
swganh/mmoserverdb
6f43e05e1651acfc7efdc70c8fe870bef5552766
hooray for paying attention
diff --git a/swganh/scripts/account.sql b/swganh/scripts/account.sql index 033ed20..b6b3a5d 100644 --- a/swganh/scripts/account.sql +++ b/swganh/scripts/account.sql @@ -1,86 +1,86 @@ /* --------------------------------------------------------------------------------------- This source file is part of SWG:ANH (Star Wars Galaxies - A New Hope - Server Emulator) For more information, visit http://www.swganh.com Copyright (c) 2006 - 2010 The SWG:ANH Team --------------------------------------------------------------------------------------- This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA --------------------------------------------------------------------------------------- */ /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8 */; /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; /*!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' */; use swganh; -- -- Definition of table `account` -- DROP TABLE IF EXISTS `account`; CREATE TABLE `account` ( `account_id` bigint(20) unsigned NOT NULL auto_increment COMMENT 'Account ID', `account_username` char(32) NOT NULL default '' COMMENT 'Account username', `account_password` char(64) NOT NULL COMMENT 'Account password', `account_station_id` bigint(20) unsigned NOT NULL default '0' COMMENT 'Account STATION_ID', `account_csr` tinyint(1) NOT NULL default '0' COMMENT 'Account - CSR Flag', `account_banned` tinyint(1) NOT NULL default '0' COMMENT 'Account - Banned Status', `account_email` char(64) NOT NULL default '' COMMENT 'Account - User email', `account_joindate` datetime NOT NULL default '0000-00-00 00:00:00' COMMENT 'Account - Join Date', `account_lastlogin` timestamp NULL default NULL COMMENT 'Account - Last Login Timestamp', `account_active` tinyint(1) default NULL COMMENT 'Account - Active Flag', `account_loggedin` int(1) NOT NULL default '0' COMMENT 'Account - Cluster id account is logged into', `account_authenticated` tinyint(1) NOT NULL default '0' COMMENT 'Account - Authenticated Status', `account_characters_allowed` tinyint(3) unsigned NOT NULL default '2' COMMENT 'Number of characters allowed', `account_session_key` varchar(32) default NULL COMMENT 'Client Launcher - Session Key', `account_lastcreate` datetime` NOT NULL default '0000-00-00 00:00:00' COMMENT 'Account - Last Character Create TimeStamp', PRIMARY KEY (`account_id`), - UNIQUE KEY `username` (`username`) + UNIQUE KEY `account_username` (`account_username`) ) ENGINE=InnoDB AUTO_INCREMENT=145 DEFAULT CHARSET=utf8; -- -- Dumping data for table `account` -- /*!40000 ALTER TABLE `account` DISABLE KEYS */; INSERT INTO `account` (`account_id`,`account_username`,`account_password`,`account_station_id`,`account_csr`,`account_banned`,`account_email`,`account_joindate`,`account_lastlogin`,`account_active`,`account_loggedin`,`account_authenticated`,`account_characters_allowed`,`account_session_key`, `account_lastcreate` datetime`) VALUES (1,'swganh0','41d14978522cc50b70e73f6f0007e82a000a95d5',100000001,0,0,'[email protected]','0000-00-00 00:00:00','0000-00-00 00:00:00',1,0,0,2,NULL,'0000-00-00 00:00:00'), (2,'swganh1','41d14978522cc50b70e73f6f0007e82a000a95d5',100000002,0,0,'[email protected]','0000-00-00 00:00:00','0000-00-00 00:00:00',1,0,0,2,NULL,'0000-00-00 00:00:00'), (3,'swganh2','41d14978522cc50b70e73f6f0007e82a000a95d5',100000003,0,0,'[email protected]','0000-00-00 00:00:00','0000-00-00 00:00:00',1,0,0,2,NULL,'0000-00-00 00:00:00'), (4,'swganh3','41d14978522cc50b70e73f6f0007e82a000a95d5',100000004,0,0,'[email protected]','0000-00-00 00:00:00','0000-00-00 00:00:00',1,0,0,2,NULL,'0000-00-00 00:00:00'), (5,'swganh4','41d14978522cc50b70e73f6f0007e82a000a95d5',100000005,0,0,'[email protected]','0000-00-00 00:00:00','0000-00-00 00:00:00',1,0,0,2,NULL,'0000-00-00 00:00:00'), (6,'swganh5','41d14978522cc50b70e73f6f0007e82a000a95d5',100000006,0,0,'[email protected]','0000-00-00 00:00:00','0000-00-00 00:00:00',1,0,0,2,NULL,'0000-00-00 00:00:00'), (7,'swganh6','41d14978522cc50b70e73f6f0007e82a000a95d5',100000007,0,0,'[email protected]','0000-00-00 00:00:00','0000-00-00 00:00:00',1,0,0,2,NULL,'0000-00-00 00:00:00'), (8,'swganh7','41d14978522cc50b70e73f6f0007e82a000a95d5',100000008,0,0,'[email protected]','0000-00-00 00:00:00','0000-00-00 00:00:00',1,0,0,2,NULL,'0000-00-00 00:00:00'), (9,'swganh8','41d14978522cc50b70e73f6f0007e82a000a95d5',100000009,0,0,'[email protected]','0000-00-00 00:00:00','0000-00-00 00:00:00',1,0,0,2,NULL,'0000-00-00 00:00:00'), (10,'swganh9','41d14978522cc50b70e73f6f0007e82a000a95d5',100000010,0,0,'[email protected]','0000-00-00 00:00:00','0000-00-00 00:00:00',1,0,0,2,NULL,'0000-00-00 00:00:00'); /*!40000 ALTER TABLE `account` ENABLE KEYS */; DELIMITER ; /*!40101 SET SQL_MODE=@OLD_SQL_MODE */; /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
swganh/mmoserverdb
aba7763b7f9ef52462f328d7eadde7c1b5e780cf
sp_BadgeGetByRegion
diff --git a/swganh/procedures/sp_BadgeGetByRegion.sql b/swganh/procedures/sp_BadgeGetByRegion.sql new file mode 100644 index 0000000..7b10707 --- /dev/null +++ b/swganh/procedures/sp_BadgeGetByRegion.sql @@ -0,0 +1,81 @@ +/* +--------------------------------------------------------------------------------------- +This source file is part of SWG:ANH (Star Wars Galaxies - A New Hope - Server Emulator) + +For more information, visit http://www.swganh.com + +Copyright (c) 2006 - 2010 The SWG:ANH Team +--------------------------------------------------------------------------------------- +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU Lesser General Public +License as published by the Free Software Foundation; either +version 2.1 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Lesser General Public License for more details. + +You should have received a copy of the GNU Lesser General Public +License along with this library; if not, write to the Free Software +Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +--------------------------------------------------------------------------------------- +*/ + +/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; +/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; +/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; +/*!40101 SET NAMES utf8 */; + +/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; +/*!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' */; + +use swganh; + +-- +-- Definition of procedure `sp_BadgeGetByRegion` +-- + +DROP PROCEDURE IF EXISTS `sp_BadgeGetByRegion`; + +DELIMITER $$ + +/*!50003 SET @TEMP_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */ $$ +CREATE DEFINER=`root`@`localhost` PROCEDURE `sp_BadgeGetByRegion`(IN regionID BIGINT) +BEGIN + + ## + ## sp_BadgeGetByRegion (region_id) + ## + ## ... + ## + ## Returns badge details + ## + + SELECT + badge_regions.id, + badge_regions.badge_id, + planet_regions.region_name, + planet_regions.region_file, + planet_regions.x, + planet_regions.z, + planet_regions.width, + planet_regions.height, + badge_regions.parent_id + FROM badge_regions + INNER JOIN planet_regions ON (badge_regions.region_id = planet_regions.region_id) + WHERE (badge_regions.id = regionID); + +END $$ +/*!50003 SET SESSION SQL_MODE=@TEMP_SQL_MODE */ $$ + +DELIMITER ; + +/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; +/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; +/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; +/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; +/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; \ No newline at end of file
swganh/mmoserverdb
f2e1f3862ea6a36aca506b3818fab54eb585efeb
fixed an issue were no assembly and experimentation mods could be found in the db for schematics granted at master stage for droid engineer artisan and entertainer professions
diff --git a/swganh/scripts/skills_skillmods.sql b/swganh/scripts/skills_skillmods.sql index 9a1b169..93b46d2 100644 --- a/swganh/scripts/skills_skillmods.sql +++ b/swganh/scripts/skills_skillmods.sql @@ -1,1887 +1,1901 @@ /* --------------------------------------------------------------------------------------- This source file is part of SWG:ANH (Star Wars Galaxies - A New Hope - Server Emulator) For more information, visit http://www.swganh.com Copyright (c) 2006 - 2010 The SWG:ANH Team --------------------------------------------------------------------------------------- This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA --------------------------------------------------------------------------------------- */ /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8 */; /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; /*!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' */; use swganh; -- -- Definition of table `skills_skillmods` -- DROP TABLE IF EXISTS `skills_skillmods`; CREATE TABLE `skills_skillmods` ( `skill_id` int(11) unsigned NOT NULL default '0', `skillmod_id` int(11) unsigned NOT NULL default '0', `value` int(11) NOT NULL default '0', PRIMARY KEY (`skill_id`,`skillmod_id`), KEY `fk_skills_skillmods_mod_mod` (`skillmod_id`), CONSTRAINT `fk_skills_skillmods_mod_mod` FOREIGN KEY (`skillmod_id`) REFERENCES `skillmods` (`skillmod_id`) ON DELETE CASCADE ON UPDATE CASCADE, CONSTRAINT `fk_skills_skillmods_skill_skill` FOREIGN KEY (`skill_id`) REFERENCES `skills` (`skill_id`) ON DELETE CASCADE ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Dumping data for table `skills_skillmods` -- /*!40000 ALTER TABLE `skills_skillmods` DISABLE KEYS */; INSERT INTO `skills_skillmods` (`skill_id`,`skillmod_id`,`value`) VALUES (11,2,5), (11,3,5), (11,4,5), (11,5,5), (11,6,1), (11,8,1), (12,2,10), (12,3,10), (12,4,10), (12,5,10), (13,6,1), (14,7,1), (14,8,1), (15,6,1), (16,6,1), (16,8,1), (17,4,5), (18,4,5), (19,4,5), (20,4,10), (21,5,5), (22,5,5), (23,5,5), (24,5,10), (25,2,5), (25,3,5), (26,2,5), (26,3,5), (27,2,5), (27,3,5), (28,2,5), (28,3,5), (31,10,5), (31,11,5), (31,12,5), (31,13,15), (32,9,15), (32,10,20), (32,11,10), (32,12,10), (32,13,5), (32,14,10), (32,15,10), (32,16,30), (33,14,20), (34,15,20), (34,16,20), (35,14,20), (35,16,20), (36,15,20), (36,16,30), (37,10,5), (38,10,5), (39,10,5), (40,10,10), (41,12,5), (41,13,5), (42,12,10), (42,13,10), (42,17,10), (43,12,10), (43,13,5), (44,12,10), (44,13,10), (45,9,5), (45,11,5), (46,11,10), (47,9,10), (47,11,10), (48,9,10), (48,11,10), (51,18,5), (51,19,5), (51,20,10), (51,21,5), (51,22,10), (51,23,10), (51,97,5), (52,18,25), (52,19,10), (52,20,25), + (52,22,0), + (52,23,0), (53,18,15), (54,18,15), (55,18,15), (56,18,25), (57,21,15), (58,21,15), (59,21,15), (60,21,25), (61,19,5), (61,20,15), (62,19,10), (62,20,15), (63,19,10), (63,20,15), (64,19,10), (64,20,20), (65,22,10), (65,23,10), (66,22,10), (66,23,10), (67,22,10), (67,23,10), (68,22,10), (68,23,10), (71,24,20), (71,25,20), (71,26,20), (71,27,20), (71,28,20), + (72,25,0), + (72,26,0), (73,25,10), (73,26,10), (73,28,20), (74,25,10), (74,26,10), (74,28,20), (75,25,10), (75,26,10), (75,28,20), (76,25,10), (76,26,10), (76,28,20), (77,25,10), (77,26,10), (77,27,20), (78,25,10), (78,26,10), (78,27,20), (79,25,10), (79,26,10), (79,27,20), (80,25,10), (80,26,10), (80,27,20), (83,29,1), (83,30,10), (83,31,100), (84,29,1), (84,30,10), (84,31,150), (85,24,15), (86,24,20), (87,24,20), (88,24,25), (91,32,10), (91,33,15), (91,34,5), (91,35,10), (91,36,5), (91,37,10), (91,38,5), (91,39,10), (91,40,5), (91,41,100), (91,42,100), (91,43,100), (91,44,100), (91,45,10), (91,47,10), (91,48,10), (91,49,10), (91,50,5), (91,51,5), (91,52,5), (91,53,5), (92,32,5), (92,34,5), (92,35,5), (92,36,5), (92,37,5), (92,38,5), (92,41,100), (92,42,100), (92,43,100), (92,44,100), (92,47,10), (92,48,10), (92,49,10), (92,51,5), (92,52,5), (92,53,5), (92,54,20), (92,55,20), (92,56,20), (92,67,5), (92,68,5), (92,81,5), (92,210,10), (92,211,5), (92,213,5), (93,32,10), (93,33,5), (93,34,5), (93,43,100), (93,50,2), (93,210,10), (94,32,10), (94,33,10), (94,34,5), (94,43,100), (94,50,2), (94,210,10), (95,32,10), (95,33,10), (95,34,5), (95,43,100), (95,50,2), (95,81,10), (95,210,5), (96,32,10), (96,33,10), (96,34,5), (96,43,100), (96,50,2), (96,68,2), (96,81,10), (96,210,10), (97,37,10), (97,38,5), (97,41,100), (97,48,10), (97,51,2), (98,37,10), (98,38,5), (98,41,100), (98,48,10), (98,51,2), (99,37,10), (99,38,5), (99,41,100), (99,48,10), (99,51,2), (99,212,10), (100,37,10), (100,38,5), (100,41,100), (100,48,10), (100,51,2), (100,212,10), (101,39,10), (101,40,5), (101,42,100), (101,49,10), (101,52,2), (102,39,10), (102,40,5), (102,42,100), (102,49,10), (102,52,2), (103,39,10), (103,40,5), (103,42,100), (103,49,10), (103,52,2), (103,211,10), (104,39,10), (104,40,5), (104,42,100), (104,49,10), (104,52,2), (104,211,10), (105,35,10), (105,44,100), (105,47,10), (105,53,2), (105,58,5), (106,35,10), (106,36,5), (106,44,100), (106,47,10), (106,53,2), (107,35,10), (107,36,5), (107,44,100), (107,47,10), (107,53,2), (107,213,4), (108,35,10), (108,36,5), (108,44,100), (108,47,5), (108,53,1), (108,213,4), (110,57,10), (110,58,5), (110,59,10), (110,60,5), (110,61,10), (110,62,5), (110,63,100), (110,64,100), (110,65,100), (111,57,10), (111,58,5), (111,59,10), (111,60,5), (111,61,10), (111,62,5), (111,63,100), (111,64,100), (111,65,100), (111,67,5), (112,59,10), (112,60,5), (112,63,100), (112,66,5), (113,59,10), (113,60,5), (113,63,100), (113,66,5), (114,59,10), (114,60,5), (114,63,100), (114,66,5), (115,59,10), (115,60,5), (115,63,100), (115,66,5), (115,67,2), (116,57,10), (116,58,5), (116,65,100), (117,57,10), (117,58,5), (117,65,100), (118,57,10), (118,58,5), (118,65,100), (119,57,10), (119,58,5), (119,65,100), (120,61,10), (120,62,5), (120,64,100), (121,61,10), (121,62,5), (121,64,100), (122,61,10), (122,62,5), (122,64,100), (123,61,10), (123,62,5), (123,64,100), (123,67,2), (124,67,2), (124,214,10), (125,68,2), (125,214,10), (126,214,5), (127,67,2), (127,69,10), (127,214,5), (129,59,5), (129,60,5), (129,63,100), (129,66,15), (129,70,10), (130,59,40), (130,60,20), (130,63,100), (130,66,5), (130,67,15), (130,70,10), (130,215,10), (131,59,10), (131,63,125), (131,66,15), (131,216,15), (132,59,10), (132,63,100), (132,66,15), (132,216,15), (133,59,20), (133,63,100), (133,66,15), (133,216,15), (134,59,20), (134,63,100), (134,66,15), (134,216,15), (135,63,125), (135,67,10), (135,185,20), (136,63,100), (136,67,10), (136,185,20), (137,63,100), (137,67,10), (137,185,20), (138,67,10), (138,185,20), (139,63,125), (139,70,15), (140,63,100), (140,70,15), (141,63,100), (141,70,15), (141,71,30), (141,72,10), (141,73,10), (141,74,10), (142,63,125), (142,67,15), (142,70,15), (143,60,10), (143,63,125), (143,68,10), (144,60,10), (144,63,100), (144,68,10), (145,60,10), (145,63,100), (145,68,10), (146,60,10), (146,63,125), (146,68,10), (148,57,5), (148,58,5), (148,65,100), (148,75,10), (149,57,10), (149,58,20), (149,65,100), (149,67,5), (149,68,5), (149,75,25), (149,76,10), (149,77,4), (150,65,125), (150,75,15), (151,65,100), (151,75,15), (152,65,100), (152,75,20), (153,65,125), (153,75,20), (154,57,10), (154,65,125), (154,76,5), (154,77,3), (155,57,5), (155,65,100), (155,76,5), (155,77,3), (156,57,10), (156,65,100), (156,76,5), (156,77,3), (157,57,5), (157,65,125), (157,76,5), (157,77,3), (158,65,125), (158,72,40), (159,65,100), (159,73,40), (160,65,100), (160,74,40), (161,65,125), (161,78,20), (161,79,50), (162,58,6), (162,65,125), (162,68,10), (163,58,6), (163,65,100), (163,68,10), (164,58,6), (164,65,100), (164,68,10), (164,217,15), (165,58,6), (165,65,125), (165,68,10), (167,61,5), (167,62,5), (167,64,100), (168,61,20), (168,62,10), (168,64,100), (168,67,25), (168,80,25), (168,218,10), (168,219,25), (169,62,5), (169,64,125), (170,62,5), (170,64,100), (171,62,5), (171,64,100), (172,62,5), (172,64,100), (173,61,5), (173,64,125), (174,61,10), (174,64,100), (175,61,15), (175,64,100), (176,61,25), (176,64,125), (177,64,125), (177,80,20), (178,64,100), (178,79,15), (178,80,20), (178,220,25), (179,64,100), (179,80,20), (180,64,125), (180,80,20), (181,64,125), (181,218,5), (182,64,100), (182,218,5), (183,64,100), (183,218,5), (184,64,125), (184,218,5), (186,32,20), (186,33,70), (186,34,10), (186,43,100), (186,50,5), (186,81,4), (186,82,10), (186,83,5), (186,84,15), (186,210,15), (186,221,15), (187,32,35), (187,33,70), (187,34,20), (187,43,100), (187,50,5), (187,82,15), (187,83,10), (187,84,25), (187,85,10), (187,210,10), (187,221,25), (188,43,125), (188,83,5), (188,221,15), (189,43,100), (189,83,10), (189,85,5), (189,221,15), (190,43,100), (190,83,10), (190,85,5), (190,221,15), (191,43,100), (191,83,10), (191,85,5), (191,221,15), (192,43,125), (192,73,10), (192,78,10), (192,82,10), (193,43,100), (193,72,10), (193,78,10), (193,81,15), (193,82,10), (194,43,100), (194,72,5), (194,74,5), (194,78,10), (194,79,20), (194,81,4), (194,82,10), (195,43,125), (195,81,4), (196,33,15), (196,34,15), (196,43,125), (197,33,15), (197,34,15), (197,43,100), (198,33,15), (198,34,15), (198,43,100), (199,33,15), (199,34,15), (199,43,125), (200,32,30), (200,43,125), (200,50,2), (200,67,5), (200,68,15), (200,84,15), (200,210,10), (201,32,20), (201,43,100), (201,50,2), (201,67,10), (201,68,15), (201,81,5), (201,84,11), (201,210,5), (202,32,30), (202,43,100), (202,50,2), (202,67,15), (202,68,15), (202,84,15), (202,210,10), (203,32,20), (203,43,100), (203,50,1), (203,67,15), (203,68,15), (203,81,5), (203,84,15), (203,210,10), (205,37,20), (205,38,10), (205,41,100), (205,48,15), (205,51,5), (205,67,15), (205,68,15), (205,75,15), (205,212,4), (206,37,20), (206,38,10), (206,41,100), (206,48,15), (206,51,5), (206,68,5), (206,69,10), (206,75,15), (206,82,10), (207,41,125), (207,67,12), (207,68,12), (208,41,100), (208,67,15), (208,68,15), (209,41,100), (209,67,12), (209,68,12), (209,212,4), (210,41,125), (210,67,15), (210,68,15), (210,212,4), (211,38,5), (211,41,125), (211,48,5), (211,51,2), (212,38,20), (212,41,100), (212,48,10), (212,51,2), (212,78,20), (212,79,20), (213,41,100), (213,48,10), (213,51,2), (214,38,20), (214,41,125), (214,48,10), (214,51,2), (214,75,15), (214,78,30), (214,79,30), (215,41,125), (215,75,15), (216,41,100), (216,73,10), (216,74,10), (216,75,15), (216,220,10), (217,41,100), (217,75,15), (218,41,125), (218,73,30), (218,74,30), (218,75,15), (218,220,10), (219,41,125), (220,37,30), (220,41,100), (220,82,10), (221,41,100), (222,37,30), (222,41,125), (222,82,10), (224,39,15), (224,40,10), (224,42,100), (224,49,15), (224,52,5), (224,68,5), (224,80,15), (224,213,15), (225,39,15), (225,40,10), (225,42,100), (225,49,15), (225,52,5), (225,67,5), (225,68,5), (225,72,30), (225,73,10), (225,79,10), (225,80,25), (226,42,125), (227,42,100), (228,42,100), (228,72,20), (228,74,20), (228,213,4), (228,220,20), (229,42,125), (229,213,4), (230,42,125), (231,40,15), (231,42,100), (232,42,100), (233,40,15), (233,42,125), (234,42,125), (234,49,10), (234,52,2), (234,80,15), (235,42,100), (235,49,10), (235,52,2), (235,67,5), (235,68,5), (235,78,10), (235,80,15), (236,42,100), (236,49,10), (236,52,2), (236,80,15), (237,42,125), (237,49,10), (237,52,2), (237,67,5), (237,68,5), (237,79,15), (237,80,15), (238,42,125), (239,39,20), (239,42,100), (240,42,100), (241,39,30), (241,42,125), (241,80,10), (243,35,20), (243,36,10), (243,44,100), (243,47,15), (243,53,5), (243,68,5), (243,70,25), (243,211,10), (244,35,20), (244,36,10), (244,44,100), (244,47,15), (244,53,5), (244,67,15), (244,68,15), (244,70,30), (244,72,30), (244,74,20), (244,78,10), (245,44,125), (246,36,15), (246,44,100), (247,44,100), (248,36,15), (248,44,125), (249,44,125), (250,44,100), (251,44,100), (252,44,125), (253,44,125), (253,47,10), (253,53,2), (253,70,15), (254,44,100), (254,47,10), (254,53,2), (254,67,5), (254,68,5), (254,70,15), (254,72,10), (254,73,10), (254,74,10), (254,78,10), (254,79,10), (255,44,100), (255,47,10), (255,53,2), (255,70,15), (256,44,125), (256,47,10), (256,53,2), (256,67,5), (256,68,5), (256,70,15), (256,72,10), (256,73,10), (256,74,10), (256,78,10), (256,79,10), (256,211,4), (257,44,125), (257,211,4), (258,35,30), (258,44,100), (259,44,100), (260,35,30), (260,44,125), (262,2,5), (262,5,10), (262,87,10), (262,222,10), (263,2,15), (263,5,10), + (263,25,0), + (263,26,0), (263,67,7), (263,68,7), (263,87,25), (263,91,100), (263,92,100), (263,222,25), (264,87,10), (265,87,10), (266,87,20), (267,87,25), (268,2,5), (269,2,10), (270,2,10), (271,2,15), (272,5,10), (273,5,10), (274,5,10), (275,5,10), (276,222,10), (277,222,10), (278,222,20), (279,222,25), (281,3,5), (281,4,5), (281,88,10), (281,89,10), (281,90,10), (282,3,15), (282,4,15), + (282,25,0), + (282,26,0), (282,67,7), (282,68,7), (282,88,25), (282,89,25), (282,90,25), (282,91,100), (282,92,100), (283,89,10), (283,90,10), (284,89,10), (284,90,15), (285,89,20), (285,90,15), (286,89,25), (286,90,25), (287,3,5), (288,3,10), (289,3,10), (290,3,15), (291,4,5), (292,4,10), (293,4,10), (294,4,15), (295,88,10), (296,88,10), (297,88,20), (298,88,25), (300,19,5), (300,22,10), (300,23,10), (300,96,5), (300,97,5), (301,19,10), + (301,22,0), + (301,23,0), (301,95,100), (301,96,25), (301,97,25), (302,96,15), (303,96,15), (304,96,15), (305,96,25), (306,97,10), (307,97,15), (308,97,15), (309,97,25), (310,19,5), (311,19,10), (312,19,10), (313,19,10), (314,22,10), (314,23,10), (315,22,10), (315,23,10), (316,22,10), (316,23,10), (317,22,10), (317,23,10), (319,9,5), (319,11,5), (319,12,5), (319,13,5), (319,14,5), (319,98,10), (320,9,5), (320,10,10), (320,11,5), (320,12,10), (320,13,10), (320,67,10), (320,68,10), (320,99,20), (320,100,10), (321,99,40), (322,14,20), (322,15,10), (323,99,40), (324,14,20), (324,15,10), (325,9,10), (325,11,10), (326,9,10), (326,11,10), (327,9,10), (327,11,10), (328,9,10), (328,11,10), (329,12,5), (329,13,5), (329,98,10), (330,12,10), (330,13,10), (330,17,10), (330,98,10), (331,12,10), (331,13,10), (331,98,10), (332,12,10), (332,13,10), (332,17,5), (332,98,10), (333,10,10), (333,100,10), (334,10,10), (334,100,10), (335,10,10), (335,100,10), (336,10,10), (336,100,10), (338,101,4), (338,102,1), (338,103,5), (338,104,12), (339,101,4), (339,102,1), (339,103,5), (339,104,10), (339,105,10), (339,107,10), (339,223,10), (339,224,15), (340,103,5), (340,104,2), (341,103,5), (341,104,2), (341,224,10), (342,103,5), (342,104,3), (342,224,10), (343,103,5), (343,104,5), (343,224,15), (344,101,2), (344,103,5), (344,104,2), (344,107,10), (345,101,3), (345,103,5), (345,104,2), (345,107,10), (346,101,3), (346,103,5), (346,104,3), (346,107,10), (347,101,4), (347,103,5), (347,104,5), (347,107,10), (348,103,5), (348,104,2), (348,105,10), (349,103,5), (349,104,2), (349,105,10), (350,103,5), (350,104,3), (350,105,10), (351,103,5), (351,104,5), (351,105,10), (352,103,5), (352,104,2), (352,223,10), (353,103,5), (353,104,2), (353,223,10), (354,102,1), (354,103,5), (354,104,3), (354,223,10), (355,103,5), (355,104,5), (355,223,10), (357,108,10), (357,109,10), (357,110,15), - (358,108,25), - (358,109,25), + (358,108,0), + (358,109,0), (358,110,25), (367,110,15), (368,110,15), (369,110,15), (370,110,15), (371,108,10), (371,109,10), (372,108,15), (372,109,15), (373,108,15), (373,109,15), (374,108,25), (374,109,25), (376,28,20), (376,111,10), (376,112,10), (377,28,55), (377,111,25), (377,112,25), (390,28,20), (390,111,10), (390,112,10), (391,28,20), (391,111,15), (391,112,15), (392,28,20), (392,111,20), (392,112,20), (393,28,20), (393,111,20), (393,112,20), (395,113,10), (395,114,10), (396,113,25), (396,114,25), (409,113,10), (409,114,10), (410,113,15), (410,114,15), (411,113,20), (411,114,20), (412,113,20), (412,114,20), (414,115,20), (414,116,20), (415,91,100), (415,115,10), (415,116,10), (428,115,10), (428,116,10), (429,115,20), (429,116,20), (430,115,20), (430,116,20), (431,115,20), (431,116,20), (433,27,20), (433,117,20), (433,118,20), (434,27,55), (434,117,10), (434,118,20), (447,27,20), (447,117,10), (447,118,15), (448,27,20), (448,117,20), (448,118,15), (449,27,20), (449,117,20), (449,118,15), (450,27,20), (450,117,20), (450,118,15), (452,119,20), (452,120,20), (453,119,10), (453,120,10), (454,119,10), (455,119,20), (456,119,20), (457,119,20), (458,120,10), (459,120,20), (460,120,20), (461,120,20), (471,121,20), (471,122,32), (471,225,20), + (472,25,0), + (472,26,0), (472,121,10), (472,225,10), (481,122,8), (481,225,10), (482,122,8), (482,225,20), (483,122,8), (483,225,20), (484,122,8), (484,225,20), (485,121,10), (486,121,20), (487,121,20), (488,121,20), (490,29,1), (490,30,10), (490,31,500), (491,29,2), (491,30,10), (491,31,1000), (498,31,100), (499,29,1), (499,31,150), (499,226,100), (500,30,20), (501,30,10), (502,30,15), (503,30,15), (504,29,1), (504,31,500), (504,123,1), (505,29,1), (505,31,500), (505,123,1), (506,29,2), (506,31,500), (506,123,1), (507,29,2), (507,31,500), (507,123,1), (509,126,20), (509,127,20), (511,124,100), (519,125,45), (520,125,5), (521,125,10), (522,125,10), (523,126,20), (523,127,20), (524,126,20), (524,127,20), (525,126,20), (525,127,20), (526,126,20), (526,127,20), (528,128,1), (528,129,20), (528,130,10), (528,131,1600), (529,57,10), (529,61,10), (529,67,7), (529,131,100), (529,132,4), (529,133,10), (529,134,10), (529,135,10), (529,136,10), (529,294,100), (529,295,100), (530,128,1), (530,134,70), (530,135,10), (531,134,50), (531,135,40), (532,128,1), (532,132,4), (532,133,50), (532,135,30), (532,136,40), (533,132,4), (533,133,40), (533,136,30), (534,61,10), (534,62,10), (534,64,200), (535,61,10), (535,62,10), (535,64,200), (536,61,20), (536,62,20), (536,64,200), (537,61,10), (537,62,10), (537,64,200), (538,57,10), (538,58,10), (538,65,200), (539,57,10), (539,58,10), (539,65,200), (540,57,20), (540,58,20), (540,65,200), (541,57,10), (541,58,10), (541,65,200), (542,129,10), (542,130,10), (542,131,200), (543,129,10), (543,130,10), (543,131,200), (544,129,20), (544,130,20), (544,131,200), (545,129,10), (545,130,10), (545,131,200), (547,131,1700), (547,137,10), (547,138,10), (547,139,15), (548,67,25), (548,68,25), (548,137,30), (548,138,30), (548,139,40), (548,140,40), (549,131,100), (549,139,10), (549,227,10), (550,79,5), (550,227,10), (551,67,5), (551,139,10), (551,227,10), (552,68,5), (552,139,10), (552,227,10), (553,140,20), (553,228,20), (553,229,10), (553,230,10), (554,140,20), (554,228,20), (554,229,20), (554,230,20), (554,231,10), (554,232,10), (555,140,20), (555,228,20), (555,229,20), (555,230,20), (555,231,20), (555,232,20), (555,233,10), (555,234,10), (556,229,20), (556,230,20), (556,231,20), (556,232,20), (556,233,30), (556,234,30), (557,131,100), (557,137,15), (557,235,10), (558,131,100), (558,137,15), (558,235,10), (559,131,100), (559,137,25), (559,235,15), (560,131,100), (560,137,15), (560,235,10), (561,131,100), (561,138,15), (561,236,10), (562,131,100), (562,138,15), (562,236,10), (563,131,100), (563,138,25), (563,236,15), (564,131,100), (564,138,15), (564,236,10), (566,141,5), (566,142,20), (566,143,5), (566,144,5), (566,145,5), (566,146,20), (567,14,10), (567,95,100), (567,141,25), (567,143,25), (567,144,25), (567,145,25), + (567,146,0), + (567,147,0), (568,144,15), (568,145,15), (569,144,15), (569,145,15), (570,144,15), (570,145,15), (571,144,25), (571,145,25), (572,141,15), (573,141,15), (574,141,15), (575,141,25), (576,142,20), (576,146,20), (577,142,20), (577,146,20), (578,142,20), (578,146,20), (579,142,20), (579,146,20), (580,14,10), (580,143,15), (581,14,10), (581,143,15), (582,14,10), (582,143,15), (583,14,10), (583,15,10), (583,143,25), (585,6,1), (585,8,1), (585,237,1), (586,7,2), (586,8,2), (586,237,2), (587,6,1), (588,6,2), (589,6,2), (590,6,2), (591,8,1), (592,8,1), (593,8,2), (594,8,2), (595,237,1), (596,237,1), (597,237,2), (598,237,2), (599,7,1), (600,7,1), (601,7,2), (602,7,2), (605,148,5), (605,150,10), (605,151,10), (605,238,5), (606,151,25), (607,150,25), (608,151,25), (609,150,25), (611,152,10), (613,153,10), (615,148,10), (616,148,15), (619,238,10), (621,238,15), (623,154,100), (626,155,100), (626,156,100), (630,157,100), (634,158,100), (639,159,100), (639,160,100), (640,161,100), (640,162,100), (643,1,100), (644,264,100), (646,165,100), (647,166,100), (649,167,100), (650,168,100), (652,169,100), (653,170,100), (655,171,100), (656,172,100), (658,173,100), (659,174,100), (661,175,100), (662,176,100), (664,177,100), (665,178,100), (667,179,100), (668,180,100), (670,181,100), (671,182,100), (673,183,100), (674,184,100), (676,99,15), (676,185,10), (677,26,15), (677,186,10), (678,69,15), (678,113,10), (678,119,10), (679,37,10), (679,39,10), (679,73,15), (679,113,10), (680,13,10), (680,32,10), (680,33,15), (680,34,5), (680,68,10), (680,189,1), (681,2,15), (681,3,5), (681,88,5), (681,222,15), (682,10,10), (682,54,10), (682,100,10), (682,242,10), (682,296,1), (683,72,10), (683,74,10), (683,220,10), (683,239,5), (683,240,1), (683,241,1), (684,68,10), (684,72,10), (684,74,10), (684,193,10), (684,194,10), (684,195,10), (684,196,10), (684,242,10), (685,10,10), (685,13,10), (685,190,10), (685,191,10), (685,192,10), (688,24,50), (688,243,200), (688,244,1), (688,245,25), (688,246,30), (688,247,30), (688,248,5), (688,249,5), (688,250,1000), (689,243,200), (689,244,1), (689,246,20), (689,247,10), (689,248,6), (689,249,10), (689,250,500), (689,251,30), (689,252,20), (690,246,20), (690,247,10), (690,249,2), (690,250,100), (691,246,20), (691,247,10), (691,249,2), (691,250,100), (692,246,20), (692,247,10), (692,248,2), (692,249,2), (692,250,100), (693,246,20), (693,247,10), (693,248,2), (693,249,2), (693,250,100), (698,243,100), (698,244,1), (698,250,100), (699,243,100), (699,244,1), (699,250,100), (700,243,100), (700,244,1), (700,250,100), (701,243,100), (701,244,1), (701,250,100), (703,250,100), (703,252,30), (704,253,30), (705,250,100), (705,251,30), (707,243,400), (707,244,2), (707,245,25), (707,248,5), (707,249,5), (707,250,500), (707,253,60), (707,254,3), (707,255,30), (707,256,10), (708,243,400), (708,244,2), (708,248,12), (708,250,1200), (708,254,20), (708,255,10), (708,256,10), (709,248,2), (709,249,5), (709,250,100), (709,254,20), (709,255,10), (709,256,5), (710,248,2), (710,249,5), (710,250,100), (710,254,20), (710,255,10), (710,256,5), (711,248,2), (711,249,5), (711,250,100), (711,254,20), (711,255,10), (711,256,5), (712,248,2), (712,249,5), (712,250,100), (712,254,20), (712,255,10), (712,256,5), (717,243,250), (717,244,2), (718,243,250), (718,244,2), (719,243,250), (719,244,2), (720,243,250), (720,244,2), (721,250,100), (721,257,1), (721,258,30), (722,250,100), (722,252,30), (723,250,100), (723,251,30), (723,252,30), (724,250,100), (724,251,30), (724,257,2), (724,258,30), (726,243,500), (726,244,4), (726,245,50), (726,248,10), (726,249,5), (726,250,1000), (726,256,5), (726,259,30), (726,260,30), (726,261,50), (726,262,30), (727,243,500), (727,244,4), (727,250,1000), (727,257,1), (727,259,10), (727,260,20), (727,263,1), (727,288,5), (728,248,5), (728,249,2), (728,250,125), (728,256,5), (728,259,10), (728,260,20), (728,262,5), (729,248,5), (729,249,5), (729,250,125), (729,256,5), (729,259,10), (729,260,20), (729,262,5), (730,248,5), (730,250,125), (730,256,5), (730,259,10), (730,260,20), (730,262,5), (731,248,5), (731,250,125), (731,259,10), (731,260,20), (731,262,10), (736,243,250), (736,244,8), (737,243,250), (737,244,8), (738,243,250), (738,244,8), (739,243,250), (739,244,8), (740,258,30), (740,263,2), (743,258,30), (743,261,50), (743,263,2), (745,243,400), (745,244,2), (745,245,25), (745,248,5), (745,249,5), (745,250,500), (745,253,60), (745,254,3), (745,255,30), (745,256,10), (746,243,400), (746,244,2), (746,248,12), (746,250,1200), (746,254,20), (746,255,10), (746,256,10), (747,248,2), (747,249,5), (747,250,100), (747,254,20), (747,255,10), (747,256,5), (748,248,2), (748,249,5), (748,250,100), (748,254,20), (748,255,10), (748,256,5), (749,248,2), (749,249,5), (749,250,100), (749,254,20), (749,255,10), (749,256,5), (750,248,2), (750,249,5), (750,250,100), (750,254,20), (750,255,10), (750,256,5), (755,243,200), (755,244,1), (756,243,200), (756,244,1), (757,243,200), (757,244,1), (758,243,200), (758,244,1), (759,250,100), (759,257,1), (759,258,30), (760,250,100), (760,252,30), (761,250,100), (761,251,30), (761,252,30), (762,250,100), (762,251,30), (762,257,2), (762,258,30), (764,243,500), (764,244,4), (764,245,50), (764,248,10), (764,249,5), (764,250,1000), (764,256,5), (764,259,30), (764,260,30), (764,261,50), (764,262,30), (765,243,500), (765,244,4), (765,250,1000), (765,257,1), (765,259,10), (765,260,20), (765,263,1), (765,288,5), (766,248,5), (766,249,2), (766,250,125), (766,256,5), (766,259,10), (766,260,20), (766,262,5), (767,248,5), (767,249,5), (767,250,125), (767,256,5), (767,259,10), (767,260,20), (767,262,5), (768,248,5), (768,250,125), (768,256,5), (768,259,10), (768,260,20), (768,262,5), (769,248,5), (769,250,125), (769,259,10), (769,260,20), (769,262,10), (774,243,500), (774,244,2), (775,243,500), (775,244,2), (776,243,500), (776,244,2), (777,243,500), (777,244,2), (778,258,30), (778,263,2), (781,258,30), (781,261,50), (781,263,2), (786,265,3), (787,265,3), (788,265,3), (789,265,3), (790,266,3), (791,266,3), (792,266,3), (793,266,3), (794,267,3), (795,267,3), (796,267,3), (797,267,3), (798,268,3), (799,268,3), (800,268,3), (801,268,3), (805,67,5), (806,67,5), (807,67,5), (808,67,5), (809,68,5), (810,68,5), (811,68,5), (812,68,5), (813,269,5), (814,269,5), (814,270,1), (815,269,5), (815,270,1), (816,269,5), (816,270,1), (817,9,5), (817,11,5), (818,10,5), (818,16,5), (819,14,5), (820,12,5), (820,13,5), (824,271,5), (825,271,5), (826,271,5), (827,271,5), (828,272,5), (829,272,5), (830,272,5), (831,272,5), (832,273,5), (833,273,5), (834,273,5), (835,273,5), (836,274,1), (837,274,1), (838,274,1), (839,274,1), (843,2,5), (843,3,5), (843,18,5), (844,2,5), (844,3,5), (844,21,5), (845,2,5), (845,3,5), (845,18,5), (846,2,5), (846,3,5), (846,21,5), (847,24,5), (848,24,5), (849,24,5), (850,24,5), (851,275,5), (852,275,5), (853,275,5), (854,275,5), (855,276,1), (856,276,1), (857,276,1), (858,276,1), (861,243,200), (861,244,1), (861,245,10), (861,246,25),
swganh/mmoserverdb
e97fe07f21d56951eff23ab1f2487116b0d1ee60
removed character check as it's now in the core
diff --git a/swganh/procedures/sp_CharacterCreate.sql b/swganh/procedures/sp_CharacterCreate.sql index 5914dbf..2de5987 100644 --- a/swganh/procedures/sp_CharacterCreate.sql +++ b/swganh/procedures/sp_CharacterCreate.sql @@ -1,306 +1,292 @@ /* --------------------------------------------------------------------------------------- This source file is part of SWG:ANH (Star Wars Galaxies - A New Hope - Server Emulator) For more information, visit http://www.swganh.com Copyright (c) 2006 - 2010 The SWG:ANH Team --------------------------------------------------------------------------------------- This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA --------------------------------------------------------------------------------------- */ /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8 */; /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; /*!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' */; -- -- Use schema swganh -- USE swganh; -- -- Definition of procedure `sp_CharacterCreate` -- DROP PROCEDURE IF EXISTS `sp_CharacterCreate`; DELIMITER $$ CREATE DEFINER=`root`@`localhost` PROCEDURE `sp_CharacterCreate`( IN start_account_id INT,IN start_galaxy_id INT,IN start_firstname char(32),IN start_lastname char(32), IN start_profession char(64),IN start_city char(32),IN start_scale FLOAT,IN start_biography text(2048), IN 00FF INT, IN 01FF INT, IN 02FF INT, IN 03FF INT, IN 04FF INT, IN 05FF INT, IN 06FF INT, IN 07FF INT, IN 08FF INT, IN 09FF INT, IN 0AFF INT, IN 0BFF INT, IN 0CFF INT, IN 0DFF INT, IN 0EFF INT, IN 0FFF INT, IN 10FF INT, IN 11FF INT, IN 12FF INT, IN 13FF INT, IN 14FF INT, IN 15FF INT, IN 16FF INT, IN 17FF INT, IN 18FF INT, IN 19FF INT, IN 1AFF INT, IN 1BFF INT, IN 1CFF INT, IN 1DFF INT, IN 1EFF INT, IN 1FFF INT, IN 20FF INT, IN 21FF INT, IN 22FF INT, IN 23FF INT, IN 24FF INT, IN 25FF INT, IN 26FF INT, IN 27FF INT, IN 28FF INT, IN 29FF INT, IN 2AFF INT, IN 2BFF INT, IN 2CFF INT, IN 2DFF INT, IN 2EFF INT, IN 2FFF INT, IN 30FF INT, IN 31FF INT, IN 32FF INT, IN 33FF INT, IN 34FF INT, IN 35FF INT, IN 36FF INT, IN 37FF INT, IN 38FF INT, IN 39FF INT, IN 3AFF INT, IN 3BFF INT, IN 3CFF INT, IN 3DFF INT, IN 3EFF INT, IN 3FFF INT, IN 40FF INT, IN 41FF INT, IN 42FF INT, IN 43FF INT, IN 44FF INT, IN 45FF INT, IN 46FF INT, IN 47FF INT, IN 48FF INT, IN 49FF INT, IN 4AFF INT, IN 4BFF INT, IN 4CFF INT, IN 4DFF INT, IN 4EFF INT, IN 4FFF INT, IN 50FF INT, IN 51FF INT, IN 52FF INT, IN 53FF INT, IN 54FF INT, IN 55FF INT, IN 56FF INT, IN 57FF INT, IN 58FF INT, IN 59FF INT, IN 5AFF INT, IN 5BFF INT, IN 5CFF INT, IN 5DFF INT, IN 5EFF INT, IN 5FFF INT, IN 60FF INT, IN 61FF INT, IN 62FF INT, IN 63FF INT, IN 64FF INT, IN 65FF INT, IN 66FF INT, IN 67FF INT, IN 68FF INT, IN 69FF INT, IN 6AFF INT, IN 6BFF INT, IN 6CFF INT, IN 6DFF INT, IN 6EFF INT, IN 6FFF INT, IN 70FF INT, IN ABFF INT, IN AB2FF INT, IN start_hair_model CHAR(64), IN hair1 INT,IN hair2 INT, IN base_model_string CHAR(64)) charCreate:BEGIN -- -- Declare Vars -- DECLARE oX FLOAT;DECLARE oY FLOAT;DECLARE oZ FLOAT;DECLARE oW FLOAT; DECLARE battlefatigue INT; DECLARE race_id INT; DECLARE character_id BIGINT(20); DECLARE character_parent_id BIGINT(20); DECLARE inventory_id BIGINT(20); DECLARE tutorialcontainer_id BIGINT(20); DECLARE privateowner_id BIGINT(20); DECLARE bank_id BIGINT(20); DECLARE datapad_id BIGINT(20); DECLARE planet_name char(32); DECLARE profession_id INT; DECLARE t_health INT; DECLARE t_strength INT; DECLARE t_constitution INT; DECLARE t_action INT; DECLARE t_quickness INT; DECLARE t_stamina INT; DECLARE t_mind INT; DECLARE t_focus INT; DECLARE t_willpower INT; DECLARE start_planet INT; DECLARE start_x FLOAT;DECLARE start_y FLOAT;DECLARE start_z FLOAT; DECLARE shortSpecies CHAR(32); DECLARE gender INT(3); DECLARE base_skill_id INT; DECLARE nameCheck INT; DECLARE currentTime BIGINT(20); DECLARE tool_id BIGINT(20); DECLARE melon_id BIGINT(20); DECLARE charactersAllowed INT; DECLARE charactersCurrent INT; -- -- Transactional Support -- DECLARE EXIT HANDLER FOR NOT FOUND BEGIN SET character_id = 4; ROLLBACK; SELECT character_id; END; DECLARE EXIT HANDLER FOR SQLEXCEPTION BEGIN SET character_id = 4; ROLLBACK; SELECT character_id; END; DECLARE EXIT HANDLER FOR SQLWARNING BEGIN SET character_id = 4; ROLLBACK; SELECT character_id; END; - - -- - -- Check if the account is allowed to have another character - -- - - SELECT characters_allowed FROM account WHERE account_id = start_account_id INTO charactersAllowed; - SELECT COUNT(account_id) FROM characters WHERE account_id = start_account_id INTO charactersCurrent; - - IF (charactersCurrent + 1) > charactersAllowed THEN - SET character_id = 15; - SELECT character_id; - LEAVE charCreate; - END IF; - -- -- Check the new character name for validity -- SELECT sf_CharacterNameDeveloperCheck(start_firstname) INTO nameCheck; IF nameCheck <> 666 THEN SELECT(nameCheck); LEAVE charCreate; END IF; SELECT sf_CharacterNameFictionalCheck(start_firstname) INTO nameCheck; IF nameCheck <> 666 THEN SELECT(nameCheck); LEAVE charCreate; END IF; SELECT sf_CharacterNameInUseCheck(start_firstname) INTO nameCheck; IF nameCheck <> 666 THEN SELECT(nameCheck); LEAVE charCreate; END IF; -- -- Set the gender -- IF base_model_string like '%female%' THEN SET gender = 0; ELSE SET gender = 1; END IF; -- -- Set defaults (battle fatigue, world orientation) -- SET character_parent_id = 0; SET privateowner_id = 0; SET battlefatigue = 0; SET oX = 0; SET oY = 1; SET oZ = 0; SET oW = 0; -- -- Transaction Start -- START TRANSACTION; SELECT MAX(id) + 1000 FROM characters INTO character_id FOR UPDATE; IF character_id IS NULL THEN SET character_id = 8589934593; END IF; -- -- Set the initial IDs -- SET inventory_id = character_id + 1; SET bank_id = character_id + 4; SET datapad_id = character_id + 3; SET tutorialcontainer_id = 0; SELECT planet_id, x, y, z FROM starting_location WHERE location LIKE start_city INTO start_planet, start_x, start_y, start_z; SELECT f_speciesShort(base_model_string) INTO shortSpecies; SELECT health, strength, constitution, action, quickness, stamina, mind, focus, willpower FROM starting_attributes WHERE starting_attributes.species like shortSpecies AND starting_attributes.profession like start_profession INTO t_health, t_strength, t_constitution, t_action, t_quickness, t_stamina, t_mind, t_focus, t_willpower; SELECT id from race where race.name like shortSpecies into race_id; SELECT skill_id from skills where skill_name like start_profession INTO profession_id; -- Don't set any default skills or XP when creating player in the Tutorial. IF start_city = 'tutorial' THEN SET character_parent_id = 2203318222960; SET tutorialcontainer_id = 2533274790395904; SET privateowner_id = character_id; END IF; IF start_city = 'default_location' THEN SET character_parent_id = 2203318222975; END IF; INSERT INTO characters VALUES (character_id, start_account_id, start_galaxy_id, start_firstname, start_lastname, race_id, character_parent_id, start_planet, start_x, start_y, start_z, oX, oY, oZ, oW, 0, NULL, 0, CURDATE() + 0); INSERT INTO inventories VALUES (inventory_id,1,1000); INSERT INTO banks VALUES (bank_id,1000,-1); INSERT INTO datapads VALUES (datapad_id,1); INSERT INTO character_attributes VALUES (character_id, 1, t_health, t_strength, t_constitution, t_action, t_quickness, t_stamina, t_mind, t_focus, t_willpower, t_health, t_strength, t_constitution, t_action, t_quickness, t_stamina, t_mind, t_focus, t_willpower, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, battlefatigue,0,0,NULL,0,0,1,0,0,0,3); INSERT INTO character_appearance VALUES (character_id, 00FF, 01FF, 02FF, 03FF, 04FF, 05FF, 06FF, 07FF, 08FF, 09FF, 0AFF, 0BFF, 0CFF, 0DFF, 0EFF, 0FFF, 10FF, 11FF, 12FF, 13FF, 14FF, 15FF, 16FF, 17FF, 18FF, 19FF, 1AFF, 1BFF, 1CFF, 1DFF, 1EFF, 1FFF, 20FF, 21FF, 22FF, 23FF, 24FF, 25FF, 26FF, 27FF, 28FF, 29FF, 2AFF, 2BFF, 2CFF, 2DFF, 2EFF, 2FFF, 30FF, 31FF, 32FF, 33FF, 34FF, 35FF, 36FF, 37FF, 38FF, 39FF, 3AFF, 3BFF, 3CFF, 3DFF, 3EFF, 3FFF, 40FF, 41FF, 42FF, 43FF, 44FF, 45FF, 46FF, 47FF, 48FF, 49FF, 4AFF, 4BFF, 4CFF, 4DFF, 4EFF, 4FFF, 50FF, 51FF, 52FF, 53FF, 54FF, 55FF, 56FF, 57FF, 58FF, 59FF, 5AFF, 5BFF, 5CFF, 5DFF, 5EFF, 5FFF, 60FF, 61FF, 62FF, 63FF, 64FF, 65FF, 66FF, 67FF, 68FF, 69FF, 6AFF, 6BFF, 6CFF, 6DFF, 6EFF, 6FFF, 70FF, ABFF, AB2FF, start_hair_model, hair1,hair2, base_model_string,start_scale); INSERT INTO character_movement VALUES(character_id,5.75,1.50,1.00,0.0125); INSERT INTO character_tutorial VALUES(character_id,1,1,start_profession); IF start_city <> 'tutorial' THEN SET base_skill_id = profession_id + 1; CALL sp_CharacterSkillsCreate(character_id,base_skill_id,race_id); CALL sp_CharacterXpCreate(character_id,base_skill_id); END IF; IF start_biography IS NULL THEN SET start_biography = ''; END IF; INSERT INTO character_biography VALUES (character_id, start_biography); INSERT INTO character_matchmaking VALUES (character_id,0,0,0,0,0); CALL sp_CharacterCreateFactions(character_id); CALL sp_CharacterStartingItems(inventory_id,tutorialcontainer_id,privateowner_id,race_id,profession_id,gender); -- -- Fix Melon to have 5 stacks -- -- Wen running the Tutorial there is no melon in the inventory. And it will make it impossible to create a character at the Tutorial zone. -- SELECT id FROM items WHERE parent_id = inventory_id AND item_type = 89 INTO melon_id; -- INSERT INTO item_attributes VALUES (melon_id, 23, 5, 3, NULL); IF start_city = 'tutorial' THEN SELECT id FROM items WHERE items.privateowner_id = character_id AND items.item_type = 89 INTO melon_id; INSERT INTO item_attributes VALUES (melon_id, 23, 5, 3, NULL); ELSE SELECT id FROM items WHERE items.parent_id = inventory_id AND items.item_type = 89 INTO melon_id; INSERT INTO item_attributes VALUES (melon_id, 23, 5, 3, NULL); END IF; -- -- Fix tools to have effectivness of 0 -- IF start_profession LIKE '%crafting%' OR start_profession LIKE '%scout%' THEN SELECT id FROM items where parent_id = inventory_id AND item_family = 3 INTO tool_id; UPDATE item_attributes SET item_attributes.value = '0' WHERE attribute_id = 15 and item_id = tool_id; END IF; -- -- Commit Transaction -- COMMIT; -- -- Return new character ID -- SELECT(character_id); END $$ DELIMITER ; /*!40101 SET SQL_MODE=@OLD_SQL_MODE */; /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; \ No newline at end of file
swganh/mmoserverdb
49b263049e6f948e815873068733b8e256aa426c
sp_ServerStatusUpdate
diff --git a/swganh/procedures/sp_ServerStatusUpdate.sql b/swganh/procedures/sp_ServerStatusUpdate.sql new file mode 100644 index 0000000..4c309e4 --- /dev/null +++ b/swganh/procedures/sp_ServerStatusUpdate.sql @@ -0,0 +1,87 @@ +/* +--------------------------------------------------------------------------------------- +This source file is part of SWG:ANH (Star Wars Galaxies - A New Hope - Server Emulator) + +For more information, visit http://www.swganh.com + +Copyright (c) 2006 - 2010 The SWG:ANH Team +--------------------------------------------------------------------------------------- +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU Lesser General Public +License as published by the Free Software Foundation; either +version 2.1 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Lesser General Public License for more details. + +You should have received a copy of the GNU Lesser General Public +License along with this library; if not, write to the Free Software +Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +--------------------------------------------------------------------------------------- +*/ + +/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; +/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; +/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; +/*!40101 SET NAMES utf8 */; + +/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; +/*!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' */; + +use swganh; + +-- +-- Definition of procedure `sp_ServerStatusUpdate` +-- + +DROP PROCEDURE IF EXISTS `sp_ServerStatusUpdate`; + +DELIMITER $$ + +/*!50003 SET @TEMP_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */ $$ +CREATE DEFINER=`root`@`localhost` PROCEDURE `sp_ServerStatusUpdate`(IN serverName CHAR(64), serverStatus INT, serverAddress CHAR(64), serverPort INT) +BEGIN + + ## + ## sp_ServerStatusUpdate () + ## + ## Updates the status of the server + ## + ## Returns nothing + ## + + ## + ## Update ip address, port & status of service + + IF serverAddress IS NOT NULL THEN + UPDATE config_process_list SET address = serverAddress, port = serverPort, status = serverStatus WHERE name = serverName; + END IF; + + ## + ## Update status + + IF serverAddress AND serverPort IS NULL THEN + UPDATE config_process_list SET status = serverStatus WHERE name = serverName; + END IF; + + ## Update ServerID + + IF serverStatus AND serverAddress AND serverPort IS NULL THEN + UPDATE config_process_list SET serverstartID = serverstartID + 1 WHERE name like servername; + END IF; + +END $$ +/*!50003 SET SESSION SQL_MODE=@TEMP_SQL_MODE */ $$ + +DELIMITER ; + +/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; +/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; +/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; +/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; +/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; \ No newline at end of file
swganh/mmoserverdb
6b21647275df802171e25900b9f9325eb55de6a2
fix for character create procedure
diff --git a/swganh/procedures/sp_CharacterCreate.sql b/swganh/procedures/sp_CharacterCreate.sql index 2459af0..5914dbf 100644 --- a/swganh/procedures/sp_CharacterCreate.sql +++ b/swganh/procedures/sp_CharacterCreate.sql @@ -1,306 +1,306 @@ /* --------------------------------------------------------------------------------------- This source file is part of SWG:ANH (Star Wars Galaxies - A New Hope - Server Emulator) For more information, visit http://www.swganh.com Copyright (c) 2006 - 2010 The SWG:ANH Team --------------------------------------------------------------------------------------- This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA --------------------------------------------------------------------------------------- */ /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8 */; /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; /*!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' */; -- -- Use schema swganh -- USE swganh; -- -- Definition of procedure `sp_CharacterCreate` -- DROP PROCEDURE IF EXISTS `sp_CharacterCreate`; DELIMITER $$ CREATE DEFINER=`root`@`localhost` PROCEDURE `sp_CharacterCreate`( IN start_account_id INT,IN start_galaxy_id INT,IN start_firstname char(32),IN start_lastname char(32), IN start_profession char(64),IN start_city char(32),IN start_scale FLOAT,IN start_biography text(2048), IN 00FF INT, IN 01FF INT, IN 02FF INT, IN 03FF INT, IN 04FF INT, IN 05FF INT, IN 06FF INT, IN 07FF INT, IN 08FF INT, IN 09FF INT, IN 0AFF INT, IN 0BFF INT, IN 0CFF INT, IN 0DFF INT, IN 0EFF INT, IN 0FFF INT, IN 10FF INT, IN 11FF INT, IN 12FF INT, IN 13FF INT, IN 14FF INT, IN 15FF INT, IN 16FF INT, IN 17FF INT, IN 18FF INT, IN 19FF INT, IN 1AFF INT, IN 1BFF INT, IN 1CFF INT, IN 1DFF INT, IN 1EFF INT, IN 1FFF INT, IN 20FF INT, IN 21FF INT, IN 22FF INT, IN 23FF INT, IN 24FF INT, IN 25FF INT, IN 26FF INT, IN 27FF INT, IN 28FF INT, IN 29FF INT, IN 2AFF INT, IN 2BFF INT, IN 2CFF INT, IN 2DFF INT, IN 2EFF INT, IN 2FFF INT, IN 30FF INT, IN 31FF INT, IN 32FF INT, IN 33FF INT, IN 34FF INT, IN 35FF INT, IN 36FF INT, IN 37FF INT, IN 38FF INT, IN 39FF INT, IN 3AFF INT, IN 3BFF INT, IN 3CFF INT, IN 3DFF INT, IN 3EFF INT, IN 3FFF INT, IN 40FF INT, IN 41FF INT, IN 42FF INT, IN 43FF INT, IN 44FF INT, IN 45FF INT, IN 46FF INT, IN 47FF INT, IN 48FF INT, IN 49FF INT, IN 4AFF INT, IN 4BFF INT, IN 4CFF INT, IN 4DFF INT, IN 4EFF INT, IN 4FFF INT, IN 50FF INT, IN 51FF INT, IN 52FF INT, IN 53FF INT, IN 54FF INT, IN 55FF INT, IN 56FF INT, IN 57FF INT, IN 58FF INT, IN 59FF INT, IN 5AFF INT, IN 5BFF INT, IN 5CFF INT, IN 5DFF INT, IN 5EFF INT, IN 5FFF INT, IN 60FF INT, IN 61FF INT, IN 62FF INT, IN 63FF INT, IN 64FF INT, IN 65FF INT, IN 66FF INT, IN 67FF INT, IN 68FF INT, IN 69FF INT, IN 6AFF INT, IN 6BFF INT, IN 6CFF INT, IN 6DFF INT, IN 6EFF INT, IN 6FFF INT, IN 70FF INT, IN ABFF INT, IN AB2FF INT, IN start_hair_model CHAR(64), IN hair1 INT,IN hair2 INT, IN base_model_string CHAR(64)) charCreate:BEGIN -- -- Declare Vars -- DECLARE oX FLOAT;DECLARE oY FLOAT;DECLARE oZ FLOAT;DECLARE oW FLOAT; DECLARE battlefatigue INT; DECLARE race_id INT; DECLARE character_id BIGINT(20); DECLARE character_parent_id BIGINT(20); DECLARE inventory_id BIGINT(20); DECLARE tutorialcontainer_id BIGINT(20); DECLARE privateowner_id BIGINT(20); DECLARE bank_id BIGINT(20); DECLARE datapad_id BIGINT(20); DECLARE planet_name char(32); DECLARE profession_id INT; DECLARE t_health INT; DECLARE t_strength INT; DECLARE t_constitution INT; DECLARE t_action INT; DECLARE t_quickness INT; DECLARE t_stamina INT; DECLARE t_mind INT; DECLARE t_focus INT; DECLARE t_willpower INT; DECLARE start_planet INT; DECLARE start_x FLOAT;DECLARE start_y FLOAT;DECLARE start_z FLOAT; DECLARE shortSpecies CHAR(32); DECLARE gender INT(3); DECLARE base_skill_id INT; DECLARE nameCheck INT; DECLARE currentTime BIGINT(20); DECLARE tool_id BIGINT(20); DECLARE melon_id BIGINT(20); DECLARE charactersAllowed INT; DECLARE charactersCurrent INT; -- -- Transactional Support -- DECLARE EXIT HANDLER FOR NOT FOUND BEGIN SET character_id = 4; ROLLBACK; SELECT character_id; END; DECLARE EXIT HANDLER FOR SQLEXCEPTION BEGIN SET character_id = 4; ROLLBACK; SELECT character_id; END; DECLARE EXIT HANDLER FOR SQLWARNING BEGIN SET character_id = 4; ROLLBACK; SELECT character_id; END; -- -- Check if the account is allowed to have another character -- SELECT characters_allowed FROM account WHERE account_id = start_account_id INTO charactersAllowed; SELECT COUNT(account_id) FROM characters WHERE account_id = start_account_id INTO charactersCurrent; - IF (charactersCurrent + 1) >= charactersAllowed THEN + IF (charactersCurrent + 1) > charactersAllowed THEN SET character_id = 15; SELECT character_id; LEAVE charCreate; END IF; -- -- Check the new character name for validity -- SELECT sf_CharacterNameDeveloperCheck(start_firstname) INTO nameCheck; IF nameCheck <> 666 THEN SELECT(nameCheck); LEAVE charCreate; END IF; SELECT sf_CharacterNameFictionalCheck(start_firstname) INTO nameCheck; IF nameCheck <> 666 THEN SELECT(nameCheck); LEAVE charCreate; END IF; SELECT sf_CharacterNameInUseCheck(start_firstname) INTO nameCheck; IF nameCheck <> 666 THEN SELECT(nameCheck); LEAVE charCreate; END IF; -- -- Set the gender -- IF base_model_string like '%female%' THEN SET gender = 0; ELSE SET gender = 1; END IF; -- -- Set defaults (battle fatigue, world orientation) -- SET character_parent_id = 0; SET privateowner_id = 0; SET battlefatigue = 0; SET oX = 0; SET oY = 1; SET oZ = 0; SET oW = 0; -- -- Transaction Start -- START TRANSACTION; SELECT MAX(id) + 1000 FROM characters INTO character_id FOR UPDATE; IF character_id IS NULL THEN SET character_id = 8589934593; END IF; -- -- Set the initial IDs -- SET inventory_id = character_id + 1; SET bank_id = character_id + 4; SET datapad_id = character_id + 3; SET tutorialcontainer_id = 0; SELECT planet_id, x, y, z FROM starting_location WHERE location LIKE start_city INTO start_planet, start_x, start_y, start_z; SELECT f_speciesShort(base_model_string) INTO shortSpecies; SELECT health, strength, constitution, action, quickness, stamina, mind, focus, willpower FROM starting_attributes WHERE starting_attributes.species like shortSpecies AND starting_attributes.profession like start_profession INTO t_health, t_strength, t_constitution, t_action, t_quickness, t_stamina, t_mind, t_focus, t_willpower; SELECT id from race where race.name like shortSpecies into race_id; SELECT skill_id from skills where skill_name like start_profession INTO profession_id; -- Don't set any default skills or XP when creating player in the Tutorial. IF start_city = 'tutorial' THEN SET character_parent_id = 2203318222960; SET tutorialcontainer_id = 2533274790395904; SET privateowner_id = character_id; END IF; IF start_city = 'default_location' THEN SET character_parent_id = 2203318222975; END IF; INSERT INTO characters VALUES (character_id, start_account_id, start_galaxy_id, start_firstname, start_lastname, race_id, character_parent_id, start_planet, start_x, start_y, start_z, oX, oY, oZ, oW, 0, NULL, 0, CURDATE() + 0); INSERT INTO inventories VALUES (inventory_id,1,1000); INSERT INTO banks VALUES (bank_id,1000,-1); INSERT INTO datapads VALUES (datapad_id,1); INSERT INTO character_attributes VALUES (character_id, 1, t_health, t_strength, t_constitution, t_action, t_quickness, t_stamina, t_mind, t_focus, t_willpower, t_health, t_strength, t_constitution, t_action, t_quickness, t_stamina, t_mind, t_focus, t_willpower, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, battlefatigue,0,0,NULL,0,0,1,0,0,0,3); INSERT INTO character_appearance VALUES (character_id, 00FF, 01FF, 02FF, 03FF, 04FF, 05FF, 06FF, 07FF, 08FF, 09FF, 0AFF, 0BFF, 0CFF, 0DFF, 0EFF, 0FFF, 10FF, 11FF, 12FF, 13FF, 14FF, 15FF, 16FF, 17FF, 18FF, 19FF, 1AFF, 1BFF, 1CFF, 1DFF, 1EFF, 1FFF, 20FF, 21FF, 22FF, 23FF, 24FF, 25FF, 26FF, 27FF, 28FF, 29FF, 2AFF, 2BFF, 2CFF, 2DFF, 2EFF, 2FFF, 30FF, 31FF, 32FF, 33FF, 34FF, 35FF, 36FF, 37FF, 38FF, 39FF, 3AFF, 3BFF, 3CFF, 3DFF, 3EFF, 3FFF, 40FF, 41FF, 42FF, 43FF, 44FF, 45FF, 46FF, 47FF, 48FF, 49FF, 4AFF, 4BFF, 4CFF, 4DFF, 4EFF, 4FFF, 50FF, 51FF, 52FF, 53FF, 54FF, 55FF, 56FF, 57FF, 58FF, 59FF, 5AFF, 5BFF, 5CFF, 5DFF, 5EFF, 5FFF, 60FF, 61FF, 62FF, 63FF, 64FF, 65FF, 66FF, 67FF, 68FF, 69FF, 6AFF, 6BFF, 6CFF, 6DFF, 6EFF, 6FFF, 70FF, ABFF, AB2FF, start_hair_model, hair1,hair2, base_model_string,start_scale); INSERT INTO character_movement VALUES(character_id,5.75,1.50,1.00,0.0125); INSERT INTO character_tutorial VALUES(character_id,1,1,start_profession); IF start_city <> 'tutorial' THEN SET base_skill_id = profession_id + 1; CALL sp_CharacterSkillsCreate(character_id,base_skill_id,race_id); CALL sp_CharacterXpCreate(character_id,base_skill_id); END IF; IF start_biography IS NULL THEN SET start_biography = ''; END IF; INSERT INTO character_biography VALUES (character_id, start_biography); INSERT INTO character_matchmaking VALUES (character_id,0,0,0,0,0); CALL sp_CharacterCreateFactions(character_id); CALL sp_CharacterStartingItems(inventory_id,tutorialcontainer_id,privateowner_id,race_id,profession_id,gender); -- -- Fix Melon to have 5 stacks -- -- Wen running the Tutorial there is no melon in the inventory. And it will make it impossible to create a character at the Tutorial zone. -- SELECT id FROM items WHERE parent_id = inventory_id AND item_type = 89 INTO melon_id; -- INSERT INTO item_attributes VALUES (melon_id, 23, 5, 3, NULL); IF start_city = 'tutorial' THEN SELECT id FROM items WHERE items.privateowner_id = character_id AND items.item_type = 89 INTO melon_id; INSERT INTO item_attributes VALUES (melon_id, 23, 5, 3, NULL); ELSE SELECT id FROM items WHERE items.parent_id = inventory_id AND items.item_type = 89 INTO melon_id; INSERT INTO item_attributes VALUES (melon_id, 23, 5, 3, NULL); END IF; -- -- Fix tools to have effectivness of 0 -- IF start_profession LIKE '%crafting%' OR start_profession LIKE '%scout%' THEN SELECT id FROM items where parent_id = inventory_id AND item_family = 3 INTO tool_id; UPDATE item_attributes SET item_attributes.value = '0' WHERE attribute_id = 15 and item_id = tool_id; END IF; -- -- Commit Transaction -- COMMIT; -- -- Return new character ID -- SELECT(character_id); END $$ DELIMITER ; /*!40101 SET SQL_MODE=@OLD_SQL_MODE */; /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; \ No newline at end of file
swganh/mmoserverdb
10a12e34ed4c398451c3b7be1eb8701d90d63b34
- fix for tool effectivness to only apply to crafting / scout professions - added check for maximum characters allowed
diff --git a/swganh/procedures/sp_CharacterCreate.sql b/swganh/procedures/sp_CharacterCreate.sql index e9c1335..2459af0 100644 --- a/swganh/procedures/sp_CharacterCreate.sql +++ b/swganh/procedures/sp_CharacterCreate.sql @@ -1,311 +1,306 @@ /* --------------------------------------------------------------------------------------- This source file is part of SWG:ANH (Star Wars Galaxies - A New Hope - Server Emulator) For more information, visit http://www.swganh.com Copyright (c) 2006 - 2010 The SWG:ANH Team --------------------------------------------------------------------------------------- This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA --------------------------------------------------------------------------------------- */ /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8 */; /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; /*!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' */; -- -- Use schema swganh -- USE swganh; -- -- Definition of procedure `sp_CharacterCreate` -- DROP PROCEDURE IF EXISTS `sp_CharacterCreate`; DELIMITER $$ CREATE DEFINER=`root`@`localhost` PROCEDURE `sp_CharacterCreate`( IN start_account_id INT,IN start_galaxy_id INT,IN start_firstname char(32),IN start_lastname char(32), IN start_profession char(64),IN start_city char(32),IN start_scale FLOAT,IN start_biography text(2048), IN 00FF INT, IN 01FF INT, IN 02FF INT, IN 03FF INT, IN 04FF INT, IN 05FF INT, IN 06FF INT, IN 07FF INT, IN 08FF INT, IN 09FF INT, IN 0AFF INT, IN 0BFF INT, IN 0CFF INT, IN 0DFF INT, IN 0EFF INT, IN 0FFF INT, IN 10FF INT, IN 11FF INT, IN 12FF INT, IN 13FF INT, IN 14FF INT, IN 15FF INT, IN 16FF INT, IN 17FF INT, IN 18FF INT, IN 19FF INT, IN 1AFF INT, IN 1BFF INT, IN 1CFF INT, IN 1DFF INT, IN 1EFF INT, IN 1FFF INT, IN 20FF INT, IN 21FF INT, IN 22FF INT, IN 23FF INT, IN 24FF INT, IN 25FF INT, IN 26FF INT, IN 27FF INT, IN 28FF INT, IN 29FF INT, IN 2AFF INT, IN 2BFF INT, IN 2CFF INT, IN 2DFF INT, IN 2EFF INT, IN 2FFF INT, IN 30FF INT, IN 31FF INT, IN 32FF INT, IN 33FF INT, IN 34FF INT, IN 35FF INT, IN 36FF INT, IN 37FF INT, IN 38FF INT, IN 39FF INT, IN 3AFF INT, IN 3BFF INT, IN 3CFF INT, IN 3DFF INT, IN 3EFF INT, IN 3FFF INT, IN 40FF INT, IN 41FF INT, IN 42FF INT, IN 43FF INT, IN 44FF INT, IN 45FF INT, IN 46FF INT, IN 47FF INT, IN 48FF INT, IN 49FF INT, IN 4AFF INT, IN 4BFF INT, IN 4CFF INT, IN 4DFF INT, IN 4EFF INT, IN 4FFF INT, IN 50FF INT, IN 51FF INT, IN 52FF INT, IN 53FF INT, IN 54FF INT, IN 55FF INT, IN 56FF INT, IN 57FF INT, IN 58FF INT, IN 59FF INT, IN 5AFF INT, IN 5BFF INT, IN 5CFF INT, IN 5DFF INT, IN 5EFF INT, IN 5FFF INT, IN 60FF INT, IN 61FF INT, IN 62FF INT, IN 63FF INT, IN 64FF INT, IN 65FF INT, IN 66FF INT, IN 67FF INT, IN 68FF INT, IN 69FF INT, IN 6AFF INT, IN 6BFF INT, IN 6CFF INT, IN 6DFF INT, IN 6EFF INT, IN 6FFF INT, IN 70FF INT, IN ABFF INT, IN AB2FF INT, IN start_hair_model CHAR(64), IN hair1 INT,IN hair2 INT, IN base_model_string CHAR(64)) charCreate:BEGIN - -- - -- Declare Vars - -- + -- + -- Declare Vars + -- - DECLARE oX FLOAT;DECLARE oY FLOAT;DECLARE oZ FLOAT;DECLARE oW FLOAT; - DECLARE battlefatigue INT; + DECLARE oX FLOAT;DECLARE oY FLOAT;DECLARE oZ FLOAT;DECLARE oW FLOAT; + DECLARE battlefatigue INT; DECLARE race_id INT; DECLARE character_id BIGINT(20); - DECLARE character_parent_id BIGINT(20); - DECLARE inventory_id BIGINT(20); - DECLARE tutorialcontainer_id BIGINT(20); - DECLARE privateowner_id BIGINT(20); + DECLARE character_parent_id BIGINT(20); + DECLARE inventory_id BIGINT(20); + DECLARE tutorialcontainer_id BIGINT(20); + DECLARE privateowner_id BIGINT(20); DECLARE bank_id BIGINT(20); DECLARE datapad_id BIGINT(20); DECLARE planet_name char(32); DECLARE profession_id INT; DECLARE t_health INT; DECLARE t_strength INT; DECLARE t_constitution INT; DECLARE t_action INT; DECLARE t_quickness INT; DECLARE t_stamina INT; DECLARE t_mind INT; DECLARE t_focus INT; DECLARE t_willpower INT; DECLARE start_planet INT; DECLARE start_x FLOAT;DECLARE start_y FLOAT;DECLARE start_z FLOAT; DECLARE shortSpecies CHAR(32); DECLARE gender INT(3); - DECLARE base_skill_id INT; - DECLARE nameCheck INT; + DECLARE base_skill_id INT; + DECLARE nameCheck INT; DECLARE currentTime BIGINT(20); - DECLARE tool_id BIGINT(20); + DECLARE tool_id BIGINT(20); DECLARE melon_id BIGINT(20); - - -- - -- Transactional Support - -- - - DECLARE EXIT HANDLER FOR NOT FOUND - BEGIN - SET character_id = 4; - ROLLBACK; - SELECT character_id; - END; - - DECLARE EXIT HANDLER FOR SQLEXCEPTION - BEGIN - SET character_id = 4; - ROLLBACK; - SELECT character_id; - END; - - DECLARE EXIT HANDLER FOR SQLWARNING - BEGIN - SET character_id = 4; - ROLLBACK; - SELECT character_id; - END; - - SELECT sf_CharacterNameDeveloperCheck(start_firstname) INTO nameCheck; - IF nameCheck <> 666 THEN - SELECT(nameCheck); - LEAVE charCreate; - END IF; - - SELECT sf_CharacterNameFictionalCheck(start_firstname) INTO nameCheck; - IF nameCheck <> 666 THEN - SELECT(nameCheck); - LEAVE charCreate; - END IF; - - SELECT sf_CharacterNameInUseCheck(start_firstname) INTO nameCheck; - IF nameCheck <> 666 THEN - SELECT(nameCheck); - LEAVE charCreate; - END IF; - - -- - -- Set our gender - -- - - IF base_model_string like '%female%' THEN - SET gender = 0; - ELSE - SET gender = 1; - END IF; - - -- - -- Set defaults (battle fatigue, world orientation) - -- - - SET character_parent_id = 0; - SET privateowner_id = 0; - SET battlefatigue = 0; - SET oX = 0; - SET oY = 1; - SET oZ = 0; - SET oW = 0; - + DECLARE charactersAllowed INT; + DECLARE charactersCurrent INT; + + -- + -- Transactional Support + -- + + DECLARE EXIT HANDLER FOR NOT FOUND + BEGIN + SET character_id = 4; + ROLLBACK; + SELECT character_id; + END; + + DECLARE EXIT HANDLER FOR SQLEXCEPTION + BEGIN + SET character_id = 4; + ROLLBACK; + SELECT character_id; + END; + + DECLARE EXIT HANDLER FOR SQLWARNING + BEGIN + SET character_id = 4; + ROLLBACK; + SELECT character_id; + END; + + -- + -- Check if the account is allowed to have another character + -- + + SELECT characters_allowed FROM account WHERE account_id = start_account_id INTO charactersAllowed; + SELECT COUNT(account_id) FROM characters WHERE account_id = start_account_id INTO charactersCurrent; + + IF (charactersCurrent + 1) >= charactersAllowed THEN + SET character_id = 15; + SELECT character_id; + LEAVE charCreate; + END IF; + + -- + -- Check the new character name for validity + -- + + SELECT sf_CharacterNameDeveloperCheck(start_firstname) INTO nameCheck; + IF nameCheck <> 666 THEN + SELECT(nameCheck); + LEAVE charCreate; + END IF; + + SELECT sf_CharacterNameFictionalCheck(start_firstname) INTO nameCheck; + IF nameCheck <> 666 THEN + SELECT(nameCheck); + LEAVE charCreate; + END IF; + + SELECT sf_CharacterNameInUseCheck(start_firstname) INTO nameCheck; + IF nameCheck <> 666 THEN + SELECT(nameCheck); + LEAVE charCreate; + END IF; + + -- + -- Set the gender + -- + + IF base_model_string like '%female%' THEN + SET gender = 0; + ELSE + SET gender = 1; + END IF; + + -- + -- Set defaults (battle fatigue, world orientation) + -- + + SET character_parent_id = 0; + SET privateowner_id = 0; + SET battlefatigue = 0; + SET oX = 0; + SET oY = 1; + SET oZ = 0; + SET oW = 0; + -- -- Transaction Start -- - START TRANSACTION; + START TRANSACTION; - -- - -- Get our new characater ID - -- + SELECT MAX(id) + 1000 FROM characters INTO character_id FOR UPDATE; - SELECT MAX(id) + 1000 FROM characters INTO character_id FOR UPDATE; + IF character_id IS NULL THEN + SET character_id = 8589934593; + END IF; - IF character_id IS NULL THEN - SET character_id = 8589934593; - END IF; + -- + -- Set the initial IDs + -- - -- - -- Set the initial IDs - -- + SET inventory_id = character_id + 1; + SET bank_id = character_id + 4; + SET datapad_id = character_id + 3; + SET tutorialcontainer_id = 0; - SET inventory_id = character_id + 1; - SET bank_id = character_id + 4; - SET datapad_id = character_id + 3; - SET tutorialcontainer_id = 0; + SELECT planet_id, x, y, z FROM starting_location WHERE location LIKE start_city INTO start_planet, start_x, start_y, start_z; - -- - -- Select our starting location - -- + SELECT f_speciesShort(base_model_string) INTO shortSpecies; - SELECT planet_id, x, y, z FROM starting_location WHERE location LIKE start_city INTO start_planet, start_x, start_y, start_z; + SELECT health, strength, constitution, action, quickness, stamina, mind, focus, willpower FROM starting_attributes WHERE starting_attributes.species like shortSpecies AND starting_attributes.profession like start_profession INTO t_health, t_strength, t_constitution, t_action, t_quickness, t_stamina, t_mind, t_focus, t_willpower; - -- - -- Select our species type - -- + SELECT id from race where race.name like shortSpecies into race_id; - SELECT f_speciesShort(base_model_string) INTO shortSpecies; + SELECT skill_id from skills where skill_name like start_profession INTO profession_id; - -- - -- Select our base stats - -- + -- Don't set any default skills or XP when creating player in the Tutorial. - SELECT health, strength, constitution, action, quickness, stamina, mind, focus, willpower FROM starting_attributes WHERE starting_attributes.species like shortSpecies AND starting_attributes.profession like start_profession INTO t_health, t_strength, t_constitution, t_action, t_quickness, t_stamina, t_mind, t_focus, t_willpower; + IF start_city = 'tutorial' THEN + SET character_parent_id = 2203318222960; + SET tutorialcontainer_id = 2533274790395904; + SET privateowner_id = character_id; + END IF; - -- - -- Select our race ID - -- - - SELECT id from race where race.name like shortSpecies into race_id; - - -- - -- Select our base skills - -- - - SELECT skill_id from skills where skill_name like start_profession INTO profession_id; - - -- Don't set any default skills or XP when creating player in the Tutorial. - - IF start_city = 'tutorial' THEN - SET character_parent_id = 2203318222960; - SET tutorialcontainer_id = 2533274790395904; - SET privateowner_id = character_id; - END IF; - - IF start_city = 'default_location' THEN - SET character_parent_id = 2203318222975; - END IF; - - -- - -- Create our character - -- + IF start_city = 'default_location' THEN + SET character_parent_id = 2203318222975; + END IF; - INSERT INTO characters VALUES (character_id, start_account_id, start_galaxy_id, start_firstname, start_lastname, race_id, character_parent_id, start_planet, start_x, start_y, start_z, oX, oY, oZ, oW, 0, NULL, 0, CURDATE() + 0); - INSERT INTO inventories VALUES (inventory_id,1,1000); - INSERT INTO banks VALUES (bank_id,1000,-1); - INSERT INTO datapads VALUES (datapad_id,1); - INSERT INTO character_attributes VALUES (character_id, 1, t_health, t_strength, t_constitution, t_action, t_quickness, t_stamina, t_mind, t_focus, t_willpower, t_health, t_strength, t_constitution, t_action, t_quickness, t_stamina, t_mind, t_focus, t_willpower, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, battlefatigue,0,0,NULL,0,0,1,0,0,0,3); - INSERT INTO character_appearance VALUES (character_id, 00FF, 01FF, 02FF, 03FF, 04FF, 05FF, 06FF, 07FF, 08FF, 09FF, 0AFF, 0BFF, 0CFF, 0DFF, 0EFF, 0FFF, 10FF, 11FF, 12FF, 13FF, 14FF, 15FF, 16FF, 17FF, 18FF, 19FF, 1AFF, 1BFF, 1CFF, 1DFF, 1EFF, 1FFF, 20FF, 21FF, 22FF, 23FF, 24FF, 25FF, 26FF, 27FF, 28FF, 29FF, 2AFF, 2BFF, 2CFF, 2DFF, 2EFF, 2FFF, 30FF, 31FF, 32FF, 33FF, 34FF, 35FF, 36FF, 37FF, 38FF, 39FF, 3AFF, 3BFF, 3CFF, 3DFF, 3EFF, 3FFF, 40FF, 41FF, 42FF, 43FF, 44FF, 45FF, 46FF, 47FF, 48FF, 49FF, 4AFF, 4BFF, 4CFF, 4DFF, 4EFF, 4FFF, 50FF, 51FF, 52FF, 53FF, 54FF, 55FF, 56FF, 57FF, 58FF, 59FF, 5AFF, 5BFF, 5CFF, 5DFF, 5EFF, 5FFF, 60FF, 61FF, 62FF, 63FF, 64FF, 65FF, 66FF, 67FF, 68FF, 69FF, 6AFF, 6BFF, 6CFF, 6DFF, 6EFF, 6FFF, 70FF, ABFF, AB2FF, start_hair_model, hair1,hair2, base_model_string,start_scale); - INSERT INTO character_movement VALUES(character_id,5.75,1.50,1.00,0.0125); - INSERT INTO character_tutorial VALUES(character_id,1,1,start_profession); - - IF start_city <> 'tutorial' THEN - SET base_skill_id = profession_id + 1; - CALL sp_CharacterSkillsCreate(character_id,base_skill_id,race_id); - CALL sp_CharacterXpCreate(character_id,base_skill_id); - END IF; - - IF start_biography IS NULL THEN SET start_biography = ''; - END IF; - - INSERT INTO character_biography VALUES (character_id, start_biography); - INSERT INTO character_matchmaking VALUES (character_id,0,0,0,0,0); - - CALL sp_CharacterCreateFactions(character_id); - CALL sp_CharacterStartingItems(inventory_id,tutorialcontainer_id,privateowner_id,race_id,profession_id,gender); + INSERT INTO characters VALUES (character_id, start_account_id, start_galaxy_id, start_firstname, start_lastname, race_id, character_parent_id, start_planet, start_x, start_y, start_z, oX, oY, oZ, oW, 0, NULL, 0, CURDATE() + 0); + INSERT INTO inventories VALUES (inventory_id,1,1000); + INSERT INTO banks VALUES (bank_id,1000,-1); + INSERT INTO datapads VALUES (datapad_id,1); + INSERT INTO character_attributes VALUES (character_id, 1, t_health, t_strength, t_constitution, t_action, t_quickness, t_stamina, t_mind, t_focus, t_willpower, t_health, t_strength, t_constitution, t_action, t_quickness, t_stamina, t_mind, t_focus, t_willpower, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, battlefatigue,0,0,NULL,0,0,1,0,0,0,3); + INSERT INTO character_appearance VALUES (character_id, 00FF, 01FF, 02FF, 03FF, 04FF, 05FF, 06FF, 07FF, 08FF, 09FF, 0AFF, 0BFF, 0CFF, 0DFF, 0EFF, 0FFF, 10FF, 11FF, 12FF, 13FF, 14FF, 15FF, 16FF, 17FF, 18FF, 19FF, 1AFF, 1BFF, 1CFF, 1DFF, 1EFF, 1FFF, 20FF, 21FF, 22FF, 23FF, 24FF, 25FF, 26FF, 27FF, 28FF, 29FF, 2AFF, 2BFF, 2CFF, 2DFF, 2EFF, 2FFF, 30FF, 31FF, 32FF, 33FF, 34FF, 35FF, 36FF, 37FF, 38FF, 39FF, 3AFF, 3BFF, 3CFF, 3DFF, 3EFF, 3FFF, 40FF, 41FF, 42FF, 43FF, 44FF, 45FF, 46FF, 47FF, 48FF, 49FF, 4AFF, 4BFF, 4CFF, 4DFF, 4EFF, 4FFF, 50FF, 51FF, 52FF, 53FF, 54FF, 55FF, 56FF, 57FF, 58FF, 59FF, 5AFF, 5BFF, 5CFF, 5DFF, 5EFF, 5FFF, 60FF, 61FF, 62FF, 63FF, 64FF, 65FF, 66FF, 67FF, 68FF, 69FF, 6AFF, 6BFF, 6CFF, 6DFF, 6EFF, 6FFF, 70FF, ABFF, AB2FF, start_hair_model, hair1,hair2, base_model_string,start_scale); + INSERT INTO character_movement VALUES(character_id,5.75,1.50,1.00,0.0125); + INSERT INTO character_tutorial VALUES(character_id,1,1,start_profession); + + IF start_city <> 'tutorial' THEN + SET base_skill_id = profession_id + 1; + CALL sp_CharacterSkillsCreate(character_id,base_skill_id,race_id); + CALL sp_CharacterXpCreate(character_id,base_skill_id); + END IF; + + IF start_biography IS NULL THEN SET start_biography = ''; + END IF; + + INSERT INTO character_biography VALUES (character_id, start_biography); + INSERT INTO character_matchmaking VALUES (character_id,0,0,0,0,0); + + CALL sp_CharacterCreateFactions(character_id); + CALL sp_CharacterStartingItems(inventory_id,tutorialcontainer_id,privateowner_id,race_id,profession_id,gender); + -- -- Fix Melon to have 5 stacks - -- + -- -- Wen running the Tutorial there is no melon in the inventory. And it will make it impossible to create a character at the Tutorial zone. -- SELECT id FROM items WHERE parent_id = inventory_id AND item_type = 89 INTO melon_id; -- INSERT INTO item_attributes VALUES (melon_id, 23, 5, 3, NULL); - IF start_city = 'tutorial' THEN - SELECT id FROM items WHERE items.privateowner_id = character_id AND items.item_type = 89 INTO melon_id; - INSERT INTO item_attributes VALUES (melon_id, 23, 5, 3, NULL); + IF start_city = 'tutorial' THEN + SELECT id FROM items WHERE items.privateowner_id = character_id AND items.item_type = 89 INTO melon_id; + INSERT INTO item_attributes VALUES (melon_id, 23, 5, 3, NULL); ELSE - SELECT id FROM items WHERE items.parent_id = inventory_id AND items.item_type = 89 INTO melon_id; - INSERT INTO item_attributes VALUES (melon_id, 23, 5, 3, NULL); + SELECT id FROM items WHERE items.parent_id = inventory_id AND items.item_type = 89 INTO melon_id; + INSERT INTO item_attributes VALUES (melon_id, 23, 5, 3, NULL); END IF; + - -- - -- Fix tools to have effectivness of 0 - -- + -- + -- Fix tools to have effectivness of 0 + -- - SELECT id FROM items where parent_id = inventory_id AND item_family = 3 INTO tool_id; - UPDATE item_attributes SET item_attributes.value = '0' WHERE attribute_id = 15 and item_id = tool_id; + IF start_profession LIKE '%crafting%' OR start_profession LIKE '%scout%' THEN + SELECT id FROM items where parent_id = inventory_id AND item_family = 3 INTO tool_id; + UPDATE item_attributes SET item_attributes.value = '0' WHERE attribute_id = 15 and item_id = tool_id; + END IF; -- -- Commit Transaction -- - - COMMIT; - + + COMMIT; + -- -- Return new character ID -- - - SELECT(character_id); + + SELECT(character_id); END $$ DELIMITER ; /*!40101 SET SQL_MODE=@OLD_SQL_MODE */; /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; \ No newline at end of file
swganh/mmoserverdb
688e99e629a563aa64c357e3414500c154bd1640
sp_GalaxyStatusUpdate
diff --git a/swganh/procedures/sp_GalaxyStatusUpdate.sql b/swganh/procedures/sp_GalaxyStatusUpdate.sql new file mode 100644 index 0000000..1bf73e4 --- /dev/null +++ b/swganh/procedures/sp_GalaxyStatusUpdate.sql @@ -0,0 +1,67 @@ +/* +--------------------------------------------------------------------------------------- +This source file is part of SWG:ANH (Star Wars Galaxies - A New Hope - Server Emulator) + +For more information, visit http://www.swganh.com + +Copyright (c) 2006 - 2010 The SWG:ANH Team +--------------------------------------------------------------------------------------- +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU Lesser General Public +License as published by the Free Software Foundation; either +version 2.1 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Lesser General Public License for more details. + +You should have received a copy of the GNU Lesser General Public +License along with this library; if not, write to the Free Software +Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +--------------------------------------------------------------------------------------- +*/ + +/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; +/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; +/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; +/*!40101 SET NAMES utf8 */; + +/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; +/*!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' */; + +use swganh; + +-- +-- Definition of procedure `sp_GalaxyStatusUpdate` +-- + +DROP PROCEDURE IF EXISTS `sp_GalaxyStatusUpdate`; + +DELIMITER $$ + +/*!50003 SET @TEMP_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */ $$ +CREATE DEFINER=`root`@`localhost` PROCEDURE `sp_GalaxyStatusUpdate`(IN galaxy_status INT, galaxyID BIGINT) +BEGIN + + ## + ## sp_GalaxyStatusUpdate(status, galaxyID) + ## + ## Update galaxy status + ## + + UPDATE galaxy SET status = galaxy_status, last_update=NOW() WHERE galaxy_id = galaxyID; + +END $$ +/*!50003 SET SESSION SQL_MODE=@TEMP_SQL_MODE */ $$ + +DELIMITER ; + +/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; +/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; +/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; +/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; +/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; \ No newline at end of file
swganh/mmoserverdb
dd63645b27fa81c5a97a0bec2f91db555bca388b
sp_CharacterPlanetGet
diff --git a/swganh/procedures/sp_CharacterPlanetGet.sql b/swganh/procedures/sp_CharacterPlanetGet.sql new file mode 100644 index 0000000..a019867 --- /dev/null +++ b/swganh/procedures/sp_CharacterPlanetGet.sql @@ -0,0 +1,67 @@ +/* +--------------------------------------------------------------------------------------- +This source file is part of SWG:ANH (Star Wars Galaxies - A New Hope - Server Emulator) + +For more information, visit http://www.swganh.com + +Copyright (c) 2006 - 2010 The SWG:ANH Team +--------------------------------------------------------------------------------------- +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU Lesser General Public +License as published by the Free Software Foundation; either +version 2.1 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Lesser General Public License for more details. + +You should have received a copy of the GNU Lesser General Public +License along with this library; if not, write to the Free Software +Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +--------------------------------------------------------------------------------------- +*/ + +/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; +/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; +/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; +/*!40101 SET NAMES utf8 */; + +/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; +/*!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' */; + +use swganh; + +-- +-- Definition of procedure `sp_CharacterPlanetGet` +-- + +DROP PROCEDURE IF EXISTS `sp_CharacterPlanetGet`; + +DELIMITER $$ + +/*!50003 SET @TEMP_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */ $$ +CREATE DEFINER=`root`@`localhost` PROCEDURE `sp_CharacterPlanetGet`(IN charID BIGINT) +BEGIN + + ## + ## sp_CharacterPlanetGet(charID) + ## + ## Retrieve characters current planet + ## + + SELECT planet_id FROM characters WHERE id = charID; + +END $$ +/*!50003 SET SESSION SQL_MODE=@TEMP_SQL_MODE */ $$ + +DELIMITER ; + +/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; +/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; +/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; +/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; +/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; \ No newline at end of file
swganh/mmoserverdb
0f73e9260e3f5dadde05900f9d575857f7d877d6
Small update to table definition
diff --git a/swganh/scripts/draft_schematic_attribute_manipulation.sql b/swganh/scripts/draft_schematic_attribute_manipulation.sql index 3c44589..e343eb4 100644 --- a/swganh/scripts/draft_schematic_attribute_manipulation.sql +++ b/swganh/scripts/draft_schematic_attribute_manipulation.sql @@ -1,91 +1,92 @@ /* --------------------------------------------------------------------------------------- This source file is part of SWG:ANH (Star Wars Galaxies - A New Hope - Server Emulator) For more information, visit http://www.swganh.com Copyright (c) 2006 - 2010 The SWG:ANH Team --------------------------------------------------------------------------------------- This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA --------------------------------------------------------------------------------------- */ /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8 */; /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; /*!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' */; USE swganh; -- -- Definition of table `draft_schematic_attribute_manipulation` -- DROP TABLE IF EXISTS `draft_schematic_attribute_manipulation`; CREATE TABLE `draft_schematic_attribute_manipulation` ( - `ID` bigint(20) unsigned NOT NULL AUTO_INCREMENT, + `ID` bigint(20) unsigned NOT NULL auto_increment, `Draft_Schematic` int(10) unsigned NOT NULL, `Attribute` int(10) unsigned NOT NULL, `AffectedAttribute` varchar(45) NOT NULL, `Manipulation` int(10) unsigned NOT NULL, - PRIMARY KEY (`ID`) -) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8; + `list_id` int(10) unsigned NOT NULL, + PRIMARY KEY (`ID`) +) ENGINE=InnoDB AUTO_INCREMENT=34 DEFAULT CHARSET=utf8; -- -- Dumping data for table `draft_schematic_attribute_manipulation` -- /*!40000 ALTER TABLE `draft_schematic_attribute_manipulation` DISABLE KEYS */; -INSERT INTO `draft_schematic_attribute_manipulation` (`ID`,`Draft_Schematic`,`Attribute`,`AffectedAttribute`,`Manipulation`,`list_id`) VALUES +INSERT INTO `draft_schematic_attribute_manipulation` (`ID`,`Draft_Schematic`,`Attribute`,`AffectedAttribute`,`Manipulation`,`list_id`) VALUES (8,140,613,'303',1,113), (9,140,185,'185',1,114), (10,304,613,'366',1,2137), (11,304,613,'367',1,2137), (12,304,185,'204',1,2138), (13,152,613,'9999',0,134), (14,1073,15,'303',1,63), (15,890,94,'460',1,1), (17,269,613,'372',1,129), (18,269,185,'204',1,130), (19,279,613,'375',1,131), (20,279,185,'204',1,132), (21,300,613,'367',1,76), (22,300,613,'366',1,76), (23,300,185,'204',1,78), (25,294,185,'23',0,148), (26,270,613,'372',1,137), (27,270,185,'204',1,138), (28,274,613,'373',1,139), (29,274,185,'23',1,140), (30,280,613,'375',1,141), (31,280,185,'23',1,142), (32,284,613,'377',1,143), (33,284,185,'23',1,144); /*!40000 ALTER TABLE `draft_schematic_attribute_manipulation` ENABLE KEYS */; /*!40101 SET SQL_MODE=@OLD_SQL_MODE */; /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; \ No newline at end of file
swganh/mmoserverdb
1faeffe9592714cfea544a91e133038bf6a58084
sp_AccountStatusUpdate
diff --git a/swganh/procedures/sp_AccountStatusUpdate.sql b/swganh/procedures/sp_AccountStatusUpdate.sql new file mode 100644 index 0000000..543e99e --- /dev/null +++ b/swganh/procedures/sp_AccountStatusUpdate.sql @@ -0,0 +1,67 @@ +/* +--------------------------------------------------------------------------------------- +This source file is part of SWG:ANH (Star Wars Galaxies - A New Hope - Server Emulator) + +For more information, visit http://www.swganh.com + +Copyright (c) 2006 - 2010 The SWG:ANH Team +--------------------------------------------------------------------------------------- +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU Lesser General Public +License as published by the Free Software Foundation; either +version 2.1 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Lesser General Public License for more details. + +You should have received a copy of the GNU Lesser General Public +License along with this library; if not, write to the Free Software +Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +--------------------------------------------------------------------------------------- +*/ + +/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; +/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; +/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; +/*!40101 SET NAMES utf8 */; + +/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; +/*!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' */; + +use swganh; + +-- +-- Definition of procedure `sp_AccountStatusUpdate` +-- + +DROP PROCEDURE IF EXISTS `sp_AccountStatusUpdate`; + +DELIMITER $$ + +/*!50003 SET @TEMP_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */ $$ +CREATE DEFINER=`root`@`localhost` PROCEDURE `sp_AccountStatusUpdate`(IN account_status INT, accountID BIGINT) +BEGIN + + ## + ## sp_AccountStatusUpdate(status, accountID) + ## + ## Update account status + ## + + UPDATE account SET lastlogin=NOW(), loggedin = account_status WHERE account_id = accountID; + +END $$ +/*!50003 SET SESSION SQL_MODE=@TEMP_SQL_MODE */ $$ + +DELIMITER ; + +/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; +/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; +/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; +/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; +/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; \ No newline at end of file
swganh/mmoserverdb
b91c660dd226a7b1d558aa26fe5ba60acbc1dc25
sp_BazaarAuctionDetailsGet
diff --git a/swganh/procedures/sp_BazaarAuctionDetailsGet.sql b/swganh/procedures/sp_BazaarAuctionDetailsGet.sql new file mode 100644 index 0000000..8e36aca --- /dev/null +++ b/swganh/procedures/sp_BazaarAuctionDetailsGet.sql @@ -0,0 +1,67 @@ +/* +--------------------------------------------------------------------------------------- +This source file is part of SWG:ANH (Star Wars Galaxies - A New Hope - Server Emulator) + +For more information, visit http://www.swganh.com + +Copyright (c) 2006 - 2010 The SWG:ANH Team +--------------------------------------------------------------------------------------- +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU Lesser General Public +License as published by the Free Software Foundation; either +version 2.1 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Lesser General Public License for more details. + +You should have received a copy of the GNU Lesser General Public +License along with this library; if not, write to the Free Software +Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +--------------------------------------------------------------------------------------- +*/ + +/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; +/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; +/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; +/*!40101 SET NAMES utf8 */; + +/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; +/*!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' */; + +use swganh; + +-- +-- Definition of procedure `sp_BazaarAuctionDetailsGet` +-- + +DROP PROCEDURE IF EXISTS `sp_BazaarAuctionDetailsGet`; + +DELIMITER $$ + +/*!50003 SET @TEMP_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */ $$ +CREATE DEFINER=`root`@`localhost` PROCEDURE `sp_BazaarAuctionDetailsGet`(IN auctionID BIGINT) +BEGIN + + ## + ## sp_BazaarAuctionDetailsGet(auctionID) + ## + ## Returns the details of a specific auction + ## + + SELECT auction_id, description, object_string FROM swganh.commerce_auction WHERE auction_id = auctionID; + +END $$ +/*!50003 SET SESSION SQL_MODE=@TEMP_SQL_MODE */ $$ + +DELIMITER ; + +/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; +/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; +/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; +/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; +/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; \ No newline at end of file
swganh/mmoserverdb
adf49e146b81591132f2a01d775a18d54644ef28
sp_BazaarAuctionFindExpired
diff --git a/swganh/procedures/sp_BazaarAuctionFindExpired.sql b/swganh/procedures/sp_BazaarAuctionFindExpired.sql new file mode 100644 index 0000000..4c3db20 --- /dev/null +++ b/swganh/procedures/sp_BazaarAuctionFindExpired.sql @@ -0,0 +1,81 @@ +/* +--------------------------------------------------------------------------------------- +This source file is part of SWG:ANH (Star Wars Galaxies - A New Hope - Server Emulator) + +For more information, visit http://www.swganh.com + +Copyright (c) 2006 - 2010 The SWG:ANH Team +--------------------------------------------------------------------------------------- +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU Lesser General Public +License as published by the Free Software Foundation; either +version 2.1 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Lesser General Public License for more details. + +You should have received a copy of the GNU Lesser General Public +License along with this library; if not, write to the Free Software +Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +--------------------------------------------------------------------------------------- +*/ + +/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; +/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; +/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; +/*!40101 SET NAMES utf8 */; + +/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; +/*!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' */; + +use swganh; + +-- +-- Definition of procedure `sp_BazaarAuctionFindExpired` +-- + +DROP PROCEDURE IF EXISTS `sp_BazaarAuctionFindExpired`; + +DELIMITER $$ + +/*!50003 SET @TEMP_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */ $$ +CREATE DEFINER=`root`@`localhost` PROCEDURE `sp_BazaarAuctionFindExpired`(IN timeframe BIGINT) +BEGIN + + ## + ## sp_BazaarAuctionFindExpired(time) + ## + ## Returns the list of expired bazaar auctions + ## + + SELECT + commerce_auction.auction_id, + commerce_auction.owner_id, + commerce_auction.`type`, + commerce_auction.price, + commerce_auction.name, + commerce_auction.bidder_name, + commerce_auction.bazaar_id, + characters.firstname, + characters.id + FROM + characters + INNER JOIN commerce_auction ON (characters.firstname = commerce_auction.bidder_name) + AND (characters.id = commerce_auction.owner_id) + WHERE timeframe > commerce_auction.start; + +END $$ +/*!50003 SET SESSION SQL_MODE=@TEMP_SQL_MODE */ $$ + +DELIMITER ; + +/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; +/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; +/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; +/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; +/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; \ No newline at end of file
swganh/mmoserverdb
ce2f37861ebe4c2c7f738a96ab357dd09eef5516
sp_BazaarAuctionDelete
diff --git a/swganh/procedures/sp_BazaarAuctionDelete.sql b/swganh/procedures/sp_BazaarAuctionDelete.sql new file mode 100644 index 0000000..69967f6 --- /dev/null +++ b/swganh/procedures/sp_BazaarAuctionDelete.sql @@ -0,0 +1,69 @@ +/* +--------------------------------------------------------------------------------------- +This source file is part of SWG:ANH (Star Wars Galaxies - A New Hope - Server Emulator) + +For more information, visit http://www.swganh.com + +Copyright (c) 2006 - 2010 The SWG:ANH Team +--------------------------------------------------------------------------------------- +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU Lesser General Public +License as published by the Free Software Foundation; either +version 2.1 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Lesser General Public License for more details. + +You should have received a copy of the GNU Lesser General Public +License along with this library; if not, write to the Free Software +Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +--------------------------------------------------------------------------------------- +*/ + +/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; +/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; +/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; +/*!40101 SET NAMES utf8 */; + +/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; +/*!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' */; + +use swganh; + +-- +-- Definition of procedure `sp_BazaarAuctionDelete` +-- + +DROP PROCEDURE IF EXISTS `sp_BazaarAuctionDelete`; + +DELIMITER $$ + +/*!50003 SET @TEMP_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */ $$ +CREATE DEFINER=`root`@`localhost` PROCEDURE `sp_BazaarAuctionDelete`(IN itemID BIGINT) +BEGIN + + ## + ## sp_BazaarAuctionDelete(itemID) + ## + ## Deletes a bazaar auction + ## + ## Returns nothing + ## + + DELETE FROM commerce_auction WHERE auction_id = itemID; + +END $$ +/*!50003 SET SESSION SQL_MODE=@TEMP_SQL_MODE */ $$ + +DELIMITER ; + +/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; +/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; +/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; +/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; +/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; \ No newline at end of file
swganh/mmoserverdb
921e6e2e4fb498b68ecbf3582b958652617d09ce
sp_BazaarTerminalsGet
diff --git a/swganh/procedures/sp_BazaarTerminalsGet.sql b/swganh/procedures/sp_BazaarTerminalsGet.sql new file mode 100644 index 0000000..cf96897 --- /dev/null +++ b/swganh/procedures/sp_BazaarTerminalsGet.sql @@ -0,0 +1,67 @@ +/* +--------------------------------------------------------------------------------------- +This source file is part of SWG:ANH (Star Wars Galaxies - A New Hope - Server Emulator) + +For more information, visit http://www.swganh.com + +Copyright (c) 2006 - 2010 The SWG:ANH Team +--------------------------------------------------------------------------------------- +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU Lesser General Public +License as published by the Free Software Foundation; either +version 2.1 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Lesser General Public License for more details. + +You should have received a copy of the GNU Lesser General Public +License along with this library; if not, write to the Free Software +Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +--------------------------------------------------------------------------------------- +*/ + +/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; +/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; +/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; +/*!40101 SET NAMES utf8 */; + +/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; +/*!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' */; + +use swganh; + +-- +-- Definition of procedure `sp_BazaarTerminalsGet` +-- + +DROP PROCEDURE IF EXISTS `sp_BazaarTerminalsGet`; + +DELIMITER $$ + +/*!50003 SET @TEMP_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */ $$ +CREATE DEFINER=`root`@`localhost` PROCEDURE `sp_BazaarTerminalsGet`() +BEGIN + + ## + ## sp_BazaarTerminalsGet() + ## + ## Returns the list of bazaar terminals + ## + + SELECT * FROM commerce_bazaar; + +END $$ +/*!50003 SET SESSION SQL_MODE=@TEMP_SQL_MODE */ $$ + +DELIMITER ; + +/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; +/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; +/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; +/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; +/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; \ No newline at end of file
swganh/mmoserverdb
f184003a5d99a3d6f754aeb1a1a826bac7604b5c
sp_CSRCategoriesGet
diff --git a/swganh/procedures/sp_CSRCategoriesGet.sql b/swganh/procedures/sp_CSRCategoriesGet.sql new file mode 100644 index 0000000..27e153d --- /dev/null +++ b/swganh/procedures/sp_CSRCategoriesGet.sql @@ -0,0 +1,68 @@ +/* +--------------------------------------------------------------------------------------- +This source file is part of SWG:ANH (Star Wars Galaxies - A New Hope - Server Emulator) + +For more information, visit http://www.swganh.com + +Copyright (c) 2006 - 2010 The SWG:ANH Team +--------------------------------------------------------------------------------------- +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU Lesser General Public +License as published by the Free Software Foundation; either +version 2.1 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Lesser General Public License for more details. + +You should have received a copy of the GNU Lesser General Public +License along with this library; if not, write to the Free Software +Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +--------------------------------------------------------------------------------------- +*/ + +/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; +/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; +/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; +/*!40101 SET NAMES utf8 */; + +/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; +/*!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' */; + +use swganh; + +-- +-- Definition of procedure `sp_CSRCategoriesGet` +-- + +DROP PROCEDURE IF EXISTS `sp_CSRCategoriesGet`; + +DELIMITER $$ + +/*!50003 SET @TEMP_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */ $$ +CREATE DEFINER=`root`@`localhost` PROCEDURE `sp_CSRCategoriesGet`() +BEGIN + + ## + ## sp_CSRCategoriesGet () + ## + ## Retrieves the CSR Categories + ## + ## + + SELECT * FROM csr_categories; + +END $$ +/*!50003 SET SESSION SQL_MODE=@TEMP_SQL_MODE */ $$ + +DELIMITER ; + +/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; +/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; +/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; +/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; +/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; \ No newline at end of file
swganh/mmoserverdb
91e49f0b53ff1a1d86cdd1576346d3ef70e944eb
sp_CSRTicketKnowledgeBaseArticleFind
diff --git a/swganh/procedures/sp_CSRKnowledgeBaseArticleFind.sql b/swganh/procedures/sp_CSRKnowledgeBaseArticleFind.sql new file mode 100644 index 0000000..a34e692 --- /dev/null +++ b/swganh/procedures/sp_CSRKnowledgeBaseArticleFind.sql @@ -0,0 +1,68 @@ +/* +--------------------------------------------------------------------------------------- +This source file is part of SWG:ANH (Star Wars Galaxies - A New Hope - Server Emulator) + +For more information, visit http://www.swganh.com + +Copyright (c) 2006 - 2010 The SWG:ANH Team +--------------------------------------------------------------------------------------- +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU Lesser General Public +License as published by the Free Software Foundation; either +version 2.1 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Lesser General Public License for more details. + +You should have received a copy of the GNU Lesser General Public +License along with this library; if not, write to the Free Software +Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +--------------------------------------------------------------------------------------- +*/ + +/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; +/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; +/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; +/*!40101 SET NAMES utf8 */; + +/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; +/*!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' */; + +use swganh; + +-- +-- Definition of procedure `sp_CSRKnowledgeBaseArticleFind` +-- + +DROP PROCEDURE IF EXISTS `sp_CSRKnowledgeBaseArticleFind`; + +DELIMITER $$ + +/*!50003 SET @TEMP_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */ $$ +CREATE DEFINER=`root`@`localhost` PROCEDURE `sp_CSRKnowledgeBaseArticleFind`(IN result TEXT) +BEGIN + + ## + ## sp_CSRKnowledgeBaseArticleFind (search text) + ## + ## Retrieve a Knowledge Base Article + ## + ## Returns (id, title) of article + + SELECT id, title FROM csr_knowledgebase WHERE body LIKE (CONCAT('%',result,'%')) OR title LIKE (CONCAT('%',result,'%')); + +END $$ +/*!50003 SET SESSION SQL_MODE=@TEMP_SQL_MODE */ $$ + +DELIMITER ; + +/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; +/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; +/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; +/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; +/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; \ No newline at end of file
swganh/mmoserverdb
c8099784322888b6afe436c22c27bc986ead51b2
sp_CSRTicketKnowledgeBaseArticleGet
diff --git a/swganh/procedures/sp_CSRKnowledgeBaseArticleGet.sql b/swganh/procedures/sp_CSRKnowledgeBaseArticleGet.sql new file mode 100644 index 0000000..beeb9e5 --- /dev/null +++ b/swganh/procedures/sp_CSRKnowledgeBaseArticleGet.sql @@ -0,0 +1,68 @@ +/* +--------------------------------------------------------------------------------------- +This source file is part of SWG:ANH (Star Wars Galaxies - A New Hope - Server Emulator) + +For more information, visit http://www.swganh.com + +Copyright (c) 2006 - 2010 The SWG:ANH Team +--------------------------------------------------------------------------------------- +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU Lesser General Public +License as published by the Free Software Foundation; either +version 2.1 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Lesser General Public License for more details. + +You should have received a copy of the GNU Lesser General Public +License along with this library; if not, write to the Free Software +Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +--------------------------------------------------------------------------------------- +*/ + +/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; +/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; +/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; +/*!40101 SET NAMES utf8 */; + +/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; +/*!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' */; + +use swganh; + +-- +-- Definition of procedure `sp_CSRKnowledgeBaseArticleGet` +-- + +DROP PROCEDURE IF EXISTS `sp_CSRKnowledgeBaseArticleGet`; + +DELIMITER $$ + +/*!50003 SET @TEMP_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */ $$ +CREATE DEFINER=`root`@`localhost` PROCEDURE `sp_CSRKnowledgeBaseArticleGet`(IN ticket BIGINT) +BEGIN + + ## + ## sp_CSRKnowledgeBaseArticleGet (ticket_id) + ## + ## Retrieve and Knowledge Base Article + ## + ## + + SELECT * FROM csr_knowledgebase WHERE id = ticket; + +END $$ +/*!50003 SET SESSION SQL_MODE=@TEMP_SQL_MODE */ $$ + +DELIMITER ; + +/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; +/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; +/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; +/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; +/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; \ No newline at end of file
swganh/mmoserverdb
91ed1cf8a44ba3e31ba9a941654d8ee6bbb60738
sp_CSRTicketCategoriesGet
diff --git a/swganh/procedures/sp_CSRSubCategoriesGet.sql b/swganh/procedures/sp_CSRSubCategoriesGet.sql new file mode 100644 index 0000000..0e463e4 --- /dev/null +++ b/swganh/procedures/sp_CSRSubCategoriesGet.sql @@ -0,0 +1,67 @@ +/* +--------------------------------------------------------------------------------------- +This source file is part of SWG:ANH (Star Wars Galaxies - A New Hope - Server Emulator) + +For more information, visit http://www.swganh.com + +Copyright (c) 2006 - 2010 The SWG:ANH Team +--------------------------------------------------------------------------------------- +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU Lesser General Public +License as published by the Free Software Foundation; either +version 2.1 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Lesser General Public License for more details. + +You should have received a copy of the GNU Lesser General Public +License along with this library; if not, write to the Free Software +Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +--------------------------------------------------------------------------------------- +*/ + +/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; +/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; +/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; +/*!40101 SET NAMES utf8 */; + +/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; +/*!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' */; + +use swganh; + +-- +-- Definition of procedure `sp_CSRSubCategoriesGet` +-- + +DROP PROCEDURE IF EXISTS `sp_CSRSubCategoriesGet`; + +DELIMITER $$ + +/*!50003 SET @TEMP_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */ $$ +CREATE DEFINER=`root`@`localhost` PROCEDURE `sp_CSRSubCategoriesGet`(IN catID BIGINT) +BEGIN + + ## + ## sp_CSRSubCategoriesGet (category_id) + ## + ## Returns CSR category subcategories + ## + + SELECT subcategory_id, name FROM csr_subcategories WHERE category_id = catID; + +END $$ +/*!50003 SET SESSION SQL_MODE=@TEMP_SQL_MODE */ $$ + +DELIMITER ; + +/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; +/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; +/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; +/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; +/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; \ No newline at end of file
swganh/mmoserverdb
60f37495882f29739a2613cb71e375b60c1c3644
sp_CSRTicketActivityGet
diff --git a/swganh/procedures/sp_CSRTicketActivityGet.sql b/swganh/procedures/sp_CSRTicketActivityGet.sql new file mode 100644 index 0000000..64199a5 --- /dev/null +++ b/swganh/procedures/sp_CSRTicketActivityGet.sql @@ -0,0 +1,67 @@ +/* +--------------------------------------------------------------------------------------- +This source file is part of SWG:ANH (Star Wars Galaxies - A New Hope - Server Emulator) + +For more information, visit http://www.swganh.com + +Copyright (c) 2006 - 2010 The SWG:ANH Team +--------------------------------------------------------------------------------------- +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU Lesser General Public +License as published by the Free Software Foundation; either +version 2.1 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Lesser General Public License for more details. + +You should have received a copy of the GNU Lesser General Public +License along with this library; if not, write to the Free Software +Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +--------------------------------------------------------------------------------------- +*/ + +/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; +/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; +/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; +/*!40101 SET NAMES utf8 */; + +/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; +/*!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' */; + +use swganh; + +-- +-- Definition of procedure `sp_CSRTicketActivityGet` +-- + +DROP PROCEDURE IF EXISTS `sp_CSRTicketActivityGet`; + +DELIMITER $$ + +/*!50003 SET @TEMP_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */ $$ +CREATE DEFINER=`root`@`localhost` PROCEDURE `sp_CSRTicketActivityGet`(IN charID BIGINT) +BEGIN + + ## + ## sp_CSRTicketActivityGet (character_id) + ## + ## Returns active CSR tickets + ## + + SELECT ticket_id FROM csr_tickets WHERE (csr_tickets.bugreport = 0) && (csr_tickets.character_id = charID); + +END $$ +/*!50003 SET SESSION SQL_MODE=@TEMP_SQL_MODE */ $$ + +DELIMITER ; + +/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; +/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; +/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; +/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; +/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; \ No newline at end of file
swganh/mmoserverdb
7c7e9f1af518758e711aad29d4a33f46ed6cbe8f
sp_CSRTicketActivityUpdate
diff --git a/swganh/procedures/sp_CSRTicketActivityUpdate.sql b/swganh/procedures/sp_CSRTicketActivityUpdate.sql new file mode 100644 index 0000000..0e8c6b5 --- /dev/null +++ b/swganh/procedures/sp_CSRTicketActivityUpdate.sql @@ -0,0 +1,68 @@ +/* +--------------------------------------------------------------------------------------- +This source file is part of SWG:ANH (Star Wars Galaxies - A New Hope - Server Emulator) + +For more information, visit http://www.swganh.com + +Copyright (c) 2006 - 2010 The SWG:ANH Team +--------------------------------------------------------------------------------------- +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU Lesser General Public +License as published by the Free Software Foundation; either +version 2.1 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Lesser General Public License for more details. + +You should have received a copy of the GNU Lesser General Public +License along with this library; if not, write to the Free Software +Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +--------------------------------------------------------------------------------------- +*/ + +/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; +/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; +/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; +/*!40101 SET NAMES utf8 */; + +/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; +/*!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' */; + +use swganh; + +-- +-- Definition of procedure `sp_CSRTicketActivityUpdate` +-- + +DROP PROCEDURE IF EXISTS `sp_CSRTicketActivityUpdate`; + +DELIMITER $$ + +/*!50003 SET @TEMP_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */ $$ +CREATE DEFINER=`root`@`localhost` PROCEDURE `sp_CSRTicketActivityUpdate`(IN ticketid INT) +BEGIN + + ## + ## Stored Procedure + ## + ## Use: CALL sp_CSRTicketActivityUpdate(ticket_id); + ## + ## Returns: (nothing) + + UPDATE csr_tickets SET lastmodified = UNIX_TIMESTAMP() WHERE ticket_id = ticketid; + +END $$ +/*!50003 SET SESSION SQL_MODE=@TEMP_SQL_MODE */ $$ + +DELIMITER ; + +/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; +/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; +/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; +/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; +/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; \ No newline at end of file
swganh/mmoserverdb
67b18defe5caeacc296745f2d49864dd6f42e714
sp_CSRTicketAdd
diff --git a/swganh/procedures/sp_CSRTicketAdd.sql b/swganh/procedures/sp_CSRTicketAdd.sql new file mode 100644 index 0000000..71cbf85 --- /dev/null +++ b/swganh/procedures/sp_CSRTicketAdd.sql @@ -0,0 +1,78 @@ +/* +--------------------------------------------------------------------------------------- +This source file is part of SWG:ANH (Star Wars Galaxies - A New Hope - Server Emulator) + +For more information, visit http://www.swganh.com + +Copyright (c) 2006 - 2010 The SWG:ANH Team +--------------------------------------------------------------------------------------- +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU Lesser General Public +License as published by the Free Software Foundation; either +version 2.1 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Lesser General Public License for more details. + +You should have received a copy of the GNU Lesser General Public +License along with this library; if not, write to the Free Software +Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +--------------------------------------------------------------------------------------- +*/ + +/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; +/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; +/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; +/*!40101 SET NAMES utf8 */; + +/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; +/*!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' */; + +use swganh; + +-- +-- Definition of procedure `sp_CSRTicketAdd` +-- + +DROP PROCEDURE IF EXISTS `sp_CSRTicketAdd`; + +DELIMITER $$ + +/*!50003 SET @TEMP_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */ $$ +CREATE DEFINER=`root`@`localhost` PROCEDURE `sp_CSRTicketAdd`(IN playerName TEXT, category INT, subCategory INT, ticketcomment TEXT, info TEXT, harrassing TEXT, lang CHAR(2), bugreport TINYINT(1)) +BEGIN + + ## + ## Stored Procedure + ## + ## Use: CALL sp_CSRTicketAdd(playerName, category, subcategory, comment, info, harrassing, language, bugreport); + ## + ## Returns: (ticket id) + + DECLARE character_id BIGINT(20); + DECLARE subcategory_id INT; + DECLARE inserted INT; + + SELECT id FROM characters WHERE characters.firstname = SUBSTRING_INDEX(playerName, ' ', 1) INTO character_id; + SELECT csr_subcategories.subcategory_index FROM csr_subcategories WHERE (csr_subcategories.subcategory_id = subCategory) AND (csr_subcategories.category_id = category) INTO subcategory_id; + + INSERT INTO csr_tickets VALUES (NULL, subcategory_id, ticketcomment, info, harrassing, lang, bugreport, character_id, 0, 0, UNIX_TIMESTAMP()); + + SELECT MAX(ticket_id) FROM csr_tickets INTO inserted; + + SELECT inserted; +END $$ +/*!50003 SET SESSION SQL_MODE=@TEMP_SQL_MODE */ $$ + +DELIMITER ; + +/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; +/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; +/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; +/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; +/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; \ No newline at end of file
swganh/mmoserverdb
04065afabc459ef401c5723b0347e27cc9b6388f
sp_CSRTicketCancel
diff --git a/swganh/procedures/sp_CSRTicketCancel.sql b/swganh/procedures/sp_CSRTicketCancel.sql new file mode 100644 index 0000000..70a6b04 --- /dev/null +++ b/swganh/procedures/sp_CSRTicketCancel.sql @@ -0,0 +1,70 @@ +/* +--------------------------------------------------------------------------------------- +This source file is part of SWG:ANH (Star Wars Galaxies - A New Hope - Server Emulator) + +For more information, visit http://www.swganh.com + +Copyright (c) 2006 - 2010 The SWG:ANH Team +--------------------------------------------------------------------------------------- +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU Lesser General Public +License as published by the Free Software Foundation; either +version 2.1 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Lesser General Public License for more details. + +You should have received a copy of the GNU Lesser General Public +License along with this library; if not, write to the Free Software +Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +--------------------------------------------------------------------------------------- +*/ + +/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; +/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; +/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; +/*!40101 SET NAMES utf8 */; + +/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; +/*!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' */; + +use swganh; + +-- +-- Definition of procedure `sp_CSRTicketCancel` +-- + +DROP PROCEDURE IF EXISTS `sp_CSRTicketCancel`; + +DELIMITER $$ + +/*!50003 SET @TEMP_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */ $$ +CREATE DEFINER=`root`@`localhost` PROCEDURE `sp_CSRTicketCancel`(IN ticket BIGINT) +BEGIN + + ## + ## sp_CSRTicketCancel (ticket_id) + ## + ## Cancels an open CSR ticket + ## + ## Returns nothing + ## + + DELETE FROM csr_comments WHERE ticket_id = ticket; + DELETE FROM csr_tickets WHERE ticket_id = ticket; + +END $$ +/*!50003 SET SESSION SQL_MODE=@TEMP_SQL_MODE */ $$ + +DELIMITER ; + +/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; +/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; +/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; +/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; +/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; \ No newline at end of file
swganh/mmoserverdb
c574e2f0d8632821bcf3613c5bf8ea549d73ad0a
sp_CSRTicketCommentAdd
diff --git a/swganh/procedures/sp_CSRTicketCommentAdd.sql b/swganh/procedures/sp_CSRTicketCommentAdd.sql new file mode 100644 index 0000000..ae6bb94 --- /dev/null +++ b/swganh/procedures/sp_CSRTicketCommentAdd.sql @@ -0,0 +1,69 @@ +/* +--------------------------------------------------------------------------------------- +This source file is part of SWG:ANH (Star Wars Galaxies - A New Hope - Server Emulator) + +For more information, visit http://www.swganh.com + +Copyright (c) 2006 - 2010 The SWG:ANH Team +--------------------------------------------------------------------------------------- +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU Lesser General Public +License as published by the Free Software Foundation; either +version 2.1 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Lesser General Public License for more details. + +You should have received a copy of the GNU Lesser General Public +License along with this library; if not, write to the Free Software +Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +--------------------------------------------------------------------------------------- +*/ + +/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; +/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; +/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; +/*!40101 SET NAMES utf8 */; + +/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; +/*!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' */; + +use swganh; + +-- +-- Definition of procedure `sp_CSRTicketCommentAdd` +-- + +DROP PROCEDURE IF EXISTS `sp_CSRTicketCommentAdd`; + +DELIMITER $$ + +/*!50003 SET @TEMP_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */ $$ +CREATE DEFINER=`root`@`localhost` PROCEDURE `sp_CSRTicketCommentAdd`(IN ticket BIGINT, new_comment CHAR, poster CHAR) +BEGIN + + ## + ## sp_CSRTicketCommentAdd (ticket_id, comment, poster) + ## + ## Appends a ticket comment + ## + ## Returns nothing + ## + + INSERT INTO csr_comments VALUES (NULL, ticket, new_comment, poster); + +END $$ +/*!50003 SET SESSION SQL_MODE=@TEMP_SQL_MODE */ $$ + +DELIMITER ; + +/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; +/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; +/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; +/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; +/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; \ No newline at end of file
swganh/mmoserverdb
bfd2727a315e3437c43710c8f08cd3343cb32b5f
sp_CSRTicketCommentGet
diff --git a/swganh/procedures/sp_CSRTicketCommentGet.sql b/swganh/procedures/sp_CSRTicketCommentGet.sql new file mode 100644 index 0000000..4e86ec9 --- /dev/null +++ b/swganh/procedures/sp_CSRTicketCommentGet.sql @@ -0,0 +1,69 @@ +/* +--------------------------------------------------------------------------------------- +This source file is part of SWG:ANH (Star Wars Galaxies - A New Hope - Server Emulator) + +For more information, visit http://www.swganh.com + +Copyright (c) 2006 - 2010 The SWG:ANH Team +--------------------------------------------------------------------------------------- +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU Lesser General Public +License as published by the Free Software Foundation; either +version 2.1 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Lesser General Public License for more details. + +You should have received a copy of the GNU Lesser General Public +License along with this library; if not, write to the Free Software +Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +--------------------------------------------------------------------------------------- +*/ + +/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; +/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; +/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; +/*!40101 SET NAMES utf8 */; + +/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; +/*!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' */; + +use swganh; + +-- +-- Definition of procedure `sp_CSRTicketCommentGet` +-- + +DROP PROCEDURE IF EXISTS `sp_CSRTicketCommentGet`; + +DELIMITER $$ + +/*!50003 SET @TEMP_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */ $$ +CREATE DEFINER=`root`@`localhost` PROCEDURE `sp_CSRTicketCommentGet`(IN ticket BIGINT) +BEGIN + + ## + ## sp_CSRTicketCommentGet (ticket_id) + ## + ## Retrieve ticket comments + ## + ## Returns (ticket comments) + ## + + SELECT * FROM csr_comments WHERE ticket_id = ticket; + +END $$ +/*!50003 SET SESSION SQL_MODE=@TEMP_SQL_MODE */ $$ + +DELIMITER ; + +/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; +/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; +/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; +/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; +/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; \ No newline at end of file
swganh/mmoserverdb
fad44d5052cb0f327648723371c5401d144ecd4c
sp_CSRTicketGet
diff --git a/swganh/procedures/sp_CSRTicketGet.sql b/swganh/procedures/sp_CSRTicketGet.sql new file mode 100644 index 0000000..fee4616 --- /dev/null +++ b/swganh/procedures/sp_CSRTicketGet.sql @@ -0,0 +1,94 @@ +/* +--------------------------------------------------------------------------------------- +This source file is part of SWG:ANH (Star Wars Galaxies - A New Hope - Server Emulator) + +For more information, visit http://www.swganh.com + +Copyright (c) 2006 - 2010 The SWG:ANH Team +--------------------------------------------------------------------------------------- +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU Lesser General Public +License as published by the Free Software Foundation; either +version 2.1 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Lesser General Public License for more details. + +You should have received a copy of the GNU Lesser General Public +License along with this library; if not, write to the Free Software +Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +--------------------------------------------------------------------------------------- +*/ + +/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; +/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; +/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; +/*!40101 SET NAMES utf8 */; + +/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; +/*!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' */; + +use swganh; + +-- +-- Definition of procedure `sp_CSRTicketGet` +-- + +DROP PROCEDURE IF EXISTS `sp_CSRTicketGet`; + +DELIMITER $$ + +/*!50003 SET @TEMP_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */ $$ +CREATE DEFINER=`root`@`localhost` PROCEDURE `sp_CSRTicketGet`(IN charID BIGINT) +BEGIN + + ## + ## sp_CSRTicketGet (character_id) + ## + ## Retrieves the open CSR tickets by character ID + ## + ## Returns (tickets) + ## + + SELECT + csr_tickets.ticket_id, + characters.firstname, + csr_categories.category_id, + csr_subcategories.subcategory_id, + csr_tickets.comment, + csr_tickets.info, + csr_tickets.harrasing_user, + csr_tickets.language, + csr_tickets.bugreport, + csr_tickets.activity, + csr_tickets.closed, + csr_tickets.lastmodified + FROM + csr_tickets + JOIN + characters ON + (csr_tickets.character_id = characters.id) + JOIN + csr_subcategories ON + (csr_tickets.subcategory_id = csr_subcategories.subcategory_index) + JOIN + csr_categories ON + (csr_subcategories.category_id = csr_categories.category_id) + WHERE + (csr_tickets.bugreport = 1) && (csr_tickets.character_id = charID); + +END $$ +/*!50003 SET SESSION SQL_MODE=@TEMP_SQL_MODE */ $$ + +DELIMITER ; + +/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; +/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; +/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; +/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; +/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; \ No newline at end of file
swganh/mmoserverdb
205e23e45b358a1e0f50dad78820dafebaf982e0
sp_ChatRoomDelete
diff --git a/swganh/procedures/sp_ChatRoomDelete.sql b/swganh/procedures/sp_ChatRoomDelete.sql new file mode 100644 index 0000000..76f63c4 --- /dev/null +++ b/swganh/procedures/sp_ChatRoomDelete.sql @@ -0,0 +1,73 @@ +/* +--------------------------------------------------------------------------------------- +This source file is part of SWG:ANH (Star Wars Galaxies - A New Hope - Server Emulator) + +For more information, visit http://www.swganh.com + +Copyright (c) 2006 - 2010 The SWG:ANH Team +--------------------------------------------------------------------------------------- +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU Lesser General Public +License as published by the Free Software Foundation; either +version 2.1 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Lesser General Public License for more details. + +You should have received a copy of the GNU Lesser General Public +License along with this library; if not, write to the Free Software +Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +--------------------------------------------------------------------------------------- +*/ + +/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; +/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; +/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; +/*!40101 SET NAMES utf8 */; + +/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; +/*!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' */; + +use swganh; + +-- +-- Definition of procedure `sp_ChatRoomDelete` +-- + +DROP PROCEDURE IF EXISTS `sp_ChatRoomDelete`; + +DELIMITER $$ + +/*!50003 SET @TEMP_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */ $$ +CREATE DEFINER=`root`@`localhost` PROCEDURE `sp_ChatRoomDelete`(IN roomID BIGINT) +BEGIN + + ## + ## sp_ChatChannelDelete(roomID) + ## + ## Deletes a user created chatroom + ## + ## Returns + ## + + DELETE FROM chat_channels WHERE id = roomID; + DELETE FROM chat_channels_moderators WHERE channel_id = roomID; + DELETE FROM chat_channels_invited WHERE channel_id = roomID; + DELETE FROM chat_channels_banned WHERE channel_id = roomID; + DELETE FROM chat_char_channels WHERE channel_id = roomID; + +END $$ +/*!50003 SET SESSION SQL_MODE=@TEMP_SQL_MODE */ $$ + +DELIMITER ; + +/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; +/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; +/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; +/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; +/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; \ No newline at end of file
swganh/mmoserverdb
b7f89cf12247a7b89ab3fae22985d7cd403d4849
sp_ChatRoomModeratorAdd
diff --git a/swganh/procedures/sp_ChatRoomModeratorAdd.sql b/swganh/procedures/sp_ChatRoomModeratorAdd.sql new file mode 100644 index 0000000..79e02f5 --- /dev/null +++ b/swganh/procedures/sp_ChatRoomModeratorAdd.sql @@ -0,0 +1,69 @@ +/* +--------------------------------------------------------------------------------------- +This source file is part of SWG:ANH (Star Wars Galaxies - A New Hope - Server Emulator) + +For more information, visit http://www.swganh.com + +Copyright (c) 2006 - 2010 The SWG:ANH Team +--------------------------------------------------------------------------------------- +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU Lesser General Public +License as published by the Free Software Foundation; either +version 2.1 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Lesser General Public License for more details. + +You should have received a copy of the GNU Lesser General Public +License along with this library; if not, write to the Free Software +Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +--------------------------------------------------------------------------------------- +*/ + +/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; +/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; +/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; +/*!40101 SET NAMES utf8 */; + +/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; +/*!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' */; + +use swganh; + +-- +-- Definition of procedure `sp_ChatRoomModeratorAdd` +-- + +DROP PROCEDURE IF EXISTS `sp_ChatRoomModeratorAdd`; + +DELIMITER $$ + +/*!50003 SET @TEMP_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */ $$ +CREATE DEFINER=`root`@`localhost` PROCEDURE `sp_ChatRoomModeratorAdd`(IN roomID BIGINT, characterName CHAR) +BEGIN + + ## + ## sp_ChatRoomModeratorAdd(roomID, characterName) + ## + ## Adds a Moderator to a created chatroom + ## + ## Returns nothing + ## + + INSERT INTO chat_channels_moderators VALUES (roomID, characterName); + +END $$ +/*!50003 SET SESSION SQL_MODE=@TEMP_SQL_MODE */ $$ + +DELIMITER ; + +/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; +/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; +/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; +/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; +/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; \ No newline at end of file
swganh/mmoserverdb
2bf05c8075b412f02d40c6469a157fcd038f6cad
sp_ChatRoomModeratorRemove
diff --git a/swganh/procedures/sp_ChatRoomModeratorRemove.sql b/swganh/procedures/sp_ChatRoomModeratorRemove.sql new file mode 100644 index 0000000..43149f6 --- /dev/null +++ b/swganh/procedures/sp_ChatRoomModeratorRemove.sql @@ -0,0 +1,69 @@ +/* +--------------------------------------------------------------------------------------- +This source file is part of SWG:ANH (Star Wars Galaxies - A New Hope - Server Emulator) + +For more information, visit http://www.swganh.com + +Copyright (c) 2006 - 2010 The SWG:ANH Team +--------------------------------------------------------------------------------------- +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU Lesser General Public +License as published by the Free Software Foundation; either +version 2.1 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Lesser General Public License for more details. + +You should have received a copy of the GNU Lesser General Public +License along with this library; if not, write to the Free Software +Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +--------------------------------------------------------------------------------------- +*/ + +/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; +/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; +/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; +/*!40101 SET NAMES utf8 */; + +/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; +/*!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' */; + +use swganh; + +-- +-- Definition of procedure `sp_ChatRoomModeratorRemove` +-- + +DROP PROCEDURE IF EXISTS `sp_ChatRoomModeratorRemove`; + +DELIMITER $$ + +/*!50003 SET @TEMP_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */ $$ +CREATE DEFINER=`root`@`localhost` PROCEDURE `sp_ChatRoomModeratorRemove`(IN roomID BIGINT, characterName CHAR) +BEGIN + + ## + ## sp_ChatRoomModeratorRemove (roomID, characterName) + ## + ## Removes a Moderator from a created chatroom + ## + ## Returns nothing + ## + + DELETE FROM chat_channels_moderators WHERE char_name = characterName AND channel_id = room_id; + +END $$ +/*!50003 SET SESSION SQL_MODE=@TEMP_SQL_MODE */ $$ + +DELIMITER ; + +/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; +/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; +/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; +/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; +/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; \ No newline at end of file
swganh/mmoserverdb
3fe85d858371a9f029356fb22d7ca5aa138283a2
sp_ChatRoomUserAdd
diff --git a/swganh/procedures/sp_ChatRoomUserAdd.sql b/swganh/procedures/sp_ChatRoomUserAdd.sql new file mode 100644 index 0000000..d9106a4 --- /dev/null +++ b/swganh/procedures/sp_ChatRoomUserAdd.sql @@ -0,0 +1,69 @@ +/* +--------------------------------------------------------------------------------------- +This source file is part of SWG:ANH (Star Wars Galaxies - A New Hope - Server Emulator) + +For more information, visit http://www.swganh.com + +Copyright (c) 2006 - 2010 The SWG:ANH Team +--------------------------------------------------------------------------------------- +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU Lesser General Public +License as published by the Free Software Foundation; either +version 2.1 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Lesser General Public License for more details. + +You should have received a copy of the GNU Lesser General Public +License along with this library; if not, write to the Free Software +Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +--------------------------------------------------------------------------------------- +*/ + +/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; +/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; +/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; +/*!40101 SET NAMES utf8 */; + +/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; +/*!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' */; + +use swganh; + +-- +-- Definition of procedure `sp_ChatRoomUserAdd` +-- + +DROP PROCEDURE IF EXISTS `sp_ChatRoomUserAdd`; + +DELIMITER $$ + +/*!50003 SET @TEMP_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */ $$ +CREATE DEFINER=`root`@`localhost` PROCEDURE `sp_ChatRoomUserAdd`(IN characterID BIGINT, roomID BIGINT) +BEGIN + + ## + ## sp_ChatRoomUserAdd(characterID, roomID) + ## + ## Adds a character to a created chatroom + ## + ## Returns nothing + ## + + INSERT INTO chat_char_channels VALUES (characterID, roomID); + +END $$ +/*!50003 SET SESSION SQL_MODE=@TEMP_SQL_MODE */ $$ + +DELIMITER ; + +/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; +/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; +/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; +/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; +/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; \ No newline at end of file
swganh/mmoserverdb
e512e7e10d20fe9a577bc0f50013d42a9f81dbbe
sp_ChatRoomUserBan
diff --git a/swganh/procedures/sp_ChatRoomUserBan.sql b/swganh/procedures/sp_ChatRoomUserBan.sql new file mode 100644 index 0000000..fbee503 --- /dev/null +++ b/swganh/procedures/sp_ChatRoomUserBan.sql @@ -0,0 +1,69 @@ +/* +--------------------------------------------------------------------------------------- +This source file is part of SWG:ANH (Star Wars Galaxies - A New Hope - Server Emulator) + +For more information, visit http://www.swganh.com + +Copyright (c) 2006 - 2010 The SWG:ANH Team +--------------------------------------------------------------------------------------- +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU Lesser General Public +License as published by the Free Software Foundation; either +version 2.1 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Lesser General Public License for more details. + +You should have received a copy of the GNU Lesser General Public +License along with this library; if not, write to the Free Software +Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +--------------------------------------------------------------------------------------- +*/ + +/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; +/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; +/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; +/*!40101 SET NAMES utf8 */; + +/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; +/*!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' */; + +use swganh; + +-- +-- Definition of procedure `sp_ChatRoomUserBan` +-- + +DROP PROCEDURE IF EXISTS `sp_ChatRoomUserBan`; + +DELIMITER $$ + +/*!50003 SET @TEMP_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */ $$ +CREATE DEFINER=`root`@`localhost` PROCEDURE `sp_ChatRoomUserBan`(IN roomID BIGINT, characterName CHAR) +BEGIN + + ## + ## sp_ChatRoomUserBan (roomID, characterName) + ## + ## Bans a user from a chat room + ## + ## Returns + ## + + INSERT INTO chat_channels_banned VALUES (roomID, characterName); + +END $$ +/*!50003 SET SESSION SQL_MODE=@TEMP_SQL_MODE */ $$ + +DELIMITER ; + +/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; +/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; +/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; +/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; +/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; \ No newline at end of file
swganh/mmoserverdb
2ba61e8969f780446764e7a428180599f9a9280e
sp_ChatRoomUserInvite
diff --git a/swganh/procedures/sp_ChatRoomUserInvite.sql b/swganh/procedures/sp_ChatRoomUserInvite.sql new file mode 100644 index 0000000..3a84020 --- /dev/null +++ b/swganh/procedures/sp_ChatRoomUserInvite.sql @@ -0,0 +1,69 @@ +/* +--------------------------------------------------------------------------------------- +This source file is part of SWG:ANH (Star Wars Galaxies - A New Hope - Server Emulator) + +For more information, visit http://www.swganh.com + +Copyright (c) 2006 - 2010 The SWG:ANH Team +--------------------------------------------------------------------------------------- +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU Lesser General Public +License as published by the Free Software Foundation; either +version 2.1 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Lesser General Public License for more details. + +You should have received a copy of the GNU Lesser General Public +License along with this library; if not, write to the Free Software +Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +--------------------------------------------------------------------------------------- +*/ + +/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; +/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; +/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; +/*!40101 SET NAMES utf8 */; + +/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; +/*!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' */; + +use swganh; + +-- +-- Definition of procedure `sp_ChatRoomUserInvite` +-- + +DROP PROCEDURE IF EXISTS `sp_ChatRoomUserInvite`; + +DELIMITER $$ + +/*!50003 SET @TEMP_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */ $$ +CREATE DEFINER=`root`@`localhost` PROCEDURE `sp_ChatRoomUserInvite`(IN roomID BIGINT, characterName CHAR) +BEGIN + + ## + ## sp_ChatRoomUserInvite (roomID, characterName) + ## + ## Invites a user into a chatroom + ## + ## Returns nothing + ## + + INSERT INTO chat_channels_invited VALUES (roomID, characterName); + +END $$ +/*!50003 SET SESSION SQL_MODE=@TEMP_SQL_MODE */ $$ + +DELIMITER ; + +/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; +/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; +/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; +/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; +/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; \ No newline at end of file
swganh/mmoserverdb
f6428b4e68f83a4701410b60a636048d839992ff
sp_ChatRoomUserRemove
diff --git a/swganh/procedures/sp_ChatRoomUserRemove.sql b/swganh/procedures/sp_ChatRoomUserRemove.sql new file mode 100644 index 0000000..d2bfa7a --- /dev/null +++ b/swganh/procedures/sp_ChatRoomUserRemove.sql @@ -0,0 +1,69 @@ +/* +--------------------------------------------------------------------------------------- +This source file is part of SWG:ANH (Star Wars Galaxies - A New Hope - Server Emulator) + +For more information, visit http://www.swganh.com + +Copyright (c) 2006 - 2010 The SWG:ANH Team +--------------------------------------------------------------------------------------- +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU Lesser General Public +License as published by the Free Software Foundation; either +version 2.1 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Lesser General Public License for more details. + +You should have received a copy of the GNU Lesser General Public +License along with this library; if not, write to the Free Software +Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +--------------------------------------------------------------------------------------- +*/ + +/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; +/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; +/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; +/*!40101 SET NAMES utf8 */; + +/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; +/*!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' */; + +use swganh; + +-- +-- Definition of procedure `sp_ChatRoomUserRemove` +-- + +DROP PROCEDURE IF EXISTS `sp_ChatRoomUserRemove`; + +DELIMITER $$ + +/*!50003 SET @TEMP_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */ $$ +CREATE DEFINER=`root`@`localhost` PROCEDURE `sp_ChatRoomUserRemove`(IN roomID BIGINT, charID CHAR) +BEGIN + + ## + ## sp_ChatRoomUserRemove (roomID, charID) + ## + ## Removes a user from a chat room + ## + ## Returns nothing + ## + + DELETE FROM chat_char_channels WHERE channel_id = roomID AND character_id = charID; + +END $$ +/*!50003 SET SESSION SQL_MODE=@TEMP_SQL_MODE */ $$ + +DELIMITER ; + +/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; +/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; +/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; +/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; +/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; \ No newline at end of file
swganh/mmoserverdb
1c42e5917794334d08981013fd12795ff68147a7
sp_ChatRoomUserUnban
diff --git a/swganh/procedures/sp_ChatRoomUserUnBan.sql b/swganh/procedures/sp_ChatRoomUserUnBan.sql new file mode 100644 index 0000000..c224a31 --- /dev/null +++ b/swganh/procedures/sp_ChatRoomUserUnBan.sql @@ -0,0 +1,69 @@ +/* +--------------------------------------------------------------------------------------- +This source file is part of SWG:ANH (Star Wars Galaxies - A New Hope - Server Emulator) + +For more information, visit http://www.swganh.com + +Copyright (c) 2006 - 2010 The SWG:ANH Team +--------------------------------------------------------------------------------------- +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU Lesser General Public +License as published by the Free Software Foundation; either +version 2.1 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Lesser General Public License for more details. + +You should have received a copy of the GNU Lesser General Public +License along with this library; if not, write to the Free Software +Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +--------------------------------------------------------------------------------------- +*/ + +/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; +/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; +/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; +/*!40101 SET NAMES utf8 */; + +/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; +/*!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' */; + +use swganh; + +-- +-- Definition of procedure `sp_ChatRoomUserUnBan` +-- + +DROP PROCEDURE IF EXISTS `sp_ChatRoomUserUnBan`; + +DELIMITER $$ + +/*!50003 SET @TEMP_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */ $$ +CREATE DEFINER=`root`@`localhost` PROCEDURE `sp_ChatRoomUserUnBan`(IN roomID BIGINT, characterName CHAR) +BEGIN + + ## + ## sp_ChatRoomUserUnBan (roomID, characterName) + ## + ## Clears an outstanding ban on a user + ## + ## Returns nothing + ## + + DELETE FROM chat_channels_banned WHERE char_name = characterName AND channel_id = roomID; + +END $$ +/*!50003 SET SESSION SQL_MODE=@TEMP_SQL_MODE */ $$ + +DELIMITER ; + +/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; +/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; +/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; +/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; +/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; \ No newline at end of file
swganh/mmoserverdb
add9f5e7eabcf59b428fcb5aa219852b590d70d3
sp_ChatRoomUserUninvite
diff --git a/swganh/procedures/sp_ChatRoomUserUnInvite.sql b/swganh/procedures/sp_ChatRoomUserUnInvite.sql new file mode 100644 index 0000000..c180bd0 --- /dev/null +++ b/swganh/procedures/sp_ChatRoomUserUnInvite.sql @@ -0,0 +1,69 @@ +/* +--------------------------------------------------------------------------------------- +This source file is part of SWG:ANH (Star Wars Galaxies - A New Hope - Server Emulator) + +For more information, visit http://www.swganh.com + +Copyright (c) 2006 - 2010 The SWG:ANH Team +--------------------------------------------------------------------------------------- +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU Lesser General Public +License as published by the Free Software Foundation; either +version 2.1 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Lesser General Public License for more details. + +You should have received a copy of the GNU Lesser General Public +License along with this library; if not, write to the Free Software +Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +--------------------------------------------------------------------------------------- +*/ + +/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; +/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; +/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; +/*!40101 SET NAMES utf8 */; + +/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; +/*!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' */; + +use swganh; + +-- +-- Definition of procedure `sp_ChatRoomUserUnInvite` +-- + +DROP PROCEDURE IF EXISTS `sp_ChatRoomUserUnInvite`; + +DELIMITER $$ + +/*!50003 SET @TEMP_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */ $$ +CREATE DEFINER=`root`@`localhost` PROCEDURE `sp_ChatRoomUserUnInvite`(IN roomID BIGINT, characterName CHAR) +BEGIN + + ## + ## sp_ChatRoomUserUnInvite (roomID, characterName) + ## + ## Adds a Moderator to a created chatroom + ## + ## Returns nothing + ## + + DELETE FROM chat_channels_invited WHERE char_name = characterName AND channel_id = room_id; + +END $$ +/*!50003 SET SESSION SQL_MODE=@TEMP_SQL_MODE */ $$ + +DELIMITER ; + +/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; +/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; +/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; +/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; +/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; \ No newline at end of file
swganh/mmoserverdb
f64f20b2abdc5a505ebe8f7c35dacd337cca3825
sp_ReturnUserAccount (cleanup / comments)
diff --git a/swganh/procedures/sp_ReturnUserAccount.sql b/swganh/procedures/sp_ReturnUserAccount.sql index 892b343..2d1a337 100644 --- a/swganh/procedures/sp_ReturnUserAccount.sql +++ b/swganh/procedures/sp_ReturnUserAccount.sql @@ -1,64 +1,74 @@ /* --------------------------------------------------------------------------------------- This source file is part of SWG:ANH (Star Wars Galaxies - A New Hope - Server Emulator) For more information, visit http://www.swganh.com Copyright (c) 2006 - 2010 The SWG:ANH Team --------------------------------------------------------------------------------------- This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA --------------------------------------------------------------------------------------- */ /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8 */; /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; /*!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' */; use swganh; -- -- Definition of procedure `sp_ReturnUserAccount` -- DROP PROCEDURE IF EXISTS `sp_ReturnUserAccount`; DELIMITER $$ /*!50003 SET @TEMP_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */ $$ CREATE DEFINER=`root`@`localhost` PROCEDURE `sp_ReturnUserAccount`(IN usrName CHAR(255),IN pwrd CHAR(255)) BEGIN - DECLARE shaPwrd CHAR(255); - SET shaPwrd = SHA1(pwrd); - SELECT A.account_id, A.username, A.password, A.station_id, A.banned, A.active,A.characters_allowed,A.csr - FROM swganh.account A - WHERE A.banned=0 AND A.authenticated=0 AND A.loggedin=0 AND A.username= usrName AND A.password = shaPwrd; + + ## + ## Stored Procedure + ## + ## Use: CALL sp_ReturnUserAccount(username, password); + ## + ## Returns: (server global tick) + + -- + -- Declare Vars + -- + +DECLARE shaPwrd CHAR(255); +SET shaPwrd = SHA1(pwrd); +SELECT account_id, username, password, station_id, banned, active, characters_allowed, csr FROM swganh.account WHERE banned = 0 AND authenticated = 0 AND A.loggedin=0 AND username = usrName AND password = shaPwrd; END $$ /*!50003 SET SESSION SQL_MODE=@TEMP_SQL_MODE */ $$ DELIMITER ; /*!40101 SET SQL_MODE=@OLD_SQL_MODE */; /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; \ No newline at end of file
swganh/mmoserverdb
79d3eb193a7d6180d1d7653819b4806f7fa22637
sp_PlanetaryMapLocations
diff --git a/swganh/procedures/sp_PlanetaryMapLocations.sql b/swganh/procedures/sp_PlanetaryMapLocations.sql new file mode 100644 index 0000000..a109494 --- /dev/null +++ b/swganh/procedures/sp_PlanetaryMapLocations.sql @@ -0,0 +1,79 @@ +/* +--------------------------------------------------------------------------------------- +This source file is part of SWG:ANH (Star Wars Galaxies - A New Hope - Server Emulator) + +For more information, visit http://www.swganh.com + +Copyright (c) 2006 - 2010 The SWG:ANH Team +--------------------------------------------------------------------------------------- +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU Lesser General Public +License as published by the Free Software Foundation; either +version 2.1 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Lesser General Public License for more details. + +You should have received a copy of the GNU Lesser General Public +License along with this library; if not, write to the Free Software +Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +--------------------------------------------------------------------------------------- +*/ + +/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; +/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; +/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; +/*!40101 SET NAMES utf8 */; + +/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; +/*!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' */; + +use swganh; + +-- +-- Definition of procedure `sp_PlanetaryMapLocations` +-- + +DROP PROCEDURE IF EXISTS `sp_PlanetaryMapLocations`; + +DELIMITER $$ + +/*!50003 SET @TEMP_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */ $$ +CREATE DEFINER=`root`@`localhost` PROCEDURE `sp_PlanetaryMapLocations`(IN planetname CHAR(32)) +BEGIN + + ## + ## Stored Procedure + ## + ## Use: CALL sp_PlanetaryMapLocations(planetname); + ## + ## Returns: (planet map point list) + + SELECT + planetmap.id, + planetmap.name, + planetmap.x, + planetmap.z, + planetmapcategory.main, + planetmapcategory.sub, + planetmap.icon + FROM planetmap + INNER JOIN planetmapcategory on + (planetmap.category_id = planetmapcategory.id) + WHERE planetmap.planet_id = (SELECT planet.planet_id FROM planet WHERE planet.name = planetname); + +END $$ +/*!50003 SET SESSION SQL_MODE=@TEMP_SQL_MODE */ $$ + +DELIMITER ; + +/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; +/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; +/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; +/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; +/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; \ No newline at end of file
swganh/mmoserverdb
60e64def8a227588b995a96271bc3c7210ce661d
sp_ServerGlobalTickUpdate
diff --git a/swganh/procedures/sp_ServerGlobalTickUpdate.sql b/swganh/procedures/sp_ServerGlobalTickUpdate.sql new file mode 100644 index 0000000..8af8bd2 --- /dev/null +++ b/swganh/procedures/sp_ServerGlobalTickUpdate.sql @@ -0,0 +1,68 @@ +/* +--------------------------------------------------------------------------------------- +This source file is part of SWG:ANH (Star Wars Galaxies - A New Hope - Server Emulator) + +For more information, visit http://www.swganh.com + +Copyright (c) 2006 - 2010 The SWG:ANH Team +--------------------------------------------------------------------------------------- +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU Lesser General Public +License as published by the Free Software Foundation; either +version 2.1 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Lesser General Public License for more details. + +You should have received a copy of the GNU Lesser General Public +License along with this library; if not, write to the Free Software +Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +--------------------------------------------------------------------------------------- +*/ + +/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; +/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; +/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; +/*!40101 SET NAMES utf8 */; + +/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; +/*!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' */; + +use swganh; + + +-- +-- Definition of procedure `sp_ServerGlobalTickUpdate` +-- + +DROP PROCEDURE IF EXISTS `sp_ServerGlobalTickUpdate`; +DELIMITER $$ + +/*!50003 SET @TEMP_SQL_MODE=@@SQL_MODE, SQL_MODE='' */ $$ +CREATE DEFINER=`root`@`localhost` PROCEDURE `sp_ServerGlobalTickUpdate`(IN galaxyID BIGINT, currentTick BIGINT) +BEGIN + + ## + ## Stored Procedure + ## + ## Use: CALL sp_ServerGlobalTickUpdate(galaxy_id, currentTick); + ## + ## Returns: (nothing) + + UPDATE galaxy SET Global_Tick_Count = currentTick WHERE galaxy_id = galaxyID; + +END $$ +/*!50003 SET SESSION SQL_MODE=@TEMP_SQL_MODE */ $$ + +DELIMITER ; + +/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; +/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; +/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; +/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; +/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; \ No newline at end of file
swganh/mmoserverdb
bdd414807ca9e36af08bbc6410047b77ff2ada00
sp_ServerGlobalTickGet
diff --git a/swganh/procedures/sp_ServerGlobalTickGet.sql b/swganh/procedures/sp_ServerGlobalTickGet.sql new file mode 100644 index 0000000..8d4b763 --- /dev/null +++ b/swganh/procedures/sp_ServerGlobalTickGet.sql @@ -0,0 +1,67 @@ +/* +--------------------------------------------------------------------------------------- +This source file is part of SWG:ANH (Star Wars Galaxies - A New Hope - Server Emulator) + +For more information, visit http://www.swganh.com + +Copyright (c) 2006 - 2010 The SWG:ANH Team +--------------------------------------------------------------------------------------- +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU Lesser General Public +License as published by the Free Software Foundation; either +version 2.1 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Lesser General Public License for more details. + +You should have received a copy of the GNU Lesser General Public +License along with this library; if not, write to the Free Software +Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +--------------------------------------------------------------------------------------- +*/ + +/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; +/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; +/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; +/*!40101 SET NAMES utf8 */; + +/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; +/*!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' */; + +use swganh; + +-- +-- Definition of procedure `sp_ServerGlobalTickGet` +-- + +DROP PROCEDURE IF EXISTS `sp_ServerGlobalTickGet`; +DELIMITER $$ + +/*!50003 SET @TEMP_SQL_MODE=@@SQL_MODE, SQL_MODE='' */ $$ +CREATE DEFINER=`root`@`localhost` PROCEDURE `sp_ServerGlobalTickGet`(IN galaxyID BIGINT) +BEGIN + + ## + ## Stored Procedure + ## + ## Use: CALL sp_ServerGlobalTickGet(galaxy_id); + ## + ## Returns: (server global tick) + + SELECT Global_Tick_Count FROM galaxy WHERE galaxy_id = galaxyID; + +END $$ +/*!50003 SET SESSION SQL_MODE=@TEMP_SQL_MODE */ $$ + +DELIMITER ; + +/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; +/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; +/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; +/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; +/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; \ No newline at end of file
swganh/mmoserverdb
1892c0597c0ab0df264d24f85507c9816d1e186d
cleanup of sp_CharacterCreate added additional workflow comments put in fix to flip tool effectivness to 0
diff --git a/swganh/procedures/sp_CharacterCreate.sql b/swganh/procedures/sp_CharacterCreate.sql index 4ac27a7..e9c1335 100644 --- a/swganh/procedures/sp_CharacterCreate.sql +++ b/swganh/procedures/sp_CharacterCreate.sql @@ -1,253 +1,311 @@ /* --------------------------------------------------------------------------------------- This source file is part of SWG:ANH (Star Wars Galaxies - A New Hope - Server Emulator) For more information, visit http://www.swganh.com Copyright (c) 2006 - 2010 The SWG:ANH Team --------------------------------------------------------------------------------------- This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA --------------------------------------------------------------------------------------- */ /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8 */; /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; /*!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' */; -- -- Use schema swganh -- USE swganh; -- -- Definition of procedure `sp_CharacterCreate` -- DROP PROCEDURE IF EXISTS `sp_CharacterCreate`; DELIMITER $$ CREATE DEFINER=`root`@`localhost` PROCEDURE `sp_CharacterCreate`( - IN start_account_id INT,IN start_galaxy_id INT,IN start_firstname char(32),IN start_lastname char(32), - IN start_profession char(64),IN start_city char(32),IN start_scale FLOAT,IN start_biography text(2048), - IN 00FF INT, IN 01FF INT, IN 02FF INT, IN 03FF INT, IN 04FF INT, IN 05FF INT, IN 06FF INT, IN 07FF INT, - IN 08FF INT, IN 09FF INT, IN 0AFF INT, IN 0BFF INT, IN 0CFF INT, IN 0DFF INT, IN 0EFF INT, IN 0FFF INT, - IN 10FF INT, IN 11FF INT, IN 12FF INT, IN 13FF INT, IN 14FF INT, IN 15FF INT, IN 16FF INT, IN 17FF INT, - IN 18FF INT, IN 19FF INT, IN 1AFF INT, IN 1BFF INT, IN 1CFF INT, IN 1DFF INT, IN 1EFF INT, IN 1FFF INT, - IN 20FF INT, IN 21FF INT, IN 22FF INT, IN 23FF INT, IN 24FF INT, IN 25FF INT, IN 26FF INT, IN 27FF INT, - IN 28FF INT, IN 29FF INT, IN 2AFF INT, IN 2BFF INT, IN 2CFF INT, IN 2DFF INT, IN 2EFF INT, IN 2FFF INT, - IN 30FF INT, IN 31FF INT, IN 32FF INT, IN 33FF INT, IN 34FF INT, IN 35FF INT, IN 36FF INT, IN 37FF INT, - IN 38FF INT, IN 39FF INT, IN 3AFF INT, IN 3BFF INT, IN 3CFF INT, IN 3DFF INT, IN 3EFF INT, IN 3FFF INT, - IN 40FF INT, IN 41FF INT, IN 42FF INT, IN 43FF INT, IN 44FF INT, IN 45FF INT, IN 46FF INT, IN 47FF INT, - IN 48FF INT, IN 49FF INT, IN 4AFF INT, IN 4BFF INT, IN 4CFF INT, IN 4DFF INT, IN 4EFF INT, IN 4FFF INT, - IN 50FF INT, IN 51FF INT, IN 52FF INT, IN 53FF INT, IN 54FF INT, IN 55FF INT, IN 56FF INT, IN 57FF INT, - IN 58FF INT, IN 59FF INT, IN 5AFF INT, IN 5BFF INT, IN 5CFF INT, IN 5DFF INT, IN 5EFF INT, IN 5FFF INT, - IN 60FF INT, IN 61FF INT, IN 62FF INT, IN 63FF INT, IN 64FF INT, IN 65FF INT, IN 66FF INT, IN 67FF INT, - IN 68FF INT, IN 69FF INT, IN 6AFF INT, IN 6BFF INT, IN 6CFF INT, IN 6DFF INT, IN 6EFF INT, IN 6FFF INT, - IN 70FF INT, IN ABFF INT, IN AB2FF INT, IN start_hair_model CHAR(64), IN hair1 INT,IN hair2 INT, IN base_model_string CHAR(64)) + IN start_account_id INT,IN start_galaxy_id INT,IN start_firstname char(32),IN start_lastname char(32), + IN start_profession char(64),IN start_city char(32),IN start_scale FLOAT,IN start_biography text(2048), + IN 00FF INT, IN 01FF INT, IN 02FF INT, IN 03FF INT, IN 04FF INT, IN 05FF INT, IN 06FF INT, IN 07FF INT, + IN 08FF INT, IN 09FF INT, IN 0AFF INT, IN 0BFF INT, IN 0CFF INT, IN 0DFF INT, IN 0EFF INT, IN 0FFF INT, + IN 10FF INT, IN 11FF INT, IN 12FF INT, IN 13FF INT, IN 14FF INT, IN 15FF INT, IN 16FF INT, IN 17FF INT, + IN 18FF INT, IN 19FF INT, IN 1AFF INT, IN 1BFF INT, IN 1CFF INT, IN 1DFF INT, IN 1EFF INT, IN 1FFF INT, + IN 20FF INT, IN 21FF INT, IN 22FF INT, IN 23FF INT, IN 24FF INT, IN 25FF INT, IN 26FF INT, IN 27FF INT, + IN 28FF INT, IN 29FF INT, IN 2AFF INT, IN 2BFF INT, IN 2CFF INT, IN 2DFF INT, IN 2EFF INT, IN 2FFF INT, + IN 30FF INT, IN 31FF INT, IN 32FF INT, IN 33FF INT, IN 34FF INT, IN 35FF INT, IN 36FF INT, IN 37FF INT, + IN 38FF INT, IN 39FF INT, IN 3AFF INT, IN 3BFF INT, IN 3CFF INT, IN 3DFF INT, IN 3EFF INT, IN 3FFF INT, + IN 40FF INT, IN 41FF INT, IN 42FF INT, IN 43FF INT, IN 44FF INT, IN 45FF INT, IN 46FF INT, IN 47FF INT, + IN 48FF INT, IN 49FF INT, IN 4AFF INT, IN 4BFF INT, IN 4CFF INT, IN 4DFF INT, IN 4EFF INT, IN 4FFF INT, + IN 50FF INT, IN 51FF INT, IN 52FF INT, IN 53FF INT, IN 54FF INT, IN 55FF INT, IN 56FF INT, IN 57FF INT, + IN 58FF INT, IN 59FF INT, IN 5AFF INT, IN 5BFF INT, IN 5CFF INT, IN 5DFF INT, IN 5EFF INT, IN 5FFF INT, + IN 60FF INT, IN 61FF INT, IN 62FF INT, IN 63FF INT, IN 64FF INT, IN 65FF INT, IN 66FF INT, IN 67FF INT, + IN 68FF INT, IN 69FF INT, IN 6AFF INT, IN 6BFF INT, IN 6CFF INT, IN 6DFF INT, IN 6EFF INT, IN 6FFF INT, + IN 70FF INT, IN ABFF INT, IN AB2FF INT, + IN start_hair_model CHAR(64), IN hair1 INT,IN hair2 INT, IN base_model_string CHAR(64)) + charCreate:BEGIN - DECLARE oX FLOAT;DECLARE oY FLOAT;DECLARE oZ FLOAT;DECLARE oW FLOAT; - DECLARE battlefatigue INT; + -- + -- Declare Vars + -- + + DECLARE oX FLOAT;DECLARE oY FLOAT;DECLARE oZ FLOAT;DECLARE oW FLOAT; + DECLARE battlefatigue INT; DECLARE race_id INT; DECLARE character_id BIGINT(20); - DECLARE character_parent_id BIGINT(20); - DECLARE inventory_id BIGINT(20); - DECLARE tutorialcontainer_id BIGINT(20); - DECLARE privateowner_id BIGINT(20); + DECLARE character_parent_id BIGINT(20); + DECLARE inventory_id BIGINT(20); + DECLARE tutorialcontainer_id BIGINT(20); + DECLARE privateowner_id BIGINT(20); DECLARE bank_id BIGINT(20); DECLARE datapad_id BIGINT(20); DECLARE planet_name char(32); DECLARE profession_id INT; DECLARE t_health INT; DECLARE t_strength INT; DECLARE t_constitution INT; DECLARE t_action INT; DECLARE t_quickness INT; DECLARE t_stamina INT; DECLARE t_mind INT; DECLARE t_focus INT; DECLARE t_willpower INT; DECLARE start_planet INT; DECLARE start_x FLOAT;DECLARE start_y FLOAT;DECLARE start_z FLOAT; DECLARE shortSpecies CHAR(32); DECLARE gender INT(3); - DECLARE base_skill_id INT; - DECLARE nameCheck INT; + DECLARE base_skill_id INT; + DECLARE nameCheck INT; DECLARE currentTime BIGINT(20); + DECLARE tool_id BIGINT(20); DECLARE melon_id BIGINT(20); - DECLARE EXIT HANDLER FOR NOT FOUND - BEGIN - SET character_id = 4; - ROLLBACK; - SELECT character_id; - END; - DECLARE EXIT HANDLER FOR SQLEXCEPTION - BEGIN - SET character_id = 4; - ROLLBACK; - SELECT character_id; - END; - DECLARE EXIT HANDLER FOR SQLWARNING - BEGIN - SET character_id = 4; - ROLLBACK; - SELECT character_id; - END; - - SELECT sf_CharacterNameDeveloperCheck(start_firstname) INTO nameCheck; - IF nameCheck <> 666 THEN - SELECT(nameCheck); - LEAVE charCreate; - END IF; - - SELECT sf_CharacterNameFictionalCheck(start_firstname) INTO nameCheck; - IF nameCheck <> 666 THEN - SELECT(nameCheck); - LEAVE charCreate; - END IF; - - SELECT sf_CharacterNameInUseCheck(start_firstname) INTO nameCheck; - IF nameCheck <> 666 THEN - SELECT(nameCheck); - LEAVE charCreate; - END IF; - - IF base_model_string like '%female%' THEN - SET gender = 0; - ELSE - SET gender = 1; - END IF; - - SET character_parent_id = 0; - SET privateowner_id = 0; - SET battlefatigue = 0; - SET oX = 0; - SET oY = 1; - SET oZ = 0; - SET oW = 0; - + + -- + -- Transactional Support + -- + + DECLARE EXIT HANDLER FOR NOT FOUND + BEGIN + SET character_id = 4; + ROLLBACK; + SELECT character_id; + END; + + DECLARE EXIT HANDLER FOR SQLEXCEPTION + BEGIN + SET character_id = 4; + ROLLBACK; + SELECT character_id; + END; + + DECLARE EXIT HANDLER FOR SQLWARNING + BEGIN + SET character_id = 4; + ROLLBACK; + SELECT character_id; + END; + + SELECT sf_CharacterNameDeveloperCheck(start_firstname) INTO nameCheck; + IF nameCheck <> 666 THEN + SELECT(nameCheck); + LEAVE charCreate; + END IF; + + SELECT sf_CharacterNameFictionalCheck(start_firstname) INTO nameCheck; + IF nameCheck <> 666 THEN + SELECT(nameCheck); + LEAVE charCreate; + END IF; + + SELECT sf_CharacterNameInUseCheck(start_firstname) INTO nameCheck; + IF nameCheck <> 666 THEN + SELECT(nameCheck); + LEAVE charCreate; + END IF; + + -- + -- Set our gender + -- + + IF base_model_string like '%female%' THEN + SET gender = 0; + ELSE + SET gender = 1; + END IF; + + -- + -- Set defaults (battle fatigue, world orientation) + -- + + SET character_parent_id = 0; + SET privateowner_id = 0; + SET battlefatigue = 0; + SET oX = 0; + SET oY = 1; + SET oZ = 0; + SET oW = 0; + -- -- Transaction Start -- - START TRANSACTION; - SELECT MAX(id) + 1000 FROM characters INTO character_id FOR UPDATE; - IF character_id IS NULL THEN - SET character_id = 8589934593; - END IF; - - -- - -- Set the initial IDs - -- + START TRANSACTION; + + -- + -- Get our new characater ID + -- + + SELECT MAX(id) + 1000 FROM characters INTO character_id FOR UPDATE; + + IF character_id IS NULL THEN + SET character_id = 8589934593; + END IF; + + -- + -- Set the initial IDs + -- + + SET inventory_id = character_id + 1; + SET bank_id = character_id + 4; + SET datapad_id = character_id + 3; + SET tutorialcontainer_id = 0; + + -- + -- Select our starting location + -- + + SELECT planet_id, x, y, z FROM starting_location WHERE location LIKE start_city INTO start_planet, start_x, start_y, start_z; + + -- + -- Select our species type + -- + + SELECT f_speciesShort(base_model_string) INTO shortSpecies; + + -- + -- Select our base stats + -- - SET inventory_id = character_id + 1; - SET bank_id = character_id + 4; - SET datapad_id = character_id + 3; - SET tutorialcontainer_id = 0; + SELECT health, strength, constitution, action, quickness, stamina, mind, focus, willpower FROM starting_attributes WHERE starting_attributes.species like shortSpecies AND starting_attributes.profession like start_profession INTO t_health, t_strength, t_constitution, t_action, t_quickness, t_stamina, t_mind, t_focus, t_willpower; - SELECT planet_id, x, y, z FROM starting_location WHERE location LIKE start_city INTO start_planet, start_x, start_y, start_z; + -- + -- Select our race ID + -- - SELECT f_speciesShort(base_model_string) INTO shortSpecies; + SELECT id from race where race.name like shortSpecies into race_id; - SELECT health, strength, constitution, action, quickness, stamina, mind, focus, willpower FROM starting_attributes WHERE starting_attributes.species like shortSpecies AND starting_attributes.profession like start_profession INTO t_health, t_strength, t_constitution, t_action, t_quickness, t_stamina, t_mind, t_focus, t_willpower; + -- + -- Select our base skills + -- - SELECT id from race where race.name like shortSpecies into race_id; + SELECT skill_id from skills where skill_name like start_profession INTO profession_id; - SELECT skill_id from skills where skill_name like start_profession INTO profession_id; + -- Don't set any default skills or XP when creating player in the Tutorial. - -- Don't set any default skills or XP when creating player in the Tutorial. - IF start_city = 'tutorial' THEN + IF start_city = 'tutorial' THEN SET character_parent_id = 2203318222960; SET tutorialcontainer_id = 2533274790395904; SET privateowner_id = character_id; - END IF; - - IF start_city = 'default_location' THEN - SET character_parent_id = 2203318222975; - END IF; - - INSERT INTO characters VALUES (character_id, start_account_id, start_galaxy_id, start_firstname, start_lastname, race_id, character_parent_id, start_planet, start_x, start_y, start_z, oX, oY, oZ, oW, 0, NULL, 0, CURDATE() + 0); - - INSERT INTO inventories VALUES (inventory_id,1,1000); - INSERT INTO banks VALUES (bank_id,1000,-1); - INSERT INTO datapads VALUES (datapad_id,1); - INSERT INTO character_attributes VALUES (character_id, 1, t_health, t_strength, t_constitution, t_action, t_quickness, t_stamina, t_mind, t_focus, t_willpower, t_health, t_strength, t_constitution, t_action, t_quickness, t_stamina, t_mind, t_focus, t_willpower, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, battlefatigue,0,0,NULL,0,0,1,0,0,0,3); - INSERT INTO character_appearance VALUES (character_id, 00FF, 01FF, 02FF, 03FF, 04FF, 05FF, 06FF, 07FF, 08FF, 09FF, 0AFF, 0BFF, 0CFF, 0DFF, 0EFF, 0FFF, 10FF, 11FF, 12FF, 13FF, 14FF, 15FF, 16FF, 17FF, 18FF, 19FF, 1AFF, 1BFF, 1CFF, 1DFF, 1EFF, 1FFF, 20FF, 21FF, 22FF, 23FF, 24FF, 25FF, 26FF, 27FF, 28FF, 29FF, 2AFF, 2BFF, 2CFF, 2DFF, 2EFF, 2FFF, 30FF, 31FF, 32FF, 33FF, 34FF, 35FF, 36FF, 37FF, 38FF, 39FF, 3AFF, 3BFF, 3CFF, 3DFF, 3EFF, 3FFF, 40FF, 41FF, 42FF, 43FF, 44FF, 45FF, 46FF, 47FF, 48FF, 49FF, 4AFF, 4BFF, 4CFF, 4DFF, 4EFF, 4FFF, 50FF, 51FF, 52FF, 53FF, 54FF, 55FF, 56FF, 57FF, 58FF, 59FF, 5AFF, 5BFF, 5CFF, 5DFF, 5EFF, 5FFF, 60FF, 61FF, 62FF, 63FF, 64FF, 65FF, 66FF, 67FF, 68FF, 69FF, 6AFF, 6BFF, 6CFF, 6DFF, 6EFF, 6FFF, 70FF, ABFF, AB2FF, start_hair_model, hair1,hair2, base_model_string,start_scale); - INSERT INTO character_movement VALUES(character_id,5.75,1.50,1.00,0.0125); - INSERT INTO character_tutorial VALUES(character_id,1,1,start_profession); - - IF start_city <> 'tutorial' THEN - SET base_skill_id = profession_id + 1; - CALL sp_CharacterSkillsCreate(character_id,base_skill_id,race_id); - CALL sp_CharacterXpCreate(character_id,base_skill_id); - END IF; - - IF start_biography IS NULL THEN SET start_biography = ''; - END IF; - - INSERT INTO character_biography VALUES (character_id, start_biography); - INSERT INTO character_matchmaking VALUES (character_id,0,0,0,0,0); - - CALL sp_CharacterCreateFactions(character_id); - CALL sp_CharacterStartingItems(inventory_id,tutorialcontainer_id,privateowner_id,race_id,profession_id,gender); - + END IF; + + IF start_city = 'default_location' THEN + SET character_parent_id = 2203318222975; + END IF; + + -- + -- Create our character + -- + + INSERT INTO characters VALUES (character_id, start_account_id, start_galaxy_id, start_firstname, start_lastname, race_id, character_parent_id, start_planet, start_x, start_y, start_z, oX, oY, oZ, oW, 0, NULL, 0, CURDATE() + 0); + INSERT INTO inventories VALUES (inventory_id,1,1000); + INSERT INTO banks VALUES (bank_id,1000,-1); + INSERT INTO datapads VALUES (datapad_id,1); + INSERT INTO character_attributes VALUES (character_id, 1, t_health, t_strength, t_constitution, t_action, t_quickness, t_stamina, t_mind, t_focus, t_willpower, t_health, t_strength, t_constitution, t_action, t_quickness, t_stamina, t_mind, t_focus, t_willpower, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, battlefatigue,0,0,NULL,0,0,1,0,0,0,3); + INSERT INTO character_appearance VALUES (character_id, 00FF, 01FF, 02FF, 03FF, 04FF, 05FF, 06FF, 07FF, 08FF, 09FF, 0AFF, 0BFF, 0CFF, 0DFF, 0EFF, 0FFF, 10FF, 11FF, 12FF, 13FF, 14FF, 15FF, 16FF, 17FF, 18FF, 19FF, 1AFF, 1BFF, 1CFF, 1DFF, 1EFF, 1FFF, 20FF, 21FF, 22FF, 23FF, 24FF, 25FF, 26FF, 27FF, 28FF, 29FF, 2AFF, 2BFF, 2CFF, 2DFF, 2EFF, 2FFF, 30FF, 31FF, 32FF, 33FF, 34FF, 35FF, 36FF, 37FF, 38FF, 39FF, 3AFF, 3BFF, 3CFF, 3DFF, 3EFF, 3FFF, 40FF, 41FF, 42FF, 43FF, 44FF, 45FF, 46FF, 47FF, 48FF, 49FF, 4AFF, 4BFF, 4CFF, 4DFF, 4EFF, 4FFF, 50FF, 51FF, 52FF, 53FF, 54FF, 55FF, 56FF, 57FF, 58FF, 59FF, 5AFF, 5BFF, 5CFF, 5DFF, 5EFF, 5FFF, 60FF, 61FF, 62FF, 63FF, 64FF, 65FF, 66FF, 67FF, 68FF, 69FF, 6AFF, 6BFF, 6CFF, 6DFF, 6EFF, 6FFF, 70FF, ABFF, AB2FF, start_hair_model, hair1,hair2, base_model_string,start_scale); + INSERT INTO character_movement VALUES(character_id,5.75,1.50,1.00,0.0125); + INSERT INTO character_tutorial VALUES(character_id,1,1,start_profession); + + IF start_city <> 'tutorial' THEN + SET base_skill_id = profession_id + 1; + CALL sp_CharacterSkillsCreate(character_id,base_skill_id,race_id); + CALL sp_CharacterXpCreate(character_id,base_skill_id); + END IF; + + IF start_biography IS NULL THEN SET start_biography = ''; + END IF; + + INSERT INTO character_biography VALUES (character_id, start_biography); + INSERT INTO character_matchmaking VALUES (character_id,0,0,0,0,0); + + CALL sp_CharacterCreateFactions(character_id); + CALL sp_CharacterStartingItems(inventory_id,tutorialcontainer_id,privateowner_id,race_id,profession_id,gender); + -- -- Fix Melon to have 5 stacks - -- - + -- + -- Wen running the Tutorial there is no melon in the inventory. And it will make it impossible to create a character at the Tutorial zone. -- SELECT id FROM items WHERE parent_id = inventory_id AND item_type = 89 INTO melon_id; -- INSERT INTO item_attributes VALUES (melon_id, 23, 5, 3, NULL); - IF start_city = 'tutorial' THEN + IF start_city = 'tutorial' THEN SELECT id FROM items WHERE items.privateowner_id = character_id AND items.item_type = 89 INTO melon_id; INSERT INTO item_attributes VALUES (melon_id, 23, 5, 3, NULL); ELSE SELECT id FROM items WHERE items.parent_id = inventory_id AND items.item_type = 89 INTO melon_id; INSERT INTO item_attributes VALUES (melon_id, 23, 5, 3, NULL); END IF; - + + -- + -- Fix tools to have effectivness of 0 + -- + + SELECT id FROM items where parent_id = inventory_id AND item_family = 3 INTO tool_id; + UPDATE item_attributes SET item_attributes.value = '0' WHERE attribute_id = 15 and item_id = tool_id; -- -- Commit Transaction -- - - COMMIT; - + + COMMIT; + -- -- Return new character ID -- - + SELECT(character_id); - + END $$ DELIMITER ; /*!40101 SET SQL_MODE=@OLD_SQL_MODE */; /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; \ No newline at end of file
swganh/mmoserverdb
43317d6bdb6bf0e3389e3d4b1dfbd78c6815cd6f
fix for character orientation in the last tutorial room
diff --git a/swganh/procedures/sp_CharacterCreate.sql b/swganh/procedures/sp_CharacterCreate.sql index 802d346..4ac27a7 100644 --- a/swganh/procedures/sp_CharacterCreate.sql +++ b/swganh/procedures/sp_CharacterCreate.sql @@ -1,253 +1,253 @@ /* --------------------------------------------------------------------------------------- This source file is part of SWG:ANH (Star Wars Galaxies - A New Hope - Server Emulator) For more information, visit http://www.swganh.com Copyright (c) 2006 - 2010 The SWG:ANH Team --------------------------------------------------------------------------------------- This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA --------------------------------------------------------------------------------------- */ /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8 */; /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; /*!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' */; -- -- Use schema swganh -- USE swganh; -- -- Definition of procedure `sp_CharacterCreate` -- DROP PROCEDURE IF EXISTS `sp_CharacterCreate`; DELIMITER $$ CREATE DEFINER=`root`@`localhost` PROCEDURE `sp_CharacterCreate`( IN start_account_id INT,IN start_galaxy_id INT,IN start_firstname char(32),IN start_lastname char(32), IN start_profession char(64),IN start_city char(32),IN start_scale FLOAT,IN start_biography text(2048), IN 00FF INT, IN 01FF INT, IN 02FF INT, IN 03FF INT, IN 04FF INT, IN 05FF INT, IN 06FF INT, IN 07FF INT, IN 08FF INT, IN 09FF INT, IN 0AFF INT, IN 0BFF INT, IN 0CFF INT, IN 0DFF INT, IN 0EFF INT, IN 0FFF INT, IN 10FF INT, IN 11FF INT, IN 12FF INT, IN 13FF INT, IN 14FF INT, IN 15FF INT, IN 16FF INT, IN 17FF INT, IN 18FF INT, IN 19FF INT, IN 1AFF INT, IN 1BFF INT, IN 1CFF INT, IN 1DFF INT, IN 1EFF INT, IN 1FFF INT, IN 20FF INT, IN 21FF INT, IN 22FF INT, IN 23FF INT, IN 24FF INT, IN 25FF INT, IN 26FF INT, IN 27FF INT, IN 28FF INT, IN 29FF INT, IN 2AFF INT, IN 2BFF INT, IN 2CFF INT, IN 2DFF INT, IN 2EFF INT, IN 2FFF INT, IN 30FF INT, IN 31FF INT, IN 32FF INT, IN 33FF INT, IN 34FF INT, IN 35FF INT, IN 36FF INT, IN 37FF INT, IN 38FF INT, IN 39FF INT, IN 3AFF INT, IN 3BFF INT, IN 3CFF INT, IN 3DFF INT, IN 3EFF INT, IN 3FFF INT, IN 40FF INT, IN 41FF INT, IN 42FF INT, IN 43FF INT, IN 44FF INT, IN 45FF INT, IN 46FF INT, IN 47FF INT, IN 48FF INT, IN 49FF INT, IN 4AFF INT, IN 4BFF INT, IN 4CFF INT, IN 4DFF INT, IN 4EFF INT, IN 4FFF INT, IN 50FF INT, IN 51FF INT, IN 52FF INT, IN 53FF INT, IN 54FF INT, IN 55FF INT, IN 56FF INT, IN 57FF INT, IN 58FF INT, IN 59FF INT, IN 5AFF INT, IN 5BFF INT, IN 5CFF INT, IN 5DFF INT, IN 5EFF INT, IN 5FFF INT, IN 60FF INT, IN 61FF INT, IN 62FF INT, IN 63FF INT, IN 64FF INT, IN 65FF INT, IN 66FF INT, IN 67FF INT, IN 68FF INT, IN 69FF INT, IN 6AFF INT, IN 6BFF INT, IN 6CFF INT, IN 6DFF INT, IN 6EFF INT, IN 6FFF INT, IN 70FF INT, IN ABFF INT, IN AB2FF INT, IN start_hair_model CHAR(64), IN hair1 INT,IN hair2 INT, IN base_model_string CHAR(64)) charCreate:BEGIN - DECLARE oX FLOAT;DECLARE oY FLOAT;DECLARE oZ FLOAT;DECLARE oW FLOAT; - DECLARE battlefatigue INT; + DECLARE oX FLOAT;DECLARE oY FLOAT;DECLARE oZ FLOAT;DECLARE oW FLOAT; + DECLARE battlefatigue INT; DECLARE race_id INT; DECLARE character_id BIGINT(20); - DECLARE character_parent_id BIGINT(20); - DECLARE inventory_id BIGINT(20); - DECLARE tutorialcontainer_id BIGINT(20); - DECLARE privateowner_id BIGINT(20); + DECLARE character_parent_id BIGINT(20); + DECLARE inventory_id BIGINT(20); + DECLARE tutorialcontainer_id BIGINT(20); + DECLARE privateowner_id BIGINT(20); DECLARE bank_id BIGINT(20); DECLARE datapad_id BIGINT(20); DECLARE planet_name char(32); DECLARE profession_id INT; DECLARE t_health INT; DECLARE t_strength INT; DECLARE t_constitution INT; DECLARE t_action INT; DECLARE t_quickness INT; DECLARE t_stamina INT; DECLARE t_mind INT; DECLARE t_focus INT; DECLARE t_willpower INT; DECLARE start_planet INT; DECLARE start_x FLOAT;DECLARE start_y FLOAT;DECLARE start_z FLOAT; DECLARE shortSpecies CHAR(32); DECLARE gender INT(3); - DECLARE base_skill_id INT; - DECLARE nameCheck INT; + DECLARE base_skill_id INT; + DECLARE nameCheck INT; DECLARE currentTime BIGINT(20); DECLARE melon_id BIGINT(20); DECLARE EXIT HANDLER FOR NOT FOUND BEGIN SET character_id = 4; ROLLBACK; SELECT character_id; END; DECLARE EXIT HANDLER FOR SQLEXCEPTION BEGIN SET character_id = 4; ROLLBACK; SELECT character_id; END; DECLARE EXIT HANDLER FOR SQLWARNING BEGIN SET character_id = 4; ROLLBACK; SELECT character_id; END; SELECT sf_CharacterNameDeveloperCheck(start_firstname) INTO nameCheck; IF nameCheck <> 666 THEN SELECT(nameCheck); LEAVE charCreate; END IF; SELECT sf_CharacterNameFictionalCheck(start_firstname) INTO nameCheck; IF nameCheck <> 666 THEN SELECT(nameCheck); LEAVE charCreate; END IF; SELECT sf_CharacterNameInUseCheck(start_firstname) INTO nameCheck; IF nameCheck <> 666 THEN SELECT(nameCheck); LEAVE charCreate; END IF; IF base_model_string like '%female%' THEN SET gender = 0; ELSE SET gender = 1; END IF; SET character_parent_id = 0; SET privateowner_id = 0; SET battlefatigue = 0; SET oX = 0; - SET oY = 0; + SET oY = 1; SET oZ = 0; SET oW = 0; -- -- Transaction Start -- START TRANSACTION; SELECT MAX(id) + 1000 FROM characters INTO character_id FOR UPDATE; IF character_id IS NULL THEN SET character_id = 8589934593; END IF; -- -- Set the initial IDs -- SET inventory_id = character_id + 1; SET bank_id = character_id + 4; SET datapad_id = character_id + 3; SET tutorialcontainer_id = 0; SELECT planet_id, x, y, z FROM starting_location WHERE location LIKE start_city INTO start_planet, start_x, start_y, start_z; SELECT f_speciesShort(base_model_string) INTO shortSpecies; SELECT health, strength, constitution, action, quickness, stamina, mind, focus, willpower FROM starting_attributes WHERE starting_attributes.species like shortSpecies AND starting_attributes.profession like start_profession INTO t_health, t_strength, t_constitution, t_action, t_quickness, t_stamina, t_mind, t_focus, t_willpower; SELECT id from race where race.name like shortSpecies into race_id; SELECT skill_id from skills where skill_name like start_profession INTO profession_id; -- Don't set any default skills or XP when creating player in the Tutorial. IF start_city = 'tutorial' THEN - SET character_parent_id = 2203318222960; - SET tutorialcontainer_id = 2533274790395904; - SET privateowner_id = character_id; + SET character_parent_id = 2203318222960; + SET tutorialcontainer_id = 2533274790395904; + SET privateowner_id = character_id; END IF; IF start_city = 'default_location' THEN SET character_parent_id = 2203318222975; END IF; INSERT INTO characters VALUES (character_id, start_account_id, start_galaxy_id, start_firstname, start_lastname, race_id, character_parent_id, start_planet, start_x, start_y, start_z, oX, oY, oZ, oW, 0, NULL, 0, CURDATE() + 0); INSERT INTO inventories VALUES (inventory_id,1,1000); INSERT INTO banks VALUES (bank_id,1000,-1); INSERT INTO datapads VALUES (datapad_id,1); INSERT INTO character_attributes VALUES (character_id, 1, t_health, t_strength, t_constitution, t_action, t_quickness, t_stamina, t_mind, t_focus, t_willpower, t_health, t_strength, t_constitution, t_action, t_quickness, t_stamina, t_mind, t_focus, t_willpower, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, battlefatigue,0,0,NULL,0,0,1,0,0,0,3); INSERT INTO character_appearance VALUES (character_id, 00FF, 01FF, 02FF, 03FF, 04FF, 05FF, 06FF, 07FF, 08FF, 09FF, 0AFF, 0BFF, 0CFF, 0DFF, 0EFF, 0FFF, 10FF, 11FF, 12FF, 13FF, 14FF, 15FF, 16FF, 17FF, 18FF, 19FF, 1AFF, 1BFF, 1CFF, 1DFF, 1EFF, 1FFF, 20FF, 21FF, 22FF, 23FF, 24FF, 25FF, 26FF, 27FF, 28FF, 29FF, 2AFF, 2BFF, 2CFF, 2DFF, 2EFF, 2FFF, 30FF, 31FF, 32FF, 33FF, 34FF, 35FF, 36FF, 37FF, 38FF, 39FF, 3AFF, 3BFF, 3CFF, 3DFF, 3EFF, 3FFF, 40FF, 41FF, 42FF, 43FF, 44FF, 45FF, 46FF, 47FF, 48FF, 49FF, 4AFF, 4BFF, 4CFF, 4DFF, 4EFF, 4FFF, 50FF, 51FF, 52FF, 53FF, 54FF, 55FF, 56FF, 57FF, 58FF, 59FF, 5AFF, 5BFF, 5CFF, 5DFF, 5EFF, 5FFF, 60FF, 61FF, 62FF, 63FF, 64FF, 65FF, 66FF, 67FF, 68FF, 69FF, 6AFF, 6BFF, 6CFF, 6DFF, 6EFF, 6FFF, 70FF, ABFF, AB2FF, start_hair_model, hair1,hair2, base_model_string,start_scale); INSERT INTO character_movement VALUES(character_id,5.75,1.50,1.00,0.0125); INSERT INTO character_tutorial VALUES(character_id,1,1,start_profession); IF start_city <> 'tutorial' THEN SET base_skill_id = profession_id + 1; CALL sp_CharacterSkillsCreate(character_id,base_skill_id,race_id); CALL sp_CharacterXpCreate(character_id,base_skill_id); END IF; IF start_biography IS NULL THEN SET start_biography = ''; END IF; INSERT INTO character_biography VALUES (character_id, start_biography); INSERT INTO character_matchmaking VALUES (character_id,0,0,0,0,0); CALL sp_CharacterCreateFactions(character_id); CALL sp_CharacterStartingItems(inventory_id,tutorialcontainer_id,privateowner_id,race_id,profession_id,gender); -- -- Fix Melon to have 5 stacks -- -- Wen running the Tutorial there is no melon in the inventory. And it will make it impossible to create a character at the Tutorial zone. -- SELECT id FROM items WHERE parent_id = inventory_id AND item_type = 89 INTO melon_id; -- INSERT INTO item_attributes VALUES (melon_id, 23, 5, 3, NULL); IF start_city = 'tutorial' THEN SELECT id FROM items WHERE items.privateowner_id = character_id AND items.item_type = 89 INTO melon_id; INSERT INTO item_attributes VALUES (melon_id, 23, 5, 3, NULL); ELSE SELECT id FROM items WHERE items.parent_id = inventory_id AND items.item_type = 89 INTO melon_id; INSERT INTO item_attributes VALUES (melon_id, 23, 5, 3, NULL); END IF; -- -- Commit Transaction -- COMMIT; -- -- Return new character ID -- SELECT(character_id); END $$ DELIMITER ; /*!40101 SET SQL_MODE=@OLD_SQL_MODE */; /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; \ No newline at end of file
swganh/mmoserverdb
cdd0efcf6ca778d7d3d859d10642b22b4db9a5b2
removed "
diff --git a/setup.bat b/setup.bat index 96cc328..0611f4f 100644 --- a/setup.bat +++ b/setup.bat @@ -1,565 +1,565 @@ @ECHO off :: --------------------------------------------------------------------------------------- :: This source file is part of SWG:ANH (Star Wars Galaxies - A New Hope - Server Emulator) :: :: For more information, visit http://www.swganh.com :: :: Copyright (c) 2006 - 2010 The SWG:ANH Team :: --------------------------------------------------------------------------------------- :: This library is free software; you can redistribute it and/or :: modIFy it under the terms of the GNU Lesser General Public :: License as published by the Free Software Foundation; either :: version 2.1 of the License, or (at your option) any later version. :: :: This library is distributed in the hope that it will be useful, :: but WITHOUT ANY WARRANTY; without even the implied warranty of :: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU :: Lesser General Public License for more details. :: :: You should have received a copy of the GNU Lesser General Public :: License along with this library; IF not, write to the Free Software :: Foundation, Inc., 51 Franklin Street, FIFth Floor, Boston, MA 02110-1301 USA :: --------------------------------------------------------------------------------------- :: -- Prepare the Command Processor SETLOCAL ENABLEEXTENSIONS SETLOCAL ENABLEDELAYEDEXPANSION MODE con:cols=80 lines=58 :: Set initial VARS CALL :SET_DEFAULTS REM -- REM Main REM -- GOTO :PROCESS_ARGS :CONTINUE_FROM_PROCESS_ARGUMENTS ECHO. Project Base: %PROJECT_BASE% ECHO. Install Type Selected: %INSTALL_TYPE% ECHO. Backup Type Selected: %BACKUP_TYPE% ECHO. ECHO. User: %db_user% ECHO. Password: %db_pass% ECHO. IP: %db_host% ::ECHO. ::ECHO. ::ECHO. We're Done! GOTO :EOF REM -- REM Functions REM -- :SET_DEFAULTS SET INSTALL_TYPE=full SET BACKUP_TYPE=full SET "PROJECT_BASE=%~dp0" CALL :READ_CFG GOTO :eof :PROCESS_ARGS IF "%~0" == "" GOTO :CONTINUE_FROM_PROCESS_ARGUMENTS IF "%~0" == "-h" ( ECHO SWG:ANH Database Installer Help ECHO. ECHO. ECHO. /install [option] Install the SWG:ANH Database Schema ECHO. all Install the full Database ECHO. swganh Install the swganh Database ECHO. config Install the Config Database ECHO. logging Install the Logging Database ECHO. astromech Install the AstroMech Database ECHO. archive Install the Archive Database ECHO. ECHO. /backup [option] Backup the SWG:ANH Database Schema ECHO. all Backup the full suite of SWG:ANH Databases ECHO. swganh Backup the swganh Database ECHO. config Backup the Config Database ECHO. logging Backup the Logging Database ECHO. astromech Backup the AstroMech Database ECHO. archive Backup the Archive Databse ECHO. ECHO. /update Update the database ECHO. ECHO. /checkdbversion Check the database version ECHO. ECHO. /checkscriptversion Check the script version ECHO. ECHO. /clean Clean the Databases ECHO. ECHO. /generateresources Generate the initial resource spawn ECHO. ECHO. /shiftresourcespawn ShIFt the current resource spawn ECHO. ECHO. /resetglobaltimer Reset the Global Server Timer ECHO. ECHO. /checkconfig Check the config file values ) :: :: Check for Install Options :: IF "%~0" == "/install" ( set INSTALL_TYPE=%~1 CALL :INSTALL_DB shift ) :: :: Check for Backup Options :: IF "%~0" == "/backup" ( set BACKUP_TYPE=%~1 CALL :BACKUP_DB ) :: :: Check for Update :: IF "%~0" == "/update" ( CALL :UPDATE_DB GOTO :eof ) :: :: Check for DB Version :: IF "%~0" == "/checkdbversion" ( CALL :CHECK_DB_VERSION ) :: :: Check for Script Version :: IF "%~0" == "/checkscriptversion" ( CALL :CHECK_SCRIPT_VERSION ) :: :: Check for Clean :: IF "%~0" == "/clean" ( CALL :CLEAN_DB GOTO :eof ) :: :: Check for Generate Resources :: IF "%~0" == "/generateresources" ( CALL :GENERATE_RESOURCES GOTO :EOF ) :: :: Check for Shift Resources :: IF "%~0" == "/shiftresourcespawn" ( CALL :SHIFT_RESOURCES ) :: :: Check for Reset Global Timer :: IF "%~0" == "/resetglobaltimer" ( CALL :RESET_GLOBAL_TIMER GOTO :eof ) :: :: Check Config File Values :: IF "%~0" == "/checkconfig" ( CALL :RESET_GLOBAL_TIMER GOTO :eof ) SHIFT GOTO :PROCESS_ARGS :READ_CFG FOR /F "tokens=2 delims==" %%a IN ('find "username" ^< setup.cfg') DO SET db_user=%%a FOR /F "tokens=2 delims==" %%a IN ('find "password" ^< setup.cfg') DO SET db_pass=%%a FOR /F "tokens=2 delims==" %%a IN ('find "host" ^< setup.cfg') DO SET db_host=%%a GOTO :EOF :CLEAN_DB ECHO. ECHO. CLEAN DB CALLED GOTO :EOF :GENERATE_RESOURCES ECHO. mysql --password=%db_pass% --host=%db_host% --user=%db_user% --default-character-set=utf8 --database=swganh --execute="CALL sp_ResourceInitialSpawn()" ECHO. - ECHO. "Intial Resources Spawn generated. + ECHO. Intial Resources Spawn generated. GOTO :EOF :RESET_GLOBAL_TIMER ECHO. ECHO. RESET GLOBAL TIMER CALLED ECHO. mysql --password=%db_pass% --host=%db_host% --user=%db_user% --default-character-set=utf8 --database=swganh --execute="UPDATE galaxy SET Global_Tick_Count = 0;" GOTO :EOF :INSTALL_DB ECHO. ECHO. INSTALL DB CALLED :: Install ALL Databases IF "%INSTALL_TYPE%" == "all" ( cd "%PROJECT_BASE%swganh" mysql --password=%db_pass% --host=%db_host% --user=%db_user% --default-character-set=utf8 < "create_users.sql" mysql --password=%db_pass% --host=%db_host% --user=%db_user% --default-character-set=utf8 < "create.sql" cd "%PROJECT_BASE%swganh_archive" mysql --password=%db_pass% --host=%db_host% --user=%db_user% --default-character-set=utf8 < "create.sql" cd "%PROJECT_BASE%swganh_astromech" mysql --password=%db_pass% --host=%db_host% --user=%db_user% --default-character-set=utf8 < "create.sql" cd "%PROJECT_BASE%swganh_config" mysql --password=%db_pass% --host=%db_host% --user=%db_user% --default-character-set=utf8 < "create.sql" cd "%PROJECT_BASE%swganh_logs" mysql --password=%db_pass% --host=%db_host% --user=%db_user% --default-character-set=utf8 < "create.sql" cd "%PROJECT_BASE%" cd "%PROJECT_BASE%swganh" mysql --password=%db_pass% --host=%db_host% --user=%db_user% --default-character-set=utf8 < "create.sql" cd "%PROJECT_BASE%swganh\scripts" for /F %%A IN ('dir /b "*.sql" ^| sort') do ( mysql --password=%db_pass% --host=%db_host% --user=%db_user% --default-character-set=utf8 < "%%A" ECHO. Installing %%A [Done] ) cd "%PROJECT_BASE%swganh\functions" for /F %%A IN ('dir /b "*.sql" ^| sort') do ( mysql --password=%db_pass% --host=%db_host% --user=%db_user% --default-character-set=utf8 < "%%A" ECHO. Installing %%A [Done] ) cd "%PROJECT_BASE%swganh\procedures" for /F %%A IN ('dir /b "*.sql" ^| sort') do ( mysql --password=%db_pass% --host=%db_host% --user=%db_user% --default-character-set=utf8 < "%%A" ECHO. Installing %%A [Done] ) cd "%PROJECT_BASE%swganh_archive" mysql --password=%db_pass% --host=%db_host% --user=%db_user% --default-character-set=utf8 < "create.sql" cd "%PROJECT_BASE%swganh_archive\scripts" for /F %%A IN ('dir /b "*.sql" ^| sort') do ( mysql --password=%db_pass% --host=%db_host% --user=%db_user% --default-character-set=utf8 < "%%A" ECHO. Installing %%A [Done] ) cd "%PROJECT_BASE%swganh_archive\functions" for /F %%A IN ('dir /b "*.sql" ^| sort') do ( mysql --password=%db_pass% --host=%db_host% --user=%db_user% --default-character-set=utf8 < "%%A" ECHO. Installing %%A [Done] ) cd "%PROJECT_BASE%swganh_archive\procedures" for /F %%A IN ('dir /b "*.sql" ^| sort') do ( mysql --password=%db_pass% --host=%db_host% --user=%db_user% --default-character-set=utf8 < "%%A" ECHO. Installing %%A [Done] ) cd "%PROJECT_BASE%swganh_astromech" mysql --password=%db_pass% --host=%db_host% --user=%db_user% --default-character-set=utf8 < "create.sql" cd "%PROJECT_BASE%swganh_astromech\scripts" for /F %%A IN ('dir /b "*.sql" ^| sort') do ( mysql --password=%db_pass% --host=%db_host% --user=%db_user% --default-character-set=utf8 < "%%A" ECHO. Installing %%A [Done] ) cd "%PROJECT_BASE%swganh_astromech\functions" for /F %%A IN ('dir /b "*.sql"') do ( mysql --password=%db_pass% --host=%db_host% --user=%db_user% --default-character-set=utf8 < "%%A" ECHO. Installing %%A [Done] ) cd "%PROJECT_BASE%swganh_astromech\procedures" for /F %%A IN ('dir /b "*.sql"') do ( mysql --password=%db_pass% --host=%db_host% --user=%db_user% --default-character-set=utf8 < "%%A" ECHO. Installing %%A [Done] ) cd "%PROJECT_BASE%swganh_config" mysql --password=%db_pass% --host=%db_host% --user=%db_user% --default-character-set=utf8 < "create.sql" cd "%PROJECT_BASE%swganh_config\scripts" for /F %%A IN ('dir /b "*.sql" ^| sort') do ( mysql --password=%db_pass% --host=%db_host% --user=%db_user% --default-character-set=utf8 < "%%A" ECHO. Installing %%A [Done] ) cd "%PROJECT_BASE%swganh_config\functions" for /F %%A IN ('dir /b "*.sql"') do ( mysql --password=%db_pass% --host=%db_host% --user=%db_user% --default-character-set=utf8 < "%%A" ECHO. Installing %%A [Done] ) cd "%PROJECT_BASE%swganh_config\procedures" for /F %%A IN ('dir /b "*.sql"') do ( mysql --password=%db_pass% --host=%db_host% --user=%db_user% --default-character-set=utf8 < "%%A" ECHO. Installing %%A [Done] ) cd "%PROJECT_BASE%swganh_logs" mysql --password=%db_pass% --host=%db_host% --user=%db_user% --default-character-set=utf8 < "create.sql" cd "%PROJECT_BASE%swganh_logs\scripts" for /F %%A IN ('dir /b "*.sql" ^| sort') do ( mysql --password=%db_pass% --host=%db_host% --user=%db_user% --default-character-set=utf8 < "%%A" ECHO. Installing %%A [Done] ) cd "%PROJECT_BASE%swganh_logs\functions" for /F %%A IN ('dir /b "*.sql"') do ( mysql --password=%db_pass% --host=%db_host% --user=%db_user% --default-character-set=utf8 < "%%A" ECHO. Installing %%A [Done] ) cd "%PROJECT_BASE%swganh_logs\procedures" for /F %%A IN ('dir /b "*.sql"') do ( mysql --password=%db_pass% --host=%db_host% --user=%db_user% --default-character-set=utf8 < "%%A" ECHO. Installing %%A [Done] ) ) :: :: Install swganh Database :: IF "%INSTALL_TYPE%" == "swganh" ( cd "%PROJECT_BASE%swganh" mysql --password=%db_pass% --host=%db_host% --user=%db_user% --default-character-set=utf8 < "create_users.sql" mysql --password=%db_pass% --host=%db_host% --user=%db_user% --default-character-set=utf8 < "create.sql" cd "%PROJECT_BASE%swganh\scripts" for /F %%A IN ('dir /b "*.sql" ^| sort') do ( mysql --password=%db_pass% --host=%db_host% --user=%db_user% --default-character-set=utf8 < "%%A" ECHO. Installing %%A [Done] ) cd "%PROJECT_BASE%swganh\functions" for /F %%A IN ('dir /b "*.sql" ^| sort') do ( mysql --password=%db_pass% --host=%db_host% --user=%db_user% --default-character-set=utf8 < "%%A" ECHO. Installing %%A [Done] ) cd "%PROJECT_BASE%swganh\procedures" for /F %%A IN ('dir /b "*.sql" ^| sort') do ( mysql --password=%db_pass% --host=%db_host% --user=%db_user% --default-character-set=utf8 < "%%A" ECHO. Installing %%A [Done] ) cd "%PROJECT_BASE%" ) :: :: Install swganh_archive Database :: IF "%INSTALL_TYPE%" == "archive" ( cd "%PROJECT_BASE%swganh_archive" mysql --password=%db_pass% --host=%db_host% --user=%db_user% --default-character-set=utf8 < "create.sql" cd "%PROJECT_BASE%swganh_archive\scripts" for /F %%A IN ('dir /b "*.sql" ^| sort') do ( mysql --password=%db_pass% --host=%db_host% --user=%db_user% --default-character-set=utf8 < "%%A" ECHO. Installing %%A [Done] ) cd "%PROJECT_BASE%swganh_archive\functions" for /F %%A IN ('dir /b "*.sql" ^| sort') do ( mysql --password=%db_pass% --host=%db_host% --user=%db_user% --default-character-set=utf8 < "%%A" ECHO. Installing %%A [Done] ) cd "%PROJECT_BASE%swganh_archive\procedures" for /F %%A IN ('dir /b "*.sql" ^| sort') do ( mysql --password=%db_pass% --host=%db_host% --user=%db_user% --default-character-set=utf8 < "%%A" ECHO. Installing %%A [Done] ) cd "%PROJECT_BASE%" ) :: :: Install swganh_astromech Database :: IF "%INSTALL_TYPE%" == "astromech" ( cd "%PROJECT_BASE%swganh_astromech" mysql --password=%db_pass% --host=%db_host% --user=%db_user% --default-character-set=utf8 < "create.sql" cd "%PROJECT_BASE%swganh_astromech\scripts" for /F %%A IN ('dir /b "*.sql" ^| sort') do ( mysql --password=%db_pass% --host=%db_host% --user=%db_user% --default-character-set=utf8 < "%%A" ECHO. Installing %%A [Done] ) cd "%PROJECT_BASE%swganh_astromech\functions" for /F %%A IN ('dir /b "*.sql"') do ( mysql --password=%db_pass% --host=%db_host% --user=%db_user% --default-character-set=utf8 < "%%A" ECHO. Installing %%A [Done] ) cd "%PROJECT_BASE%swganh_astromech\procedures" for /F %%A IN ('dir /b "*.sql"') do ( mysql --password=%db_pass% --host=%db_host% --user=%db_user% --default-character-set=utf8 < "%%A" ECHO. Installing %%A [Done] ) cd "%PROJECT_BASE%" ) :: :: Install swganh_config Database :: IF "%INSTALL_TYPE%" == "config" ( cd "%PROJECT_BASE%swganh_config" mysql --password=%db_pass% --host=%db_host% --user=%db_user% --default-character-set=utf8 < "create.sql" cd "%PROJECT_BASE%swganh_config\scripts" for /F %%A IN ('dir /b "*.sql" ^| sort') do ( mysql --password=%db_pass% --host=%db_host% --user=%db_user% --default-character-set=utf8 < "%%A" ECHO. Installing %%A [Done] ) cd "%PROJECT_BASE%swganh_config\functions" for /F %%A IN ('dir /b "*.sql"') do ( mysql --password=%db_pass% --host=%db_host% --user=%db_user% --default-character-set=utf8 < "%%A" ECHO. Installing %%A [Done] ) cd "%PROJECT_BASE%swganh_config\procedures" for /F %%A IN ('dir /b "*.sql"') do ( mysql --password=%db_pass% --host=%db_host% --user=%db_user% --default-character-set=utf8 < "%%A" ECHO. Installing %%A [Done] ) cd "%PROJECT_BASE%" ) :: :: Install swganh_config Database :: IF "%INSTALL_TYPE%" == "logging" ( cd "%PROJECT_BASE%swganh_logs" mysql --password=%db_pass% --host=%db_host% --user=%db_user% --default-character-set=utf8 < "create.sql" cd "%PROJECT_BASE%swganh_logs\scripts" for /F %%A IN ('dir /b "*.sql" ^| sort') do ( mysql --password=%db_pass% --host=%db_host% --user=%db_user% --default-character-set=utf8 < "%%A" ECHO. Installing %%A [Done] ) cd "%PROJECT_BASE%swganh_logs\functions" for /F %%A IN ('dir /b "*.sql"') do ( mysql --password=%db_pass% --host=%db_host% --user=%db_user% --default-character-set=utf8 < "%%A" ECHO. Installing %%A [Done] ) cd "%PROJECT_BASE%swganh_logs\procedures" for /F %%A IN ('dir /b "*.sql"') do ( mysql --password=%db_pass% --host=%db_host% --user=%db_user% --default-character-set=utf8 < "%%A" ECHO. Installing %%A [Done] ) cd "%PROJECT_BASE%" ) GOTO :EOF :BACKUP_DB ECHO. ECHO. BAKCUP DB CALLED ECHO. %BACKUP_TYPE% IF "%BACKUP_TYPE%" == "swganh" ( mkdir backup cd backup mysqldump --password=%db_pass% --host=%db_host% --user=%db_user% --databases swganh --create-options --extended-insert --routines --dump-date --triggers --comments > swganh_config.bak cd .. goto :eof ) IF "%BACKUP_TYPE%" == "config" ( mkdir backup cd backup mysqldump --password=%db_pass% --host=%db_host% --user=%db_user% --databases swganh_config --create-options --extended-insert --routines --dump-date --triggers --comments > swganh_config.bak cd .. goto :eof ) IF "%BACKUP_TYPE%" == "astromech" ( mkdir backup cd backup mysqldump --password=%db_pass% --host=%db_host% --user=%db_user% --databases swganh_astromech --create-options --extended-insert --routines --dump-date --triggers --comments > swganh_astromech.bak cd .. goto :eof ) IF "%BACKUP_TYPE%" == "logging" ( mkdir backup cd backup mysqldump --password=%db_pass% --host=%db_host% --user=%db_user% --databases swganh_astromech --create-options --extended-insert --routines --dump-date --triggers --comments > swganh_logging.bak cd .. goto :eof ) IF "%BACKUP_TYPE%" == "archive" ( mkdir backup cd backup mysqldump --password=%db_pass% --host=%db_host% --user=%db_user% --databases swganh_astromech --create-options --extended-insert --routines --dump-date --triggers --comments > swganh_archive.bak cd .. goto :eof ) IF "%BACKUP_TYPE%" == "all" ( mkdir backup cd backup ECHO. Backing up the swganh database mysqldump --password=%db_pass% --host=%db_host% --user=%db_user% --databases swganh --create-options --extended-insert --routines --dump-date --triggers --comments > swganh.bak ECHO. Backing up the config database mysqldump --password=%db_pass% --host=%db_host% --user=%db_user% --databases swganh_config --create-options --extended-insert --routines --dump-date --triggers --comments > swganh_config.bak ECHO. Backing up the logs database mysqldump --password=%db_pass% --host=%db_host% --user=%db_user% --databases swganh_logs --create-options --extended-insert --routines --dump-date --triggers --comments > swganh_logs.bak ECHO. Backing up the AstroMech database mysqldump --password=%db_pass% --host=%db_host% --user=%db_user% --databases swganh_astromech --create-options --extended-insert --routines --dump-date --triggers --comments > swganh_astromech.bak ECHO. Backing up the archive database mysqldump --password=%db_pass% --host=%db_host% --user=%db_user% --databases swganh_archive --create-options --extended-insert --routines --dump-date --triggers --comments > swganh_archive.bak cd .. goto :eof ) GOTO :EOF :CHECKDBVERSION ECHO. SET db_rev_major=0 mysql --password=%db_pass% --host=%db_host% --user=%db_user% --default-character-set=utf8 --database=swganh_config --execute="SELECT revisionMajor FROM swganh_config.swganh_version" >> output.log FOR /f "tokens=1,2,3 delims= " %%G IN (output.log) DO SET db_rev_major=%%G DEL output.log SET db_rev_minor=0 mysql --password=%db_pass% --host=%db_host% --user=%db_user% --default-character-set=utf8 --database=swganh_config --execute="SELECT revisionMinor FROM swganh_config.swganh_version" >> output.log FOR /f "tokens=1,2,3 delims= " %%G IN (output.log) DO SET db_rev_minor=%%G DEL output.log ECHO. Server Database - Major Revision is %db_rev_major% ECHO. Server Database - Minor Revision is %db_rev_minor% GOTO :EOF :SHIFT_RESOURCES ECHO. ECHO. SHIFT RESOURCES CALLED GOTO :EOF ENDLOCAL \ No newline at end of file
swganh/mmoserverdb
bdb7b194d169eabba4494bbfbf22b6eefba43e10
fix for default granted languages per species
diff --git a/swganh/scripts/skills_species_required.sql b/swganh/scripts/skills_species_required.sql index 90ee984..210cdc6 100644 --- a/swganh/scripts/skills_species_required.sql +++ b/swganh/scripts/skills_species_required.sql @@ -1,140 +1,132 @@ /* --------------------------------------------------------------------------------------- This source file is part of SWG:ANH (Star Wars Galaxies - A New Hope - Server Emulator) For more information, visit http://www.swganh.com Copyright (c) 2006 - 2010 The SWG:ANH Team --------------------------------------------------------------------------------------- This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA --------------------------------------------------------------------------------------- */ /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8 */; /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; /*!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' */; use swganh; -- -- Definition of table `skills_species_required` -- DROP TABLE IF EXISTS `skills_species_required`; CREATE TABLE `skills_species_required` ( `skill_id` int(11) unsigned NOT NULL, `species_id` int(11) unsigned NOT NULL default '0', PRIMARY KEY (`skill_id`,`species_id`), KEY `fk_skills_speciesreq_spec_spec` (`species_id`), CONSTRAINT `fk_skills_speciesreq_skill_skill` FOREIGN KEY (`skill_id`) REFERENCES `skills` (`skill_id`) ON DELETE CASCADE ON UPDATE CASCADE, CONSTRAINT `fk_skills_speciesreq_spec_spec` FOREIGN KEY (`species_id`) REFERENCES `race` (`id`) ON DELETE CASCADE ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Dumping data for table `skills_species_required` -- /*!40000 ALTER TABLE `skills_species_required` DISABLE KEYS */; INSERT INTO `skills_species_required` (`skill_id`,`species_id`) VALUES + (641,0), (642,0), (643,0), - (646,0), - (652,0), - (658,0), - (661,0), - (664,0), - (670,0), - (673,0), + (644,0), (677,0), + (641,1), (642,1), (643,1), + (645,1), (646,1), - (652,1), - (658,1), - (661,1), - (664,1), - (670,1), - (673,1), + (647,1), (679,1), + (641,2), (642,2), (643,2), - (646,2), - (652,2), - (658,2), - (661,2), - (664,2), - (670,2), - (673,2), + (648,2), + (649,2), + (650,2), (680,2), + (641,3), (642,3), (643,3), - (646,3), + (651,3), (652,3), - (658,3), - (661,3), - (664,3), - (670,3), - (673,3), + (653,3), (678,3), + (641,4), + (642,4), + (643,4), + (654,4), (655,4), + (656,4), (682,4), + (641,5), (642,5), (643,5), - (646,5), - (652,5), + (657,5), (658,5), - (661,5), - (664,5), - (670,5), - (673,5), + (659,5), (676,5), + (641,6), (642,6), (643,6), - (646,6), - (652,6), - (658,6), + (660,6), (661,6), - (664,6), - (667,6), - (668,6), - (670,6), - (673,6), + (662,6), (681,6), + (641,7), (642,7), (643,7), - (646,7), - (652,7), - (658,7), - (661,7), + (663,7), (664,7), - (670,7), - (673,7), + (665,7), (683,7), + (641,33), + (642,33), + (643,33), + (669,33), + (670,33), + (671,33), (684,33), + (641,49), + (642,49), + (643,49), + (672,49), + (673,49), + (674,49), (685,49); /*!40000 ALTER TABLE `skills_species_required` ENABLE KEYS */; /*!40101 SET SQL_MODE=@OLD_SQL_MODE */; /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; \ No newline at end of file
swganh/mmoserverdb
da3622ab2a2a17d1cb7df2f1fd93900c4e2f2d33
Reverting change to no build region.
diff --git a/swganh/procedures/sp_PlanetNoBuildRegions.sql b/swganh/procedures/sp_PlanetNoBuildRegions.sql index 2960871..374734e 100644 --- a/swganh/procedures/sp_PlanetNoBuildRegions.sql +++ b/swganh/procedures/sp_PlanetNoBuildRegions.sql @@ -1,68 +1,68 @@ /* --------------------------------------------------------------------------------------- This source file is part of SWG:ANH (Star Wars Galaxies - A New Hope - Server Emulator) For more information, visit http://www.swganh.com Copyright (c) 2006 - 2010 The SWG:ANH Team --------------------------------------------------------------------------------------- This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA --------------------------------------------------------------------------------------- */ /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8 */; /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; /*!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' */; USE swganh; -- -- Definition of procedure `sp_PlanetNoBuildRegions` -- DROP PROCEDURE IF EXISTS `sp_PlanetNoBuildRegions`; DELIMITER $$ /*!50003 SET @TEMP_SQL_MODE=@@SQL_MODE, SQL_MODE='STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ $$ CREATE DEFINER=`root`@`localhost` PROCEDURE `sp_PlanetNoBuildRegions`() BEGIN ## ## sp_PlanetNoBuildRegions () ## ## Returns (region_id, region_name, x, z, width, height, planet, build, no_build_type) - SELECT region_id, region_name, x, z, width, height, planet_id, build, no_build_type FROM planet_regions WHERE region_file = 'no_build_region'; + SELECT region_id, region_name, x, z, width, height, planet_id, build, no_build_type FROM planet_regions WHERE build != 0; END $$ /*!50003 SET SESSION SQL_MODE=@TEMP_SQL_MODE */ $$ DELIMITER ; /*!40101 SET SQL_MODE=@OLD_SQL_MODE */; /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
swganh/mmoserverdb
0186e56598d54d3b4289b2efea26cb583d13d2a5
Changes to nobuild stored proc (Kronos)
diff --git a/swganh/procedures/sp_PlanetNoBuildRegions.sql b/swganh/procedures/sp_PlanetNoBuildRegions.sql index e21d6ad..2960871 100644 --- a/swganh/procedures/sp_PlanetNoBuildRegions.sql +++ b/swganh/procedures/sp_PlanetNoBuildRegions.sql @@ -1,60 +1,68 @@ --- MySQL Administrator dump 1.4 --- --- ------------------------------------------------------ --- Server version 5.1.47-community - +/* +--------------------------------------------------------------------------------------- +This source file is part of SWG:ANH (Star Wars Galaxies - A New Hope - Server Emulator) + +For more information, visit http://www.swganh.com + +Copyright (c) 2006 - 2010 The SWG:ANH Team +--------------------------------------------------------------------------------------- +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU Lesser General Public +License as published by the Free Software Foundation; either +version 2.1 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Lesser General Public License for more details. + +You should have received a copy of the GNU Lesser General Public +License along with this library; if not, write to the Free Software +Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +--------------------------------------------------------------------------------------- +*/ /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8 */; /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; /*!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' */; - --- --- Create schema swganh --- - -CREATE DATABASE IF NOT EXISTS swganh; USE swganh; -- -- Definition of procedure `sp_PlanetNoBuildRegions` -- DROP PROCEDURE IF EXISTS `sp_PlanetNoBuildRegions`; DELIMITER $$ /*!50003 SET @TEMP_SQL_MODE=@@SQL_MODE, SQL_MODE='STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ $$ CREATE DEFINER=`root`@`localhost` PROCEDURE `sp_PlanetNoBuildRegions`() BEGIN - - - - - - - - - SELECT region_id, region_name, x, z, width, height, planet_id, build, no_build_type FROM planet_regions WHERE build != 0; - + ## + ## sp_PlanetNoBuildRegions () + ## + ## Returns (region_id, region_name, x, z, width, height, planet, build, no_build_type) + + SELECT region_id, region_name, x, z, width, height, planet_id, build, no_build_type FROM planet_regions WHERE region_file = 'no_build_region'; END $$ /*!50003 SET SESSION SQL_MODE=@TEMP_SQL_MODE */ $$ DELIMITER ; /*!40101 SET SQL_MODE=@OLD_SQL_MODE */; /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
swganh/mmoserverdb
711cd0372288e26c0957e0593602d719317c1b47
cleanup of scripts
diff --git a/swganh/scripts/command_table.sql b/swganh/scripts/command_table.sql index 54d013e..ec68836 100644 --- a/swganh/scripts/command_table.sql +++ b/swganh/scripts/command_table.sql @@ -1,533 +1,545 @@ --- MySQL Administrator dump 1.4 --- --- ------------------------------------------------------ --- Server version 5.1.47-community +/* +--------------------------------------------------------------------------------------- +This source file is part of SWG:ANH (Star Wars Galaxies - A New Hope - Server Emulator) + +For more information, visit http://www.swganh.com + +Copyright (c) 2006 - 2010 The SWG:ANH Team +--------------------------------------------------------------------------------------- +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU Lesser General Public +License as published by the Free Software Foundation; either +version 2.1 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Lesser General Public License for more details. +You should have received a copy of the GNU Lesser General Public +License along with this library; if not, write to the Free Software +Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +--------------------------------------------------------------------------------------- +*/ /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8 */; /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; /*!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' */; - --- --- Create schema swganh --- - -CREATE DATABASE IF NOT EXISTS swganh; USE swganh; -- -- Definition of table `command_table` -- DROP TABLE IF EXISTS `command_table`; CREATE TABLE `command_table` ( `id` int(10) unsigned NOT NULL, `commandname` char(255) COLLATE utf8_bin NOT NULL, `characterability` char(255) COLLATE utf8_bin NOT NULL, `deny_in_states` bigint(20) unsigned NOT NULL, `scripthook` char(255) COLLATE utf8_bin NOT NULL, `failscripthook` char(255) COLLATE utf8_bin NOT NULL, `defaulttime` bigint(20) unsigned NOT NULL DEFAULT '0', `commandgroup` tinyint(1) NOT NULL, `maxrangetotarget` float NOT NULL, `addtocombatqueue` tinyint(1) NOT NULL, `healthcost` int(11) NOT NULL, `healthcost_multiplier` int(11) NOT NULL, `actioncost` int(11) NOT NULL, `actioncost_multiplier` int(11) NOT NULL, `mindcost` int(11) NOT NULL, `mindcost_multiplier` int(11) NOT NULL, `damage_multiplier` float NOT NULL DEFAULT '0', `delay_multiplier` float NOT NULL DEFAULT '0', `accuracy_bonus` int(11) NOT NULL, `forcecost` int(11) NOT NULL, `forcecost_multiplier` int(11) NOT NULL, `animationcrc` int(11) unsigned NOT NULL DEFAULT '0', `requiredWeaponGroup` int(10) unsigned NOT NULL DEFAULT '0', `cbt_spam` char(255) COLLATE utf8_bin NOT NULL DEFAULT 'melee', `trail1` tinyint(1) unsigned NOT NULL DEFAULT '0', `trail2` tinyint(1) unsigned NOT NULL DEFAULT '0', `allowInPosture` int(11) unsigned NOT NULL DEFAULT '4294967295', `health_hit_chance` float NOT NULL DEFAULT '0', `action_hit_chance` float NOT NULL DEFAULT '0', `mind_hit_chance` float NOT NULL DEFAULT '0', `knockdown_chance` float NOT NULL DEFAULT '0', `dizzy_chance` float NOT NULL DEFAULT '0', `blind_chance` float NOT NULL DEFAULT '0', `stun_chance` float NOT NULL DEFAULT '0', `intimidate_chance` float NOT NULL DEFAULT '0', `posture_down_chance` float NOT NULL DEFAULT '0', `extended_range` float NOT NULL DEFAULT '0', `cone_angle` float NOT NULL DEFAULT '0', `posture_up_chance` float NOT NULL DEFAULT '0', `deny_in_locomotion` bigint(20) unsigned NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; -- -- Dumping data for table `command_table` -- /*!40000 ALTER TABLE `command_table` DISABLE KEYS */; INSERT INTO `command_table` (`id`,`commandname`,`characterability`,`deny_in_states`,`scripthook`,`failscripthook`,`defaulttime`,`commandgroup`,`maxrangetotarget`,`addtocombatqueue`,`healthcost`,`healthcost_multiplier`,`actioncost`,`actioncost_multiplier`,`mindcost`,`mindcost_multiplier`,`damage_multiplier`,`delay_multiplier`,`accuracy_bonus`,`forcecost`,`forcecost_multiplier`,`animationcrc`,`requiredWeaponGroup`,`cbt_spam`,`trail1`,`trail2`,`allowInPosture`,`health_hit_chance`,`action_hit_chance`,`mind_hit_chance`,`knockdown_chance`,`dizzy_chance`,`blind_chance`,`stun_chance`,`intimidate_chance`,`posture_down_chance`,`extended_range`,`cone_angle`,`posture_up_chance`,`deny_in_locomotion`) VALUES (1,0x616374696F6E53686F7431,0x616374696F6E53686F7431,3894805552,'',0x6661696C5370656369616C41747461636B,2000,1,64,1,0,2,0,1,0,1,2,2,25,0,0,3749773518,64,0x696D70616972696E6773686F74,0,0,15,0,50,0,0,0,0,0,0,0,0,0,0,4193826), (2,0x616374696F6E53686F7432,0x616374696F6E53686F7432,3894805552,'',0x6661696C5370656369616C41747461636B,2000,2,64,1,0,2,0,1,0,1,3,2,25,0,0,307222173,64,0x646562696C69746174696E6773686F74,0,0,15,0,100,0,0,0,0,0,0,25,0,40,0,4193826), (3,0x6163746976617465436C6F6E65,'',3896508418,'',0x636D644163746976617465436C6F6E654661696C,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,16384,0,0,0,0,0,0,0,0,0,0,0,0,3145727), (4,0x61637469766174655175657374,0x61646D696E,2097152,'',0x6661696C41646D696E,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (5,0x616464416C6C6F776564506C61796572,0x61646D696E,3760193536,'',0x6661696C41646D696E,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (6,0x61646442616E6E6564506C61796572,0x61646D696E,3760193536,'',0x6661696C41646D696E,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (7,0x616464467269656E64,'',2097152,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (8,0x61646449676E6F7265,'',2097152,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (9,0x6164644D61704C6F636174696F6E,'',2097152,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (10,0x616464506F776572,'',2097152,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (11,0x61646A7573744C6F74436F756E74,0x61646D696E,2097152,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (12,0x616949676E6F7265,0x61646D696E,2097152,'',0x6661696C41646D696E,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (13,0x61696D,0x61696D,3894804480,'',0x6661696C5370656369616C41747461636B,2000,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,79,0,0,0,0,0,0,0,0,0,0,0,0,4187680), (14,0x616C657274,0x616C657274,3894804497,'',0x6661696C5370656369616C41747461636B,3000,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,15,0,0,0,0,0,0,0,0,0,0,0,0,4193826), (15,0x616E696D616C41747461636B,0x616E696D616C41747461636B,3894805552,'',0x6661696C5370656369616C41747461636B,2000,0,0,1,0,0,0,0,0,0,0,4,0,150,0,0,0,'',0,0,15,0,0,0,0,0,0,0,0,0,0,0,0,4193826), (16,0x616E696D616C43616C6D,0x616E696D616C43616C6D,3894805552,'',0x6661696C5370656369616C41747461636B,2000,0,0,1,0,0,0,0,0,0,0,4,0,50,0,0,0,'',0,0,15,0,0,0,0,0,0,0,0,0,0,0,0,4193826), (17,0x616E696D616C5363617265,0x616E696D616C5363617265,3894805552,'',0x6661696C5370656369616C41747461636B,2000,0,0,1,0,0,0,0,0,0,0,4,0,200,0,0,0,'',0,0,15,0,0,0,0,0,0,0,0,0,0,0,0,4193826), (18,0x616E6F6E,'',2097152,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (19,0x6170706C7944697365617365,0x6170706C7944697365617365,3894804496,'','',5000,0,0,0,0,0,0,0,140,0,0,10,0,0,0,0,0,'',0,0,331,0,0,0,0,0,0,0,0,0,0,0,0,4171680), (20,0x6170706C79506F69736F6E,0x6170706C79506F69736F6E,3894804496,'','',5000,0,0,0,0,0,0,0,140,0,0,10,0,0,0,0,0,'',0,0,331,0,0,0,0,0,0,0,0,0,0,0,0,4171680), (21,0x6170706C79506F7765727570,'',2097152,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,4095,0,0,0,0,0,0,0,0,0,0,0,0,1835008), (22,0x61726561747261636B,0x61726561747261636B,3894934651,'',0x6661696C41726561747261636B,1000,0,0,0,0,0,0,0,0,0,0,15,0,0,0,0,0,'',0,0,271,0,0,0,0,0,0,0,0,0,0,0,0,1572864), (23,0x61737369676E44726F6964,'',2097152,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (24,0x617373697374,'',3760193552,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (25,0x6173736F636961746544726F6964436F6E74726F6C4465766963655769746853686970,'',2097152,'','',0,0,16,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,8191,0,0,0,0,0,0,0,0,0,0,0,0,1572864), (26,0x61747461636B,'',3760586768,'','',2000,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,15,0,0,0,0,0,0,0,0,0,0,0,0,4193824), (27,0x61756374696F6E,'',2097152,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (28,0x61756374696F6E416363657074,'',2097152,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (29,0x61756374696F6E426964,'',2097152,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (30,0x61756374696F6E43616E63656C,'',2097152,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (31,0x61756374696F6E437265617465,'',2097152,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,1572864), (32,0x61756374696F6E5175657279,'',2097152,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (33,0x61756374696F6E5265747269657665,'',2097152,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (34,0x61756374696F6E736179,'',2097152,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (35,0x61766F6964496E636170616369746174696F6E,0x61766F6964496E636170616369746174696F6E,3894805552,'',0x6661696C5370656369616C41747461636B,2000,0,0,1,0,0,0,0,0,0,0,0,0,750,0,0,0,'',0,0,4495,0,0,0,0,0,0,0,0,0,0,0,0,3907106), (36,0x62616E64466C6F7572697368,'',3760193552,'','',5000,0,0,0,0,0,0,0,0,0,0,6,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (37,0x626174746C656669656C64537461747573,'',2097152,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (38,0x6265727365726B31,0x6265727365726B31,3894805552,'',0x6661696C5370656369616C41747461636B,2000,0,0,0,81,0,54,0,4,0,0,0,0,0,0,0,255,'',0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,4193826), (39,0x6265727365726B32,0x6265727365726B32,3894805552,'',0x6661696C5370656369616C41747461636B,2000,0,0,0,81,0,54,0,4,0,0,0,0,0,0,0,255,'',0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,4193826), (40,0x626574,'',3760193536,'',0x636D644265744661696C6564,0,0,15,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,8191,0,0,0,0,0,0,0,0,0,0,0,0,1572864), (41,0x626C656564696E6753686F74,0x626C656564696E6753686F74,3894805552,'',0x6661696C5370656369616C41747461636B,2000,1,64,1,0,1,0,1,0,1,2,2,50,0,0,3749773518,32,0x626C656564696E6773686F74,0,0,15,0,0,0,0,0,0,0,0,0,0,0,0,0), (42,0x626C696E6441747461636B,'',3894870032,'','',0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,15,0,0,0,0,0,0,0,0,0,0,0,0,4193824), (43,0x626F61726453687574746C65,'',3894934635,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,4194290), (44,0x626F647953686F7431,0x626F647953686F7431,3894805552,'',0x6661696C5370656369616C41747461636B,2000,1,64,1,0,1,0,1,0,1,2,1,50,0,0,3220740317,32,0x626F647973686F74,0,0,15,100,0,0,0,0,0,0,0,0,0,0,0,4193826), (45,0x626F647953686F7432,0x626F647953686F7432,3894805552,'',0x6661696C5370656369616C41747461636B,2000,1,64,1,0,1,0,1,0,1,2,2,50,0,0,3220740317,32,0x636865737473686F74,0,0,15,100,0,0,0,0,0,0,0,0,0,0,0,4193826), (46,0x626F647953686F7433,0x626F647953686F7433,3894805552,'',0x6661696C5370656369616C41747461636B,2000,1,0,1,0,1,0,1,0,1,3,2,50,0,0,3220740317,32,0x67757473686F74,0,0,15,100,0,0,0,0,0,0,0,0,0,0,0,4193826), (47,0x626F6F73746D6F72616C65,0x626F6F73746D6F72616C65,3895410769,'',0x6661696C5370656369616C41747461636B,2000,0,0,0,25,0,50,0,100,0,0,0,0,0,0,0,0,'',0,0,15,0,0,0,0,0,0,0,0,0,0,0,0,4193794), (48,0x62726F616463617374,0x61646D696E5F62726F616463617374,2097152,'',0x6661696C41646D696E,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (49,0x62726F61646361737441726561,0x61646D696E,2097152,'',0x6661696C41646D696E,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (50,0x62726F61646361737447616C617879,0x61646D696E5F62726F61646361737447616C617879,2097152,'',0x6661696C41646D696E,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (51,0x62726F616463617374506C616E6574,0x61646D696E5F62726F616463617374506C616E6574,2097152,'',0x6661696C41646D696E,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (52,0x627572737452756E,'',4163846225,0x7363726970742F636F6D6D616E642F627572737472756E2E6C7561,'',1000,0,0,0,330,0,170,0,0,0,0,720,0,0,0,0,0,'',0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,4194290), (53,0x627572737453686F7431,0x627572737453686F7431,3894805552,'',0x6661696C5370656369616C41747461636B,2000,1,64,1,0,2,0,1,0,1,6,2,25,0,0,884264322,64,0x627572737473686F74,0,0,15,0,0,0,0,0,0,0,0,0,0,0,0,4193826), (54,0x627572737453686F7432,0x627572737453686F7432,3894805552,'',0x6661696C5370656369616C41747461636B,2000,2,64,1,0,2,0,1,0,1,6,3,25,0,0,884264322,64,0x6275727374626C617374,0,0,15,0,0,0,0,0,0,0,0,0,0,30,0,4193826), (55,0x63616E63656C4372616674696E6753657373696F6E,'',2097154,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,8191,0,0,0,0,0,0,0,0,0,0,0,0,0), (56,0x63656E7465724F664265696E67,0x63656E7465724F664265696E67,3760587824,'',0x6661696C5370656369616C41747461636B,2000,0,0,0,45,0,90,0,135,0,0,0,0,0,0,0,0,'',0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0), (57,0x6368616E676542616E644D75736963,'',3894934651,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,513,0,0,0,0,0,0,0,0,0,0,0,0,0), (58,0x6368616E676544616E6365,'',3894934651,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,513,0,0,0,0,0,0,0,0,0,0,0,0,0), (59,0x6368616E67654D75736963,'',3894934651,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,513,0,0,0,0,0,0,0,0,0,0,0,0,0), (60,0x6368616E6E656C466F726365,0x6368616E6E656C466F726365,3894805552,'',0x6661696C5370656369616C41747461636B,2000,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,4495,0,0,0,0,0,0,0,0,0,0,0,0,3907106), (61,0x63686172676553686F7431,0x63686172676553686F7431,3894805552,'',0x6661696C5370656369616C41747461636B,2000,1,64,1,0,1,0,2,0,1,3,2,25,0,0,1302605368,64,0x63686172676573686F74,0,0,11,0,0,0,10,0,0,0,0,0,0,0,0,0), (62,0x63686172676553686F7432,0x63686172676553686F7432,3894805552,'',0x6661696C5370656369616C41747461636B,2000,1,64,1,0,1,0,2,0,1,4,3,25,0,0,1302605368,64,0x636861726765626C617374,0,0,11,0,0,0,40,0,0,0,0,0,0,0,0,0), (63,0x636865636B466F726365537461747573,'',2097152,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (64,0x6369747962616E,'',3760653056,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,30751,0,0,0,0,0,0,0,0,0,0,0,0,130560), (65,0x63697479706172646F6E,'',3760653056,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,30751,0,0,0,0,0,0,0,0,0,0,0,0,130560), (66,0x636C61696D5665746572616E526577617264,'',2097152,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,391,0,0,0,0,0,0,0,0,0,0,0,0,4169582), (67,0x636C656172436F6D706C657465645175657374,0x61646D696E,2097152,'',0x6661696C41646D696E,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (68,0x636C6561725665746572616E526577617264,0x61646D696E,2097152,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (69,0x636C69656E745175616C6966696564466F72536B696C6C,'',2097152,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (70,0x636C6F6E65,'',136838187,'','',1000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,4194290), (71,0x636C6F7365436F6E7461696E6572,'',2097152,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (72,0x636F6C6F726C6967687473,0x636F6C6F726C6967687473,3894934635,'','',0,0,0,0,0,0,30,0,0,0,0,2,0,0,0,0,0,'',0,0,513,0,0,0,0,0,0,0,0,0,0,0,0,0), (73,0x636F6D626174,0x61646D696E,3760193536,'',0x6661696C41646D696E,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (74,0x636F6D626174457363617065,'',3760193568,'','',25000,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,24575,0,0,0,0,0,0,0,0,0,0,0,0,524288), (75,0x636F6D6261744D6F6465436865636B,'',3760193536,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (76,0x636F6D6261745370616D,'',2097152,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (77,0x636F6D626174546172676574,'',3760586768,'','',0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,15,0,0,0,0,0,0,0,0,0,0,0,0,0), (78,0x636F6D706C6574655175657374,0x61646D696E,2097152,'',0x6661696C41646D696E,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (79,0x636F6E6365616C,0x636F6E6365616C,3894934651,'',0x6661696C436F6E6365616C,2000,0,0,0,0,0,0,0,0,0,0,60,0,0,0,0,0,'',0,0,271,0,0,0,0,0,0,0,0,0,0,0,0,4177408), (80,0x636F6E6365616C53686F74,0x636F6E6365616C53686F74,3894805552,'',0x6661696C5370656369616C41747461636B,3000,1,64,1,0,1,0,1,0,2,3,3,5,0,0,2566241028,16,0x636F6E6365616C656473686F74,0,0,15,0,0,0,0,0,0,0,0,0,0,0,0,4193826), (81,0x636F6E667573696F6E53686F74,0x636F6E667573696F6E53686F74,3894805552,'',0x6661696C5370656369616C41747461636B,2000,1,64,1,0,1,0,2,0,2,3,2,25,0,0,467348419,64,0x636F6E667573696F6E73686F74,0,0,15,0,0,0,0,30,0,40,0,0,0,0,0,4193826), (82,0x636F6E73656E74,'',3760193536,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (83,0x636F72707365,'',3760193552,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,8191,0,0,0,0,0,0,0,0,0,0,0,0,1572864), (84,0x636F756E74657241747461636B,0x636F756E74657241747461636B,3894804512,'','',0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,79,0,0,0,0,0,0,0,0,0,0,0,0,4187680), (85,0x636F757044654772616365,'',3894542352,'','',3000,0,16,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,79,0,0,0,0,0,0,0,0,0,0,0,0,4187680), (86,0x6372616674,0x61646D696E,3963092974,'',0x6661696C41646D696E,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,431,0,0,0,0,0,0,0,0,0,0,0,0,4167690), (87,0x6372656174654372656174757265,0x61646D696E,2097152,'',0x6661696C41646D696E,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,1572864), (88,0x6372656174654D616E66536368656D61746963,'',2097154,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,8191,0,0,0,0,0,0,0,0,0,0,0,0,1572864), (89,0x6372656174654D697373696F6E456C656D656E74,0x61646D696E,2097152,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,1572864), (90,0x6372656174654E5043,0x61646D696E,2097152,'',0x6661696C41646D696E,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,1572864), (91,0x63726561746550726F746F74797065,'',2097154,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,8191,0,0,0,0,0,0,0,0,0,0,0,0,1572864), (92,0x637265617465537061776E696E67456C656D656E74,0x61646D696E,2097152,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (93,0x637265617465537061776E696E67456C656D656E7457697468446966666963756C7479,0x61646D696E,2097152,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (94,0x63726561747572654172656141747461636B,'',3894870032,'','',0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,15,0,0,0,0,0,0,0,0,0,0,0,0,1572864), (95,0x637265617475726541726561426C656564696E67,'',3894870032,'','',0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,15,0,0,0,0,0,0,0,0,0,0,0,0,0), (96,0x637265617475726541726561436F6D626F,'',3894870032,'','',0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,15,0,0,0,0,0,0,0,0,0,0,0,0,1572864), (97,0x63726561747572654172656144697365617365,'',3894870032,'','',0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,15,0,0,0,0,0,0,0,0,0,0,0,0,1572864), (98,0x6372656174757265417265614B6E6F636B646F776E,'',3894870032,'','',0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,15,0,0,0,0,0,0,0,0,0,0,0,0,1572864), (99,0x637265617475726541726561506F69736F6E,'',3894870032,'','',0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,15,0,0,0,0,0,0,0,0,0,0,0,0,1572864), (100,0x63726564697473,0x61646D696E,2097152,'',0x6661696C41646D696E,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (101,0x63726970706C696E6753686F74,0x63726970706C696E6753686F74,3894805552,'',0x6661696C5370656369616C41747461636B,2000,1,64,1,0,1,0,2,0,1,8,3,25,0,0,1080072985,64,0x63726970706C696E6773686F74,0,0,15,0,0,0,0,0,0,0,0,0,0,0,0,0), (102,0x6373417070656E64436F6D6D656E74,'',2097152,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (103,0x637343616E63656C5469636B6574,'',2097152,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (104,0x6373436F6E6E656374506C61796572,'',2097152,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (105,0x63734372656174655469636B6574,'',2097152,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,1572864), (106,0x6373446973636F6E6E656374506C61796572,'',2097152,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (107,0x637347657441727469636C65,'',2097152,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (108,0x6373476574436F6D6D656E7473,'',2097152,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (109,0x63734765745469636B657473,'',2097152,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (110,0x63735265717565737443617465676F72696573,'',2097152,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (111,0x63735365617263684B6E6F776C6564676542617365,'',2097152,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (112,0x637569436F6E73656E74526573706F6E7365,'',3760193536,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (113,0x6375726544697365617365,0x6375726544697365617365,3894542352,'','',5000,0,0,0,0,0,0,0,140,0,0,10,0,0,0,0,0,'',0,0,331,0,0,0,0,0,0,0,0,0,0,0,0,4171680), (114,0x63757265506F69736F6E,0x63757265506F69736F6E,3894542352,'','',5000,0,0,0,0,0,0,0,140,0,0,10,0,0,0,0,0,'',0,0,331,0,0,0,0,0,0,0,0,0,0,0,0,4171680), (115,0x637573746F6D697A6544726F6964,'',3894932603,'','',5000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,331,0,0,0,0,0,0,0,0,0,0,0,0,4171680), (116,0x637573746F6D697A6556656869636C65,'',3894932603,'','',5000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,331,0,0,0,0,0,0,0,0,0,0,0,0,4171680), (117,0x6461746162617365,0x61646D696E,2097152,'',0x6661696C41646D696E,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (118,0x64617A7A6C65,0x64617A7A6C65,3894934651,'','',0,0,0,0,0,0,30,0,0,0,0,5,0,0,0,0,0,'',0,0,513,0,0,0,0,0,0,0,0,0,0,0,0,4161530), (119,0x646561637469766174655175657374,0x61646D696E,2097152,'',0x6661696C41646D696E,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (120,0x6465617468426C6F77,'',3894542352,'','',3000,0,16,0,0,0,0,0,0,0,0,3,0,0,0,0,0,'',0,0,79,0,0,0,0,0,0,0,0,0,0,0,0,1572864), (121,0x6465617468436F756E74,'',2097152,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,1572864), (122,0x6465636C6172654F76657274,'',2097152,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,8191,0,0,0,0,0,0,0,0,0,0,0,0,1572864), (123,0x6465636C6172657265736964656E6365,'',2097152,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (124,0x6465636C696E65,'',2097152,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (125,0x64656661756C7441747461636B,'',3760586768,'','',0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,15,0,0,0,0,0,0,0,0,0,0,0,0,4193824), (126,0x6465667573654D696E656669656C64,'',3894933499,'',0x636D644465667573654D696E656669656C644661696C,0,0,8,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,15,0,0,0,0,0,0,0,0,0,0,0,0,4193792), (127,0x64656C656761746546616374696F6E506F696E7473,'',2097152,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,8191,0,0,0,0,0,0,0,0,0,0,0,0,0), (128,0x64656E7953657276696365,'',3760193536,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,8191,0,0,0,0,0,0,0,0,0,0,0,0,1572864), (129,0x6465706C6F7954726170,'',3894900731,'','',1000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,4194298), (130,0x64657374726F79,0x61646D696E,2097152,'',0x6661696C41646D696E,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (131,0x64657374726F79737472756374757265,'',2097152,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (132,0x6465746F6E61746544726F6964,'',3894542352,'','',5000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,331,0,0,0,0,0,0,0,0,0,0,0,0,4171680), (133,0x646961676E6F7365,0x74656E64576F756E64,3963092094,'',0x636D644661696C446961676E6F7365,5000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,331,0,0,0,0,0,0,0,0,0,0,0,0,0), (134,0x64697361726D696E6753686F7431,0x64697361726D696E6753686F7431,3894805552,'',0x6661696C5370656369616C41747461636B,2000,1,64,1,0,1,0,1,0,1,2,2,50,0,0,2084154063,32,0x64697361726D73686F74,0,0,15,0,0,0,0,0,0,0,0,0,0,0,0,0), (135,0x64697361726D696E6753686F7432,0x64697361726D696E6753686F7432,3894805552,'',0x6661696C5370656369616C41747461636B,2000,1,64,1,0,1,0,1,0,1,3,3,50,0,0,2084154063,32,0x64697361726D626C617374,0,0,15,0,0,0,0,0,0,0,0,0,0,0,0,0), (136,0x64697362616E64,'',2097152,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (137,0x6469736D69737347726F75704D656D626572,'',2097152,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (138,0x6469736D6F756E74,'',3760391201,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,15,0,0,0,0,0,0,0,0,0,0,0,0,3997218), (139,0x6469736D6F756E74616E6473746F7265,'',3760653345,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,15,0,0,0,0,0,0,0,0,0,0,0,0,3997218), (140,0x6469737472616374,0x6469737472616374,3894934651,'','',0,0,0,0,0,0,30,0,0,0,0,2,0,0,0,0,0,'',0,0,513,0,0,0,0,0,0,0,0,0,0,0,0,4161530), (141,0x6469766553686F74,0x6469766553686F74,3894805552,'',0x6661696C5370656369616C41747461636B,2000,1,0,1,0,1,0,1,0,1,3,2,50,0,0,0,0,0x6469766573686F74,0,0,15,0,0,0,0,0,0,0,0,0,0,0,0,4193826), (142,0x64697A7A7941747461636B,'',3894870032,'','',0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,15,0,0,0,0,0,0,0,0,0,0,0,0,4193824), (143,0x646F75626C65546170,0x646F75626C65546170,3894805552,'',0x6661696C5370656369616C41747461636B,2000,1,64,1,0,1,0,1,0,1,3,2,50,0,0,1415023531,32,0x646F75626C65746170,0,0,15,75,75,10,0,0,0,0,0,0,0,0,0,4193826), (144,0x64726167496E6361706163697461746564506C61796572,0x64726167496E6361706163697461746564506C61796572,3894934649,'','',2000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0), (145,0x647261696E466F726365,0x647261696E466F726365,3894805552,'',0x6661696C5370656369616C41747461636B,2000,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,15,0,0,0,0,0,0,0,0,0,0,0,0,4193826), (146,0x6475656C,'',2162720,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,24575,0,0,0,0,0,0,0,0,0,0,0,0,524288), (147,0x64756D70546172676574496E666F726D6174696F6E,0x61646D696E,2097152,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,8191,0,0,0,0,0,0,0,0,0,0,0,0,0), (148,0x64756D705A6F6E65496E666F726D6174696F6E,0x61646D696E,2097152,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,8191,0,0,0,0,0,0,0,0,0,0,0,0,1572864), (149,0x656174,'',2228288,'','',1000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,8191,0,0,0,0,0,0,0,0,0,0,0,0,1572864), (150,0x65646974417070656172616E6365,0x61646D696E,2097152,'',0x6661696C41646D696E,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (151,0x6564697442616E6B,0x61646D696E,2097152,'',0x6661696C41646D696E,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (152,0x6564697442616E6B4163636F756E74,0x61646D696E,2097152,'',0x6661696C41646D696E,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (153,0x656469745374617473,0x61646D696E,3760193536,'',0x6661696C41646D696E,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (154,0x656D626F6C64656E70657473,0x656D626F6C64656E70657473,3894805617,'',0x6661696C50657442756666,2000,0,0,0,50,0,100,0,150,0,0,180,0,0,0,0,0,'',0,0,15,0,0,0,0,0,0,0,0,0,0,0,0,4193826), (155,0x656D7074794D61696C546172676574,0x61646D696E,3760193536,'',0x6661696C41646D696E,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (156,0x656E644475656C,'',2162720,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,24575,0,0,0,0,0,0,0,0,0,0,0,0,524288), (157,0x656E7261676570657473,0x656E7261676570657473,3894805617,'',0x6661696C50657442756666,2000,0,0,0,50,0,100,0,150,0,0,180,0,0,0,0,0,'',0,0,15,0,0,0,0,0,0,0,0,0,0,0,0,0), (158,0x657175696C69627269756D,'',3762229251,'',0x636D64496E6E6174654661696C,1000,0,0,0,0,0,0,0,0,0,0,3600,0,0,0,0,0,'',0,0,3551,0,0,0,0,0,0,0,0,0,0,0,0,1869346), (159,0x657865637574654B6E6F776C65646765426173654D657373616765,'',3760193536,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (160,0x657874696E677569736846697265,0x657874696E677569736846697265,3894542352,'','',5000,0,0,0,0,0,0,0,150,0,0,10,0,0,0,0,0,'',0,0,331,0,0,0,0,0,0,0,0,0,0,0,0,0), (161,0x657874726163744F626A656374,'',2097154,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,8191,0,0,0,0,0,0,0,0,0,0,0,0,1572864), (162,0x65796553686F74,0x65796553686F74,3894805552,'',0x6661696C5370656369616C41747461636B,2000,1,64,1,0,1,0,1,0,1,3,2,50,0,0,2777268169,32,0x65796573686F74,0,0,15,0,0,100,0,0,40,0,0,0,0,0,0,4193826), (163,0x666163746F7279437261746553706C6974,'',2097152,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (164,0x66616E53686F74,0x66616E53686F74,3894805552,'',0x6661696C5370656369616C41747461636B,2000,2,64,1,0,1,0,1,0,1,4,2,50,0,0,2133829664,32,0x66616E73686F74,0,0,15,0,0,0,0,0,20,0,0,0,0,60,0,4193826), (165,0x66617374426C617374,0x66617374426C617374,3894805552,'',0x6661696C5370656369616C41747461636B,2000,1,64,1,0,1,0,1,0,1,7,3,50,0,0,2091999692,32,0x66617374626C617374,0,0,15,100,0,0,0,0,0,0,0,0,0,0,0,4193826), (166,0x666569676E4465617468,0x666569676E4465617468,3894804496,'',0x6661696C5370656369616C41747461636B,3000,0,0,1,155,0,155,0,155,0,0,0,0,0,0,0,0,'',0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0), (167,0x66696E64,'',3760193536,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,8191,0,0,0,0,0,0,0,0,0,0,0,0,1572864), (168,0x66696E64467269656E64,'',3760193536,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,8191,0,0,0,0,0,0,0,0,0,0,0,0,1572864), (170,0x66696E644D79547261696E6572,'',2097152,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,8191,0,0,0,0,0,0,0,0,0,0,0,0,1572864), (171,0x66696E644F626A656374,0x61646D696E,2097152,'',0x6661696C41646D696E,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (172,0x66696E64506C61796572,0x61646D696E,2097152,'',0x6661696C41646D696E,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (173,0x6669726541636964436F6E6531,0x6669726541636964436F6E6531,3894805552,'',0x6661696C5370656369616C41747461636B,2000,2,64,1,0,1,0,2,0,1,3,4,25,0,0,3343354818,0,0x6669726561636964636F6E6531,0,0,15,0,0,0,0,0,0,0,0,0,0,30,0,4193826), (174,0x6669726541636964436F6E6532,0x6669726541636964436F6E6532,3894805552,'',0x6661696C5370656369616C41747461636B,2000,2,64,1,0,1,0,2,0,1,4,4,25,0,0,381563889,0,0x6669726561636964636F6E6532,0,0,15,0,0,0,0,0,0,0,0,0,0,30,0,4193826), (175,0x666972654163696453696E676C6531,0x666972654163696453696E676C6531,3894805552,'',0x6661696C5370656369616C41747461636B,2000,1,64,1,0,1,0,2,0,1,3,4,25,0,0,1482285582,0,0x666972656163696473696E676C6531,0,0,15,0,0,0,0,0,0,0,0,0,0,0,0,0), (176,0x666972654163696453696E676C6532,0x666972654163696453696E676C6532,3894805552,'',0x6661696C5370656369616C41747461636B,2000,1,64,1,0,1,0,2,0,1,5,4,25,0,0,3032188752,0,0x666972656163696473696E676C6532,0,0,15,0,0,0,0,0,0,0,0,0,0,0,0,0), (177,0x666972654865617679576561706F6E,'',3894804576,'',0x6661696C466972654865617679576561706F6E,15000,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,79,0,0,0,0,0,0,0,0,0,0,0,0,4187680), (178,0x666972656A6574,0x666972656A6574,3894934651,'','',0,0,0,0,0,0,30,0,0,0,0,5,0,0,0,0,0,'',0,0,513,0,0,0,0,0,0,0,0,0,0,0,0,4161530), (179,0x666972654C696768746E696E67436F6E6531,0x666972654C696768746E696E67436F6E6531,3894805552,'',0x6661696C5370656369616C41747461636B,2000,2,64,1,0,1,0,2,0,1,3,2,25,0,0,307222173,512,0x666972656C696768746E696E67636F6E6531,0,0,15,0,0,0,0,0,0,0,0,0,0,60,0,0), (180,0x666972654C696768746E696E67436F6E6532,0x666972654C696768746E696E67436F6E6532,3894805552,'',0x6661696C5370656369616C41747461636B,2000,2,64,1,0,1,0,2,0,1,5,3,25,0,0,307222173,512,0x666972656C696768746E696E67636F6E6532,0,0,15,0,0,0,0,0,0,0,0,0,0,60,0,0), (181,0x666972654C696768746E696E6753696E676C6531,0x666972654C696768746E696E6753696E676C6531,3894805552,'',0x6661696C5370656369616C41747461636B,2000,1,64,1,0,1,0,2,0,1,3,2,25,0,0,505337519,512,0x666972656C696768746E696E6773696E676C6531,0,0,15,0,0,0,0,0,0,0,0,0,0,0,0,0), (182,0x666972654C696768746E696E6753696E676C6532,0x666972654C696768746E696E6753696E676C6532,3894805552,'',0x6661696C5370656369616C41747461636B,2000,1,64,1,0,1,0,2,0,1,5,2,25,0,0,505337519,512,0x666972656C696768746E696E6773696E676C6532,0,0,15,0,0,0,0,0,0,0,0,0,0,0,0,0), (183,0x6669727374416964,0x6669727374416964,3894542352,'','',5000,0,0,0,0,0,0,0,140,0,0,10,0,0,0,0,0,'',0,0,331,0,0,0,0,0,0,0,0,0,0,0,0,4171680), (184,0x66697368,'',3963615230,'','',2000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,4194302), (185,0x666C616D65436F6E6531,0x666C616D65436F6E6531,3894805552,'',0x6661696C5370656369616C41747461636B,2000,2,64,1,0,1,0,2,0,1,5,4,25,0,0,2413246707,128,0x666C616D65636F6E6531,0,0,15,100,0,0,0,0,0,0,0,0,0,30,0,4193826), (186,0x666C616D65436F6E6532,0x666C616D65436F6E6532,3894805552,'',0x6661696C5370656369616C41747461636B,2000,2,64,1,0,1,0,2,0,1,6,4,25,0,0,1580105920,128,0x666C616D65636F6E6532,0,0,15,100,0,0,0,0,0,0,0,0,0,30,0,4193826), (187,0x666C616D6553696E676C6531,0x666C616D6553696E676C6531,3894805552,'',0x6661696C5370656369616C41747461636B,2000,1,64,1,0,1,0,2,0,1,5,4,25,0,0,3961958052,128,0x666C616D6573696E676C6531,0,0,15,100,0,0,0,0,0,0,0,0,0,0,0,0), (188,0x666C616D6553696E676C6532,0x666C616D6553696E676C6532,3894805552,'',0x6661696C5370656369616C41747461636B,2000,1,64,1,0,1,0,2,0,1,8,4,25,0,0,3757386372,128,0x666C616D6573696E676C6532,0,0,15,100,0,0,0,0,0,0,0,0,0,0,0,0), (189,0x666C61736853706565646572,'',3894934635,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,4194298), (190,0x666C6F7572697368,'',3760193552,'','',5000,0,0,0,0,0,0,0,0,0,0,6,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (191,0x666C7572727953686F7431,0x666C7572727953686F7431,3894805552,'',0x6661696C5370656369616C41747461636B,2000,1,64,1,0,1,0,1,0,2,3,2,5,0,0,467348419,16,0x666C7572727973686F74,0,0,15,0,0,0,0,10,0,0,0,0,0,0,0,4193826), (192,0x666C7572727953686F7432,0x666C7572727953686F7432,3894805552,'',0x6661696C5370656369616C41747461636B,2000,2,64,1,0,1,0,1,0,2,2,2,5,0,0,307222173,16,0x66756C6C666C75727279,0,0,15,0,0,0,0,30,0,0,0,0,0,60,0,4193826), (193,0x666C757368696E6753686F7431,0x666C757368696E6753686F7431,3894805552,'',0x6661696C5370656369616C41747461636B,2000,1,64,1,0,1,0,1,0,2,2,2,5,0,0,2490230948,16,0x666C757368696E6773686F74,0,0,15,0,0,0,0,0,0,20,0,0,0,0,20,0), (194,0x666C757368696E6753686F7432,0x666C757368696E6753686F7432,3894805552,'',0x6661696C5370656369616C41747461636B,2000,2,64,1,0,1,0,1,0,2,4,2,5,0,0,307222173,16,0x666C757368696E67766F6C6C6579,0,0,15,0,0,0,0,0,0,20,0,0,0,60,20,0), (195,0x666F72616765,0x666F72616765,3894934651,'',0x6661696C466F72616765,2000,0,0,0,0,0,0,0,0,0,0,10,0,0,0,0,0,'',0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0), (196,0x666F7263654162736F726231,0x666F7263654162736F726231,3894805552,'',0x6661696C5370656369616C41747461636B,2000,0,0,1,0,0,0,0,0,0,0,0,0,50,0,0,0,'',0,0,4111,0,0,0,0,0,0,0,0,0,0,0,0,3931682), (197,0x666F7263654162736F726232,0x666F7263654162736F726232,3894805552,'',0x6661696C5370656369616C41747461636B,2000,0,0,1,0,0,0,0,0,0,0,0,0,100,0,0,0,'',0,0,4111,0,0,0,0,0,0,0,0,0,0,0,0,3931682), (198,0x666F72636541726D6F7231,0x666F72636541726D6F7231,3894805552,'',0x6661696C5370656369616C41747461636B,2000,0,0,1,0,0,0,0,0,0,0,0,0,75,0,0,0,'',0,0,4111,0,0,0,0,0,0,0,0,0,0,0,0,3931682), (199,0x666F72636541726D6F7232,0x666F72636541726D6F7232,3894805552,'',0x6661696C5370656369616C41747461636B,2000,0,0,1,0,0,0,0,0,0,0,0,0,150,0,0,0,'',0,0,4111,0,0,0,0,0,0,0,0,0,0,0,0,3931682), (200,0x666F72636543686F6B65,0x666F72636543686F6B65,3894805552,'',0x6661696C5370656369616C41747461636B,2000,0,0,1,0,0,0,0,0,0,0,4,0,400,0,2045228312,256,0x6D656C6565,0,0,4495,0,0,0,0,0,0,0,0,0,0,0,0,3907106), (201,0x666F726365436F6D6D616E64,0x61646D696E,2097152,'',0x6661696C41646D696E,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (202,0x666F7263654375726544697365617365,0x666F7263654375726544697365617365,3894805552,'',0x6661696C5370656369616C41747461636B,2000,0,0,1,0,0,0,0,0,0,0,4,0,75,0,0,0,'',0,0,4495,0,0,0,0,0,0,0,0,0,0,0,0,3907106), (203,0x666F72636543757265506F69736F6E,0x666F72636543757265506F69736F6E,3894805552,'',0x6661696C5370656369616C41747461636B,2000,0,0,1,0,0,0,0,0,0,0,4,0,75,0,0,0,'',0,0,4495,0,0,0,0,0,0,0,0,0,0,0,0,3907106), (204,0x666F726365466565646261636B31,0x666F726365466565646261636B31,3894805552,'',0x6661696C5370656369616C41747461636B,2000,0,0,1,0,0,0,0,0,0,0,0,0,50,0,0,0,'',0,0,4111,0,0,0,0,0,0,0,0,0,0,0,0,3931682), (205,0x666F726365466565646261636B32,0x666F726365466565646261636B32,3894805552,'',0x6661696C5370656369616C41747461636B,2000,0,0,1,0,0,0,0,0,0,0,0,0,100,0,0,0,'',0,0,4111,0,0,0,0,0,0,0,0,0,0,0,0,3931682), (206,0x666F726365496E74696D696461746531,0x666F726365496E74696D696461746531,3894805552,'',0x6661696C5370656369616C41747461636B,2000,0,0,1,0,0,0,0,0,0,0,4,0,300,0,0,0,'',0,0,4495,0,0,0,0,0,0,0,0,0,0,0,0,3907106), (207,0x666F726365496E74696D696461746532,0x666F726365496E74696D696461746532,3894805552,'',0x6661696C5370656369616C41747461636B,2000,0,0,1,0,0,0,0,0,0,0,4,0,500,0,0,0,'',0,0,4495,0,0,0,0,0,0,0,0,0,0,0,0,3907106), (208,0x666F7263654B6E6F636B646F776E31,0x666F7263654B6E6F636B646F776E31,3894805552,'',0x6661696C5370656369616C41747461636B,2000,0,0,1,0,0,0,0,0,0,0,4,0,75,0,0,0,'',0,0,4495,0,0,0,0,0,0,0,0,0,0,0,0,3907106), (209,0x666F7263654B6E6F636B646F776E32,0x666F7263654B6E6F636B646F776E32,3894805552,'',0x6661696C5370656369616C41747461636B,2000,0,0,1,0,0,0,0,0,0,0,4,0,100,0,0,0,'',0,0,4495,0,0,0,0,0,0,0,0,0,0,0,0,3907106), (210,0x666F7263654B6E6F636B646F776E33,0x666F7263654B6E6F636B646F776E33,3894805552,'',0x6661696C5370656369616C41747461636B,2000,0,0,1,0,0,0,0,0,0,0,4,0,200,0,0,0,'',0,0,4495,0,0,0,0,0,0,0,0,0,0,0,0,3907106), (211,0x666F7263654C696768746E696E67436F6E6531,0x666F7263654C696768746E696E67436F6E6531,3894805552,'',0x6661696C5370656369616C41747461636B,2000,0,0,1,0,0,0,0,0,0,0,4,0,125,0,0,0,'',0,0,15,0,0,0,0,0,0,0,0,0,0,0,0,0), (212,0x666F7263654C696768746E696E67436F6E6532,0x666F7263654C696768746E696E67436F6E6532,3894805552,'',0x6661696C5370656369616C41747461636B,2000,0,0,1,0,0,0,0,0,0,0,4,0,250,0,0,0,'',0,0,15,0,0,0,0,0,0,0,0,0,0,0,0,0), (213,0x666F7263654C696768746E696E6753696E676C6531,0x666F7263654C696768746E696E6753696E676C6531,3894805552,'',0x6661696C5370656369616C41747461636B,2000,0,0,1,0,0,0,0,0,0,0,4,0,75,0,0,0,'',0,0,15,0,0,0,0,0,0,0,0,0,0,0,0,0), (214,0x666F7263654C696768746E696E6753696E676C6532,0x666F7263654C696768746E696E6753696E676C6532,3894805552,'',0x6661696C5370656369616C41747461636B,2000,0,0,1,0,0,0,0,0,0,0,4,0,150,0,0,0,'',0,0,15,0,0,0,0,0,0,0,0,0,0,0,0,0), (215,0x666F7263654D65646974617465,0x666F7263654D65646974617465,3894805552,'',0x6661696C5370656369616C41747461636B,2000,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,399,0,0,0,0,0,0,0,0,0,0,0,0,4169250), (216,0x666F7263654F6657696C6C,0x666F7263654F6657696C6C,3894411264,'','',2000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,8200,0,0,0,0,0,0,0,0,0,0,0,0,3669759), (217,0x666F72636550726F74656374696F6E,0x666F72636550726F74656374696F6E,3894805552,'',0x6661696C5370656369616C41747461636B,2000,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,4111,0,0,0,0,0,0,0,0,0,0,0,0,3931682), (218,0x666F726365526573697374426C656564696E67,0x666F726365526573697374426C656564696E67,3894805552,'',0x6661696C5370656369616C41747461636B,2000,0,0,1,0,0,0,0,0,0,0,0,0,250,0,0,0,'',0,0,4495,0,0,0,0,0,0,0,0,0,0,0,0,0), (219,0x666F72636552657369737444697365617365,0x666F72636552657369737444697365617365,3894805552,'',0x6661696C5370656369616C41747461636B,2000,0,0,1,0,0,0,0,0,0,0,0,0,250,0,0,0,'',0,0,4495,0,0,0,0,0,0,0,0,0,0,0,0,3907106), (220,0x666F726365526573697374506F69736F6E,0x666F726365526573697374506F69736F6E,3894805552,'',0x6661696C5370656369616C41747461636B,2000,0,0,1,0,0,0,0,0,0,0,0,0,250,0,0,0,'',0,0,4495,0,0,0,0,0,0,0,0,0,0,0,0,3907106), (221,0x666F726365526573697374537461746573,0x666F726365526573697374537461746573,3894805552,'',0x6661696C5370656369616C41747461636B,2000,0,0,1,0,0,0,0,0,0,0,0,0,250,0,0,0,'',0,0,4495,0,0,0,0,0,0,0,0,0,0,0,0,3907106), (222,0x666F72636552756E31,0x666F72636552756E31,3894805552,'',0x6661696C5370656369616C41747461636B,2000,0,0,1,0,0,0,0,0,0,0,0,0,200,0,0,0,'',0,0,15,0,0,0,0,0,0,0,0,0,0,0,0,4193826), (223,0x666F72636552756E32,0x666F72636552756E32,3894805552,'',0x6661696C5370656369616C41747461636B,2000,0,0,1,0,0,0,0,0,0,0,0,0,400,0,0,0,'',0,0,15,0,0,0,0,0,0,0,0,0,0,0,0,4193826), (224,0x666F72636552756E33,0x666F72636552756E33,3894805552,'',0x6661696C5370656369616C41747461636B,2000,0,0,1,0,0,0,0,0,0,0,0,0,600,0,0,0,'',0,0,15,0,0,0,0,0,0,0,0,0,0,0,0,4193826), (225,0x666F726365536869656C6431,0x666F726365536869656C6431,3894805552,'',0x6661696C5370656369616C41747461636B,2000,0,0,1,0,0,0,0,0,0,0,0,0,75,0,0,0,'',0,0,4111,0,0,0,0,0,0,0,0,0,0,0,0,3931682), (226,0x666F726365536869656C6432,0x666F726365536869656C6432,3894805552,'',0x6661696C5370656369616C41747461636B,2000,0,0,1,0,0,0,0,0,0,0,0,0,150,0,0,0,'',0,0,4111,0,0,0,0,0,0,0,0,0,0,0,0,3931682), (227,0x666F726365537065656431,0x666F726365537065656431,3894805552,'',0x6661696C5370656369616C41747461636B,2000,0,0,1,0,0,0,0,0,0,0,0,0,150,0,0,0,'',0,0,15,0,0,0,0,0,0,0,0,0,0,0,0,4193826), (228,0x666F726365537065656432,0x666F726365537065656432,3894805552,'',0x6661696C5370656369616C41747461636B,2000,0,0,1,0,0,0,0,0,0,0,0,0,300,0,0,0,'',0,0,15,0,0,0,0,0,0,0,0,0,0,0,0,4193826), (229,0x666F7263655468726F7731,0x666F7263655468726F7731,3894805552,'',0x6661696C5370656369616C41747461636B,2000,0,0,1,0,0,0,0,0,0,0,4,0,28,0,0,0,'',0,0,4495,0,0,0,0,0,0,0,0,0,0,0,0,3907106), (230,0x666F7263655468726F7732,0x666F7263655468726F7732,3894805552,'',0x6661696C5370656369616C41747461636B,2000,0,0,1,0,0,0,0,0,0,0,4,0,56,0,0,0,'',0,0,4495,0,0,0,0,0,0,0,0,0,0,0,0,3907106), (231,0x666F7263655765616B656E31,0x666F7263655765616B656E31,3894805552,'',0x6661696C5370656369616C41747461636B,2000,0,0,1,0,0,0,0,0,0,0,4,0,400,0,0,0,'',0,0,4495,0,0,0,0,0,0,0,0,0,0,0,0,3907106), (232,0x666F7263655765616B656E32,0x666F7263655765616B656E32,3894805552,'',0x6661696C5370656369616C41747461636B,2000,0,0,1,0,0,0,0,0,0,0,4,0,400,0,0,0,'',0,0,4495,0,0,0,0,0,0,0,0,0,0,0,0,3907106), (233,0x666F726D7570,0x666F726D7570,3895410753,'',0x6661696C5370656369616C41747461636B,2000,0,0,0,25,0,50,0,100,0,0,0,0,0,0,0,0,'',0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,4194290), (234,0x667265657A65506C61796572,0x61646D696E,2097152,'',0x6661696C41646D696E,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (235,0x66756C6C4175746F4172656131,0x66756C6C4175746F4172656131,3894805520,'',0x6661696C5370656369616C41747461636B,2000,2,64,1,0,2,0,3,0,1,4,2,25,0,0,1925234350,64,0x6172656173686F74,0,0,15,0,0,0,0,13,13,13,0,0,0,30,0,4193826), (236,0x66756C6C4175746F4172656132,0x66756C6C4175746F4172656132,3894805520,'',0x6661696C5370656369616C41747461636B,2000,2,64,1,0,3,0,3,0,1,5,3,25,0,0,1925234350,64,0x61726561626C617374,0,0,15,0,0,0,0,20,20,20,0,0,0,30,0,4193826), (237,0x66756C6C4175746F53696E676C6531,0x66756C6C4175746F53696E676C6531,3894805520,'',0x6661696C5370656369616C41747461636B,2000,1,64,1,0,2,0,3,0,1,2,2,25,0,0,2177178692,64,0x73656D696175746F61747461636B,0,0,15,40,55,5,0,15,15,5,0,0,0,0,0,0), (238,0x66756C6C4175746F53696E676C6532,0x66756C6C4175746F53696E676C6532,3894805520,'',0x6661696C5370656369616C41747461636B,2000,1,64,1,0,2,0,3,0,1,6,2,25,0,0,1337043623,64,0x66756C6C6175746F61747461636B,0,0,15,40,55,5,0,30,30,15,0,0,0,0,0,0), (239,0x67,'',2097152,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (240,0x67616C6C6F70,'',2491440,'','',2000,0,0,0,0,0,0,0,0,0,0,600,0,0,0,0,0,'',0,0,3087,0,0,0,0,0,0,0,0,0,0,0,0,3997218), (241,0x67616C6C6F7053746F70,'',2491440,'','',2000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,3087,0,0,0,0,0,0,0,0,0,0,0,0,3997218), (242,0x6763,'',2097152,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (243,0x676377537461747573,'',2097152,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,8191,0,0,0,0,0,0,0,0,0,0,0,0,1572864), (244,0x67656E6572617465437261667465644974656D,0x61646D696E,2097152,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,8191,0,0,0,0,0,0,0,0,0,0,0,0,1572864), (245,0x6765744163636F756E74496E666F,0x61646D696E,2097152,'',0x6661696C41646D696E,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (246,0x67657441747472696275746573,'',2097152,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (247,0x676574417474726962757465734261746368,'',2097152,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (248,0x676574467269656E644C697374,'',2097152,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (249,0x67657447616D6554696D65,0x61646D696E,2097152,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,8191,0,0,0,0,0,0,0,0,0,0,0,0,1572864), (250,0x67657449676E6F72654C697374,'',2097152,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (251,0x6765744D61704C6F636174696F6E73,'',2097152,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (252,0x6765744F626A56617273,0x61646D696E,3760193536,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (253,0x676574506C617965724964,0x61646D696E,2097152,'',0x6661696C41646D696E,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (254,0x67657450726F746F74797065,'',137887742,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,959,0,0,0,0,0,0,0,0,0,0,0,0,4134946), (255,0x67657452616E6B,0x61646D696E,2097152,'',0x6661696C41646D696E,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (256,0x676574537061776E44656C617973,0x61646D696E,2097152,'',0x6661696C41646D696E,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (257,0x67657453746174696F6E4E616D65,0x61646D696E,3760193536,'',0x6661696C41646D696E,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (258,0x6765745665746572616E52657761726454696D65,'',2097152,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,8191,0,0,0,0,0,0,0,0,0,0,0,0,1572864), (259,0x6765745665746572616E52657761726454696D654373,0x61646D696E,2097152,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (260,0x676976654974656D,'',2097152,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,4095,0,0,0,0,0,0,0,0,0,0,0,0,1835008), (261,0x676976654D61696E74656E616E6365546F56656E646F72,'',2097152,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (262,0x6769766576656E646F726D61696E74,'',2097152,'','',0,0,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (263,0x676D466F726365436F6D6D616E64,0x61646D696E,2097152,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,8191,0,0,0,0,0,0,0,0,0,0,0,0,1572864), (264,0x676D437265617465436C6173735265736F75726365,0x61646D696E,2097152,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,8191,0,0,0,0,0,0,0,0,0,0,0,0,1572864), (265,0x676D43726561746553706563696669635265736F75726365,0x61646D696E,2097152,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,8191,0,0,0,0,0,0,0,0,0,0,0,0,1572864), (266,0x676D466F72636552616E6B,0x61646D696E,3760193536,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (267,0x676D467356696C6C616765,0x61646D696E,3760193536,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (268,0x676D4A6564695374617465,0x61646D696E,2097152,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,8191,0,0,0,0,0,0,0,0,0,0,0,0,1572864), (269,0x676D526576697665,0x61646D696E,2097152,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (270,0x676F746F,0x61646D696E,2097152,'',0x6661696C41646D696E,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (271,0x6772616E744261646765,0x61646D696E,2097152,'',0x6661696C41646D696E,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (272,0x6772616E745061646177616E547269616C73456C69676962696C697479,0x61646D696E,2097152,'',0x6661696C41646D696E,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (273,0x6772616E74536B696C6C,0x61646D696E,2097152,'',0x6661696C41646D696E,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (274,0x6772616E745469746C65,0x61646D696E,2097152,'',0x6661696C41646D696E,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (275,0x6772616E745A6F6E696E67526967687473,'',3760653056,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,30751,0,0,0,0,0,0,0,0,0,0,0,0,130560), (276,0x67726F757043686174,'',2097152,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (277,0x67726F7570536179,'',2097152,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (278,0x67736179,'',2097152,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (279,0x6774656C6C,'',2097152,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (280,0x6775696C64,'',2097152,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (281,0x6775696C6472656D6F7665,'',2097152,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,8191,0,0,0,0,0,0,0,0,0,0,0,0,1572864), (282,0x6775696C64736179,'',2097152,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (283,0x6775696C64737461747573,'',3760193536,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,8191,0,0,0,0,0,0,0,0,0,0,0,0,1572864), (284,0x6861726D66756C,0x61646D696E,2097152,'',0x6661696C41646D696E,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (285,0x6861726D6C657373,0x61646D696E,2097152,'',0x6661696C41646D696E,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (286,0x68617276657374436F72707365,0x68617276657374436F72707365,3894881371,'',0x636D6448617276657374436F727073654661696C,1000,0,16,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,3,0,0,0,0,0,0,0,0,0,0,0,0,4194274), (287,0x6861727665737465724163746976617465,'',2097184,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (288,0x68617276657374657244656163746976617465,'',2097184,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (289,0x68617276657374657244697363617264486F70706572,'',2097184,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (290,0x6861727665737465724765745265736F7572636544617461,'',2097184,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (291,0x68617276657374657248617276657374,'',2097184,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (292,0x6861727665737465724D616B654372617465,'',2097184,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (293,0x68617276657374657253656C6563745265736F75726365,'',2097184,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (294,0x68617276657374657254616B65537572766579,'',2097184,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (295,0x6861735665746572616E526577617264,0x61646D696E,2097152,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (296,0x68617665636F6E73656E74,'',3760193536,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (297,0x6865616453686F7431,0x6865616453686F7431,3894805552,'',0x6661696C5370656369616C41747461636B,2000,1,64,1,0,1,0,1,0,1,2,2,5,0,0,505337519,16,0x6865616473686F74,0,0,15,0,0,100,0,0,0,0,0,0,0,0,0,4193826), (298,0x6865616453686F7432,0x6865616453686F7432,3894805552,'',0x6661696C5370656369616C41747461636B,2000,1,64,1,0,1,0,1,0,2,3,2,5,0,0,505337519,16,0x6578706572746865616473686F74,0,0,15,0,0,100,0,0,0,0,0,0,0,0,0,4193826), (299,0x6865616453686F7433,0x6865616453686F7433,3894805552,'',0x6661696C5370656369616C41747461636B,2000,1,64,1,0,1,0,1,0,3,3,2,5,0,0,505337519,16,0x6D61737465726865616473686F74,0,0,15,0,0,100,0,0,0,0,0,0,0,0,0,4193826), (300,0x6865616C416374696F6E53656C6631,0x6865616C416374696F6E53656C6631,3894805552,'',0x6661696C5370656369616C41747461636B,2000,0,0,1,0,0,0,0,0,0,0,4,0,65,0,0,0,'',0,0,4495,0,0,0,0,0,0,0,0,0,0,0,0,3907106), (301,0x6865616C416374696F6E53656C6632,0x6865616C416374696F6E53656C6632,3894805552,'',0x6661696C5370656369616C41747461636B,2000,0,0,1,0,0,0,0,0,0,0,4,0,100,0,0,0,'',0,0,4495,0,0,0,0,0,0,0,0,0,0,0,0,3907106), (302,0x6865616C416374696F6E576F756E644F7468657231,0x6865616C416374696F6E576F756E644F7468657231,3894805552,'',0x6661696C5370656369616C41747461636B,2000,0,0,1,0,0,0,0,0,0,0,4,0,25,0,0,0,'',0,0,4495,0,0,0,0,0,0,0,0,0,0,0,0,3907106), (303,0x6865616C416374696F6E576F756E644F7468657232,0x6865616C416374696F6E576F756E644F7468657232,3894805552,'',0x6661696C5370656369616C41747461636B,2000,0,0,1,0,0,0,0,0,0,0,4,0,75,0,0,0,'',0,0,4495,0,0,0,0,0,0,0,0,0,0,0,0,3907106), (304,0x6865616C416374696F6E576F756E6453656C6631,0x6865616C416374696F6E576F756E6453656C6631,3894805552,'',0x6661696C5370656369616C41747461636B,2000,0,0,1,0,0,0,0,0,0,0,4,0,15,0,0,0,'',0,0,4495,0,0,0,0,0,0,0,0,0,0,0,0,3907106), (305,0x6865616C416374696F6E576F756E6453656C6632,0x6865616C416374696F6E576F756E6453656C6632,3894805552,'',0x6661696C5370656369616C41747461636B,2000,0,0,1,0,0,0,0,0,0,0,4,0,25,0,0,0,'',0,0,4495,0,0,0,0,0,0,0,0,0,0,0,0,3907106), (306,0x6865616C416C6C4F7468657231,0x6865616C416C6C4F7468657231,3894805552,'',0x6661696C5370656369616C41747461636B,2000,0,0,1,0,0,0,0,0,0,0,4,0,680,0,0,0,'',0,0,4495,0,0,0,0,0,0,0,0,0,0,0,0,3907106), (307,0x6865616C416C6C4F7468657232,0x6865616C416C6C4F7468657232,3894805552,'',0x6661696C5370656369616C41747461636B,2000,0,0,1,0,0,0,0,0,0,0,4,0,940,0,0,0,'',0,0,4495,0,0,0,0,0,0,0,0,0,0,0,0,3907106), (308,0x6865616C416C6C53656C6631,0x6865616C416C6C53656C6631,3894805552,'',0x6661696C5370656369616C41747461636B,2000,0,0,1,0,0,0,0,0,0,0,4,0,340,0,0,0,'',0,0,4495,0,0,0,0,0,0,0,0,0,0,0,0,3907106), (309,0x6865616C416C6C53656C6632,0x6865616C416C6C53656C6632,3894805552,'',0x6661696C5370656369616C41747461636B,2000,0,0,1,0,0,0,0,0,0,0,4,0,470,0,0,0,'',0,0,4495,0,0,0,0,0,0,0,0,0,0,0,0,3907106), (310,0x6865616C426174746C65466174696775654F7468657231,0x6865616C426174746C65466174696775654F7468657231,3894805552,'',0x6661696C5370656369616C41747461636B,2000,0,0,1,0,0,0,0,0,0,0,4,0,150,0,0,0,'',0,0,4495,0,0,0,0,0,0,0,0,0,0,0,0,3907106), (311,0x6865616C426174746C65466174696775654F7468657232,0x6865616C426174746C65466174696775654F7468657232,3894805552,'',0x6661696C5370656369616C41747461636B,2000,0,0,1,0,0,0,0,0,0,0,4,0,300,0,0,0,'',0,0,4495,0,0,0,0,0,0,0,0,0,0,0,0,3907106), (312,0x6865616C426174746C654661746967756553656C6631,0x6865616C426174746C654661746967756553656C6631,3894805552,'',0x6661696C5370656369616C41747461636B,2000,0,0,1,0,0,0,0,0,0,0,4,0,75,0,0,0,'',0,0,4495,0,0,0,0,0,0,0,0,0,0,0,0,3907106), (313,0x6865616C426174746C654661746967756553656C6632,0x6865616C426174746C654661746967756553656C6632,3894805552,'',0x6661696C5370656369616C41747461636B,2000,0,0,1,0,0,0,0,0,0,0,4,0,150,0,0,0,'',0,0,4495,0,0,0,0,0,0,0,0,0,0,0,0,3907106), (314,0x6865616C44616D616765,0x6865616C44616D616765,3894542352,'','',5000,0,0,1,0,0,0,0,140,0,0,10,0,0,0,0,0,'',0,0,331,0,0,0,0,0,0,0,0,0,0,0,0,4171680), (315,0x6865616C44726F696444616D616765,'',3894542352,'','',5000,0,0,0,0,0,0,0,140,0,0,10,0,0,0,0,0,'',0,0,331,0,0,0,0,0,0,0,0,0,0,0,0,4171680), (316,0x6865616C44726F6964576F756E64,'',3894932603,'','',5000,0,0,0,0,0,0,0,140,0,0,10,0,0,0,0,0,'',0,0,331,0,0,0,0,0,0,0,0,0,0,0,0,4171680), (317,0x6865616C456E68616E6365,0x6865616C456E68616E6365,3894542352,'','',7000,0,0,1,0,0,0,0,140,0,0,10,0,0,0,0,0,'',0,0,331,0,0,0,0,0,0,0,0,0,0,0,0,4171680), (318,0x6865616C4865616C746853656C6631,0x6865616C4865616C746853656C6631,3894805552,'',0x6661696C5370656369616C41747461636B,2000,0,0,1,0,0,0,0,0,0,0,4,0,65,0,0,0,'',0,0,4495,0,0,0,0,0,0,0,0,0,0,0,0,3907106), (319,0x6865616C4865616C746853656C6632,0x6865616C4865616C746853656C6632,3894805552,'',0x6661696C5370656369616C41747461636B,2000,0,0,1,0,0,0,0,0,0,0,4,0,100,0,0,0,'',0,0,4495,0,0,0,0,0,0,0,0,0,0,0,0,3907106), (320,0x6865616C4865616C7468576F756E644F7468657231,0x6865616C4865616C7468576F756E644F7468657231,3894805552,'',0x6661696C5370656369616C41747461636B,2000,0,0,1,0,0,0,0,0,0,0,4,0,25,0,0,0,'',0,0,4495,0,0,0,0,0,0,0,0,0,0,0,0,3907106), (321,0x6865616C4865616C7468576F756E644F7468657232,0x6865616C4865616C7468576F756E644F7468657232,3894805552,'',0x6661696C5370656369616C41747461636B,2000,0,0,1,0,0,0,0,0,0,0,4,0,75,0,0,0,'',0,0,4495,0,0,0,0,0,0,0,0,0,0,0,0,3907106), (322,0x6865616C4865616C7468576F756E6453656C6631,0x6865616C4865616C7468576F756E6453656C6631,3894805552,'',0x6661696C5370656369616C41747461636B,2000,0,0,1,0,0,0,0,0,0,0,4,0,15,0,0,0,'',0,0,4495,0,0,0,0,0,0,0,0,0,0,0,0,3907106), (323,0x6865616C4865616C7468576F756E6453656C6632,0x6865616C4865616C7468576F756E6453656C6632,3894805552,'',0x6661696C5370656369616C41747461636B,2000,0,0,1,0,0,0,0,0,0,0,4,0,25,0,0,0,'',0,0,4495,0,0,0,0,0,0,0,0,0,0,0,0,3907106), (324,0x6865616C4D696E64,0x6865616C4D696E64,3894542352,'','',5000,0,0,0,0,0,0,0,140,0,0,10,0,0,0,0,0,'',0,0,331,0,0,0,0,0,0,0,0,0,0,0,0,4171680), (325,0x6865616C4D696E6453656C6631,0x6865616C4D696E6453656C6631,3894805552,'',0x6661696C5370656369616C41747461636B,2000,0,0,1,0,0,0,0,0,0,0,4,0,65,0,0,0,'',0,0,4495,0,0,0,0,0,0,0,0,0,0,0,0,3907106), (326,0x6865616C4D696E6453656C6632,0x6865616C4D696E6453656C6632,3894805552,'',0x6661696C5370656369616C41747461636B,2000,0,0,1,0,0,0,0,0,0,0,4,0,100,0,0,0,'',0,0,4495,0,0,0,0,0,0,0,0,0,0,0,0,3907106), (327,0x6865616C4D696E64576F756E644F7468657231,0x6865616C4D696E64576F756E644F7468657231,3894805552,'',0x6661696C5370656369616C41747461636B,2000,0,0,1,0,0,0,0,0,0,0,4,0,25,0,0,0,'',0,0,4495,0,0,0,0,0,0,0,0,0,0,0,0,3907106), (328,0x6865616C4D696E64576F756E644F7468657232,0x6865616C4D696E64576F756E644F7468657232,3894805552,'',0x6661696C5370656369616C41747461636B,2000,0,0,1,0,0,0,0,0,0,0,4,0,75,0,0,0,'',0,0,4495,0,0,0,0,0,0,0,0,0,0,0,0,3907106), (329,0x6865616C4D696E64576F756E6453656C6631,0x6865616C4D696E64576F756E6453656C6631,3894805552,'',0x6661696C5370656369616C41747461636B,2000,0,0,1,0,0,0,0,0,0,0,4,0,15,0,0,0,'',0,0,4495,0,0,0,0,0,0,0,0,0,0,0,0,3907106), (330,0x6865616C4D696E64576F756E6453656C6632,0x6865616C4D696E64576F756E6453656C6632,3894805552,'',0x6661696C5370656369616C41747461636B,2000,0,0,1,0,0,0,0,0,0,0,4,0,25,0,0,0,'',0,0,4495,0,0,0,0,0,0,0,0,0,0,0,0,3907106), (331,0x6865616C506574,'',3894542352,'','',5000,0,0,0,0,0,0,0,140,0,0,10,0,0,0,0,0,'',0,0,331,0,0,0,0,0,0,0,0,0,0,0,0,4171680), (332,0x6865616C5374617465,0x6865616C5374617465,3894542352,'','',5000,0,0,1,0,0,0,0,140,0,0,10,0,0,0,0,0,'',0,0,331,0,0,0,0,0,0,0,0,0,0,0,0,4171680), (333,0x6865616C5374617465734F74686572,0x6865616C5374617465734F74686572,3894805552,'',0x6661696C5370656369616C41747461636B,2000,0,0,1,0,0,0,0,0,0,0,4,0,50,0,0,0,'',0,0,4495,0,0,0,0,0,0,0,0,0,0,0,0,3907106), (334,0x6865616C53746174657353656C66,0x6865616C53746174657353656C66,3894805552,'',0x6661696C5370656369616C41747461636B,2000,0,0,1,0,0,0,0,0,0,0,4,0,50,0,0,0,'',0,0,4495,0,0,0,0,0,0,0,0,0,0,0,0,3907106), (335,0x6865616C746853686F7431,0x6865616C746853686F7431,3894805552,'',0x6661696C5370656369616C41747461636B,2000,1,64,1,0,1,0,1,0,1,2,1,50,0,0,3220740317,32,0x73617073686F74,0,0,15,50,0,0,0,0,0,0,0,0,0,0,0,4193826), (336,0x6865616C746853686F7432,0x6865616C746853686F7432,3894805552,'',0x6661696C5370656369616C41747461636B,2000,1,64,1,0,1,0,1,0,1,3,2,50,0,0,3220740317,32,0x736170626C617374,0,0,15,100,0,0,0,0,0,0,0,0,0,0,0,4193826), (337,0x6865616C576F756E64,0x6865616C576F756E64,3894542352,'','',7000,0,0,1,0,0,0,0,140,0,0,10,0,0,0,0,0,'',0,0,331,0,0,0,0,0,0,0,0,0,0,0,0,4171680), (338,0x686F6C6F456D6F7465,'',3760193536,'','',0,0,0,0,0,0,0,0,0,0,0,30,0,0,0,0,0,'',0,0,8191,0,0,0,0,0,0,0,0,0,0,0,0,1572864), (339,0x696D61676564657369676E,'',3894542336,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,331,0,0,0,0,0,0,0,0,0,0,0,0,4171680), (340,0x696E697469616C697A65436F6D706F6E656E74,0x61646D696E,2097152,'',0x6661696C41646D696E,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (341,0x696E6E617465,'',3762229251,'',0x636D64496E6E6174654661696C,1000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,3153,0,0,0,0,0,0,0,0,0,0,0,0,1894386), (342,0x696E736572744974656D496E746F53686970436F6D706F6E656E74536C6F74,'',2097152,'','',0,0,16,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,8191,0,0,0,0,0,0,0,0,0,0,0,0,1572864), (343,0x696E7374616C6C4D697373696F6E5465726D696E616C,0x696E7374616C6C4D697373696F6E5465726D696E616C,3760653056,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,30751,0,0,0,0,0,0,0,0,0,0,0,0,130560), (344,0x696E7374616C6C53686970436F6D706F6E656E74,'',2097152,'','',0,0,16,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,8191,0,0,0,0,0,0,0,0,0,0,0,0,1572864), (345,0x696E73757265,'',136838187,'','',1000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,4194290), (346,0x696E74696D696461746531,0x696E74696D696461746531,3894805552,'',0x6661696C5370656369616C41747461636B,2000,0,15,1,72,0,54,0,9,0,0,0,0,0,0,952444752,255,'',0,0,1,0,0,0,0,0,0,0,25,0,0,0,0,4193826), (347,0x696E74696D696461746532,0x696E74696D696461746532,3894805552,'',0x6661696C5370656369616C41747461636B,2000,0,15,1,72,0,54,0,9,0,0,0,0,0,0,952444752,255,'',0,0,1,0,0,0,0,0,0,0,40,0,0,0,0,4193826), (348,0x696E74696D69646174696F6E41747461636B,'',3894870032,'','',0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,4193824), (349,0x696E76697465,'',2097152,'',0x636D64496E766974654661696C,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (350,0x696E76756C6E657261626C65,0x61646D696E,2097152,'',0x6661696C41646D696E,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (351,0x6974656D6D6F76656261636B,'',2097152,'','',0,0,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (352,0x6974656D6D6F7665646F776E,'',2097152,'','',0,0,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (353,0x6974656D6D6F7665666F7277617264,'',2097152,'','',0,0,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (354,0x6974656D6D6F76657570,'',2097152,'','',0,0,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (355,0x6974656D726F746174656C656674,'',2097152,'','',0,0,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (356,0x6974656D726F746174657269676874,'',2097152,'','',0,0,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (357,0x6A6564694D696E64547269636B,0x6A6564694D696E64547269636B,3894805552,'',0x6661696C5370656369616C41747461636B,2000,0,0,1,0,0,0,0,0,0,0,4,0,600,0,0,0,'',0,0,15,0,0,0,0,0,0,0,0,0,0,0,0,4193826), (358,0x6A6F696E,'',2097152,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (359,0x6A6F696E47616D65,'',3760193536,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,8191,0,0,0,0,0,0,0,0,0,0,0,0,1572864), (360,0x6B69636B,0x61646D696E,2097152,'',0x6661696C41646D696E,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (361,0x6B696C6C,0x61646D696E,2097152,'',0x6661696C41646D696E,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (362,0x6B696C6C506C61796572,0x61646D696E,2097152,'',0x6661696C41646D696E,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (363,0x6B6970557053686F74,0x6B6970557053686F74,3894805552,'',0x6661696C5370656369616C41747461636B,2000,1,0,1,0,1,0,1,0,1,3,2,50,0,0,0,0,0x6B69707570,0,0,15,0,0,0,0,0,0,0,0,0,0,0,0,4193826), (364,0x6B6E65656C,'',3894804480,'',0x6B6E65656C4661696C,2000,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,4415,0,0,0,0,0,0,0,0,0,0,0,0,1816576), (365,0x6B6E6F636B646F776E41747461636B,'',3894870032,'','',0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,4193824), (366,0x6B6E6F636B646F776E46697265,0x6B6E6F636B646F776E46697265,3894805552,'',0x6661696C5370656369616C41747461636B,2000,1,64,1,0,2,0,1,0,1,3,2,25,0,0,2566241028,64,0x6B6E6F636B646F776E66697265,0,0,15,0,0,0,30,30,0,0,0,0,0,0,0,4193826), (367,0x6C6167,0x61646D696E,2097152,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (368,0x6C6173744469746368,0x6C6173744469746368,3894805552,'',0x6661696C5370656369616C41747461636B,2000,1,64,1,0,1,0,1,0,1,6,4,50,0,0,3220740317,32,0x6C6173746469746368,0,0,15,0,0,0,0,0,0,40,0,0,0,0,0,4193826), (369,0x6C61756E636846697265776F726B,'',3963615230,'','',2000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,3,0,0,0,0,0,0,0,0,0,0,0,0,4194210), (370,0x6C6561766547616D65,'',3760193536,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,8191,0,0,0,0,0,0,0,0,0,0,0,0,1572864), (371,0x6C6561766547726F7570,'',2097152,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (372,0x6C656753686F7431,0x6C656753686F7431,3894805552,'',0x6661696C5370656369616C41747461636B,2000,1,64,1,0,2,0,1,0,1,0,0,25,0,0,55915813,64,0x6C656773686F74,0,0,15,0,100,0,0,0,0,0,0,0,0,0,0,4193826), (373,0x6C656753686F7432,0x6C656753686F7432,3894805552,'',0x6661696C5370656369616C41747461636B,2000,1,64,1,0,1,0,2,0,2,3,2,25,0,0,55915813,64,0x6B6E656563617073686F74,0,0,15,0,100,0,0,0,0,0,0,0,0,0,0,4193826), (374,0x6C656753686F7433,0x6C656753686F7433,3894805552,'',0x6661696C5370656369616C41747461636B,2000,1,64,1,0,1,0,2,0,2,3,2,25,0,0,55915813,64,0x6B6E656563617073686F74,0,0,15,0,100,0,0,0,0,25,0,0,0,0,0,4193826), (375,0x6C6667,'',2097152,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (376,0x6C697374416374697665517565737473,0x61646D696E,2097152,'',0x6661696C41646D696E,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (377,0x6C697374436F6D706C65746564517565737473,0x61646D696E,2097152,'',0x6661696C41646D696E,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (378,0x6C697374656E,'',3894934651,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,257,0,0,0,0,0,0,0,0,0,0,0,0,4177914), (379,0x6C6973744775696C6473,0x61646D696E,2097152,'',0x6661696C41646D696E,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (380,0x6C6F676F7574536572766572,'',3760193536,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (381,0x6C6F6F74,'',2228304,'',0x636D644F70656E4661696C,0,0,16,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,8191,0,0,0,0,0,0,0,0,0,0,0,0,1572864), (382,0x6C6F6F74506C61796572436F72707365,'',2228304,'',0x636D644F70656E4661696C,0,0,16,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,8191,0,0,0,0,0,0,0,0,0,0,0,0,1572864), (383,0x6C6F77426C6F77,0x6C6F77426C6F77,3894805552,'',0x6661696C5370656369616C41747461636B,2000,1,65,1,0,1,0,1,0,1,2,2,50,0,0,1265679359,32,0x6C6F77626C6F77,0,0,15,0,0,0,30,0,0,0,0,0,0,0,0,4193826), (384,0x6D616B654C6561646572,'',2097152,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (385,0x6D616B654D61737465724C6F6F746572,'',2097152,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (386,0x6D616B65537572766579,'',3760193568,'','',1000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (387,0x6D616E7566616374757265,0x61646D696E,2097152,'',0x6661696C41646D696E,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0); INSERT INTO `command_table` (`id`,`commandname`,`characterability`,`deny_in_states`,`scripthook`,`failscripthook`,`defaulttime`,`commandgroup`,`maxrangetotarget`,`addtocombatqueue`,`healthcost`,`healthcost_multiplier`,`actioncost`,`actioncost_multiplier`,`mindcost`,`mindcost_multiplier`,`damage_multiplier`,`delay_multiplier`,`accuracy_bonus`,`forcecost`,`forcecost_multiplier`,`animationcrc`,`requiredWeaponGroup`,`cbt_spam`,`trail1`,`trail2`,`allowInPosture`,`health_hit_chance`,`action_hit_chance`,`mind_hit_chance`,`knockdown_chance`,`dizzy_chance`,`blind_chance`,`stun_chance`,`intimidate_chance`,`posture_down_chance`,`extended_range`,`cone_angle`,`posture_up_chance`,`deny_in_locomotion`) VALUES (388,0x6D61736B7363656E74,0x6D61736B7363656E74,3894934651,'',0x6661696C4D61736B7363656E74,2000,0,0,0,0,0,0,0,0,0,0,60,0,0,0,0,0,'',0,0,271,0,0,0,0,0,0,0,0,0,0,0,0,4177408), (389,0x6D6178436F6D6261744162696C697479,0x61646D696E,2097152,'',0x6661696C41646D696E,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (390,0x6D61785374617473,0x61646D696E,2097152,'',0x6661696C41646D696E,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (391,0x6D65646963616C466F72616765,0x6D65646963616C466F72616765,3894934635,'',0x6661696C466F72616765,2000,0,0,0,0,0,0,0,0,0,0,10,0,0,0,0,0,'',0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,4194298), (392,0x6D65646974617465,0x6D65646974617465,3963615214,'','',2000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,399,0,0,0,0,0,0,0,0,0,0,0,0,4169322), (393,0x6D656C65653168426C696E6448697431,0x6D656C65653168426C696E6448697431,3894805552,'',0x6661696C5370656369616C41747461636B,2000,2,5,1,0,1,0,1,0,1,2,2,25,0,0,1150348562,2,0x626C696E64696E6773746162,255,255,1,0,0,0,0,0,10,0,0,0,7,0,0,4193826), (394,0x6D656C65653168426C696E6448697432,0x6D656C65653168426C696E6448697432,3894805552,'',0x6661696C5370656369616C41747461636B,2000,2,5,1,0,1,0,1,0,1,3,2,25,0,0,1628515112,2,0x626C696E64696E67736C617368,255,255,1,0,0,0,0,0,40,0,0,0,7,0,0,4193826), (395,0x6D656C65653168426F647948697431,0x6D656C65653168426F647948697431,3894805552,'',0x6661696C5370656369616C41747461636B,2000,1,5,1,0,1,0,1,0,1,2,2,25,0,0,3153967677,2,0x7361696D6169,255,255,1,100,0,0,0,0,0,0,0,0,0,0,0,4193826), (396,0x6D656C65653168426F647948697432,0x6D656C65653168426F647948697432,3894805552,'',0x6661696C5370656369616C41747461636B,2000,1,5,1,0,1,0,1,0,1,3,2,25,0,0,1150348562,2,0x73616973756E,255,255,1,100,0,0,0,0,0,0,0,0,0,0,0,4193826), (397,0x6D656C65653168426F647948697433,0x6D656C65653168426F647948697433,3894805552,'',0x6661696C5370656369616C41747461636B,2000,1,5,1,0,1,0,1,0,2,4,2,25,0,0,2741404610,2,0x736169746F6B,255,255,1,100,0,0,0,0,0,0,0,0,0,0,0,4193826), (398,0x6D656C6565316844697A7A7948697431,0x6D656C6565316844697A7A7948697431,3894805552,'',0x6661696C5370656369616C41747461636B,2000,1,5,1,0,1,0,1,0,1,2,2,25,0,0,1628515112,2,0x736B756C6C73746162,255,255,1,0,0,0,0,20,0,0,0,0,0,0,0,4193826), (399,0x6D656C6565316844697A7A7948697432,0x6D656C6565316844697A7A7948697432,3894805552,'',0x6661696C5370656369616C41747461636B,2000,1,5,1,0,1,0,1,0,1,4,2,25,0,0,3155491875,2,0x736B756C6C736C617368,255,255,1,0,0,0,0,40,0,0,0,0,0,0,0,4193826), (400,0x6D656C656531684865616C746848697431,0x6D656C656531684865616C746848697431,3894805552,'',0x6661696C5370656369616C41747461636B,2000,1,5,1,0,1,0,1,0,1,2,2,25,0,0,3272534266,2,0x736869696D,255,255,1,100,0,0,0,0,0,0,0,0,0,0,0,4193826), (401,0x6D656C656531684865616C746848697432,0x6D656C656531684865616C746848697432,3894805552,'',0x6661696C5370656369616C41747461636B,2000,1,5,1,0,1,0,1,0,1,3,3,25,0,0,1036538848,2,0x736869696D736869616B,255,255,1,100,0,0,0,0,0,0,0,0,0,0,0,4193826), (402,0x6D656C6565316848697431,0x6D656C6565316848697431,3894805552,'',0x6661696C5370656369616C41747461636B,2000,1,5,1,0,1,0,1,0,1,3,2,25,0,0,3779995366,2,0x63686F6D6169,255,255,1,0,0,0,0,0,0,0,0,0,0,0,0,4193826), (403,0x6D656C6565316848697432,0x6D656C6565316848697432,3894805552,'',0x6661696C5370656369616C41747461636B,2000,1,5,1,0,1,0,1,0,1,4,2,25,0,0,2826078284,2,0x63686F73756E,255,255,1,0,0,0,0,0,0,0,0,0,0,0,0,4193826), (404,0x6D656C6565316848697433,0x6D656C6565316848697433,3894805552,'',0x6661696C5370656369616C41747461636B,2000,1,5,1,0,1,0,1,0,2,5,3,25,0,0,2120438985,2,0x63686F6D6F6B,255,255,1,0,0,0,0,0,40,0,0,0,0,0,0,4193826), (405,0x6D656C656531684C756E676531,0x6D656C656531684C756E676531,3894805552,'',0x6661696C5370656369616C41747461636B,2000,1,5,1,0,1,0,1,0,1,2,1,25,0,0,864931942,2,0x6C756E676573746162,255,255,1,0,0,0,0,0,0,0,0,10,0,0,0,4193826), (406,0x6D656C656531684C756E676532,0x6D656C656531684C756E676532,3894805552,'',0x6661696C5370656369616C41747461636B,2000,1,5,1,0,1,0,1,0,2,3,3,25,0,0,864931942,2,0x6C756E6765736869616B,255,255,1,0,0,0,40,0,0,0,0,0,0,0,0,4193826), (407,0x6D656C656531685363617474657248697431,0x6D656C656531685363617474657248697431,3894805552,'',0x6661696C5370656369616C41747461636B,2000,1,5,1,0,1,0,1,0,2,3,2,25,0,0,1923038193,2,0x7363617474657273746162,255,255,1,85,90,12,0,0,0,0,0,0,0,0,0,4193826), (408,0x6D656C656531685363617474657248697432,0x6D656C656531685363617474657248697432,3894805552,'',0x6661696C5370656369616C41747461636B,2000,1,5,1,0,1,0,1,0,2,4,3,25,0,0,2946166010,2,0x73636174746572736869616B,255,255,1,85,95,25,0,0,0,0,0,0,0,0,0,4193826), (409,0x6D656C656531685370696E41747461636B31,0x6D656C656531685370696E41747461636B31,3894805552,'',0x6661696C5370656369616C41747461636B,2000,2,5,1,0,1,0,1,0,2,2,3,25,0,0,1062902512,2,0x736C6173687370696E,255,255,1,0,0,0,0,0,0,0,0,0,7,0,0,4193826), (410,0x6D656C656531685370696E41747461636B32,0x6D656C656531685370696E41747461636B32,3894805552,'',0x6661696C5370656369616C41747461636B,2000,2,5,1,0,1,0,1,0,2,3,2,25,0,0,1057645438,2,0x626C696E647370696E,255,255,1,0,0,0,0,0,40,0,0,0,7,0,0,4193826), (411,0x6D656C656532684172656131,0x6D656C656532684172656131,3894805552,'',0x6661696C5370656369616C41747461636B,2000,2,5,1,0,1,0,2,0,1,2,2,10,0,0,895502466,4,0x7377656570,255,255,1,0,0,0,0,0,20,0,0,15,7,0,0,4193826), (412,0x6D656C656532684172656132,0x6D656C656532684172656132,3894805552,'',0x6661696C5370656369616C41747461636B,2000,2,5,1,0,1,0,2,0,1,3,2,10,0,0,1150348562,4,0x776964657377656570,255,255,1,0,0,0,0,0,20,0,0,20,7,0,0,4193826), (413,0x6D656C656532684172656133,0x6D656C656532684172656133,3894805552,'',0x6661696C5370656369616C41747461636B,2000,2,5,1,0,2,0,3,0,2,3,3,10,0,0,2741404610,4,0x646F6D696E6174696F6E,255,255,1,0,0,0,0,0,30,0,0,30,7,0,0,4193826), (414,0x6D656C656532684865616448697431,0x6D656C656532684865616448697431,3894805552,'',0x6661696C5370656369616C41747461636B,2000,1,5,1,0,1,0,1,0,1,2,2,10,0,0,3155491875,4,0x7363616C70626C6F77,255,255,1,0,0,100,0,0,0,0,0,0,0,0,0,4193826), (415,0x6D656C656532684865616448697432,0x6D656C656532684865616448697432,3894805552,'',0x6661696C5370656369616C41747461636B,2000,1,5,1,0,1,0,2,0,1,3,2,10,0,0,2383186666,4,0x7363616C70737472696B65,255,255,1,0,0,100,0,0,0,0,0,0,0,0,0,4193826), (416,0x6D656C656532684865616448697433,0x6D656C656532684865616448697433,3894805552,'',0x6661696C5370656369616C41747461636B,2000,1,5,1,0,2,0,2,0,2,4,3,10,0,0,3155491875,4,0x7363616C70736C616D,255,255,1,0,0,100,0,0,0,0,0,0,0,0,0,4193826), (417,0x6D656C6565326848697431,0x6D656C6565326848697431,3894805552,'',0x6661696C5370656369616C41747461636B,2000,1,5,1,0,1,0,1,0,1,2,2,10,0,0,984676322,4,0x7465727269626C65737472696B65,255,255,1,0,0,0,0,0,0,0,0,10,0,0,0,4193826), (418,0x6D656C6565326848697432,0x6D656C6565326848697432,3894805552,'',0x6661696C5370656369616C41747461636B,2000,1,5,1,0,1,0,2,0,1,3,2,10,0,0,2381532790,4,0x76696F6C656E74737472696B65,255,255,1,0,0,0,0,0,0,0,0,0,0,0,0,4193826), (419,0x6D656C6565326848697433,0x6D656C6565326848697433,3894805552,'',0x6661696C5370656369616C41747461636B,2000,1,5,1,0,1,0,2,0,1,4,3,10,0,0,1150348562,4,0x766963696F7573737472696B65,255,255,1,0,0,0,0,0,0,0,0,0,0,0,0,4193826), (420,0x6D656C656532684C756E676531,0x6D656C656532684C756E676531,3894805552,'',0x6661696C5370656369616C41747461636B,2000,1,5,1,0,1,0,1,0,1,1,2,10,0,0,558707579,4,0x6C756E6765737472696B65,255,255,1,0,0,0,0,0,0,0,0,0,0,0,0,4193826), (421,0x6D656C656532684C756E676532,0x6D656C656532684C756E676532,3894805552,'',0x6661696C5370656369616C41747461636B,2000,1,5,1,0,2,0,1,0,1,1,2,10,0,0,558707579,4,0x6C756E6765736C616D,255,255,1,0,0,0,40,0,0,0,0,0,0,0,0,4193826), (422,0x6D656C656532684D696E6448697431,0x6D656C656532684D696E6448697431,3894805552,'',0x6661696C5370656369616C41747461636B,2000,1,5,1,0,1,0,1,0,1,1,2,10,0,0,1628515112,4,0x6D696E64737472696B65,255,255,1,0,0,100,0,0,0,0,0,0,0,0,0,4193826), (423,0x6D656C656532684D696E6448697432,0x6D656C656532684D696E6448697432,3894805552,'',0x6661696C5370656369616C41747461636B,2000,1,5,1,0,1,0,2,0,1,2,3,10,0,0,1036538848,4,0x6D696E64736C616D,255,255,1,0,0,100,0,0,0,0,0,0,0,0,0,4193826), (424,0x6D656C656532685370696E41747461636B31,0x6D656C656532685370696E41747461636B31,3894805552,'',0x6661696C5370656369616C41747461636B,2000,2,5,1,0,1,0,2,0,1,2,2,10,0,0,895502466,4,0x7370696E737472696B65,255,255,1,0,0,0,0,0,0,0,0,0,7,0,0,4193826), (425,0x6D656C656532685370696E41747461636B32,0x6D656C656532685370696E41747461636B32,3894805552,'',0x6661696C5370656369616C41747461636B,2000,2,5,1,0,2,0,2,0,2,3,2,10,0,0,1150348562,4,0x7370696E736C616D,255,255,1,0,0,0,0,0,0,0,0,0,7,0,0,4193826), (426,0x6D656C65653268537765657031,0x6D656C65653268537765657031,3894805552,'',0x6661696C5370656369616C41747461636B,2000,2,5,1,0,1,0,2,0,1,2,2,10,0,0,684656661,4,0x64657363656E64696E67737472696B65,255,255,1,0,0,0,0,0,0,0,0,10,7,0,0,4193826), (427,0x6D656C65653268537765657032,0x6D656C65653268537765657032,3894805552,'',0x6661696C5370656369616C41747461636B,2000,2,5,1,0,1,0,2,0,1,2,3,10,0,0,1057645438,4,0x64657363656E64696E67736C616D,255,255,1,0,0,0,0,0,0,0,0,40,7,0,0,4193826), (428,0x6D696E64426C61737431,0x6D696E64426C61737431,3894805552,'',0x6661696C5370656369616C41747461636B,2000,1,0,1,0,0,0,0,0,0,0,0,0,68,0,0,0,0x6D696E64626C61737431,255,255,4495,0,0,0,0,0,0,0,0,0,0,0,0,3907106), (429,0x6D696E64426C61737432,0x6D696E64426C61737432,3894805552,'',0x6661696C5370656369616C41747461636B,2000,1,0,1,0,0,0,0,0,0,0,0,0,160,0,0,0,0x6D696E64626C61737432,255,255,4495,0,0,0,0,0,0,0,0,0,0,0,0,3907106), (430,0x6D696E6453686F7431,0x6D696E6453686F7431,3894805552,'',0x6661696C5370656369616C41747461636B,2000,1,64,1,0,1,0,1,0,2,1,1,5,0,0,505337519,16,0x646973747261637473686F74,255,255,15,0,0,50,0,0,0,0,0,0,0,0,0,4193826), (431,0x6D696E6453686F7432,0x6D696E6453686F7432,3894805552,'',0x6661696C5370656369616C41747461636B,2000,1,0,1,0,1,0,1,0,2,2,2,5,0,0,505337519,16,0x6D696E6462656E646572,255,255,15,0,0,100,0,0,0,0,0,0,0,0,0,4193826), (432,0x6D6F6E6579,0x61646D696E,2097152,'',0x6661696C41646D696E,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (433,0x6D6F756E74,'',3896181796,'','',0,0,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,4194290), (434,0x6D6F76654675726E6974757265,'',136838267,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,911,0,0,0,0,0,0,0,0,0,0,0,0,4136482), (435,0x6D756C7469546172676574506973746F6C53686F74,0x6D756C7469546172676574506973746F6C53686F74,3894805552,'',0x6661696C5370656369616C41747461636B,2000,2,64,1,0,1,0,1,0,1,4,4,50,0,0,2091999692,32,0x706973746F6C6D756C746973686F74,0,0,15,0,0,0,0,0,0,0,0,0,0,30,0,4193826), (436,0x6D756C746954617267657453686F74,'',3894805552,'',0x6661696C5370656369616C41747461636B,2000,0,0,1,0,1,0,1,0,1,3,1,50,0,0,0,0,'',0,0,15,0,0,0,0,0,0,0,0,0,0,0,0,4193826), (437,0x6E616D65537472756374757265,'',2097152,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (438,0x6E657762696568656C706572,'',2097152,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (439,0x6E6577626965526571756573745374617274696E674C6F636174696F6E73,'',3760193536,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (440,0x6E657762696553656C6563745374617274696E674C6F636174696F6E,'',3760193536,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (441,0x6E6578744372616674696E675374616765,'',2097154,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,8191,0,0,0,0,0,0,0,0,0,0,0,0,1572864), (442,0x6E7063,0x61646D696E,2097152,'',0x6661696C41646D696E,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (443,0x6E7063436F6E766572736174696F6E53656C656374,'',137564165,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,1023,0,0,0,0,0,0,0,0,0,0,0,0,2035746), (444,0x6E7063436F6E766572736174696F6E5374617274,'',137564165,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,1023,0,0,0,0,0,0,0,0,0,0,0,0,2035746), (445,0x6E7063436F6E766572736174696F6E53746F70,'',137564165,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,1023,0,0,0,0,0,0,0,0,0,0,0,0,2035746), (446,0x6F626A656374,0x61646D696E,2097152,'',0x6661696C41646D696E,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (447,0x6F626A766172,0x61646D696E,2097152,'',0x6661696C41646D696E,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (448,0x6F70656E436F6E7461696E6572,'',2228320,'',0x636D644F70656E4661696C,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,8191,0,0,0,0,0,0,0,0,0,0,0,0,1572864), (449,0x6F76657243686172676553686F7431,0x6F76657243686172676553686F7431,3894805552,'',0x6661696C5370656369616C41747461636B,2000,1,64,1,0,1,0,1,0,1,5,2,15,0,0,2566241028,240,0x6F76657263686172676573686F74,0,0,15,0,0,0,0,0,0,0,0,0,0,0,0,4193826), (450,0x6F76657243686172676553686F7432,0x6F76657243686172676553686F7432,3894805552,'',0x6661696C5370656369616C41747461636B,2000,1,64,1,0,1,0,1,0,1,5,2,15,0,0,2566241028,240,0x66756C6C63686172676573686F74,0,0,15,0,0,0,0,0,0,0,0,0,0,0,0,4193826), (451,0x6F766572726964654163746976654D6F6E746873,0x61646D696E,2097152,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (452,0x6F766572726964655061646177616E547269616C73456C69676962696C697479,0x61646D696E,2097152,'',0x6661696C41646D696E,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (453,0x70616E696353686F74,0x70616E696353686F74,3894805552,'',0x6661696C5370656369616C41747461636B,2000,2,64,1,0,1,0,1,0,1,2,3,50,0,0,3220740317,32,0x70616E696373686F74,0,0,15,0,0,0,0,0,0,0,0,0,0,45,0,4193826), (454,0x706175736544616E6365,'',3760193552,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0), (455,0x70617573654D75736963,'',3760193552,'','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0),
swganh/mmoserverdb
794feaf2c7a9b9d5e8254b466a938fa8ee1874d4
fixed stored procedure to load ALL no build regions
diff --git a/swganh/procedures/sp_PlanetNoBuildRegions.sql b/swganh/procedures/sp_PlanetNoBuildRegions.sql index 9448a2f..e21d6ad 100644 --- a/swganh/procedures/sp_PlanetNoBuildRegions.sql +++ b/swganh/procedures/sp_PlanetNoBuildRegions.sql @@ -1,67 +1,60 @@ -/* ---------------------------------------------------------------------------------------- -This source file is part of SWG:ANH (Star Wars Galaxies - A New Hope - Server Emulator) - -For more information, visit http://www.swganh.com - -Copyright (c) 2006 - 2010 The SWG:ANH Team ---------------------------------------------------------------------------------------- -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU Lesser General Public -License as published by the Free Software Foundation; either -version 2.1 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Lesser General Public License for more details. - -You should have received a copy of the GNU Lesser General Public -License along with this library; if not, write to the Free Software -Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA ---------------------------------------------------------------------------------------- -*/ +-- MySQL Administrator dump 1.4 +-- +-- ------------------------------------------------------ +-- Server version 5.1.47-community + /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8 */; /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; /*!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' */; -use swganh; + +-- +-- Create schema swganh +-- + +CREATE DATABASE IF NOT EXISTS swganh; +USE swganh; -- -- Definition of procedure `sp_PlanetNoBuildRegions` -- DROP PROCEDURE IF EXISTS `sp_PlanetNoBuildRegions`; DELIMITER $$ + +/*!50003 SET @TEMP_SQL_MODE=@@SQL_MODE, SQL_MODE='STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ $$ CREATE DEFINER=`root`@`localhost` PROCEDURE `sp_PlanetNoBuildRegions`() BEGIN - ## - ## sp_PlanetNoBuildRegions () - ## - ## Returns (region_id, region_name, x, z, width, height, planet_id, build, no_build_type) + + + + - ## Grab our no build regions + - SELECT region_id, region_name, x, z, width, height, planet_id, build, no_build_type FROM planet_regions WHERE region_file = 'no_build_region'; - ## - ## Exit + SELECT region_id, region_name, x, z, width, height, planet_id, build, no_build_type FROM planet_regions WHERE build != 0; + + END $$ +/*!50003 SET SESSION SQL_MODE=@TEMP_SQL_MODE */ $$ DELIMITER ; + + /*!40101 SET SQL_MODE=@OLD_SQL_MODE */; /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; -/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; \ No newline at end of file +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
swganh/mmoserverdb
5f7941713470cba38c9a3d57e89f178457e09f74
Removed a duplicate NPC.
diff --git a/swganh/scripts/persistent_npcs.sql b/swganh/scripts/persistent_npcs.sql index fa0e7f9..7f0c7ff 100644 --- a/swganh/scripts/persistent_npcs.sql +++ b/swganh/scripts/persistent_npcs.sql @@ -2492,1025 +2492,1024 @@ INSERT INTO `persistent_npcs` (`id`,`parentId`,`family`,`type`,`firstName`,`last (47513080549,0,2,'object/mobile/shared_dressed_rsf_commando.iff','','',0,0,0,1,1,0,0,0,1,-5062.03,13.25,4182.08,5,'rsf_commando','mob/creature_names',1.06), (47513080551,0,2,'object/mobile/shared_dressed_commoner_tatooine_nikto_male_08.iff','','',0,0,0,1,1,0,1,0,0,-5062.03,13.25,4183.08,5,'farmer','mob/creature_names',1), (47513080553,0,2,'object/mobile/shared_dressed_commoner_tatooine_bith_male_03.iff','','',0,0,0,1,1,0,0.97,0,0.23,-4981.69,6,4244.41,5,'commoner','mob/creature_names',1), (47513080555,0,2,'object/mobile/shared_dressed_commoner_tatooine_trandoshan_female_02.iff','','',0,0,0,1,1,0,-0.02,0,1,-5075.93,6,4204.5,5,'commoner','mob/creature_names',0.98), (47513080561,1697364,2,'object/mobile/shared_21b_surgical_droid.iff','','',0,0,0,1,1,0,0.71,0,-0.7,-25.52,0.26,-3.48,5,'surgical_droid_21b','mob/creature_names',0.89), (47513080563,0,2,'object/mobile/shared_dressed_commoner_fat_twilek_male_02.iff','','',0,0,0,1,1,0,1,0,0.09,-5076.56,6,4162.09,5,'commoner','mob/creature_names',1), (47513080565,0,2,'object/mobile/shared_dressed_imperial_officer_m.iff','','',0,0,0,1,3,0,-0.41,0,0.91,-5065.71,6,4146.31,5,'crackdown_comm_operator','mob/creature_names',1), (47513080567,0,2,'object/mobile/shared_dressed_rsf_security_guard.iff','','',0,0,0,1,1,0,0.92,0,0.4,-5032.08,6,4091.71,5,'rsf_security_guard','mob/creature_names',1.04), (47513080569,0,2,'object/mobile/shared_dressed_commoner_tatooine_bith_male_02.iff','','',0,0,0,1,1,0,0.84,0,0.54,-5090.67,6,4173.27,5,'commoner','mob/creature_names',1), (47513080571,0,2,'object/mobile/shared_gungan_s03_male.iff','','',0,0,0,1,1,0,0,0,1,-5082.41,6,4260.15,5,'gungan_boss','mob/creature_names',1), (47513080573,0,2,'object/mobile/shared_dressed_noble_old_twk_male_02.iff','Asadro','Owira',0,0,0,1,1,0,1,0,0,-5082.41,6,4261.15,5,'twilek_base_male','npc_name',1.09), (47513080575,0,2,'object/mobile/shared_dressed_commoner_naboo_human_male_02.iff','','',0,0,0,1,1,0,0.75,0,-0.66,-5101.22,6,4246.47,5,'commoner','mob/creature_names',1), (47513080577,0,2,'object/mobile/shared_dressed_commoner_naboo_human_male_01.iff','','',0,0,0,1,1,0,0.94,0,0.34,-5123.13,6,4201.32,5,'commoner','mob/creature_names',0.85), (47513080579,0,2,'object/mobile/shared_dressed_commoner_tatooine_sullustan_male_01.iff','','',0,0,0,1,1,0,0.12,0,0.99,-5004.8,6,4067.54,5,'commoner','mob/creature_names',1), (47513080581,0,2,'object/mobile/shared_dressed_commoner_old_human_female_01.iff','','',0,0,0,1,1,0,-0.37,0,0.93,-5037.78,6,4078.71,5,'commoner','mob/creature_names',1), (47513080583,0,2,'object/mobile/shared_dressed_commoner_fat_human_male_02.iff','','',0,0,0,1,1,0,0.62,0,0.78,-4970.37,6,4069.78,5,'commoner','mob/creature_names',1), (47513080587,0,2,'object/mobile/shared_dressed_stormtrooper_m.iff','','',0,0,0,1,3,0,1,0,-0.03,-5117.98,6,4079.33,5,'crackdown_stormtrooper','mob/creature_names',1), (47513080589,0,2,'object/mobile/shared_dressed_stormtrooper_squad_leader_black_black.iff','','',0,0,0,1,3,0,0.39,0,0.92,-4915.65,6,4041.97,5,'stormtrooper_novatrooper_squad_leader','mob/creature_names',1.1), (47513080591,0,2,'object/mobile/shared_dressed_commoner_naboo_human_male_05.iff','','',0,0,0,1,1,0,0.78,0,-0.62,-5023.92,6,4040.07,5,'commoner','mob/creature_names',0.96), (47513080593,0,2,'object/mobile/shared_dressed_stormtrooper_squad_leader_black_black.iff','','',0,0,0,1,3,0,0.39,0,0.92,-4922.7,6,4035.23,5,'stormtrooper_novatrooper_squad_leader','mob/creature_names',1.1), (47513080595,0,2,'object/mobile/shared_dressed_commoner_tatooine_rodian_male_02.iff','','',0,0,0,1,1,0,0,0,1,-4900.05,6,4013.14,5,'commoner','mob/creature_names',0.85), (47513080597,0,2,'object/mobile/shared_dressed_mercenary_messanger_sullustan_m.iff','','',0,0,0,1,1,0,1,0,0,-4900.05,6,4014.14,5,'mercenary','mob/creature_names',1), (47513080599,0,2,'object/mobile/shared_dressed_commoner_tatooine_bith_male_06.iff','','',0,0,0,1,1,0,0.84,0,-0.54,-4921.08,6,4061.48,5,'commoner','mob/creature_names',1), (47513080601,0,2,'object/mobile/shared_dressed_commoner_tatooine_bith_female_02.iff','','',0,0,0,1,1,0,0.98,0,0.18,-4924.84,6,4034.9,5,'commoner','mob/creature_names',0.95), (47513080603,0,2,'object/mobile/shared_dressed_commoner_naboo_twilek_male_02.iff','','',0,0,0,1,1,0,0.89,0,-0.45,-4685.92,6,4005.59,5,'commoner','mob/creature_names',1), (47513080607,0,2,'object/mobile/shared_dressed_commoner_fat_human_male_01.iff','','',0,0,0,1,1,0,0.91,0,-0.41,-4693.85,6,3935.18,5,'commoner','mob/creature_names',1), (47513080623,0,2,'object/mobile/shared_dressed_commoner_naboo_human_male_04.iff','','',0,0,0,1,1,0,0.35,0,0.94,-4639.5,6,4030.63,5,'commoner','mob/creature_names',0.95), (47513080625,0,2,'object/mobile/shared_dressed_commoner_tatooine_aqualish_male_09.iff','','',0,0,0,1,1,0,0.96,0,0.28,-4654.33,6,3961.67,5,'commoner','mob/creature_names',1), (47513080643,0,2,'object/mobile/shared_dressed_commoner_fat_twilek_male_01.iff','','',0,0,0,1,1,0,0.59,0,0.81,-4612.65,6,4108.44,5,'commoner','mob/creature_names',0.98), (47513080673,0,2,'object/mobile/shared_dressed_stormtrooper_groupleader_m.iff','','',0,0,0,1,3,0,-0.52,0,0.85,-5036.45,6,4050.86,5,'crackdown_stormtrooper_squad_leader','mob/creature_names',1), (47513080675,0,2,'object/mobile/shared_dressed_stormtrooper_groupleader_m.iff','','',0,0,0,1,3,0,-0.32,0,0.95,-5084.83,7,4080.53,5,'crackdown_stormtrooper_squad_leader','mob/creature_names',1), (47513080677,0,2,'object/mobile/shared_dressed_imperial_officer_m.iff','','',0,0,0,1,3,0,0.94,0,0.33,-5113.67,6,4069.61,5,'crackdown_imperial_noncom','mob/creature_names',1), (47513080679,0,2,'object/mobile/shared_dressed_imperial_officer_m.iff','','',0,0,0,1,3,0,-0.54,0,0.84,-5128.3,6,4094.12,5,'crackdown_specialist_noncom','mob/creature_names',1), (47513080681,0,2,'object/mobile/shared_dressed_stormtrooper_m.iff','','',0,0,0,1,3,0,0.63,0,0.77,-5131.48,6,4117.44,5,'crackdown_stormtrooper','mob/creature_names',1), (47513080683,1697383,2,'object/mobile/shared_dressed_commoner_tatooine_nikto_male_05.iff','','',0,0,0,1,1,0,0,0,1,-21.58,1.6,-15.18,5,'gambler','mob/creature_names',1), (47513080685,1697383,2,'object/mobile/shared_gungan_male.iff','','',0,0,0,1,1,0,1,0,0,-21.58,1.6,-14.18,5,'otolla_gungan','mob/creature_names',0.99), (47513080687,1697381,2,'object/mobile/shared_gungan_s02_male.iff','','',0,0,0,1,1,0,0,0,1,-7.04,1.6,-12.15,5,'gungan_grand_army_soldier','mob/creature_names',1), (47513080689,1697381,2,'object/mobile/shared_dressed_rsf_captain.iff','','',0,0,0,1,1,0,1,0,0,-7.04,1.6,-11.05,5,'rsf_captain','mob/creature_names',1), (47513080691,1697378,2,'object/mobile/shared_dressed_philosopher.iff','','',0,0,0,1,1,0,0,0,1,18.9,1.28,-6.41,5,'philosopher','mob/creature_names',0.96), (47513080693,1697378,2,'object/mobile/shared_dressed_artisan_trainer_02.iff','','',0,0,0,1,1,0,1,0,0,18.9,1.28,-5.31,5,'artisan','mob/creature_names',1), (47513080695,1697378,2,'object/mobile/shared_dressed_official.iff','','',0,0,0,1,1,0,0.92,0,0.38,17.8,1.28,-5.31,5,'official','mob/creature_names',1), (47513080697,1697378,2,'object/mobile/shared_gungan_male.iff','','',0,0,0,1,1,0,0,0,1,22.75,1.28,-11.75,5,'otolla_gungan','mob/creature_names',1), (47513080699,1697378,2,'object/mobile/shared_trandoshan_male.iff','Oskiwussk','',0,0,0,1,1,0,1,0,0,22.75,1.28,-10.65,5,'trandoshan_base_male','npc_name',0.89), (47513080701,1697378,2,'object/mobile/shared_dressed_doctor_trainer_moncal_male_01.iff','','',0,0,0,1,1,0,0,0,1,20.06,1.28,-15.61,5,'medic','mob/creature_names',1), (47513080703,1697378,2,'object/mobile/shared_dressed_commoner_naboo_zabrak_male_01.iff','','',0,0,0,1,1,0,1,0,0,20.06,1.28,-14.51,5,'vendor','mob/creature_names',1), (47513080705,1697378,2,'object/mobile/shared_dressed_commoner_tatooine_aqualish_female_05.iff','','',0,0,0,1,1,0,0,0,1,22.98,1.28,-1.18,5,'farmer','mob/creature_names',0.89), (47513080707,1697378,2,'object/mobile/shared_dressed_villain_trandoshan_male_01.iff','','',0,0,0,1,1,0,1,0,0,22.98,1.28,-0.08,5,'bodyguard','mob/creature_names',1), (47513080709,1697378,2,'object/mobile/shared_dressed_criminal_thug_rodian_female_01.iff','','',0,0,0,1,1,0,0,0,1,17,1.28,7.1,5,'brawler','mob/creature_names',1), (47513080711,1697378,2,'object/mobile/shared_gungan_s04_male.iff','','',0,0,0,1,1,0,1,0,0,17,1.28,8.2,5,'gungan_scout','mob/creature_names',1), (47513080713,1697378,2,'object/mobile/shared_dressed_rsf_palace_guard.iff','','',0,0,0,1,1,0,0.92,0,0.38,15.9,1.28,8.2,5,'rsf_palace_guard','mob/creature_names',1.02), (47513080715,1697378,2,'object/mobile/shared_dressed_commoner_fat_twilek_female_01.iff','','',0,0,0,1,1,0,0,0,1,25.59,1.28,5.31,5,'miner','mob/creature_names',1), (47513080717,1697378,2,'object/mobile/shared_dressed_rsf_security_officer.iff','','',0,0,0,1,1,0,1,0,0,25.59,1.28,6.41,5,'rsf_security_officer','mob/creature_names',1), (47513080719,1697378,2,'object/mobile/shared_dressed_entertainer_trainer_twk_female_01.iff','','',0,0,0,1,1,0,0,0,1,23.97,1.57,13.29,5,'entertainer','mob/creature_names',0.95), (47513080721,1697378,2,'object/mobile/shared_dressed_entertainer_trainer_human_female_01.iff','','',0,0,0,1,1,0,1,0,0,23.97,1.57,14.29,5,'entertainer','mob/creature_names',1), (47513080723,1697377,2,'object/mobile/shared_dressed_noble_fat_human_female_01.iff','','',0,0,0,1,1,0,0.95,0,-0.32,-1.61,1,6.26,5,'noble','mob/creature_names',1), (47513080725,1697377,2,'object/mobile/shared_dressed_royal_officer_human_male_01.iff','','',0,0,0,1,1,0,0.84,0,0.54,-1.61,1,7.36,5,'naboo_police','mob/creature_names',0.89), (47513080727,1697377,2,'object/mobile/shared_dressed_commoner_fat_human_female_01.iff','','',0,0,0,1,1,0,0.17,0,0.98,2.52,1,-5.76,5,'miner','mob/creature_names',1), (47513080729,1697377,2,'object/mobile/shared_dressed_entertainer_trainer_human_female_01.iff','','',0,0,0,1,1,0,0.01,0,1,2.52,1,-4.66,5,'entertainer','mob/creature_names',1), (47513080731,1697377,2,'object/mobile/shared_dressed_official.iff','','',0,0,0,1,1,0,0.91,0,-0.42,7.1,1,10.06,5,'official','mob/creature_names',0.95), (47513080733,1697377,2,'object/mobile/shared_dressed_commoner_naboo_twilek_male_02.iff','','',0,0,0,1,1,0,0.91,0,-0.41,6,1,10.06,5,'gambler','mob/creature_names',1), (47513080735,1697377,2,'object/mobile/shared_dressed_eisley_officer_bothan_male_01.iff','','',0,0,0,1,1,0,0.91,0,-0.42,7.1,1,8.96,5,'bothan_information_broker','mob/creature_names',1), (47513080737,1697379,2,'object/mobile/shared_dressed_combatmedic_trainer_human_female_01.iff','','',0,0,0,1,1,0,0,0,1,-23.08,1.59,1.9,5,'medic','mob/creature_names',1), (47513080739,1697379,2,'object/mobile/shared_dressed_criminal_thug_aqualish_female_01.iff','','',0,0,0,1,1,0,1,0,0,-23.08,1.59,3,5,'brawler','mob/creature_names',0.99), (47513080741,1697379,2,'object/mobile/shared_gungan_s02_male.iff','','',0,0,0,1,1,0,0.92,0,0.38,-24.18,1.58,3,5,'gungan_guard','mob/creature_names',1), (47513080743,1697379,2,'object/mobile/shared_ankura_gungan.iff','','',0,0,0,1,1,0,0.38,0,0.92,-24.18,1.58,1.9,5,'ankura_gungan','mob/creature_names',1), (47513080745,1697379,2,'object/mobile/shared_dressed_commoner_naboo_moncal_female_02.iff','','',0,0,0,1,1,0,0.71,0,-0.71,-21.27,1.6,11.35,5,'commoner','mob/creature_names',0.89), (47513080747,1697379,2,'object/mobile/shared_dressed_commoner_tatooine_sullustan_male_02.iff','','',0,0,0,1,1,0,0.71,0,0.71,-23.27,1.6,11.35,5,'commoner','mob/creature_names',1), (47513080749,1697379,2,'object/mobile/shared_r2.iff','R2-R0','',0,0,0,1,1,0,0.44,0,0.9,-22.27,1.6,12.35,5,'r2','mob/creature_names',1), (47513080751,0,2,'object/mobile/shared_dressed_stormtrooper_m.iff','','',0,0,0,1,3,0,1,0,-0.04,-5126.48,6.52,4130.79,5,'crackdown_stormtrooper','mob/creature_names',1), (47513080753,0,2,'object/mobile/shared_dressed_commoner_tatooine_rodian_male_04.iff','Hunter','Javeezo',0,0,0,1,1,0,0.9,0,-0.44,-5156.23,6.21,4129.35,5,'commoner_rodian_male','mob/creature_names',1), (47513080755,0,2,'object/mobile/shared_dressed_commoner_tatooine_trandoshan_female_03.iff','','',0,0,0,1,1,0,0.88,0,-0.47,-5171.36,6,4148.39,5,'commoner','mob/creature_names',1.01), (47513080757,0,2,'object/mobile/shared_dressed_stormtrooper_rifleman_m.iff','','',0,0,0,1,3,0,0.95,0,-0.32,-5160.99,6.52,4159.54,5,'crackdown_stormtrooper_rifleman','mob/creature_names',1), (47513080759,0,2,'object/mobile/shared_dressed_commoner_tatooine_rodian_female_03.iff','','',0,0,0,1,1,0,-0.26,0,0.97,-5165.37,6,4173.32,5,'commoner','mob/creature_names',1), (47513080761,0,2,'object/mobile/shared_dressed_commoner_naboo_bothan_male_01.iff','','',0,0,0,1,1,0,0.01,0,1,-5088.5,6,4152.21,5,'commoner','mob/creature_names',1), (47513080763,0,2,'object/mobile/shared_dressed_stormtrooper_black_black.iff','','',0,0,0,1,3,0,0.9,0,0.43,-5158.57,6,4228.37,5,'fbase_stormtrooper_rifleman_extreme','mob/creature_names',1), (47513080765,0,2,'object/mobile/shared_dressed_commoner_naboo_moncal_male_01.iff','','',0,0,0,1,1,0,0.27,0,0.96,-5194.95,6,4189.82,5,'commoner','mob/creature_names',1), (47513080767,0,2,'object/mobile/shared_dressed_commoner_tatooine_devaronian_male_03.iff','','',0,0,0,1,1,0,1,0,-0.02,-5135.69,6,4219.76,5,'commoner','mob/creature_names',0.98), (47513080769,0,2,'object/mobile/shared_dressed_commoner_tatooine_aqualish_male_06.iff','','',0,0,0,1,1,0,-0.05,0,1,-5124.32,6,4230.7,5,'commoner','mob/creature_names',1), (47513080771,0,2,'object/mobile/shared_dressed_hooligan_rodian_male_01.iff','','',0,0,0,1,1,0,0,0,1,-5138.49,6,4228.36,5,'bodyguard','mob/creature_names',1), (47513080773,0,2,'object/mobile/shared_dressed_commoner_tatooine_sullustan_male_04.iff','','',0,0,0,1,1,0,1,0,0,-5138.49,6,4229.36,5,'fringer','mob/creature_names',1.07), (47513080775,0,2,'object/mobile/shared_dressed_stormtrooper_m.iff','','',0,0,0,1,3,0,-0.09,0,1,-5206.32,6,4182.8,5,'crackdown_stormtrooper','mob/creature_names',1), (47513080777,0,2,'object/mobile/shared_dressed_royal_officer_human_male_01.iff','','',0,0,0,1,1,0,0,0,1,-5117.92,6,4266.21,5,'naboo_police','mob/creature_names',1), (47513080779,0,2,'object/mobile/shared_dressed_commoner_old_twilek_male_02.iff','','',0,0,0,1,1,0,1,0,0,-5117.92,6,4267.21,5,'businessman','mob/creature_names',1), (47513080781,0,2,'object/mobile/shared_dressed_commoner_tatooine_rodian_female_03.iff','','',0,0,0,1,1,0,0.24,0,0.97,-5106.97,6,4296.89,5,'commoner','mob/creature_names',0.8), (47513080783,0,2,'object/mobile/shared_dressed_stormtrooper_groupleader_m.iff','GK-44','',0,0,0,1,3,0,0.73,0,0.68,-4979.13,6,4233.52,5,'stormtrooper','npc_name',1), (47513080785,0,2,'object/mobile/shared_dressed_commoner_tatooine_bith_female_05.iff','','',0,0,0,1,1,0,0.87,0,-0.49,-5069.74,6,4262.45,5,'commoner','mob/creature_names',1), (47513080787,0,2,'object/mobile/shared_dressed_philosopher.iff','','',0,0,0,1,1,0,0,0,1,-5127.71,6,4336.34,5,'philosopher','mob/creature_names',0.83), (47513080789,0,2,'object/mobile/shared_dressed_commoner_tatooine_trandoshan_female_04.iff','','',0,0,0,1,1,0,0.4,0,0.92,-5219.06,6,4291.75,5,'commoner','mob/creature_names',1), (47513080791,0,2,'object/mobile/shared_dressed_entertainer_trainer_twk_female_01.iff','','',0,0,0,1,1,0,1,0,0,-5127.71,6,4337.34,5,'entertainer','mob/creature_names',1), (47513080793,91,2,'object/mobile/shared_dressed_commoner_tatooine_aqualish_female_07.iff','Aihe','Darksky',0,0,0,1,1,0,0.28,0,0.96,-11.21,-0.89,1.41,5,'aqualish_base_female','npc_name',1), (47513080795,91,2,'object/mobile/shared_dressed_commoner_naboo_human_female_02.iff','Tyla','Jinn',0,0,0,1,1,0,0.58,0,0.81,5.28,-0.89,-5.62,5,'commoner_human_female','mob/creature_names',1), (47513080797,0,2,'object/mobile/shared_dressed_stormtrooper_m.iff','','',0,0,0,1,3,0,0.31,0,0.95,-5235.44,6,4272.06,5,'fbase_stormtrooper_hard','mob/creature_names',1), (47513080799,0,2,'object/mobile/shared_dressed_commoner_naboo_zabrak_male_02.iff','','',0,0,0,1,1,0,0.94,0,0.35,-5256.72,6,4254.43,5,'commoner','mob/creature_names',1), (47513080801,0,2,'object/mobile/shared_dressed_commoner_naboo_human_female_05.iff','','',0,0,0,1,1,0,0.96,0,0.28,-5140.78,6,4404.92,5,'commoner','mob/creature_names',1.1), (47513080803,0,2,'object/mobile/shared_dressed_royal_officer_human_male_01.iff','','',0,0,0,1,1,0,-0.47,0,0.88,-5279.6,6,4317.03,5,'naboo_police','mob/creature_names',1), (47513080805,0,2,'object/mobile/shared_dressed_scout_trooper_white_white.iff','','',0,0,0,1,3,0,0.93,0,-0.36,-5279.72,6,4317.69,5,'crackdown_scout_trooper','mob/creature_names',1), (47513080807,0,2,'object/mobile/shared_dressed_commoner_naboo_human_male_04.iff','','',0,0,0,1,1,0,-0.56,0,0.83,-5260.56,6,4215.33,5,'commoner','mob/creature_names',0.95), (47513080809,0,2,'object/mobile/shared_dressed_commoner_naboo_twilek_female_02.iff','','',0,0,0,1,1,0,-0.57,0,0.82,-5281.75,6,4325.98,5,'commoner','mob/creature_names',1), (47513080819,0,2,'object/mobile/shared_dressed_commoner_fat_twilek_male_02.iff','','',0,0,0,1,1,0,0.81,0,0.59,-5280.52,6,4372.79,5,'commoner','mob/creature_names',1), (47513080821,0,2,'object/mobile/shared_dressed_commoner_old_human_female_02.iff','','',0,0,0,1,1,0,0.99,0,0.14,-5306.24,6,4357.56,5,'commoner','mob/creature_names',0.98), (47513080823,0,2,'object/mobile/shared_dressed_naboo_police.iff','','',0,0,0,1,1,0,0.01,0,1,-5289.72,6,4376.11,5,'thief','mob/creature_names',1), (47513080825,0,2,'object/mobile/shared_dressed_commoner_tatooine_sullustan_male_04.iff','','',0,0,0,1,1,0,0.99,0,0.13,-5282.92,6,4405.65,5,'commoner','mob/creature_names',1), (47513080827,0,2,'object/mobile/shared_dressed_commoner_tatooine_aqualish_female_03.iff','','',0,0,0,1,1,0,0.47,0,0.88,-5326.21,6,4292.88,5,'commoner','mob/creature_names',0.89), (47513080829,0,2,'object/mobile/shared_dressed_commoner_naboo_zabrak_female_01.iff','','',0,0,0,1,1,0,-0.67,0,0.74,-5319.27,6,4365.19,5,'commoner','mob/creature_names',1), (47513080831,0,2,'object/mobile/shared_dressed_commoner_tatooine_bith_female_04.iff','','',0,0,0,1,1,0,-0.25,0,0.97,-5320.16,6,4236.39,5,'commoner','mob/creature_names',1), (47513080833,0,2,'object/mobile/shared_dressed_commoner_tatooine_devaronian_male_01.iff','','',0,0,0,1,1,0,0.67,0,0.74,-5327.58,6,4267.42,5,'commoner','mob/creature_names',1.04), (47513080835,0,2,'object/mobile/shared_dressed_royal_officer_human_male_01.iff','','',0,0,0,1,1,0,0.01,0,0.99,-5258.93,6.28,4186.17,5,'naboo_police','mob/creature_names',1), (47513080837,0,2,'object/mobile/shared_dressed_commoner_artisan_trandoshan_male_01.iff','','',0,0,0,1,1,0,1,0,0,-5258.93,6,4187.17,5,'technician','mob/creature_names',1), (47513080841,0,2,'object/mobile/shared_dressed_naboo_police.iff','','',0,0,0,1,1,0,0.98,0,-0.19,-5345.92,6,4371.08,5,'thief','mob/creature_names',1), (47513080843,0,2,'object/mobile/shared_dressed_naboo_police.iff','','',0,0,0,1,1,0,0.98,0,-0.19,-5345.32,6,4372.58,5,'thief','mob/creature_names',0.85), (47513080845,0,2,'object/mobile/shared_dressed_commoner_tatooine_rodian_female_01.iff','','',0,0,0,1,1,0,0.98,0,-0.21,-5291.01,6,4428.53,5,'commoner','mob/creature_names',1), (47513080847,0,2,'object/mobile/shared_dressed_commoner_tatooine_bith_female_05.iff','','',0,0,0,1,1,0,0.89,0,-0.46,-5309.23,6,4307.01,5,'commoner','mob/creature_names',1), (47513080849,0,2,'object/mobile/shared_dressed_commoner_fat_zabrak_male_02.iff','','',0,0,0,1,1,0,-0.01,0,1,-5371.2,6,4337.4,5,'commoner','mob/creature_names',1), (47513080851,0,2,'object/mobile/shared_dressed_naboo_police.iff','','',0,0,0,1,1,0,0.01,0,1,-5288.92,6,4428.05,5,'thief','mob/creature_names',0.98), (47513080853,0,2,'object/mobile/shared_dressed_commoner_tatooine_aqualish_male_01.iff','','',0,0,0,1,1,0,0.93,0,0.36,-5392.94,6,4361.06,5,'commoner','mob/creature_names',1), (47513080855,0,2,'object/mobile/shared_dressed_commoner_naboo_human_female_02.iff','','',0,0,0,1,1,0,0.96,0,-0.29,-5370.57,6,4384.5,5,'commoner','mob/creature_names',0.96), (47513080857,0,2,'object/mobile/shared_dressed_villain_trandoshan_male_01.iff','','',0,0,0,1,1,0,0,0,1,-5391.04,15,4394.77,5,'brawler','mob/creature_names',1), (47513080859,0,2,'object/mobile/shared_dressed_commoner_naboo_human_female_03.iff','','',0,0,0,1,1,0,1,0,0,-5391.04,15,4395.87,5,'naboo_nomad','mob/creature_names',0.85), (47513080861,0,2,'object/mobile/shared_dressed_commoner_tatooine_trandoshan_female_04.iff','','',0,0,0,1,1,0,0.92,0,0.38,-5392.14,15,4395.87,5,'hunter','mob/creature_names',1), (47513080863,0,2,'object/mobile/shared_dressed_commoner_tatooine_sullustan_male_04.iff','','',0,0,0,1,1,0,0.38,0,0.92,-5392.14,15,4394.77,5,'businessman','mob/creature_names',1), (47513080865,0,2,'object/mobile/shared_dressed_criminal_pirate_human_female_01.iff','','',0,0,0,1,1,0,0,0,1,-5391.55,6,4382.25,5,'spacer','mob/creature_names',0.95), (47513080867,0,2,'object/mobile/shared_dressed_commoner_artisan_trandoshan_male_01.iff','','',0,0,0,1,1,0,1,0,0,-5391.55,6,4383.25,5,'artisan','mob/creature_names',1), (47513080869,0,2,'object/mobile/shared_dressed_artisan_trainer_03.iff','','',0,0,0,1,1,0,0,0,1,-5371.71,15,4412.35,5,'technician','mob/creature_names',1), (47513080871,0,2,'object/mobile/shared_dressed_commoner_tatooine_aqualish_male_06.iff','','',0,0,0,1,1,0,0.23,0,0.97,-5409.46,6,4386.55,5,'commoner','mob/creature_names',0.95), (47513080879,1688867,2,'object/mobile/shared_dressed_noble_fat_zabrak_female_02.iff','','',0,0,0,1,1,0,-0.23,0,0.97,39.71,33,-96.81,5,'trivia_librarian','mob/creature_names',1), (47513080881,1688861,2,'object/mobile/shared_dressed_stormtrooper_captain_white_white.iff','','',0,0,0,1,3,0,-0.24,0,0.97,29.35,23,-34.46,5,'tk_9h4','npc_spawner_n',0.98), (47513080883,1688861,2,'object/mobile/shared_dressed_stormtrooper_captain_white_white.iff','','',0,0,0,1,3,0,0.96,0,-0.29,29.12,23,-30.6,5,'tk_8h2','npc_spawner_n',1), (47513080893,0,2,'object/mobile/shared_dressed_commoner_tatooine_sullustan_male_03.iff','','',0,0,0,1,1,0,1,0,-0.01,-5306.61,6,4473.8,5,'commoner','mob/creature_names',1), (47513080895,0,2,'object/mobile/shared_dressed_commoner_old_human_female_02.iff','','',0,0,0,1,1,0,0.74,0,0.67,-5304.35,6,4492.96,5,'commoner','mob/creature_names',0.85), (47513080897,0,2,'object/mobile/shared_dressed_commoner_naboo_zabrak_male_01.iff','','',0,0,0,1,1,0,-0.7,0,0.72,-5399.67,6,4424.78,5,'commoner','mob/creature_names',1), (47513080899,0,2,'object/mobile/shared_dressed_commoner_naboo_moncal_female_01.iff','','',0,0,0,1,1,0,-0.61,0,0.79,-5310.36,6,4534.31,5,'commoner','mob/creature_names',1), (47513080901,0,2,'object/mobile/shared_dressed_commoner_tatooine_aqualish_female_05.iff','','',0,0,0,1,1,0,0.8,0,0.59,-5375.04,6,4523.11,5,'commoner','mob/creature_names',1), (47513080903,0,2,'object/mobile/shared_dressed_commoner_naboo_zabrak_male_02.iff','','',0,0,0,1,1,0,0.82,0,0.57,-5394.06,6,4519.32,5,'commoner','mob/creature_names',0.99), (47513080905,0,2,'object/mobile/shared_dressed_commoner_naboo_zabrak_male_02.iff','','',0,0,0,1,1,0,0.99,0,-0.16,-5340.68,6,4591.03,5,'commoner','mob/creature_names',1), (47513080907,0,2,'object/mobile/shared_dressed_commoner_tatooine_bith_female_04.iff','','',0,0,0,1,1,0,-0.52,0,0.85,-5326.75,6,4529.9,5,'commoner','mob/creature_names',1), (47513080909,0,2,'object/mobile/shared_dressed_commoner_tatooine_bith_female_04.iff','','',0,0,0,1,1,0,0.16,0,0.99,-5318.01,6,4560.44,5,'commoner','mob/creature_names',0.96), (47513080911,0,2,'object/mobile/shared_dressed_commoner_tatooine_aqualish_male_05.iff','','',0,0,0,1,1,0,0.59,0,0.81,-5380.45,6,4628.71,5,'commoner','mob/creature_names',1), (47513080913,0,2,'object/mobile/shared_dressed_commoner_naboo_human_female_06.iff','','',0,0,0,1,1,0,0.17,0,0.98,-5428.98,6,4447.99,5,'commoner','mob/creature_names',1), (47513080915,0,2,'object/mobile/shared_dressed_commoner_tatooine_bith_male_05.iff','','',0,0,0,1,1,0,-0.01,0,1,-5396.24,6,4492.81,5,'commoner','mob/creature_names',1), (47513080917,0,2,'object/mobile/shared_dressed_commoner_tatooine_bith_female_02.iff','','',0,0,0,1,1,0,0.36,0,0.93,-5449.78,6,4428.75,5,'commoner','mob/creature_names',0.89), (47513080919,0,2,'object/mobile/shared_dressed_commoner_tatooine_rodian_male_04.iff','','',0,0,0,1,1,0,0.06,0,1,-5468.87,6,4432.8,5,'commoner','mob/creature_names',1), (47513080921,0,2,'object/mobile/shared_dressed_pooja_naberrie.iff','','',0,0,0,1,1,0,0.94,0,-0.35,-5479.35,14,4467.15,5,'commoner','mob/creature_names',1), (47513080923,0,2,'object/mobile/shared_dressed_stormtrooper_m.iff','','',0,0,0,1,3,0,0.68,0,0.73,-5464.75,14,4447.8,5,'crackdown_stormtrooper','mob/creature_names',1), (47513080925,0,2,'object/mobile/shared_dressed_stormtrooper_rifleman_m.iff','','',0,0,0,1,3,0,1,0,-0.01,-5491.14,14,4470.24,5,'crackdown_stormtrooper_rifleman','mob/creature_names',1), (47513080927,0,2,'object/mobile/shared_dressed_imperial_officer_m.iff','','',0,0,0,1,3,0,0.99,0,-0.12,-5469.87,6,4414.17,5,'imperial_recruiter','mob/creature_names',1), (47513080929,0,2,'object/mobile/shared_dressed_stormtrooper_m.iff','','',0,0,0,1,3,0,1,0,0,-5501.04,14,4470.3,5,'crackdown_stormtrooper','mob/creature_names',1), (47513080931,0,2,'object/mobile/shared_dressed_stormtrooper_m.iff','','',0,0,0,1,3,0,0.99,0,0.11,-5498.9,14,4450.34,5,'crackdown_stormtrooper','mob/creature_names',1), (47513080933,0,2,'object/mobile/shared_dark_trooper.iff','','',0,0,0,1,3,0,1,0,-0.03,-5493.28,14,4450.34,5,'crackdown_dark_trooper','mob/creature_names',1.1), (47513080935,0,2,'object/mobile/shared_dressed_imperial_officer_m.iff','','',0,0,0,1,3,0,0.95,0,-0.3,-5479.68,10,4422.67,5,'crackdown_imperial_sergeant','mob/creature_names',1), (47513080937,0,2,'object/mobile/shared_dressed_herald_naboo_01.iff','Vaik`anna','Silverlight',0,0,0,1,1,0,0.7,0,0.72,-5484.34,10,4424.48,5,'naboo_herald_01','npc_name',0.95), (47513080939,0,2,'object/mobile/shared_dressed_commoner_fat_human_male_02.iff','','',0,0,0,1,1,0,0.96,0,0.28,-5425.82,6,4371.62,5,'commoner','mob/creature_names',1), (47513080941,0,2,'object/mobile/shared_dressed_commoner_naboo_bothan_male_02.iff','','',0,0,0,1,1,0,0.81,0,-0.59,-5457.38,6,4469.32,5,'commoner','mob/creature_names',1), (47513080943,0,2,'object/mobile/shared_dressed_commoner_naboo_human_female_04.iff','','',0,0,0,1,1,0,0.09,0,1,-5489.16,6,4404.33,5,'commoner','mob/creature_names',0.89), (47513080945,0,2,'object/mobile/shared_dressed_commoner_tatooine_bith_male_03.iff','','',0,0,0,1,1,0,0.99,0,-0.15,-5525.24,6,4430.28,5,'commoner','mob/creature_names',1), (47513080947,0,2,'object/mobile/shared_dressed_herald_noble_twk_female_01.iff','Hanna','S`kiyah',0,0,0,1,1,0,0.85,0,-0.52,-5480.82,6,4397.97,5,'twilek_base_female','npc_name',1), (47513080949,0,2,'object/mobile/shared_dressed_stormtrooper_m.iff','','',0,0,0,1,3,0,0.98,0,0.18,-5508.92,10,4432.61,5,'crackdown_stormtrooper','mob/creature_names',1), (47513080951,0,2,'object/mobile/shared_dressed_royal_officer_human_male_01.iff','','',0,0,0,1,1,0,0.95,0,-0.3,-5511,9.93,4422,5,'naboo_police','mob/creature_names',1), (47513080955,0,2,'object/mobile/shared_dressed_stormtrooper_m.iff','','',0,0,0,1,3,0,-0.62,0,0.79,-5519.19,10,4428.98,5,'crackdown_stormtrooper','mob/creature_names',1), (47513080957,0,2,'object/mobile/shared_dressed_stormtrooper_m.iff','','',0,0,0,1,3,0,0.92,0,-0.4,-5472.28,6,4370.49,5,'crackdown_stormtrooper','mob/creature_names',1), (47513080959,0,2,'object/mobile/shared_dressed_stormtrooper_rifleman_m.iff','','',0,0,0,1,3,0,0.72,0,0.69,-5485.51,6,4399.52,5,'crackdown_stormtrooper_rifleman','mob/creature_names',1), (47513080961,0,2,'object/mobile/shared_dressed_commoner_tatooine_aqualish_male_09.iff','','',0,0,0,1,1,0,0.85,0,-0.52,-5418.26,6,4347.1,5,'commoner','mob/creature_names',1), (47513080963,0,2,'object/mobile/shared_dressed_commoner_tatooine_bith_female_01.iff','','',0,0,0,1,1,0,0.91,0,0.42,-5416.72,6,4413.87,5,'commoner','mob/creature_names',1), (47513080965,0,2,'object/mobile/shared_dressed_commoner_tatooine_aqualish_male_02.iff','','',0,0,0,1,1,0,-0.09,0,1,-5485.31,6,4373.11,5,'commoner','mob/creature_names',0.89), (47513080967,0,2,'object/mobile/shared_dressed_commoner_naboo_human_female_03.iff','','',0,0,0,1,1,0,1,0,0.09,-5545.73,6,4466.12,5,'commoner','mob/creature_names',1), (47513080969,0,2,'object/mobile/shared_dressed_imperial_lieutenant_m.iff','','',0,0,0,1,1,0,0.47,0,0.88,-5516.19,6,4404.77,5,'landau','npc_spawner_n',1.1), (47513080971,0,2,'object/mobile/shared_dressed_commoner_naboo_moncal_male_01.iff','','',0,0,0,1,1,0,0.75,0,0.66,-5537.28,6,4411.34,5,'commoner','mob/creature_names',1), (47513080973,0,2,'object/mobile/shared_dressed_commoner_naboo_human_male_06.iff','','',0,0,0,1,1,0,0.86,0,-0.52,-5541.82,6,4394.46,5,'commoner','mob/creature_names',1), (47513080975,0,2,'object/mobile/shared_dressed_criminal_pirate_human_female_01.iff','','',0,0,0,1,1,0,0,0,1,-5455.01,6,4332.45,5,'spacer','mob/creature_names',1.01), (47513080977,0,2,'object/mobile/shared_dressed_official.iff','','',0,0,0,1,1,0,1,0,0,-5455.01,6,4333.45,5,'official','mob/creature_names',1), (47513080979,0,2,'object/mobile/shared_dressed_stormtrooper_sand_trooper_m.iff','','',0,0,0,1,3,0,1,0,0,-5484.94,6,4350.61,5,'fbase_sand_trooper_extreme','mob/creature_names',1), (47513080983,0,2,'object/mobile/shared_dressed_noble_human_male_04.iff','','',0,0,0,1,1,0,0.92,0,0.39,-5538,6,4365.1,5,'patron_human_male_04','mob/creature_names',1), (47513080985,0,2,'object/mobile/shared_dressed_commoner_naboo_human_male_01.iff','','',0,0,0,1,1,0,0.89,0,0.47,-5492.21,6,4337.69,5,'commoner','mob/creature_names',1.05), (47513080987,0,2,'object/mobile/shared_dressed_commoner_naboo_human_female_02.iff','','',0,0,0,1,1,0,0.98,0,-0.21,-5547.21,6,4383.24,5,'commoner','mob/creature_names',1), (47513080989,0,2,'object/mobile/shared_dressed_commoner_tatooine_rodian_female_03.iff','','',0,0,0,1,1,0,1,0,0,-5462.9,6,4320.21,5,'fringer','mob/creature_names',0.98), (47513080991,0,2,'object/mobile/shared_dressed_official.iff','','',0,0,0,1,1,0,0,0,1,-5462.9,6,4319.21,5,'official','mob/creature_names',1), (47513080993,0,2,'object/mobile/shared_dressed_commoner_naboo_human_female_03.iff','','',0,0,0,1,1,0,0.98,0,0.18,-5565.53,6,4469.02,5,'commoner','mob/creature_names',1), (47513080995,0,2,'object/mobile/shared_dressed_stormtrooper_m.iff','','',0,0,0,1,3,0,-0.05,0,1,-5419.06,6.6,4315.82,5,'crackdown_stormtrooper','mob/creature_names',1), (47513080997,0,2,'object/mobile/shared_dressed_commoner_tatooine_ishitib_male_01.iff','','',0,0,0,1,1,0,0.98,0,0.19,-5437.58,6,4301.41,5,'commoner','mob/creature_names',1), (47513080999,0,2,'object/mobile/shared_dressed_official.iff','','',0,0,0,1,1,0,0,0,1,-5429.73,6,4271.9,5,'official','mob/creature_names',1), (47513081001,0,2,'object/mobile/shared_dressed_commoner_old_zabrak_male_01.iff','','',0,0,0,1,1,0,1,0,0,-5429.73,6,4273,5,'businessman','mob/creature_names',1), (47513081003,0,2,'object/mobile/shared_dressed_commoner_tatooine_bith_female_03.iff','','',0,0,0,1,1,0,0.85,0,-0.52,-5458.78,6,4343.19,5,'commoner','mob/creature_names',0.8), (47513081005,0,2,'object/mobile/shared_dressed_commoner_tatooine_sullustan_male_06.iff','','',0,0,0,1,1,0,0.93,0,-0.36,-5554.8,6,4319.26,5,'commoner','mob/creature_names',1), (47513081007,0,2,'object/mobile/shared_dressed_commoner_tatooine_rodian_female_02.iff','','',0,0,0,1,1,0,-0.62,0,0.79,-5541.38,6,4302.99,5,'commoner','mob/creature_names',1), (47513081009,0,2,'object/mobile/shared_dressed_commoner_naboo_bothan_male_02.iff','','',0,0,0,1,1,0,0.22,0,0.98,-5520.11,6,4349.32,5,'commoner','mob/creature_names',0.83), (47513081011,0,2,'object/mobile/shared_dressed_commoner_tatooine_aqualish_male_07.iff','','',0,0,0,1,1,0,-0.64,0,0.77,-5558.64,6,4283.8,5,'commoner','mob/creature_names',1), (47513081013,0,2,'object/mobile/shared_dressed_stormtrooper_black_black.iff','','',0,0,0,1,3,0,1,0,0,-5504.02,6,4407.79,5,'fbase_stormtrooper_sniper_extreme','mob/creature_names',1), (47513081015,0,2,'object/mobile/shared_dressed_scout_trooper_black_black.iff','','',0,0,0,1,3,0,0,0,1,-5504.02,6,4410.79,5,'fbase_storm_commando_extreme','mob/creature_names',1), (47513081017,0,2,'object/mobile/shared_dressed_stormtrooper_black_black.iff','','',0,0,0,1,3,0,1,0,0,-5507.02,6,4407.77,5,'fbase_stormtrooper_bombardier_extreme','mob/creature_names',1), (47513081019,0,2,'object/mobile/shared_dressed_commoner_tatooine_bith_female_01.iff','','',0,0,0,1,1,0,0.86,0,-0.51,-5507.67,6,4309.38,5,'commoner','mob/creature_names',0.95), (47513081021,0,2,'object/mobile/shared_dressed_eisley_officer_bothan_female_01.iff','','',0,0,0,1,1,0,0.92,0,0.38,-5430.83,6,4273,5,'bothan_diplomat','mob/creature_names',1), (47513081023,0,2,'object/mobile/shared_dressed_commoner_tatooine_nikto_male_07.iff','','',0,0,0,1,1,0,-0.24,0,0.97,-5555.25,6,4241.44,5,'commoner','mob/creature_names',1.1), (47513081025,0,2,'object/mobile/shared_dressed_commoner_tatooine_aqualish_female_07.iff','','',0,0,0,1,1,0,-0.23,0,0.97,-5544.22,6,4232.32,5,'commoner','mob/creature_names',1), (47513081027,0,2,'object/mobile/shared_dressed_commoner_fat_zabrak_female_01.iff','','',0,0,0,1,1,0,0.98,0,-0.22,-5453.08,6,4198.55,5,'commoner','mob/creature_names',1); INSERT INTO `persistent_npcs` (`id`,`parentId`,`family`,`type`,`firstName`,`lastName`,`posture`,`moodId`,`state`,`cl`,`faction`,`oX`,`oY`,`oZ`,`oW`,`x`,`y`,`z`,`planet_id`,`stf_variable_id`,`stf_file_id`,`scale`) VALUES (47513081029,1305893,2,'object/mobile/shared_dressed_rebel_trooper_human_female_01.iff','Mesose','Ercko',0,0,0,1,1,0,0,0,1,1.04,1.75,-20.86,5,'human_base_female','npc_name',0.95), (47513081031,1305893,2,'object/mobile/shared_dressed_mercenary_weak_hum_f.iff','','',0,0,0,1,1,0,1,0,0,1.04,1.75,-19.76,5,'mercenary','mob/creature_names',1), (47513081033,1305893,2,'object/mobile/shared_dressed_commoner_tatooine_ishitib_male_02.iff','','',0,0,0,1,1,0,0.92,0,0.38,-0.06,1.75,-19.76,5,'businessman','mob/creature_names',1), (47513081035,1305892,2,'object/mobile/shared_dressed_combatmedic_trainer_rodian_male_01.iff','','',0,0,0,1,1,0,0,0,1,11.79,1.75,-3,5,'scientist','mob/creature_names',1), (47513081037,1305892,2,'object/mobile/shared_dressed_plainsfolk.iff','','',0,0,0,1,1,0,1,0,0,11.79,1.75,-1.9,5,'plainsfolk','mob/creature_names',1.06), (47513081039,1305892,2,'object/mobile/shared_dressed_robber_twk_male_01.iff','','',0,0,0,1,1,0,0,0,1,-4.34,1.15,-8.53,5,'bodyguard','mob/creature_names',1), (47513081041,1305892,2,'object/mobile/shared_dressed_royal_officer_human_male_01.iff','','',0,0,0,1,1,0,1,0,0,-4.34,1.15,-7.43,5,'naboo_police','mob/creature_names',1), (47513081043,1305892,2,'object/mobile/shared_dressed_entertainer_trainer_human_female_01.iff','','',0,0,0,1,1,0,0.92,0,0.38,-5.44,1.15,-7.43,5,'entertainer','mob/creature_names',0.98), (47513081045,1305892,2,'object/mobile/shared_dressed_commoner_tatooine_trandoshan_female_03.iff','','',0,0,0,1,1,0,0.38,0,0.92,-5.44,1.15,-8.53,5,'farmer_rancher','mob/creature_names',1), (47513081047,1305888,2,'object/mobile/shared_dressed_commoner_fat_human_male_02.iff','','',0,0,0,1,1,0,0.71,0,-0.71,-17,2.25,17.48,5,'commoner','mob/creature_names',1), (47513081049,1305888,2,'object/mobile/shared_dressed_commoner_naboo_zabrak_female_02.iff','','',0,0,0,1,1,0,0.71,0,0.71,-19,2.25,17.48,5,'commoner','mob/creature_names',0.89), (47513081051,1305888,2,'object/mobile/shared_r3.iff','R3-Z5','',0,0,0,1,1,0,0.9,0,0.45,-18,2.25,18.48,5,'r3','mob/creature_names',1), (47513081053,0,2,'object/mobile/shared_dressed_commoner_tatooine_nikto_male_06.iff','','',0,0,0,1,1,0,0.15,0,0.99,-5507.69,6,4195.83,5,'commoner','mob/creature_names',1), (47513081055,0,2,'object/mobile/shared_dressed_commoner_old_zabrak_female_02.iff','','',0,0,0,1,1,0,0.51,0,0.86,-5487.23,6,4193.99,5,'commoner','mob/creature_names',1.04), (47513081057,0,2,'object/mobile/shared_dressed_commoner_fat_twilek_male_02.iff','','',0,0,0,1,1,0,0.23,0,0.97,-5404.2,6,4199.59,5,'commoner','mob/creature_names',1), (47513081059,0,2,'object/mobile/shared_dressed_commoner_naboo_human_female_08.iff','','',0,0,0,1,1,0,-0.2,0,0.98,-5562.58,6,4208.34,5,'commoner','mob/creature_names',1), (47513081061,0,2,'object/mobile/shared_dressed_commoner_tatooine_nikto_male_08.iff','','',0,0,0,1,1,0,0.97,0,0.23,-5544.8,6,4200.08,5,'commoner','mob/creature_names',1.09), (47513081063,0,2,'object/mobile/shared_dressed_commoner_naboo_zabrak_female_01.iff','','',0,0,0,1,1,0,0.99,0,-0.16,-5477.19,6,4170.01,5,'commoner','mob/creature_names',1), (47513081065,0,2,'object/mobile/shared_dressed_commoner_tatooine_aqualish_female_05.iff','','',0,0,0,1,1,0,0.78,0,-0.63,-5457.43,6,4156.44,5,'commoner','mob/creature_names',0.85), (47513081067,0,2,'object/mobile/shared_dressed_imperial_officer_m_5.iff','','',0,0,0,1,3,0,0.18,0,0.98,-5431.8,6,4168.58,5,'coa2_imperial_coordinator','mob/creature_names',1), (47513081069,0,2,'object/mobile/shared_dressed_stormtrooper_black_gold.iff','','',0,0,0,1,3,0,0.81,0,0.59,-5426.13,6,4138.34,5,'fbase_stormtrooper_squad_leader_extreme','mob/creature_names',1), (47513081071,0,2,'object/mobile/shared_dressed_commoner_tatooine_rodian_male_01.iff','','',0,0,0,1,1,0,-0.21,0,0.98,-5583.5,6,4237.52,5,'commoner','mob/creature_names',1), (47513081073,0,2,'object/mobile/shared_dressed_commoner_tatooine_sullustan_male_03.iff','','',0,0,0,1,1,0,0.72,0,0.7,-5521.16,6,4158.91,5,'commoner','mob/creature_names',0.98), (47513081075,0,2,'object/mobile/shared_dressed_commoner_tatooine_aqualish_male_02.iff','','',0,0,0,1,1,0,0.99,0,0.16,-5497.13,6,4148.57,5,'commoner','mob/creature_names',1), (47513081077,0,2,'object/mobile/shared_dressed_commoner_naboo_bothan_male_02.iff','','',0,0,0,1,1,0,0.69,0,0.73,-5599.43,6,4261.62,5,'commoner','mob/creature_names',0.96), (47513081079,0,2,'object/mobile/shared_dressed_commoner_naboo_human_female_01.iff','','',0,0,0,1,1,0,0.27,0,0.96,-5481.9,6,4131.83,5,'commoner','mob/creature_names',1), (47513081083,0,2,'object/mobile/shared_dressed_commoner_tatooine_bith_female_02.iff','','',0,0,0,1,1,0,-0.01,0,1,-5413.16,6,4120.37,5,'commoner','mob/creature_names',1), (47513081085,0,2,'object/mobile/shared_dressed_commoner_tatooine_aqualish_female_03.iff','','',0,0,0,1,1,0,0.84,0,-0.54,-5592.68,6,4154.97,5,'commoner','mob/creature_names',1), (47513081087,0,2,'object/mobile/shared_dressed_commoner_fat_twilek_female_02.iff','','',0,0,0,1,1,0,1,0,0,-5481.9,6,4102.48,5,'commoner','mob/creature_names',0.95), (47513081089,0,2,'object/mobile/shared_dressed_mercenary_messanger_hum_f.iff','','',0,0,0,1,1,0,0,0,1,-5605.87,6,4180.74,5,'mercenary','mob/creature_names',1), (47513081091,0,2,'object/mobile/shared_dressed_plainsfolk.iff','','',0,0,0,1,1,0,1,0,0,-5605.87,6,4181.74,5,'plainsfolk','mob/creature_names',1), (47513081093,0,2,'object/mobile/shared_dressed_commoner_naboo_human_male_05.iff','','',0,0,0,1,1,0,0.81,0,-0.59,-5506.89,6,4078.42,5,'commoner','mob/creature_names',0.95), (47513081095,0,2,'object/mobile/shared_dressed_stormtrooper_m.iff','','',0,0,0,1,3,0,0,0,1,-5372.19,8.5,4140.78,5,'crackdown_stormtrooper','mob/creature_names',1), (47513081097,0,2,'object/mobile/shared_dressed_commoner_tatooine_rodian_female_01.iff','','',0,0,0,1,1,0,-0.7,0,0.71,-5493.16,6,4049.26,5,'commoner','mob/creature_names',0.98), (47513081099,0,2,'object/mobile/shared_dressed_commoner_old_zabrak_male_02.iff','','',0,0,0,1,1,0,-0.3,0,0.95,-5512.45,6,4043.74,5,'commoner','mob/creature_names',1), (47513081101,0,2,'object/mobile/shared_dressed_commoner_old_zabrak_male_01.iff','','',0,0,0,1,1,0,0.59,0,0.81,-5466.25,6,4041.47,5,'commoner','mob/creature_names',1), (47513081103,0,2,'object/mobile/shared_dressed_commoner_tatooine_sullustan_male_02.iff','','',0,0,0,1,1,0,0.93,0,-0.36,-5432.86,6,4045.33,5,'commoner','mob/creature_names',0.85), (47513081105,0,2,'object/mobile/shared_dressed_stormtrooper_m.iff','','',0,0,0,1,3,0,0.69,0,0.73,-5526.42,6,4048.87,5,'crackdown_stormtrooper','mob/creature_names',1), (47513081107,0,2,'object/mobile/shared_dressed_rsf_palace_guard.iff','','',0,0,0,1,1,0,0,0,1,-5440.09,6,4037.23,5,'rsf_palace_guard','mob/creature_names',1), (47513081109,0,2,'object/mobile/shared_dressed_plainsfolk.iff','','',0,0,0,1,1,0,1,0,0,-5440.09,6,4038.23,5,'plainsfolk','mob/creature_names',1), (47513081111,0,2,'object/mobile/shared_dressed_imperial_medic3_human_male_01.iff','','',0,0,0,1,3,0,0.71,0,0.71,-5526.61,6,4050.1,5,'crackdown_imperial_medic','mob/creature_names',1), (47513081113,0,2,'object/mobile/shared_dressed_stormtrooper_groupleader_m.iff','','',0,0,0,1,3,0,-0.38,0,0.92,-5517.66,6,4092.7,5,'crackdown_stormtrooper_captain','mob/creature_names',1), (47513081115,0,2,'object/mobile/shared_dressed_scout_trooper_white_white.iff','','',0,0,0,1,3,0,-0.38,0,0.92,-5514.54,6,4091.35,5,'crackdown_scout_trooper','mob/creature_names',1), (47513081117,0,2,'object/mobile/shared_dressed_stormtrooper_m.iff','','',0,0,0,1,3,0,0.61,0,0.79,-5527.45,6,4050.33,5,'crackdown_stormtrooper','mob/creature_names',1), (47513081119,1692075,2,'object/mobile/shared_dressed_commoner_naboo_human_female_05.iff','','',0,0,0,1,1,0,0.87,0,0.5,-14.01,1.13,-8.53,5,'hunter','mob/creature_names',1), (47513081121,1692074,2,'object/mobile/shared_dressed_commoner_tatooine_sullustan_male_05.iff','','',0,0,0,1,1,0,0.91,0,-0.41,3.32,1.13,-8.49,5,'businessman','mob/creature_names',1), (47513081123,1692071,2,'object/mobile/shared_dressed_imperial_officer_m_2.iff','','',0,0,0,1,3,0,0.86,0,0.51,10.3,1.13,0.93,5,'coa3_tactical_imperial','mob/creature_names',1), (47513081125,0,2,'object/mobile/shared_dark_trooper.iff','','',0,0,0,1,3,0,-0.06,0,1,-5448.57,8.5,4014.62,5,'crackdown_dark_trooper','mob/creature_names',1.1), (47513081127,0,2,'object/mobile/shared_dressed_scout_trooper_white_white.iff','','',0,0,0,1,3,0,0.96,0,-0.27,-5515.07,6,4021.98,5,'crackdown_scout_trooper','mob/creature_names',1), (47513081131,0,2,'object/mobile/shared_dressed_imperial_officer_m.iff','','',0,0,0,1,3,0,0.96,0,-0.27,-5513.71,6,4024.15,5,'crackdown_imperial_sharpshooter','mob/creature_names',1), (47513081133,0,2,'object/mobile/shared_dressed_commoner_tatooine_ishitib_male_03.iff','','',0,0,0,1,1,0,1,0,-0.02,-5600.12,6,4053.65,5,'commoner','mob/creature_names',1), (47513081135,0,2,'object/mobile/shared_dressed_commoner_tatooine_bith_female_02.iff','','',0,0,0,1,1,0,0.13,0,0.99,-5531.29,6,4085.84,5,'commoner','mob/creature_names',1), (47513081137,0,2,'object/mobile/shared_dressed_commoner_tatooine_aqualish_male_02.iff','','',0,0,0,1,1,0,0.28,0,0.96,-5520.93,6,4003.55,5,'commoner','mob/creature_names',1), (47513081139,0,2,'object/mobile/shared_dressed_stormtrooper_m.iff','','',0,0,0,1,3,0,1,0,-0.07,-5508.32,6,3979.22,5,'crackdown_stormtrooper','mob/creature_names',1), (47513081141,0,2,'object/mobile/shared_dressed_scout_trooper_black_black.iff','','',0,0,0,1,3,0,0.92,0,0.4,-5514.45,6,3986.84,5,'crackdown_storm_commando','mob/creature_names',1), (47513081143,0,2,'object/mobile/shared_dressed_stormtrooper_m.iff','','',0,0,0,1,3,0,0.99,0,0.1,-5496,6,3982.89,5,'crackdown_stormtrooper','mob/creature_names',1), (47513081145,0,2,'object/mobile/shared_dressed_royal_officer_human_female_01.iff','','',0,0,0,1,1,0,-0.02,0,1,-5501.37,6,3986.25,5,'naboo_police','mob/creature_names',0.95), (47513081147,0,2,'object/mobile/shared_dressed_commoner_old_zabrak_female_02.iff','','',0,0,0,1,1,0,1,0,-0.09,-5470.19,6,3968.85,5,'commoner','mob/creature_names',1), (47513081149,0,2,'object/mobile/shared_dressed_commoner_fat_human_female_01.iff','','',0,0,0,1,1,0,0.67,0,0.75,-5403.99,6,3996.96,5,'commoner','mob/creature_names',1), (47513081151,0,2,'object/mobile/shared_dressed_artisan_trainer_03.iff','','',0,0,0,1,1,0,1,0,0,-5393.2,6,4010.63,5,'technician','mob/creature_names',0.89), (47513081153,0,2,'object/mobile/shared_dressed_commoner_old_human_male_01.iff','','',0,0,0,1,1,0,0.85,0,-0.52,-5627.21,6,4062.29,5,'commoner','mob/creature_names',1), (47513081155,0,2,'object/mobile/shared_dressed_commoner_tatooine_nikto_male_05.iff','','',0,0,0,1,1,0,-0.44,0,0.9,-5632.25,6,4137.72,5,'commoner','mob/creature_names',1), (47513081157,0,2,'object/mobile/shared_dressed_stormtrooper_m.iff','','',0,0,0,1,3,0,1,0,-0.03,-5671.62,6.1,4038.61,5,'crackdown_stormtrooper','mob/creature_names',1), (47513081159,0,2,'object/mobile/shared_dressed_stormtrooper_m.iff','','',0,0,0,1,3,0,1,0,0.02,-5687.08,6.02,4038.4,5,'crackdown_stormtrooper','mob/creature_names',1), (47513081163,0,2,'object/mobile/shared_dressed_stormtrooper_black_black.iff','','',0,0,0,1,3,0,0.27,0,0.96,-5671.21,6,4146.8,5,'stormtrooper_novatrooper_ensign','mob/creature_names',1.1), (47513081165,0,2,'object/mobile/shared_dressed_commoner_old_zabrak_female_02.iff','','',0,0,0,1,1,0,-0.03,0,1,-5690.65,6,4124.1,5,'commoner','mob/creature_names',0.99), (47513081167,0,2,'object/mobile/shared_dressed_commoner_old_human_male_02.iff','','',0,0,0,1,1,0,0.01,0,1,-5709.29,6,4134.09,5,'commoner','mob/creature_names',1), (47513081169,0,2,'object/mobile/shared_dressed_stormtrooper_rifleman_m.iff','','',0,0,0,1,3,0,0.99,0,0.13,-5733.6,6,4109.89,5,'crackdown_stormtrooper_rifleman','mob/creature_names',1), (47513081171,0,2,'object/mobile/shared_dressed_stormtrooper_m.iff','','',0,0,0,1,3,0,0.26,0,0.96,-5733.78,6,4111.28,5,'crackdown_stormtrooper','mob/creature_names',1), (47513081173,0,2,'object/mobile/shared_dressed_commoner_naboo_twilek_male_02.iff','','',0,0,0,1,1,0,0.76,0,0.65,-5751.98,6,4147.86,5,'commoner','mob/creature_names',1), (47513081175,0,2,'object/mobile/shared_dressed_commoner_naboo_bothan_male_01.iff','','',0,0,0,1,1,0,-0.17,0,0.99,-5663.64,6,4136.03,5,'commoner','mob/creature_names',1.1), (47513081177,0,2,'object/mobile/shared_dressed_stormtrooper_m.iff','','',0,0,0,1,3,0,-0.37,0,0.93,-5722.06,6.52,4185.15,5,'crackdown_stormtrooper','mob/creature_names',1), (47513081179,0,2,'object/mobile/shared_dressed_philosopher.iff','','',0,0,0,1,1,0,0,0,1,-5657.23,6,4216.6,5,'philosopher','mob/creature_names',1), (47513081181,0,2,'object/mobile/shared_dressed_commoner_tatooine_aqualish_male_08.iff','','',0,0,0,1,1,0,1,0,0,-5657.23,6,4217.6,5,'fringer','mob/creature_names',1.01), (47513081183,0,2,'object/mobile/shared_dressed_commoner_naboo_moncal_male_02.iff','','',0,0,0,1,1,0,0.92,0,0.38,-5803.39,6,4101.34,5,'commoner','mob/creature_names',1), (47513081185,0,2,'object/mobile/shared_dressed_commoner_naboo_bothan_female_01.iff','','',0,0,0,1,1,0,0.63,0,0.77,-5729.03,6,4120.76,5,'commoner','mob/creature_names',1), (47513081187,0,2,'object/mobile/shared_dressed_stormtrooper_m.iff','','',0,0,0,1,3,0,0.02,0,1,-5802.04,6,4095.09,5,'crackdown_stormtrooper','mob/creature_names',1), (47513081189,0,2,'object/mobile/shared_dressed_commoner_naboo_human_female_08.iff','','',0,0,0,1,1,0,0.07,0,1,-5675.02,6,4238.39,5,'commoner','mob/creature_names',1.05), (47513081191,0,2,'object/mobile/shared_dressed_scout_trooper_white_white.iff','','',0,0,0,1,3,0,0.03,0,1,-5806.81,13.18,4063.66,5,'crackdown_scout_trooper','mob/creature_names',1), (47513081193,0,2,'object/mobile/shared_dressed_commoner_fat_twilek_female_01.iff','','',0,0,0,1,1,0,0,0,1,-5827.81,6,4172.98,5,'fringer','mob/creature_names',0.98), (47513081195,0,2,'object/mobile/shared_gungan_male.iff','','',0,0,0,1,1,0,1,0,0,-5827.81,6,4173.98,5,'otolla_gungan','mob/creature_names',1), (47513081199,5475487,2,'object/mobile/shared_ankura_gungan.iff','','',0,0,0,1,1,0,0,0,1,3.05,2.13,71.45,5,'ankura_gungan','mob/creature_names',1), (47513081201,5475487,2,'object/mobile/shared_dressed_criminal_assassin_human_male_01.iff','','',0,0,0,1,1,0,1,0,0,3.05,2.13,72.55,5,'smuggler','mob/creature_names',1.07), (47513081203,5475487,2,'object/mobile/shared_dressed_criminal_slicer_human_female_01.iff','','',0,0,0,1,1,0,0,0,1,-11.54,2.13,75.97,5,'info_broker','mob/creature_names',1), (47513081205,5475487,2,'object/mobile/shared_gungan_s04_male.iff','','',0,0,0,1,1,0,1,0,0,-11.54,2.13,76.9,5,'gungan_hunter','mob/creature_names',1), (47513081207,5475487,2,'object/mobile/shared_dressed_noble_human_male_04.iff','','',0,0,0,1,1,0,0.73,0,-0.68,19.26,2.13,56.13,5,'noble','mob/creature_names',1), (47513081209,5475487,2,'object/mobile/shared_dressed_entertainer_trainer_twk_female_01.iff','','',0,0,0,1,1,0,0.03,0,1,21.99,2.13,64.05,5,'quest_crowd_pleaser_theater_manager','mob/creature_names',0.8), (47513081211,5475486,2,'object/mobile/shared_dressed_noble_trandoshan_male_01.iff','','',0,0,0,1,1,0,0.93,0,-0.36,28.93,2.13,58.19,5,'noble','mob/creature_names',1), (47513081213,5475485,2,'object/mobile/shared_dressed_rsf_commando.iff','','',0,0,0,1,1,0,0,0,1,-16.41,1.13,38.49,5,'rsf_commando','mob/creature_names',1), (47513081215,5475485,2,'object/mobile/shared_gungan_s04_male.iff','','',0,0,0,1,1,0,1,0,0,-16.41,1.03,39.58,5,'gungan_hunter','mob/creature_names',0.83), (47513081217,5475485,2,'object/mobile/shared_dressed_noble_old_twk_male_01.iff','','',0,0,0,1,1,0,0,0,1,19.64,0.76,42.46,5,'noble','mob/creature_names',1), (47513081219,5475485,2,'object/mobile/shared_dressed_criminal_pirate_human_male_01.iff','','',0,0,0,1,1,0,1,0,0,19.64,0.66,43.55,5,'smuggler','mob/creature_names',1), (47513081221,5475485,2,'object/mobile/shared_dressed_commoner_tatooine_rodian_male_01.iff','','',0,0,0,1,1,0,0.92,0,0.38,18.54,0.66,43.55,5,'commoner','mob/creature_names',1), (47513081223,5475485,2,'object/mobile/shared_dressed_commoner_fat_human_female_01.iff','','',0,0,0,1,1,0,0,0,1,12.47,2.41,24.51,5,'mountain_villager','mob/creature_names',1), (47513081225,5475485,2,'object/mobile/shared_gungan_s02_male.iff','','',0,0,0,1,1,0,1,0,0,12.47,2.31,25.6,5,'gungan_guard','mob/creature_names',0.95), (47513081227,5475485,2,'object/mobile/shared_dressed_commoner_naboo_bothan_male_02.iff','','',0,0,0,1,1,0,0,0,1,-22.55,1.61,33.23,5,'farmer_rancher','mob/creature_names',1), (47513081229,5475485,2,'object/mobile/shared_dressed_commoner_fat_twilek_male_01.iff','','',0,0,0,1,1,0,1,0,0,-22.55,1.52,34.22,5,'vendor','mob/creature_names',1.1), (47513081231,5475480,2,'object/mobile/shared_dressed_commoner_tatooine_sullustan_male_03.iff','','',0,0,0,1,1,0,0,0,1,-6.34,0.6,-9.38,5,'farmer_agriculturalist','mob/creature_names',1), (47513081233,5475480,2,'object/mobile/shared_dressed_plainsfolk.iff','','',0,0,0,1,1,0,1,0,0,-6.34,0.6,-8.28,5,'plainsfolk','mob/creature_names',1), (47513081235,0,2,'object/mobile/shared_dark_trooper.iff','','',0,0,0,1,3,0,0.99,0,0.11,-5807.59,6,4036.85,5,'crackdown_elite_dark_trooper','mob/creature_names',1.1), (47513081237,0,2,'object/mobile/shared_dressed_royal_officer_human_male_01.iff','','',0,0,0,1,1,0,0.78,0,-0.63,-5807.1,6,4035.66,5,'naboo_police','mob/creature_names',1), (47513081239,0,2,'object/mobile/shared_dressed_commoner_tatooine_rodian_male_02.iff','','',0,0,0,1,1,0,0.52,0,0.85,-5858.79,6,4147.3,5,'commoner','mob/creature_names',1), (47513081241,0,2,'object/mobile/shared_dressed_stormtrooper_m.iff','','',0,0,0,1,3,0,-0.03,0,1,-5710.12,7,4261.56,5,'crackdown_stormtrooper','mob/creature_names',1), (47513081243,0,2,'object/mobile/shared_dressed_scout_trooper_black_black.iff','','',0,0,0,1,3,0,0.98,0,-0.22,-5857.35,6,4163.42,5,'crackdown_storm_commando','mob/creature_names',1), (47513081245,0,2,'object/mobile/shared_dark_trooper.iff','','',0,0,0,1,3,0,1,0,0.08,-5753.52,6,4219.88,5,'fbase_elite_dark_trooper_hard','mob/creature_names',1.1), (47513081247,0,2,'object/mobile/shared_dressed_commoner_tatooine_bith_female_01.iff','','',0,0,0,1,1,0,-0.05,0,1,-5741.57,6,4304.91,5,'commoner','mob/creature_names',1), (47513081249,1677400,2,'object/mobile/shared_dressed_criminal_slicer_human_male_01.iff','','',0,0,0,1,1,0,0,0,1,-22.61,1.6,-11.47,5,'smuggler','mob/creature_names',0.98), (47513081251,1677400,2,'object/mobile/shared_dressed_commoner_tatooine_trandoshan_female_01.iff','','',0,0,0,1,1,0,1,0,0,-22.61,1.6,-10.37,5,'fringer','mob/creature_names',1), (47513081253,1677399,2,'object/mobile/shared_gungan_s02_male.iff','','',0,0,0,1,1,0,0,0,1,-11.73,1.6,-16.47,5,'gungan_outcast','mob/creature_names',1), (47513081255,1677399,2,'object/mobile/shared_dressed_entertainer_trainer_human_female_01.iff','','',0,0,0,1,1,0,1,0,0,-11.73,1.6,-15.47,5,'entertainer','mob/creature_names',0.89), (47513081257,1677395,2,'object/mobile/shared_dressed_eisley_officer_bothan_male_01.iff','','',0,0,0,1,1,0,0,0,1,16.66,1.28,-3.47,5,'bothan_information_broker','mob/creature_names',1), (47513081259,1677395,2,'object/mobile/shared_dressed_criminal_pirate_human_male_01.iff','','',0,0,0,1,1,0,1,0,0,16.66,1.28,-2.37,5,'spacer','mob/creature_names',1), (47513081261,1677395,2,'object/mobile/shared_dressed_combatmedic_trainer_human_female_01.iff','','',0,0,0,1,1,0,0.92,0,0.38,15.56,1.28,-2.37,5,'scientist','mob/creature_names',1.04), (47513081263,1677394,2,'object/mobile/shared_dressed_commoner_tatooine_aqualish_female_03.iff','','',0,0,0,1,1,0,0,0,1,4.29,1,-7.62,5,'vendor','mob/creature_names',1), (47513081265,1677394,2,'object/mobile/shared_dressed_commoner_naboo_twilek_female_01.iff','','',0,0,0,1,1,0,1,0,0,4.29,1,-6.52,5,'farmer_agriculturalist','mob/creature_names',1), (47513081267,1677394,2,'object/mobile/shared_dressed_plainsfolk.iff','','',0,0,0,1,1,0,0,0,1,-4.21,1,1.15,5,'plainsfolk','mob/creature_names',1.09), (47513081269,1677394,2,'object/mobile/shared_dressed_rsf_captain.iff','','',0,0,0,1,1,0,1,0,0,-4.21,1,2.15,5,'rsf_captain','mob/creature_names',1), (47513081271,0,2,'object/mobile/shared_dressed_commoner_naboo_human_male_03.iff','','',0,0,0,1,1,0,0.3,0,0.95,-5727.93,6,4316.95,5,'commoner','mob/creature_names',0.85), (47513081273,0,2,'object/mobile/shared_dressed_rebel_trooper_twk_female_01.iff','Ilag','Moganath',0,0,0,1,1,0,0,0,1,-5697.07,6,4312.92,5,'twilek_base_female','npc_name',1), (47513081275,0,2,'object/mobile/shared_dressed_entertainer_trainer_twk_female_01.iff','','',0,0,0,1,1,0,1,0,0,-5697.07,6,4313.92,5,'entertainer','mob/creature_names',1), (47513081277,0,2,'object/mobile/shared_dressed_commoner_tatooine_bith_female_04.iff','','',0,0,0,1,1,0,0.8,0,0.6,-5686.06,6,4307.41,5,'commoner','mob/creature_names',1), (47513081279,0,2,'object/mobile/shared_dark_trooper.iff','','',0,0,0,1,3,0,0.67,0,0.74,-5746.98,6,4395.7,5,'fbase_elite_dark_trooper_hard','mob/creature_names',1.1), (47513081281,0,2,'object/mobile/shared_dark_trooper.iff','','',0,0,0,1,3,0,-0.32,0,0.95,-5748.58,6,4396.32,5,'fbase_elite_dark_trooper_hard','mob/creature_names',1.1), (47513081283,0,2,'object/mobile/shared_dressed_stormtrooper_sand_trooper_m.iff','','',0,0,0,1,3,0,0.76,0,0.65,-5738.92,6,4399.02,5,'fbase_elite_sand_trooper_hard','mob/creature_names',1), (47513081285,0,2,'object/mobile/shared_dressed_imperial_colonel_m.iff','','',0,0,0,1,3,0,0.77,0,0.63,-5747.45,6,4399.96,5,'fbase_imperial_colonel_hard','mob/creature_names',1), (47513081287,0,2,'object/mobile/shared_dressed_commoner_tatooine_nikto_male_01.iff','','',0,0,0,1,1,0,0.83,0,-0.56,-5757.67,6,4411.04,5,'commoner','mob/creature_names',0.85), (47513081289,0,2,'object/mobile/shared_dressed_imperial_officer_m_5.iff','','',0,0,0,1,1,0,0,0,1,-5778.43,6,4396.54,5,'comm_operator','mob/creature_names',1), (47513081291,0,2,'object/mobile/shared_dressed_criminal_pirate_human_male_01.iff','','',0,0,0,1,1,0,1,0,0,-5778.43,6,4397.54,5,'info_broker','mob/creature_names',1), (47513081293,0,2,'object/mobile/shared_dressed_stormtrooper_sand_trooper_m.iff','','',0,0,0,1,3,0,0.9,0,-0.44,-5741.87,6,4398.95,5,'fbase_elite_sand_trooper_hard','mob/creature_names',1), (47513081295,0,2,'object/mobile/shared_dressed_stormtrooper_m.iff','','',0,0,0,1,3,0,0.9,0,-0.43,-5739.64,6,4426.34,5,'crackdown_stormtrooper','mob/creature_names',1), (47513081297,0,2,'object/mobile/shared_dressed_scout_trooper_white_white.iff','','',0,0,0,1,3,0,-0.23,0,0.97,-5779.85,8.03,4406.52,5,'crackdown_scout_trooper','mob/creature_names',1), (47513081299,0,2,'object/mobile/shared_dressed_commoner_old_human_female_02.iff','','',0,0,0,1,1,0,-0.33,0,0.94,-5652.75,6,4428.06,5,'commoner','mob/creature_names',0.95), (47513081301,0,2,'object/mobile/shared_dressed_commoner_naboo_moncal_female_02.iff','','',0,0,0,1,1,0,-0.65,0,0.76,-5761.76,6,4450.6,5,'commoner','mob/creature_names',1), (47513081303,0,2,'object/mobile/shared_dressed_commoner_tatooine_bith_male_05.iff','','',0,0,0,1,1,0,-0.05,0,1,-5818.26,6,4407.8,5,'commoner','mob/creature_names',0.98), (47513081305,0,2,'object/mobile/shared_dressed_stormtrooper_m.iff','','',0,0,0,1,3,0,0.38,0,0.92,-5700.38,6,4459.44,5,'crackdown_stormtrooper','mob/creature_names',1), (47513081307,0,2,'object/mobile/shared_dressed_royal_officer_human_female_01.iff','','',0,0,0,1,1,0,0.89,0,-0.46,-5857.09,6,4380.89,5,'naboo_police','mob/creature_names',1), (47513081309,1305927,2,'object/mobile/shared_dressed_rsf_palace_guard.iff','','',0,0,0,1,1,0,0,0,1,1.03,1.75,-21.32,5,'rsf_palace_guard','mob/creature_names',0.85), (47513081311,1305927,2,'object/mobile/shared_dressed_commoner_tatooine_aqualish_male_04.iff','','',0,0,0,1,1,0,1,0,0,1.03,1.75,-20.32,5,'farmer_rancher','mob/creature_names',1), (47513081313,1305926,2,'object/mobile/shared_dressed_robber_twk_female_01.iff','','',0,0,0,1,1,0,0,0,1,4.85,1.75,-13.02,5,'bodyguard','mob/creature_names',1), (47513081315,1305926,2,'object/mobile/shared_dressed_mercenary_messanger_rod_m.iff','','',0,0,0,1,1,0,1,0,0,4.85,1.73,-11.92,5,'pilot','mob/creature_names',1), (47513081317,1305926,2,'object/mobile/shared_dressed_eisley_officer_bothan_female_01.iff','','',0,0,0,1,1,0,0.92,0,0.38,3.75,1.73,-11.92,5,'bothan_diplomat','mob/creature_names',0.99), (47513081319,1305926,2,'object/mobile/shared_dressed_rsf_palace_guard.iff','','',0,0,0,1,1,0,0,0,1,6.49,1.15,-8.41,5,'rsf_palace_guard','mob/creature_names',1), (47513081321,1305926,2,'object/mobile/shared_dressed_commoner_fat_zabrak_male_02.iff','','',0,0,0,1,1,0,1,0,0,6.49,1.15,-7.31,5,'businessman','mob/creature_names',1), (47513081323,1305920,2,'object/mobile/shared_dressed_commoner_tatooine_aqualish_male_02.iff','','',0,0,0,1,1,0,-0.71,0,0.71,22.09,9,12.32,5,'commoner','mob/creature_names',0.96), (47513081325,1305920,2,'object/mobile/shared_dressed_commoner_tatooine_nikto_male_06.iff','','',0,0,0,1,1,0,0.71,0,0.71,20.09,9,12.32,5,'commoner','mob/creature_names',1), (47513081327,1305920,2,'object/mobile/shared_r5.iff','R5-Y2','',0,0,0,1,1,0,-0.5,0,0.86,19.5,9,13.3,5,'r5','mob/creature_names',1), (47513081329,1305918,2,'object/mobile/shared_aqualish_s02_male.iff','Ffilaomnip','Opida',0,0,0,1,1,0,0,0,1,5.07,2.25,9.55,5,'aqualish_base_male','npc_name',1), (47513081331,1305918,2,'object/mobile/shared_dressed_rsf_pilot.iff','','',0,0,0,1,1,0,1,0,0,5.07,2.25,10.65,5,'rsf_pilot','mob/creature_names',0.89), (47513081333,0,2,'object/mobile/shared_dressed_criminal_smuggler_human_female_01.iff','','',0,0,0,1,1,0,0,0,1,-5886.59,6,4368.23,5,'slicer','mob/creature_names',1), (47513081335,0,2,'object/mobile/shared_dressed_rsf_pilot.iff','','',0,0,0,1,1,0,1,0,0,-5886.59,6,4369.23,5,'rsf_pilot','mob/creature_names',1), (47513081339,0,2,'object/mobile/shared_dressed_stormtrooper_sand_trooper_m.iff','','',0,0,0,1,3,0,0.79,0,-0.62,-5930.06,6,4333.49,5,'fbase_sand_trooper_hard','mob/creature_names',1), (47513081341,0,2,'object/mobile/shared_dressed_commoner_tatooine_nikto_male_06.iff','','',0,0,0,1,1,0,0.72,0,-0.69,-5889.07,6,4235.87,5,'commoner','mob/creature_names',1), (47513081343,0,2,'object/mobile/shared_dressed_commoner_tatooine_aqualish_female_07.iff','','',0,0,0,1,1,0,0.65,0,0.76,-5968.83,6,4287.92,5,'commoner','mob/creature_names',1), (47513081345,0,2,'object/mobile/shared_dressed_commoner_fat_human_male_02.iff','','',0,0,0,1,1,0,0.96,0,0.28,-5996.82,6,4309.73,5,'commoner','mob/creature_names',1.02), (47513081347,0,2,'object/mobile/shared_dressed_commoner_naboo_zabrak_female_02.iff','','',0,0,0,1,1,0,0.18,0,0.98,-5928.72,6,4217.24,5,'commoner','mob/creature_names',1), (47513081349,0,2,'object/mobile/shared_dressed_commoner_naboo_bothan_male_01.iff','','',0,0,0,1,1,0,0.05,0,1,-5941.62,6,4339.4,5,'commoner','mob/creature_names',1), (47513081351,0,2,'object/mobile/shared_dressed_commoner_naboo_human_male_01.iff','','',0,0,0,1,1,0,0.78,0,0.62,-5996.87,6,4269.75,5,'commoner','mob/creature_names',0.95), (47513081353,0,2,'object/mobile/shared_dressed_rsf_security_officer.iff','','',0,0,0,1,1,0,0.98,0,0.19,-5952.59,6,4211.26,5,'rsf_security_officer','mob/creature_names',1), (47513081355,0,2,'object/mobile/shared_dressed_rsf_security_officer.iff','','',0,0,0,1,1,0,0.98,0,0.19,-5953.01,6,4212.3,5,'rsf_security_officer','mob/creature_names',1), (47513081357,0,2,'object/mobile/shared_dressed_rsf_security_guard.iff','','',0,0,0,1,1,0,0.98,0,0.19,-5957.22,6,4219.65,5,'rsf_security_guard','mob/creature_names',0.89), (47513081359,0,2,'object/mobile/shared_dressed_rsf_security_officer.iff','','',0,0,0,1,1,0,0.82,0,-0.58,-5967.81,6,4243.68,5,'rsf_security_officer','mob/creature_names',1), (47513081361,0,2,'object/mobile/shared_dressed_rsf_security_officer.iff','','',0,0,0,1,1,0,0.98,0,0.19,-5953.44,6,4213.34,5,'rsf_security_officer','mob/creature_names',1), (47513081363,0,2,'object/mobile/shared_dressed_commoner_tatooine_sullustan_male_04.iff','','',0,0,0,1,1,0,0.98,0,0.22,-6036.18,6,4286.85,5,'commoner','mob/creature_names',0.95), (47513081365,0,2,'object/mobile/shared_dressed_commoner_tatooine_trandoshan_female_03.iff','','',0,0,0,1,1,0,0.79,0,-0.61,-6055.49,6,4319.64,5,'commoner','mob/creature_names',1), (47513081367,0,2,'object/mobile/shared_dressed_commoner_tatooine_devaronian_male_03.iff','','',0,0,0,1,1,0,-0.56,0,0.83,-6040.72,6,4260.46,5,'commoner','mob/creature_names',1), (47513081369,0,2,'object/mobile/shared_dressed_commoner_naboo_twilek_female_01.iff','','',0,0,0,1,1,0,0.99,0,0.17,-6012.09,6,4241.61,5,'commoner','mob/creature_names',1), (47513081371,0,2,'object/mobile/shared_dressed_commoner_tatooine_nikto_male_06.iff','','',0,0,0,1,1,0,0.73,0,0.68,-6023.52,6,4213.29,5,'commoner','mob/creature_names',0.99), (47513081373,0,2,'object/mobile/shared_dressed_naboo_police.iff','','',0,0,0,1,1,0,0.73,0,-0.68,-5442.59,-151.85,-82.03,5,'thief','mob/creature_names',1), (47513081377,0,2,'object/mobile/shared_dressed_rsf_security_guard.iff','','',0,0,0,1,1,0,-0.76,0,0.65,-5547.95,-150,-55.83,5,'rsf_security_guard','mob/creature_names',0.89), (47513081381,0,2,'object/mobile/shared_dressed_naboo_police.iff','','',0,0,0,1,1,0,0.63,0,0.78,-5463.88,-152.86,-86.58,5,'thief','mob/creature_names',1.1), (47513081383,1865364,2,'object/mobile/shared_gungan_male.iff','','',0,0,0,1,1,0,0,0,1,22.03,1.28,-8.06,5,'gungan_hermit','mob/creature_names',1), (47513081385,1865364,2,'object/mobile/shared_dressed_hoodlum_zabrak_male_01.iff','','',0,0,0,1,1,0,1,0,0,22.03,1.28,-6.96,5,'bodyguard','mob/creature_names',1), (47513081387,1865364,2,'object/mobile/shared_dressed_bountyhunter_trainer_04.iff','','',0,0,0,1,1,0,0.92,0,0.38,20.93,1.28,-6.96,5,'bounty_hunter','mob/creature_names',1.01), (47513081389,1865365,2,'object/mobile/shared_gungan_male.iff','','',0,0,0,1,1,0,0,0,1,-19.4,1.6,7.61,5,'otolla_gungan','mob/creature_names',1), (47513081391,1865365,2,'object/mobile/shared_dressed_noble_zabrak_female_01.iff','','',0,0,0,1,1,0,1,0,0,-19.4,1.6,8.71,5,'noble','mob/creature_names',1), (47513081393,0,2,'object/mobile/shared_dressed_commoner_tatooine_ishitib_male_01.iff','','',0,0,0,1,1,0,-0.62,0,0.78,-5510.78,-150,-95.56,5,'commoner','mob/creature_names',1), (47513081395,0,2,'object/mobile/shared_dressed_commoner_tatooine_sullustan_male_05.iff','','',0,0,0,1,1,0,0.71,0,-0.7,-5540.16,-150,-70.55,5,'commoner','mob/creature_names',1.05), (47513081397,0,2,'object/mobile/shared_dressed_commoner_naboo_zabrak_female_01.iff','','',0,0,0,1,1,0,-0.26,0,0.96,-5563.67,-150,-26.08,5,'commoner','mob/creature_names',1), (47513081399,0,2,'object/mobile/shared_dressed_noble_human_male_02.iff','Rovim','Minnoni',0,0,0,1,1,0,-0.64,0,0.77,-5551.4,-150,-52.11,5,'human_base_male','npc_name',0.98), (47513081401,0,2,'object/mobile/shared_dressed_commoner_naboo_twilek_male_02.iff','','',0,0,0,1,1,0,0.48,0,0.88,-5519.18,-150,19.43,5,'commoner','mob/creature_names',1), (47513081403,0,2,'object/mobile/shared_dressed_commoner_tatooine_sullustan_male_01.iff','','',0,0,0,1,1,0,0.61,0,0.79,-5563,-150,-50.68,5,'commoner','mob/creature_names',1), (47513081405,0,2,'object/mobile/shared_dressed_commoner_tatooine_aqualish_female_07.iff','','',0,0,0,1,1,0,0.98,0,0.18,-5541.6,-150,12.82,5,'commoner','mob/creature_names',1.07), (47513081407,0,2,'object/mobile/shared_junk_sheani.iff','Sheani','',0,0,0,1,1,0,-0.11,0,0.99,-5496.62,-150,-71.39,5,'twilek_base_female','npc_name',1), (47513081409,0,2,'object/mobile/shared_dressed_commoner_tatooine_bith_female_04.iff','','',0,0,0,1,1,0,0.17,0,0.99,-5482.29,-150,-69.79,5,'commoner','mob/creature_names',1), (47513081411,0,2,'object/mobile/shared_dressed_commoner_naboo_human_female_02.iff','Lareen','Dantara',0,0,0,1,1,0,0.84,0,0.54,-5498.98,-150,-4.52,5,'human_base_female','npc_name',1), (47513081413,0,2,'object/mobile/shared_dressed_commoner_tatooine_aqualish_male_04.iff','','',0,0,0,1,1,0,-0.38,0,0.92,-5478.22,-150,-44.09,5,'commoner','mob/creature_names',0.8), (47513081415,0,2,'object/mobile/shared_dressed_commoner_naboo_human_male_02.iff','','',0,0,0,1,1,0,-0.7,0,0.72,-5469.32,-150,-1.26,5,'commoner','mob/creature_names',1), (47513081417,0,2,'object/mobile/shared_dressed_rsf_security_officer.iff','','',0,0,0,1,1,0,0.95,0,0.31,-5549.21,-149.14,-45.88,5,'rsf_security_officer','mob/creature_names',1), (47513081423,0,2,'object/mobile/shared_dressed_rsf_security_guard.iff','','',0,0,0,1,1,0,0.72,0,-0.7,-5548.36,-149,-24.01,5,'rsf_security_guard','mob/creature_names',1), (47513081425,0,2,'object/mobile/shared_dressed_noble_old_zabrak_female_02.iff','','',0,0,0,1,1,0,0.92,0,0.39,-5569.78,-150,-26.23,5,'noble','mob/creature_names',1), (47513081427,0,2,'object/mobile/shared_gungan_s02_male.iff','Brass','Marshoo',0,0,0,1,1,0,0.66,0,0.72,-5629.88,-156.28,-3.19,5,'gungan_base_male','npc_name',1), (47513081429,0,2,'object/mobile/shared_dressed_noble_bothan_male_01.iff','','',0,0,0,1,1,0,0.73,0,0.69,-5573.75,-150,-33.6,5,'noble','mob/creature_names',0.95), (47513081431,0,2,'object/mobile/shared_dressed_imperial_officer_m_3.iff','','',0,0,0,1,3,0,-0.01,0,1,5369.88,327,-1566.5,5,'crackdown_specialist_noncom','mob/creature_names',1), (47513081433,0,2,'object/mobile/shared_dressed_stormtrooper_bombardier_m.iff','','',0,0,0,1,3,0,1,0,0.05,5368.89,327,-1583.81,5,'crackdown_stormtrooper_bombardier','mob/creature_names',1), (47513081435,0,2,'object/mobile/shared_dressed_stormtrooper_m.iff','','',0,0,0,1,3,0,-0.46,0,0.89,5340.47,327.72,-1537.26,5,'crackdown_stormtrooper','mob/creature_names',1), (47513081437,0,2,'object/mobile/shared_r3.iff','R3-N5','',0,0,0,1,1,0,0.95,0,-0.32,5245.06,326.06,-1569.22,5,'r3','mob/creature_names',1), (47513081439,0,2,'object/mobile/shared_eg6_power_droid.iff','','',0,0,0,1,1,0,0.87,0,0.5,5236,326.06,-1566.4,5,'eg6_power_droid','mob/creature_names',0.95), (47513081443,0,2,'object/mobile/shared_dressed_eisley_officer_bothan_female_01.iff','','',0,0,0,1,1,0,1,0,0,5331.01,326.51,-1557.65,5,'bothan_diplomat','mob/creature_names',1), (47513081445,0,2,'object/mobile/shared_dressed_rebel_trooper_bith_m_01.iff','Srevikoc','',0,0,0,1,1,0,0,0,1,5331.01,326.57,-1558.65,5,'bith_base_male','npc_name',1), (47513081447,0,2,'object/mobile/shared_dressed_commoner_tatooine_devaronian_male_02.iff','','',0,0,0,1,1,0,0.68,0,0.73,5360.86,327,-1552.36,5,'commoner','mob/creature_names',1.06), (47513081449,0,2,'object/mobile/shared_dressed_imperial_officer_m.iff','','',0,0,0,1,3,0,0,0,1,5307.88,326,-1584.6,5,'imperial_recruiter','mob/creature_names',1), (47513081451,0,2,'object/mobile/shared_dressed_stormtrooper_m.iff','','',0,0,0,1,3,0,-0.62,0,0.78,5178.3,318.97,-1578,5,'crackdown_stormtrooper','mob/creature_names',1), (47513081453,0,2,'object/mobile/shared_dressed_scout_trooper_white_white.iff','','',0,0,0,1,3,0,-0.62,0,0.78,5177.1,326,-1552.9,5,'crackdown_scout_trooper','mob/creature_names',1), (47513081455,0,2,'object/mobile/shared_dressed_stormtrooper_m.iff','','',0,0,0,1,3,0,0.91,0,0.41,5163.4,346.5,-1522,5,'crackdown_stormtrooper','mob/creature_names',1), (47513081457,0,2,'object/mobile/shared_dressed_plainsfolk.iff','','',0,0,0,1,1,0,0,0,1,5168.81,346.5,-1500.16,5,'plainsfolk','mob/creature_names',1), (47513081459,0,2,'object/mobile/shared_dressed_mercenary_weak_rod_m.iff','','',0,0,0,1,1,0,1,0,0,5168.81,346.5,-1499.16,5,'mercenary','mob/creature_names',0.89), (47513081461,0,2,'object/mobile/shared_dressed_commoner_tatooine_sullustan_male_05.iff','','',0,0,0,1,1,0,1,0,-0.06,5147.08,346.5,-1532.98,5,'commoner','mob/creature_names',1), (47513081465,0,2,'object/mobile/shared_dressed_stormtrooper_m.iff','','',0,0,0,1,3,0,0.95,0,0.31,5165.1,346.5,-1484.6,5,'crackdown_stormtrooper','mob/creature_names',1), (47513081467,0,2,'object/mobile/shared_dressed_imperial_officer_m_4.iff','','',0,0,0,1,3,0,-0.3,0,0.96,5157.32,347.13,-1489.75,5,'crackdown_command_security_guard','mob/creature_names',1.04), (47513081469,0,2,'object/mobile/shared_dressed_commoner_tatooine_trandoshan_female_01.iff','','',0,0,0,1,1,0,0.63,0,0.78,5109.29,350,-1553.02,5,'commoner','mob/creature_names',1), (47513081471,0,2,'object/mobile/shared_dressed_imperial_officer_m.iff','','',0,0,0,1,3,0,0,0,1,5138.29,350,-1480.39,5,'imperial_recruiter','mob/creature_names',1), (47513081473,0,2,'object/mobile/shared_dressed_commoner_tatooine_devaronian_male_02.iff','','',0,0,0,1,1,0,0.38,0,0.92,5077.95,350,-1494.55,5,'commoner','mob/creature_names',1.09), (47513081475,0,2,'object/mobile/shared_dressed_commoner_old_twilek_male_01.iff','','',0,0,0,1,1,0,-0.08,0,1,5114.68,350,-1427.31,5,'commoner','mob/creature_names',1), (47513081477,0,2,'object/mobile/shared_dressed_commoner_tatooine_rodian_female_02.iff','','',0,0,0,1,1,0,1,0,0.01,5170.98,350,-1407.79,5,'commoner','mob/creature_names',0.85), (47513081479,0,2,'object/mobile/shared_dressed_criminal_assassin_human_male_01.iff','','',0,0,0,1,1,0,0,0,1,5185.84,350,-1388.11,5,'spacer','mob/creature_names',1), (47513081481,0,2,'object/mobile/shared_dressed_rebel_specforce_pathfinder_moncal_female_01.iff','Pokeyap','Wavingsky',0,0,0,1,1,0,1,0,0,5185.84,350,-1387.11,5,'moncal_base_female','npc_name',1), (47513081483,0,2,'object/mobile/shared_dressed_commoner_tatooine_nikto_male_02.iff','','',0,0,0,1,1,0,1,0,-0.06,5057.39,360,-1457.28,5,'commoner','mob/creature_names',1), (47513081485,0,2,'object/mobile/shared_dressed_scout_trooper_white_white.iff','','',0,0,0,1,3,0,0.75,0,0.66,5048.7,352.89,-1530.8,5,'crackdown_scout_trooper','mob/creature_names',1), (47513081487,0,2,'object/mobile/shared_dressed_commoner_naboo_human_female_05.iff','','',0,0,0,1,1,0,0,0,1,5012.47,360,-1495.11,5,'vendor','mob/creature_names',1), (47513081489,0,2,'object/mobile/shared_gungan_male.iff','','',0,0,0,1,1,0,1,0,0,5012.47,360,-1494.11,5,'gungan_hermit','mob/creature_names',0.96), (47513081491,0,2,'object/mobile/shared_dressed_commoner_naboo_human_male_05.iff','','',0,0,0,1,1,0,0.98,0,-0.18,5012.26,360,-1459.85,5,'commoner','mob/creature_names',1), (47513081493,1419019,2,'object/mobile/shared_dressed_mercenary_weak_hum_f.iff','','',0,0,0,1,1,0,0,0,1,-21.44,1.6,-14.09,5,'mercenary','mob/creature_names',0.85), (47513081495,1419019,2,'object/mobile/shared_dressed_rsf_captain.iff','','',0,0,0,1,1,0,1,0,0,-21.44,1.6,-12.99,5,'rsf_captain','mob/creature_names',1), (47513081497,1419017,2,'object/mobile/shared_dressed_criminal_slicer_human_female_01.iff','','',0,0,0,1,1,0,0,0,1,-5.24,1.6,-8.58,5,'slicer','mob/creature_names',1), (47513081499,1419017,2,'object/mobile/shared_dressed_criminal_smuggler_human_male_01.iff','','',0,0,0,1,1,0,1,0,0,-5.24,1.6,-7.58,5,'smuggler','mob/creature_names',0.95), (47513081501,1419014,2,'object/mobile/shared_dressed_commoner_tatooine_rodian_male_01.iff','','',0,0,0,1,1,0,0,0,1,26.27,1.28,-1.23,5,'commoner','mob/creature_names',1), (47513081503,1419014,2,'object/mobile/shared_ankura_gungan.iff','','',0,0,0,1,1,0,1,0,0,26.27,1.28,-0.13,5,'ankura_gungan','mob/creature_names',1), (47513081505,1419015,2,'object/mobile/shared_dressed_philosopher.iff','','',0,0,0,1,1,0,0,0,1,-16.37,1.6,11.47,5,'philosopher','mob/creature_names',0.95), (47513081507,1419015,2,'object/mobile/shared_dressed_commoner_naboo_moncal_male_01.iff','','',0,0,0,1,1,0,1,0,0,-16.37,1.6,12.57,5,'businessman','mob/creature_names',1), (47513081509,0,2,'object/mobile/shared_dressed_commoner_naboo_human_male_04.iff','','',0,0,0,1,1,0,-0.49,0,0.87,5011.88,360,-1570.16,5,'commoner','mob/creature_names',0.98), (47513081511,0,2,'object/mobile/shared_r5.iff','R5-N5','',0,0,0,1,1,0,0.98,0,0.19,4977.83,360,-1508.08,5,'r5','mob/creature_names',1), (47513081513,0,2,'object/mobile/shared_dressed_naboo_police.iff','','',0,0,0,1,1,0,0.93,0,-0.38,4971.54,360,-1486.71,5,'thief','mob/creature_names',1), (47513081515,0,2,'object/mobile/shared_r4.iff','R4-I2','',0,0,0,1,1,0,1,0,0,4977.18,360,-1502.99,5,'r4','mob/creature_names',1), (47513081521,0,2,'object/mobile/shared_dressed_imperial_officer_m_4.iff','','',0,0,0,1,3,0,1,0,0.03,4980.36,360,-1461.68,5,'crackdown_command_security_guard','mob/creature_names',1), (47513081523,0,2,'object/mobile/shared_dressed_naboo_police.iff','','',0,0,0,1,1,0,0.97,0,0.24,4984.69,360,-1473.21,5,'thief','mob/creature_names',1), (47513081525,0,2,'object/mobile/shared_gungan_s02_male.iff','','',0,0,0,1,1,0,0,0,1,4963.13,360.6,-1488.54,5,'gungan_guard','mob/creature_names',1), (47513081527,0,2,'object/mobile/shared_dressed_commoner_tatooine_aqualish_male_03.iff','','',0,0,0,1,1,0,1,0,0,4963.13,360.6,-1487.54,5,'fringer','mob/creature_names',0.99), (47513081529,0,2,'object/mobile/shared_dressed_commoner_naboo_human_female_03.iff','Kima','Nazith',0,0,0,1,1,0,0.91,0,-0.41,4972.24,360,-1582.84,5,'human_base_female','npc_name',1), (47513081531,0,2,'object/mobile/shared_dressed_commoner_tatooine_rodian_female_01.iff','','',0,0,0,1,1,0,0.83,0,-0.55,4947.86,360,-1535.93,5,'commoner','mob/creature_names',1), (47513081533,0,2,'object/mobile/shared_dressed_naboo_police.iff','','',0,0,0,1,1,0,0.99,0,0.12,4972.54,360,-1474.87,5,'thief','mob/creature_names',0.96), (47513081537,0,2,'object/mobile/shared_dressed_commoner_naboo_human_male_01.iff','','',0,0,0,1,1,0,-0.24,0,0.97,4932.12,360,-1560.14,5,'commoner','mob/creature_names',1), (47513081539,0,2,'object/mobile/shared_dressed_commoner_naboo_bothan_female_02.iff','','',0,0,0,1,1,0,-0.7,0,0.72,4994.93,360,-1500.28,5,'commoner','mob/creature_names',1), (47513081541,0,2,'object/mobile/shared_dressed_commoner_old_zabrak_male_01.iff','','',0,0,0,1,1,0,1,0,-0.1,4958.31,360,-1419.21,5,'commoner','mob/creature_names',0.89), (47513081543,0,2,'object/mobile/shared_dressed_commoner_fat_zabrak_male_01.iff','','',0,0,0,1,1,0,0.61,0,0.79,4875.5,360,-1524.54,5,'commoner','mob/creature_names',1), (47513081545,2725360,2,'object/mobile/shared_dressed_commoner_tatooine_bith_male_01.iff','','',0,0,0,1,1,0,0,0,1,2.02,2.13,75.66,5,'mountain_villager','mob/creature_names',1), (47513081547,2725360,2,'object/mobile/shared_dressed_combatmedic_trainer_human_male_01.iff','','',0,0,0,1,1,0,1,0,0,2.02,2.13,76.76,5,'scientist','mob/creature_names',0.89), (47513081549,2725360,2,'object/mobile/shared_dressed_noble_fat_human_male_01.iff','','',0,0,0,1,1,0,0.73,0,-0.68,19.26,2.13,56.13,5,'noble','mob/creature_names',1), (47513081551,2725360,2,'object/mobile/shared_dressed_entertainer_trainer_human_female_01.iff','','',0,0,0,1,1,0,0.03,0,1,21.99,2.13,64.05,5,'quest_crowd_pleaser_theater_manager','mob/creature_names',1), (47513081553,2725359,2,'object/mobile/shared_dressed_noble_old_zabrak_male_01.iff','','',0,0,0,1,1,0,0.93,0,-0.36,28.93,2.13,58.19,5,'noble','mob/creature_names',1), (47513081555,2725358,2,'object/mobile/shared_dressed_commoner_naboo_human_male_08.iff','','',0,0,0,1,1,0,0,0,1,-16.4,1.04,39.51,5,'farmer_agriculturalist','mob/creature_names',1.02), (47513081557,2725358,2,'object/mobile/shared_dressed_rebel_trooper_human_male_01.iff','Inefa','Eoboola',0,0,0,1,1,0,1,0,0,-16.4,0.93,40.6,5,'human_base_male','npc_name',1), (47513081559,2725353,2,'object/mobile/shared_dressed_doctor_trainer_moncal_female_01.iff','','',0,0,0,1,1,0,0,0,1,10.63,0.6,-8.85,5,'scientist','mob/creature_names',1), (47513081561,2725353,2,'object/mobile/shared_dressed_hoodlum_zabrak_female_01.iff','','',0,0,0,1,1,0,1,0,0,10.63,0.6,-7.75,5,'bodyguard','mob/creature_names',0.95), (47513081563,2725353,2,'object/mobile/shared_dressed_commoner_artisan_sullustan_male_01.iff','','',0,0,0,1,1,0,0.92,0,0.38,9.53,0.6,-7.75,5,'technician','mob/creature_names',1), (47513081565,0,2,'object/mobile/shared_dressed_commoner_tatooine_bith_female_04.iff','','',0,0,0,1,1,0,0.18,0,0.98,4997.93,360,-1460.84,5,'commoner','mob/creature_names',1), (47513081567,0,2,'object/mobile/shared_r3.iff','R3-M9','',0,0,0,1,1,0,0.74,0,-0.67,4949.32,360,-1398.56,5,'r3','mob/creature_names',1), (47513081569,0,2,'object/mobile/shared_dressed_stormtrooper_m.iff','','',0,0,0,1,3,0,0.41,0,0.91,4914.6,360,-1397.6,5,'crackdown_stormtrooper','mob/creature_names',1), (47513081571,0,2,'object/mobile/shared_dressed_commoner_old_twilek_male_02.iff','','',0,0,0,1,1,0,0.22,0,0.98,4933.21,360,-1372.51,5,'commoner','mob/creature_names',1), (47513081573,0,2,'object/mobile/shared_dressed_commoner_tatooine_aqualish_female_01.iff','','',0,0,0,1,1,0,0.86,0,-0.5,4893.76,360,-1377.42,5,'commoner','mob/creature_names',0.95), (47513081575,0,2,'object/mobile/shared_dressed_commoner_old_zabrak_female_01.iff','','',0,0,0,1,1,0,0.04,0,1,4854.03,360,-1408.46,5,'commoner','mob/creature_names',1), (47513081577,0,2,'object/mobile/shared_dressed_stormtrooper_m.iff','','',0,0,0,1,3,0,0.83,0,0.56,4860.78,360,-1389.01,5,'crackdown_stormtrooper','mob/creature_names',1), (47513081579,0,2,'object/mobile/shared_dressed_commoner_fat_twilek_female_01.iff','','',0,0,0,1,1,0,0.92,0,-0.39,4856.73,360,-1356.73,5,'commoner','mob/creature_names',1), (47513081581,0,2,'object/mobile/shared_dressed_commoner_tatooine_devaronian_male_04.iff','','',0,0,0,1,1,0,0.97,0,-0.25,4817.4,336.5,-1477.03,5,'commoner','mob/creature_names',0.99), (47513081583,0,2,'object/mobile/shared_dressed_commoner_tatooine_nikto_male_05.iff','','',0,0,0,1,1,0,0.16,0,0.99,4791.56,335.71,-1475.86,5,'commoner','mob/creature_names',1), (47513081585,0,2,'object/mobile/shared_dressed_commoner_tatooine_trandoshan_female_01.iff','','',0,0,0,1,1,0,0.06,0,1,4745.23,329.93,-1356.99,5,'commoner','mob/creature_names',1), (47513081587,0,2,'object/mobile/shared_dressed_commoner_naboo_human_male_03.iff','','',0,0,0,1,1,0,-0.68,0,0.73,4717.38,330,-1398.67,5,'commoner','mob/creature_names',0.89), (47513081589,0,2,'object/mobile/shared_r5.iff','R5-M3','',0,0,0,1,1,0,0.97,0,0.25,4723.81,330,-1351.18,5,'r5','mob/creature_names',1), (47513081591,0,2,'object/mobile/shared_cll8_binary_load_lifter.iff','','',0,0,0,1,1,0,1,0,-0.04,4724.81,330,-1353.18,5,'cll8_binary_load_lifter','mob/creature_names',1), (47513081593,0,2,'object/mobile/shared_r5.iff','R5-Z9','',0,0,0,1,1,0,1,0,-0.04,4725.81,330,-1351.18,5,'r5','mob/creature_names',1), (47513081597,0,2,'object/mobile/shared_dressed_commoner_tatooine_sullustan_male_01.iff','','',0,0,0,1,1,0,0.8,0,0.6,4685.67,330,-1361.02,5,'commoner','mob/creature_names',1), (47513081599,0,2,'object/mobile/shared_dressed_imperial_medic3_human_male_01.iff','','',0,0,0,1,3,0,0.56,0,0.83,4683.88,330,-1320.81,5,'crackdown_imperial_medic','mob/creature_names',1.01), (47513081601,0,2,'object/mobile/shared_dressed_imperial_officer_m_6.iff','','',0,0,0,1,1,0,0,0,1,4722.63,332.5,-1298.05,5,'comm_operator','mob/creature_names',1), (47513081603,0,2,'object/mobile/shared_dressed_royal_officer_human_female_01.iff','','',0,0,0,1,1,0,1,0,0,4722.63,332.5,-1297.05,5,'naboo_police','mob/creature_names',1), (47513081605,0,2,'object/mobile/shared_dressed_commoner_naboo_zabrak_male_01.iff','','',0,0,0,1,1,0,0,0,1,4701.18,330,-1313.92,5,'swamp_villager','mob/creature_names',1), (47513081607,0,2,'object/mobile/shared_dressed_imperial_officer_m.iff','','',0,0,0,1,3,0,0.56,0,0.83,4683.99,330,-1320.82,5,'crackdown_imperial_noncom','mob/creature_names',1.05), (47513081609,0,2,'object/mobile/shared_dressed_commoner_tatooine_ishitib_male_02.iff','','',0,0,0,1,1,0,0.77,0,0.63,4751.02,330,-1284.86,5,'commoner','mob/creature_names',1), (47513081611,0,2,'object/mobile/shared_dressed_commoner_fat_human_female_01.iff','','',0,0,0,1,1,0,-0.05,0,1,4695.75,330.02,-1286,5,'commoner','mob/creature_names',0.98), (47513081613,0,2,'object/mobile/shared_dressed_commoner_tatooine_rodian_female_03.iff','','',0,0,0,1,1,0,0.05,0,1,4785.46,330,-1260.38,5,'commoner','mob/creature_names',1), (47513081615,0,2,'object/mobile/shared_dressed_rebel_trooper_bith_m_01.iff','Oorik','Oobooth',0,0,0,1,1,0,1,0,0,4701.18,330,-1312.92,5,'bith_base_male','npc_name',1), (47513081617,0,2,'object/mobile/shared_dressed_stormtrooper_m.iff','','',0,0,0,1,3,0,-0.52,0,0.85,4615.18,327.89,-1330.36,5,'crackdown_stormtrooper','mob/creature_names',1), (47513081619,0,2,'object/mobile/shared_dressed_commoner_fat_human_female_01.iff','','',0,0,0,1,1,0,-0.21,0,0.98,4616.31,330,-1379.2,5,'commoner','mob/creature_names',1), (47513081621,0,2,'object/mobile/shared_dressed_stormtrooper_groupleader_m.iff','','',0,0,0,1,3,0,-0.41,0,0.91,4606.6,323.33,-1321.9,5,'crackdown_stormtrooper_captain','mob/creature_names',1), (47513081623,0,2,'object/mobile/shared_dressed_mercenary_weak_hum_f.iff','','',0,0,0,1,1,0,-0.01,0,0.99,4600.46,322.83,-1326.97,5,'pilot','mob/creature_names',1), (47513081625,0,2,'object/mobile/shared_dressed_official.iff','','',0,0,0,1,1,0,0.99,0,0.01,4600.46,322.67,-1325.97,5,'official','mob/creature_names',0.8), (47513081627,1945398,2,'object/mobile/shared_dressed_commoner_tatooine_rodian_female_01.iff','','',0,0,0,1,1,0,0,0,1,17.32,3.22,-27.79,5,'farmer_rancher','mob/creature_names',1), (47513081629,1945398,2,'object/mobile/shared_dressed_noble_old_zabrak_female_01.iff','Iedeup','',0,0,0,1,1,0,1,0,0,17.32,3.22,-26.79,5,'zabrak_base_female','npc_name',1), (47513081631,1945397,2,'object/mobile/shared_gungan_s02_male.iff','','',0,0,0,1,1,0,0,0,1,33.17,1.29,1.82,5,'gungan_guard','mob/creature_names',0.83), (47513081633,1945397,2,'object/mobile/shared_dressed_rsf_pilot.iff','','',0,0,0,1,1,0,1,0,0,33.17,1.29,2.92,5,'rsf_pilot','mob/creature_names',1), (47513081635,1945396,2,'object/mobile/shared_gungan_male.iff','','',0,0,0,1,1,0,0,0,1,21.88,3.22,27.34,5,'otolla_gungan','mob/creature_names',1), (47513081637,1945396,2,'object/mobile/shared_dressed_eisley_officer_bothan_male_01.iff','','',0,0,0,1,1,0,1,0,0,21.88,3.22,28.44,5,'bothan_diplomat','mob/creature_names',1), (47513081639,1945396,2,'object/mobile/shared_dressed_commoner_tatooine_devaronian_male_03.iff','','',0,0,0,1,1,0,0.92,0,0.38,20.78,3.22,28.44,5,'swamp_villager','mob/creature_names',1), (47513081641,1945395,2,'object/mobile/shared_dressed_artisan_trainer_03.iff','','',0,0,0,1,1,0,0,0,1,-20.08,3.22,22.25,5,'technician','mob/creature_names',0.95), (47513081643,1945395,2,'object/mobile/shared_dressed_criminal_smuggler_human_female_01.iff','','',0,0,0,1,1,0,1,0,0,-20.08,3.22,23.35,5,'info_broker','mob/creature_names',1), (47513081645,1945394,2,'object/mobile/shared_dressed_commoner_tatooine_trandoshan_male_02.iff','','',0,0,0,1,1,0,0,0,1,-35.24,1.29,-1.53,5,'farmer_agriculturalist','mob/creature_names',1.1), (47513081647,1945394,2,'object/mobile/shared_gungan_s04_male.iff','','',0,0,0,1,1,0,1,0,0,-35.24,1.29,-0.53,5,'gungan_mercenary','mob/creature_names',1), (47513081649,1945393,2,'object/mobile/shared_dressed_criminal_thug_bothan_male_01.iff','','',0,0,0,1,1,0,0,0,1,-24.59,3.22,-35.17,5,'scoundrel','mob/creature_names',1), (47513081651,1945393,2,'object/mobile/shared_dressed_bountyhunter_trainer_04.iff','','',0,0,0,1,1,0,1,0,0,-24.59,3.22,-34.07,5,'bounty_hunter','mob/creature_names',0.95), (47513081653,1945393,2,'object/mobile/shared_gungan_s02_male.iff','','',0,0,0,1,1,0,0.92,0,0.38,-25.69,3.22,-34.07,5,'gungan_grand_army_soldier','mob/creature_names',1), (47513081655,1945393,2,'object/mobile/shared_dressed_commoner_naboo_bothan_male_02.iff','','',0,0,0,1,1,0,0,0,1,-15.2,3.22,-28.73,5,'gambler','mob/creature_names',1), (47513081657,1945393,2,'object/mobile/shared_dressed_noble_old_human_male_02.iff','','',0,0,0,1,1,0,1,0,0,-15.2,3.22,-27.63,5,'noble','mob/creature_names',1), (47513081659,1945392,2,'object/mobile/shared_dressed_commoner_naboo_human_male_01.iff','','',0,0,0,1,1,0,0,0,1,1.73,7.9,-40.33,5,'farmer','mob/creature_names',1.06), (47513081661,1945392,2,'object/mobile/shared_dressed_commoner_artisan_bith_male_01.iff','','',0,0,0,1,1,0,1,0,0,1.73,7.9,-39.55,5,'technician','mob/creature_names',1), (47513081663,1945390,2,'object/mobile/shared_dressed_entertainer_trainer_human_female_01.iff','','',0,0,0,1,1,0,0,0,1,4.97,2.28,-27.71,5,'entertainer','mob/creature_names',1), (47513081665,1945390,2,'object/mobile/shared_dressed_criminal_pirate_human_female_01.iff','','',0,0,0,1,1,0,1,0,0,4.97,2.28,-26.61,5,'smuggler','mob/creature_names',0.98), (47513081667,1945390,2,'object/mobile/shared_dressed_commoner_naboo_human_male_05.iff','','',0,0,0,1,1,0,0,0,1,1.53,7.9,-32.1,5,'farmer_rancher','mob/creature_names',1), (47513081669,1945390,2,'object/mobile/shared_dressed_criminal_pirate_human_female_01.iff','','',0,0,0,1,1,0,1,0,0,1.53,7.9,-31,5,'info_broker','mob/creature_names',1), (47513081671,1945390,2,'object/mobile/shared_ankura_gungan.iff','','',0,0,0,1,1,0,0,0,1,-1.9,2.35,-16.55,5,'ankura_gungan','mob/creature_names',0.89), (47513081673,1945390,2,'object/mobile/shared_dressed_eisley_officer_bothan_female_01.iff','','',0,0,0,1,1,0,1,0,0,-1.9,2.29,-15.45,5,'bothan_diplomat','mob/creature_names',1), (47513081675,1945390,2,'object/mobile/shared_dressed_commoner_artisan_sullustan_male_01.iff','','',0,0,0,1,1,0,0.92,0,0.38,-3,2.28,-15.45,5,'technician','mob/creature_names',1), (47513081677,1945390,2,'object/mobile/shared_dressed_philosopher.iff','','',0,0,0,1,1,0,0.38,0,0.92,-3,2.35,-16.55,5,'philosopher','mob/creature_names',1.04), (47513081679,1945390,2,'object/mobile/shared_dressed_mercenary_messanger_sullustan_m.iff','','',0,0,0,1,1,0,0,0,1,-17.55,1.3,2.43,5,'pilot','mob/creature_names',1), (47513081681,1945390,2,'object/mobile/shared_dressed_commoner_tatooine_aqualish_male_07.iff','','',0,0,0,1,1,0,1,0,0,-17.55,1.3,3.53,5,'explorer','mob/creature_names',1), (47513081683,1945390,2,'object/mobile/shared_dressed_commoner_naboo_bothan_female_01.iff','','',0,0,0,1,1,0,0,0,1,-3.04,0.3,-5.18,5,'businessman','mob/creature_names',1.09), (47513081685,1945390,2,'object/mobile/shared_dressed_plainsfolk.iff','','',0,0,0,1,1,0,1,0,0,-3.04,0.3,-4.08,5,'plainsfolk','mob/creature_names',1), (47513081687,1945390,2,'object/mobile/shared_dressed_eisley_officer_bothan_male_01.iff','','',0,0,0,1,1,0,0,0,1,5.49,0.3,2.71,5,'bothan_diplomat','mob/creature_names',0.85), (47513081689,1945390,2,'object/mobile/shared_dressed_criminal_assassin_human_female_01.iff','','',0,0,0,1,1,0,1,0,0,5.49,0.3,3.81,5,'spacer','mob/creature_names',1), (47513081691,1945390,2,'object/mobile/shared_dressed_goon_twk_female_01.iff','','',0,0,0,1,1,0,0,0,1,16.38,1.3,10.32,5,'scoundrel','mob/creature_names',1), (47513081693,1945390,2,'object/mobile/shared_dressed_plainsfolk.iff','','',0,0,0,1,1,0,1,0,0,16.38,1.3,11.32,5,'plainsfolk','mob/creature_names',1), - (47513081697,0,2,'object/mobile/shared_dressed_naboo_police.iff','','',0,0,0,1,1,0,-0.37,0,0.93,4911.19,3.75,-4832.06,5,'thief','mob/creature_names',0.98), (47513081699,0,2,'object/mobile/shared_dressed_naboo_police.iff','','',0,0,0,1,1,0,-0.36,0,0.93,4935.59,3.75,-4801.37,5,'thief','mob/creature_names',1), (47513081701,0,2,'object/mobile/shared_dressed_naboo_police.iff','','',0,0,0,1,1,0,0.93,0,-0.37,4934.91,3.75,-4802.07,5,'thief','mob/creature_names',0.96), (47513081703,0,2,'object/mobile/shared_dressed_naboo_police.iff','','',0,0,0,1,1,0,-0.37,0,0.93,4911.19,3.75,-4832.06,5,'thief','mob/creature_names',1), (47513081705,0,2,'object/mobile/shared_dressed_rebel_trooper_twk_female_01.iff','','',0,0,0,1,2,0,1,0,0,4978.77,3.75,-4826.27,5,'crackdown_rebel_soldier','mob/creature_names',0.85), (47513081707,0,2,'object/mobile/shared_dressed_rebel_trooper_bith_m_01.iff','','',0,0,0,1,2,0,1,0,0,4978.78,3.75,-4828.12,5,'crackdown_rebel_soldier','mob/creature_names',1), (47513081709,0,2,'object/mobile/shared_dressed_rebel_specforce_guerilla_human_male_01.iff','','',0,0,0,1,2,0,-0.63,0,0.78,4939.1,3.75,-4900.67,5,'crackdown_rebel_commando','mob/creature_names',1), (47513081711,0,2,'object/mobile/shared_dressed_rebel_trooper_twk_female_01.iff','','',0,0,0,1,2,0,1,0,0,4977.85,3.75,-4825.79,5,'crackdown_rebel_soldier','mob/creature_names',0.95), (47513081713,0,2,'object/mobile/shared_dressed_rebel_crewman_human_male_04.iff','','',0,0,0,1,2,0,-0.52,0,0.85,4893.08,4.19,-4810.67,5,'crackdown_rebel_command_security_guard','mob/creature_names',1), (47513081715,0,2,'object/mobile/shared_dressed_rebel_trooper_human_male_01.iff','','',0,0,0,1,2,0,-0.58,0,0.82,4968.45,3.75,-4965.73,5,'crackdown_rebel_soldier','mob/creature_names',1), (47513081717,1717508,2,'object/mobile/shared_dressed_commoner_tatooine_ishitib_male_01.iff','','',0,0,0,1,1,0,0,0,1,0.32,7.26,-12.56,5,'commoner','mob/creature_names',0.95), (47513081719,1717508,2,'object/mobile/shared_dressed_noble_fat_twilek_male_01.iff','','',0,0,0,1,1,0,1,0,0,0.32,7.26,-11.56,5,'noble','mob/creature_names',1), (47513081721,1717506,2,'object/mobile/shared_dressed_commoner_naboo_zabrak_male_02.iff','','',0,0,0,1,1,0,0,0,1,-18.17,0.26,9.53,5,'explorer','mob/creature_names',0.98), (47513081723,1717506,2,'object/mobile/shared_gungan_male.iff','','',0,0,0,1,1,0,1,0,0,-18.17,0.26,10.53,5,'otolla_gungan','mob/creature_names',1), (47513081725,1717506,2,'object/mobile/shared_21b_surgical_droid.iff','','',0,0,0,1,1,0,-0.24,0,0.97,-25.52,0.26,-3.48,5,'surgical_droid_21b','mob/creature_names',1), (47513081729,0,2,'object/mobile/shared_dressed_mercenary_weak_hum_m.iff','','',0,0,0,1,1,0,0,0,1,4960.66,3.75,-4856.79,5,'pilot','mob/creature_names',1), (47513081731,0,2,'object/mobile/shared_dressed_hoodlum_zabrak_female_01.iff','','',0,0,0,1,1,0,0.27,0,0.96,4898.59,3.75,-4948.93,5,'mummer_bully','mob/creature_names',1), (47513081733,0,2,'object/mobile/shared_dressed_commoner_naboo_human_male_06.iff','','',0,0,0,1,1,0,-0.52,0,0.85,4879.23,3.75,-4956.47,5,'commoner','mob/creature_names',1), (47513081735,0,2,'object/mobile/shared_dressed_commoner_naboo_zabrak_male_02.iff','','',0,0,0,1,1,0,0.97,0,0.25,4877.11,3.75,-4887.47,5,'commoner','mob/creature_names',0.99), (47513081737,0,2,'object/mobile/shared_dressed_commoner_tatooine_aqualish_male_05.iff','','',0,0,0,1,1,0,0.76,0,-0.65,4888.1,3.75,-4851.13,5,'commoner','mob/creature_names',1), (47513081739,0,2,'object/mobile/shared_dressed_commoner_old_twilek_male_02.iff','','',0,0,0,1,1,0,0.88,0,0.47,4888.97,3.75,-4813.91,5,'commoner','mob/creature_names',1), (47513081741,0,2,'object/mobile/shared_dressed_commoner_naboo_human_female_03.iff','','',0,0,0,1,1,0,0.7,0,0.71,4853.81,3.75,-4869.46,5,'commoner','mob/creature_names',0.96), (47513081743,0,2,'object/mobile/shared_dressed_commoner_naboo_moncal_female_01.iff','','',0,0,0,1,1,0,-0.55,0,0.83,4842.38,3.75,-4839.99,5,'commoner','mob/creature_names',1), (47513081745,0,2,'object/mobile/shared_dressed_royal_officer_human_female_01.iff','','',0,0,0,1,1,0,0,0,1,4888.86,3.75,-4858.07,5,'naboo_police','mob/creature_names',1), (47513081747,0,2,'object/mobile/shared_ankura_gungan.iff','','',0,0,0,1,1,0,1,0,0,4888.86,3.75,-4857.07,5,'ankura_gungan','mob/creature_names',1), (47513081749,0,2,'object/mobile/shared_gungan_male.iff','','',0,0,0,1,1,0,1,0,0,4861.64,3.75,-4909.21,5,'gungan_hermit','mob/creature_names',0.89), (47513081751,0,2,'object/mobile/shared_dressed_rebel_trooper_twk_female_01.iff','','',0,0,0,1,2,0,0.27,0,0.96,4975.57,3.75,-4865.3,5,'crackdown_rebel_guardsman','mob/creature_names',1), (47513081753,0,2,'object/mobile/shared_dressed_mercenary_messanger_hum_m.iff','','',0,0,0,1,2,0,-0.7,0,0.71,4969.21,4.35,-4885.05,5,'crackdown_rebel_recruit','mob/creature_names',1), (47513081755,0,2,'object/mobile/shared_fanned_rawl_hue.iff','','',0,0,0,1,1,0,0.95,0,-0.31,5028.92,2.01,-5067.08,5,'fanned_rawl','mob/creature_names',0.89), (47513081757,0,2,'object/mobile/shared_fanned_rawl_hue.iff','','',0,0,0,1,1,0,-0.64,0,0.77,5004.55,1.93,-5041.75,5,'fanned_rawl','mob/creature_names',1), (47513081759,0,2,'object/mobile/shared_dressed_commoner_tatooine_nikto_male_01.iff','','',0,0,0,1,1,0,0.87,0,-0.5,4901.09,3.75,-4994.69,5,'commoner','mob/creature_names',1), (47513081761,0,2,'object/mobile/shared_dressed_commoner_old_twilek_male_02.iff','','',0,0,0,1,1,0,-0.34,0,0.94,4926.35,3.75,-4970.37,5,'commoner','mob/creature_names',1), (47513081763,0,2,'object/mobile/shared_dressed_commoner_naboo_human_female_08.iff','','',0,0,0,1,1,0,-0.2,0,0.98,4942.97,3.75,-4956.86,5,'commoner','mob/creature_names',1.02), (47513081765,0,2,'object/mobile/shared_dressed_commoner_naboo_human_female_03.iff','','',0,0,0,1,1,0,0.93,0,0.38,4971.79,3.75,-4956.96,5,'commoner','mob/creature_names',1), (47513081767,0,2,'object/mobile/shared_dressed_commoner_tatooine_aqualish_male_08.iff','','',0,0,0,1,1,0,0.04,0,1,4975.07,3.75,-4976.35,5,'commoner','mob/creature_names',1), (47513081769,0,2,'object/mobile/shared_dressed_commoner_tatooine_sullustan_male_06.iff','','',0,0,0,1,1,0,0.69,0,0.72,4910.85,3.75,-4892.73,5,'commoner','mob/creature_names',0.95), (47513081771,0,2,'object/mobile/shared_dressed_commoner_tatooine_devaronian_male_01.iff','','',0,0,0,1,1,0,0.44,0,0.9,4923.97,3.78,-4891.47,5,'commoner','mob/creature_names',1), (47513081773,0,2,'object/mobile/shared_dressed_commoner_fat_zabrak_male_02.iff','','',0,0,0,1,1,0,-0.45,0,0.89,4972.3,3.75,-4929.22,5,'commoner','mob/creature_names',1), (47513081775,0,2,'object/mobile/shared_dressed_commoner_tatooine_aqualish_male_04.iff','','',0,0,0,1,1,0,0.98,0,0.19,4957.26,3.75,-4885.94,5,'commoner','mob/creature_names',0.89), (47513081777,0,2,'object/mobile/shared_dressed_commoner_naboo_human_female_06.iff','','',0,0,0,1,1,0,0.1,0,1,4931.65,3.75,-4847.79,5,'commoner','mob/creature_names',1), (47513081779,0,2,'object/mobile/shared_dressed_commoner_tatooine_aqualish_male_04.iff','','',0,0,0,1,1,0,0.78,0,0.63,4940.42,3.75,-4860.32,5,'commoner','mob/creature_names',1), (47513081781,0,2,'object/mobile/shared_dressed_commoner_tatooine_bith_female_06.iff','','',0,0,0,1,1,0,1,0,0.04,4904.82,3.75,-4839.5,5,'commoner','mob/creature_names',0.95), (47513081783,0,2,'object/mobile/shared_dressed_rsf_palace_guard.iff','','',0,0,0,1,1,0,1,0,0,5058.36,3.75,-4889.07,5,'rsf_palace_guard','mob/creature_names',1), (47513081785,0,2,'object/mobile/shared_dressed_commoner_artisan_bith_male_01.iff','','',0,0,0,1,1,0,0,0,1,4918.34,3.75,-4956.39,5,'artisan','mob/creature_names',1), (47513081787,0,2,'object/mobile/shared_dressed_commoner_fat_human_male_01.iff','','',0,0,0,1,1,0,1,0,0,4918.34,3.75,-4955.39,5,'vendor','mob/creature_names',1), (47513081789,0,2,'object/mobile/shared_dressed_official.iff','','',0,0,0,1,1,0,0,0,1,4992.61,3.75,-4946.68,5,'official','mob/creature_names',0.99), (47513081791,0,2,'object/mobile/shared_gungan_male.iff','','',0,0,0,1,1,0,1,0,0,4992.61,3.75,-4945.68,5,'otolla_gungan','mob/creature_names',1), (47513081793,0,2,'object/mobile/shared_dressed_rebel_trooper_sullustan_male_01.iff','','',0,0,0,1,2,0,0.74,0,-0.68,4983.37,3.75,-4973.63,5,'crackdown_rebel_guardsman','mob/creature_names',1), (47513081795,0,2,'object/mobile/shared_dressed_rebel_trooper_human_male_01.iff','','',0,0,0,1,2,0,0.94,0,-0.35,4886.42,3.75,-4807.33,5,'crackdown_rebel_guardsman','mob/creature_names',0.89), (47513081797,0,2,'object/mobile/shared_dressed_rebel_trooper_human_female_01.iff','','',0,0,0,1,2,0,-0.55,0,0.83,4969.63,3.75,-4966.15,5,'crackdown_rebel_soldier','mob/creature_names',1), (47513081799,0,2,'object/mobile/shared_dressed_commoner_tatooine_bith_male_02.iff','','',0,0,0,1,1,0,0.6,0,0.8,4859.25,3.75,-4970.8,5,'commoner','mob/creature_names',1.1), (47513081801,0,2,'object/mobile/shared_dressed_philosopher.iff','','',0,0,0,1,1,0,1,0,0,4830.47,3.75,-4884.94,5,'philosopher','mob/creature_names',1), (47513081803,0,2,'object/mobile/shared_dressed_crook_zabrak_female_01.iff','','',0,0,0,1,1,0,0,0,1,4830.47,3.75,-4885.94,5,'brawler','mob/creature_names',1), (47513081805,0,2,'object/mobile/shared_dressed_criminal_thug_rodian_male_01.iff','','',0,0,0,1,1,0,1,0,0,4826.15,3.75,-4917.71,5,'mummer_bully','mob/creature_names',1.01), (47513081807,0,2,'object/mobile/shared_dressed_criminal_thug_zabrak_male_01.iff','','',0,0,0,1,1,0,0.82,0,-0.57,4826.15,3.75,-4918.71,5,'mummer_bully','mob/creature_names',1), (47513081809,0,2,'object/mobile/shared_dressed_criminal_thug_rodian_female_01.iff','','',0,0,0,1,1,0,-0.56,0,0.83,4826.9,3.86,-4944.1,5,'mummer_bully','mob/creature_names',1), (47513081811,0,2,'object/mobile/shared_dressed_commoner_tatooine_sullustan_male_04.iff','','',0,0,0,1,1,0,0.79,0,-0.61,4870.85,3.75,-4789.2,5,'commoner','mob/creature_names',1), (47513081813,0,2,'object/mobile/shared_dressed_rsf_pilot.iff','','',0,0,0,1,1,0,1,0,0,4825.4,3.75,-4840.72,5,'rsf_pilot','mob/creature_names',1.05), (47513081815,0,2,'object/mobile/shared_dressed_rsf_captain.iff','','',0,0,0,1,1,0,0,0,1,4825.4,3.75,-4841.72,5,'rsf_captain','mob/creature_names',1); INSERT INTO `persistent_npcs` (`id`,`parentId`,`family`,`type`,`firstName`,`lastName`,`posture`,`moodId`,`state`,`cl`,`faction`,`oX`,`oY`,`oZ`,`oW`,`x`,`y`,`z`,`planet_id`,`stf_variable_id`,`stf_file_id`,`scale`) VALUES (47513081817,0,2,'object/mobile/shared_dressed_commoner_tatooine_rodian_male_01.iff','','',0,0,0,1,1,0,-0.66,0,0.75,4815.52,3.75,-4952.41,5,'commoner','mob/creature_names',0.98), (47513081819,0,2,'object/mobile/shared_dressed_commoner_tatooine_rodian_male_04.iff','','',0,0,0,1,1,0,1,0,0.02,4831.58,3.75,-4980.31,5,'commoner','mob/creature_names',1), (47513081821,0,2,'object/mobile/shared_dressed_rebel_trooper_sullustan_male_01.iff','','',0,0,0,1,2,0,1,0,0.08,4808.21,4.27,-4887.51,5,'crackdown_rebel_guardsman','mob/creature_names',1), (47513081823,0,2,'object/mobile/shared_dressed_commoner_naboo_human_male_05.iff','','',0,0,0,1,1,0,0.83,0,-0.56,4799.32,3.75,-4918.4,5,'commoner','mob/creature_names',1.07), (47513081825,0,2,'object/mobile/shared_dressed_commoner_naboo_human_female_04.iff','','',0,0,0,1,1,0,0.97,0,-0.26,4814.19,3.75,-4964.77,5,'commoner','mob/creature_names',1), (47513081827,0,2,'object/mobile/shared_dressed_commoner_tatooine_bith_female_05.iff','','',0,0,0,1,1,0,-0.3,0,0.96,4852.73,3.75,-4902.63,5,'commoner','mob/creature_names',1), (47513081829,0,2,'object/mobile/shared_dressed_commoner_tatooine_devaronian_male_02.iff','','',0,0,0,1,1,0,0.92,0,0.4,4851.27,3.75,-4790.06,5,'commoner','mob/creature_names',1), (47513081831,0,2,'object/mobile/shared_dressed_commoner_old_zabrak_male_02.iff','','',0,0,0,1,1,0,0.56,0,0.83,4815.14,3.75,-4824.06,5,'commoner','mob/creature_names',0.8), (47513081833,0,2,'object/mobile/shared_dressed_rebel_trooper_bith_m_01.iff','','',0,0,0,1,2,0,0.98,0,-0.18,4801.33,3.75,-4952.58,5,'crackdown_rebel_rifleman','mob/creature_names',1), (47513081835,0,2,'object/mobile/shared_dressed_commoner_old_human_female_01.iff','','',0,0,0,1,1,0,0.95,0,-0.31,4799.36,3.75,-4964.18,5,'commoner','mob/creature_names',1), (47513081837,0,2,'object/mobile/shared_dressed_herald_naboo_02.iff','Ronin','Lightrunner',0,0,0,1,1,0,0.38,0,-0.68,4810.24,3.75,-4977.96,5,'naboo_herald_02','npc_name',0.83), (47513081839,0,2,'object/mobile/shared_dressed_rsf_commando.iff','','',0,0,0,1,1,0,0,0,1,4785.74,3.75,-4891.31,5,'rsf_commando','mob/creature_names',1), (47513081841,0,2,'object/mobile/shared_dressed_commoner_tatooine_rodian_female_01.iff','','',0,0,0,1,1,0,1,0,0,4785.74,3.75,-4890.31,5,'swamp_villager','mob/creature_names',1), (47513081843,0,2,'object/mobile/shared_dressed_commoner_fat_human_male_02.iff','','',0,0,0,1,1,0,0.89,0,-0.46,4777.25,3.75,-4895.02,5,'commoner','mob/creature_names',1), (47513081845,0,2,'object/mobile/shared_dressed_commoner_tatooine_bith_female_04.iff','','',0,0,0,1,1,0,0.78,0,-0.63,4849.17,3.75,-4926.19,5,'commoner','mob/creature_names',1), (47513081847,0,2,'object/mobile/shared_dressed_imperial_officer_m_5.iff','','',0,0,0,1,1,0,0,0,1,4826.19,3.75,-4998.7,5,'comm_operator','mob/creature_names',0.95), (47513081849,0,2,'object/mobile/shared_dressed_rsf_security_officer.iff','','',0,0,0,1,1,0,1,0,0,4826.19,3.75,-4997.7,5,'rsf_security_officer','mob/creature_names',1), (47513081851,0,2,'object/mobile/shared_dressed_rebel_trooper_human_female_01.iff','','',0,0,0,1,2,0,-0.15,0,0.99,4808.39,6.25,-4981.9,5,'crackdown_rebel_guardsman','mob/creature_names',1.1), (47513081853,0,2,'object/mobile/shared_dressed_commoner_naboo_human_female_03.iff','','',0,0,0,1,1,0,0.88,0,0.47,4778.73,3.75,-4946.12,5,'commoner','mob/creature_names',1), (47513081855,0,2,'object/mobile/shared_dressed_commoner_tatooine_rodian_female_04.iff','','',0,0,0,1,1,0,0.9,0,-0.43,4770.04,3.75,-4885.68,5,'commoner','mob/creature_names',1), (47513081857,0,2,'object/mobile/shared_dressed_commoner_naboo_human_female_06.iff','','',0,0,0,1,1,0,1,0,0,4779.93,3.75,-4845.85,5,'miner','mob/creature_names',0.95), (47513081859,0,2,'object/mobile/shared_dressed_commoner_artisan_trandoshan_male_01.iff','','',0,0,0,1,1,0,0,0,1,4779.93,3.75,-4846.85,5,'technician','mob/creature_names',1), (47513081861,0,2,'object/mobile/shared_dressed_commoner_tatooine_aqualish_male_08.iff','','',0,0,0,1,1,0,-0.01,0,1,4763.08,3.75,-4899.77,5,'commoner','mob/creature_names',1), (47513081863,0,2,'object/mobile/shared_dressed_commoner_naboo_human_female_03.iff','','',0,0,0,1,1,0,-0.69,0,0.72,4864.94,3.75,-4770.52,5,'commoner','mob/creature_names',1), (47513081865,0,2,'object/mobile/shared_dressed_commoner_fat_twilek_male_02.iff','','',0,0,0,1,1,0,-0.64,0,0.77,4785.68,3.75,-4822.31,5,'commoner','mob/creature_names',1.06), (47513081867,0,2,'object/mobile/shared_dressed_hoodlum_zabrak_female_01.iff','','',0,0,0,1,1,0,0.24,0,0.97,4775.68,3.75,-4823.24,5,'skaak_tipper_mugger','mob/creature_names',1), (47513081869,0,2,'object/mobile/shared_dressed_hoodlum_zabrak_female_01.iff','','',0,0,0,1,1,0,0.24,0,0.97,4769.38,3.75,-4835.16,5,'skaak_tipper_mugger','mob/creature_names',1), (47513081871,0,2,'object/mobile/shared_dressed_commoner_tatooine_nikto_male_02.iff','','',0,0,0,1,1,0,0.5,0,0.87,4817.83,3.75,-4908.93,5,'commoner','mob/creature_names',0.98), (47513081873,0,2,'object/mobile/shared_dressed_commoner_tatooine_aqualish_male_07.iff','','',0,0,0,1,1,0,1,0,0.02,4765.89,3.75,-4850.33,5,'commoner','mob/creature_names',1), (47513081875,0,2,'object/mobile/shared_dressed_criminal_thug_bothan_male_01.iff','','',0,0,0,1,1,0,0.38,0,0.93,4766.05,3.75,-4830.73,5,'skaak_tipper_mugger','mob/creature_names',1), (47513081877,0,2,'object/mobile/shared_dressed_commoner_fat_twilek_female_02.iff','','',0,0,0,1,1,0,0.82,0,0.57,4743.49,3.75,-4855.41,5,'commoner','mob/creature_names',0.89), (47513081879,0,2,'object/mobile/shared_dressed_commoner_fat_twilek_male_01.iff','','',0,0,0,1,1,0,0,0,1,4764.7,3.75,-4976.72,5,'gambler','mob/creature_names',1), (47513081881,0,2,'object/mobile/shared_ankura_gungan.iff','','',0,0,0,1,1,0,1,0,0,4764.7,3.75,-4975.72,5,'ankura_gungan','mob/creature_names',1), (47513081883,0,2,'object/mobile/shared_dressed_rebel_specforce_captain_human_male_01.iff','','',0,0,0,1,2,0,0.97,0,-0.23,4740.97,3.75,-4913.74,5,'crackdown_rebel_guard_captain','mob/creature_names',1.04), (47513081885,0,2,'object/mobile/shared_dressed_commoner_naboo_moncal_female_01.iff','','',0,0,0,1,1,0,0.56,0,0.83,4740.37,3.75,-4938.5,5,'commoner','mob/creature_names',1), (47513081887,0,2,'object/mobile/shared_dressed_rebel_trooper_bith_m_01.iff','','',0,0,0,1,2,0,0.66,0,0.75,4730.74,3.75,-4867.78,5,'crackdown_rebel_guardsman','mob/creature_names',1), (47513081889,0,2,'object/mobile/shared_3po_protocol_droid_red.iff','C-3TC','',0,0,0,1,1,0,0.99,0,0.16,4723.89,3.75,-4935.28,5,'protocol_droid_3po_red','mob/creature_names',1.09), (47513081891,0,2,'object/mobile/shared_r3.iff','R3-E4','',0,0,0,1,1,0,0.99,0,-0.16,4726.84,3.75,-4931.61,5,'r3','mob/creature_names',1), (47513081893,0,2,'object/mobile/shared_eg6_power_droid.iff','','',0,0,0,1,1,0,0.02,0,1,4722.7,3.75,-4932.75,5,'eg6_power_droid','mob/creature_names',0.85), (47513081895,0,2,'object/mobile/shared_r5.iff','R5-D2','',0,0,0,1,1,0,0.99,0,-0.16,4726.84,3.75,-4931.61,5,'r5','mob/creature_names',1), (47513081897,0,2,'object/mobile/shared_r5.iff','R5-F7','',0,0,0,1,1,0,0.99,0,-0.16,4726.84,3.75,-4931.61,5,'r5','mob/creature_names',1), (47513081899,0,2,'object/mobile/shared_r2.iff','R2-I5','',0,0,0,1,1,0,1,0,-0.02,4725.95,3.75,-4931.41,5,'r2','mob/creature_names',1), (47513081901,0,2,'object/mobile/shared_r5.iff','R5-V2','',0,0,0,1,1,0,0.57,0,0.82,4722.43,3.75,-4932.8,5,'r5','mob/creature_names',1), (47513081903,0,2,'object/mobile/shared_dressed_rebel_trooper_twk_female_01.iff','','',0,0,0,1,2,0,-0.04,0,1,4725.8,6.25,-4966.24,5,'crackdown_rebel_guardsman','mob/creature_names',1), (47513081905,0,2,'object/mobile/shared_dressed_rebel_crewman_human_male_02.iff','','',0,0,0,1,2,0,0.91,0,-0.42,4716.31,3.89,-4870.78,5,'crackdown_rebel_command_security_guard','mob/creature_names',0.96), (47513081907,0,2,'object/mobile/shared_dressed_commoner_naboo_human_male_02.iff','','',0,0,0,1,1,0,0.86,0,0.51,4701.05,3.75,-4929.73,5,'commoner','mob/creature_names',1), (47513081909,0,2,'object/mobile/shared_dressed_commoner_tatooine_aqualish_male_02.iff','','',0,0,0,1,1,0,0.9,0,-0.44,4700.69,3.75,-4906.24,5,'commoner','mob/creature_names',0.85), (47513081911,0,2,'object/mobile/shared_dressed_commoner_tatooine_aqualish_female_05.iff','','',0,0,0,1,1,0,0.53,0,0.85,4702.09,3.75,-4878.94,5,'commoner','mob/creature_names',1), (47513081913,0,2,'object/mobile/shared_dressed_rebel_trooper_human_female_01.iff','','',0,0,0,1,2,0,-0.56,0,0.83,4708.25,3.75,-4867.11,5,'crackdown_rebel_liberator','mob/creature_names',1), (47513081919,0,2,'object/mobile/shared_dressed_commoner_old_twilek_female_01.iff','','',0,0,0,1,1,0,1,0,0.08,4712.91,3.75,-4825.99,5,'commoner','mob/creature_names',0.95), (47513081921,0,2,'object/mobile/shared_dressed_commoner_tatooine_sullustan_male_05.iff','','',0,0,0,1,1,0,0.97,0,-0.25,4685.18,3.75,-4866.25,5,'commoner','mob/creature_names',1), (47513081923,0,2,'object/mobile/shared_dressed_mercenary_weak_hum_f.iff','','',0,0,0,1,1,0,0,0,1,4680.01,3.75,-4914.9,5,'mercenary','mob/creature_names',1), (47513081925,0,2,'object/mobile/shared_dressed_criminal_smuggler_human_male_01.iff','','',0,0,0,1,1,0,1,0,0,4680.01,3.75,-4913.9,5,'smuggler','mob/creature_names',0.95), (47513081927,0,2,'object/mobile/shared_dressed_commoner_tatooine_sullustan_male_03.iff','','',0,0,0,1,1,0,0.33,0,0.94,4699.44,3.75,-4984.31,5,'commoner','mob/creature_names',1), (47513081929,0,2,'object/mobile/shared_dressed_rsf_captain.iff','','',0,0,0,1,1,0,1,0,0,4695.03,3.75,-4825.25,5,'rsf_captain','mob/creature_names',0.98), (47513081931,0,2,'object/mobile/shared_dressed_commoner_naboo_human_male_04.iff','','',0,0,0,1,1,0,0,0,1,4695.03,3.75,-4826.25,5,'businessman','mob/creature_names',1), (47513081933,0,2,'object/mobile/shared_dressed_imperial_officer_m_3.iff','','',0,0,0,1,1,0,0,0,1,4673.29,3.75,-4862.1,5,'comm_operator','mob/creature_names',1), (47513081935,0,2,'object/mobile/shared_dressed_commoner_old_twilek_female_01.iff','','',0,0,0,1,1,0,1,0,0,4673.29,3.75,-4861.1,5,'explorer','mob/creature_names',0.85), (47513081937,0,2,'object/mobile/shared_dressed_rebel_crewman_human_female_02.iff','','',0,0,0,1,2,0,0.8,0,-0.61,4691.02,3.94,-4812.4,5,'crackdown_rebel_command_security_guard','mob/creature_names',1), (47513081939,0,2,'object/mobile/shared_dressed_desperado_bith_male_01.iff','','',0,0,0,1,1,0,0.63,0,0.78,4768.05,3.75,-4829.73,5,'skaak_tipper_mugger','mob/creature_names',1), (47513081941,0,2,'object/mobile/shared_dressed_commoner_naboo_human_female_03.iff','','',0,0,0,1,1,0,-0.09,0,1,4692.67,3.75,-4800.69,5,'commoner','mob/creature_names',1), (47513081943,0,2,'object/mobile/shared_dressed_commoner_tatooine_nikto_male_07.iff','','',0,0,0,1,1,0,0.65,0,0.76,4653.53,3.75,-4928.08,5,'commoner','mob/creature_names',0.99), (47513081945,0,2,'object/mobile/shared_dressed_commoner_tatooine_bith_female_05.iff','','',0,0,0,1,1,0,0.97,0,0.23,4764.53,3.75,-4815.27,5,'commoner','mob/creature_names',1), (47513081947,0,2,'object/mobile/shared_dressed_commoner_tatooine_bith_female_05.iff','','',0,0,0,1,1,0,0.91,0,-0.42,4705.29,3.75,-4892.94,5,'commoner','mob/creature_names',1), (47513081949,0,2,'object/mobile/shared_dressed_commoner_tatooine_sullustan_male_06.iff','','',0,0,0,1,1,0,-0.43,0,0.9,4667.04,3.75,-4792.22,5,'commoner','mob/creature_names',0.96), (47513081951,0,2,'object/mobile/shared_dressed_commoner_tatooine_sullustan_male_06.iff','','',0,0,0,1,1,0,0.17,0,0.98,4674.62,3.75,-4772.33,5,'commoner','mob/creature_names',1), (47513081953,0,2,'object/mobile/shared_dressed_bounty_hunter_zabrak_female_01.iff','','',0,0,0,1,1,0,1,0,0,4667.1,3.75,-4783.34,5,'bounty_hunter','mob/creature_names',1), (47513081955,0,2,'object/mobile/shared_dressed_rsf_security_officer.iff','','',0,0,0,1,1,0,0,0,1,4667.1,3.75,-4784.34,5,'rsf_security_officer','mob/creature_names',1), (47513081957,0,2,'object/mobile/shared_dressed_commoner_naboo_twilek_female_02.iff','','',0,0,0,1,1,0,0.79,0,0.61,4816.74,4.17,-4727.57,5,'businessman','mob/creature_names',0.89), (47513081959,0,2,'object/mobile/shared_dressed_commoner_naboo_human_male_08.iff','','',0,0,0,1,1,0,-0.39,0,0.92,4755.44,4.17,-4726.16,5,'commoner','mob/creature_names',1), (47513081961,0,2,'object/mobile/shared_dressed_rebel_trooper_sullustan_male_01.iff','','',0,0,0,1,2,0,0.6,0,0.8,4850.1,10.93,-4756.6,5,'crackdown_rebel_guardsman','mob/creature_names',1), (47513081963,0,2,'object/mobile/shared_dressed_commoner_tatooine_nikto_male_06.iff','','',0,0,0,1,1,0,0.86,0,-0.51,4786.54,4.17,-4714.56,5,'businessman','mob/creature_names',0.89), (47513081965,0,2,'object/mobile/shared_dressed_rebel_trooper_twk_female_01.iff','','',0,0,0,1,2,0,-0.25,0,0.97,4835.58,4.1,-4731.85,5,'crackdown_rebel_guardsman','mob/creature_names',1), (47513081967,0,2,'object/mobile/shared_dressed_combatmedic_trainer_human_female_01.iff','','',0,0,0,1,1,0,-0.54,0,0.84,4842.58,3.91,-4728.78,5,'scientist','mob/creature_names',1), (47513081969,0,2,'object/mobile/shared_space_greeter_moenia_undercover_rebel.iff','','',0,0,0,1,1,0,0.8,0,-0.61,4803.36,4.17,-4697.64,5,'bertos_goodner','npc_spawner_n',1), (47513081971,0,2,'object/mobile/shared_dressed_rebel_trooper_twk_female_01.iff','','',0,0,0,1,2,0,0.81,0,0.59,4792.87,4.17,-4698.36,5,'crackdown_rebel_squad_leader','mob/creature_names',1.02), (47513081973,0,2,'object/mobile/shared_dressed_rebel_recruiter_human_female_02.iff','','',0,0,0,1,2,0,0,0,1,4827.19,4.17,-4697.19,5,'rebel_recruiter','mob/creature_names',1), (47513081975,0,2,'object/mobile/shared_dressed_commoner_tatooine_aqualish_male_03.iff','','',0,0,0,1,1,0,1,0,0,4713.02,4.17,-4710.61,5,'explorer','mob/creature_names',1), (47513081977,0,2,'object/mobile/shared_dressed_criminal_thug_aqualish_female_01.iff','','',0,0,0,1,1,0,0.88,0,0.47,4860.01,4.17,-4686.78,5,'mummer_thug','mob/creature_names',0.95), (47513081979,0,2,'object/mobile/shared_dressed_commoner_tatooine_trandoshan_male_01.iff','','',0,0,0,1,1,0,0.36,0,0.93,4806.74,4.17,-4674.09,5,'commoner','mob/creature_names',1), (47513081981,0,2,'object/mobile/shared_dressed_criminal_smuggler_human_male_01.iff','','',0,0,0,1,1,0,0,0,1,4839.32,4.17,-4679.33,5,'spacer','mob/creature_names',1), (47513081983,0,2,'object/mobile/shared_dressed_rebel_trooper_bith_m_01.iff','','',0,0,0,1,2,0,0.79,0,-0.61,4848.69,10.93,-4763.33,5,'crackdown_rebel_rifleman','mob/creature_names',0.89), (47513081985,0,2,'object/mobile/shared_dressed_criminal_thug_aqualish_male_01.iff','','',0,0,0,1,1,0,0.48,0,0.88,4863.89,4.17,-4682.37,5,'mummer_thug','mob/creature_names',1), (47513081987,0,2,'object/mobile/shared_dressed_criminal_thug_trandoshan_female_01.iff','','',0,0,0,1,1,0,-0.3,0,0.95,4851.65,4.17,-4679.9,5,'mummer_thug','mob/creature_names',1), (47513081989,0,2,'object/mobile/shared_dressed_rebel_trooper_bith_m_01.iff','','',0,0,0,1,2,0,0.99,0,0.15,4863.26,3.75,-4788.49,5,'crackdown_rebel_guardsman','mob/creature_names',0.95), (47513081991,0,2,'object/mobile/shared_dressed_criminal_thug_human_male_01.iff','','',0,0,0,1,1,0,-0.26,0,0.97,4857.2,4.17,-4676.36,5,'mummer_thug','mob/creature_names',1), (47513081993,0,2,'object/mobile/shared_dressed_commoner_old_human_female_01.iff','','',0,0,0,1,1,0,0.32,0,0.95,4893.63,3.77,-4667.2,5,'commoner','mob/creature_names',1), (47513081995,0,2,'object/mobile/shared_dressed_commoner_naboo_zabrak_male_02.iff','','',0,0,0,1,1,0,0.94,0,-0.34,4825.92,4.17,-4619.65,5,'commoner','mob/creature_names',1), (47513081997,0,2,'object/mobile/shared_dressed_commoner_tatooine_bith_male_03.iff','','',0,0,0,1,1,0,1,0,0,4839.32,4.17,-4678.33,5,'swamp_villager','mob/creature_names',0.99), (47513082001,121,2,'object/mobile/shared_borvo.iff','Borvo','the Hutt',0,0,0,1,1,0,0.33,0,0.95,-29.39,-0.52,8.18,5,'borvo_the_hutt','mob/creature_names',1), (47513082007,119,2,'object/mobile/shared_dressed_rebel_recruiter_human_female_02.iff','','',0,0,0,1,2,0,0.35,0,0.94,-28.32,-0.89,-1.43,5,'rebel_recruiter','mob/creature_names',1), (47513082009,117,2,'object/mobile/shared_dressed_robber_twk_female_01.iff','','',0,0,0,1,1,0,-0.58,0,0.82,-3.72,-0.89,24.1,5,'criminal','mob/creature_names',0.89), (47513082011,117,2,'object/mobile/shared_dressed_artisan_trainer_03.iff','','',0,0,0,1,1,0,0,0,1,-7.15,-0.9,18.45,5,'technician','mob/creature_names',1), (47513082013,117,2,'object/mobile/shared_dressed_hutt_medic1_zabrak_female_01.iff','','',0,0,0,1,1,0,1,0,0,-7.15,-0.89,19.55,5,'scientist','mob/creature_names',1.1), (47513082015,117,2,'object/mobile/shared_wookiee_female.iff','Kerrijowichal','',0,0,0,1,1,0,0.92,0,0.38,-8.25,-0.9,19.55,5,'wookiee_base_female','npc_name',1), (47513082017,114,2,'object/mobile/shared_dressed_crook_zabrak_male_01.iff','','',0,0,0,1,1,0,0,0,1,11.16,-0.89,-14.89,5,'bodyguard','mob/creature_names',1), (47513082019,114,2,'object/mobile/shared_dressed_commoner_tatooine_aqualish_male_04.iff','','',0,0,0,1,1,0,1,0,0,11.16,-0.89,-13.79,5,'commoner','mob/creature_names',1.01), (47513082021,114,2,'object/mobile/shared_dressed_official.iff','','',0,0,0,1,1,0,0.92,0,0.38,10.06,-0.89,-13.79,5,'official','mob/creature_names',1), (47513082023,111,2,'object/mobile/shared_dressed_commoner_tatooine_ishitib_male_02.iff','Edoki','Tessofe',0,0,0,1,1,0,0.96,0,-0.29,-11.12,-0.89,1.6,5,'ishi_tib_base_male','npc_name',1), (47513082025,111,2,'object/mobile/shared_dressed_rebel_specforce_pathfinder_twk_male_01.iff','Bosapp','Zatosli',0,0,0,1,1,0,0,0,1,12.83,-0.89,0.96,5,'twilek_base_male','npc_name',1), (47513082027,111,2,'object/mobile/shared_dressed_commoner_tatooine_sullustan_male_01.iff','','',0,0,0,1,1,0,1,0,0,12.83,-0.89,2.06,5,'miner','mob/creature_names',1.05), (47513082029,111,2,'object/mobile/shared_junk_lila.iff','Lila','Rawlkiss',0,0,0,1,1,0,0.94,0,-0.33,25.78,-0.89,10.57,5,'human_base_female','npc_name',1), (47513082031,111,2,'object/mobile/shared_dressed_noble_human_male_01.iff','Arrek','Von Sarko',0,0,0,1,1,0,1,0,-0.08,10.29,-0.89,4.27,5,'human_base_male','npc_name',0.98), (47513082033,110,2,'object/mobile/shared_dressed_commoner_naboo_human_male_06.iff','','',0,0,0,1,1,0,0.78,0,-0.63,34.81,0.1,2.14,5,'businessman','mob/creature_names',1), (47513082035,0,2,'object/mobile/shared_dressed_commoner_old_twilek_male_02.iff','','',0,0,0,1,1,0,-0.54,0,0.84,4775.33,4.17,-4601.68,5,'commoner','mob/creature_names',1), (47513082037,0,2,'object/mobile/shared_fanned_rawl_hue.iff','','',0,0,0,1,1,0,0.55,0,0.83,5038.97,6.17,-4480.12,5,'fanned_rawl','mob/creature_names',1.07), (47513082039,0,2,'object/mobile/shared_dressed_rebel_trooper_human_female_01.iff','','',0,0,0,1,2,0,-0.35,0,0.94,4904.74,4.35,-4554.05,5,'crackdown_rebel_rifleman','mob/creature_names',1), (47513082041,4215418,2,'object/mobile/shared_dressed_commoner_tatooine_rodian_female_04.iff','','',0,0,0,1,1,0,0,0,1,-46.8,2.64,30.18,5,'businessman','mob/creature_names',1), (47513082043,4215418,2,'object/mobile/shared_dressed_criminal_thug_rodian_male_01.iff','','',0,0,0,1,1,0,1,0,0,-46.8,2.64,31.28,5,'brawler','mob/creature_names',1), (47513082045,4215413,2,'object/mobile/shared_gungan_s04_male.iff','','',0,0,0,1,1,0,0,0,1,55.82,-0.52,43.1,5,'gungan_mercenary','mob/creature_names',0.8), (47513082047,4215413,2,'object/mobile/shared_ankura_gungan.iff','','',0,0,0,1,1,0,1,0,0,55.82,-0.52,44.2,5,'ankura_gungan','mob/creature_names',1), (47513082049,4215413,2,'object/mobile/shared_dressed_commoner_artisan_sullustan_male_01.iff','','',0,0,0,1,1,0,0.92,0,0.38,54.72,-0.52,44.2,5,'artisan','mob/creature_names',1), (47513082051,4215407,2,'object/mobile/shared_dressed_philosopher.iff','','',0,0,0,1,1,0,0,0,1,9.12,0.64,74.18,5,'philosopher','mob/creature_names',0.83), (47513082053,4215407,2,'object/mobile/shared_dressed_mercenary_weak_hum_m.iff','','',0,0,0,1,1,0,1,0,0,9.12,0.64,75.18,5,'mercenary','mob/creature_names',1), (47513082055,4215410,2,'object/mobile/shared_space_chassis_broker_03.iff','','',0,0,0,1,1,0,0.96,0,0.27,-0.5,0.64,66.95,5,'npc_name','chassis_npc',1), (47513082057,4215410,2,'object/mobile/shared_dressed_commoner_naboo_human_female_07.iff','Selan','Ellison',0,0,0,1,1,0,0,0,1,15.41,0.64,56.35,5,'commoner_human_female','mob/creature_names',1), (47513082059,0,2,'object/mobile/shared_dressed_commoner_tatooine_bith_female_06.iff','','',0,0,0,1,1,0,1,0,0.06,4767.37,4.17,-4574.35,5,'commoner','mob/creature_names',1), (47513082061,0,2,'object/mobile/shared_dressed_commoner_tatooine_aqualish_male_06.iff','','',0,0,0,1,1,0,0.77,0,0.64,4762.59,4.17,-4583.87,5,'commoner','mob/creature_names',0.95), (47513082063,0,2,'object/mobile/shared_dressed_commoner_fat_human_male_02.iff','','',0,0,0,1,1,0,0.98,0,-0.18,4727.15,4.17,-4576.43,5,'commoner','mob/creature_names',1), (47513082065,0,2,'object/mobile/shared_dressed_rebel_trooper_bith_m_01.iff','','',0,0,0,1,2,0,0.63,0,0.78,4832.94,4.17,-4576.92,5,'crackdown_rebel_guardsman','mob/creature_names',1.1), (47513082067,0,2,'object/mobile/shared_dressed_commoner_tatooine_rodian_male_03.iff','','',0,0,0,1,1,0,1,0,-0.04,4692.75,4.17,-4722.33,5,'commoner','mob/creature_names',1), (47513082069,0,2,'object/mobile/shared_dressed_commoner_tatooine_devaronian_male_04.iff','','',0,0,0,1,1,0,0,0,1,4661.19,4.15,-4709.75,5,'commoner','mob/creature_names',1), (47513082071,0,2,'object/mobile/shared_gungan_s02_male.iff','','',0,0,0,1,1,0,1,0,0,4661.19,4.16,-4708.75,5,'gungan_grand_army_soldier','mob/creature_names',0.95), (47513082073,0,2,'object/mobile/shared_dressed_commoner_tatooine_aqualish_male_04.iff','','',0,0,0,1,1,0,0.53,0,0.85,4662.3,4.17,-4674.62,5,'commoner','mob/creature_names',1), (47513082075,0,2,'object/mobile/shared_r4.iff','R4-X5','',0,0,0,1,1,0,0.28,0,0.96,4653.07,4.17,-4614.88,5,'r4','mob/creature_names',1), (47513082077,0,2,'object/mobile/shared_dressed_criminal_thug_bothan_male_01.iff','','',0,0,0,1,1,0,0,0,1,4713.02,4.17,-4711.61,5,'bodyguard','mob/creature_names',1), (47513082079,0,2,'object/mobile/shared_dressed_criminal_thug_rodian_female_01.iff','','',0,0,0,1,1,0,1,0,0.09,4638.3,4.91,-4666.74,5,'mummer_punk','mob/creature_names',1.06), (47513082081,0,2,'object/mobile/shared_dressed_commoner_tatooine_aqualish_male_05.iff','','',0,0,0,1,1,0,-0.41,0,0.91,4640.72,4.23,-4638.9,5,'commoner','mob/creature_names',1), (47513082083,0,2,'object/mobile/shared_eg6_power_droid.iff','','',0,0,0,1,1,0,0.32,0,0.95,4657.37,4.17,-4616.56,5,'eg6_power_droid','mob/creature_names',1), (47513082085,0,2,'object/mobile/shared_r3.iff','R3-G3','',0,0,0,1,1,0,0.99,0,0.17,4648.91,4.3,-4687.51,5,'r3','mob/creature_names',1), (47513082087,0,2,'object/mobile/shared_dressed_criminal_thug_aqualish_male_01.iff','','',0,0,0,1,1,0,0.86,0,0.51,4639.86,4.71,-4664.39,5,'mummer_punk','mob/creature_names',1), (47513082089,0,2,'object/mobile/shared_dressed_rebel_trooper_twk_male_01.iff','','',0,0,0,1,2,0,-0.05,0,1,4619.19,6.44,-4653.78,5,'crackdown_rebel_soldier','mob/creature_names',1), (47513082091,0,2,'object/mobile/shared_dressed_rebel_specforce_captain_zabrak_male_01.iff','','',0,0,0,1,2,0,0.21,0,0.98,4650.84,4.17,-4608.94,5,'crackdown_rebel_guard_captain','mob/creature_names',0.89), (47513082093,0,2,'object/mobile/shared_dressed_commoner_naboo_moncal_female_01.iff','','',0,0,0,1,1,0,-0.28,0,0.96,4644.28,4.16,-4616.01,5,'commoner','mob/creature_names',1), (47513082095,0,2,'object/mobile/shared_dressed_commoner_artisan_sullustan_male_01.iff','','',0,0,0,1,1,0,0,0,1,4682.7,4.17,-4582.35,5,'artisan','mob/creature_names',1), (47513082097,0,2,'object/mobile/shared_gungan_male.iff','','',0,0,0,1,1,0,1,0,0,4682.7,4.17,-4581.35,5,'gungan_hermit','mob/creature_names',1.04), (47513082099,0,2,'object/mobile/shared_fanned_rawl_hue.iff','','',0,0,0,1,1,0,0.85,0,-0.53,4488.57,4.3,-4577.86,5,'fanned_rawl','mob/creature_names',1), (47513082101,0,2,'object/mobile/shared_fanned_rawl_hue.iff','','',0,0,0,1,1,0,0.81,0,0.58,4528.34,6.09,-4563.75,5,'fanned_rawl','mob/creature_names',1), (47513082103,0,2,'object/mobile/shared_dressed_commoner_tatooine_trandoshan_female_04.iff','','',0,0,0,1,1,0,-0.09,0,1,4684.97,4.17,-4573.87,5,'commoner','mob/creature_names',1.09), (47513082107,0,2,'object/mobile/shared_dressed_rebel_trooper_twk_female_01.iff','','',0,0,0,1,2,0,0.85,0,0.53,4761.9,4.17,-4581.74,5,'crackdown_rebel_guardsman','mob/creature_names',0.85), (47513082109,0,2,'object/mobile/shared_fanned_rawl_hue.iff','','',0,0,0,1,1,0,0.2,0,0.98,4613.45,4.06,-4443.85,5,'fanned_rawl','mob/creature_names',1), (47513082111,0,2,'object/mobile/shared_dressed_rebel_sergeant_moncal_male_01.iff','','',0,0,0,1,2,0,0.79,0,-0.61,4816.42,4.17,-4578.19,5,'crackdown_rebel_sergeant','mob/creature_names',1), (47513082113,0,2,'object/mobile/shared_dressed_royal_officer_human_male_01.iff','','',0,0,0,1,1,0,0.81,0,-0.59,2071.58,27.47,2579.27,5,'naboo_police','mob/creature_names',1), (47513082115,0,2,'object/mobile/shared_dressed_royal_officer_human_female_01.iff','','',0,0,0,1,1,0,1,0,-0.07,2072.93,28.01,2577.64,5,'naboo_police','mob/creature_names',0.98), (47513082119,0,2,'object/mobile/shared_dressed_royal_officer_human_female_01.iff','','',0,0,0,1,1,0,0.69,0,0.72,1999.22,12,2517.16,5,'naboo_police','mob/creature_names',0.96), (47513082121,0,2,'object/mobile/shared_dressed_stormtrooper_m.iff','','',0,0,0,1,3,0,0.83,0,-0.56,1992.84,12.86,2494.75,5,'crackdown_stormtrooper','mob/creature_names',1), (47513082123,0,2,'object/mobile/shared_dressed_commoner_fat_twilek_male_02.iff','','',0,0,0,1,1,0,-0.3,0,0.95,1949.46,12,2419.42,5,'commoner','mob/creature_names',0.85), (47513082125,0,2,'object/mobile/shared_dressed_commoner_old_human_female_01.iff','','',0,0,0,1,1,0,0.92,0,0.4,1963.35,12,2435.67,5,'commoner','mob/creature_names',1), (47513082127,0,2,'object/mobile/shared_dressed_commoner_fat_twilek_female_01.iff','','',0,0,0,1,1,0,0.87,0,0.49,1942.15,12,2442.15,5,'commoner','mob/creature_names',1), (47513082129,0,2,'object/mobile/shared_dressed_commoner_naboo_human_female_07.iff','','',0,0,0,1,1,0,0.95,0,0.32,1991.67,12,2509.05,5,'commoner','mob/creature_names',0.95), (47513082131,0,2,'object/mobile/shared_dressed_commoner_tatooine_devaronian_male_03.iff','','',0,0,0,1,1,0,0.98,0,-0.22,1973.57,12,2504.72,5,'commoner','mob/creature_names',1), (47513082133,0,2,'object/mobile/shared_dressed_commoner_fat_twilek_female_01.iff','','',0,0,0,1,1,0,-0.67,0,0.74,1966.49,12,2477.69,5,'commoner','mob/creature_names',1), (47513082135,0,2,'object/mobile/shared_dressed_commoner_tatooine_sullustan_male_02.iff','','',0,0,0,1,1,0,-0.08,0,1,1977.19,12,2557.14,5,'commoner','mob/creature_names',0.95), (47513082137,0,2,'object/mobile/shared_dressed_commoner_naboo_human_female_05.iff','','',0,0,0,1,1,0,0.73,0,-0.69,1988.95,12,2621.6,5,'commoner','mob/creature_names',1), (47513082139,0,2,'object/mobile/shared_dressed_royal_officer_human_male_01.iff','','',0,0,0,1,1,0,0.89,0,0.45,1965.21,12,2517.35,5,'naboo_police','mob/creature_names',0.98), (47513082141,0,2,'object/mobile/shared_dressed_royal_officer_human_male_01.iff','','',0,0,0,1,1,0,0.79,0,-0.62,2025.75,12,2575.08,5,'naboo_police','mob/creature_names',1), (47513082143,0,2,'object/mobile/shared_dressed_stormtrooper_m.iff','','',0,0,0,1,3,0,-1,0,0.04,1947.59,12,2456.74,5,'crackdown_stormtrooper','mob/creature_names',1), (47513082145,0,2,'object/mobile/shared_dark_trooper.iff','','',0,0,0,1,3,0,1,0,0.01,1966.82,12,2517.37,5,'crackdown_dark_trooper','mob/creature_names',1.1), (47513082147,0,2,'object/mobile/shared_dressed_stormtrooper_m.iff','','',0,0,0,1,3,0,-0.53,0,0.85,2058.13,26,2574.26,5,'crackdown_stormtrooper','mob/creature_names',1), (47513082149,0,2,'object/mobile/shared_dressed_scout_trooper_white_white.iff','','',0,0,0,1,3,0,0.57,0,0.82,2076.81,30,2584.26,5,'crackdown_scout_trooper','mob/creature_names',1), (47513082151,0,2,'object/mobile/shared_dressed_stormtrooper_m.iff','','',0,0,0,1,3,0,0.67,0,0.75,2116.64,30,2577.93,5,'crackdown_stormtrooper','mob/creature_names',1), (47513082153,0,2,'object/mobile/shared_dressed_stormtrooper_m.iff','','',0,0,0,1,3,0,0.98,0,0.16,2101.46,30.13,2606.03,5,'crackdown_stormtrooper','mob/creature_names',1), (47513082157,0,2,'object/mobile/shared_dressed_plainsfolk.iff','','',0,0,0,1,1,0,0,0,1,2046.08,19,2545.99,5,'plainsfolk','mob/creature_names',1), (47513082159,0,2,'object/mobile/shared_dressed_commoner_tatooine_ishitib_male_03.iff','','',0,0,0,1,1,0,1,0,0,2046.08,19,2546.99,5,'farmer_rancher','mob/creature_names',1), (47513082163,0,2,'object/mobile/shared_r2.iff','R2-T7','',0,0,0,1,1,0,-0.11,0,0.99,1898.77,12.27,2555.41,5,'r2','mob/creature_names',1), (47513082165,5,2,'object/mobile/shared_dressed_commoner_tatooine_bith_female_03.iff','Vigo','Figo',0,0,0,1,1,0,0.96,0,-0.29,-10.91,-0.89,1.92,5,'bith_base_female','npc_name',1), (47513082169,0,2,'object/mobile/shared_dressed_commoner_naboo_human_male_01.iff','','',0,0,0,1,1,0,0.93,0,-0.37,2000.03,12,2538.33,5,'commoner','mob/creature_names',1), (47513082171,0,2,'object/mobile/shared_dressed_commoner_naboo_moncal_female_02.iff','','',0,0,0,1,1,0,0.27,0,0.96,2049.59,19,2549.33,5,'commoner','mob/creature_names',0.89), (47513082173,0,2,'object/mobile/shared_dressed_commoner_naboo_twilek_male_01.iff','','',0,0,0,1,1,0,0.75,0,-0.67,2036.4,19,2548.99,5,'commoner','mob/creature_names',1), (47513082175,0,2,'object/mobile/shared_dressed_commoner_tatooine_bith_female_05.iff','','',0,0,0,1,1,0,-0.24,0,0.97,2076.05,30,2601.63,5,'commoner','mob/creature_names',1), (47513082177,0,2,'object/mobile/shared_dressed_commoner_fat_zabrak_female_01.iff','','',0,0,0,1,1,0,0.86,0,0.51,2000.17,12,2593.59,5,'commoner','mob/creature_names',0.89), (47513082179,0,2,'object/mobile/shared_dressed_commoner_naboo_human_female_04.iff','','',0,0,0,1,1,0,0.51,0,0.86,2018.95,19,2537.63,5,'commoner','mob/creature_names',1), (47513082181,0,2,'object/mobile/shared_dressed_imperial_officer_m.iff','','',0,0,0,1,3,0,0.5,0,0.86,2114.36,30,2573.52,5,'imperial_recruiter','mob/creature_names',1), (47513082187,0,2,'object/mobile/shared_fanned_rawl_hue.iff','','',0,0,0,1,1,0,-0.32,0,0.95,2201.85,30,2462.21,5,'fanned_rawl','mob/creature_names',1), (47513082189,0,2,'object/mobile/shared_dressed_stormtrooper_rifleman_m.iff','','',0,0,0,1,3,0,-0.23,0,0.97,2013.9,18.99,2542.03,5,'crackdown_stormtrooper_rifleman','mob/creature_names',1), (47513082191,0,2,'object/mobile/shared_dressed_stormtrooper_sniper_m.iff','','',0,0,0,1,3,0,0.25,0,0.97,1958.19,12,2461.16,5,'crackdown_stormtrooper_sniper','mob/creature_names',1), (47513082193,0,2,'object/mobile/shared_dressed_scout_trooper_white_white.iff','','',0,0,0,1,3,0,0.95,0,-0.31,1961.3,12,2450.63,5,'crackdown_scout_trooper','mob/creature_names',1), (47513082195,0,2,'object/mobile/shared_dressed_stormtrooper_m.iff','','',0,0,0,1,3,0,0.75,0,-0.66,2009.13,18.92,2535.58,5,'crackdown_stormtrooper','mob/creature_names',1), (47513082197,0,2,'object/mobile/shared_dressed_commoner_naboo_zabrak_male_02.iff','','',0,0,0,1,1,0,-0.36,0,0.93,1926.2,12,2415.7,5,'commoner','mob/creature_names',0.89), (47513082199,0,2,'object/mobile/shared_dressed_plainsfolk.iff','','',0,0,0,1,1,0,0,0,1,1956.57,12,2395.64,5,'plainsfolk','mob/creature_names',1), (47513082201,0,2,'object/mobile/shared_dressed_commoner_naboo_zabrak_female_02.iff','','',0,0,0,1,1,0,0.87,0,-0.5,1906.41,12,2425.21,5,'commoner','mob/creature_names',1), (47513082203,0,2,'object/mobile/shared_dressed_commoner_tatooine_devaronian_male_03.iff','','',0,0,0,1,1,0,0,0,1,1878.94,12,2430.46,5,'fringer','mob/creature_names',0.95), (47513082205,0,2,'object/mobile/shared_dressed_hutt_medic1_zabrak_female_01.iff','','',0,0,0,1,1,0,1,0,0,1878.94,12,2431.46,5,'medic','mob/creature_names',1), (47513082207,0,2,'object/mobile/shared_dressed_commoner_fat_zabrak_female_02.iff','','',0,0,0,1,1,0,0.19,0,0.98,1931.07,12,2388.43,5,'commoner','mob/creature_names',1), (47513082209,0,2,'object/mobile/shared_dressed_stormtrooper_m.iff','','',0,0,0,1,3,0,0.71,0,0.71,1882.02,12,2425.4,5,'crackdown_stormtrooper','mob/creature_names',1), (47513082211,0,2,'object/mobile/shared_dressed_commoner_tatooine_nikto_male_08.iff','','',0,0,0,1,1,0,0.44,0,0.9,1880.74,12,2418.22,5,'commoner','mob/creature_names',0.99), (47513082213,0,2,'object/mobile/shared_dressed_stormtrooper_m.iff','','',0,0,0,1,3,0,0.83,0,0.56,1912.59,12,2380.25,5,'crackdown_stormtrooper','mob/creature_names',1), (47513082215,0,2,'object/mobile/shared_dressed_commoner_tatooine_trandoshan_female_02.iff','','',0,0,0,1,1,0,-0.39,0,0.92,1887.99,12,2399.26,5,'commoner','mob/creature_names',1), (47513082217,0,2,'object/mobile/shared_dressed_commoner_tatooine_aqualish_male_08.iff','','',0,0,0,1,1,0,0.78,0,0.62,1861.98,12,2447.85,5,'commoner','mob/creature_names',0.89), (47513082219,0,2,'object/mobile/shared_dressed_commoner_naboo_moncal_female_01.iff','','',0,0,0,1,1,0,0.97,0,0.23,1920.16,12,2378.24,5,'commoner','mob/creature_names',1), (47513082221,0,2,'object/mobile/shared_dressed_commoner_tatooine_bith_male_01.iff','','',0,0,0,1,1,0,0.67,0,0.74,1949.92,12,2356.98,5,'commoner','mob/creature_names',1.1), (47513082223,0,2,'object/mobile/shared_dressed_imperial_captain_m.iff','','',0,0,0,1,3,0,-0.18,0,0.98,1855.92,12,2450.73,5,'crackdown_imperial_army_captain','mob/creature_names',1), (47513082225,0,2,'object/mobile/shared_dressed_stormtrooper_m.iff','','',0,0,0,1,3,0,-0.18,0,0.98,1855.22,12,2449.15,5,'crackdown_stormtrooper','mob/creature_names',1), (47513082227,0,2,'object/mobile/shared_dressed_commoner_tatooine_aqualish_male_01.iff','','',0,0,0,1,1,0,0.23,0,0.97,1890.11,12,2382.05,5,'commoner','mob/creature_names',1.01), (47513082229,0,2,'object/mobile/shared_dressed_commoner_tatooine_aqualish_female_05.iff','','',0,0,0,1,1,0,0,0,1,1892.56,12,2369.88,5,'fringer','mob/creature_names',1), (47513082231,0,2,'object/mobile/shared_dressed_commoner_naboo_human_male_08.iff','','',0,0,0,1,1,0,0.89,0,0.45,1841.35,12,2461.53,5,'commoner','mob/creature_names',1), (47513082233,0,2,'object/mobile/shared_dressed_eisley_officer_bothan_female_01.iff','','',0,0,0,1,1,0,1,0,0,1956.57,12,2396.64,5,'bothan_information_broker','mob/creature_names',1), (47513082235,0,2,'object/mobile/shared_dressed_stormtrooper_m.iff','','',0,0,0,1,3,0,0.07,0,1,1936.63,11.91,2328.63,5,'crackdown_stormtrooper','mob/creature_names',1), (47513082237,0,2,'object/mobile/shared_dark_trooper.iff','','',0,0,0,1,3,0,0.99,0,0.12,1945.18,1.68,2296.28,5,'crackdown_elite_dark_trooper','mob/creature_names',1.1), (47513082239,0,2,'object/mobile/shared_dressed_commoner_tatooine_bith_female_04.iff','','',0,0,0,1,1,0,1,0,0,1892.56,12,2370.88,5,'gambler','mob/creature_names',0.98), (47513082241,0,2,'object/mobile/shared_dressed_stormtrooper_m.iff','','',0,0,0,1,3,0,1,0,-0.07,1792.81,12.19,2457.18,5,'crackdown_stormtrooper','mob/creature_names',1), (47513082243,0,2,'object/mobile/shared_dressed_stormtrooper_m.iff','','',0,0,0,1,3,0,1,0,-0.04,1785.47,12.19,2457.18,5,'crackdown_stormtrooper','mob/creature_names',1), (47513082245,0,2,'object/mobile/shared_dressed_rsf_pilot.iff','','',0,0,0,1,1,0,0,0,1,1766.86,12,2466.38,5,'rsf_pilot','mob/creature_names',1.07), (47513082247,0,2,'object/mobile/shared_gungan_s02_male.iff','','',0,0,0,1,1,0,1,0,0,1766.86,12,2467.38,5,'gungan_grand_army_soldier','mob/creature_names',1), (47513082249,0,2,'object/mobile/shared_dressed_commoner_tatooine_aqualish_male_05.iff','','',0,0,0,1,1,0,0.53,0,0.85,1798.77,12,2525.79,5,'commoner','mob/creature_names',1), (47513082251,0,2,'object/mobile/shared_dressed_commoner_naboo_human_male_05.iff','','',0,0,0,1,1,0,-0.38,0,0.93,1765.49,12,2494.45,5,'commoner','mob/creature_names',1), (47513082253,0,2,'object/mobile/shared_dressed_scout_trooper_white_white.iff','','',0,0,0,1,3,0,0.7,0,0.71,1795.05,12,2522.92,5,'crackdown_scout_trooper','mob/creature_names',1), (47513082255,0,2,'object/mobile/shared_dressed_stormtrooper_m.iff','','',0,0,0,1,3,0,1,0,-0.06,1779.43,12,2524.66,5,'crackdown_stormtrooper','mob/creature_names',1), (47513082257,0,2,'object/mobile/shared_dressed_royal_officer_human_female_01.iff','','',0,0,0,1,1,0,0.95,0,-0.32,1804.87,12,2543.39,5,'naboo_police','mob/creature_names',1), (47513082259,0,2,'object/mobile/shared_dressed_commoner_naboo_moncal_female_01.iff','','',0,0,0,1,1,0,0.95,0,-0.31,1826.09,12,2558.6,5,'commoner','mob/creature_names',0.83), (47513082261,0,2,'object/mobile/shared_dressed_commoner_fat_twilek_female_02.iff','','',0,0,0,1,1,0,0.98,0,-0.2,1812.48,12,2559.84,5,'commoner','mob/creature_names',1), (47513082263,0,2,'object/mobile/shared_dressed_stormtrooper_sniper_m.iff','','',0,0,0,1,3,0,1,0,-0.02,1783.38,14.5,2546.91,5,'crackdown_stormtrooper_sniper','mob/creature_names',1), (47513082265,0,2,'object/mobile/shared_dressed_commoner_naboo_twilek_female_02.iff','','',0,0,0,1,1,0,0.77,0,0.63,1727.81,12,2467.92,5,'commoner','mob/creature_names',1), (47513082267,0,2,'object/mobile/shared_dressed_commoner_naboo_human_female_08.iff','','',0,0,0,1,1,0,-0.36,0,0.93,1729.85,12,2525.68,5,'commoner','mob/creature_names',1), (47513082269,0,2,'object/mobile/shared_dressed_commoner_tatooine_sullustan_male_03.iff','','',0,0,0,1,1,0,-0.06,0,1,1840.24,12,2584.61,5,'commoner','mob/creature_names',0.95), (47513082271,0,2,'object/mobile/shared_dressed_commoner_tatooine_ishitib_male_01.iff','','',0,0,0,1,1,0,0.76,0,0.65,1762.02,12,2577.97,5,'commoner','mob/creature_names',1), (47513082273,0,2,'object/mobile/shared_dressed_stormtrooper_m.iff','','',0,0,0,1,3,0,0.91,0,0.42,1738.27,12,2561.54,5,'crackdown_stormtrooper','mob/creature_names',1), (47513082275,0,2,'object/mobile/shared_dressed_commoner_old_twilek_female_01.iff','','',0,0,0,1,1,0,0.13,0,0.99,1678.57,12,2432.37,5,'commoner','mob/creature_names',1), (47513082277,0,2,'object/mobile/shared_dressed_commoner_tatooine_nikto_male_08.iff','','',0,0,0,1,1,0,0.07,0,1,1678.76,12,2415.22,5,'commoner','mob/creature_names',1), (47513082279,0,2,'object/mobile/shared_dressed_commoner_tatooine_sullustan_male_05.iff','','',0,0,0,1,1,0,-0.09,0,1,1665.35,12,2428.85,5,'commoner','mob/creature_names',0.95), (47513082281,0,2,'object/mobile/shared_dressed_commoner_fat_twilek_male_01.iff','','',0,0,0,1,1,0,0,0,0.99,1662.83,12,2458.53,5,'naboo_nomad','mob/creature_names',1), (47513082283,0,2,'object/mobile/shared_dressed_imperial_officer_m.iff','','',0,0,0,1,1,0,1,0,0,1662.83,12.31,2459.53,5,'comm_operator','mob/creature_names',1), (47513082285,0,2,'object/mobile/shared_dressed_criminal_thug_aqualish_male_01.iff','','',0,0,0,1,1,0,0,0,1,1666.1,12,2437.15,5,'bodyguard','mob/creature_names',1), (47513082287,0,2,'object/mobile/shared_dressed_commoner_old_human_female_01.iff','','',0,0,0,1,1,0,1,0,0,1666.1,12,2438.15,5,'explorer','mob/creature_names',1.06), (47513082289,4045384,2,'object/mobile/shared_gungan_male.iff','','',0,0,0,1,1,0,0,0,1,-22.02,2.13,74.39,5,'otolla_gungan','mob/creature_names',1), (47513082291,4045384,2,'object/mobile/shared_dressed_mercenary_weak_rod_m.iff','','',0,0,0,1,1,0,1,0,0,-22.02,2.13,75.39,5,'pilot','mob/creature_names',1), (47513082293,4045383,2,'object/mobile/shared_dressed_royal_officer_human_female_01.iff','','',0,0,0,1,1,0,0,0,1,25.05,2.13,74.63,5,'naboo_police','mob/creature_names',0.98), (47513082295,4045383,2,'object/mobile/shared_dressed_mercenary_messanger_sullustan_m.iff','','',0,0,0,1,1,0,1,0,0,25.05,2.13,75.73,5,'mercenary','mob/creature_names',1), (47513082297,4045383,2,'object/mobile/shared_dressed_noble_human_female_04.iff','','',0,0,0,1,1,0,0.73,0,-0.68,19.26,2.13,56.13,5,'noble','mob/creature_names',1), (47513082299,4045383,2,'object/mobile/shared_dressed_entertainer_trainer_twk_male_01.iff','','',0,0,0,1,1,0,0.03,0,1,21.99,2.13,64.05,5,'quest_crowd_pleaser_theater_manager','mob/creature_names',0.89), (47513082301,4045382,2,'object/mobile/shared_dressed_noble_zabrak_female_01.iff','','',0,0,0,1,1,0,0.93,0,-0.36,28.93,2.13,58.19,5,'noble','mob/creature_names',1), (47513082303,4045381,2,'object/mobile/shared_dressed_commoner_tatooine_devaronian_male_03.iff','','',0,0,0,1,1,0,0,0,1,-14.02,2.6,19.97,5,'hunter','mob/creature_names',1), (47513082305,4045381,2,'object/mobile/shared_dressed_scout_trooper_white_white.iff','','',0,0,0,1,1,0,1,0,0,-14.02,2.6,21.07,5,'scout_trooper','mob/creature_names',1.04), (47513082307,4045381,2,'object/mobile/shared_dressed_entertainer_trainer_twk_male_01.iff','','',0,0,0,1,1,0,0,0,1,12.91,1.97,29.36,5,'entertainer','mob/creature_names',1), (47513082309,4045381,2,'object/mobile/shared_dressed_commoner_naboo_human_female_02.iff','','',0,0,0,1,1,0,1,0,0,12.91,1.87,30.45,5,'miner','mob/creature_names',1), (47513082311,4045381,2,'object/mobile/shared_dressed_rebel_specforce_pathfinder_twk_female_01.iff','O-ev','Afe',0,0,0,1,1,0,0,0,1,11.54,0.83,41.76,5,'twilek_base_female','npc_name',1.09), (47513082313,4045381,2,'object/mobile/shared_gungan_male.iff','','',0,0,0,1,1,0,1,0,0,11.54,0.73,42.85,5,'gungan_hermit','mob/creature_names',1), (47513082315,4045376,2,'object/mobile/shared_dressed_commoner_tatooine_bith_male_06.iff','','',0,0,0,1,1,0,0,0,1,8.34,0.6,-7.46,5,'farmer_agriculturalist','mob/creature_names',0.85), (47513082317,4045376,2,'object/mobile/shared_dressed_commoner_tatooine_sullustan_male_02.iff','','',0,0,0,1,1,0,1,0,0,8.34,0.6,-6.36,5,'swamp_villager','mob/creature_names',1), (47513082319,4045376,2,'object/mobile/shared_dressed_commoner_naboo_moncal_male_01.iff','','',0,0,0,1,1,0,0.92,0,0.38,7.24,0.6,-6.36,5,'fringer','mob/creature_names',1), (47513082321,0,2,'object/mobile/shared_dressed_commoner_tatooine_aqualish_female_08.iff','','',0,0,0,1,1,0,0.57,0,0.82,1736.54,12,2588.82,5,'commoner','mob/creature_names',1), (47513082323,0,2,'object/mobile/shared_dressed_herald_servant_naboo_human_male.iff','Demitri','Firewatcher',0,0,0,1,1,0,0.99,0,0.12,1673.87,12,2582.69,5,'human_base_male','npc_name',0.98), (47513082325,0,2,'object/mobile/shared_dressed_commoner_naboo_zabrak_female_02.iff','','',0,0,0,1,1,0,0,0,1,1798.57,12.52,2603.13,5,'farmer_rancher','mob/creature_names',1), (47513082327,0,2,'object/mobile/shared_dressed_commoner_fat_human_male_02.iff','','',0,0,0,1,1,0,1,0,0,1798.57,12.52,2604.13,5,'businessman','mob/creature_names',0.96), (47513082329,0,2,'object/mobile/shared_dressed_stormtrooper_m.iff','','',0,0,0,1,3,0,0.74,0,-0.67,1719.01,14.5,2616.39,5,'crackdown_stormtrooper','mob/creature_names',1), (47513082331,0,2,'object/mobile/shared_dressed_commoner_tatooine_sullustan_male_03.iff','','',0,0,0,1,1,0,0.3,0,0.95,1700.71,12,2620.53,5,'commoner','mob/creature_names',0.85), (47513082333,0,2,'object/mobile/shared_dressed_commoner_tatooine_aqualish_female_04.iff','','',0,0,0,1,1,0,0.78,0,-0.63,1885.69,12,2590.61,5,'commoner','mob/creature_names',1), (47513082335,0,2,'object/mobile/shared_dressed_commoner_tatooine_rodian_female_03.iff','','',0,0,0,1,1,0,-0.11,0,0.99,1819.6,12,2647.53,5,'commoner','mob/creature_names',1), (47513082337,0,2,'object/mobile/shared_dressed_commoner_tatooine_devaronian_male_01.iff','','',0,0,0,1,1,0,0.93,0,-0.37,1873.2,12,2615.18,5,'commoner','mob/creature_names',0.95), (47513082339,0,2,'object/mobile/shared_dressed_commoner_old_human_female_01.iff','','',0,0,0,1,1,0,-0.65,0,0.76,1851.78,12,2642.03,5,'commoner','mob/creature_names',1), (47513082341,0,2,'object/mobile/shared_dressed_commoner_tatooine_nikto_male_02.iff','','',0,0,0,1,1,0,0.71,0,-0.7,1896.21,12,2634.89,5,'commoner','mob/creature_names',1), (47513082343,0,2,'object/mobile/shared_dressed_commoner_tatooine_rodian_male_01.iff','','',0,0,0,1,1,0,0.68,0,0.73,1880.87,12,2662.79,5,'commoner','mob/creature_names',0.95), (47513082345,0,2,'object/mobile/shared_dressed_plainsfolk.iff','','',0,0,0,1,1,0,0,0,1,1939.81,12,2653.34,5,'plainsfolk','mob/creature_names',1), (47513082347,0,2,'object/mobile/shared_ankura_gungan.iff','','',0,0,0,1,1,0,1,0,0,1939.81,12,2654.44,5,'ankura_gungan','mob/creature_names',0.98), (47513082349,0,2,'object/mobile/shared_gungan_s02_male.iff','','',0,0,0,1,1,0,0,0,1,1959.04,12,2662.77,5,'gungan_guard','mob/creature_names',1), (47513082351,0,2,'object/mobile/shared_dressed_noble_human_female_01.iff','','',0,0,0,1,1,0,1,0,0,1959.04,12,2663.87,5,'noble','mob/creature_names',1), (47513082353,0,2,'object/mobile/shared_dressed_commoner_naboo_zabrak_female_02.iff','','',0,0,0,1,1,0,0.92,0,0.38,1957.94,12,2663.87,5,'farmer','mob/creature_names',0.85), (47513082355,1661376,2,'object/mobile/shared_dressed_mercenary_messanger_hum_f.iff','','',0,0,0,1,1,0,0,0,1,30.4,13.25,11.06,5,'pilot','mob/creature_names',1), (47513082357,1661376,2,'object/mobile/shared_dressed_commoner_tatooine_devaronian_male_04.iff','','',0,0,0,1,1,0,1,0,0,30.4,13.25,12.06,5,'explorer','mob/creature_names',1), (47513082359,1661370,2,'object/mobile/shared_21b_surgical_droid.iff','','',0,0,0,1,1,0,0.92,0,0.39,-25.52,0.26,-3.48,5,'surgical_droid_21b','mob/creature_names',1), (47513082361,0,2,'object/mobile/shared_dark_trooper.iff','','',0,0,0,1,3,0,0.82,0,0.56,1935.31,12,2684.39,5,'crackdown_dark_trooper','mob/creature_names',1.1), (47513082363,0,2,'object/mobile/shared_dressed_stormtrooper_m.iff','','',0,0,0,1,3,0,0.98,0,-0.18,1922.21,12.22,2704.1,5,'crackdown_stormtrooper','mob/creature_names',1), (47513082365,0,2,'object/mobile/shared_dressed_commoner_naboo_bothan_male_02.iff','','',0,0,0,1,1,0,0.97,0,-0.22,1935.8,12,2712.85,5,'commoner','mob/creature_names',1), (47513082367,0,2,'object/mobile/shared_dressed_stormtrooper_m.iff','','',0,0,0,1,3,0,0.33,0,0.94,1878.15,12,2726.26,5,'crackdown_stormtrooper','mob/creature_names',1), (47513082369,0,2,'object/mobile/shared_dressed_stormtrooper_m.iff','','',0,0,0,1,3,0,0.39,0,0.92,1862.69,12.21,2721.07,5,'crackdown_stormtrooper','mob/creature_names',1), (47513082371,0,2,'object/mobile/shared_dressed_commoner_tatooine_aqualish_female_08.iff','','',0,0,0,1,1,0,0,0,1,1958.41,12,2711.12,5,'naboo_holy_man','mob/creature_names',1), (47513082373,0,2,'object/mobile/shared_dressed_stormtrooper_m.iff','','',0,0,0,1,3,0,-0.7,0,0.71,1987.83,30.19,2692.9,5,'crackdown_stormtrooper','mob/creature_names',1), (47513082375,0,2,'object/mobile/shared_dressed_criminal_slicer_human_female_01.iff','','',0,0,0,1,1,0,1,0,0,1958.41,12,2712.12,5,'spacer','mob/creature_names',0.89), (47513082377,0,2,'object/mobile/shared_dressed_commoner_tatooine_aqualish_female_03.iff','','',0,0,0,1,1,0,0,0,1,1803.85,12,2698.07,5,'commoner','mob/creature_names',1), (47513082379,0,2,'object/mobile/shared_gungan_male.iff','','',0,0,0,1,1,0,0,0,1,1828.07,12,2719.55,5,'gungan_hermit','mob/creature_names',1), (47513082381,0,2,'object/mobile/shared_dressed_commoner_tatooine_bith_female_01.iff','','',0,0,0,1,1,0,1,0,0,1828.07,12,2720.55,5,'miner','mob/creature_names',0.89), (47513082383,0,2,'object/mobile/shared_dressed_commoner_tatooine_sullustan_male_03.iff','','',0,0,0,1,1,0,0.23,0,0.97,1908.01,12,2749.18,5,'commoner','mob/creature_names',1), (47513082385,0,2,'object/mobile/shared_dressed_commoner_tatooine_sullustan_male_02.iff','','',0,0,0,1,1,0,1,0,-0.1,1896.4,12,2759.69,5,'commoner','mob/creature_names',1), (47513082387,0,2,'object/mobile/shared_dressed_commoner_tatooine_nikto_male_06.iff','','',0,0,0,1,1,0,0.85,0,-0.53,1809.53,12,2726.13,5,'commoner','mob/creature_names',1), (47513082389,0,2,'object/mobile/shared_dressed_commoner_tatooine_nikto_male_04.iff','','',0,0,0,1,1,0,0,0,1,1769.04,12,2694.47,5,'gambler','mob/creature_names',1.02), (47513082391,0,2,'object/mobile/shared_dressed_commoner_tatooine_aqualish_male_01.iff','','',0,0,0,1,1,0,1,0,0,1769.04,12,2695.47,5,'miner','mob/creature_names',1), (47513082393,0,2,'object/mobile/shared_dressed_commoner_tatooine_bith_male_05.iff','','',0,0,0,1,1,0,-0.3,0,0.95,1878.48,12,2734.99,5,'commoner','mob/creature_names',1), (47513082395,0,2,'object/mobile/shared_dressed_commoner_tatooine_rodian_male_04.iff','','',0,0,0,1,1,0,0.95,0,-0.3,1780.1,12,2738.98,5,'commoner','mob/creature_names',0.95), (47513082397,0,2,'object/mobile/shared_dressed_stormtrooper_rifleman_m.iff','','',0,0,0,1,3,0,0.91,0,0.41,1782.18,12.15,2748.44,5,'crackdown_stormtrooper_rifleman','mob/creature_names',1), (47513082399,0,2,'object/mobile/shared_r4.iff','R4-I0','',0,0,0,1,1,0,0.71,0,0.71,1774.57,12,2739.21,5,'r4','mob/creature_names',1), (47513082407,0,2,'object/mobile/shared_dressed_commoner_naboo_human_male_04.iff','','',0,0,0,1,1,0,-0.17,0,0.99,1731.77,12,2711.7,5,'commoner','mob/creature_names',0.95), (47513082409,0,2,'object/mobile/shared_dressed_rebel_trooper_twk_male_01.iff','','',0,0,0,1,2,0,-0.17,0,0.98,1744.75,32.72,2772.1,5,'crackdown_rebel_soldier_hard','mob/creature_names',1), (47513082413,0,2,'object/mobile/shared_dressed_commoner_tatooine_ishitib_male_03.iff','','',0,0,0,1,1,0,0.54,0,0.84,1725.94,12,2734.49,5,'commoner','mob/creature_names',1), (47513082415,0,2,'object/mobile/shared_dressed_commoner_tatooine_trandoshan_female_04.iff','','',0,0,0,1,1,0,0,0,1,1732.65,12,2744.79,5,'farmer_agriculturalist','mob/creature_names',1), (47513082417,0,2,'object/mobile/shared_dressed_commoner_tatooine_devaronian_male_03.iff','','',0,0,0,1,1,0,1,0,0,1732.65,12,2745.79,5,'miner','mob/creature_names',0.99), (47513082419,0,2,'object/mobile/shared_dressed_royal_officer_human_female_01.iff','','',0,0,0,1,1,0,0.13,0,0.99,1728.5,12,2743.68,5,'naboo_police_chief','mob/creature_names',1), (47513082421,0,2,'object/mobile/shared_dressed_criminal_slicer_human_female_01.iff','','',0,0,0,1,1,0,1,0,0,1713.56,12,2736.4,5,'spacer','mob/creature_names',1), (47513082427,0,2,'object/mobile/shared_dressed_stormtrooper_m.iff','','',0,0,0,1,3,0,-0.64,0,0.77,1697.08,13.8,2709.5,5,'crackdown_stormtrooper','mob/creature_names',1), (47513082435,0,2,'object/mobile/shared_dressed_commoner_tatooine_sullustan_male_01.iff','','',0,0,0,1,1,0,0.94,0,-0.33,1687.57,12,2670.04,5,'commoner','mob/creature_names',1), (47513082437,0,2,'object/mobile/shared_dressed_artisan_trainer_03.iff','','',0,0,0,1,1,0,0,0,1,1693.34,12,2641.29,5,'artisan','mob/creature_names',1), (47513082439,0,2,'object/mobile/shared_dressed_noble_fat_human_female_01.iff','','',0,0,0,1,1,0,1,0,0,1693.34,12,2642.29,5,'noble','mob/creature_names',1), (47513082441,0,2,'object/mobile/shared_gungan_s04_male.iff','','',0,0,0,1,1,0,0,0,1,1661.45,21,2696.13,5,'gungan_scout','mob/creature_names',1.05), (47513082443,0,2,'object/mobile/shared_dressed_plainsfolk.iff','','',0,0,0,1,1,0,1,0,0,1661.45,21,2697.13,5,'plainsfolk','mob/creature_names',1), (47513082445,0,2,'object/mobile/shared_dressed_desperado_bith_female_01.iff','','',0,0,0,1,1,0,0,0,1,1713.56,12,2735.4,5,'bodyguard','mob/creature_names',0.98), (47513082447,0,2,'object/mobile/shared_dressed_commoner_tatooine_bith_female_04.iff','','',0,0,0,1,1,0,0.32,0,0.95,1674.11,12,2626.24,5,'commoner','mob/creature_names',1), (47513082449,0,2,'object/mobile/shared_gungan_s04_male.iff','','',0,0,0,1,1,0,0,0,1,1667.3,12,2628.98,5,'gungan_mercenary','mob/creature_names',1), (47513082451,0,2,'object/mobile/shared_dressed_commoner_fat_zabrak_male_02.iff','','',0,0,0,1,1,0,1,0,0,1667.3,12,2629.98,5,'miner','mob/creature_names',1.07), (47513082453,1393883,2,'object/mobile/shared_dressed_stormtrooper_m.iff','','',0,0,0,1,3,0,0.71,0,0.71,-3.5,-9,-1.4,5,'stormtrooper','mob/creature_names',1), (47513082455,1393883,2,'object/mobile/shared_dressed_stormtrooper_m.iff','','',0,0,0,1,3,0,0.71,0,0.71,-3.5,-9,2.9,5,'stormtrooper','mob/creature_names',1), (47513082457,1393882,2,'object/mobile/shared_dressed_mercenary_weak_hum_m.iff','','',0,0,0,1,1,0,0,0,1,12,1.75,-20.13,5,'mercenary','mob/creature_names',1), (47513082459,1393882,2,'object/mobile/shared_dressed_bounty_hunter_zabrak_female_01.iff','','',0,0,0,1,1,0,1,0,0,12,1.75,-19.03,5,'bounty_hunter','mob/creature_names',0.8), (47513082461,1393882,2,'object/mobile/shared_dressed_commoner_old_zabrak_male_01.iff','','',0,0,0,1,1,0,0.92,0,0.38,11.26,1.75,-19.03,5,'hunter','mob/creature_names',1), (47513082463,1393881,2,'object/mobile/shared_dressed_commoner_naboo_moncal_female_02.iff','','',0,0,0,1,1,0,0,0,1,-3.87,1.15,-8.55,5,'mountain_villager','mob/creature_names',1), (47513082465,1393881,2,'object/mobile/shared_dressed_commoner_naboo_human_male_08.iff','','',0,0,0,1,1,0,1,0,0,-3.87,1.15,-7.45,5,'swamp_villager','mob/creature_names',0.83), (47513082467,1393881,2,'object/mobile/shared_dressed_commoner_tatooine_rodian_female_02.iff','','',0,0,0,1,1,0,0.92,0,0.38,-4.97,1.15,-7.45,5,'fringer','mob/creature_names',1), (47513082469,1393881,2,'object/mobile/shared_dressed_eisley_officer_bothan_female_01.iff','','',0,0,0,1,1,0,0,0,1,6.41,1.15,-2.48,5,'bothan_information_broker','mob/creature_names',1), (47513082471,1393881,2,'object/mobile/shared_dressed_ruffian_zabrak_female_01.iff','','',0,0,0,1,1,0,1,0,0,6.41,1.15,-1.38,5,'scoundrel','mob/creature_names',1), (47513082473,1393881,2,'object/mobile/shared_dressed_stormtrooper_m.iff','','',0,0,0,1,3,0,1,0,-0.01,7.3,2.25,5.9,5,'stormtrooper','mob/creature_names',1), (47513082475,1393881,2,'object/mobile/shared_dressed_imperial_officer_m_4.iff','','',0,0,0,1,3,0,1,0,0.01,-10.6,1.75,-6.6,5,'imperial_corporal','mob/creature_names',1), (47513082477,1393881,2,'object/mobile/shared_dressed_stormtrooper_m.iff','','',0,0,0,1,3,0,1,0,-0.01,-7.3,2.25,5.9,5,'stormtrooper','mob/creature_names',1), (47513082479,1393878,2,'object/mobile/shared_dressed_commoner_tatooine_bith_male_04.iff','','',0,0,0,1,1,0,0.71,0,-0.71,21.71,2.25,11.67,5,'commoner','mob/creature_names',1.1), (47513082481,1393878,2,'object/mobile/shared_dressed_commoner_tatooine_aqualish_female_05.iff','','',0,0,0,1,1,0,0.71,0,0.71,19.71,2.25,11.67,5,'commoner','mob/creature_names',1), (47513082483,1393878,2,'object/mobile/shared_r2.iff','R2-R4','',0,0,0,1,1,0,0.96,0,0.27,20.71,2.25,12.67,5,'r2','mob/creature_names',1), (47513082485,0,2,'object/mobile/shared_dressed_commoner_old_zabrak_female_02.iff','','',0,0,0,1,1,0,0.56,0,0.83,1621.31,12,2633.4,5,'commoner','mob/creature_names',0.95), (47513082487,0,2,'object/mobile/shared_dressed_commoner_tatooine_ishitib_male_02.iff','','',0,0,0,1,1,0,-0.34,0,0.94,1640.27,12,2577.94,5,'commoner','mob/creature_names',1), (47513082489,1396874,2,'object/mobile/shared_dressed_commoner_naboo_zabrak_male_01.iff','','',0,0,0,1,1,0,0.82,0,-0.57,3.29,1.13,-9.58,5,'miner','mob/creature_names',1), (47513082491,1396870,2,'object/mobile/shared_dressed_artisan_trainer_02.iff','','',0,0,0,1,1,0,0.1,0,1,-3.69,1.13,-6,5,'crafting_contractor','mob/creature_names',1), (47513082493,0,2,'object/mobile/shared_dressed_commoner_tatooine_bith_female_06.iff','','',0,0,0,1,1,0,0.42,0,0.91,1692.48,12,2595.99,5,'commoner','mob/creature_names',1.06), (47513082497,0,2,'object/mobile/shared_dressed_commoner_tatooine_trandoshan_female_04.iff','','',0,0,0,1,1,0,1,0,-0.04,1556.66,25,2791.52,5,'commoner','mob/creature_names',1), (47513082499,0,2,'object/mobile/shared_dressed_commoner_tatooine_bith_male_05.iff','','',0,0,0,1,1,0,0.94,0,-0.35,1574.29,25,2822.56,5,'commoner','mob/creature_names',1), (47513082503,0,2,'object/mobile/shared_dressed_scout_trooper_black_black.iff','','',0,0,0,1,3,0,-0.04,0,1,1596.75,39.94,2837.22,5,'crackdown_storm_commando','mob/creature_names',1), (47513082507,0,2,'object/mobile/shared_dressed_stormtrooper_groupleader_m.iff','','',0,0,0,1,3,0,0.89,0,-0.46,1578.45,25,2836.83,5,'crackdown_stormtrooper_squad_leader','mob/creature_names',1), (47513082509,0,2,'object/mobile/shared_dressed_commoner_fat_twilek_female_01.iff','','',0,0,0,1,1,0,0.46,0,0.89,1541.47,25,2825.17,5,'commoner','mob/creature_names',1), (47513082513,0,2,'object/mobile/shared_dressed_commoner_tatooine_trandoshan_male_02.iff','','',0,0,0,1,1,0,0.75,0,0.67,1421.62,13,2729.5,5,'commoner','mob/creature_names',1), (47513082515,0,2,'object/mobile/shared_dressed_mercenary_messanger_rod_m.iff','','',0,0,0,1,1,0,0,0,1,1428.35,13,2741.53,5,'mercenary','mob/creature_names',1.04), (47513082517,0,2,'object/mobile/shared_dressed_mercenary_messanger_hum_f.iff','','',0,0,0,1,1,0,1,0,0,1428.35,13,2742.53,5,'pilot','mob/creature_names',1), (47513082525,0,2,'object/mobile/shared_dressed_imperial_officer_m.iff','','',0,0,0,1,3,0,0.45,0,0.89,1426.35,13,2803.92,5,'imperial_recruiter','mob/creature_names',1), (47513082529,0,2,'object/mobile/shared_dressed_stormtrooper_m.iff','','',0,0,0,1,3,0,0.94,0,-0.33,1426.01,13,2807.48,5,'stormtrooper','mob/creature_names',1), (47513082531,0,2,'object/mobile/shared_dressed_commoner_old_twilek_female_01.iff','','',0,0,0,1,1,0,0.97,0,0.24,1405.78,13,2835.92,5,'commoner','mob/creature_names',1), (47513082533,2125390,2,'object/mobile/shared_dressed_royal_officer_human_female_01.iff','','',0,0,0,1,1,0,0.01,0,1,-45.89,2.64,27.65,5,'naboo_police','mob/creature_names',0.85), (47513082535,2125390,2,'object/mobile/shared_dressed_commoner_fat_zabrak_male_01.iff','','',0,0,0,1,1,0,1,0,-0.01,-45.87,2.64,28.63,5,'mountain_villager','mob/creature_names',1), (47513082537,2125385,2,'object/mobile/shared_dressed_criminal_smuggler_human_female_01.iff','','',0,0,0,1,1,0,0,0,1,56.38,-0.52,39.77,5,'smuggler','mob/creature_names',1), (47513082539,2125385,2,'object/mobile/shared_dressed_mercenary_weak_hum_f.iff','','',0,0,0,1,1,0,1,0,0,56.38,-0.52,40.87,5,'pilot','mob/creature_names',1), (47513082541,2125385,2,'object/mobile/shared_dressed_commoner_tatooine_rodian_female_03.iff','','',0,0,0,1,1,0,0.92,0,0.38,55.28,-0.52,40.87,5,'mountain_villager','mob/creature_names',0.98), (47513082543,2125385,2,'object/mobile/shared_dressed_mercenary_weak_hum_f.iff','','',0,0,0,1,1,0,0.38,0,0.92,55.28,-0.52,39.77,5,'mercenary','mob/creature_names',1), (47513082545,2125382,2,'object/mobile/shared_space_chassis_broker_01.iff','','',0,0,0,1,1,0,0.88,0,0.48,-0.62,0.64,67.06,5,'npc_name','chassis_npc',0.96), (47513082547,2125382,2,'object/mobile/shared_dressed_gavyn_sykes.iff','Captain Gavyn','Sykes',0,0,0,1,3,0,1,0,0.08,8.96,0.64,66.44,5,'human_base_male','npc_name',1), (47513082549,0,2,'object/mobile/shared_dressed_plainsfolk.iff','','',0,0,0,1,1,0,0,0,1,1369.9,13,2728.5,5,'plainsfolk','mob/creature_names',0.85), (47513082551,0,2,'object/mobile/shared_gungan_s03_male.iff','','',0,0,0,1,1,0,1,0,0,1369.9,13,2729.6,5,'gungan_boss','mob/creature_names',1), (47513082553,0,2,'object/mobile/shared_dressed_commoner_tatooine_bith_male_02.iff','','',0,0,0,1,1,0,0.83,0,0.56,1432.15,13,2746.34,5,'commoner','mob/creature_names',1), (47513082555,0,2,'object/mobile/shared_gungan_s04_male.iff','','',0,0,0,1,1,0,0,0,1,1343.27,13,2811.75,5,'gungan_mercenary','mob/creature_names',0.95), (47513082559,0,2,'object/mobile/shared_dressed_commoner_tatooine_nikto_male_06.iff','','',0,0,0,1,1,0,-0.19,0,0.98,1329.19,13,2667,5,'commoner','mob/creature_names',1), (47513082561,0,2,'object/mobile/shared_dressed_mercenary_messanger_sullustan_m.iff','','',0,0,0,1,1,0,0,0,1,1325.38,13,2667.21,5,'mercenary','mob/creature_names',1), (47513082563,0,2,'object/mobile/shared_gungan_s02_male.iff','','',0,0,0,1,1,0,1,0,0,1325.38,13,2668.21,5,'gungan_priest','mob/creature_names',0.95), (47513082569,0,2,'object/mobile/shared_dressed_commoner_naboo_twilek_male_02.iff','','',0,0,0,1,1,0,1,0,0.08,1318.37,13,2669.4,5,'commoner','mob/creature_names',1), (47513082579,0,2,'object/mobile/shared_dressed_commoner_naboo_moncal_female_01.iff','','',0,0,0,1,1,0,1,0,-0.08,1293.76,13,2666.5,5,'commoner','mob/creature_names',0.98), (47513082581,0,2,'object/mobile/shared_dressed_commoner_tatooine_nikto_male_02.iff','','',0,0,0,1,1,0,-0.13,0,0.99,1274.89,13,2726.67,5,'commoner','mob/creature_names',1), (47513082585,0,2,'object/mobile/shared_dressed_commoner_old_zabrak_male_01.iff','','',0,0,0,1,1,0,0.38,0,0.93,1269.66,13,2708.32,5,'commoner','mob/creature_names',1), (47513082587,0,2,'object/mobile/shared_dressed_lt_vana_sage.iff','Lt. Vana','Sage',0,0,0,1,3,0,-0.12,0,0.99,1277.25,13,2746.5,5,'human_base_female','npc_name',0.85), (47513082593,0,2,'object/mobile/shared_dressed_commoner_naboo_human_female_05.iff','','',0,0,0,1,1,0,0.08,0,1,1266.79,13,2778.09,5,'commoner','mob/creature_names',1), (47513082595,0,2,'object/mobile/shared_dressed_commoner_tatooine_sullustan_male_03.iff','','',0,0,0,1,1,0,0.08,0,1,1244.71,13,2762.18,5,'commoner','mob/creature_names',1), (47513082597,0,2,'object/mobile/shared_dressed_commoner_tatooine_aqualish_female_06.iff','','',0,0,0,1,1,0,0.91,0,-0.41,1274.23,13,2804.78,5,'commoner','mob/creature_names',1), (47513082599,0,2,'object/mobile/shared_dressed_commoner_old_zabrak_male_02.iff','','',0,0,0,1,1,0,0.97,0,-0.23,1249.3,13,2797.25,5,'commoner','mob/creature_names',0.99), (47513082601,0,2,'object/mobile/shared_dressed_doctor_trainer_moncal_female_01.iff','','',0,0,0,1,1,0,1,0,-0.03,1215.93,13,2740.33,5,'quest_gadget_specialist','mob/creature_names',1), (47513082603,0,2,'object/mobile/shared_dressed_commoner_tatooine_trandoshan_male_01.iff','','',0,0,0,1,1,0,1,0,0.06,1300.18,13,2836.44,5,'commoner','mob/creature_names',1), (47513082609,0,2,'object/mobile/shared_dressed_commoner_old_twilek_male_01.iff','','',0,0,0,1,1,0,-0.13,0,0.99,1324.21,13,2835.32,5,'commoner','mob/creature_names',0.96), (47513082615,0,2,'object/mobile/shared_dressed_commoner_tatooine_bith_male_04.iff','','',0,0,0,1,1,0,1,0,0,1343.27,13,2812.85,5,'farmer','mob/creature_names',1), (47513082631,0,2,'object/mobile/shared_dressed_imperial_officer_m_2.iff','','',0,0,0,1,3,0,0.79,0,0.61,5259.76,-192,6747.92,5,'crackdown_comm_operator','mob/creature_names',1), (47513082633,0,2,'object/mobile/shared_dressed_royal_officer_human_female_01.iff','','',0,0,0,1,1,0,1,0,0.04,5206.62,-192,6669.59,5,'naboo_police','mob/creature_names',1), (47513082635,0,2,'object/mobile/shared_dressed_stormtrooper_groupleader_m.iff','','',0,0,0,1,3,0,-0.61,0,0.79,5260.39,-192,6747.76,5,'crackdown_stormtrooper_squad_leader','mob/creature_names',1), (47513082637,0,2,'object/mobile/shared_dressed_imperial_officer_m_2.iff','','',0,0,0,1,3,0,-0.23,0,0.97,5287.75,-191.4,6752.3,5,'crackdown_imperial_master_sergeant','mob/creature_names',1), (47513082639,0,2,'object/mobile/shared_dressed_crook_zabrak_female_01.iff','','',0,0,0,1,1,0,0,0,1,5383.39,-192,6658.79,5,'thug','mob/creature_names',1), (47513082641,0,2,'object/mobile/shared_dressed_commoner_old_human_male_01.iff','','',0,0,0,1,1,0,0.82,0,-0.57,5163.6,-192,6642.08,5,'commoner','mob/creature_names',0.89), (47513082643,0,2,'object/mobile/shared_dressed_commoner_naboo_human_female_06.iff','','',0,0,0,1,1,0,-0.57,0,0.82,5179.66,-192,6614.84,5,'commoner','mob/creature_names',1), (47513082645,0,2,'object/mobile/shared_dressed_commoner_tatooine_trandoshan_male_02.iff','','',0,0,0,1,1,0,1,0,0.09,5179.34,-192,6727.08,5,'commoner','mob/creature_names',1), (47513082647,0,2,'object/mobile/shared_r2.iff','R2-Q5','',0,0,0,1,1,0,-0.38,0,0.92,5183.17,-192,6669.5,5,'r2','mob/creature_names',1), (47513082649,0,2,'object/mobile/shared_r3.iff','R3-S1','',0,0,0,1,1,0,0.66,0,0.75,5181.17,-192,6669.5,5,'r3','mob/creature_names',1), (47513082651,1741544,2,'object/mobile/shared_dressed_commoner_naboo_human_male_02.iff','','',0,0,0,1,1,0,0,0,1,-26.49,1.64,53,5,'swamp_villager','mob/creature_names',1), (47513082653,1741544,2,'object/mobile/shared_dressed_criminal_smuggler_human_male_01.iff','','',0,0,0,1,1,0,1,0,0,-26.49,1.64,54.1,5,'spacer','mob/creature_names',1), (47513082655,1741542,2,'object/mobile/shared_dressed_plainsfolk.iff','','',0,0,0,1,1,0,0,0,1,44.7,-0.52,30.98,5,'plainsfolk','mob/creature_names',0.95), (47513082657,1741542,2,'object/mobile/shared_dressed_commoner_tatooine_bith_male_05.iff','','',0,0,0,1,1,0,1,0,0,44.7,-0.52,32.08,5,'businessman','mob/creature_names',1), (47513082659,1741542,2,'object/mobile/shared_dressed_commoner_tatooine_nikto_male_03.iff','','',0,0,0,1,1,0,0,0,1,51.65,0.64,47.08,5,'swamp_villager','mob/creature_names',1), (47513082661,1741542,2,'object/mobile/shared_dressed_artisan_trainer_01.iff','','',0,0,0,1,1,0,1,0,0,51.65,0.64,48.08,5,'artisan','mob/creature_names',0.89), (47513082663,1741539,2,'object/mobile/shared_space_chassis_broker_05.iff','','',0,0,0,1,1,0,1,0,0.08,-0.58,0.64,67.27,5,'npc_name','chassis_npc',1), (47513082665,1741539,2,'object/mobile/shared_dressed_mercenary_messanger_hum_f.iff','Rakib','Ouraolo',0,0,0,1,1,0,0.28,0,0.96,1.1,0.64,66.3,5,'human_base_female','npc_name',1); INSERT INTO `persistent_npcs` (`id`,`parentId`,`family`,`type`,`firstName`,`lastName`,`posture`,`moodId`,`state`,`cl`,`faction`,`oX`,`oY`,`oZ`,`oW`,`x`,`y`,`z`,`planet_id`,`stf_variable_id`,`stf_file_id`,`scale`) VALUES (47513082667,0,2,'object/mobile/shared_dressed_commoner_old_human_female_01.iff','','',0,0,0,1,1,0,0.96,0,0.28,5245.71,-192,6765.44,5,'commoner','mob/creature_names',0.95), (47513082669,0,2,'object/mobile/shared_dressed_stormtrooper_m.iff','','',0,0,0,1,3,0,0.16,0,0.99,5216.2,-192,6721.88,5,'stormtrooper','mob/creature_names',1), (47513082671,0,2,'object/mobile/shared_dressed_commoner_naboo_human_male_05.iff','','',0,0,0,1,1,0,0.11,0,0.99,5239.3,-192,6793.45,5,'commoner','mob/creature_names',1), (47513082673,0,2,'object/mobile/shared_dressed_commoner_tatooine_nikto_male_02.iff','','',0,0,0,1,1,0,-0.35,0,0.94,5211.87,-192,6642.48,5,'commoner','mob/creature_names',1), (47513082675,0,2,'object/mobile/shared_dressed_commoner_tatooine_rodian_male_02.iff','','',0,0,0,1,1,0,0.38,0,0.93,5270.85,-192,6596.08,5,'commoner','mob/creature_names',0.99), (47513082677,0,2,'object/mobile/shared_dressed_commoner_naboo_moncal_female_02.iff','','',0,0,0,1,1,0,0.64,0,0.77,5271.78,-192,6787.81,5,'commoner','mob/creature_names',1), (47513082679,0,2,'object/mobile/shared_dressed_commoner_tatooine_devaronian_male_02.iff','','',0,0,0,1,1,0,0.81,0,-0.59,5239.16,-192,6720.19,5,'commoner','mob/creature_names',1), (47513082681,0,2,'object/mobile/shared_dressed_commoner_tatooine_aqualish_male_05.iff','','',0,0,0,1,1,0,-0.39,0,0.92,5205.35,-192,6781.37,5,'commoner','mob/creature_names',0.89), (47513082683,0,2,'object/mobile/shared_dressed_commoner_old_twilek_female_02.iff','','',0,0,0,1,1,0,0.89,0,0.45,5210.94,-192,6754.5,5,'businessman','mob/creature_names',1), (47513082685,0,2,'object/mobile/shared_dressed_noble_old_twk_female_02.iff','','',0,0,0,1,1,0,0.22,0,0.98,5238.15,-192,6729.7,5,'noble','mob/creature_names',1.1), (47513082687,0,2,'object/mobile/shared_dressed_criminal_thug_zabrak_female_01.iff','','',0,0,0,1,1,0,0.85,0,-0.53,5225.26,-192,6584.55,5,'criminal','mob/creature_names',1), (47513082689,0,2,'object/mobile/shared_dressed_robber_twk_male_01.iff','','',0,0,0,1,1,0,0,0,1,5180.08,-192,6648.55,5,'thug','mob/creature_names',1), (47513082691,0,2,'object/mobile/shared_space_greeter_kadaara_mistress.iff','','',0,0,0,1,1,0,0.79,0,0.62,5207.32,-192,6681.31,5,'gi_a_pei','npc_spawner_n',1.01), (47513082693,0,2,'object/mobile/shared_space_greeter_kadaara_imperial_officer.iff','','',0,0,0,1,3,0,-0.24,0,0.97,5206.5,-192,6680.65,5,'jaden_dala','npc_spawner_n',1), (47513082695,4105618,2,'object/mobile/shared_dressed_noble_fat_zabrak_male_02.iff','','',0,0,0,1,1,0,0.73,0,-0.68,19.26,2.13,56.13,5,'noble','mob/creature_names',1), (47513082697,4105618,2,'object/mobile/shared_dressed_entertainer_trainer_human_female_01.iff','','',0,0,0,1,1,0,0.03,0,1,21.99,2.13,64.05,5,'quest_crowd_pleaser_theater_manager','mob/creature_names',1), (47513082699,4105617,2,'object/mobile/shared_dressed_noble_fat_twilek_female_02.iff','','',0,0,0,1,1,0,0.93,0,-0.36,28.93,2.13,58.19,5,'noble','mob/creature_names',1.05), (47513082701,4105616,2,'object/mobile/shared_dressed_entertainer_trainer_twk_male_01.iff','','',0,0,0,1,1,0,0,0,1,-4.82,2.6,1.08,5,'entertainer','mob/creature_names',1), (47513082703,4105616,2,'object/mobile/shared_dressed_rebel_trooper_human_female_01.iff','Ideyvi','Sogeect',0,0,0,1,1,0,1,0,0,-4.82,2.6,2.18,5,'human_base_female','npc_name',0.98), (47513082705,4105616,2,'object/mobile/shared_rodian_female.iff','Yolvee','Earop',0,0,0,1,1,0,0,0,1,8.71,2.6,6.77,5,'rodian_base_female','npc_name',1), (47513082707,4105616,2,'object/mobile/shared_gungan_s04_male.iff','','',0,0,0,1,1,0,1,0,0,8.71,2.6,7.87,5,'gungan_hunter','mob/creature_names',1), (47513082709,0,2,'object/mobile/shared_dressed_commoner_naboo_twilek_female_02.iff','','',0,0,0,1,1,0,0.99,0,0.14,5325.66,-192,6607.67,5,'businessman','mob/creature_names',1.07), (47513082711,0,2,'object/mobile/shared_dressed_commoner_tatooine_rodian_male_03.iff','','',0,0,0,1,1,0,0.91,0,-0.42,5374.03,-191.4,6734.62,5,'commoner','mob/creature_names',1), (47513082713,0,2,'object/mobile/shared_dressed_commoner_naboo_moncal_male_01.iff','','',0,0,0,1,1,0,0.08,0,1,5343.55,-192,6709.87,5,'commoner','mob/creature_names',1), (47513082715,0,2,'object/mobile/shared_dressed_noble_fat_twilek_female_01.iff','','',0,0,0,1,1,0,0.96,0,0.28,5390,-192,6721.24,5,'noble','mob/creature_names',1), (47513082717,0,2,'object/mobile/shared_dressed_commoner_tatooine_aqualish_male_02.iff','','',0,0,0,1,1,0,0.72,0,0.69,5401.77,-192,6667.47,5,'commoner','mob/creature_names',0.8), (47513082721,0,2,'object/mobile/shared_dressed_criminal_thug_human_male_01.iff','','',0,0,0,1,1,0,0,0,1,5296.9,-192,6579.91,5,'thug','mob/creature_names',1), (47513082723,0,2,'object/mobile/shared_dressed_noble_bothan_female_01.iff','','',0,0,0,1,1,0,0.84,0,0.54,5342.5,-192,6716.59,5,'noble','mob/creature_names',1), (47513082725,0,2,'object/mobile/shared_dressed_commoner_naboo_human_female_03.iff','','',0,0,0,1,1,0,0.76,0,-0.65,5177.78,-192,6780.08,5,'commoner','mob/creature_names',0.83), (47513082727,0,2,'object/mobile/shared_dressed_commoner_old_human_male_02.iff','','',0,0,0,1,1,0,0.38,0,0.92,5160.6,-192,6764.05,5,'commoner','mob/creature_names',1), (47513082729,0,2,'object/mobile/shared_dressed_robber_twk_female_01.iff','','',0,0,0,1,1,0,0,0,1,5159.54,-192,6756.92,5,'thug','mob/creature_names',1), (47513082731,0,2,'object/mobile/shared_dressed_commoner_tatooine_nikto_male_03.iff','','',0,0,0,1,1,0,0.16,0,0.99,5216.53,-192,6742.42,5,'commoner','mob/creature_names',1), (47513082733,0,2,'object/mobile/shared_dressed_stormtrooper_m.iff','','',0,0,0,1,3,0,1,0,-0.07,5147.49,-192,6756.83,5,'crackdown_stormtrooper','mob/creature_names',1), (47513082735,0,2,'object/mobile/shared_dressed_naboo_police.iff','','',0,0,0,1,1,0,0.38,0,0.93,5153.38,-192,6775.28,5,'thief','mob/creature_names',0.95), (47513082741,0,2,'object/mobile/shared_dressed_stormtrooper_groupleader_m.iff','','',0,0,0,1,3,0,-0.34,0,0.94,5138.31,-192,6733.12,5,'crackdown_stormtrooper_squad_leader','mob/creature_names',1), (47513082743,0,2,'object/mobile/shared_dressed_imperial_officer_m_5.iff','','',0,0,0,1,3,0,0.42,0,0.91,5137,-192,6719,5,'crackdown_imperial_corporal','mob/creature_names',1), (47513082745,0,2,'object/mobile/shared_dressed_imperial_officer_m_3.iff','','',0,0,0,1,3,0,0.66,0,0.75,5144.8,-192,6674.66,5,'coa2_imperial_coordinator','mob/creature_names',1), (47513082747,0,2,'object/mobile/shared_dressed_commoner_tatooine_aqualish_female_01.iff','','',0,0,0,1,1,0,-0.37,0,0.93,5140.88,-192,6744.54,5,'commoner','mob/creature_names',1), (47513082749,0,2,'object/mobile/shared_dressed_commoner_tatooine_aqualish_male_01.iff','','',0,0,0,1,1,0,0.7,0,0.71,5132.48,-192,6734.76,5,'commoner','mob/creature_names',1), (47513082753,0,2,'object/mobile/shared_dressed_stormtrooper_sniper_m.iff','','',0,0,0,1,3,0,0.94,0,0.34,5130.46,-192,6742.44,5,'crackdown_stormtrooper_sniper','mob/creature_names',1), (47513082755,0,2,'object/mobile/shared_dressed_commoner_tatooine_rodian_male_01.iff','','',0,0,0,1,1,0,0.16,0,0.99,5125.82,-192,6729.93,5,'commoner','mob/creature_names',1.06), (47513082757,0,2,'object/mobile/shared_dressed_naboo_police.iff','','',0,0,0,1,1,0,0.42,0,0.91,5119.39,-192,6744.84,5,'thief','mob/creature_names',1), (47513082759,0,2,'object/mobile/shared_dressed_imperial_officer_m_3.iff','','',0,0,0,1,3,0,0.92,0,0.38,5109.68,-192,6729.28,5,'crackdown_command_security_guard','mob/creature_names',1), (47513082761,0,2,'object/mobile/shared_dressed_commoner_naboo_zabrak_male_02.iff','','',0,0,0,1,1,0,-0.34,0,0.94,5106.88,-192,6724.57,5,'businessman','mob/creature_names',0.98), (47513082763,0,2,'object/mobile/shared_dressed_stormtrooper_groupleader_m.iff','','',0,0,0,1,3,0,-0.38,0,0.92,5106.87,-192,6732.03,5,'crackdown_stormtrooper_squad_leader','mob/creature_names',1), (47513082765,0,2,'object/mobile/shared_dark_trooper.iff','','',0,0,0,1,3,0,0.93,0,-0.36,2091.4,-192,6665.3,5,'crackdown_elite_dark_trooper','mob/creature_names',1.1), (47513082767,0,2,'object/mobile/shared_dark_trooper.iff','','',0,0,0,1,3,0,0.92,0,0.38,5108.19,-192,6730.77,5,'crackdown_elite_dark_trooper','mob/creature_names',1.1), (47513082769,0,2,'object/mobile/shared_dressed_commoner_tatooine_rodian_female_04.iff','','',0,0,0,1,1,0,-0.1,0,1,5185.31,-192,6559.76,5,'commoner','mob/creature_names',1), (47513082771,1741510,2,'object/mobile/shared_dressed_commoner_tatooine_trandoshan_male_02.iff','','',0,0,0,1,1,0,0.82,0,-0.57,3.29,1.13,-9.58,5,'miner','mob/creature_names',1), (47513082773,1741509,2,'object/mobile/shared_dressed_imperial_officer_m_2.iff','','',0,0,0,1,3,0,-0.68,0,0.73,13.96,1.13,-9.17,5,'coa3_information_imperial','mob/creature_names',1.04), (47513082775,1741506,2,'object/mobile/shared_dressed_artisan_trainer_01.iff','','',0,0,0,1,1,0,0.1,0,1,-3.69,1.13,-6,5,'crafting_contractor','mob/creature_names',1), (47513082777,1741503,2,'object/mobile/shared_dressed_scout_trooper_white_white.iff','','',0,0,0,1,3,0,-0.41,0,0.91,3.6,2.5,12.3,5,'crackdown_scout_trooper','mob/creature_names',1), (47513082779,1741503,2,'object/mobile/shared_dressed_scout_trooper_white_white.iff','','',0,0,0,1,3,0,0.28,0,0.96,-4,2.5,12.4,5,'crackdown_scout_trooper','mob/creature_names',1.09), (47513082781,0,2,'object/mobile/shared_dressed_stormtrooper_m.iff','','',0,0,0,1,3,0,-0.99,0,0.15,5096.58,-192,6752.68,5,'stormtrooper','mob/creature_names',1), (47513082785,0,2,'object/mobile/shared_dressed_imperial_officer_m.iff','','',0,0,0,1,3,0,0.93,0,-0.38,5068.2,-192,6649.7,5,'crackdown_imperial_noncom','mob/creature_names',1), (47513082787,0,2,'object/mobile/shared_dressed_commoner_tatooine_aqualish_female_05.iff','','',0,0,0,1,1,0,1,0,0.04,5057.21,-192,6643.08,5,'commoner','mob/creature_names',1), (47513082789,1741443,2,'object/mobile/shared_dressed_commoner_tatooine_trandoshan_female_03.iff','','',0,0,0,1,1,0,0,0,1,-20.88,0.26,8.24,5,'vendor','mob/creature_names',1), (47513082791,1741443,2,'object/mobile/shared_dressed_commoner_tatooine_bith_male_01.iff','','',0,0,0,1,1,0,1,0,0,-20.88,0.26,9.24,5,'explorer','mob/creature_names',1), (47513082793,1741443,2,'object/mobile/shared_21b_surgical_droid.iff','','',0,0,0,1,1,0,0.92,0,-0.38,-25.52,0.26,-3.48,5,'surgical_droid_21b','mob/creature_names',0.98), (47513082795,0,2,'object/mobile/shared_dressed_commoner_naboo_bothan_female_01.iff','','',0,0,0,1,1,0,1,0,0.09,5106.77,-192,6694.65,5,'businessman','mob/creature_names',1), (47513082797,0,2,'object/mobile/shared_dressed_criminal_thug_human_female_02.iff','','',0,0,0,1,1,0,0,0,1,5037.71,-192,6686.35,5,'thug','mob/creature_names',0.96), (47513082799,0,2,'object/mobile/shared_dressed_commoner_naboo_twilek_female_01.iff','','',0,0,0,1,1,0,0.84,0,-0.55,5058.58,-192,6749.43,5,'commoner','mob/creature_names',1), (47513082807,0,2,'object/mobile/shared_dressed_rsf_security_guard.iff','','',0,0,0,1,1,0,-0.68,0,0.74,5056.62,-192,6764.09,5,'rsf_security_guard','mob/creature_names',0.95), (47513082809,0,2,'object/mobile/shared_dressed_naboo_police.iff','','',0,0,0,1,1,0,0.96,0,-0.28,5072.19,-192,6781.01,5,'thief','mob/creature_names',1), (47513082813,0,2,'object/mobile/shared_dressed_commoner_tatooine_ishitib_male_02.iff','','',0,0,0,1,1,0,-0.07,0,1,5045.25,-192,6760.82,5,'commoner','mob/creature_names',0.95), (47513082815,0,2,'object/mobile/shared_dressed_hutt_medic2_twilek_male_01.iff','','',0,0,0,1,1,0,-0.09,0,1,5088.82,-192,6794.73,5,'scientist','mob/creature_names',1), (47513082817,0,2,'object/mobile/shared_dressed_commoner_tatooine_ishitib_male_02.iff','','',0,0,0,1,1,0,0.52,0,0.85,5087.24,-192,6804.38,5,'commoner','mob/creature_names',0.98), (47513082819,0,2,'object/mobile/shared_dressed_commoner_naboo_moncal_female_02.iff','','',0,0,0,1,1,0,0.33,0,0.94,5015.78,-192,6715.83,5,'commoner','mob/creature_names',1), (47513082821,0,2,'object/mobile/shared_dressed_commoner_tatooine_aqualish_female_02.iff','','',0,0,0,1,1,0,-0.66,0,0.75,5068.4,-192,6793.56,5,'businessman','mob/creature_names',1), (47513082823,0,2,'object/mobile/shared_dressed_stormtrooper_m.iff','','',0,0,0,1,3,0,0.37,0,0.93,5035,-192,6762,5,'crackdown_stormtrooper','mob/creature_names',1), (47513082825,0,2,'object/mobile/shared_dressed_naboo_police.iff','','',0,0,0,1,1,0,0.96,0,-0.28,5086.77,-192,6804.23,5,'thief','mob/creature_names',1), (47513082827,0,2,'object/mobile/shared_dressed_commoner_tatooine_aqualish_female_06.iff','','',0,0,0,1,1,0,-0.17,0,0.98,5100.64,-192,6808.86,5,'businessman','mob/creature_names',1), (47513082829,0,2,'object/mobile/shared_fanned_rawl_hue.iff','','',0,0,0,1,1,0,0.85,0,-0.53,5043.85,-205.22,6932.28,5,'fanned_rawl','mob/creature_names',0.99), (47513082831,0,2,'object/mobile/shared_fanned_rawl_hue.iff','','',0,0,0,1,1,0,0.9,0,-0.45,5043.74,-205.27,6932.6,5,'fanned_rawl','mob/creature_names',1), (47513082835,0,2,'object/mobile/shared_dressed_commoner_old_twilek_male_01.iff','','',0,0,0,1,1,0,0.66,0,0.75,5036.65,-192,6783.93,5,'commoner','mob/creature_names',1), (47513082837,0,2,'object/mobile/shared_dressed_commoner_old_human_female_01.iff','','',0,0,0,1,1,0,0.7,0,0.71,5017.17,-192,6747.21,5,'commoner','mob/creature_names',0.96), (47513082839,0,2,'object/mobile/shared_dressed_stormtrooper_m.iff','','',0,0,0,1,3,0,-0.47,0,0.88,5039,-192,6792,5,'crackdown_stormtrooper','mob/creature_names',1),
swganh/mmoserverdb
88b36d19f8d7977ec5fc24d20dbcfc3ed2ca174b
Fixed an issue where a particular npc in the tutorial was not responding correctly to a conversation option.
diff --git a/swganh/scripts/conversation_options.sql b/swganh/scripts/conversation_options.sql index f73d0af..cc53683 100644 --- a/swganh/scripts/conversation_options.sql +++ b/swganh/scripts/conversation_options.sql @@ -827,527 +827,527 @@ INSERT INTO `conversation_options` (`id`,`customText`,`stf_file`,`stf_variable`, (770,NULL,'skl_n','combat_pistol_accuracy_01',3,7), (771,NULL,'skl_n','combat_pistol_accuracy_02',3,7), (772,NULL,'skl_n','combat_pistol_accuracy_03',3,7), (773,NULL,'skl_n','combat_pistol_accuracy_04',3,7), (774,NULL,'skl_n','combat_pistol_speed_01',3,7), (775,NULL,'skl_n','combat_pistol_speed_02',3,7), (776,NULL,'skl_n','combat_pistol_speed_03',3,7), (777,NULL,'skl_n','combat_pistol_speed_04',3,7), (778,NULL,'skl_n','combat_pistol_ability_01',3,7), (779,NULL,'skl_n','combat_pistol_ability_02',3,7), (780,NULL,'skl_n','combat_pistol_ability_03',3,7), (781,NULL,'skl_n','combat_pistol_ability_04',3,7), (782,NULL,'skl_n','combat_pistol_support_01',3,7), (783,NULL,'skl_n','combat_pistol_support_02',3,7), (784,NULL,'skl_n','combat_pistol_support_03',3,7), (785,NULL,'skl_n','combat_pistol_support_04',3,7), (786,NULL,'skl_n','combat_carbine_novice',3,7), (787,NULL,'skl_n','combat_carbine_master',3,7), (788,NULL,'skl_n','combat_carbine_accuracy_01',3,7), (789,NULL,'skl_n','combat_carbine_accuracy_02',3,7), (790,NULL,'skl_n','combat_carbine_accuracy_03',3,7), (791,NULL,'skl_n','combat_carbine_accuracy_04',3,7), (792,NULL,'skl_n','combat_carbine_speed_01',3,7), (793,NULL,'skl_n','combat_carbine_speed_02',3,7), (794,NULL,'skl_n','combat_carbine_speed_03',3,7), (795,NULL,'skl_n','combat_carbine_speed_04',3,7), (796,NULL,'skl_n','combat_carbine_ability_01',3,7), (797,NULL,'skl_n','combat_carbine_ability_02',3,7), (798,NULL,'skl_n','combat_carbine_ability_03',3,7), (799,NULL,'skl_n','combat_carbine_ability_04',3,7), (800,NULL,'skl_n','combat_carbine_support_01',3,7), (801,NULL,'skl_n','combat_carbine_support_02',3,7), (802,NULL,'skl_n','combat_carbine_support_03',3,7), (803,NULL,'skl_n','combat_carbine_support_04',3,7), (804,NULL,'skl_n','combat_unarmed_novice',3,7), (805,NULL,'skl_n','combat_unarmed_master',3,7), (806,NULL,'skl_n','combat_unarmed_accuracy_01',3,7), (807,NULL,'skl_n','combat_unarmed_accuracy_02',3,7), (808,NULL,'skl_n','combat_unarmed_accuracy_03',3,7), (809,NULL,'skl_n','combat_unarmed_accuracy_04',3,7), (810,NULL,'skl_n','combat_unarmed_speed_01',3,7), (811,NULL,'skl_n','combat_unarmed_speed_02',3,7), (812,NULL,'skl_n','combat_unarmed_speed_03',3,7), (813,NULL,'skl_n','combat_unarmed_speed_04',3,7), (814,NULL,'skl_n','combat_unarmed_ability_01',3,7), (815,NULL,'skl_n','combat_unarmed_ability_02',3,7), (816,NULL,'skl_n','combat_unarmed_ability_03',3,7), (817,NULL,'skl_n','combat_unarmed_ability_04',3,7), (818,NULL,'skl_n','combat_unarmed_support_01',3,7), (819,NULL,'skl_n','combat_unarmed_support_02',3,7), (820,NULL,'skl_n','combat_unarmed_support_03',3,7), (821,NULL,'skl_n','combat_unarmed_support_04',3,7), (822,NULL,'skl_n','combat_1hsword_novice',3,7), (823,NULL,'skl_n','combat_1hsword_master',3,7), (824,NULL,'skl_n','combat_1hsword_accuracy_01',3,7), (825,NULL,'skl_n','combat_1hsword_accuracy_02',3,7), (826,NULL,'skl_n','combat_1hsword_accuracy_03',3,7), (827,NULL,'skl_n','combat_1hsword_accuracy_04',3,7), (828,NULL,'skl_n','combat_1hsword_speed_01',3,7), (829,NULL,'skl_n','combat_1hsword_speed_02',3,7), (830,NULL,'skl_n','combat_1hsword_speed_03',3,7), (831,NULL,'skl_n','combat_1hsword_speed_04',3,7), (832,NULL,'skl_n','combat_1hsword_ability_01',3,7), (833,NULL,'skl_n','combat_1hsword_ability_02',3,7), (834,NULL,'skl_n','combat_1hsword_ability_03',3,7), (835,NULL,'skl_n','combat_1hsword_ability_04',3,7), (836,NULL,'skl_n','combat_1hsword_support_01',3,7), (837,NULL,'skl_n','combat_1hsword_support_02',3,7), (838,NULL,'skl_n','combat_1hsword_support_03',3,7), (839,NULL,'skl_n','combat_1hsword_support_04',3,7), (840,NULL,'skl_n','combat_2hsword_novice',3,7), (841,NULL,'skl_n','combat_2hsword_master',3,7), (842,NULL,'skl_n','combat_2hsword_accuracy_01',3,7), (843,NULL,'skl_n','combat_2hsword_accuracy_02',3,7), (844,NULL,'skl_n','combat_2hsword_accuracy_03',3,7), (845,NULL,'skl_n','combat_2hsword_accuracy_04',3,7), (846,NULL,'skl_n','combat_2hsword_speed_01',3,7), (847,NULL,'skl_n','combat_2hsword_speed_02',3,7), (848,NULL,'skl_n','combat_2hsword_speed_03',3,7), (849,NULL,'skl_n','combat_2hsword_speed_04',3,7), (850,NULL,'skl_n','combat_2hsword_ability_01',3,7), (851,NULL,'skl_n','combat_2hsword_ability_02',3,7), (852,NULL,'skl_n','combat_2hsword_ability_03',3,7), (853,NULL,'skl_n','combat_2hsword_ability_04',3,7), (854,NULL,'skl_n','combat_2hsword_support_01',3,7), (855,NULL,'skl_n','combat_2hsword_support_02',3,7), (856,NULL,'skl_n','combat_2hsword_support_03',3,7), (857,NULL,'skl_n','combat_2hsword_support_04',3,7), (858,NULL,'skl_n','combat_polearm_novice',3,7), (859,NULL,'skl_n','combat_polearm_master',3,7), (860,NULL,'skl_n','combat_polearm_accuracy_01',3,7), (861,NULL,'skl_n','combat_polearm_accuracy_02',3,7), (862,NULL,'skl_n','combat_polearm_accuracy_03',3,7), (863,NULL,'skl_n','combat_polearm_accuracy_04',3,7), (864,NULL,'skl_n','combat_polearm_speed_01',3,7), (865,NULL,'skl_n','combat_polearm_speed_02',3,7), (866,NULL,'skl_n','combat_polearm_speed_03',3,7), (867,NULL,'skl_n','combat_polearm_speed_04',3,7), (868,NULL,'skl_n','combat_polearm_ability_01',3,7), (869,NULL,'skl_n','combat_polearm_ability_02',3,7), (870,NULL,'skl_n','combat_polearm_ability_03',3,7), (871,NULL,'skl_n','combat_polearm_ability_04',3,7), (872,NULL,'skl_n','combat_polearm_support_01',3,7), (873,NULL,'skl_n','combat_polearm_support_02',3,7), (874,NULL,'skl_n','combat_polearm_support_03',3,7), (875,NULL,'skl_n','combat_polearm_support_04',3,7), (876,NULL,'skl_n','social_dancer_novice',3,7), (877,NULL,'skl_n','social_dancer_master',3,7), (878,NULL,'skl_n','social_dancer_ability_01',3,7), (879,NULL,'skl_n','social_dancer_ability_02',3,7), (880,NULL,'skl_n','social_dancer_ability_03',3,7), (881,NULL,'skl_n','social_dancer_ability_04',3,7), (882,NULL,'skl_n','social_dancer_wound_01',3,7), (883,NULL,'skl_n','social_dancer_wound_02',3,7), (884,NULL,'skl_n','social_dancer_wound_03',3,7), (885,NULL,'skl_n','social_dancer_wound_04',3,7), (886,NULL,'skl_n','social_dancer_knowledge_01',3,7), (887,NULL,'skl_n','social_dancer_knowledge_02',3,7), (888,NULL,'skl_n','social_dancer_knowledge_03',3,7), (889,NULL,'skl_n','social_dancer_knowledge_04',3,7), (890,NULL,'skl_n','social_dancer_shock_01',3,7), (891,NULL,'skl_n','social_dancer_shock_02',3,7), (892,NULL,'skl_n','social_dancer_shock_03',3,7), (893,NULL,'skl_n','social_dancer_shock_04',3,7), (894,NULL,'skl_n','social_musician_novice',3,7), (895,NULL,'skl_n','social_musician_master',3,7), (896,NULL,'skl_n','social_musician_ability_01',3,7), (897,NULL,'skl_n','social_musician_ability_02',3,7), (898,NULL,'skl_n','social_musician_ability_03',3,7), (899,NULL,'skl_n','social_musician_ability_04',3,7), (900,NULL,'skl_n','social_musician_wound_01',3,7), (901,NULL,'skl_n','social_musician_wound_02',3,7), (902,NULL,'skl_n','social_musician_wound_03',3,7), (903,NULL,'skl_n','social_musician_wound_04',3,7), (904,NULL,'skl_n','social_musician_knowledge_01',3,7), (905,NULL,'skl_n','social_musician_knowledge_02',3,7), (906,NULL,'skl_n','social_musician_knowledge_03',3,7), (907,NULL,'skl_n','social_musician_knowledge_04',3,7), (908,NULL,'skl_n','social_musician_shock_01',3,7), (909,NULL,'skl_n','social_musician_shock_02',3,7), (910,NULL,'skl_n','social_musician_shock_03',3,7), (911,NULL,'skl_n','social_musician_shock_04',3,7), (912,NULL,'skl_n','science_doctor_novice',3,7), (913,NULL,'skl_n','science_doctor_master',3,7), (914,NULL,'skl_n','science_doctor_wound_speed_01',3,7), (915,NULL,'skl_n','science_doctor_wound_speed_02',3,7), (916,NULL,'skl_n','science_doctor_wound_speed_03',3,7), (917,NULL,'skl_n','science_doctor_wound_speed_04',3,7), (918,NULL,'skl_n','science_doctor_wound_01',3,7), (919,NULL,'skl_n','science_doctor_wound_02',3,7), (920,NULL,'skl_n','science_doctor_wound_03',3,7), (921,NULL,'skl_n','science_doctor_wound_04',3,7), (922,NULL,'skl_n','science_doctor_ability_01',3,7), (923,NULL,'skl_n','science_doctor_ability_02',3,7), (924,NULL,'skl_n','science_doctor_ability_03',3,7), (925,NULL,'skl_n','science_doctor_ability_04',3,7), (926,NULL,'skl_n','science_doctor_support_01',3,7), (927,NULL,'skl_n','science_doctor_support_02',3,7), (928,NULL,'skl_n','science_doctor_support_03',3,7), (929,NULL,'skl_n','science_doctor_support_04',3,7), (930,NULL,'skl_n','outdoors_ranger_novice',3,7), (931,NULL,'skl_n','outdoors_ranger_master',3,7), (932,NULL,'skl_n','outdoors_ranger_movement_01',3,7), (933,NULL,'skl_n','outdoors_ranger_movement_02',3,7), (934,NULL,'skl_n','outdoors_ranger_movement_03',3,7), (935,NULL,'skl_n','outdoors_ranger_movement_04',3,7), (936,NULL,'skl_n','outdoors_ranger_tracking_01',3,7), (937,NULL,'skl_n','outdoors_ranger_tracking_02',3,7), (938,NULL,'skl_n','outdoors_ranger_tracking_03',3,7), (939,NULL,'skl_n','outdoors_ranger_tracking_04',3,7), (940,NULL,'skl_n','outdoors_ranger_harvest_01',3,7), (941,NULL,'skl_n','outdoors_ranger_harvest_02',3,7), (942,NULL,'skl_n','outdoors_ranger_harvest_03',3,7), (943,NULL,'skl_n','outdoors_ranger_harvest_04',3,7), (944,NULL,'skl_n','outdoors_ranger_support_01',3,7), (945,NULL,'skl_n','outdoors_ranger_support_02',3,7), (946,NULL,'skl_n','outdoors_ranger_support_03',3,7), (947,NULL,'skl_n','outdoors_ranger_support_04',3,7), (948,NULL,'skl_n','outdoors_creaturehandler_novice',3,7), (949,NULL,'skl_n','outdoors_creaturehandler_master',3,7), (950,NULL,'skl_n','outdoors_creaturehandler_taming_01',3,7), (951,NULL,'skl_n','outdoors_creaturehandler_taming_02',3,7), (952,NULL,'skl_n','outdoors_creaturehandler_taming_03',3,7), (953,NULL,'skl_n','outdoors_creaturehandler_taming_04',3,7), (954,NULL,'skl_n','outdoors_creaturehandler_training_01',3,7), (955,NULL,'skl_n','outdoors_creaturehandler_training_02',3,7), (956,NULL,'skl_n','outdoors_creaturehandler_training_03',3,7), (957,NULL,'skl_n','outdoors_creaturehandler_training_04',3,7), (958,NULL,'skl_n','outdoors_creaturehandler_healing_01',3,7), (959,NULL,'skl_n','outdoors_creaturehandler_healing_02',3,7), (960,NULL,'skl_n','outdoors_creaturehandler_healing_03',3,7), (961,NULL,'skl_n','outdoors_creaturehandler_healing_04',3,7), (962,NULL,'skl_n','outdoors_creaturehandler_support_01',3,7), (963,NULL,'skl_n','outdoors_creaturehandler_support_02',3,7), (964,NULL,'skl_n','outdoors_creaturehandler_support_03',3,7), (965,NULL,'skl_n','outdoors_creaturehandler_support_04',3,7), (966,NULL,'skl_n','outdoors_bio_engineer_novice',3,7), (967,NULL,'skl_n','outdoors_bio_engineer_master',3,7), (968,NULL,'skl_n','outdoors_bio_engineer_creature_01',3,7), (969,NULL,'skl_n','outdoors_bio_engineer_creature_02',3,7), (970,NULL,'skl_n','outdoors_bio_engineer_creature_03',3,7), (971,NULL,'skl_n','outdoors_bio_engineer_creature_04',3,7), (972,NULL,'skl_n','outdoors_bio_engineer_tissue_01',3,7), (973,NULL,'skl_n','outdoors_bio_engineer_tissue_02',3,7), (974,NULL,'skl_n','outdoors_bio_engineer_tissue_03',3,7), (975,NULL,'skl_n','outdoors_bio_engineer_tissue_04',3,7), (976,NULL,'skl_n','outdoors_bio_engineer_dna_harvesting_01',3,7), (977,NULL,'skl_n','outdoors_bio_engineer_dna_harvesting_02',3,7), (978,NULL,'skl_n','outdoors_bio_engineer_dna_harvesting_03',3,7), (979,NULL,'skl_n','outdoors_bio_engineer_dna_harvesting_04',3,7), (980,NULL,'skl_n','outdoors_bio_engineer_production_01',3,7), (981,NULL,'skl_n','outdoors_bio_engineer_production_02',3,7), (982,NULL,'skl_n','outdoors_bio_engineer_production_03',3,7), (983,NULL,'skl_n','outdoors_bio_engineer_production_04',3,7), (984,NULL,'skl_n','crafting_armorsmith_novice',3,7), (985,NULL,'skl_n','crafting_armorsmith_master',3,7), (986,NULL,'skl_n','crafting_armorsmith_personal_01',3,7), (987,NULL,'skl_n','crafting_armorsmith_personal_02',3,7), (988,NULL,'skl_n','crafting_armorsmith_personal_03',3,7), (989,NULL,'skl_n','crafting_armorsmith_personal_04',3,7), (990,NULL,'skl_n','crafting_armorsmith_heavy_01',3,7), (991,NULL,'skl_n','crafting_armorsmith_heavy_02',3,7), (992,NULL,'skl_n','crafting_armorsmith_heavy_03',3,7), (993,NULL,'skl_n','crafting_armorsmith_heavy_04',3,7), (994,NULL,'skl_n','crafting_armorsmith_deflectors_01',3,7), (995,NULL,'skl_n','crafting_armorsmith_deflectors_02',3,7), (996,NULL,'skl_n','crafting_armorsmith_deflectors_03',3,7), (997,NULL,'skl_n','crafting_armorsmith_deflectors_04',3,7), (998,NULL,'skl_n','crafting_armorsmith_complexity_01',3,7), (999,NULL,'skl_n','crafting_armorsmith_complexity_02',3,7), (1000,NULL,'skl_n','crafting_armorsmith_complexity_03',3,7), (1001,NULL,'skl_n','crafting_armorsmith_complexity_04',3,7), (1002,NULL,'skl_n','crafting_weaponsmith_novice',3,7), (1003,NULL,'skl_n','crafting_weaponsmith_master',3,7), (1004,NULL,'skl_n','crafting_weaponsmith_melee_01',3,7), (1005,NULL,'skl_n','crafting_weaponsmith_melee_02',3,7), (1006,NULL,'skl_n','crafting_weaponsmith_melee_03',3,7), (1007,NULL,'skl_n','crafting_weaponsmith_melee_04',3,7), (1008,NULL,'skl_n','crafting_weaponsmith_firearms_01',3,7), (1009,NULL,'skl_n','crafting_weaponsmith_firearms_02',3,7), (1010,NULL,'skl_n','crafting_weaponsmith_firearms_03',3,7), (1011,NULL,'skl_n','crafting_weaponsmith_firearms_04',3,7), (1012,NULL,'skl_n','crafting_weaponsmith_munitions_01',3,7), (1013,NULL,'skl_n','crafting_weaponsmith_munitions_02',3,7), (1014,NULL,'skl_n','crafting_weaponsmith_munitions_03',3,7), (1015,NULL,'skl_n','crafting_weaponsmith_munitions_04',3,7), (1016,NULL,'skl_n','crafting_weaponsmith_techniques_01',3,7), (1017,NULL,'skl_n','crafting_weaponsmith_techniques_02',3,7), (1018,NULL,'skl_n','crafting_weaponsmith_techniques_03',3,7), (1019,NULL,'skl_n','crafting_weaponsmith_techniques_04',3,7), (1020,NULL,'skl_n','crafting_chef_novice',3,7), (1021,NULL,'skl_n','crafting_chef_master',3,7), (1022,NULL,'skl_n','crafting_chef_dish_01',3,7), (1023,NULL,'skl_n','crafting_chef_dish_02',3,7), (1024,NULL,'skl_n','crafting_chef_dish_03',3,7), (1025,NULL,'skl_n','crafting_chef_dish_04',3,7), (1026,NULL,'skl_n','crafting_chef_dessert_01',3,7), (1027,NULL,'skl_n','crafting_chef_dessert_02',3,7), (1028,NULL,'skl_n','crafting_chef_dessert_03',3,7), (1029,NULL,'skl_n','crafting_chef_dessert_04',3,7), (1030,NULL,'skl_n','crafting_chef_drink_01',3,7), (1031,NULL,'skl_n','crafting_chef_drink_02',3,7), (1032,NULL,'skl_n','crafting_chef_drink_03',3,7), (1033,NULL,'skl_n','crafting_chef_drink_04',3,7), (1034,NULL,'skl_n','crafting_chef_techniques_01',3,7), (1035,NULL,'skl_n','crafting_chef_techniques_02',3,7), (1036,NULL,'skl_n','crafting_chef_techniques_03',3,7), (1037,NULL,'skl_n','crafting_chef_techniques_04',3,7), (1038,NULL,'skl_n','crafting_tailor_novice',3,7), (1039,NULL,'skl_n','crafting_tailor_master',3,7), (1040,NULL,'skl_n','crafting_tailor_casual_01',3,7), (1041,NULL,'skl_n','crafting_tailor_casual_02',3,7), (1042,NULL,'skl_n','crafting_tailor_casual_03',3,7), (1043,NULL,'skl_n','crafting_tailor_casual_04',3,7), (1044,NULL,'skl_n','crafting_tailor_field_01',3,7), (1045,NULL,'skl_n','crafting_tailor_field_02',3,7), (1046,NULL,'skl_n','crafting_tailor_field_03',3,7), (1047,NULL,'skl_n','crafting_tailor_field_04',3,7), (1048,NULL,'skl_n','crafting_tailor_formal_01',3,7), (1049,NULL,'skl_n','crafting_tailor_formal_02',3,7), (1050,NULL,'skl_n','crafting_tailor_formal_03',3,7), (1051,NULL,'skl_n','crafting_tailor_formal_04',3,7), (1052,NULL,'skl_n','crafting_tailor_production_01',3,7), (1053,NULL,'skl_n','crafting_tailor_production_02',3,7), (1054,NULL,'skl_n','crafting_tailor_production_03',3,7), (1055,NULL,'skl_n','crafting_tailor_production_04',3,7), (1056,NULL,'skl_n','crafting_architect_novice',3,7), (1057,NULL,'skl_n','crafting_architect_master',3,7), (1058,NULL,'skl_n','crafting_architect_production_01',3,7), (1059,NULL,'skl_n','crafting_architect_production_02',3,7), (1060,NULL,'skl_n','crafting_architect_production_03',3,7), (1061,NULL,'skl_n','crafting_architect_production_04',3,7), (1062,NULL,'skl_n','crafting_architect_techniques_01',3,7), (1063,NULL,'skl_n','crafting_architect_techniques_02',3,7), (1064,NULL,'skl_n','crafting_architect_techniques_03',3,7), (1065,NULL,'skl_n','crafting_architect_techniques_04',3,7), (1066,NULL,'skl_n','crafting_architect_harvesting_01',3,7), (1067,NULL,'skl_n','crafting_architect_harvesting_02',3,7), (1068,NULL,'skl_n','crafting_architect_harvesting_03',3,7), (1069,NULL,'skl_n','crafting_architect_harvesting_04',3,7), (1070,NULL,'skl_n','crafting_architect_blueprints_01',3,7), (1071,NULL,'skl_n','crafting_architect_blueprints_02',3,7), (1072,NULL,'skl_n','crafting_architect_blueprints_03',3,7), (1073,NULL,'skl_n','crafting_architect_blueprints_04',3,7), (1074,NULL,'skl_n','crafting_droidengineer_novice',3,7), (1075,NULL,'skl_n','crafting_droidengineer_master',3,7), (1076,NULL,'skl_n','crafting_droidengineer_production_01',3,7), (1077,NULL,'skl_n','crafting_droidengineer_production_02',3,7), (1078,NULL,'skl_n','crafting_droidengineer_production_03',3,7), (1079,NULL,'skl_n','crafting_droidengineer_production_04',3,7), (1080,NULL,'skl_n','crafting_droidengineer_techniques_01',3,7), (1081,NULL,'skl_n','crafting_droidengineer_techniques_02',3,7), (1082,NULL,'skl_n','crafting_droidengineer_techniques_03',3,7), (1083,NULL,'skl_n','crafting_droidengineer_techniques_04',3,7), (1084,NULL,'skl_n','crafting_droidengineer_refinement_01',3,7), (1085,NULL,'skl_n','crafting_droidengineer_refinement_02',3,7), (1086,NULL,'skl_n','crafting_droidengineer_refinement_03',3,7), (1087,NULL,'skl_n','crafting_droidengineer_refinement_04',3,7), (1088,NULL,'skl_n','crafting_droidengineer_blueprints_01',3,7), (1089,NULL,'skl_n','crafting_droidengineer_blueprints_02',3,7), (1090,NULL,'skl_n','crafting_droidengineer_blueprints_03',3,7), (1091,NULL,'skl_n','crafting_droidengineer_blueprints_04',3,7), (1092,NULL,'skl_n','crafting_merchant_novice',3,7), (1093,NULL,'skl_n','crafting_merchant_master',3,7), (1094,NULL,'skl_n','crafting_merchant_advertising_01',3,7), (1095,NULL,'skl_n','crafting_merchant_advertising_02',3,7), (1096,NULL,'skl_n','crafting_merchant_advertising_03',3,7), (1097,NULL,'skl_n','crafting_merchant_advertising_04',3,7), (1098,NULL,'skl_n','crafting_merchant_sales_01',3,7), (1099,NULL,'skl_n','crafting_merchant_sales_02',3,7), (1100,NULL,'skl_n','crafting_merchant_sales_03',3,7), (1101,NULL,'skl_n','crafting_merchant_sales_04',3,7), (1102,NULL,'skl_n','crafting_merchant_hiring_01',3,7), (1103,NULL,'skl_n','crafting_merchant_hiring_02',3,7), (1104,NULL,'skl_n','crafting_merchant_hiring_03',3,7), (1105,NULL,'skl_n','crafting_merchant_hiring_04',3,7), (1106,NULL,'skl_n','crafting_merchant_management_01',3,7), (1107,NULL,'skl_n','crafting_merchant_management_02',3,7), (1108,NULL,'skl_n','crafting_merchant_management_03',3,7), (1109,NULL,'skl_n','crafting_merchant_management_04',3,7), (1110,NULL,'skl_n','combat_smuggler_novice',3,7), (1111,NULL,'skl_n','combat_smuggler_master',3,7), (1112,NULL,'skl_n','combat_smuggler_underworld_01',3,7), (1113,NULL,'skl_n','combat_smuggler_underworld_02',3,7), (1114,NULL,'skl_n','combat_smuggler_underworld_03',3,7), (1115,NULL,'skl_n','combat_smuggler_underworld_04',3,7), (1116,NULL,'skl_n','combat_smuggler_slicing_01',3,7), (1117,NULL,'skl_n','combat_smuggler_slicing_02',3,7), (1118,NULL,'skl_n','combat_smuggler_slicing_03',3,7), (1119,NULL,'skl_n','combat_smuggler_slicing_04',3,7), (1120,NULL,'skl_n','combat_smuggler_combat_01',3,7), (1121,NULL,'skl_n','combat_smuggler_combat_02',3,7), (1122,NULL,'skl_n','combat_smuggler_combat_03',3,7), (1123,NULL,'skl_n','combat_smuggler_combat_04',3,7), (1124,NULL,'skl_n','combat_smuggler_spice_01',3,7), (1125,NULL,'skl_n','combat_smuggler_spice_02',3,7), (1126,NULL,'skl_n','combat_smuggler_spice_03',3,7), (1127,NULL,'skl_n','combat_smuggler_spice_04',3,7), (1128,NULL,'skl_n','combat_bountyhunter_novice',3,7), (1129,NULL,'skl_n','combat_bountyhunter_master',3,7), (1130,NULL,'skl_n','combat_bountyhunter_investigation_01',3,7), (1131,NULL,'skl_n','combat_bountyhunter_investigation_02',3,7), (1132,NULL,'skl_n','combat_bountyhunter_investigation_03',3,7), (1133,NULL,'skl_n','combat_bountyhunter_investigation_04',3,7), (1134,NULL,'skl_n','combat_bountyhunter_droidcontrol_01',3,7), (1135,NULL,'skl_n','combat_bountyhunter_droidcontrol_02',3,7), (1136,NULL,'skl_n','combat_bountyhunter_droidcontrol_03',3,7), (1137,NULL,'skl_n','combat_bountyhunter_droidcontrol_04',3,7), (1138,NULL,'skl_n','combat_bountyhunter_droidresponse_01',3,7), (1139,NULL,'skl_n','combat_bountyhunter_droidresponse_02',3,7), (1140,NULL,'skl_n','combat_bountyhunter_droidresponse_03',3,7), (1141,NULL,'skl_n','combat_bountyhunter_droidresponse_04',3,7), (1142,NULL,'skl_n','combat_bountyhunter_support_01',3,7), (1143,NULL,'skl_n','combat_bountyhunter_support_02',3,7), (1144,NULL,'skl_n','combat_bountyhunter_support_03',3,7), (1145,NULL,'skl_n','combat_bountyhunter_support_04',3,7), (1146,NULL,'skl_n','combat_commando_novice',3,7), (1147,NULL,'skl_n','combat_commando_master',3,7), (1148,NULL,'skl_n','combat_commando_heavyweapon_accuracy_01',3,7), (1149,NULL,'skl_n','combat_commando_heavyweapon_accuracy_02',3,7), (1150,NULL,'skl_n','combat_commando_heavyweapon_accuracy_03',3,7), (1151,NULL,'skl_n','combat_commando_heavyweapon_accuracy_04',3,7), (1152,NULL,'skl_n','combat_commando_heavyweapon_speed_01',3,7), (1153,NULL,'skl_n','combat_commando_heavyweapon_speed_02',3,7), (1154,NULL,'skl_n','combat_commando_heavyweapon_speed_03',3,7), (1155,NULL,'skl_n','combat_commando_heavyweapon_speed_04',3,7), (1156,NULL,'skl_n','combat_commando_thrownweapon_01',3,7), (1157,NULL,'skl_n','combat_commando_thrownweapon_02',3,7), (1158,NULL,'skl_n','combat_commando_thrownweapon_03',3,7), (1159,NULL,'skl_n','combat_commando_thrownweapon_04',3,7), (1160,NULL,'skl_n','combat_commando_support_01',3,7), (1161,NULL,'skl_n','combat_commando_support_02',3,7), (1162,NULL,'skl_n','combat_commando_support_03',3,7), (1163,NULL,'skl_n','combat_commando_support_04',3,7), (1164,NULL,'skl_n','science_combatmedic_novice',3,7), (1165,NULL,'skl_n','science_combatmedic_master',3,7), (1166,NULL,'skl_n','science_combatmedic_healing_range_01',3,7), (1167,NULL,'skl_n','science_combatmedic_healing_range_02',3,7), (1168,NULL,'skl_n','science_combatmedic_healing_range_03',3,7), (1169,NULL,'skl_n','science_combatmedic_healing_range_04',3,7), (1170,NULL,'skl_n','science_combatmedic_healing_range_speed_01',3,7), (1171,NULL,'skl_n','science_combatmedic_healing_range_speed_02',3,7), (1172,NULL,'skl_n','science_combatmedic_healing_range_speed_03',3,7), (1173,NULL,'skl_n','science_combatmedic_healing_range_speed_04',3,7), (1174,NULL,'skl_n','science_combatmedic_medicine_01',3,7), (1175,NULL,'skl_n','science_combatmedic_medicine_02',3,7), (1176,NULL,'skl_n','science_combatmedic_medicine_03',3,7), (1177,NULL,'skl_n','science_combatmedic_medicine_04',3,7), (1178,NULL,'skl_n','science_combatmedic_support_01',3,7), (1179,NULL,'skl_n','science_combatmedic_support_02',3,7), (1180,NULL,'skl_n','science_combatmedic_support_03',3,7), (1181,NULL,'skl_n','science_combatmedic_support_04',3,7), (1182,NULL,'skl_n','social_imagedesigner_novice',3,7), (1183,NULL,'skl_n','social_imagedesigner_master',3,7), (1184,NULL,'skl_n','social_imagedesigner_hairstyle_01',3,7), (1185,NULL,'skl_n','social_imagedesigner_hairstyle_02',3,7), (1186,NULL,'skl_n','social_imagedesigner_hairstyle_03',3,7), (1187,NULL,'skl_n','social_imagedesigner_hairstyle_04',3,7), (1188,NULL,'skl_n','social_imagedesigner_exotic_01',3,7), (1189,NULL,'skl_n','social_imagedesigner_exotic_02',3,7), (1190,NULL,'skl_n','social_imagedesigner_exotic_03',3,7), (1191,NULL,'skl_n','social_imagedesigner_exotic_04',3,7), (1192,NULL,'skl_n','social_imagedesigner_bodyform_01',3,7), (1193,NULL,'skl_n','social_imagedesigner_bodyform_02',3,7), (1194,NULL,'skl_n','social_imagedesigner_bodyform_03',3,7), (1195,NULL,'skl_n','social_imagedesigner_bodyform_04',3,7), (1196,NULL,'skl_n','social_imagedesigner_markings_01',3,7), (1197,NULL,'skl_n','social_imagedesigner_markings_02',3,7), (1198,NULL,'skl_n','social_imagedesigner_markings_03',3,7), (1199,NULL,'skl_n','social_imagedesigner_markings_04',3,7), (1200,NULL,'skl_n','outdoors_squadleader_novice',3,7), (1201,NULL,'skl_n','outdoors_squadleader_master',3,7), (1202,NULL,'skl_n','outdoors_squadleader_movement_01',3,7), (1203,NULL,'skl_n','outdoors_squadleader_movement_02',3,7), (1204,NULL,'skl_n','outdoors_squadleader_movement_03',3,7), (1205,NULL,'skl_n','outdoors_squadleader_movement_04',3,7), (1206,NULL,'skl_n','outdoors_squadleader_offense_01',3,7), (1207,NULL,'skl_n','outdoors_squadleader_offense_02',3,7), (1208,NULL,'skl_n','outdoors_squadleader_offense_03',3,7), (1209,NULL,'skl_n','outdoors_squadleader_offense_04',3,7), (1210,NULL,'skl_n','outdoors_squadleader_defense_01',3,7), (1211,NULL,'skl_n','outdoors_squadleader_defense_02',3,7), (1212,NULL,'skl_n','outdoors_squadleader_defense_03',3,7), (1213,NULL,'skl_n','outdoors_squadleader_defense_04',3,7), (1214,NULL,'skl_n','outdoors_squadleader_support_01',3,7), (1215,NULL,'skl_n','outdoors_squadleader_support_02',3,7), (1216,NULL,'skl_n','outdoors_squadleader_support_03',3,7), (1217,NULL,'skl_n','outdoors_squadleader_support_04',3,7), (1218,NULL,'skl_n','social_politician_novice',3,7), (1219,NULL,'skl_n','social_politician_master',3,7), (1220,NULL,'skl_n','social_politician_fiscal_01',3,7), (1221,NULL,'skl_n','social_politician_fiscal_02',3,7), (1222,NULL,'skl_n','social_politician_fiscal_03',3,7), (1223,NULL,'skl_n','social_politician_fiscal_04',3,7), (1224,NULL,'skl_n','social_politician_martial_01',3,7), (1225,NULL,'skl_n','social_politician_martial_02',3,7), (1226,NULL,'skl_n','social_politician_martial_03',3,7), (1227,NULL,'skl_n','social_politician_martial_04',3,7), (1228,NULL,'skl_n','social_politician_civic_01',3,7), (1229,NULL,'skl_n','social_politician_civic_02',3,7), (1230,NULL,'skl_n','social_politician_civic_03',3,7), (1231,NULL,'skl_n','social_politician_civic_04',3,7), (1232,NULL,'skl_n','social_politician_urban_01',3,7), (1233,NULL,'skl_n','social_politician_urban_02',3,7), (1234,NULL,'skl_n','social_politician_urban_03',3,7), (1235,NULL,'skl_n','social_politician_urban_04',3,7), (1236,NULL,'skill_teacher','back',0,14), -- Restart dialog without initial animation. And we want to have this one at the end, since sorting depends on it. (1237,NULL,'newbie_tutorial/newbie_convo','convo_1_reply_1',0,2), -- tutorial item room imperial officer dialog. (1238,NULL,'newbie_tutorial/newbie_convo','convo_1_reply_3',0,3), -- tutorial item room imperial officer dialog. (1239,NULL,'newbie_tutorial/newbie_convo','convo_1_reply_2',0,4), -- Ttutorial item room imperial officer dialog. (1240,NULL,'skill_teacher','back',0,1), -- tutorial item room imperial officer dialog. -- tutorial bank and bazzar room imperial officer dialog. (1241,NULL,'newbie_tutorial/newbie_convo','banker_1_reply_1',0,2), -- "What did you do to my ship?" (1242,NULL,'newbie_tutorial/newbie_convo','banker_1_reply_2',0,6), -- "What is this terminal for?" (1243,NULL,'newbie_tutorial/newbie_convo','banker_2_reply_1',0,3), -- "Can I get back on board the transport now?" (1244,NULL,'newbie_tutorial/newbie_convo','banker_2_reply_3',0,5), -- "What about my supplies and equipment?" (1245,NULL,'newbie_tutorial/newbie_convo','banker_2_reply_2',0,4), -- "What am I supposed to do now?" (1246,NULL,'newbie_tutorial/newbie_convo','banker_1_reply_3',0,7), -- "Bank?" (1247,NULL,'newbie_tutorial/newbie_convo','banker_bank_reply_1',0,8), -- "Why should I bank?" (1248,NULL,'newbie_tutorial/newbie_convo','banker_2_bank_question',0,9), -- "What if I want to buy something?" (1249,NULL,'newbie_tutorial/newbie_convo','banker_bank_question_2',0,10), -- "Can I store items in the bank?" -- (1250,NULL,'newbie_tutorial/newbie_convo','banker_1_reply_4',0,11), -- "Item dispenser?" (1250,NULL,'newbie_tutorial/newbie_convo','banker_2_reply_2',0,11), -- "What am I supposed to do now?" (1251,NULL,'newbie_tutorial/newbie_convo','banker_bazaar_reply_1',0,12), -- "You didn't give me very much money." (1252,NULL,'newbie_tutorial/newbie_convo','banker_bazaar_reply_2',0,13), -- "But that transport wasn't smuggling anything!" -- (1253,NULL,'newbie_tutorial/newbie_convo','darn_empire',0,0), -- "The empire has ruined us! We had our life savings on that transport!" (1253,NULL,'skill_teacher','back',0,1), -- Restart dialog (1254,NULL,'newbie_tutorial/newbie_convo','convo_2_reply_1',0,2), -- "Cloning" (1255,NULL,'newbie_tutorial/newbie_convo','convo_2_reply_2',0,5), -- "Insurance." (1256,NULL,'newbie_tutorial/newbie_convo','convo_2_reply_3',0,3), -- "How often should I clone?" (1257,NULL,'newbie_tutorial/newbie_convo','convo_2_reply_5',0,4), -- "Do I need to clone again every time I die?" (1258,NULL,'newbie_tutorial/newbie_convo','convo_2_reply_4',0,6), -- "What happens to uninsured items?" (1259,NULL,'newbie_tutorial/newbie_convo','convo_2_reply_8',0,7), -- "Do I have to insure my items every time I die?" (1260,NULL,'skill_teacher','back',0,1), -- Restart dialog (1261,NULL,'newbie_tutorial/newbie_convo','convo_4_reply_1',0,2), -- "Calm down, I'm sure that everything will be under control soon." (1262,NULL,'newbie_tutorial/newbie_convo','convo_4_reply_2',0,3), -- "So how do I get out of here?" (1263,NULL,'newbie_tutorial/newbie_convo','convo_4_reply_3',0,4), -- "Why don't you go?" (1264,NULL,'newbie_tutorial/newbie_convo','convo_4_reply_4',4,5), -- "Sure, I'll check for survivors." (1265,NULL,'newbie_tutorial/newbie_convo','convo_4_reply_6',4,5), -- "Sure, I'll check for survivors." (1266,NULL,'newbie_tutorial/newbie_convo','convo_4_reply_5',4,5), -- "Then I guess I have to go that way." (1267,NULL,'newbie_tutorial/newbie_convo','convo_4_reply_7',0,6), -- "Thank you." (1268,NULL,'newbie_tutorial/newbie_convo','off_1_reply_1',0,2), -- "I'd be even better with a little training." (1269,NULL,'newbie_tutorial/newbie_convo','off_1_reply_2',0,3), -- "Combat isn't really my thing." (1270,NULL,'newbie_tutorial/newbie_convo','mission_1_reply_1',4,2), -- "Where is the Quartermaster?" - (1271,NULL,'newbie_tutorial/newbie_convo','mission_1_reply_2',4,0), -- "Will do!" + (1271,NULL,'newbie_tutorial/newbie_convo','mission_1_reply_2',4,2), -- "Will do!" (1272,NULL,'newbie_tutorial/newbie_convo','quarter_1_reply_1',4,2), -- "Can I leave now?" (1273,NULL,'newbie_tutorial/newbie_convo','quarter_1_reply_2',4,2); -- "Where are you sending me?" /*!40000 ALTER TABLE `conversation_options` ENABLE KEYS */; /*!40101 SET SQL_MODE=@OLD_SQL_MODE */; /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; \ No newline at end of file
swganh/mmoserverdb
1acacf1b5775966a5b0cdc3af5e5c6050b3cb69e
- fix for NULL biographies
diff --git a/swganh/procedures/sp_CharacterCreate.sql b/swganh/procedures/sp_CharacterCreate.sql index 86f96f0..802d346 100644 --- a/swganh/procedures/sp_CharacterCreate.sql +++ b/swganh/procedures/sp_CharacterCreate.sql @@ -1,250 +1,253 @@ /* --------------------------------------------------------------------------------------- This source file is part of SWG:ANH (Star Wars Galaxies - A New Hope - Server Emulator) For more information, visit http://www.swganh.com Copyright (c) 2006 - 2010 The SWG:ANH Team --------------------------------------------------------------------------------------- This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA --------------------------------------------------------------------------------------- */ /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8 */; /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; /*!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' */; -- -- Use schema swganh -- USE swganh; -- -- Definition of procedure `sp_CharacterCreate` -- DROP PROCEDURE IF EXISTS `sp_CharacterCreate`; DELIMITER $$ CREATE DEFINER=`root`@`localhost` PROCEDURE `sp_CharacterCreate`( IN start_account_id INT,IN start_galaxy_id INT,IN start_firstname char(32),IN start_lastname char(32), IN start_profession char(64),IN start_city char(32),IN start_scale FLOAT,IN start_biography text(2048), IN 00FF INT, IN 01FF INT, IN 02FF INT, IN 03FF INT, IN 04FF INT, IN 05FF INT, IN 06FF INT, IN 07FF INT, IN 08FF INT, IN 09FF INT, IN 0AFF INT, IN 0BFF INT, IN 0CFF INT, IN 0DFF INT, IN 0EFF INT, IN 0FFF INT, IN 10FF INT, IN 11FF INT, IN 12FF INT, IN 13FF INT, IN 14FF INT, IN 15FF INT, IN 16FF INT, IN 17FF INT, IN 18FF INT, IN 19FF INT, IN 1AFF INT, IN 1BFF INT, IN 1CFF INT, IN 1DFF INT, IN 1EFF INT, IN 1FFF INT, IN 20FF INT, IN 21FF INT, IN 22FF INT, IN 23FF INT, IN 24FF INT, IN 25FF INT, IN 26FF INT, IN 27FF INT, IN 28FF INT, IN 29FF INT, IN 2AFF INT, IN 2BFF INT, IN 2CFF INT, IN 2DFF INT, IN 2EFF INT, IN 2FFF INT, IN 30FF INT, IN 31FF INT, IN 32FF INT, IN 33FF INT, IN 34FF INT, IN 35FF INT, IN 36FF INT, IN 37FF INT, IN 38FF INT, IN 39FF INT, IN 3AFF INT, IN 3BFF INT, IN 3CFF INT, IN 3DFF INT, IN 3EFF INT, IN 3FFF INT, IN 40FF INT, IN 41FF INT, IN 42FF INT, IN 43FF INT, IN 44FF INT, IN 45FF INT, IN 46FF INT, IN 47FF INT, IN 48FF INT, IN 49FF INT, IN 4AFF INT, IN 4BFF INT, IN 4CFF INT, IN 4DFF INT, IN 4EFF INT, IN 4FFF INT, IN 50FF INT, IN 51FF INT, IN 52FF INT, IN 53FF INT, IN 54FF INT, IN 55FF INT, IN 56FF INT, IN 57FF INT, IN 58FF INT, IN 59FF INT, IN 5AFF INT, IN 5BFF INT, IN 5CFF INT, IN 5DFF INT, IN 5EFF INT, IN 5FFF INT, IN 60FF INT, IN 61FF INT, IN 62FF INT, IN 63FF INT, IN 64FF INT, IN 65FF INT, IN 66FF INT, IN 67FF INT, IN 68FF INT, IN 69FF INT, IN 6AFF INT, IN 6BFF INT, IN 6CFF INT, IN 6DFF INT, IN 6EFF INT, IN 6FFF INT, IN 70FF INT, IN ABFF INT, IN AB2FF INT, IN start_hair_model CHAR(64), IN hair1 INT,IN hair2 INT, IN base_model_string CHAR(64)) charCreate:BEGIN DECLARE oX FLOAT;DECLARE oY FLOAT;DECLARE oZ FLOAT;DECLARE oW FLOAT; DECLARE battlefatigue INT; DECLARE race_id INT; DECLARE character_id BIGINT(20); DECLARE character_parent_id BIGINT(20); DECLARE inventory_id BIGINT(20); DECLARE tutorialcontainer_id BIGINT(20); DECLARE privateowner_id BIGINT(20); DECLARE bank_id BIGINT(20); DECLARE datapad_id BIGINT(20); DECLARE planet_name char(32); DECLARE profession_id INT; DECLARE t_health INT; DECLARE t_strength INT; DECLARE t_constitution INT; DECLARE t_action INT; DECLARE t_quickness INT; DECLARE t_stamina INT; DECLARE t_mind INT; DECLARE t_focus INT; DECLARE t_willpower INT; DECLARE start_planet INT; DECLARE start_x FLOAT;DECLARE start_y FLOAT;DECLARE start_z FLOAT; DECLARE shortSpecies CHAR(32); DECLARE gender INT(3); DECLARE base_skill_id INT; DECLARE nameCheck INT; DECLARE currentTime BIGINT(20); DECLARE melon_id BIGINT(20); DECLARE EXIT HANDLER FOR NOT FOUND BEGIN SET character_id = 4; ROLLBACK; SELECT character_id; END; DECLARE EXIT HANDLER FOR SQLEXCEPTION BEGIN SET character_id = 4; ROLLBACK; SELECT character_id; END; DECLARE EXIT HANDLER FOR SQLWARNING BEGIN SET character_id = 4; ROLLBACK; SELECT character_id; END; SELECT sf_CharacterNameDeveloperCheck(start_firstname) INTO nameCheck; IF nameCheck <> 666 THEN SELECT(nameCheck); LEAVE charCreate; END IF; SELECT sf_CharacterNameFictionalCheck(start_firstname) INTO nameCheck; IF nameCheck <> 666 THEN SELECT(nameCheck); LEAVE charCreate; END IF; SELECT sf_CharacterNameInUseCheck(start_firstname) INTO nameCheck; IF nameCheck <> 666 THEN SELECT(nameCheck); LEAVE charCreate; END IF; IF base_model_string like '%female%' THEN SET gender = 0; ELSE SET gender = 1; END IF; SET character_parent_id = 0; SET privateowner_id = 0; SET battlefatigue = 0; SET oX = 0; SET oY = 0; SET oZ = 0; SET oW = 0; -- -- Transaction Start -- START TRANSACTION; SELECT MAX(id) + 1000 FROM characters INTO character_id FOR UPDATE; IF character_id IS NULL THEN SET character_id = 8589934593; END IF; -- -- Set the initial IDs -- SET inventory_id = character_id + 1; SET bank_id = character_id + 4; SET datapad_id = character_id + 3; SET tutorialcontainer_id = 0; SELECT planet_id, x, y, z FROM starting_location WHERE location LIKE start_city INTO start_planet, start_x, start_y, start_z; SELECT f_speciesShort(base_model_string) INTO shortSpecies; SELECT health, strength, constitution, action, quickness, stamina, mind, focus, willpower FROM starting_attributes WHERE starting_attributes.species like shortSpecies AND starting_attributes.profession like start_profession INTO t_health, t_strength, t_constitution, t_action, t_quickness, t_stamina, t_mind, t_focus, t_willpower; SELECT id from race where race.name like shortSpecies into race_id; SELECT skill_id from skills where skill_name like start_profession INTO profession_id; -- Don't set any default skills or XP when creating player in the Tutorial. IF start_city = 'tutorial' THEN SET character_parent_id = 2203318222960; SET tutorialcontainer_id = 2533274790395904; SET privateowner_id = character_id; END IF; IF start_city = 'default_location' THEN SET character_parent_id = 2203318222975; END IF; INSERT INTO characters VALUES (character_id, start_account_id, start_galaxy_id, start_firstname, start_lastname, race_id, character_parent_id, start_planet, start_x, start_y, start_z, oX, oY, oZ, oW, 0, NULL, 0, CURDATE() + 0); INSERT INTO inventories VALUES (inventory_id,1,1000); INSERT INTO banks VALUES (bank_id,1000,-1); INSERT INTO datapads VALUES (datapad_id,1); INSERT INTO character_attributes VALUES (character_id, 1, t_health, t_strength, t_constitution, t_action, t_quickness, t_stamina, t_mind, t_focus, t_willpower, t_health, t_strength, t_constitution, t_action, t_quickness, t_stamina, t_mind, t_focus, t_willpower, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, battlefatigue,0,0,NULL,0,0,1,0,0,0,3); INSERT INTO character_appearance VALUES (character_id, 00FF, 01FF, 02FF, 03FF, 04FF, 05FF, 06FF, 07FF, 08FF, 09FF, 0AFF, 0BFF, 0CFF, 0DFF, 0EFF, 0FFF, 10FF, 11FF, 12FF, 13FF, 14FF, 15FF, 16FF, 17FF, 18FF, 19FF, 1AFF, 1BFF, 1CFF, 1DFF, 1EFF, 1FFF, 20FF, 21FF, 22FF, 23FF, 24FF, 25FF, 26FF, 27FF, 28FF, 29FF, 2AFF, 2BFF, 2CFF, 2DFF, 2EFF, 2FFF, 30FF, 31FF, 32FF, 33FF, 34FF, 35FF, 36FF, 37FF, 38FF, 39FF, 3AFF, 3BFF, 3CFF, 3DFF, 3EFF, 3FFF, 40FF, 41FF, 42FF, 43FF, 44FF, 45FF, 46FF, 47FF, 48FF, 49FF, 4AFF, 4BFF, 4CFF, 4DFF, 4EFF, 4FFF, 50FF, 51FF, 52FF, 53FF, 54FF, 55FF, 56FF, 57FF, 58FF, 59FF, 5AFF, 5BFF, 5CFF, 5DFF, 5EFF, 5FFF, 60FF, 61FF, 62FF, 63FF, 64FF, 65FF, 66FF, 67FF, 68FF, 69FF, 6AFF, 6BFF, 6CFF, 6DFF, 6EFF, 6FFF, 70FF, ABFF, AB2FF, start_hair_model, hair1,hair2, base_model_string,start_scale); INSERT INTO character_movement VALUES(character_id,5.75,1.50,1.00,0.0125); INSERT INTO character_tutorial VALUES(character_id,1,1,start_profession); IF start_city <> 'tutorial' THEN SET base_skill_id = profession_id + 1; CALL sp_CharacterSkillsCreate(character_id,base_skill_id,race_id); CALL sp_CharacterXpCreate(character_id,base_skill_id); END IF; + IF start_biography IS NULL THEN SET start_biography = ''; + END IF; + INSERT INTO character_biography VALUES (character_id, start_biography); INSERT INTO character_matchmaking VALUES (character_id,0,0,0,0,0); CALL sp_CharacterCreateFactions(character_id); CALL sp_CharacterStartingItems(inventory_id,tutorialcontainer_id,privateowner_id,race_id,profession_id,gender); -- -- Fix Melon to have 5 stacks -- -- Wen running the Tutorial there is no melon in the inventory. And it will make it impossible to create a character at the Tutorial zone. -- SELECT id FROM items WHERE parent_id = inventory_id AND item_type = 89 INTO melon_id; -- INSERT INTO item_attributes VALUES (melon_id, 23, 5, 3, NULL); IF start_city = 'tutorial' THEN SELECT id FROM items WHERE items.privateowner_id = character_id AND items.item_type = 89 INTO melon_id; INSERT INTO item_attributes VALUES (melon_id, 23, 5, 3, NULL); ELSE SELECT id FROM items WHERE items.parent_id = inventory_id AND items.item_type = 89 INTO melon_id; INSERT INTO item_attributes VALUES (melon_id, 23, 5, 3, NULL); END IF; -- -- Commit Transaction -- COMMIT; -- -- Return new character ID -- SELECT(character_id); END $$ DELIMITER ; /*!40101 SET SQL_MODE=@OLD_SQL_MODE */; /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; \ No newline at end of file
swganh/mmoserverdb
ef590eedc7a1de011838785a300173292c050c1a
[MySQL] - Fix for Yavin City Name on Planet Map
diff --git a/swganh/scripts/planetmap.sql b/swganh/scripts/planetmap.sql index d7f65bb..10ccb32 100644 --- a/swganh/scripts/planetmap.sql +++ b/swganh/scripts/planetmap.sql @@ -1230,522 +1230,523 @@ INSERT INTO `planetmap` (`id`,`category_id`,`planet_id`,`x`,`y`,`z`,`icon`,`name (6076320,58,8,1298.00,0.00,3123.00,0,'Scout Mission Terminal'), (6076322,59,8,1275.00,0.00,3139.00,0,'Entertainer Mission Terminal'), (6076324,59,8,1341.00,0.00,3391.00,0,'Entertainer Mission Terminal'), (6076326,57,8,1341.00,0.00,3369.00,0,'Artisan Mission Terminal'), (6076338,57,8,1509.00,0.00,3395.00,0,'Artisan Mission Terminal'), (6076340,58,8,1563.00,0.00,3397.00,0,'Scout Mission Terminal'), (6076342,59,8,1476.00,0.00,3324.00,0,'Entertainer Mission Terminal'), (6076344,57,8,-2870.00,0.00,1972.00,0,'Artisan Mission Terminal'), (6076346,57,8,-2875.00,0.00,1997.00,0,'Artisan Mission Terminal'), (6076348,58,8,-2977.00,0.00,2430.00,0,'Scout Mission Terminal'), (6076350,58,8,-2978.00,0.00,2434.00,0,'Scout Mission Terminal'), (6076352,57,8,-3064.00,0.00,2100.00,0,'Artisan Mission Terminal'), (6076354,59,8,-3071.00,0.00,2093.00,0,'Entertainer Mission Terminal'), (6076356,57,8,-3011.00,0.00,2378.00,0,'Artisan Mission Terminal'), (6076358,58,8,-2710.00,0.00,2068.00,0,'Scout Mission Terminal'), (6076360,59,8,-2929.00,0.00,2138.00,0,'Entertainer Mission Terminal'), (6076362,57,8,-2906.00,0.00,2116.00,0,'Artisan Mission Terminal'), (6076364,58,8,-2908.00,0.00,2113.00,0,'Scout Mission Terminal'), (6076367,58,8,-2718.00,0.00,2226.00,0,'Scout Mission Terminal'), (6076369,58,8,-2944.00,0.00,2537.00,0,'Scout Mission Terminal'), (6076371,58,8,-3153.00,0.00,2298.00,0,'Scout Mission Terminal'), (6076373,57,8,-3148.00,0.00,2272.00,0,'Artisan Mission Terminal'), (6076389,59,8,-3056.00,0.00,2255.00,0,'Entertainer Mission Terminal'), (6076391,59,8,-3030.00,0.00,2165.00,0,'Entertainer Mission Terminal'), (6076855,59,8,1679.00,0.00,3147.00,0,'Entertainer Mission Terminal'), (6205563,43,1,-582.00,0.00,2499.00,0,'Mining Outpost'), (6255435,61,7,715.00,0.00,-3049.00,0,'Bazaar Terminal'), (6255461,64,7,242.00,0.00,-3070.00,0,'Imperial Mission Terminal'), (6255464,5,7,684.00,0.00,-3139.00,0,'Dearic'), (6336320,57,5,5192.00,0.00,6670.00,0,'Artisan Mission Terminal'), (6336322,57,5,5192.00,0.00,6668.00,0,'Artisan Mission Terminal'), (6336324,58,5,5192.00,0.00,6678.00,0,'Scout Mission Terminal'), (6336326,58,5,5192.00,0.00,6666.00,0,'Scout Mission Terminal'), (6336328,59,5,5195.00,0.00,6678.00,0,'Entertainer Mission Terminal'), (6336330,59,5,5195.00,0.00,6666.00,0,'Entertainer Mission Terminal'), (6336332,59,5,5306.00,0.00,6767.00,0,'Entertainer Mission Terminal'), (6336334,59,5,5306.00,0.00,6765.00,0,'Entertainer Mission Terminal'), (6336336,59,5,5306.00,0.00,6763.00,0,'Entertainer Mission Terminal'), (6336340,59,5,5002.00,0.00,6669.00,0,'Entertainer Mission Terminal'), (6336342,59,5,5006.00,0.00,6671.00,0,'Entertainer Mission Terminal'), (6336344,59,5,5010.00,0.00,6674.00,0,'Entertainer Mission Terminal'), (6336346,62,5,5002.00,0.00,6665.00,0,'Mission Terminal'), (6336350,58,5,5008.00,0.00,6673.00,0,'Scout Mission Terminal'), (6336352,62,5,5013.00,0.00,6672.00,0,'Mission Terminal'), (6336354,58,5,5004.00,0.00,6670.00,0,'Scout Mission Terminal'), (6336356,57,5,5158.00,0.00,6727.00,0,'Artisan Mission Terminal'), (6336358,57,5,5142.00,0.00,6711.00,0,'Artisan Mission Terminal'), (6336360,58,5,5106.00,0.00,6757.00,0,'Scout Mission Terminal'), (6336362,58,5,5119.00,0.00,6770.00,0,'Scout Mission Terminal'), (6336364,62,5,5109.00,0.00,6752.00,0,'Mission Terminal'), (6336366,62,5,5124.00,0.00,6767.00,0,'Mission Terminal'), (6336368,58,5,-4868.00,0.00,4186.00,0,'Scout Mission Terminal'), (6336370,57,5,-4870.00,0.00,4187.00,0,'Artisan Mission Terminal'), (6336372,59,5,-4871.00,0.00,4188.00,0,'Entertainer Mission Terminal'), (6336374,58,5,-4836.00,0.00,4158.00,0,'Scout Mission Terminal'), (6336376,57,5,-4834.00,0.00,4157.00,0,'Artisan Mission Terminal'), (6336378,59,5,-4833.00,0.00,4156.00,0,'Entertainer Mission Terminal'), (6336380,58,5,-5521.00,0.00,4197.00,0,'Scout Mission Terminal'), (6336382,57,5,-5524.00,0.00,4197.00,0,'Artisan Mission Terminal'), (6336384,59,5,-5526.00,0.00,4197.00,0,'Entertainer Mission Terminal'), (6336386,58,5,-5470.00,0.00,4197.00,0,'Scout Mission Terminal'), (6336388,57,5,-5467.00,0.00,4197.00,0,'Artisan Mission Terminal'), (6336390,59,5,-5464.00,0.00,4197.00,0,'Entertainer Mission Terminal'), (6336392,58,5,-5724.00,0.00,4252.00,0,'Scout Mission Terminal'), (6336394,57,5,-5727.00,0.00,4252.00,0,'Artisan Mission Terminal'), (6336396,59,5,-5729.00,0.00,4252.00,0,'Entertainer Mission Terminal'), (6336398,58,5,-5694.00,0.00,4252.00,0,'Scout Mission Terminal'), (6336400,57,5,-5691.00,0.00,4252.00,0,'Artisan Mission Terminal'), (6336402,59,5,-5688.00,0.00,4252.00,0,'Entertainer Mission Terminal'), (6336404,57,5,-5357.00,0.00,4155.00,0,'Artisan Mission Terminal'), (6336406,57,5,-5382.00,0.00,4155.00,0,'Artisan Mission Terminal'), (6336408,58,5,-5353.00,0.00,4397.00,0,'Scout Mission Terminal'), (6336410,58,5,-5354.00,0.00,4415.00,0,'Scout Mission Terminal'), (6336412,58,5,-5445.00,0.00,4135.00,0,'Scout Mission Terminal'), (6336414,58,5,-5469.00,0.00,4135.00,0,'Scout Mission Terminal'), (6336416,57,5,-5783.00,0.00,4402.00,0,'Artisan Mission Terminal'), (6336418,59,5,-5784.00,0.00,4400.00,0,'Entertainer Mission Terminal'), (6336420,57,5,-5772.00,0.00,4414.00,0,'Artisan Mission Terminal'), (6336422,59,5,-5771.00,0.00,4415.00,0,'Entertainer Mission Terminal'), (6336426,59,5,-5436.00,0.00,4030.00,0,'Entertainer Mission Terminal'), (6336428,57,5,-5438.00,0.00,4029.00,0,'Artisan Mission Terminal'), (6336430,58,5,-5440.00,0.00,4029.00,0,'Scout Mission Terminal'), (6336432,59,5,-5469.00,0.00,4030.00,0,'Entertainer Mission Terminal'), (6336434,57,5,-5467.00,0.00,4029.00,0,'Artisan Mission Terminal'), (6336436,58,5,-5464.00,0.00,4030.00,0,'Scout Mission Terminal'), (6336528,58,5,1875.00,0.00,2598.00,0,'Scout Mission Terminal'), (6336530,58,5,1875.00,0.00,2630.00,0,'Scout Mission Terminal'), (6336532,57,5,1446.00,0.00,2783.00,0,'Artisan Mission Terminal'), (6336534,57,5,1445.00,0.00,2758.00,0,'Artisan Mission Terminal'), (6336536,58,5,1444.00,0.00,2756.00,0,'Scout Mission Terminal'), (6336538,58,5,1445.00,0.00,2785.00,0,'Scout Mission Terminal'), (6336540,57,5,1701.00,0.00,2602.00,0,'Artisan Mission Terminal'), (6336543,57,5,1701.00,0.00,2626.00,0,'Artisan Mission Terminal'), (6336546,57,5,1800.00,0.00,2532.00,0,'Artisan Mission Terminal'), (6336548,59,5,1802.00,0.00,2532.00,0,'Entertainer Mission Terminal'), (6336550,57,5,1774.00,0.00,2532.00,0,'Artisan Mission Terminal'), (6336552,59,5,1772.00,0.00,2532.00,0,'Entertainer Mission Terminal'), (6336555,58,5,1700.00,0.00,2703.00,0,'Scout Mission Terminal'), (6336557,58,5,1700.00,0.00,2712.00,0,'Scout Mission Terminal'), (6336559,57,5,1697.00,0.00,2716.00,0,'Artisan Mission Terminal'), (6336561,59,5,1697.00,0.00,2718.00,0,'Entertainer Mission Terminal'), (6336563,57,5,1697.00,0.00,2699.00,0,'Artisan Mission Terminal'), (6336565,59,5,1698.00,0.00,2697.00,0,'Entertainer Mission Terminal'), (6336570,59,5,1690.00,0.00,2568.00,0,'Entertainer Mission Terminal'), (6336572,59,5,1688.00,0.00,2568.00,0,'Entertainer Mission Terminal'), (6336574,59,5,1686.00,0.00,2568.00,0,'Entertainer Mission Terminal'), (6336577,59,5,2120.00,0.00,2476.00,0,'Entertainer Mission Terminal'), (6336606,58,5,4793.00,0.00,-4967.00,0,'Scout Mission Terminal'), (6336608,57,5,4791.00,0.00,-4967.00,0,'Artisan Mission Terminal'), (6336610,59,5,4789.00,0.00,-4967.00,0,'Entertainer Mission Terminal'), (6336612,58,5,4818.00,0.00,-4967.00,0,'Scout Mission Terminal'), (6336614,57,5,4819.00,0.00,-4967.00,0,'Artisan Mission Terminal'), (6336616,59,5,4821.00,0.00,-4967.00,0,'Entertainer Mission Terminal'), (6336619,58,5,4733.00,0.00,-4960.00,0,'Scout Mission Terminal'), (6336621,58,5,4711.00,0.00,-4960.00,0,'Scout Mission Terminal'), (6336625,58,5,4694.00,0.00,-4912.00,0,'Scout Mission Terminal'), (6336628,58,5,4694.00,0.00,-4876.00,0,'Scout Mission Terminal'), (6336636,57,5,4679.00,0.00,-4876.00,0,'Artisan Mission Terminal'), (6336638,59,5,4677.00,0.00,-4877.00,0,'Entertainer Mission Terminal'), (6336640,57,5,4679.00,0.00,-4912.00,0,'Artisan Mission Terminal'), (6336643,59,5,4678.00,0.00,-4911.00,0,'Entertainer Mission Terminal'), (6336647,58,5,4792.00,0.00,-4705.00,0,'Scout Mission Terminal'), (6336653,57,5,4802.00,0.00,-4690.00,0,'Artisan Mission Terminal'), (6336659,57,5,4908.00,0.00,-4825.00,0,'Artisan Mission Terminal'), (6336663,57,5,4884.00,0.00,-4804.00,0,'Artisan Mission Terminal'), (6336694,57,5,4731.00,0.00,-1318.00,0,'Artisan Mission Terminal'), (6336696,57,5,4731.00,0.00,-1320.00,0,'Artisan Mission Terminal'), (6336698,58,5,4724.00,0.00,-1328.00,0,'Scout Mission Terminal'), (6336700,58,5,4739.00,0.00,-1328.00,0,'Scout Mission Terminal'), (6336702,57,5,4916.00,0.00,-1397.00,0,'Artisan Mission Terminal'), (6336704,57,5,4907.00,0.00,-1397.00,0,'Artisan Mission Terminal'), (6336706,59,5,4948.00,0.00,-1475.00,0,'Entertainer Mission Terminal'), (6336708,59,5,4948.00,0.00,-1473.00,0,'Entertainer Mission Terminal'), (6336712,59,5,4916.00,0.00,-1445.00,0,'Entertainer Mission Terminal'), (6336714,59,5,4914.00,0.00,-1445.00,0,'Entertainer Mission Terminal'), (6336716,59,5,4912.00,0.00,-1501.00,0,'Entertainer Mission Terminal'), (6336718,59,5,4914.00,0.00,-1501.00,0,'Entertainer Mission Terminal'), (6339579,59,5,2119.00,0.00,2476.00,0,'Entertainer Mission Terminal'), (6415742,59,7,329.00,0.00,-2946.00,0,'Entertainer Mission Terminal'), (6415744,57,7,329.00,0.00,-2923.00,0,'Artisan Mission Terminal'), (6415746,58,7,329.00,0.00,-2919.00,0,'Scout Mission Terminal'), (6415752,58,7,140.00,0.00,-2906.00,0,'Scout Mission Terminal'), (6415754,57,7,141.00,0.00,-2951.00,0,'Artisan Mission Terminal'), (6415756,58,7,185.00,0.00,-3059.00,0,'Scout Mission Terminal'), (6415758,58,7,270.00,0.00,-3071.00,0,'Scout Mission Terminal'), (6415760,59,7,268.00,0.00,-3070.00,0,'Entertainer Mission Terminal'), (6415762,57,7,240.00,0.00,-3070.00,0,'Artisan Mission Terminal'), (6415764,62,7,237.00,0.00,-3070.00,0,'Mission Terminal'), (6415766,57,7,377.00,0.00,-3069.00,0,'Artisan Mission Terminal'), (6415768,59,7,377.00,0.00,-3043.00,0,'Entertainer Mission Terminal'), (6415770,58,7,464.00,0.00,-3224.00,0,'Scout Mission Terminal'), (6415772,62,7,472.00,0.00,-3224.00,0,'Mission Terminal'), (6415774,59,7,540.00,0.00,-3169.00,0,'Entertainer Mission Terminal'), (6415776,59,7,512.00,0.00,-3093.00,0,'Entertainer Mission Terminal'), (6415778,57,7,568.00,0.00,-3100.00,0,'Artisan Mission Terminal'), (6415780,59,7,600.00,0.00,-3042.00,0,'Entertainer Mission Terminal'), (6415782,57,7,547.00,0.00,-3020.00,0,'Artisan Mission Terminal'), (6415784,58,7,533.00,0.00,-2959.00,0,'Scout Mission Terminal'), (6415786,57,7,528.00,0.00,-2932.00,0,'Artisan Mission Terminal'), (6415790,58,7,684.00,0.00,-3010.00,0,'Scout Mission Terminal'), (6415792,57,7,683.00,0.00,-2991.00,0,'Artisan Mission Terminal'), (6415794,59,7,711.00,0.00,-2975.00,0,'Entertainer Mission Terminal'), (6415797,59,7,711.00,0.00,-3025.00,0,'Entertainer Mission Terminal'), (6415805,57,7,4508.00,0.00,5463.00,0,'Artisan Mission Terminal'), (6415807,58,7,4516.00,0.00,5460.00,0,'Scout Mission Terminal'), (6415809,58,7,4442.00,0.00,5289.00,0,'Scout Mission Terminal'), (6415811,59,7,4438.00,0.00,5290.00,0,'Entertainer Mission Terminal'), (6415813,57,7,4468.00,0.00,5280.00,0,'Artisan Mission Terminal'), (6415815,57,7,4487.00,0.00,5212.00,0,'Artisan Mission Terminal'), (6415817,58,7,4532.00,0.00,5040.00,0,'Scout Mission Terminal'), (6415819,59,7,4330.00,0.00,5302.00,0,'Entertainer Mission Terminal'), (6415821,58,7,4318.00,0.00,5390.00,0,'Scout Mission Terminal'), (6415823,59,7,4235.00,0.00,5298.00,0,'Entertainer Mission Terminal'), (6415825,57,7,4181.00,0.00,5303.00,0,'Artisan Mission Terminal'), (6415827,58,7,4042.00,0.00,5213.00,0,'Scout Mission Terminal'), (6415829,58,7,4155.00,0.00,5130.00,0,'Scout Mission Terminal'), (6415831,57,7,4258.00,0.00,5143.00,0,'Artisan Mission Terminal'), (6415833,59,7,4246.00,0.00,5118.00,0,'Entertainer Mission Terminal'), (6415835,59,7,4353.00,0.00,5174.00,0,'Entertainer Mission Terminal'), (6415837,57,7,4353.00,0.00,5157.00,0,'Artisan Mission Terminal'), (6415839,58,7,4389.00,0.00,5023.00,0,'Scout Mission Terminal'), (6445440,61,6,5242.00,0.00,5790.00,0,'Bazaar Terminal'), (6445441,61,6,5242.00,0.00,5787.00,0,'Bazaar Terminal'), (6475969,58,0,-5050.00,0.00,-2297.00,0,'Scout Mission Terminal'), (6475971,58,0,-5052.00,0.00,-2297.00,0,'Scout Mission Terminal'), (6475973,59,0,-5036.00,0.00,-2339.00,0,'Entertainer Mission Terminal'), (6475975,59,0,-5035.00,0.00,-2340.00,0,'Entertainer Mission Terminal'), (6475977,57,0,-5034.00,0.00,-2342.00,0,'Artisan Mission Terminal'), (6475979,57,0,-5032.00,0.00,-2343.00,0,'Artisan Mission Terminal'), (6475991,57,0,-5087.00,0.00,-2407.00,0,'Artisan Mission Terminal'), (6475993,57,0,-5083.00,0.00,-2404.00,0,'Artisan Mission Terminal'), (6475995,58,0,-5084.00,0.00,-2405.00,0,'Scout Mission Terminal'), (6475997,58,0,-5086.00,0.00,-2406.00,0,'Scout Mission Terminal'), (6476033,58,0,-5195.00,0.00,-2564.00,0,'Scout Mission Terminal'), (6476035,58,0,-5194.00,0.00,-2560.00,0,'Scout Mission Terminal'), (6476037,62,0,-5195.00,0.00,-2566.00,0,'Mission Terminal'), (6476039,62,0,-5194.00,0.00,-2558.00,0,'Mission Terminal'), (6476047,62,0,-5128.00,0.00,-2405.00,0,'Mission Terminal'), (6476049,62,0,-5127.00,0.00,-2406.00,0,'Mission Terminal'), (6476051,59,0,-5130.00,0.00,-2404.00,0,'Entertainer Mission Terminal'), (6476053,59,0,-5126.00,0.00,-2407.00,0,'Entertainer Mission Terminal'), (6476067,59,0,-5195.00,0.00,-2563.00,0,'Entertainer Mission Terminal'), (6476069,59,0,-5194.00,0.00,-2562.00,0,'Entertainer Mission Terminal'), (6476102,62,0,-5450.00,0.00,-2672.00,0,'Mission Terminal'), (6476104,62,0,-5450.00,0.00,-2670.00,0,'Mission Terminal'), (6476106,58,0,-5450.00,0.00,-2666.00,0,'Scout Mission Terminal'), (6476108,58,0,-5450.00,0.00,-2668.00,0,'Scout Mission Terminal'), (6476110,62,0,-5450.00,0.00,-2709.00,0,'Mission Terminal'), (6476112,62,0,-5451.00,0.00,-2709.00,0,'Mission Terminal'), (6476114,58,0,-5446.00,0.00,-2709.00,0,'Scout Mission Terminal'), (6476116,58,0,-5448.00,0.00,-2709.00,0,'Scout Mission Terminal'), (6476118,57,0,-5430.00,0.00,-2710.00,0,'Artisan Mission Terminal'), (6476120,57,0,-5432.00,0.00,-2710.00,0,'Artisan Mission Terminal'), (6476122,59,0,-5441.00,0.00,-2674.00,0,'Entertainer Mission Terminal'), (6476124,59,0,-5440.00,0.00,-2674.00,0,'Entertainer Mission Terminal'), (6476126,57,0,-5434.00,0.00,-2710.00,0,'Artisan Mission Terminal'), (6476134,59,0,-5579.00,0.00,-2600.00,0,'Entertainer Mission Terminal'), (6476136,59,0,-5580.00,0.00,-2600.00,0,'Entertainer Mission Terminal'), (6476138,59,0,-5580.00,0.00,-2656.00,0,'Entertainer Mission Terminal'), (6476140,59,0,-5579.00,0.00,-2656.00,0,'Entertainer Mission Terminal'), (6476142,59,0,-5569.00,0.00,-2628.00,0,'Entertainer Mission Terminal'), (6476144,59,0,-5569.00,0.00,-2627.00,0,'Entertainer Mission Terminal'), (6476154,57,0,-133.00,0.00,-4714.00,0,'Artisan Mission Terminal'), (6476156,59,0,-136.00,0.00,-4732.00,0,'Entertainer Mission Terminal'), (6476162,58,0,-137.00,0.00,-4737.00,0,'Scout Mission Terminal'), (6476164,57,0,22.00,0.00,-4449.00,0,'Artisan Mission Terminal'), (6476166,57,0,22.00,0.00,-4431.00,0,'Artisan Mission Terminal'), (6476168,57,0,-371.00,0.00,-4529.00,0,'Artisan Mission Terminal'), (6476170,57,0,-371.00,0.00,-4527.00,0,'Artisan Mission Terminal'), (6476172,59,0,-358.00,0.00,-4539.00,0,'Entertainer Mission Terminal'), (6476174,59,0,-360.00,0.00,-4539.00,0,'Entertainer Mission Terminal'), (6476176,58,0,-331.00,0.00,-4444.00,0,'Scout Mission Terminal'), (6476178,58,0,-329.00,0.00,-4444.00,0,'Scout Mission Terminal'), (6476180,58,0,-227.00,0.00,-4374.00,0,'Scout Mission Terminal'), (6476182,58,0,-227.00,0.00,-4405.00,0,'Scout Mission Terminal'), (6476184,57,0,-193.00,0.00,-4403.00,0,'Artisan Mission Terminal'), (6476186,57,0,-193.00,0.00,-4377.00,0,'Artisan Mission Terminal'), (6476188,58,0,-488.00,0.00,-4665.00,0,'Scout Mission Terminal'), (6476190,58,0,-488.00,0.00,-4681.00,0,'Scout Mission Terminal'), (6476192,57,0,-229.00,0.00,-4344.00,0,'Artisan Mission Terminal'), (6476194,59,0,-227.00,0.00,-4344.00,0,'Entertainer Mission Terminal'), (6476196,58,0,-231.00,0.00,-4344.00,0,'Scout Mission Terminal'), (6476198,57,0,-191.00,0.00,-4344.00,0,'Artisan Mission Terminal'), (6476200,59,0,-193.00,0.00,-4344.00,0,'Entertainer Mission Terminal'), (6476202,58,0,-189.00,0.00,-4344.00,0,'Scout Mission Terminal'), (6476204,59,0,-237.00,0.00,-4155.00,0,'Entertainer Mission Terminal'), (6476206,59,0,-237.00,0.00,-4157.00,0,'Entertainer Mission Terminal'), (6476208,59,0,-237.00,0.00,-4159.00,0,'Entertainer Mission Terminal'), (6476210,59,0,-181.00,0.00,-4165.00,0,'Entertainer Mission Terminal'), (6476212,59,0,-181.00,0.00,-4167.00,0,'Entertainer Mission Terminal'), (6476214,59,0,-181.00,0.00,-4169.00,0,'Entertainer Mission Terminal'), (6476217,58,0,-3268.00,0.00,3101.00,0,'Scout Mission Terminal'), (6476219,59,0,-3267.00,0.00,3099.00,0,'Entertainer Mission Terminal'), (6476221,57,0,-3267.00,0.00,3100.00,0,'Artisan Mission Terminal'), (6476223,58,0,-3262.00,0.00,3114.00,0,'Scout Mission Terminal'), (6476225,59,0,-3259.00,0.00,3115.00,0,'Entertainer Mission Terminal'), (6476227,57,0,-3261.00,0.00,3115.00,0,'Artisan Mission Terminal'), (6476229,57,0,-3431.00,0.00,3200.00,0,'Artisan Mission Terminal'), (6476231,57,0,-3440.00,0.00,3195.00,0,'Artisan Mission Terminal'), (6476233,58,0,-3428.00,0.00,3351.00,0,'Scout Mission Terminal'), (6476235,58,0,-3396.00,0.00,3350.00,0,'Scout Mission Terminal'), (6476237,58,0,-3660.00,0.00,3087.00,0,'Scout Mission Terminal'), (6476239,58,0,-3685.00,0.00,3101.00,0,'Scout Mission Terminal'), (6476241,57,0,-3658.00,0.00,3086.00,0,'Artisan Mission Terminal'), (6476243,57,0,-3687.00,0.00,3102.00,0,'Artisan Mission Terminal'), (6476247,59,0,-3686.00,0.00,3092.00,0,'Entertainer Mission Terminal'), (6476249,59,0,-3666.00,0.00,3082.00,0,'Entertainer Mission Terminal'), (6476252,58,0,6915.00,0.00,-5603.00,0,'Scout Mission Terminal'), (6476256,58,0,6915.00,0.00,-5605.00,0,'Scout Mission Terminal'), (6476258,57,0,6923.00,0.00,-5566.00,0,'Artisan Mission Terminal'), (6476260,57,0,6923.00,0.00,-5564.00,0,'Artisan Mission Terminal'), (6476262,59,0,6693.00,0.00,-5595.00,0,'Entertainer Mission Terminal'), (6476264,57,0,6691.00,0.00,-5596.00,0,'Artisan Mission Terminal'), (6476266,58,0,6689.00,0.00,-5595.00,0,'Scout Mission Terminal'), (6476268,59,0,6721.00,0.00,-5595.00,0,'Entertainer Mission Terminal'), (6476270,57,0,6723.00,0.00,-5596.00,0,'Artisan Mission Terminal'), (6476272,58,0,6725.00,0.00,-5595.00,0,'Scout Mission Terminal'), (6476274,57,0,6700.00,0.00,-5546.00,0,'Artisan Mission Terminal'), (6476276,57,0,6715.00,0.00,-5546.00,0,'Artisan Mission Terminal'), (6476278,58,0,6839.00,0.00,-5772.00,0,'Scout Mission Terminal'), (6476280,58,0,6839.00,0.00,-5796.00,0,'Scout Mission Terminal'), (6595508,22,4,419.00,0.00,5216.00,0,'Nym\'s Stronghold'), (6645602,4,3,-871.00,0.00,1565.00,0,'Smuggler\'s Outpost'), (6645695,62,3,-862.00,0.00,1566.00,0,'Mission Terminal'), (6645697,62,3,-866.00,0.00,1566.00,0,'Mission Terminal'), (6645705,62,3,-857.00,0.00,1604.00,0,'Mission Terminal'), (6645707,62,3,-851.00,0.00,1601.00,0,'Mission Terminal'), (6705352,6,3,-905.00,0.00,1613.00,0,'Smuggler\'s Outpost'), (6705352,20,3,-955.00,0.00,1557.00,0,'Smuggler\'s Outpost'), (6955366,20,2,613.00,0.00,3094.00,0,'Trade Outpost'), (6955398,17,2,582.00,0.00,3046.00,0,'Trade Outpost'), (7015462,62,2,575.00,0.00,3065.00,0,'Mission Terminal'), (7105353,20,1,-640.00,0.00,2502.00,0,'Mining Outpost'), (7105362,17,1,-613.00,0.00,2480.00,0,'Mining Outpost'), (7275419,62,1,-609.00,0.00,2482.00,0,'Mission Terminal'), (7495394,61,8,-3115.00,0.00,2158.00,0,'Bazaar Terminal'), (7495607,61,8,-2909.00,0.00,1927.00,0,'Bazaar Terminal'), (7555511,58,6,-5113.00,0.00,-2347.00,0,'Scout Mission Terminal'), (7555513,58,6,-5111.00,0.00,-2347.00,0,'Scout Mission Terminal'), (7555515,57,6,-5146.00,0.00,-2347.00,0,'Artisan Mission Terminal'), (7555517,57,6,-5148.00,0.00,-2347.00,0,'Artisan Mission Terminal'), (7555519,58,6,-5163.00,0.00,-2489.00,0,'Scout Mission Terminal'), (7555521,58,6,-5163.00,0.00,-2473.00,0,'Scout Mission Terminal'), (7555523,57,6,-5171.00,0.00,-2490.00,0,'Artisan Mission Terminal'), (7555525,59,6,-5170.00,0.00,-2486.00,0,'Entertainer Mission Terminal'), (7555527,59,6,-5170.00,0.00,-2476.00,0,'Entertainer Mission Terminal'), (7555529,57,6,-5171.00,0.00,-2472.00,0,'Artisan Mission Terminal'), (7555531,57,6,-5328.00,0.00,-2110.00,0,'Artisan Mission Terminal'), (7555533,57,6,-5335.00,0.00,-2105.00,0,'Artisan Mission Terminal'), (7555537,58,6,-5303.00,0.00,-2281.00,0,'Scout Mission Terminal'), (7555539,57,6,-5305.00,0.00,-2281.00,0,'Artisan Mission Terminal'), (7555541,59,6,-5307.00,0.00,-2281.00,0,'Entertainer Mission Terminal'), (7555543,58,6,-5269.00,0.00,-2281.00,0,'Scout Mission Terminal'), (7555545,59,6,-5265.00,0.00,-2281.00,0,'Entertainer Mission Terminal'), (7555547,57,6,-5267.00,0.00,-2281.00,0,'Artisan Mission Terminal'), (7555549,59,6,-5031.00,0.00,-2355.00,0,'Entertainer Mission Terminal'), (7555551,59,6,-5029.00,0.00,-2355.00,0,'Entertainer Mission Terminal'), (7555553,59,6,-5027.00,0.00,-2355.00,0,'Entertainer Mission Terminal'), (7555569,58,6,5130.00,0.00,5678.00,0,'Scout Mission Terminal'), (7555571,58,6,5128.00,0.00,5678.00,0,'Scout Mission Terminal'), (7555573,57,6,5172.00,0.00,5678.00,0,'Artisan Mission Terminal'), (7555575,57,6,5170.00,0.00,5678.00,0,'Artisan Mission Terminal'), (7555577,57,6,5510.00,0.00,5610.00,0,'Artisan Mission Terminal'), (7555579,57,6,5510.00,0.00,5612.00,0,'Artisan Mission Terminal'), (7555581,58,6,5510.00,0.00,5637.00,0,'Scout Mission Terminal'), (7555583,58,6,5510.00,0.00,5635.00,0,'Scout Mission Terminal'), (7555585,59,6,5495.00,0.00,5623.00,0,'Entertainer Mission Terminal'), (7555587,59,6,5495.00,0.00,5621.00,0,'Entertainer Mission Terminal'), (7555589,58,6,5460.00,0.00,5768.00,0,'Scout Mission Terminal'), (7555591,58,6,5462.00,0.00,5768.00,0,'Scout Mission Terminal'), (7555593,57,6,5256.00,0.00,5731.00,0,'Artisan Mission Terminal'), (7555595,57,6,5256.00,0.00,5733.00,0,'Artisan Mission Terminal'), (7596564,64,5,5213.00,0.00,6719.00,0,'Imperial Mission Terminal'), (7596566,64,5,5214.00,0.00,6720.00,0,'Imperial Mission Terminal'), (7615442,18,0,-5307.00,0.00,-6403.00,0,'Vreni Island'), (7755372,61,0,-340.00,0.00,-4644.00,0,'Bazaar Terminal'), (7755373,60,0,-310.00,0.00,-4643.00,0,'Bank Terminal'), (7755374,60,0,-342.00,0.00,-4642.00,0,'Bank Terminal'), (7755375,61,0,-312.00,0.00,-4644.00,0,'Bazaar Terminal'), (7795548,20,9,-273.00,0.00,4896.00,0,'Mining Outpost'), (7795548,22,0,-131.00,0.00,-4723.00,0,'Coronet'), (7806050,64,4,-1847.00,0.00,-3101.00,0,'Imperial Mission Terminal'), (7806052,64,4,-1847.00,0.00,-3098.00,0,'Imperial Mission Terminal'), (7825849,64,7,-2192.00,0.00,2265.00,0,'Imperial Mission Terminal'), (7825851,64,7,-2192.00,0.00,2263.00,0,'Imperial Mission Terminal'), (7875860,59,5,4972.00,0.00,6755.00,0,'Entertainer Mission Terminal'), (7875862,59,5,4974.00,0.00,6754.00,0,'Entertainer Mission Terminal'), (7895585,58,4,439.00,0.00,5127.00,0,'Scout Mission Terminal'), (7895587,58,4,437.00,0.00,5127.00,0,'Scout Mission Terminal'), (7895589,58,4,435.00,0.00,5127.00,0,'Scout Mission Terminal'), (7895596,59,4,480.00,0.00,5016.00,0,'Entertainer Mission Terminal'), (7895598,59,4,478.00,0.00,5016.00,0,'Entertainer Mission Terminal'), (7895600,62,4,481.00,0.00,5016.00,0,'Mission Terminal'), (7925448,4,9,-355.00,0.00,4861.00,0,'Mining Outpost'), (7925453,6,9,-353.00,0.00,4847.00,0,'Mining Outpost'), (7925474,18,9,-276.00,0.00,4843.00,0,'Mining Outpost'), (7925510,60,9,-308.00,0.00,4854.00,0,'Bank Terminal'), (7925511,60,9,-320.00,0.00,4854.00,0,'Bank Terminal'), (7925512,61,9,-312.00,0.00,4854.00,0,'Bazaar Terminal'), (7925513,61,9,-316.00,0.00,4854.00,0,'Bazaar Terminal'), (7925514,62,9,-291.00,0.00,4820.00,0,'Mission Terminal'), (7925516,62,9,-294.00,0.00,4819.00,0,'Mission Terminal'), (7925518,62,9,-296.00,0.00,4819.00,0,'Mission Terminal'), (7955399,64,6,5180.00,0.00,5634.00,0,'Imperial Mission Terminal'), (7955401,64,6,5180.00,0.00,5636.00,0,'Imperial Mission Terminal'), (7955406,64,6,5433.00,0.00,5701.00,0,'Imperial Mission Terminal'), (7955408,64,6,5435.00,0.00,5703.00,0,'Imperial Mission Terminal'), (7985452,64,0,6712.00,0.00,-5806.00,0,'Imperial Mission Terminal'), (7985454,64,0,6726.00,0.00,-5805.00,0,'Imperial Mission Terminal'), (8075565,64,5,2112.00,0.00,2571.00,0,'Imperial Mission Terminal'), (8075567,64,5,2110.00,0.00,2572.00,0,'Imperial Mission Terminal'), (8075578,64,5,1427.00,0.00,2798.00,0,'Imperial Mission Terminal'), (8075580,64,5,1427.00,0.00,2796.00,0,'Imperial Mission Terminal'), (8075583,64,5,-5471.00,0.00,4412.00,0,'Imperial Mission Terminal'), (8075592,64,5,-4920.00,0.00,4228.00,0,'Imperial Mission Terminal'), (8075594,64,5,-4918.00,0.00,4226.00,0,'Imperial Mission Terminal'), (8075596,64,5,-4916.00,0.00,4225.00,0,'Imperial Mission Terminal'), (8105493,4,0,-346.00,0.00,-4542.00,0,'Coronet'), (8145352,17,4,420.00,0.00,5136.00,0,'Nym\'s Stronghold'), (8145375,4,4,541.00,0.00,5091.00,0,'Nym\'s Stronghold'), (8156096,62,0,-332.00,0.00,-4444.00,0,'Mission Terminal'), (8156098,62,0,-334.00,0.00,-4444.00,0,'Mission Terminal'), (8215863,80,0,-366.00,0.00,-4698.00,0,'Coronet'), (8315462,64,5,5145.00,0.00,6673.00,0,'Imperial Mission Terminal'), (8465531,80,0,-5156.00,0.00,-6368.00,0,'Vreni Island'), (8525361,64,2,-6336.00,0.00,922.00,0,'Imperial Mission Terminal'), (8565352,17,1,1626.00,0.00,-6366.00,0,'Pirate Outpost'), (8605391,60,1,1604.00,0.00,-6366.00,0,'Bank Terminal'), (8605392,60,1,1571.00,0.00,-6366.00,0,'Bank Terminal'), (8605394,61,1,1616.00,0.00,-6366.00,0,'Bazaar Terminal'), (8605395,61,1,1561.00,0.00,-6366.00,0,'Bazaar Terminal'), (8605408,62,1,1612.00,0.00,-6392.00,0,'Mission Terminal'), (8605410,62,1,1568.00,0.00,-6391.00,0,'Mission Terminal'), (8615438,6,4,-1844.00,0.00,-3039.00,0,'Imperial Outpost'), (8675754,60,0,6835.00,0.00,-5784.00,0,'Bank Terminal'), (9185423,64,8,-5303.00,0.00,2661.00,0,'Imperial Mission Terminal'), (9515472,62,8,1278.00,0.00,3137.00,0,'Mission Terminal'), (9555392,62,0,-5043.00,0.00,-2306.00,0,'Mission Terminal'), (9655494,18,8,3516.00,0.00,-4769.00,0,'Mos Eisley'), (9665352,20,0,3340.00,0.00,5534.00,0,'Doaba Guerfel'), (9745390,12,8,1434.00,0.00,3372.00,0,'Mos Entha'), (9745408,64,8,-1068.00,0.00,-3597.00,0,'Imperial Mission Terminal'), (9745410,64,8,-1069.00,0.00,-3596.00,0,'Imperial Mission Terminal'), (9875353,20,3,3209.00,0.00,-3499.00,0,'Research Outpost'), (9875413,17,3,3255.00,0.00,-3495.00,0,'Research Outpost'), (9925364,4,3,3215.00,0.00,-3450.00,0,'Research Outpost'), (19935513,6,0,-5669.00,0.00,-2698.00,0,'Tyrena'), (99999930,7,0,45.00,0.00,-4239.00,0,'Coronet'), (99999931,7,0,-3194.00,0.00,2804.00,0,'Kor Vella'), (99999932,7,0,-5570.00,0.00,-2582.00,0,'Tyrena'), (99999933,7,5,5117.00,0.00,6560.00,0,'Kaadara'), (99999934,7,5,4663.00,0.00,-4771.00,0,'Moenia'), (99999935,7,5,1649.00,0.00,2442.00,0,'Keren'), (99999936,7,5,1960.00,0.00,2389.00,0,'Keren'), (99999937,7,5,-5671.00,0.00,4110.00,0,'Theed'), (99999938,7,6,-5231.00,0.00,-2494.00,0,'Narmle'), (99999939,7,7,185.00,0.00,-3087.00,0,'Dearic'), (99999940,7,7,675.00,0.00,-2867.00,0,'Dearic'), (99999941,7,8,3773.00,0.00,2325.00,0,'Mos Taike'), (99999942,7,8,3385.00,0.00,-4974.00,0,'Mos Eisley'), (99999943,7,8,3538.00,0.00,-4626.00,0,'Mos Eisley'), (99999944,7,8,1457.00,0.00,3455.00,0,'Mos Entha'), (99999945,7,8,1777.00,0.00,3066.00,0,'Mos Entha'), (99999946,7,8,-2956.00,0.00,2522.00,0,'Mos Espa'), (99999947,7,8,-2730.00,0.00,2268.00,0,'Mos Espa'), (99999948,7,8,-2861.00,0.00,1940.00,0,'Mos Espa'), (99999950,3,0,-5110.00,0.00,-2387.00,0,'Tyrena'), (99999951,3,4,421.00,0.00,5050.00,0,'Nym\'s Stronghold'), (99999952,3,5,-5705.00,0.00,4171.00,0,'Theed'), (99999953,3,5,-5131.00,0.00,4159.00,0,'Theed'), (99999954,3,5,4804.00,0.00,-4866.00,0,'Moenia'), (99999955,3,5,1787.00,0.00,2614.00,0,'Keren'), (99999956,3,5,5077.00,0.00,6710.00,0,'Kaadara'), (99999957,3,6,-5110.00,0.00,-2474.00,0,'Narmle'), (99999959,3,6,5196.00,0.00,5584.00,0,'Restuss'), (99999960,60,7,-2175.00,0.00,2341.00,0,'Bank'), (99999961,3,8,3499.00,0.00,-4944.00,0,'Mos Eisley'), (99999962,3,8,-1273.00,0.00,-3664.00,0,'Bestine'), (99999963,3,8,-2993.00,0.00,2336.00,0,'Mos Espa'), (99999964,3,8,1271.00,0.00,2939.00,0,'Mos Entha'), (99999990,17,2,-81.00,0.00,-1632.00,0,'Science Outpost'), (99999991,10,5,1787.00,0.00,2546.00,0,'Keren'), (99999993,10,5,4805.00,0.00,-4979.00,0,'Moenia'), (99999994,10,5,4730.00,0.00,-1293.00,0,'Dee\'ja Peak'), (99999996,6,8,-1424.00,0.00,-3783.00,0,'Bestine'), (99999997,7,0,-262.00,0.00,-4807.00,0,'Coronet'), (99999998,18,7,-2174.00,0.00,2328.00,0,'Imperial Outpost'), (99999999,20,5,-4848.00,0.00,4172.00,0,'Theed'), (999999201,62,6,5133.00,0.00,5681.00,0,'Mission Terminal'), (999999219,19,0,6637.00,0.00,-5921.00,0,'Bela Vistal'), (999999220,19,0,6937.00,0.00,-5536.00,0,'Bela Vistal'), (999999221,19,0,-5552.00,0.00,-6057.00,0,'Vreni Island'), (999999222,19,0,-23.00,0.00,-4401.00,0,'Coronet'), (999999223,19,0,-329.00,0.00,-4636.00,0,'Coronet'), (999999224,19,0,3078.00,0.00,4995.00,0,'Doaba Guerfel'), (999999225,19,0,-3773.00,0.00,3240.00,0,'Kor Vella'), (999999226,19,0,-5603.00,0.00,-2790.00,0,'Tyrena'), (999999227,19,0,-5005.00,0.00,-2381.00,0,'Tyrena'), (999999229,19,5,5337.00,0.00,-1578.00,0,'Dee\'ja Peak'), (999999230,19,5,-5489.00,0.00,-21.00,0,'Lake Retreat'), (999999231,19,5,5127.00,0.00,6613.00,0,'Kaadara'), (999999232,19,5,4969.00,0.00,-4890.00,0,'Moenia'), (999999233,19,5,2028.00,0.00,2526.00,0,'Keren'), (999999234,19,5,1563.00,0.00,2841.00,0,'Keren'), (999999235,19,5,-5862.00,0.00,4171.00,0,'Theed'), (999999236,19,5,-5410.00,0.00,4316.00,0,'Theed'), (999999237,19,5,-5000.00,0.00,4080.00,0,'Theed'), (999999238,19,6,-5250.00,0.00,-2158.00,0,'Narmle'), (999999239,19,6,5213.00,0.00,5796.00,0,'Restuss'), (999999240,19,7,700.00,0.00,-3046.00,0,'Dearic'), (999999241,19,7,4329.00,0.00,5430.00,0,'Nashal'), (999999242,19,8,48.00,0.00,-5335.00,0,'Anchorhead'), (999999243,19,8,-1090.00,0.00,-3558.00,0,'Bestine'), (999999244,19,8,3421.00,0.00,-4650.00,0,'Mos Eisley'), (999999245,19,8,1391.00,0.00,3474.00,0,'Mos Entha'), (999999246,19,8,1728.00,0.00,3189.00,0,'Mos Entha'), (999999247,19,8,-2800.00,0.00,2179.00,0,'Mos Espa'), (999999248,19,8,-3119.00,0.00,2174.00,0,'Mos Espa'), (999999249,19,8,-2893.00,0.00,1927.00,0,'Mos Espa'), (999999646,20,42,299.00,0.00,3742.00,0,'Pandath'), (999999647,22,42,3174.00,0.00,-3843.00,0,'Pendath'), (999999648,19,42,102.00,0.00,3919.00,0,'Pandath'), (999999649,3,42,299.00,0.00,3879.00,0,'Pandath'), (999999650,5,42,299.00,0.00,3995.00,0,'Pandath'), (999999651,10,42,385.00,0.00,3920.00,0,'Pandath'), (999999652,9,42,385.00,0.00,3839.00,0,'Pandath'), (999999653,18,42,196.00,0.00,3986.00,0,'Pandath'), (999999654,6,42,446.00,0.00,3953.00,0,'Pandath'), (999999655,17,42,177.00,0.00,3770.00,0,'Pandath'), (999999656,4,42,194.00,0.00,3855.00,0,'Pandath'), (999999657,61,42,320.00,0.00,3878.00,0,'Bazaar Terminal'), (999999658,61,42,299.00,0.00,3901.00,0,'Bazaar Terminal'), (999999659,61,42,277.00,0.00,3879.00,0,'Bazaar Terminal'), (999999660,61,42,299.00,0.00,3857.00,0,'Bazaar Terminal'), (999999661,11,42,55.00,0.00,3814.00,0,'Pandath'), (999999662,7,42,409.00,0.00,3712.00,0,'Pandath'), (999999663,62,42,292.00,0.00,3848.00,0,'Mission Terminal'), (999999664,62,42,305.00,0.00,3848.00,0,'Mission Terminal'), (999999665,22,42,298.00,0.00,3823.00,0,'Pandath'), (999999666,12,42,49.70,0.00,3947.50,0,'Pandath'), (999999667,27,42,384.90,0.00,3825.30,0,'Marksman Trainer'), (999999668,24,42,373.90,0.00,3825.40,0,'Brawler Trainer'), (999999669,26,42,372.90,0.00,3842.60,0,'Scout Trainer'), (999999670,25,42,385.20,0.00,3933.90,0,'Artisan Trainer'), (999999671,29,42,179.90,0.00,3985.30,0,'Medic Trainer'), (999999672,28,42,61.80,0.00,3836.40,0,'Entertainer Trainer'), (999999673,32,42,301.90,0.00,3809.40,0,'Shipwright Trainer'), (999999674,19,42,3145.00,0.00,-3865.00,0,'Pendath'), (999999675,34,2,-115.00,0.00,-1572.00,0,'Arnecio Ulvaw\'op (Crimson Phoenix Squadron)'), (999999676,34,6,3696.00,0.00,-6457.00,0,'General Ufwol (Crimson Phoenix Squadron)'), (999999677,20,0,-3138.00,0.00,2815.00,0,'Kor Vella'), (999999678,80,5,4786.00,0.00,-4729.00,0,'Moenia'), - (999999679,7,8,-3030.00,0.00,1910.00,0,'Mos Espa'); + (999999679,7,8,-3030.00,0.00,1910.00,0,'Mos Espa'), + (999999680,22,9,4032.00,0.00,-6234.00,0,'an Imperial Outpost'); /*!40000 ALTER TABLE `planetmap` ENABLE KEYS */; /*!40101 SET SQL_MODE=@OLD_SQL_MODE */; /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; \ No newline at end of file
swganh/mmoserverdb
d8b6203b627752d5ff6cfeb7826e3773e0127fdf
- updated character create sp to not generate custom character biographies
diff --git a/swganh/procedures/sp_CharacterCreate.sql b/swganh/procedures/sp_CharacterCreate.sql index 7fe5583..86f96f0 100644 --- a/swganh/procedures/sp_CharacterCreate.sql +++ b/swganh/procedures/sp_CharacterCreate.sql @@ -1,254 +1,250 @@ /* --------------------------------------------------------------------------------------- This source file is part of SWG:ANH (Star Wars Galaxies - A New Hope - Server Emulator) For more information, visit http://www.swganh.com Copyright (c) 2006 - 2010 The SWG:ANH Team --------------------------------------------------------------------------------------- This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA --------------------------------------------------------------------------------------- */ /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8 */; /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; /*!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' */; -- -- Use schema swganh -- USE swganh; -- -- Definition of procedure `sp_CharacterCreate` -- DROP PROCEDURE IF EXISTS `sp_CharacterCreate`; DELIMITER $$ CREATE DEFINER=`root`@`localhost` PROCEDURE `sp_CharacterCreate`( IN start_account_id INT,IN start_galaxy_id INT,IN start_firstname char(32),IN start_lastname char(32), IN start_profession char(64),IN start_city char(32),IN start_scale FLOAT,IN start_biography text(2048), IN 00FF INT, IN 01FF INT, IN 02FF INT, IN 03FF INT, IN 04FF INT, IN 05FF INT, IN 06FF INT, IN 07FF INT, IN 08FF INT, IN 09FF INT, IN 0AFF INT, IN 0BFF INT, IN 0CFF INT, IN 0DFF INT, IN 0EFF INT, IN 0FFF INT, IN 10FF INT, IN 11FF INT, IN 12FF INT, IN 13FF INT, IN 14FF INT, IN 15FF INT, IN 16FF INT, IN 17FF INT, IN 18FF INT, IN 19FF INT, IN 1AFF INT, IN 1BFF INT, IN 1CFF INT, IN 1DFF INT, IN 1EFF INT, IN 1FFF INT, IN 20FF INT, IN 21FF INT, IN 22FF INT, IN 23FF INT, IN 24FF INT, IN 25FF INT, IN 26FF INT, IN 27FF INT, IN 28FF INT, IN 29FF INT, IN 2AFF INT, IN 2BFF INT, IN 2CFF INT, IN 2DFF INT, IN 2EFF INT, IN 2FFF INT, IN 30FF INT, IN 31FF INT, IN 32FF INT, IN 33FF INT, IN 34FF INT, IN 35FF INT, IN 36FF INT, IN 37FF INT, IN 38FF INT, IN 39FF INT, IN 3AFF INT, IN 3BFF INT, IN 3CFF INT, IN 3DFF INT, IN 3EFF INT, IN 3FFF INT, IN 40FF INT, IN 41FF INT, IN 42FF INT, IN 43FF INT, IN 44FF INT, IN 45FF INT, IN 46FF INT, IN 47FF INT, IN 48FF INT, IN 49FF INT, IN 4AFF INT, IN 4BFF INT, IN 4CFF INT, IN 4DFF INT, IN 4EFF INT, IN 4FFF INT, IN 50FF INT, IN 51FF INT, IN 52FF INT, IN 53FF INT, IN 54FF INT, IN 55FF INT, IN 56FF INT, IN 57FF INT, IN 58FF INT, IN 59FF INT, IN 5AFF INT, IN 5BFF INT, IN 5CFF INT, IN 5DFF INT, IN 5EFF INT, IN 5FFF INT, IN 60FF INT, IN 61FF INT, IN 62FF INT, IN 63FF INT, IN 64FF INT, IN 65FF INT, IN 66FF INT, IN 67FF INT, IN 68FF INT, IN 69FF INT, IN 6AFF INT, IN 6BFF INT, IN 6CFF INT, IN 6DFF INT, IN 6EFF INT, IN 6FFF INT, IN 70FF INT, IN ABFF INT, IN AB2FF INT, IN start_hair_model CHAR(64), IN hair1 INT,IN hair2 INT, IN base_model_string CHAR(64)) charCreate:BEGIN DECLARE oX FLOAT;DECLARE oY FLOAT;DECLARE oZ FLOAT;DECLARE oW FLOAT; DECLARE battlefatigue INT; DECLARE race_id INT; DECLARE character_id BIGINT(20); DECLARE character_parent_id BIGINT(20); DECLARE inventory_id BIGINT(20); DECLARE tutorialcontainer_id BIGINT(20); DECLARE privateowner_id BIGINT(20); DECLARE bank_id BIGINT(20); DECLARE datapad_id BIGINT(20); DECLARE planet_name char(32); DECLARE profession_id INT; DECLARE t_health INT; DECLARE t_strength INT; DECLARE t_constitution INT; DECLARE t_action INT; DECLARE t_quickness INT; DECLARE t_stamina INT; DECLARE t_mind INT; DECLARE t_focus INT; DECLARE t_willpower INT; DECLARE start_planet INT; DECLARE start_x FLOAT;DECLARE start_y FLOAT;DECLARE start_z FLOAT; DECLARE shortSpecies CHAR(32); DECLARE gender INT(3); DECLARE base_skill_id INT; DECLARE nameCheck INT; DECLARE currentTime BIGINT(20); DECLARE melon_id BIGINT(20); DECLARE EXIT HANDLER FOR NOT FOUND BEGIN SET character_id = 4; ROLLBACK; SELECT character_id; END; DECLARE EXIT HANDLER FOR SQLEXCEPTION BEGIN SET character_id = 4; ROLLBACK; SELECT character_id; END; DECLARE EXIT HANDLER FOR SQLWARNING BEGIN SET character_id = 4; ROLLBACK; SELECT character_id; END; SELECT sf_CharacterNameDeveloperCheck(start_firstname) INTO nameCheck; IF nameCheck <> 666 THEN SELECT(nameCheck); LEAVE charCreate; END IF; SELECT sf_CharacterNameFictionalCheck(start_firstname) INTO nameCheck; IF nameCheck <> 666 THEN SELECT(nameCheck); LEAVE charCreate; END IF; SELECT sf_CharacterNameInUseCheck(start_firstname) INTO nameCheck; IF nameCheck <> 666 THEN SELECT(nameCheck); LEAVE charCreate; END IF; IF base_model_string like '%female%' THEN SET gender = 0; ELSE SET gender = 1; END IF; SET character_parent_id = 0; SET privateowner_id = 0; SET battlefatigue = 0; SET oX = 0; SET oY = 0; SET oZ = 0; SET oW = 0; -- -- Transaction Start -- START TRANSACTION; SELECT MAX(id) + 1000 FROM characters INTO character_id FOR UPDATE; IF character_id IS NULL THEN SET character_id = 8589934593; END IF; -- -- Set the initial IDs -- SET inventory_id = character_id + 1; SET bank_id = character_id + 4; SET datapad_id = character_id + 3; SET tutorialcontainer_id = 0; SELECT planet_id, x, y, z FROM starting_location WHERE location LIKE start_city INTO start_planet, start_x, start_y, start_z; SELECT f_speciesShort(base_model_string) INTO shortSpecies; SELECT health, strength, constitution, action, quickness, stamina, mind, focus, willpower FROM starting_attributes WHERE starting_attributes.species like shortSpecies AND starting_attributes.profession like start_profession INTO t_health, t_strength, t_constitution, t_action, t_quickness, t_stamina, t_mind, t_focus, t_willpower; SELECT id from race where race.name like shortSpecies into race_id; SELECT skill_id from skills where skill_name like start_profession INTO profession_id; -- Don't set any default skills or XP when creating player in the Tutorial. IF start_city = 'tutorial' THEN SET character_parent_id = 2203318222960; SET tutorialcontainer_id = 2533274790395904; SET privateowner_id = character_id; END IF; IF start_city = 'default_location' THEN SET character_parent_id = 2203318222975; END IF; INSERT INTO characters VALUES (character_id, start_account_id, start_galaxy_id, start_firstname, start_lastname, race_id, character_parent_id, start_planet, start_x, start_y, start_z, oX, oY, oZ, oW, 0, NULL, 0, CURDATE() + 0); INSERT INTO inventories VALUES (inventory_id,1,1000); INSERT INTO banks VALUES (bank_id,1000,-1); INSERT INTO datapads VALUES (datapad_id,1); INSERT INTO character_attributes VALUES (character_id, 1, t_health, t_strength, t_constitution, t_action, t_quickness, t_stamina, t_mind, t_focus, t_willpower, t_health, t_strength, t_constitution, t_action, t_quickness, t_stamina, t_mind, t_focus, t_willpower, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, battlefatigue,0,0,NULL,0,0,1,0,0,0,3); INSERT INTO character_appearance VALUES (character_id, 00FF, 01FF, 02FF, 03FF, 04FF, 05FF, 06FF, 07FF, 08FF, 09FF, 0AFF, 0BFF, 0CFF, 0DFF, 0EFF, 0FFF, 10FF, 11FF, 12FF, 13FF, 14FF, 15FF, 16FF, 17FF, 18FF, 19FF, 1AFF, 1BFF, 1CFF, 1DFF, 1EFF, 1FFF, 20FF, 21FF, 22FF, 23FF, 24FF, 25FF, 26FF, 27FF, 28FF, 29FF, 2AFF, 2BFF, 2CFF, 2DFF, 2EFF, 2FFF, 30FF, 31FF, 32FF, 33FF, 34FF, 35FF, 36FF, 37FF, 38FF, 39FF, 3AFF, 3BFF, 3CFF, 3DFF, 3EFF, 3FFF, 40FF, 41FF, 42FF, 43FF, 44FF, 45FF, 46FF, 47FF, 48FF, 49FF, 4AFF, 4BFF, 4CFF, 4DFF, 4EFF, 4FFF, 50FF, 51FF, 52FF, 53FF, 54FF, 55FF, 56FF, 57FF, 58FF, 59FF, 5AFF, 5BFF, 5CFF, 5DFF, 5EFF, 5FFF, 60FF, 61FF, 62FF, 63FF, 64FF, 65FF, 66FF, 67FF, 68FF, 69FF, 6AFF, 6BFF, 6CFF, 6DFF, 6EFF, 6FFF, 70FF, ABFF, AB2FF, start_hair_model, hair1,hair2, base_model_string,start_scale); INSERT INTO character_movement VALUES(character_id,5.75,1.50,1.00,0.0125); INSERT INTO character_tutorial VALUES(character_id,1,1,start_profession); IF start_city <> 'tutorial' THEN SET base_skill_id = profession_id + 1; CALL sp_CharacterSkillsCreate(character_id,base_skill_id,race_id); CALL sp_CharacterXpCreate(character_id,base_skill_id); END IF; - - IF start_biography IS NULL OR start_biography LIKE '' THEN - SELECT f_rand_biography() INTO start_biography; - END IF; INSERT INTO character_biography VALUES (character_id, start_biography); INSERT INTO character_matchmaking VALUES (character_id,0,0,0,0,0); CALL sp_CharacterCreateFactions(character_id); CALL sp_CharacterStartingItems(inventory_id,tutorialcontainer_id,privateowner_id,race_id,profession_id,gender); -- -- Fix Melon to have 5 stacks -- -- Wen running the Tutorial there is no melon in the inventory. And it will make it impossible to create a character at the Tutorial zone. -- SELECT id FROM items WHERE parent_id = inventory_id AND item_type = 89 INTO melon_id; -- INSERT INTO item_attributes VALUES (melon_id, 23, 5, 3, NULL); IF start_city = 'tutorial' THEN SELECT id FROM items WHERE items.privateowner_id = character_id AND items.item_type = 89 INTO melon_id; INSERT INTO item_attributes VALUES (melon_id, 23, 5, 3, NULL); ELSE SELECT id FROM items WHERE items.parent_id = inventory_id AND items.item_type = 89 INTO melon_id; INSERT INTO item_attributes VALUES (melon_id, 23, 5, 3, NULL); END IF; -- -- Commit Transaction -- COMMIT; -- -- Return new character ID -- SELECT(character_id); END $$ DELIMITER ; /*!40101 SET SQL_MODE=@OLD_SQL_MODE */; /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; \ No newline at end of file
swganh/mmoserverdb
da3c8453bf42eb66a6344e1d8ba21f88711ab05d
- sp_PlanetNoBuildRegions as per Kronos's change
diff --git a/swganh/procedures/sp_PlanetNoBuildRegions.sql b/swganh/procedures/sp_PlanetNoBuildRegions.sql index e28a30d..9448a2f 100644 --- a/swganh/procedures/sp_PlanetNoBuildRegions.sql +++ b/swganh/procedures/sp_PlanetNoBuildRegions.sql @@ -1,68 +1,67 @@ /* --------------------------------------------------------------------------------------- This source file is part of SWG:ANH (Star Wars Galaxies - A New Hope - Server Emulator) For more information, visit http://www.swganh.com Copyright (c) 2006 - 2010 The SWG:ANH Team --------------------------------------------------------------------------------------- This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA --------------------------------------------------------------------------------------- */ /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8 */; /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; /*!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' */; use swganh; -- -- Definition of procedure `sp_PlanetNoBuildRegions` -- DROP PROCEDURE IF EXISTS `sp_PlanetNoBuildRegions`; DELIMITER $$ -CREATE DEFINER=`root`@`localhost` PROCEDURE `sp_PlanetNoBuildRegions`(IN planet INT) +CREATE DEFINER=`root`@`localhost` PROCEDURE `sp_PlanetNoBuildRegions`() BEGIN ## - ## sp_PlanetNoBuildRegions (planet) + ## sp_PlanetNoBuildRegions () ## - ## Returns (region_id, region_name, x, z, width, height, build, no_build_type) + ## Returns (region_id, region_name, x, z, width, height, planet_id, build, no_build_type) ## Grab our no build regions - SELECT region_id, region_name, x, z, width, height, build, no_build_type FROM planet_regions WHERE planet_id = planet AND region_file = 'no_build_region'; - + SELECT region_id, region_name, x, z, width, height, planet_id, build, no_build_type FROM planet_regions WHERE region_file = 'no_build_region'; ## ## Exit END $$ DELIMITER ; /*!40101 SET SQL_MODE=@OLD_SQL_MODE */; /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; \ No newline at end of file
swganh/mmoserverdb
181f08fd5b581adf2bdd69dd8a1b62b9da300863
- sp_PlanetNoBuildRegions
diff --git a/swganh/procedures/sp_PlanetNoBuildRegions.sql b/swganh/procedures/sp_PlanetNoBuildRegions.sql new file mode 100644 index 0000000..e28a30d --- /dev/null +++ b/swganh/procedures/sp_PlanetNoBuildRegions.sql @@ -0,0 +1,68 @@ +/* +--------------------------------------------------------------------------------------- +This source file is part of SWG:ANH (Star Wars Galaxies - A New Hope - Server Emulator) + +For more information, visit http://www.swganh.com + +Copyright (c) 2006 - 2010 The SWG:ANH Team +--------------------------------------------------------------------------------------- +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU Lesser General Public +License as published by the Free Software Foundation; either +version 2.1 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Lesser General Public License for more details. + +You should have received a copy of the GNU Lesser General Public +License along with this library; if not, write to the Free Software +Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +--------------------------------------------------------------------------------------- +*/ + +/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; +/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; +/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; +/*!40101 SET NAMES utf8 */; + +/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; +/*!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' */; + +use swganh; + +-- +-- Definition of procedure `sp_PlanetNoBuildRegions` +-- + +DROP PROCEDURE IF EXISTS `sp_PlanetNoBuildRegions`; + +DELIMITER $$ +CREATE DEFINER=`root`@`localhost` PROCEDURE `sp_PlanetNoBuildRegions`(IN planet INT) +BEGIN + + ## + ## sp_PlanetNoBuildRegions (planet) + ## + ## Returns (region_id, region_name, x, z, width, height, build, no_build_type) + + ## Grab our no build regions + + SELECT region_id, region_name, x, z, width, height, build, no_build_type FROM planet_regions WHERE planet_id = planet AND region_file = 'no_build_region'; + + ## + ## Exit + +END $$ + +DELIMITER ; + +/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; +/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; +/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; +/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; +/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; \ No newline at end of file
swganh/mmoserverdb
f7de5b2b3e9235d3e5e149eb38c2dd41d0b262d8
- new stored procedures
diff --git a/swganh/procedures/sp_CSRReturnCategories.sql b/swganh/procedures/sp_CSRReturnCategories.sql new file mode 100644 index 0000000..76d77cb --- /dev/null +++ b/swganh/procedures/sp_CSRReturnCategories.sql @@ -0,0 +1,63 @@ +/* +--------------------------------------------------------------------------------------- +This source file is part of SWG:ANH (Star Wars Galaxies - A New Hope - Server Emulator) + +For more information, visit http://www.swganh.com + +Copyright (c) 2006 - 2010 The SWG:ANH Team +--------------------------------------------------------------------------------------- +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU Lesser General Public +License as published by the Free Software Foundation; either +version 2.1 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Lesser General Public License for more details. + +You should have received a copy of the GNU Lesser General Public +License along with this library; if not, write to the Free Software +Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +--------------------------------------------------------------------------------------- +*/ + +/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; +/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; +/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; +/*!40101 SET NAMES utf8 */; + +/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; +/*!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' */; + +use swganh; + +-- +-- Definition of procedure `sp_CSRReturnCategories` +-- + +DROP PROCEDURE IF EXISTS `sp_CSRReturnCategories`; + +DELIMITER $$ + +/*!50003 SET @TEMP_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */ $$ +DELIMITER $$ +CREATE DEFINER=`root`@`localhost` PROCEDURE `sp_CSRReturnCategories`() +BEGIN + + SELECT * FROM swganh.csr_categories; + +END $$ + +/*!50003 SET SESSION SQL_MODE=@TEMP_SQL_MODE */ $$ + +DELIMITER ; + +/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; +/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; +/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; +/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; +/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; \ No newline at end of file diff --git a/swganh/procedures/sp_CSRTicketAppendComment.sql b/swganh/procedures/sp_CSRTicketAppendComment.sql new file mode 100644 index 0000000..00fd546 --- /dev/null +++ b/swganh/procedures/sp_CSRTicketAppendComment.sql @@ -0,0 +1,78 @@ +/* +--------------------------------------------------------------------------------------- +This source file is part of SWG:ANH (Star Wars Galaxies - A New Hope - Server Emulator) + +For more information, visit http://www.swganh.com + +Copyright (c) 2006 - 2010 The SWG:ANH Team +--------------------------------------------------------------------------------------- +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU Lesser General Public +License as published by the Free Software Foundation; either +version 2.1 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Lesser General Public License for more details. + +You should have received a copy of the GNU Lesser General Public +License along with this library; if not, write to the Free Software +Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +--------------------------------------------------------------------------------------- +*/ + +/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; +/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; +/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; +/*!40101 SET NAMES utf8 */; + +/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; +/*!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' */; + +use swganh; + +-- +-- Definition of procedure `sp_CSRTicketAppendComment` +-- + +DROP PROCEDURE IF EXISTS `sp_CSRTicketAppendComment`; + +DELIMITER $$ + +/*!50003 SET @TEMP_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */ $$ +DELIMITER $$ +CREATE DEFINER=`root`@`localhost` PROCEDURE `sp_CSRTicketAppendComment`(IN mticket_id BIGINT, mcomment CHAR, mposter CHAR) +BEGIN + + ## + ## sp_CSRAppendTicketComment (mticket_id, mcomment, mposter) + ## + ## Returns (nothing) + + ## Insert our new comment + + INSERT INTO swganh.csr_comments VALUES (NULL, mticket_id, mcomment, mposter); + + ## + ## Update the ticket timestamp + + UPDATE swganh.csr_tickets SET lastmodified = UNIX_TIMESTAMP() WHERE ticket_id = mticket_id; + + ## + ## Exit + +END $$ + +/*!50003 SET SESSION SQL_MODE=@TEMP_SQL_MODE */ $$ + +DELIMITER ; + +/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; +/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; +/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; +/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; +/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; \ No newline at end of file diff --git a/swganh/procedures/sp_CSRTicketDelete.sql b/swganh/procedures/sp_CSRTicketDelete.sql new file mode 100644 index 0000000..4669815 --- /dev/null +++ b/swganh/procedures/sp_CSRTicketDelete.sql @@ -0,0 +1,74 @@ +/* +--------------------------------------------------------------------------------------- +This source file is part of SWG:ANH (Star Wars Galaxies - A New Hope - Server Emulator) + +For more information, visit http://www.swganh.com + +Copyright (c) 2006 - 2010 The SWG:ANH Team +--------------------------------------------------------------------------------------- +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU Lesser General Public +License as published by the Free Software Foundation; either +version 2.1 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Lesser General Public License for more details. + +You should have received a copy of the GNU Lesser General Public +License along with this library; if not, write to the Free Software +Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +--------------------------------------------------------------------------------------- +*/ + +/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; +/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; +/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; +/*!40101 SET NAMES utf8 */; + +/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; +/*!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' */; + +use swganh; + +-- +-- Definition of procedure `sp_CSRTicketDelete` +-- + +DROP PROCEDURE IF EXISTS `sp_CSRTicketDelete`; + +DELIMITER $$ + +/*!50003 SET @TEMP_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */ $$ +DELIMITER $$ +CREATE DEFINER=`root`@`localhost` PROCEDURE `sp_CSRTicketDelete`(IN mticket_id BIGINT) +BEGIN + + ## + ## sp_CSRDeleteTicket (mticket_id) + ## + ## Returns (nothing) + + ## Delete ticket + + ## DELETE FROM swganh.csr_comments WHERE ticket_id = mticket_id; + DELETE FROM swganh.csr_tickets WHERE ticket_id = mticket_id; + + ## + ## Exit + +END $$ + +/*!50003 SET SESSION SQL_MODE=@TEMP_SQL_MODE */ $$ + +DELIMITER ; + +/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; +/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; +/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; +/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; +/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; \ No newline at end of file