anyone has some infos about that? its a nice feature imho (introduced somewhere with 5.x.x clients)
would be nice to find out what packets are needed to use this feature on the client...
Buffs/debuffs client list...
Moderator: POL Developer
It is listed in the packet site, I have most all info on that thanks to other's hard work on it.
Here is the link to the packet which controls it
Here is the link to the packet which controls it
mmh... i see no info on that in the link (and in packet guide)
i am talking about this
this should be a live list of the current buffs and debuffs a player has active on himself... never saw it working btw (found only this screen) but i see the little gump that should contain it when i use client 5.0.7.1
i am talking about this
this should be a live list of the current buffs and debuffs a player has active on himself... never saw it working btw (found only this screen) but i see the little gump that should contain it when i use client 5.0.7.1
Its Packet 0xDF so:Bracco wrote:mmh... i see no info on that in the link (and in packet guide)
http://packets.polserver.com/index.php? ... acket=0xDF
An image taken during my "proof-of-concept"-phase. But never had the time to actually write a complete system for my shard.this should be a live list of the current buffs and debuffs a player has active on himself... never saw it working btw (found only this screen)
omg i missed that and i looked at the packet list 2 times! o_OTurley wrote:Its Packet 0xDF so:Bracco wrote:mmh... i see no info on that in the link (and in packet guide)
http://packets.polserver.com/index.php? ... acket=0xDF
An image taken during my "proof-of-concept"-phase. But never had the time to actually write a complete system for my shard.this should be a live list of the current buffs and debuffs a player has active on himself... never saw it working btw (found only this screen)
sorry awesome btw, gonna play with it a bit
Re: Buffs/debuffs client list...
um ive been testing this package.. but i dunno how to change the text displayed :S could you help me?
Re: Buffs/debuffs client list...
The text is displayed using the cliloc number in the enable packet.
If you can't find a cliloc number that matches what you want to say then you can edit the cliloc.enu (or your version) and distribute it to your players. (use uoviewer to see if there is a close cliloc match).
If you haven't used or played with clilocs before, then I recommend them as a way to save a lot of bandwidth and make your messages consistent. I am planning to replace all my SendSysMessage functions with SendSysMessageCL. Worth taking a look. You can't get buff/debuff working properly without getting to know clilocs.
If you can't find a cliloc number that matches what you want to say then you can edit the cliloc.enu (or your version) and distribute it to your players. (use uoviewer to see if there is a close cliloc match).
If you haven't used or played with clilocs before, then I recommend them as a way to save a lot of bandwidth and make your messages consistent. I am planning to replace all my SendSysMessage functions with SendSysMessageCL. Worth taking a look. You can't get buff/debuff working properly without getting to know clilocs.
Re: Buffs/debuffs client list...
oh i see.. thanks man.
Um im using pol 096.7 core.. with a custom distro.. but has come from 095 xD so its a bit annoying to add stuff from 097 distro... ayway this seems to work fine.. but i dont know how to unbuff some spells (nightsight for example xD.. i guess making the script to sleep 6000 seconds for each client that uses ns... makes lag no?)
Um im using pol 096.7 core.. with a custom distro.. but has come from 095 xD so its a bit annoying to add stuff from 097 distro... ayway this seems to work fine.. but i dont know how to unbuff some spells (nightsight for example xD.. i guess making the script to sleep 6000 seconds for each client that uses ns... makes lag no?)
Re: Buffs/debuffs client list...
You need to remove the buff itself and remove the buff/debuff gump from the display. Nothing is removed unless you script it.
I don't know how your scripts remove nightsight, but my daynight script loops looking for a "nightsight" cprop on the player with the expiry time and sets the lightlevel on that player. If it's expired it then daynight sends the packet to remove the nightsight from the buff/debuff display.
In general terms, not specific to nightsight, I have a test that runs every 5 seconds looking for any expired buffs. I picked 5 seconds because that's how often your client updates the countdown timer on the buff/debuff gump. If the buff is expired I first remove the buff then I call a function I wrote to remove the buff/debuff gump.
I don't know how your scripts remove nightsight, but my daynight script loops looking for a "nightsight" cprop on the player with the expiry time and sets the lightlevel on that player. If it's expired it then daynight sends the packet to remove the nightsight from the buff/debuff display.
In general terms, not specific to nightsight, I have a test that runs every 5 seconds looking for any expired buffs. I picked 5 seconds because that's how often your client updates the countdown timer on the buff/debuff gump. If the buff is expired I first remove the buff then I call a function I wrote to remove the buff/debuff gump.
Re: Buffs/debuffs client list...
yeah thats other way
um nightsight works with core method... player.setlightlevel(level, duration); (or something similar.. )
but now i have a lil problem... how ... can i set with the logon script the UOExpansion to ML, i cnat find a way, its T2A by default but i cant find any constat that determines de default expansion... -.-'
um nightsight works with core method... player.setlightlevel(level, duration); (or something similar.. )
but now i have a lil problem... how ... can i set with the logon script the UOExpansion to ML, i cnat find a way, its T2A by default but i cant find any constat that determines de default expansion... -.-'
Re: Buffs/debuffs client list...
I'm not sure if i understood you correct, but if you want to set the expansion to ML
you simply need to use this simple command on the account:
Of cause this feature must be enabled inside the servspecopt.cfg:
This includes all feature up to ML (elven, samurai, aos ....)
you simply need to use this simple command on the account:
Code: Select all
account.set_uo_expansion("ML");
Code: Select all
UOFeatureEnable=0x1A0