Search found 2387 matches

by Yukiko
Fri Jul 20, 2018 5:08 pm
Forum: Current development (100)
Topic: A new build of the Core is up.
Replies: 1
Views: 37

A new build of the Core is up.

Hello folks. Announcing a new build fresh out of the oven. From core-changes.txt: -- POL100 -- 07-19-2018 DevGIB: Added: EncodeBase64(String) and DecodeBase64(String) to basic.em to enable people to encode and decode strings using base64 without requiring an escript function. That's handy I am sure....
by Yukiko
Fri Jul 20, 2018 4:16 pm
Forum: Scripting Help
Topic: Count a specific item
Replies: 15
Views: 122

Re: Count a specific item

Thank you guialtran.
by Yukiko
Fri Jul 20, 2018 8:39 am
Forum: Scripting Help
Topic: Count a specific item
Replies: 15
Views: 122

Re: Count a specific item

Any possibility that you can post the function for others who might want to use it?
by Yukiko
Fri Jul 20, 2018 8:35 am
Forum: Bug Reports & Feature Requests
Topic: ListStaticsNearLocationOfType and ListStaticsNearLocationWithFlag
Replies: 0
Views: 23

ListStaticsNearLocationOfType and ListStaticsNearLocationWithFlag

These would duplicate the same functions that we have for items but for statics.
by Yukiko
Wed Jul 18, 2018 8:42 am
Forum: Scripting Help
Topic: Count a specific item
Replies: 15
Views: 122

Re: Count a specific item

If this is a new shard you could have an Create and Destroy script for gold coins. Every time a gold coin is created it would add the amount created to a Global Property and when they are destroyed it would subtract the amount from the Global Property. This would only work for a server that is new. ...
by Yukiko
Tue Jul 17, 2018 10:15 pm
Forum: Guides
Topic: Yukiko's, possibly, helpful or, maybe, little known tips.
Replies: 1
Views: 32

Yukiko's, possibly, helpful or, maybe, little known tips.

I hope this thread will allow me to bring some useful and not-so-obvious tips and tricks to you but as I am not a "super whamo-bango" programmer this thread may be a short list of tips. :D In this thread I will talk about a few things that may be helpful to new users of POL and eScript. They may als...
by Yukiko
Tue Jul 17, 2018 4:06 pm
Forum: Scripting Help
Topic: Count a specific item
Replies: 15
Views: 122

Re: Count a specific item

Try searching for 0xeed. Remember you are searching a text file. The strings have to match :)
by Yukiko
Tue Jul 17, 2018 4:06 pm
Forum: Scripting Help
Topic: Count a specific item
Replies: 15
Views: 122

Re: Count a specific item

Try searching for 0xeed.
by Yukiko
Tue Jul 17, 2018 11:33 am
Forum: Scripting Help
Topic: Count a specific item
Replies: 15
Views: 122

Re: Count a specific item

Yes but when you get my PM you will see you also have to parse the "equip" files as well, pcequip.txt and npcequip.txt.
by Yukiko
Tue Jul 17, 2018 9:20 am
Forum: Scripting Help
Topic: Count a specific item
Replies: 15
Views: 122

Re: Count a specific item

If you only need to know about the items in the "physical world" reading items.txt is probably the most efficient way to get a count of a specific item. If the item you are counting is equipable you will also need to parse pcequip.txt and npcequip.txt. However if you also want to know if that item e...
by Yukiko
Sun Jul 15, 2018 11:54 pm
Forum: Bug Reports & Feature Requests
Topic: Missing operator documentation.
Replies: 5
Views: 97

Re: Missing operator documentation.

Ok. I don't think in light of the i+=, i-= etc. we are fine and I prefer the if...else...endif construct.
by Yukiko
Sun Jul 15, 2018 9:44 am
Forum: Bug Reports & Feature Requests
Topic: Missing operator documentation.
Replies: 5
Views: 97

Re: Missing operator documentation.

Well to hijack my own thread I will ask for specifics on your feature request atreiu. Is it the "if", "then" construct you want or the"i++" construct or both. There is already" i+=<some number>", i-=<some number>", etc. I remember the if, then construct from my BASIC programming days back in high sc...
by Yukiko
Thu Jul 12, 2018 11:27 pm
Forum: General Discussion
Topic: web update request..
Replies: 6
Views: 124

Re: web update request..

