Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::General Support

Support::General Support Post all topics here having to do with errors while trying to connect to an EQEMu server but not about the setup/running of the Server itself.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #7  
Old 07-31-2015, 09:45 PM
Kingly_Krab
Administrator
 
Join Date: May 2013
Location: United States
Posts: 1,603
Default

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();

Last edited by Kingly_Krab; 07-31-2015 at 09:50 PM..
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 02:55 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3