PenUltima Online Forum Index Official Core: 096.7
Official Core: 097 2008-02-26
Donate towards the POL web hosting bill!
 POL Home   FAQ   Search    Memberlist   Usergroups    Register    Profile   Log in to check your private messages   Log in
Rideable creatures are disappearing

 
Post new topic   Reply to topic    PenUltima Online Forum Index -> Bug Reports 096
Display posts from previous:   

Author Message
CubeBox



Joined: 14 Jul 2006
Posts: 4

PostPosted: Fri Jul 14, 2006 4:23 am    Post subject: Rideable creatures are disappearing Reply with quote

Theres something very fishy going on.
Example: Player1 rides with a giant beetle and then logs out. After hours, when he logs back, the giant beetle is gone. This doesn't happen with normal horses, only with these "rare" creatures.

Also, when the server crashes and goes up again happens something weird. All the custom creatures have warped way back in history, though everything else continues from the last worldsave.

Stable master also bugs... Player put a drake in stable yesterday. Now the stablemaster tells that the creature cannot be found, because it has been too long in stable.

Known bug? Is there a fix for this?

Author Message
CWO



Joined: 04 Feb 2006
Posts: 697
Location: Chicago, IL USA

PostPosted: Sun Jul 23, 2006 12:38 am    Post subject: Reply with quote

For the stablemaster, you'll have to find out in your script what makes it say that and go through the stable code to see why that condition was met.

As for people's mounts disappearing, I'm still trying to figure that one out myself. Sometimes they end up as ship pieces too.

Author Message
OldnGrey



Joined: 04 Feb 2006
Posts: 522

PostPosted: Sun Jul 23, 2006 1:56 am    Post subject: Reply with quote

Yeah, I get the mount showing up in the backpack as a non-displayable ship part. It happens once in a blue moon or even less, but never been able to see why. Bugs that you can't reproduce on demand are always the hardest.

It wouldn't surprise me if it happened at the same time as a .dmp file being generated - ie critical scripts dont finish.


However, that doesn't sound like CubeBox's problem. If horses are okay then there was something in the scripts that didn't get changed when AoS/LBR rideable stuff was added to the scripts.

Author Message
MuadDib
POL Developer


Joined: 13 Feb 2006
Posts: 830
Location: Indiana, USA

PostPosted: Sun Jul 23, 2006 2:15 am    Post subject: Reply with quote

This is a script problem, not core.

Now, I do know this, from Icronticshard, however. It's a problem with the Mount section in the tamed.src. I say this because, while they are in the "horse barn", they go untamed, and another problem is, if they are an aggressive creature, they kill other mounts and so on, in the horse barn. I've seen it happen many times on several shards.

So the issue is handling in tamed.src, especially for mount section, and handling while mounted. Also for handling when the rider logs out (also make sure it checks to see if they even logged in, for server loads and such!!!).

Author Message
CWO



Joined: 04 Feb 2006
Posts: 697
Location: Chicago, IL USA

PostPosted: Sun Jul 23, 2006 2:16 am    Post subject: Reply with quote

well I get a lot of problems with mounts disappearing even non-LBR/AOS. They worked fine in 095 but as soon as we started using 096, that problem appeared.

Author Message
MuadDib
POL Developer


Joined: 13 Feb 2006
Posts: 830
Location: Indiana, USA

PostPosted: Sun Jul 23, 2006 2:50 am    Post subject: Reply with quote

Hrm.

Interesting.

My question is, how are YOU handling them CWO? I know folko and I had discussed in the past, about destroying pets when mounted, and just storing their info on them. I had done that on Lost Souls and it worked very nice (even used a controlscript to continue the "happiness" rating crap). But dunno if folko added it to Crystalgate.

Author Message
Yukiko



Joined: 02 Feb 2006
Posts: 1094
Location: Southern Central USA

PostPosted: Sun Jul 23, 2006 3:46 pm    Post subject: Reply with quote

The way Drocket handled mounts in World of Dreams is he created an invisible item in the backpack of the player when the player mounted a creature. On this item he placed CProps with all the vital info for the creature. I suppose the CProps could just as easily be placed on the player. I like that method because it avoids the untamed nasty in the horse barn issue. Also I would assume it lowers script overhead because all those mounted beasts don't exist until they are dismounted.

Last edited by Yukiko on Mon Jul 24, 2006 9:37 pm; edited 1 time in total

Author Message
CWO



Joined: 04 Feb 2006
Posts: 697
Location: Chicago, IL USA

PostPosted: Mon Jul 24, 2006 6:00 am    Post subject: Reply with quote

ya the mount is destroyed when they mount on it and recreated when they dismount. I havent completely looked into it, moreso I've been trying to use a modified version of our stablemaster's stabling code in our logon/logoff scripts but even that isnt working completely as much as I see no problem in the code.

Author Message
Lad



Joined: 05 Feb 2006
Posts: 23

PostPosted: Mon Jul 24, 2006 9:13 am    Post subject: Reply with quote

there is a bug in who.connected and maybe you use this member?

sometimes, after restart server, when player is disconnected, it returns 1

Author Message
AsYlum



Joined: 05 Feb 2006
Posts: 30

PostPosted: Mon Jul 24, 2006 9:52 am    Post subject: Reply with quote

Lad wrote:
there is a bug in who.connected and maybe you use this member?

sometimes, after restart server, when player is disconnected, it returns 1


But this is only on linux core. There's problem with inactivity of characters too.

Author Message
Pierce



Joined: 02 Feb 2006
Posts: 259

PostPosted: Mon Jul 24, 2006 10:26 am    Post subject: Reply with quote

@CWO:
Does your problems only appear, when you dismount a horse by double clicking? If so, the problem is perhaps an item visible or not at your position (e.g. house sign, nodes, ...). Surely that depends on the exakt method you handle mounts.

Author Message
CWO



Joined: 04 Feb 2006
Posts: 697
Location: Chicago, IL USA

PostPosted: Mon Jul 24, 2006 11:27 pm    Post subject: Reply with quote

no mounting/dismounting in game is fine. Its logging off/on when the mounts sometimes disappear. And the other problem with it is that it doesnt always happen.

Post new topic   Reply to topic    PenUltima Online Forum Index -> Bug Reports 096 All times are GMT - 4 Hours
Page 1 of 1

 




Powered by phpBB © 2001, 2005 phpBB Group :: Theme & Graphics by GHS & Scott E. Royalty