more on swim under water

A place where you can talk about anything Dawn of Light or DAOC related

Moderators: Project Admin, Support Team

more on swim under water

Postby MastaMappa » Thu Jun 24, 2004 1:11 am

This post leads me to believe that there is definately a packet sent to allow the client to go under water, but now I think it is sent on zone in, rather than your actual attempt to dive. Smallhorse, what ya think?

From the Herald:

I don't know why this one amuses me, but it does:

TRIALS OF ATLANTIS WORLD NOTES

- All of the monsters in Hibernia's version of Oceanus Boreal will now spawn correctly underwater (once killed). You will need to kill the floating version to spawn the underwater version. Players will also be able to submerge again.
User avatar
MastaMappa
DOL Acolyte
 
Posts: 121
Joined: Sat Nov 22, 2003 2:52 pm
Website: http://home.comcast.net/~mastamappa/

Postby Smallhorse » Thu Jun 24, 2004 6:21 am

Yes this is what I thought ... the diving is allowed/prevented by a packet or some bits in a packet. However this packet is not sent when you dive down ... it must be sent at some other time indeed ...
SmallHorse
Project Ex-Administrator with too little time to be of much use currently :)
Smallhorse
Inactive Staff Member
 
Posts: 2919
Joined: Sun Jun 22, 2003 5:54 pm
ICQ: 11718314

Postby skal » Thu Jun 24, 2004 3:21 pm

It's sent in the 0x20 packet (former 0x88, it's the SendPlayerPositionAndObjectID in DoL):

last 2 bytes are set to 0x00 in DoL, they should be:

first one: 0x80 if diving allowed, 0x00 if not allowed
second (and last) one:0x08 <- always set to that, not sure if it's used

---

when player is diving, bit 10 of the word after ID in packet 0xa9 (former 0x01) is set (same WORD as the one giving speed and strafing info).
Last edited by skal on Thu Jun 24, 2004 3:26 pm, edited 1 time in total.
skal
DOL Apprentice
 
Posts: 48
Joined: Mon Jan 12, 2004 10:30 am

Postby Smallhorse » Fri Jun 25, 2004 5:42 am

thanks skal! ...
SmallHorse
Project Ex-Administrator with too little time to be of much use currently :)
Smallhorse
Inactive Staff Member
 
Posts: 2919
Joined: Sun Jun 22, 2003 5:54 pm
ICQ: 11718314

Postby zjovaz » Fri Jun 25, 2004 11:14 pm

Yes it is the first bit of the byte that is next to the last byte that set the diving.

You should also include the packet 0xF3 (It sends a window with a proceeding bar).

I have not figured what packet the client sends to the server (I have not tried to find it till now ).:D
zjovaz
DOL Acolyte
 
Posts: 106
Joined: Sun Sep 07, 2003 11:00 am

Postby MastaMappa » Fri Jul 02, 2004 2:16 pm

ok, so "we" got the info... has this made it into the code yet?
User avatar
MastaMappa
DOL Acolyte
 
Posts: 121
Joined: Sat Nov 22, 2003 2:52 pm
Website: http://home.comcast.net/~mastamappa/

Postby Smallhorse » Fri Jul 02, 2004 5:18 pm

Nope it has not, but should come soon if some of us can divide some time into this ...
SmallHorse
Project Ex-Administrator with too little time to be of much use currently :)
Smallhorse
Inactive Staff Member
 
Posts: 2919
Joined: Sun Jun 22, 2003 5:54 pm
ICQ: 11718314

Postby Akira » Fri Jul 02, 2004 7:54 pm

Diving should be set to zones. So in zones.ini there should be a property like swimming=1. If this property is not set it is 0 on default. This should be zone related also, not region.

Just a hint, I think you were going to do this anyhow, but keep in mind that you can onyl set it on new frontier zones and TOA zones. I dont know what will happen if you set it on other zones since there is no artwork for underwater there. Possably it will work and jsut show you swimming below the water but there will be no graphics or anything for the ground or anything I believe
Dataloggin Team Administrator
Email: akira@dataloggin.com or akira@onlinegamingradio.com
User avatar
Akira
Inactive Staff Member
 
Posts: 661
Joined: Mon Sep 29, 2003 12:11 am
Website: http://www.dataloggin.com

Postby Smallhorse » Sat Jul 03, 2004 6:32 am

Can anyone give me a list of diving-enabled zones?
SmallHorse
Project Ex-Administrator with too little time to be of much use currently :)
Smallhorse
Inactive Staff Member
 
Posts: 2919
Joined: Sun Jun 22, 2003 5:54 pm
ICQ: 11718314

Postby Zoni » Sat Jul 03, 2004 12:53 pm

its on all toa zones
Zoni
DOL Acolyte
 
Posts: 112
Joined: Fri May 14, 2004 12:41 pm

Postby Smallhorse » Sat Jul 03, 2004 1:07 pm

Oki doki ... let's see if we can't manage this :)
SmallHorse
Project Ex-Administrator with too little time to be of much use currently :)
Smallhorse
Inactive Staff Member
 
Posts: 2919
Joined: Sun Jun 22, 2003 5:54 pm
ICQ: 11718314

Postby Akira » Sat Jul 03, 2004 8:27 pm

Just a hint, I think you were going to do this anyhow, but keep in mind that you can onyl set it on new frontier zones and TOA zones.


:-p
Dataloggin Team Administrator
Email: akira@dataloggin.com or akira@onlinegamingradio.com
User avatar
Akira
Inactive Staff Member
 
Posts: 661
Joined: Mon Sep 29, 2003 12:11 am
Website: http://www.dataloggin.com

Postby MastaMappa » Mon Jul 05, 2004 12:52 am

Diving should be set to zones. So in zones.ini there should be a property like swimming=1. If this property is not set it is 0 on default. This should be zone related also, not region.


I disagree with Akria, this should be on region NOT zone, you dont want problems with static state variables when crossing zone boundaries under water.

you can use the current flags expansion=2 and frontiers=1 (as found in zones.mpk)
User avatar
MastaMappa
DOL Acolyte
 
Posts: 121
Joined: Sat Nov 22, 2003 2:52 pm
Website: http://home.comcast.net/~mastamappa/

Postby LightBringer » Mon Jul 05, 2004 8:11 am

Some player on Promise (1.70 plus frontiers) look like swimming into the air, when they press dive key. (and other strange grafical problem)
LightBringer
DOL Experienced
 
Posts: 192
Joined: Wed Dec 03, 2003 5:13 pm

Postby skal » Mon Jul 05, 2004 8:18 am

Diving works everywhere (even standard zones have underwater graphics, quite bare though), but is only enabled in ToA zones, cause the initial SI/standard clients were not able to dive (not coded in client, think they added it later in SI one but not sure). i did my tests at mag mell (connacht/standard hib) and that worked fine. one thing that need a bit of testing though is volcanus zone (muspellheim too), as water there is lava, might not be a good idea to dive into lava :p
skal
DOL Apprentice
 
Posts: 48
Joined: Mon Jan 12, 2004 10:30 am


Return to “%s” General

Who is online

Users browsing this forum: No registered users and 0 guests