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-10-2005, 10:12 PM
Sakrateri's Avatar
Sakrateri
Dragon
 
Join Date: Mar 2004
Location: England
Posts: 776
Default

I saw that last night and using a doors.cpp from an older source that they worked on I tried to replicate it to this one , It did not make the zone crash and compiled fine but did not do anything and then I noticed in the zone folder there is a new file called zoning.cpp that does not appear in any other version and looking through there I think we have our problem , As I am by no means a coder and only a couple of months of self taught compiling I have no idea what to do to fix it , But I will keep trying ! and thanks for looking into it Suede.
Also Cavedude said right after he said " DO NOT QUOTE ME ON THIS " so please dont but he thought they may have changed movepc from using zone names to using zoneIDs ? I have no idea what to do at that point but mabey you may be able to use that . but still looking at that zoning.cpp it sure has an awful lot of SendZoneCancels in there ?
__________________
KhepriGames

Game Gallery

My Forums


Last edited by Sakrateri; 06-11-2005 at 06:17 AM..
Reply With Quote
  #2  
Old 06-11-2005, 12:11 AM
SuedeWorthey
Sarnak
 
Join Date: Jan 2005
Posts: 64
Default MovePC

I did notice that there are 3 implementations of MovePC. One Is by ID, one is by zone name and the other has no space for zone, so I assume it's the current zone. I am going to edit the code and try a few things to see what I can get done.

Off-Topic:
I noticed Fathernitwit was running a 0.6.1 DR2 server... Is this source currently available on CVS???
Thanks,

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

Cofruben has a compiled version of DR2 in the Development section , I tried it lastnight and couldnt get world to boot , it would only flash very fast and trying to see what it was saying it looked like it was just a bunch of opcodes , as far as source im not sure. Thanks for working on this door thing its really stopping me from progressing here. I wish I could be of some use and knew some more but I will keep messing with the code too on the hope I will accidently fix something lol , Take care
__________________
KhepriGames

Game Gallery

My Forums

Reply With Quote
  #4  
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
  #5  
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
  #6  
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
  #7  
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
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 08:51 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 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3