TServerPlayer.attached is only true if the player is attached to the current npc, you can also use TServerPlayer.attachedtoobject to get the object to which the player is attached.
Attributes still aren't being sent serverside. I think you can test this out on UN using their tailor tools. I can't seem to change my appearance with it because even though it looks like I changed, everyone else still sees my old look and it reverts back when I log on.
Also, if you go on UN try out the Broom script. When you get off of it it messes with your body, making it white/transparent and zooms in and out. I imagine it is having problems with sprites < 20, but this problem didn't occur in v5.
It seems selecting a different gender within the profile window doesn't cause the "send" button to appear, as such you have to enter text into one of the text boxes if you want to be able to save a different gender.
I'm confused, isn't the send-button always shown when you open your own profile?
1. Open a script in Client RC.
2. Highlight the text with your mouse, and hold down the button.
3. Move your mouse cursor off the script editor window.
4. Let go of the mouse button.
5. Hover over the script window, the text edit control is still in highlighting mode despite the mouse button not being held down.
There is also issues with autoindenting in MLTextEditCtrls:
1. Go to the very bottom of a script in client rc.
2. Try to write:
PHP Code:
function example() {
asdf();
asdf();
qwer();
}
For me it doesn't update the position of the cursor properly.
Video:
Double Clicking + onMouseDown
I don't think onMouseDown reports double clicks properly because it registers the mouse down three times (which makes it very annoying to check if the double-click happened in the same area as the single click) in situations where I only clicked twice within 0.3 of a second.
Two clicks in two different spots that are more than 16 pixels apart shouldn't register as a double-click either but it does.
PHP Code:
//#CLIENTSIDE
function onMouseDown(click) {
echo(click SPC timevar2);
}
function GraalControl.onRightMouseDown() {
onMousePressed("right");
}
function onMousePressed(click) {
// code...
}
Syntax Highlighting MLTextEditCtrls
Can it be changed to operate on it's own profile values? Right now it uses fontcolorhl, fontcolorlink and so on. It'd be nice to be able to set for specific types: string, keywords, and so on.
__________________
Quote:
Last edited by fowlplay4; 08-25-2011 at 02:30 AM..
It seems there's a problem with text shadow with the latest client, for instance what produces a dark blue shadow in order to emulate default HP display in V5 is producing fully white text.
V5:
V6:
Here's what I'm doing within a class for level NPCs which also produces the same problem:
It seems there's a problem with text shadow with the latest client, for instance what produces a dark blue shadow in order to emulate default HP display in V5 is producing fully white text.
You should set your shadowcolor alpha to 255 instead of 1
It's 0-1 for objects (player.alpha etc.) but for gui colors you define them in an array of 4 integer values {red,green,blue,alpha} or using the name of a color like "cyan".
Quote:
Originally Posted by DustyPorViva
Attributes still aren't being sent serverside. I think you can test this out on UN using their tailor tools. I can't seem to change my appearance with it because even though it looks like I changed, everyone else still sees my old look and it reverts back when I log on.
Can anyone else verify this? I haven't got problems with it yet, although I change stuff on server-side most of the time.