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 08-12-2009, 11:06 AM
krystlih
Fire Beetle
 
Join Date: Jul 2004
Location: Florida
Posts: 16
Default zonechange opcodes (zonelines)

Hey Guys,

I've been going through the code for my own server and I am getting into the zone changing code and have noticed something.

When you cross a zoneline and the client is expecting a packet back for how to handle the zone it seems like the only two responses are:

A) sucessfully load the zone

or

B) send a zoning error to the client

The way the client handles the zoning error is to send the user to a safe point.

I'm wondering is there any other responses that we can send the client besides "zoning error" which causes the client to warp to the safe point?

The effect i'm trying to achieve is like a zoneline "bounce" that when you cross the zoneline it bounces you back to a step prior unless certain conditioins exist. I'm finding it very difficult the way the client is handling zone change packets.

Any ideas?
__________________
Flame of Chaos
Reply With Quote
  #2  
Old 08-12-2009, 08:07 PM
steve
Discordant
 
Join Date: Jan 2002
Posts: 305
Default

If you can't find a way to do what you want, you could always use an invisible NPC that uses a proximity to port people back. Though, they could just lag and get past the NPC and hit the zoneline...

You could always remove the zonepoint and add an object they have to click to get into the next zone that checks for a character flag.
Reply With Quote
  #3  
Old 08-12-2009, 08:47 PM
Taurinus
Hill Giant
 
Join Date: Jul 2009
Location: Southern United States
Posts: 107
Default

I was going to suggest the same. This is definitely something the perl system was built for.
Reply With Quote
  #4  
Old 08-13-2009, 02:33 PM
krystlih
Fire Beetle
 
Join Date: Jul 2004
Location: Florida
Posts: 16
Default

Yeah I have those two options as my fallback plan at this point, I'm testing the invisible NPC now, but you're right lag might provide some way to get around it, the clicky-item might be the best way for sure.
__________________
Flame of Chaos
Reply With Quote
  #5  
Old 08-27-2009, 03:21 PM
krystlih
Fire Beetle
 
Join Date: Jul 2004
Location: Florida
Posts: 16
Default

FYI, I was able to resolve this, I tested out sending a zone error a -8 and the client just bounces back, this solves the issue of making NPCs or altering zone points.
__________________
Flame of Chaos
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 05:23 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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3