Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Tech Support (https://forums.graalonline.com/forums/forumdisplay.php?f=7)
-   -   Not sure if this would be a bug, but its bugging me :/ (https://forums.graalonline.com/forums/showthread.php?t=42130)

G_yoshi 01-20-2003 11:27 PM

Not sure if this would be a bug, but its bugging me :/
 
1 Attachment(s)
I must be doing something wrong. I'm pretty much making my own dialog bubble for chat text like Konidias is. Honestly, its been working since I first made it, however, when I test it online that's when it fails. It fails in the manner that when I chat and then someone else chats, thier bubble says exactly what I just said or says nothing. The problem, I've already determined, is the gani which I'm using to output the text. I've made it output with #s() and #P and both work 100% but not when chatting with other players. The screenshot attached shows what I mean. I know it sounds rather strange and the image looks a little misleading, but I'm not lying.

Here's the script. Its nothing overly special and before someone gets all upity, this is clipped from the NPC Weapon but its the core:
NPC Code:

if (isweapon || timeout) {
enablefeatures allfeatures-0x4000-0x100-0x80-8;
if (playerchats && !strequals(#c,) && !client.meteroff) {
wraptext2 180,0.714285714285714,,@#c;
setplayerprop #c,#t(0);
setplayerprop #P(28),#c;
setplayerprop #c,#t(1);
setplayerprop #P(29),#c;
setplayerprop #c,#t(2);
setplayerprop #P(30),#c;
setplayerprop #P(27),dk_dialog_b.gani;
sleep 5;
setplayerprop #P(28),;
setplayerprop #P(29),;
setplayerprop #P(30),;
setplayerprop #P(27),;
}
enablefeatures allfeatures-0x4000-0x100-0x80-8;
timeout = 0.05;
}



If this thread is in the wrong place, then who ever has the ability, please move it to the appropriate forum. Thanks :)

Spark910 01-21-2003 12:24 PM

If not body replies, ask Screen_Name, or PM him as he was the first one I saw to make speech bubbles.

azuretek23 01-22-2003 02:28 AM

I've had the idea for speech bubbles forever but I guess they knew how to do it :)

G_yoshi 01-22-2003 05:26 AM

Quote:

Originally posted by Spark910
If not body replies, ask Screen_Name, or PM him as he was the first one I saw to make speech bubbles.
I've already talked with Konidias on this ;) But it hasn't sovled my problem thus far. I think I know what's happening but I could be wrong.


All times are GMT +2. The time now is 08:25 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.