Search found 115 matches

by guialtran
Fri Feb 15, 2019 9:40 pm
Forum: Scripting Help
Topic: Implementation of the SkillCheck
Replies: 1
Views: 49

Re: Implementation of the SkillCheck

https://docs.polserver.com/pol100/fullfunc.php?xmlfile=attributesem#CheckSkill https://docs.polserver.com/pol100/scripttypes.php#SyshookScript file - > syshook.cfg SystemHookScript zhpAttack.ecl { Attack ZHPAttack } SystemHookScript shilcombat.ecl { CombatAdvancement ShilCombatAdvancement } SystemHo...
by guialtran
Mon Dec 24, 2018 10:15 pm
Forum: Current development (100)
Topic: Script optimalization, possible to auto delete unused vars?
Replies: 4
Views: 162

Re: Script optimalization, possible to auto delete unused vars?

an unused variable is not very harmful. it is damaging proportionally to the amount of memory it expends, and the time the internal interpreter spends to create a variable I tested it with my benchmark. the numbers below mean the number of times the kernel can run in 1000 milliseconds in 1 second an...
by guialtran
Fri Nov 30, 2018 9:22 am
Forum: Scripting Help
Topic: Newbie (blessed) items problem on player death
Replies: 2
Views: 165

Re: Newbie (blessed) items problem on player death

misc/chrdeath.src program chrdeath(corpse,ghost) var backpack := ghost.backpack; MoveNewbieItemsFromTheBodyToBackpack(corpse,backpack); endprogram function MoveNewbieItemsFromTheBodyToBackpack(corpse,backpack) foreach item in (EnumerateItemsInContainer(corpse)) SleepMS(10); if(item.newbie) MoveItemT...
by guialtran
Thu Nov 29, 2018 12:02 pm
Forum: Guides
Topic: Информация о боевых повреждениях в игре
Replies: 2
Views: 194

Re: Информация о боевых повреждениях в игре

I do not know if I understand your question. ApplyDamage( mobile, damage, DAMAGE_USE_REPSYS, DAMAGE_SHOW); ApplyRawDamage( Character, Hits, DAMAGE_USE_REPSYS, DAMAGE_SHOW ); this configuration shows the damage on the top of the head const DAMAGE_USE_REPSYS := 1; const DAMAGE_NO_REPSYS := 0; const DA...
by guialtran
Thu Nov 22, 2018 6:00 pm
Forum: Hello world
Topic: Halloo
Replies: 3
Views: 275

Re: Halloo

I would not use it because there are many problems
by guialtran
Mon Nov 05, 2018 2:27 pm
Forum: Hello world
Topic: Halloo
Replies: 3
Views: 275

Re: Halloo

I think it will not work properly, you'll have to fix several packages by creating hooks.
by guialtran
Mon Nov 05, 2018 2:04 pm
Forum: Bug Reports & Feature Requests
Topic: UltimaLive v.0.97
Replies: 5
Views: 1131

Re: UltimaLive v.0.97

my system has no control item, it was written in the datafile, I guess I've never seen anyone do this, and I thought it would be interesting to try. is a system started at the beginning of the server, which controls all the spawns of every server. is very light, there is no competition for spawning ...
by guialtran
Sun Nov 04, 2018 7:53 pm
Forum: Scripting Help
Topic: How to restart script? Gump loop?
Replies: 3
Views: 248

Re: How to restart script? Gump loop?

create a function to mount your Gump with the entries that you think necessary. this function must return a Struct, with the items needed to be called a SendDialogGump. hints a data structure with layout(array) and textlines(array). if you have some Fixed Gump, you can create this structure in a var...
by guialtran
Sun Oct 28, 2018 1:11 pm
Forum: Bug Reports & Feature Requests
Topic: Green Healthbar missing?!
Replies: 9
Views: 2680

Re: Green Healthbar missing?!

Did you try to disable the hook to see if that was the problem?
by guialtran
Sat Oct 27, 2018 4:44 pm
Forum: Bug Reports & Feature Requests
Topic: Green Healthbar missing?!
Replies: 9
Views: 2680

Re: Green Healthbar missing?!

I tested it here, it looks all normal, I can test it in front of you if you want. I would tell you to check if you have any hooks acting on your status packs. program my_use( chr, txt ) if(chr.poisoned) chr.setpoisoned(0); else chr.setpoisoned(1); endif ....... try creating a point command, and test...
by guialtran
Fri Oct 26, 2018 9:57 am
Forum: Bug Reports & Feature Requests
Topic: Green Healthbar missing?!
Replies: 9
Views: 2680

Re: Green Healthbar missing?!

