Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Development

Development::Development Forum for development topics and for those interested in EQEMu development. (Not a support forum)

Reply
 
Thread Tools Display Modes
  #1  
Old 02-15-2007, 10:35 PM
gernblan
Discordant
 
Join Date: Aug 2006
Posts: 394
Default 983 SQL fix!

983 as it is on the site right now does NOT work.

More SQL is needed than what is just in the changelog, because a new column must be added to altadv_vars otherwise if you try to log in you get an endless loop of zone crashing.

Here's the SQL:

alter table altadv_vars add column cost_inc tinyint(4) not null default 0;

This may not be exactly what the developer had in mind (hard to tell since this is undocumented so far what this column is for but MY GUESS IS that it tells the server how much to charge for AA trains above the first point in any particular skill. For example, if the first train is 3 and the cost_inc is also 3, then the next level is 6 AA's to buy. This is JUST A GUESS!)

At any rate, can always delete and recreate the column later if I am wrong about this.. it DOES allow the server to run on 983 though so I'm happy.

Peace.
__________________
--
Keelyeh
Owner, ServerOp and Developer
Jest 4 Server
Linux (Jest3 runs on Fedora, our Dev servers usually run on Ubuntu and/or Gentoo), OC-12 Connection = Hella Fast
Reply With Quote
  #2  
Old 02-16-2007, 02:34 AM
WildcardX
Developer
 
Join Date: Apr 2003
Posts: 589
Default

Did you source in this sql from the "aa_data.sql" file?

Code:
DROP TABLE IF EXISTS altadv_vars;
CREATE TABLE altadv_vars (
  skill_id int(11) NOT NULL default '0',
  name varchar(128) default NULL,
  cost int(11) default NULL,
  max_level int(11) default NULL,
  hotkey_sid int(10) unsigned NOT NULL default '0',
  hotkey_sid2 int(10) unsigned NOT NULL default '0',
  title_sid int(10) unsigned NOT NULL default '0',
  desc_sid int(10) unsigned NOT NULL default '0',
  type tinyint(3) unsigned NOT NULL default '1',
  spellid int(10) unsigned NOT NULL default '0',
  prereq_skill int(10) unsigned NOT NULL default '0',
  prereq_minpoints int(10) unsigned NOT NULL default '0',
  spell_type int(10) unsigned NOT NULL default '0',
  spell_refresh int(10) unsigned NOT NULL default '0',
  classes int(10) unsigned NOT NULL default '65534',
  berserker int(10) unsigned NOT NULL default '0',
  class_type int(10) unsigned NOT NULL default '0',
  cost_inc int(10) unsigned NOT NULL default '0',
  PRIMARY KEY  (skill_id)
) TYPE=MyISAM;
__________________
Read my developer notes at my blog.

Quote:
If it's not on IRC, it ain't l33t!

Last edited by WildcardX; 02-16-2007 at 10:36 AM..
Reply With Quote
  #3  
Old 02-16-2007, 02:39 AM
number6
Sarnak
 
Join Date: Sep 2006
Posts: 62
Default

Maybe I'm being daft but I can't find aa_data.sql anywhere, can anyone help?

Thanks

Paul.
Reply With Quote
  #4  
Old 02-16-2007, 02:42 AM
WildcardX
Developer
 
Join Date: Apr 2003
Posts: 589
Default

Download from here. I'll remove this from my website in 72 hours.

http://www.queluum.net/AA_Data.sql
__________________
Read my developer notes at my blog.

Quote:
If it's not on IRC, it ain't l33t!
Reply With Quote
  #5  
Old 02-16-2007, 02:57 AM
number6
Sarnak
 
Join Date: Sep 2006
Posts: 62
Default

Thank you Mr WildcardX

Paul.
Reply With Quote
  #6  
Old 02-16-2007, 06:26 AM
gernblan
Discordant
 
Join Date: Aug 2006
Posts: 394
Default

Thanks! Was tough to source in something I couldn't find.

Very much appreciated, thank you!

Oh and as these get fixed again, is it possible they can put it with the source or something? I mean, the SQL?

This SQL will cause quite a loss of AA abilities in my players (well, 983 already did as a lot of skills they had are now turned off, I imagine, while they work on the rest of them).

What I am asking is, as they get fixed, could they please supply the updated records to us?
__________________
--
Keelyeh
Owner, ServerOp and Developer
Jest 4 Server
Linux (Jest3 runs on Fedora, our Dev servers usually run on Ubuntu and/or Gentoo), OC-12 Connection = Hella Fast

Last edited by gernblan; 02-16-2007 at 02:45 PM..
Reply With Quote
  #7  
Old 02-16-2007, 06:43 AM
KLS
Administrator
 
Join Date: Sep 2006
Posts: 1,348
Default

Yeah the CVS is a little messed right now, forgot people without direct access wont get it for a bit doh.
Reply With Quote
  #8  
Old 02-16-2007, 06:46 AM
gernblan
Discordant
 
Join Date: Aug 2006
Posts: 394
Default

Quote:
Originally Posted by KLS
Yeah the CVS is a little messed right now, forgot people without direct access wont get it for a bit doh.
Yes, thank you KLS and WildcardX... GREAT WORK!

See my last post, I'm asking if you could toss that SQL in with the source from now on as things change, please?

So that we get it on time?
__________________
--
Keelyeh
Owner, ServerOp and Developer
Jest 4 Server
Linux (Jest3 runs on Fedora, our Dev servers usually run on Ubuntu and/or Gentoo), OC-12 Connection = Hella Fast
Reply With Quote
  #9  
Old 02-16-2007, 06:47 AM
gernblan
Discordant
 
Join Date: Aug 2006
Posts: 394
Default

Oh and was I right about the cost_inc purpose?
__________________
--
Keelyeh
Owner, ServerOp and Developer
Jest 4 Server
Linux (Jest3 runs on Fedora, our Dev servers usually run on Ubuntu and/or Gentoo), OC-12 Connection = Hella Fast
Reply With Quote
  #10  
Old 02-16-2007, 06:52 AM
KLS
Administrator
 
Join Date: Sep 2006
Posts: 1,348
Default

Yes, you were. Cost = Initial level + (Cost Inc * Subsequent levels)
Reply With Quote
  #11  
Old 02-16-2007, 07:13 AM
gernblan
Discordant
 
Join Date: Aug 2006
Posts: 394
Default

Oh and looking at this SQL you gave us WildcardX, is it intended that it will pretty much wipe out most of the AA tiers if I use this?

I can assume that if I use this, as the AAs are fixed page by page again, the SQL to make them work will be given to us again as they are fixed? I'm really scared to wipe them out and replace what I have in the db already, I'm going to have a lot of upset players and I need to be able to explain this to them.

Thank you.
__________________
--
Keelyeh
Owner, ServerOp and Developer
Jest 4 Server
Linux (Jest3 runs on Fedora, our Dev servers usually run on Ubuntu and/or Gentoo), OC-12 Connection = Hella Fast

Last edited by gernblan; 02-16-2007 at 03:35 PM..
Reply With Quote
  #12  
Old 02-16-2007, 10:35 AM
KLS
Administrator
 
Join Date: Sep 2006
Posts: 1,348
Default

That will wipe it out, if you know how you can manually add in the new AA stuff and keep your old. The SQL should update as more AAs are implemented.
Reply With Quote
  #13  
Old 02-16-2007, 10:43 AM
gernblan
Discordant
 
Join Date: Aug 2006
Posts: 394
Default

Thank you.

I will do that.
__________________
--
Keelyeh
Owner, ServerOp and Developer
Jest 4 Server
Linux (Jest3 runs on Fedora, our Dev servers usually run on Ubuntu and/or Gentoo), OC-12 Connection = Hella Fast
Reply With Quote
  #14  
Old 02-16-2007, 11:07 AM
Angelox
AX Classic Developer
 
Join Date: May 2006
Location: filler
Posts: 2,049
Default

Heres a new problem for me , I've had for the past 2-3 versions; if I set a static zone, it won't log in, just hangs and times out, but If I leave them all dynamic, no problem.
Reply With Quote
  #15  
Old 02-16-2007, 11:59 AM
KLS
Administrator
 
Join Date: Sep 2006
Posts: 1,348
Default

I was told about that today.. but I've been unable to reproduce it, static zones are working fine for me =/
Reply With Quote
Reply


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 01:34 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