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 06-11-2005, 01:05 AM
SuedeWorthey
Sarnak
 
Join Date: Jan 2005
Posts: 64
Default I found the error!

I wanna try this Junior Dev Stuff...
Alright, there is a problem in zoning.cpp.
Looks like a copy, paste error.

Original Code: zoning.cpp line 318
Code:
void Client::MovePC(const char* zonename, float x, float y, float z, int8 ignorerestrictions, bool summoned, ZoneMode zm) {
	MovePC(zone->GetZoneID(), x, y, z, ignorerestrictions, summoned, zm);
}
Changed to:
Code:
void Client::MovePC(const char* zonename, float x, float y, float z, int8 ignorerestrictions, bool summoned, ZoneMode zm) {
	//MovePC(zone->GetZoneID(), x, y, z, ignorerestrictions, summoned, zm);
	MovePC(database.GetZoneID(zonename), x, y, z, ignorerestrictions, summoned, zm);
}
I will update my links on my website with the new code in approximately 10 minutes... I will also test the code.

Edit 1:
Upload complete. Testing begins...
Edit 2:
Code works great, just need to update DB for proper coords. I zoned right inside the qeynos stone when I zoned.

-Suede-

Last edited by SuedeWorthey; 06-11-2005 at 09:17 AM..
Reply With Quote
  #2  
Old 06-11-2005, 02:34 AM
Sakrateri's Avatar
Sakrateri
Dragon
 
Join Date: Mar 2004
Location: England
Posts: 776
Default

Woot !! Your the bomb diggity !!! Thanks bud !

Recompiled with that fix and YES it does work !

You here that Bel ?? WOOT I SAY !
__________________
KhepriGames

Game Gallery

My Forums


Last edited by Sakrateri; 06-11-2005 at 11:46 AM..
Reply With Quote
  #3  
Old 06-11-2005, 04:32 AM
Sakrateri's Avatar
Sakrateri
Dragon
 
Join Date: Mar 2004
Location: England
Posts: 776
Default

Man fix one thing and five more break lol, well the portals are workingnow but I am getting zones crashing with something coming up undefined pet structure? wtf? didnt even do anything with pets lol , any ideas on that one?
__________________
KhepriGames

Game Gallery

My Forums

Reply With Quote
  #4  
Old 06-11-2005, 04:41 AM
SuedeWorthey
Sarnak
 
Join Date: Jan 2005
Posts: 64
Default Yeah

I don't know exactly why it says that because the pet structure is defined in the source file, but I am trying to work that one out now... I had that problem before the last fix, but it didn't just jump out. Anyway, I'll post as I fix...

-Suede-
Reply With Quote
  #5  
Old 06-11-2005, 04:48 AM
Sakrateri's Avatar
Sakrateri
Dragon
 
Join Date: Mar 2004
Location: England
Posts: 776
Default

Ok thanks again , Looks to me its all linked together right below that fix because they made it so pets zone with you , guess thats why it has to effect pets to
__________________
KhepriGames

Game Gallery

My Forums


Last edited by Sakrateri; 06-11-2005 at 12:56 PM..
Reply With Quote
  #6  
Old 06-11-2005, 06:22 AM
SuedeWorthey
Sarnak
 
Join Date: Jan 2005
Posts: 64
Default I think I fixed the pets thing...

I think I fixed the pets, but I won't know until I can do some more testing. I will be using cavedude's db for the testing, beause it is the only one I have experienced the problem on so far...

-Suede-
Reply With Quote
  #7  
Old 06-11-2005, 06:26 AM
Sakrateri's Avatar
Sakrateri
Dragon
 
Join Date: Mar 2004
Location: England
Posts: 776
Default

Ok , thanks , thats the database I am using atm so cool .
__________________
KhepriGames

Game Gallery

My Forums

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 04:05 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