Getting boats working...
I haven't seen Wumpas online lately and I know he was interested in this. I am going to be working on getting boats working on the Scorpious2k Server as soon as we switch over to 5.3DR2 and was wondering if anyone was interested in helping out...
|
Well I know you can get boats working on grids and i've been able to ride on the boats but I dont see how you could get the boats to zone into another zone.. It just doesn't seem possible.
But one idea I had was make the boats go to the zoneline and maybe stop so you can just walk into the zoneline, then have another boat stopped on the other side for you to zone in on and wait for another boat to come pick you up.. Its sloppy but its all I could think of.. Or just make the boats zone from lets say Butcherblock to East freeport, just skip the OOT part :) |
Quote:
Quote:
|
I'll help if ya like.. Although, with the ships 'turning' each time it hits a waypoint pause.. this might be a bit trickier than you'd like.
Let me know what I can help with... You can also find me in #eqemu and #npcmovdb on irc. |
Quote:
|
Quote:
|
Quote:
Once we have those, we can tweek them with addition waypoints to smooth out movement. Then we will need to set up the stationary zone-in ships along the moving ship's path and put a waypoint there for the stop. Finally there is the zone point out to the next zone. I had that hard coded into the program. Unless there is a better way to do it, I'll have to do that again. Alternately, we could do it backwards... do the zonepoints in the program and then build the grid moving towards that point. What do you think? |
I probably shouldn't mention this here....
but I have also figured out how to make the boats work eqlive style... no transfers from boats, no shuttle/cruiser setup... just get on the boat at the docks at one location, ride, zone, ride, zone, ride and get off at the docks at the destination. This is a much more complicated fix, involving DB, world server and zone server changes. It also requires a little bit of strange thinking (my specialty). In effect, the ships become moving zones. Anyway, this would probably best be done working with a dev who has a server up. The other way that I have described will be easy, will work, can be understood by non-techies and won't break anything... |
ill help Scorpious
Id be glad to help scorpious I even started on it myself a while back witrh wander type 4 and my boat went from Freeport side of OOT to BB side following the correct eqlive path and stoping at the docks of the sister erollisie island :D The problem came when the boat paused at a waypoint it would turn into the dock kind of strangely kroeg pointed out already.
I would love to help here and will start spending some time in #npcmovedb :D P.S. the trikest part by far in pathing the boats for me so far is getting them to line up with the dock just right. If anyone has loc's for each dock that ensure a "good fit" please let us know : ) P.S> Scorp I am very intrested in knowing how to get boats working eqlive "like" and also your wander type 4 fix for 4X works for 5X as well ive been using it quite sucessfully |
I'll help out if need be...
Tell me when, where, and what ya need done... |
Re: ill help Scorpious
Quote:
Quote:
Quote:
Quote:
You can go to the edge of the docks, get the loc. If the X/Y coord (whichever is affected by your forward/backward movement at this dock) goes up when you move foreward add 64 to the value at the edge of the docks, otherwise subtract 64. Quote:
As for making the boats work like live. Its a bit more complicated. Will require changes to world.exe & zone.exe and a new way of thinking of boats and handling them. I have a new quest command I am working on that will be a precursor to it The "signal" command. Among other things, this command will make it possible to script a conversation between NPCs and eventually make the boats work. Keyword: eventually. So for now, I think the cruiser/shuttle boat method should be done. The paths from it could probably be used with mods for the eqlive one later. |
Quote:
Quote:
This is for everyone who wants to help: Pick a boat in a zone and create a grid for it so that it moves along the correct path. Post which one you want to do (Wumpas says he already has oot taken care of) and go ahead and start. If you don't already know, wander type 4 is a single run wander. It goes from wp 1 to the last wp and then depops. This will be the one you want to use in most cases. When done, post the grid and tell which boat its for. We will need to match it to the correct NPC ID for TCS and Myra databases and any others that may be out there. Then we can test them on the Scorpious2k server and any other server that wants to take part. Any server op that wants to test, post here. There are 2 ways we can handle the zoning at the end of the path. We can code it into the program, or come up with a new quest command like "zonenear" that zones all PCs within a certain range of the NPC (boat). To make this work, quests will be required. In butcher and timerous there are more than 1 boat in close proximity. The only way I see to make those run smoothly and not run into each other is to have a quest file for the main one (the one spawned when the zone is booted) and when it reaches a certain point, it spawns the second, which goes away before the first reappears (using respawn time on the first). This means we will probably need two versions of these quest files: one for perl and one for old style. So, make your suggestions, lets kick the ideas around and get some grids to play with. When we get it done, we can set it up as a downloadable addon for any DB out there.[/b] |
I guess i can grab the board from oasis to tim. deep and maybe the boat from tim. deep to overthere.
|
woot
sounds great scorp
The problem with the boats is code related as I did the next waypoint after the dock strait out ahead and this i have triple checked. The tcs guys as well as I have noticed the effect with a paused npc. I have 1 boat done in oot as i said before now im making the one to go the otherway. Question which boat went what direction so I get the names right Stormbreaker, Sirens bane Thank you for the intrest scorp Id really love to see this working :D |
Quote:
|
Re: woot
Quote:
Quote:
Quote:
Quote:
|
krich is on it :)
I just talked to krich today and he is still fighting the heading bug for us :D He hasn't found the cause yet but I have confidence he will be able to in time until then we should just continue pathing the boats and ignor the fact that they turn to a strange heading whenever they pause.
He also sais this bug could be responsible for causing mobs to spin funny in combat once in a while. sugestion to everyone setting up boats get the static boats on both sides of the zones set up before pathing a crusing boat it will save you a headach trying to set up a static boat to match a boat already on a path. :x Im going to have to whipe my last few WP's and redo them to dock with my other static boat. as far as names go on the boats im just gona set them and if there wrong someone can change them : ) |
oot complete
Scorpious I have OOT boats done you will need to change grid number and npc id's and such to match with your database most likely but the grids i think are pretty good. I am fine tuning dock distances now.
i havnt touched freeport or BB yet. EDIT -- Since the boats make that wierd turn on pausing i cant finetune the dock distances so OOT is done as far as i can make it until the code bug is uncoverd. |
Re: oot complete
Quote:
Quote:
I once joked about making a ship called the titanic, and having the Z coord go lower with each waypoint until it sank.... :-) Quote:
|
finishing
Ok ill get BB and Freeport done today as well and fine tune OOT a little more as well.
Also Im going to experiment with speed as I think 0.75 is much too slow for these boats though i could be wrong. as it is it takes about 30+ miniutes to cross the zone each way. hmm i guess the heading bug is there pause or no pause it just happens very fast without a pause. |
Re: finishing
Quote:
Quote:
|
ack
Scorp on further investigation the heading bug is there no matter if you pause or not :( I really notice it at docks and such could it have somthing to do with proximity to geometry?? or mabe it suffers this effect at all waypoints.
Krich in IRC > "I think the problem is likely a calculation issue or a conversion from int to float issue or a packing the bit field issue." Hope that helps scorp :) Edit OOT is very copleted now all docks and static ships link together nicely (right before the ship makes a funny turn) ships speeds changed to 2 now im working on FP and BB |
Just a note, I have seen NUMEROUS casting issues in the past.. You might want to put some cout statements to sit the heading/speed/etc information out during its path to find out where it's getting screwed up at.
|
speed
ship speed of 2 seems a little fast actuly im going to try 1.5 and let you all know how it works also I placed this on line 752 of mob.cpp
cout<<delta_x<<"|"<<delta_y<& lt;"|"<<delta_z<<"|"<<delta_head ing<<"\n"; Was this the corect area it spits out a ton of info when i run a zone but I have no idea what to look for for a problem? Is there any other areas i should ahve a statement like that to compare with? thx for the help. and BB is almost done puttin in the grid for the boat now :D Hmm i could be reading this wrong or mabe im not looking at the right values but it seems there is no delta_heading change when the boat does its wierd turn it report delta_heading as 0? note: could be because whare i placed the cout dosn't seem to be refreshing very quickly |
Quote:
|
Just had a thought... since we need names for the shuttles, why not name them after devs?
The Trumpcard pulls along side the Stormbreaker and stops..... |
hahaha
Right now i have the shuttles called "Wielle" and "Legacy" but changing that will be easy. :D
Ill do it hahaha (for those that don't know freeport was once called "Wielle" also "The Landing" -- Got to love history :D ) The "Trumpcard" and "Merth" will be the shuttles in oot lol Merth ill throw some wood elf worshipers on there for you :lol: No Trump your married hahaha |
My wife said elf women dont count !
LOL |
hahaha
hahaha ok ill throw 2 elvs on each boat :wink:
A Trumpcard Groupie says ahoy :D |
WOOHOO!
Too bad she won't agree to a barbarian woman, I dig tall chicks that could beat me in a fair fight.... |
*The Newbieslayer is ready take you where you belong*
:twisted: |
ahhhhh
EDIT -- removed lol i was pleading for matt not to junkyard the thread then he explained what he really ment by his post I just misunderstood LOL
|
HUH???? No no no no
I was going along with it...think of a boat named Newbieslayer.........now look at my post again and think of what happens when it stops and you get on it......... |
AHHHH LOL
Me understand now hahahahahaha thats great we could have one named after you in eruds crossing mabe theres lots of boats :D sorrry for the misunderstanding lol |
Rember when Scorps gets made it has to be in a zone where you can add a lot of Scorpions as worshipers :lol:
|
hmmm
I wonder now im going to go through the ocean zones and try spawning scorpions after I finish getting my dock distance in BB right its kickin my butt
also Im setting a deadline for myself OOT FP and BB will be complete by monday evening -- gona take a while to add the worshipers :wink: Scorpious will no dout have to change my id numbers as I started the project with 5.2 and my database has gone through lots of experimentation Speaking of scorpious how am i going to get my database to you? IRC??? and how is everyone elses progress going??? I need to know what to start on next :) P.S. ill do any other boats with the new database and source |
Quote:
I was going to suggest naming them after support helpers too, but I imagine the SS Matmeck would be KoS to newbies.... |
Quote:
I'm going to adopt you and Myra... |
Re: hmmm
Quote:
Quote:
|
Quote:
|
All times are GMT -4. The time now is 07:48 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.