Oh I agree that Visual Studio is a great editor for C# and that there is no "intelligent" editor for eScript. However that is not a black mark against POL's versatility. At the time when POL came into being I don't think C# was a popular or even usable language. So Eric Swanson created the eScript l...
by Yukiko
Mon Jul 09, 2018 10:57 pm
Forum: Bug Reports & Feature Requests
Topic: Missing operator documentation.
Replies: 5
Views: 97

Missing operator documentation.

I am still amazed at things that are not present anywhere in the main documentation pages but should be such as bitwise, or logical, operators. Only a very few would know about these built-in Core operators, perhaps an intrepid spelunker who enjoys exploring the Core-Changes Cavern or perhaps someon...
by Yukiko
Mon Jul 09, 2018 11:04 am
Forum: Scripting Help
Topic: Date countdown
Replies: 7
Views: 102

Re: Date countdown

I am glad you solved it. I had a solution I was going to post but it involved using the game clock but I think your solution is probably better. :)
by Yukiko
Mon Jul 09, 2018 9:26 am
Forum: General Discussion
Topic: web update request..
Replies: 6
Views: 124

Re: web update request..

That line is the opinion of the author of the introductory page for POL. You are free to disagree with it. In some ways you may be correct. I will say one thing in ServUO and RunUO's favour, they have implemented more of OSI features than POL but that was never POL's mission. As far as I understand ...
by Yukiko
Sun Jul 08, 2018 1:47 am
Forum: Bug Reports & Feature Requests
Topic: Bug Report - Resistances.
Replies: 1
Views: 43

Bug Report - Resistances.

A negative resistance causes POL to shut down. Yes. According to OSI things can have a negative resistance. Case in point dragon scales. See this page for details on dragon scales. This itemdesc.cfg entry: Item 0x26200 { //MainStuff Name redscale Desc red scale%s% Graphic 0x26B4 Color 0x66D Weight 2...
by Yukiko
Thu Jun 28, 2018 9:50 pm
Forum: Bug Reports & Feature Requests
Topic: A proposal for a new ecompile.cfg setting.
Replies: 0
Views: 40

A proposal for a new ecompile.cfg setting.

Over the years of working with eScript I have had to fix bugs in my scripts/programs more times than I can count. Well, I am tired of my scripts not working as I intend them to work. So I propose adding a new eCompile directive in the form of a setting in ecompile.cfg. The acronym for this setting i...
by Yukiko
Sun Jun 24, 2018 12:24 pm
Forum: Development Discussion
Topic: An update on my progress with the Distro upgrade.
Replies: 6
Views: 203

Re: An update on my progress with the Distro upgrade.

I will be adding the upgraded Distro back in as a branch of the current Distro. It will still need some work. I will continue working on it but at a reduced intensity than I have been. The new version will be a breaking change! This means that it will require an item wipe, all data except pol.cfg an...
by Yukiko
Tue Jun 19, 2018 8:20 am
Forum: Scripting Help
Topic: how to set up a boat.
Replies: 3
Views: 104

Re: how to set up a boat.

Only use OldObjType if you have changed the ObjType number of an object and need to update the objects in your server data files. For example if you change ObjType 0x10001 to ObjType 0x20001 you would add OldObjType 0x10001 to the definition of the changed object, restart the server and it will upda...
by Yukiko
Mon Jun 18, 2018 8:16 am
Forum: Bug Reports & Feature Requests
Topic: POL Docs --> POL Object Reference page
Replies: 6
Views: 162

Re: POL Docs --> POL Object Reference page

1920x1080 but I usually do not have my browser window maximized. That should not make a difference.
by Yukiko
Sat Jun 16, 2018 4:04 pm
Forum: Current development (100)
Topic: A new beta build is up.
Replies: 6
Views: 184

Re: A new beta build is up.

Link is fixed on the Downloads page.
by Yukiko
Sat Jun 16, 2018 9:35 am
Forum: POL Tools
Topic: POL shell script
Replies: 1
Views: 79

Re: POL shell script

Thanks Boberski. I am sure the Linux users can make good use of it.
by Yukiko
Sat Jun 16, 2018 9:31 am
Forum: Current development (100)
Topic: A new beta build is up.
Replies: 6
Views: 184

Re: A new beta build is up.

I changed the link Boberski after you gave me the new one. Has it changed again?