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
AOS Tooltip crash [all core versions]

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

Author Message
Developer Silver



Joined: 05 Feb 2006
Posts: 58
Location: Italy

PostPosted: Wed May 24, 2006 5:28 pm    Post subject: AOS Tooltip crash [all core versions] Reply with quote

With every core version I've tested, our tooltip hook crashes POL... I can't figure exactly where is the problem, but I've saved some crash dumps (generated with 2005-05-09b core) to attach here...

If someone remember, I've this problem on yahoo group on past December... and it still torment our dreams! Sad

We love tooltips, but we can't use them on our shard! Sad
Someone can help us?

P.S.: anyone here has a full working tooltip hook?

Author Message
MuadDib
POL Developer


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

PostPosted: Wed May 24, 2006 5:54 pm    Post subject: Reply with quote

What is it you are using your tooltip hook for? Tooltips are functional now (including notoriety) in the core.

Author Message
Shinigami
POL Core Developer


Joined: 30 Jan 2006
Posts: 292
Location: Germany, Bavaria

PostPosted: Wed May 24, 2006 6:01 pm    Post subject: Reply with quote

please test with ... there is a PacketHook bugfix. maybe it will fix your problem?

Shinigami

Author Message
Developer Silver



Joined: 05 Feb 2006
Posts: 58
Location: Italy

PostPosted: Thu May 25, 2006 4:47 am    Post subject: Reply with quote

MuadDib wrote:
What is it you are using your tooltip hook for? Tooltips are functional now (including notoriety) in the core.

We hook tooltip packet to obtain a detailed description of objects... see linked screenshot Wink [sorry but it's in italian]




Shinigami wrote:
please test with ... there is a PacketHook bugfix. maybe it will fix your problem?

Shinigami

Tested with latest core... no good result... same crash as usual.
Here's a fresh new dump. Smile

Author Message
Shinigami
POL Core Developer


Joined: 30 Jan 2006
Posts: 292
Location: Germany, Bavaria

PostPosted: Thu May 25, 2006 7:52 am    Post subject: Reply with quote

can u attach the uopacket.cfg too? will help a lot... thx

Shinigami

Author Message
Developer Silver



Joined: 05 Feb 2006
Posts: 58
Location: Italy

PostPosted: Thu May 25, 2006 8:32 am    Post subject: Reply with quote

Shinigami wrote:
can u attach the uopacket.cfg too? will help a lot... thx

Shinigami


Sure Smile
It's the same uopacket.cfg posted on yahoo groups:


Code:
Packet 0xD6
{
   Length      variable
   SendFunction   pacchetto_tooltip:tooltip_hook
}

Author Message
Shinigami
POL Core Developer


Joined: 30 Jan 2006
Posts: 292
Location: Germany, Bavaria

PostPosted: Fri May 26, 2006 7:27 am    Post subject: Reply with quote

as u posted somewhere, it will not crash everytime... so, it would help a lot if u could syslog the packet u'll send via hook so we can take a look... my own tests with your code doesn't crash.

Shinigami

Author Message
MontuZ
Distro Developer


Joined: 10 Feb 2006
Posts: 293
Location: Myrtle Beach, South Carolina

PostPosted: Fri May 26, 2006 12:38 pm    Post subject: Reply with quote

I had the same problems you fellas had. If you SetUnicodeString nullterminator to 0 it'll crash the server.

Anyway, I've been working on it for a week and finally got it all working.

It's just a basic starter.

http://forums.polserver.com/viewtopic.php?t=432&start=0&postdays=0&postorder=asc&highlight=

(yes I posted this in two topics, just want to make sure you guys get it and figure out the problem.)

Author Message
Developer Silver



Joined: 05 Feb 2006
Posts: 58
Location: Italy

PostPosted: Mon May 29, 2006 12:21 pm    Post subject: Reply with quote

Ok we're merging our script with the one posted by Unreal, and in the first tests it seems to work well.. we'll up the result to the live shard to do a better stress-test and we'll report here... Cool
Modifications made are about managing of SetUnicodeString(), setting strings size and minor adjustment of packet indexes.

If it will work, the problem were 90% in SetUnicodeString() Confused

The strange thing is: how's possibile that a malformed packet show perfectly on client, but crashes POL? Question


@Shini: what syslog do you need? A print of packet before and after our hook? (the old, crashing script)

Author Message
Shinigami
POL Core Developer


Joined: 30 Jan 2006
Posts: 292
Location: Germany, Bavaria

PostPosted: Mon May 29, 2006 12:56 pm    Post subject: Reply with quote

Unreal wrote:
If you SetUnicodeString nullterminator to 0 it'll crash the server.

can u post a working... erm crashing... example? I tried it but no crash...

Shinigami

Author Message
Shinigami
POL Core Developer


Joined: 30 Jan 2006
Posts: 292
Location: Germany, Bavaria

PostPosted: Mon Sep 18, 2006 7:30 am    Post subject: Reply with quote

Developer Silver wrote:
The strange thing is: how's possibile that a malformed packet show perfectly on client, but crashes POL? Question

I should remember which Postings are interessting... that's why I HATE webforums... and would use NewsServer (nntp) if available - because u can decide what u've read...

anyway... the packet looks fine, yes... but something in internal packet-build structure will destruct stuff... ok, it's fixed in past 20060916 releases (pol096.4 & pol097)

Shinigami

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