Well, think about it.
If you write 1. CloseGump() 2. SendDialogLayout(), there is no gump to close because you haven't send it yet. If you try 1. SendDialogLayout() 2. CloseGump(), on the other hand, send function holds script until player replies, and because of that, once you try to close the ...
Search found 256 matches
- Sun Apr 05, 2009 9:12 am
- Forum: Bug Reports Archive (098)
- Topic: CloseGump()
- Replies: 2
- Views: 24753
- Wed Apr 01, 2009 5:29 pm
- Forum: General Discussion
- Topic: New Bug and Features Tracker Live!
- Replies: 2
- Views: 4944
Re: New Bug and Features Tracker Live!
Nice, but!
Is there any way to follow the tracker as easily as it is to follow forums? Here we have this "View new posts" link, but there's nothing like that on the tracker, I think. That's why I don't really know what's going on there, though I'd like to.
I'm glad if someone corrects me on this.
Is there any way to follow the tracker as easily as it is to follow forums? Here we have this "View new posts" link, but there's nothing like that on the tracker, I think. That's why I don't really know what's going on there, though I'd like to.
I'm glad if someone corrects me on this.
- Mon Mar 30, 2009 4:32 am
- Forum: General Help (098)
- Topic: Core Party System
- Replies: 3
- Views: 5064
Re: Core Party System
There seems to be no syshook for that, so the short answer is no.
However, you can work your way around this. E.g. add a is-there-yet-a-party check in the CanAddToParty hook and launch a control script if there isn't - run it for DeclineTimeout seconds and if leader gets his party, run the party ...
However, you can work your way around this. E.g. add a is-there-yet-a-party check in the CanAddToParty hook and launch a control script if there isn't - run it for DeclineTimeout seconds and if leader gets his party, run the party ...
- Sun Mar 22, 2009 6:53 am
- Forum: Scripting Help
- Topic: Good way to start a script for all players?
- Replies: 6
- Views: 8301
Re: Good way to start a script for all players?
You may want to test another way to accomplish that. Basically it's the same but without all those neat variables. Documentation will tell you more about foreach statement if it's a new one to you.
foreach player in EnumerateOnlineCharacters()
if (player.cmdlevel == 0)
Start_Script("::XXX ...
foreach player in EnumerateOnlineCharacters()
if (player.cmdlevel == 0)
Start_Script("::XXX ...
- Thu Mar 05, 2009 4:25 am
- Forum: Feature Request Archive
- Topic: CloseDialogGump( )
- Replies: 3
- Views: 27149
Re: CloseDialogGump( )
This looking good.
Nando_k added the above wished CloseGump() function to core some days ago, and aside the misconstructed packet in my version, it works. No longer is the gump sending process required be killed!
As an additional, though minor, feature request, it would be useful to allow response ...
Nando_k added the above wished CloseGump() function to core some days ago, and aside the misconstructed packet in my version, it works. No longer is the gump sending process required be killed!
As an additional, though minor, feature request, it would be useful to allow response ...
- Tue Mar 03, 2009 10:11 pm
- Forum: Contributed Scripts & Packages
- Topic: Cocaine script
- Replies: 1
- Views: 3840
Re: Cocaine script
Beware, RunUO, here we come!
- Wed Feb 25, 2009 8:45 am
- Forum: Contributed Scripts & Packages
- Topic: Party System
- Replies: 46
- Views: 49072
Re: Party System
If you're still using 095, it's about time to update anyway.
- Mon Feb 23, 2009 4:05 am
- Forum: Scripting Help
- Topic: Secure trading packet
- Replies: 1
- Views: 2963
Re: Secure trading packet
You have to use packet object methods. Like this:
This information will hopefully ease the testing you'll do.
Code: Select all
exported function example( who, byref packet )
var serial := packet.GetInt32(4);
var mobile := SystemFindObjectBySerial(serial);
// ...
- Mon Feb 23, 2009 4:00 am
- Forum: Complete Worlds
- Topic: Zulu Hotel Shard Project POL099
- Replies: 71
- Views: 219148
Re: Fantasia Shard project 7.0!
I spent some time studying this and I'm sure it will help someone out there (distro team, hehe?). Thanks for sharing! Hopefully one day your priorities will change again --- until then, have fun outside!
- Fri Feb 20, 2009 1:58 pm
- Forum: General Discussion
- Topic: New Pol98 Docs..
- Replies: 9
- Views: 9869
Re: New Pol98 Docs..
I like it!
- Fri Feb 20, 2009 4:13 am
- Forum: Feature Request Archive
- Topic: builtin commands .startlog/.stoplog
- Replies: 4
- Views: 27546
Re: builtin commands .startlog/.stoplog
Sounds like a feature.
- Wed Feb 18, 2009 1:12 pm
- Forum: General Help (098)
- Topic: POL 098 Win32, Linux and FreeBSD beta #4
- Replies: 5
- Views: 6070
- Tue Feb 17, 2009 12:26 pm
- Forum: Solved Bugs (097)
- Topic: character.ClearGottenItem() & v5 client (POL 097 2008-02
- Replies: 7
- Views: 31273
Re: character.ClearGottenItem() & v5 client (POL 097 2008-02
We had a nice discussion with Nando_k, and the workaround got a bit cleaner.
SendPacket(who, "2727");
who.ClearGottenItem();
Handles the issue -so it seems- correctly, and does not show "You can not pick that up." message in journal. So I'll use it until the improved core is released. I post ...
SendPacket(who, "2727");
who.ClearGottenItem();
Handles the issue -so it seems- correctly, and does not show "You can not pick that up." message in journal. So I'll use it until the improved core is released. I post ...
- Mon Feb 16, 2009 10:09 pm
- Forum: Solved Bugs (097)
- Topic: character.ClearGottenItem() & v5 client (POL 097 2008-02
- Replies: 7
- Views: 31273
Re: character.ClearGottenItem() & v5 client (POL 097 2008-02
I tried out 4.0.0.a and 4.0.2a, they share the same behaviour.
- Mon Feb 16, 2009 3:55 pm
- Forum: Solved Bugs (097)
- Topic: UO expansion AOS and empty spellbook (POL 097 2008-02-26)
- Replies: 6
- Views: 29545
Re: UO expansion AOS and empty spellbook (POL 097 2008-02-26)
To my setup, the latest 098 beta release fixed the issue.
Thanks for doing extra work with this, especially because I as the scripter am the one to blame.
Thanks for doing extra work with this, especially because I as the scripter am the one to blame.
- Mon Feb 16, 2009 3:26 pm
- Forum: Solved Bugs (097)
- Topic: character.ClearGottenItem() & v5 client (POL 097 2008-02
- Replies: 7
- Views: 31273
Re: character.ClearGottenItem() & v5 client (POL 097 2008-02
Hey, just retested this one using 098 BETA 3: still occurs. Client was the good old 5.0.1j.
Tell me if you need more details or testing.
Tell me if you need more details or testing.
- Mon Feb 16, 2009 3:05 pm
- Forum: General Help (098)
- Topic: POL 098 Win32, Linux and FreeBSD third beta
- Replies: 5
- Views: 6352
Re: POL 098 Win32, Linux and FreeBSD third beta
Duh, it will take some time to try out even most of the stuff! Thank you and keep it coming!
- Mon Feb 16, 2009 3:02 pm
- Forum: General Help (097)
- Topic: POL 097.3 Win32, Linux and FreeBSD Final - Coregina
- Replies: 1
- Views: 24171
Re: POL 097.3 Win32, Linux and FreeBSD Final - Coregina
A shame we already moved to 098...
But, hehee, nice work guys!
But, hehee, nice work guys!
- Mon Feb 16, 2009 2:58 pm
- Forum: Feature Request Archive
- Topic: MoveItemToContainer(): new flag-parameter
- Replies: 0
- Views: 22899
MoveItemToContainer(): new flag-parameter
Hey,
First of all, thanks for the new MOVEITEM_IGNOREMOVABLE flag added to MoveObjectToLocation() function. This, however, arised a new lack of feature: there's yet no neat way to move item to (in) container if it's set unmovable.
Thus I wish you could add a new parameter to MoveItemToContainer ...
First of all, thanks for the new MOVEITEM_IGNOREMOVABLE flag added to MoveObjectToLocation() function. This, however, arised a new lack of feature: there's yet no neat way to move item to (in) container if it's set unmovable.
Thus I wish you could add a new parameter to MoveItemToContainer ...
- Fri Feb 13, 2009 5:13 pm
- Forum: Scripting Help
- Topic: read_light_level
- Replies: 4
- Views: 5956
Re: read_light_level
As far as I know, no.
Closest thing you can do is to save lightlevel of character every time it is send by server; but, this doesn't help you in this case, as what server tells the client to do forces nothing.
If you have a working day/night cycle you could of course add a how dark is it out there ...
Closest thing you can do is to save lightlevel of character every time it is send by server; but, this doesn't help you in this case, as what server tells the client to do forces nothing.
If you have a working day/night cycle you could of course add a how dark is it out there ...
- Wed Dec 31, 2008 2:39 am
- Forum: Feature Request Archive
- Topic: Maxweight and MaxItems for containers
- Replies: 3
- Views: 25167
Re: Maxweight and MaxItems for containers
Yukiko, you mean itemdesc members like graphic, color, script...?
I don't see why this couldn't be done and I'd vote yes if asked. And this reminds me of an old feature request I should have posted an age ago, UO::ContainerHasSpaceForItem(container, item), which would be a must-have after the ...
I don't see why this couldn't be done and I'd vote yes if asked. And this reminds me of an old feature request I should have posted an age ago, UO::ContainerHasSpaceForItem(container, item), which would be a must-have after the ...
- Wed Dec 31, 2008 2:19 am
- Forum: Solved Bugs (097)
- Topic: UO expansion AOS and empty spellbook (POL 097 2008-02-26)
- Replies: 6
- Views: 29545
Re: UO expansion AOS and empty spellbook (POL 097 2008-02-26)
I tend to test things couple of times before reporting, but if you wish, I'll recheck this one. After all there are new releases and it's been a while since I noticed this, so I can't say for sure no longer.
It will take at least few days, but I'll take another look at this and eventually get back ...
It will take at least few days, but I'll take another look at this and eventually get back ...
- Sun Dec 28, 2008 2:31 pm
- Forum: Feature Request Archive
- Topic: damn 14 letter command
- Replies: 15
- Views: 49542
Re: damn 14 letter command
Ability to define aliases to module functions sounds like a feature to me.
It could be as simple as aliases.em where each line represents an alias, like
Msg(character, text, font := _DEFAULT_TEXT_FONT, color := _DEFAULT_TEXT_COLOR) SendSysMessage( character, text, font := _DEFAULT_TEXT_FONT ...
It could be as simple as aliases.em where each line represents an alias, like
Msg(character, text, font := _DEFAULT_TEXT_FONT, color := _DEFAULT_TEXT_COLOR) SendSysMessage( character, text, font := _DEFAULT_TEXT_FONT ...
- Sun Dec 21, 2008 6:09 pm
- Forum: Solved Bugs (097)
- Topic: [fixed] Item.layer only works for items (once) equipped
- Replies: 9
- Views: 34914
Re: [fixed] Item.layer only works for items (once) equipped
Yeah, looking good.
Not only the mentioned fix but also the post reply button is right where it's supposed to!
Thank you all again.
Not only the mentioned fix but also the post reply button is right where it's supposed to!
Thank you all again.
- Sun Dec 21, 2008 8:40 am
- Forum: Feature Request Archive
- Topic: new character member
- Replies: 4
- Views: 27012
Re: new character member
// This I check right after the program block.
if (!CanUseCommand(who))
return;
endif
// ....
function CanUseCommand( who )
if (GetProcess(who.GetProp("#UsingCommand")))
return 0;
endif
who.SetProp("#UsingCommand", GetPid());
return 1;
endfunction
- No need to erase cprop ...