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

Development::Bug Reports Post detailed bug reports and what you would like to see next in the emu here.

Reply
 
Thread Tools Display Modes
  #1  
Old 01-15-2007, 05:20 AM
WildcardX
Developer
 
Join Date: Apr 2003
Posts: 589
Default

John, the server's query regarding the source code i wrote to allow or not allow combat in specified zones looks like the following:

Code:
if (RunQuery(query, MakeAnyLenString(&query, "SELECT ztype,"
		"fog_red,fog_green,fog_blue,fog_minclip,fog_maxclip,"
		"fog_red2,fog_green2,fog_blue2,fog_minclip2,fog_maxclip2,"
		"fog_red3,fog_green3,fog_blue3,fog_minclip3,fog_maxclip3,"
		"fog_red4,fog_green4,fog_blue4,fog_minclip4,fog_maxclip4,"
		"sky,zone_exp_multiplier,safe_x,safe_y,safe_z,underworld,"
		"minclip,maxclip,time_type,canbind,cancombat"
		" from zone where zoneidnumber=%i",zoneid), errbuf, &result)) {
		safe_delete_array(query);
As you can see, if your table does not have a "cancombat" column then this will give you an error.

What does this have to do with Angelox's reported problem of getting stuck in geography or walking off land in the game? Nothing. Neither does the source code I wrote for not allowing it to rain in a zone that has not rain (a dungeon, etc). The weather code simply changes the weather and has no factor in moving a player. Neither does the code that decides if you can attack something in a zone.

I'm more interested in hearing more details such as which client was used or can this be re-produced on another server, like PEQ. I think that would be more germain.
__________________
Read my developer notes at my blog.

Quote:
If it's not on IRC, it ain't l33t!
Reply With Quote
  #2  
Old 01-15-2007, 05:49 AM
John Adams
Demi-God
 
Join Date: Jul 2006
Posts: 1,552
Default

Right. That's what I meant... that change, or additional field, should not be causing any problems.
Reply With Quote
  #3  
Old 01-15-2007, 05:58 AM
WildcardX
Developer
 
Join Date: Apr 2003
Posts: 589
Default

None what so ever.. 100% unrelated. It would be like suggesting the implementation of player sacrifice spells was causing Angelox to get trapped in zone geography.
__________________
Read my developer notes at my blog.

Quote:
If it's not on IRC, it ain't l33t!
Reply With Quote
  #4  
Old 01-15-2007, 07:17 AM
Angelox
AX Classic Developer
 
Join Date: May 2006
Location: filler
Posts: 2,049
Default

Well, this is embarassing but serves me right for not reading the log

Code:
Required SQL:
ALTER TABLE `zone` ADD `cancombat` tinyint(4) NOT NULL default '1';
UPDATE `zone` SET `cancombat` = 0 WHERE short_name = 'nexus';
UPDATE `zone` SET `cancombat` = 0 WHERE short_name = 'poknowledge';
UPDATE `zone` SET `cancombat` = 0 WHERE short_name = 'potranquility';
That solved the problem - I'm sorry to trouble you guys with this problem. Next time I will hopefully try harder before running my mouth.
Reply With Quote
  #5  
Old 01-15-2007, 07:18 AM
KLS
Administrator
 
Join Date: Sep 2006
Posts: 1,348
Default

While the cfg failing to load correctly will certainly cause many problems. It would be pretty obvious as the zone would spit out giant error messages. I'm really baffled as to what could be causing this.

edit: pssh nice to see it all worked out.
Reply With Quote
Reply

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 06:16 PM.


 

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 - 2026, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3