Search found 1093 matches

by CWO
Wed Apr 10, 2024 11:36 am
Forum: Current stable release (099)
Topic: Combat problems.
Replies: 1
Views: 1195

Re: Combat problems.

First, check to see if your scripts have a custom attack system. Look for syshook.cfg (there can be multiple and they can be in any package) look for an entry for Attack. Something like SystemHookScript newCombat.ecl { Attack DoAttack } If you do have it, you can find the code in that script (In the...
by CWO
Mon Oct 16, 2023 4:51 pm
Forum: General Discussion
Topic: Not able to login from local network
Replies: 4
Views: 2358

Re: Not able to login from local network

There is no second shard unless you run a second instance of POL. Do you mean a different realm (map)? The second entry in the servers.cfg should still connect you to the same shard, it just goes through a different internet route. You can't connect from your public IP to your public IP directly whi...
by CWO
Tue Oct 10, 2023 4:18 pm
Forum: General Discussion
Topic: Not able to login from local network
Replies: 4
Views: 2358

Re: Not able to login from local network

I believe you need to define a "separate server" for LAN connections in servers.cfg. I had this entry in my servers.cfg for logging in on the same computer. You'll have to change the IP and IPMatch fields so they match up to your LAN. Name field doesn't matter and the port should be the sa...
by CWO
Mon Jul 03, 2023 4:04 pm
Forum: Current stable release (099)
Topic: Core error message - what does it mean, what triggers it?
Replies: 2
Views: 2075

Re: Core error message - what does it mean, what triggers it?

It's mainly caused by lag. It means they tried to drop an item that they didn't pick up. If they pick up an item and then drop it quick enough during lag, the drop packet might arrive before the pick up packet causing the error. If it happens quickly in succession for one character, it could be a ma...
by CWO
Fri Jul 22, 2022 5:17 pm
Forum: Hello world
Topic: Hello, New world in the making
Replies: 34
Views: 28119

Re: Hello, New world in the making

Good to see you're dabbling with the scripting and getting it together. As always, if you get stuck, you can ask on the discord channels or drop me a pm. Work is getting lighter again so I might not be half asleep when responding :D
by CWO
Sat Feb 06, 2021 3:01 pm
Forum: General Help
Topic: error testing pol with TPC
Replies: 2
Views: 4805

Re: error testing pol with TPC

"bad version number xx" for the scripts means they were compiled for a different version of POL. Any time you change POL versions, you must also replace the em files and ecompile with the one that comes with that version then force a recompile of ALL of your scripts.
by CWO
Sun May 31, 2020 10:21 pm
Forum: Complete Worlds
Topic: World of Dreams for Pol 097 Ready For Download!
Replies: 13
Views: 13978

Re: World of Dreams for Pol 097 Ready For Download!

Look around in your itemdesc.cfg for the entry

Code: Select all

Container 0x0EFA
Change it to

Code: Select all

Spellbook 0x0EFA
also within the entry, you should define the SpellType as "magic"

Code: Select all

Spellbook 0x0EFA
{
...
	Spelltype		magic
...
}
by CWO
Sun May 31, 2020 9:26 pm
Forum: Scripting Help
Topic: Crash to write speech
Replies: 1
Views: 3195

Re: Crash to write speech

Try going into your settings and change your speech color. I've seen instances where players would crash if their text color setting was corrupted.
by CWO
Thu Jan 02, 2020 3:46 am
Forum: Bug Reports & Feature Requests
Topic: AddAmount() renovation
Replies: 4
Views: 5647

Re: AddAmount() renovation

But for AddAmount(), you're already passing an item reference so you already have it and don't need a new one whereas with the Create* commands, the item didn't previously exist.
by CWO
Wed Dec 11, 2019 5:14 am
Forum: Current development (100)
Topic: There is a freshly baked Core out and is it yummy!11
Replies: 3
Views: 4739

Re: There is a freshly baked Core out and is it yummy!11

https://downloads.polserver.com/Core/Wi ... 13-bin.zip

Direct link until they fix the page which was broken from a Webhost upgrade.
by CWO
Fri Nov 22, 2019 10:47 am
Forum: Guides
Topic: Setting up a Windows POL server. A tutorial.
Replies: 45
Views: 34501

Re: Setting up a Windows POL server. A tutorial.

a lot of ecl files don't exist... did you compile your scripts? No matter which scriptbase you're using, you must run eCompile from the version of POL you're using. If you change versions at all, you have to recompile the scripts.
by CWO
Sun Mar 17, 2019 9:20 pm
Forum: Current development (100)
Topic: [const] Directory
Replies: 7
Views: 6335

Re: [const] Directory

This won't work. eCompile grabs the includes before assigning constants for the very reason that includes can contain constants. It doesn't go through includes one at a time and assign the constants since it needs to know all of the functions and constants available to it before it begins to process...
by CWO
Mon Jan 21, 2019 12:45 am
Forum: Scripting Help
Topic: Quests
Replies: 12
Views: 10342

Re: Quests

Yukiko and I were talking it out in Discord and I stated my reasons for something like "craft an item" without turning it in, just the fact that you crafted it. What would the point be? Well, on my shard, I was moving away from the random gain 0.1% every now and then for repeatedly doing t...
by CWO
Sun Jan 20, 2019 10:27 pm
Forum: Scripting Help
Topic: Quests
Replies: 12
Views: 10342

Re: Quests

Hmm... this is what I found. I though I had more documented like how the config file would be formatted and such but this was my outline. The idea was to have the quest system run through 2 main scripts. A questgiver AI script and a main script that always ran and received events from other scripts ...
by CWO
Sun Jan 20, 2019 8:37 pm
Forum: Scripting Help
Topic: Quests
Replies: 12
Views: 10342

Re: Quests

This brings up memories of a system I wanted to do a long time ago. I had documentation on how I wanted to structure it and everything. Config driven from a quest package, I had a ton of //Insert quest stuff here... in my scripts too. Damnit don't make me have to pull out old backups and actually sc...
by CWO
Sat Dec 29, 2018 1:29 pm
Forum: Guides
Topic: Setting up a Windows POL server. A tutorial.
Replies: 45
Views: 34501

Re: Setting up a POL server. A tutorial.

Ciechu wrote: Sat Dec 29, 2018 5:54 am What about map editing? I'm using CentrED software with UOP to MUL converter. What soft do you prefer?
That would be a tutorial for a different post since it doesn't really pertain to POL.
by CWO
Sun Dec 23, 2018 1:09 am
Forum: Current development (100)
Topic: Script optimalization, possible to auto delete unused vars?
Replies: 4
Views: 5322

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

Sysload gives you the CPU usage and I believe the severity is in parentheses. The lower this number is the better. cputime is how much processor time POL is using. The lower, the better. scpt I believe is the number of script instances that are running. task is how many tasks POL is running per minu...
by CWO
Sat Nov 24, 2018 3:57 am
Forum: Contributed Scripts & Packages
Topic: Discord Bot
Replies: 7
Views: 7860

Re: Discord Bot

Are you writing your own script and including outbound.inc? HTTPRequest() is defined in os.em so you need a "use os;" in the script.
by CWO
Wed Oct 17, 2018 8:45 pm
Forum: General Help (096)
Topic: Client info - POL096.1-2006-07-02
Replies: 9
Views: 15523

Re: Client info - POL096.1-2006-07-02

You guys realize that the packet is 0xD9, not 0x9D....
by CWO
Mon Sep 03, 2018 8:02 pm
Forum: Hello world
Topic: The Ghost of Ikrontik Past
Replies: 7
Views: 11367

Re: The Ghost of Ikrontik Past

There definitely seems to be fewer of us left around...
by CWO
Thu Aug 09, 2018 8:26 am
Forum: UO Tools
Topic: Manual Client Patching Help!
Replies: 1
Views: 3650

Re: Manual Client Patching Help!

A long time ago I made manual patches that you can just unzip into your UO directory. The ones I made will patch you a bit further to 4.0.2a patch 2. www.cwo333.com/patch
by CWO
Mon Jul 30, 2018 8:47 am
Forum: General Discussion
Topic: The forums versus Discordance.
Replies: 7
Views: 6947

Re: The forums versus Discordance.

We still have a Discord? I've tried to join a few times but got kicked really quickly. Figured it was probably just an experiment that was being closed.
by CWO
Tue Jul 17, 2018 3:11 am
Forum: Scripting Help
Topic: Count a specific item
Replies: 15
Views: 12345

Re: Count a specific item

POL has no direct function to list all of the items on the server and trying to do the set of functions to list everything would likely freeze your server for a while. The best thing you can do is write something that reads items.txt directly.
by CWO
Sun Jun 10, 2018 1:15 pm
Forum: Bug Reports & Feature Requests
Topic: SendOpenSpecialContainer bug?
Replies: 7
Views: 6462

Re: SendOpenSpecialContainer bug?

so the type of chop-shop solution I would do... SendOpenSpecialContainer(who, bag); If(bag.container.isA(POLCLASS_MOBILE)) UpdateMobile(bag.container, UPDATEMOBILE_RECREATE) else //Build and send a draw packet to put it back endif Have you also tried forcing it by making the item invisible and visib...
by CWO
Fri Jun 08, 2018 11:18 pm
Forum: Bug Reports & Feature Requests
Topic: SendOpenSpecialContainer bug?
Replies: 7
Views: 6462

Re: SendOpenSpecialContainer bug?

From what I remember at least with bankboxes, when they were opened, the container's XYZ was changed to where the player is at. I'm wondering if the core is moving the container to you which makes it remove the container from its original location (and from view) but then putting it back but not sen...