Search found 1081 matches

by CWO
Sun Mar 17, 2019 9:20 pm
Forum: Current development (100)
Topic: [const] Directory
Replies: 7
Views: 363

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: 11
Views: 618

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 the same th...
by CWO
Sun Jan 20, 2019 10:27 pm
Forum: Scripting Help
Topic: Quests
Replies: 11
Views: 618

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: 11
Views: 618

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: 12
Views: 1594

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: 338

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: 1092

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: 4960

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: 4413

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: 509

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: 908

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: 1626

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: 708

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: 708

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...
by CWO
Wed May 30, 2018 3:47 pm
Forum: Development Discussion
Topic: An update on my progress with the Distro upgrade.
Replies: 6
Views: 845

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

You can't adjust the map.gumpheight and map.gumpwidth to overcome the non square map?
by CWO
Thu May 17, 2018 11:31 pm
Forum: General Discussion
Topic: Speedhack
Replies: 5
Views: 829

Re: Speedhack

A long time ago I posted a scripted speedhack solution with packethooks in POL096. When used on a live shard, it caused a lot of lag since it was a lot of processing in critical scripts that were called every step for every user. Not sure how much impact on CPU it would have today since computers ar...
by CWO
Sun May 06, 2018 10:23 am
Forum: Scripting Help
Topic: Simple Problem: Remain Hidden after using an object.
Replies: 3
Views: 515

Re: Simple Problem: Remain Hidden after using an object.

Also, if you're talking about remaining hidden as a staff member, look into the Character.concealed member. Concealed is only for staff and allows them to run around and use objects without being seen.
by CWO
Mon Apr 16, 2018 5:02 pm
Forum: Scripting Help
Topic: Regarding Packet Hooks
Replies: 3
Views: 571

Re: Regarding Packet Hooks

The problem with this is that if you block the deny packet, the client will have a ghost item on it but the server still denied it so it's not moved. The server has to accept that the item can be moved otherwise it will not be.
by CWO
Tue Nov 21, 2017 1:15 am
Forum: General Discussion
Topic: max account limitation per IP
Replies: 5
Views: 889

Re: max account limitation per IP

There's no limitation in a configuration file but you can script it into your account creation process. You can set a last IP address to the account upon creation and login (on login in case their IP changes) and then do something like this on account creation: foreach account in ListAccounts() if (...
by CWO
Fri Sep 22, 2017 6:20 pm
Forum: Development Discussion
Topic: The starthere batch files
Replies: 11
Views: 1136

Re: The starthere batch files

Generate a listfile too... It helps immensely when debugging scripts.
by CWO
Thu Sep 21, 2017 10:03 pm
Forum: Development Discussion
Topic: The starthere batch files
Replies: 11
Views: 1136

Re: The starthere batch files

I've never skipped errors. Not even on my development and rewrite shards. Although, I never really compiled the whole shard much unless I updated a global include or upgraded POL which didn't happen too often.
by CWO
Thu Sep 21, 2017 12:24 pm
Forum: Development Discussion
Topic: The starthere batch files
Replies: 11
Views: 1136

Re: The starthere batch files

I think the bat should definitely stop on errors. It's just bad practice to not stop on all errors in a production shard and most of those who will download this want an up and running "production level" shard immediately.
by CWO
Sat Sep 09, 2017 9:47 am
Forum: Scripting Help
Topic: Packets
Replies: 3
Views: 743

Re: Packets

What are you trying to accomplish here? Typically the only thing that happens when the client sends a packet to the server is that the server responds in a certain way or does something based on that packet. Why not cut out the packet and just do what you wanted to do. The only thing I can think of ...
by CWO
Sun Aug 13, 2017 9:38 pm
Forum: Scripting Help
Topic: Attach(character) question.
Replies: 6
Views: 779

Re: Attach(character) question.

I've used it when debugging stuff or creating new stuff to replace existing. Like some item use scripts that I would start off as developer level commands and such. If it fits your scripting style and situation, it can be useful.
by CWO
Sun Aug 13, 2017 1:19 am
Forum: Scripting Help
Topic: Attach(character) question.
Replies: 6
Views: 779

Re: Attach(character) question.

Skill scripts are automatically attached by the core along with item use scripts.