is it possible for you to test this problem with a newer client?
by guialtran
Thu Oct 25, 2018 8:18 pm
Forum: Bug Reports & Feature Requests
Topic: Green Healthbar missing?!
Replies: 9
Views: 2680

Re: Green Healthbar missing?!

Hello friend, thanks for the info, it would be important and very pertinent the compilation dates of the programs that you are using, and it would be good to also know about which clients you are using.
hugs
by guialtran
Thu Oct 25, 2018 5:52 am
Forum: Scripting Help
Topic: Tooltip - Megacliloc - capital letters
Replies: 6
Views: 2848

Re: Tooltip - Megacliloc - capital letters

:| spooky

that makes sense.
the client ignores the case of the first letter because of this tag
by guialtran
Tue Oct 23, 2018 10:35 pm
Forum: Scripting Help
Topic: Tooltip - Megacliloc - capital letters
Replies: 6
Views: 2848

Re: Tooltip - Megacliloc - capital letters

I tested it here, and it did not work to put an empty unicode, I tested it with some, and found nothing. :( :deadhorse:
by guialtran
Tue Oct 23, 2018 9:05 pm
Forum: Scripting Help
Topic: Tooltip - Megacliloc - capital letters
Replies: 6
Views: 2848

Re: Tooltip - Megacliloc - capital letters

It's the client that does this, I have no idea how to turn it off. my suggestion is, after you have used the SetUnicodeString () ... try to find out what the Unicodes are of the spaces, and try to change them by some character that has space and is invisible. example Unicode 8193 or 8199 or 65440 PS...
by guialtran
Mon Oct 15, 2018 2:38 pm
Forum: Bug Reports & Feature Requests
Topic: [pol100] how to hide equipped items on dead corpes
Replies: 21
Views: 1997

Re: [pol100] how to hide equipped items on dead corpes

is just to create a fake container like I explained before.
npc would be dressed with whatever you want, and he does not have access to the items.
only access to the prize.
by guialtran
Wed Oct 10, 2018 3:10 pm
Forum: Current development (100)
Topic: New Core build for 2018-10-10
Replies: 1
Views: 419

Re: New Core build for 2018-10-10

wonderful! :whip:

sort 1.000.000 itens 2880 milliseconds
sorted_insert, insert into an array with 1,000,000 elements is less than 10 milliseconds
:bacondance: Perfect :D

the ammo hook was perfect too!

thank you!
Gib Turley
by guialtran
Mon Oct 08, 2018 11:18 am
Forum: Bug Reports & Feature Requests
Topic: [pol100] how to hide equipped items on dead corpes
Replies: 21
Views: 1997

Re: [pol100] how to hide equipped items on dead corpes

I think it would be the best option for you right now.
by guialtran
Mon Oct 08, 2018 8:42 am
Forum: Bug Reports & Feature Requests
Topic: [pol100] how to hide equipped items on dead corpes
Replies: 21
Views: 1997

Re: [pol100] how to hide equipped items on dead corpes

If you do not want this behavior, I have the solution for you. Do not you want the body to equip the items that are in its container? this is what you want? every time your server starts, in a start script you do the verification, if there is a FindStorageArea ("cemetery") if it does not exist, you ...
by guialtran
Sun Oct 07, 2018 6:19 pm
Forum: Contributed Scripts & Packages
Topic: Smurfen Turf
Replies: 3
Views: 3322

Re: Smurfen Turf

interesting thanks :) :whip:

I think this could be used to mark an NPC that you should give him some object to complete a quest + Packet 0xBA - Quest Arrow.

or indicate that a thief is stealing his backpack.
by guialtran
Sun Oct 07, 2018 6:02 pm
Forum: Bug Reports & Feature Requests
Topic: [pol100] how to hide equipped items on dead corpes
Replies: 21
Views: 1997

Re: [pol100] how to hide equipped items on dead corpes

I did not understand this, you want to hide it? or do you want to erase? when an npc dies it runs a script called misc / death.src you have the direct reference to the container with all npc items, you can easily delete everything. if you want to hide I think you can too, using invisible object prop...
by guialtran
Thu Oct 04, 2018 5:23 pm
Forum: Bug Reports & Feature Requests
Topic: Ammunition Consumption Bypass
Replies: 13
Views: 860

Re: Ammunition Consumption Bypass

1 carry out the attack
0 performs the expected consumption in the core
-1 do not carry out the attack
by guialtran
Thu Oct 04, 2018 10:12 am
Forum: Scripting Help
Topic: How to make character slow moving?
Replies: 7
Views: 785

Re: How to make character slow moving?

yes there is interference, so I do not recommend this :(