I mean, I have something similar written for custom servers to create char_create_combinations and stuff, but as far as start_zones, you can just empty that entire table and it will default to the rules.
Just to show what I'm talking about as far as char_create_combinations, this will create ALL class/race combinations (except like Monk Ogres or whatever with fucky textures) with Deity of Agnostic:
Code:
sub Write {
open my $file, ">char_create_combinations.sql";
my %h = (1 => [1..16],
2 => [1..6, 8..10, 15..16],
3 => [1..6, 8..16],
4 => [1..6, 8..10, 15..16],
5 => [1..6, 8..16],
6 => [1..6, 8..16],
7 => [1..6, 8..10, 15..16],
8 => [1..6, 8..10, 15..16],
9 => [1..6, 8..10, 15..16],
10 => [1..6, 8..10, 15..16],
11 => [1..6, 8..10, 15..16],
12 => [1..6, 8..16],
128 => [1..16],
130 => [1..16],
330 => [1..6, 8..16],
522 => [1..16]);
say $file "INSERT INTO `char_create_combinations` VALUES";
foreach my $race (sort {$a <=> $b} keys %h) {
foreach my $class (@{$h{$race}}) {
say $file "('1', '$race', '$class', '396', '344', '0'),";
}
}
close $file;
}
Write();