Search found 19 matches

by Snocks
Sat May 16, 2009 2:43 am
Forum: General Help (095)
Topic: Damage
Replies: 5
Views: 27314

Re: Damage

Best bet with your problem is first adjusting the str of the behemoth to see so its life is good, then adjust the behemoths weapon to see the damage is correct. Weapons are found it pkg/std/combat/itemdesc.cfg.
by Snocks
Sat Apr 18, 2009 12:57 pm
Forum: General Discussion
Topic: In theory, is there a limit on how many players pol handles?
Replies: 4
Views: 5265

Re: In theory, is there a limit on how many players pol handles?

Yeah. Currently my server computer with webserver and all takes 700 mb of ram after 4-5 days of uptime. Though the shard only been up for 5 weeks so theres not many items yet. I will prolly do as you suggested about the checks thing.

Prolly won't get enough players for it to cause any problems ...
by Snocks
Sat Apr 18, 2009 8:27 am
Forum: General Discussion
Topic: In theory, is there a limit on how many players pol handles?
Replies: 4
Views: 5265

In theory, is there a limit on how many players pol handles?

Hey!

Lately I started thinking, how many players would pol handle really? It does not really use that much reasources of the computer, so that won't be a limiting factor. But is there any limit before scripts will cause problems?

I am currently having around 250 people on my shard, and its growing ...
by Snocks
Fri Apr 17, 2009 1:51 am
Forum: Scripting Help
Topic: Need help...
Replies: 8
Views: 6811

Re: Need help...

Hey I have been wanting to get ahold of some Zulu Hotel Scripts :) . I am real good at converting scripts. I have converted World of Dreams Scripts to Pol 097 already. Its not fine tuned. but the scripts will compile and run now with no errors. I plan on giving to the Distro Team to look at and ...
by Snocks
Wed Apr 15, 2009 7:55 am
Forum: General Help (095)
Topic: Casino and lottery?
Replies: 2
Views: 24276

Re: Casino and lottery?

Basically nothing in the POL core itself is standard, its all in the scripts that you write or download. If you're talking about the distro, that was up to those who scripted the distro a long time ago. Mostly they seemed to work on the essential stuff to get UO working as UO. I believe there is a ...
by Snocks
Wed Apr 15, 2009 1:29 am
Forum: General Help (095)
Topic: Casino and lottery?
Replies: 2
Views: 24276

Casino and lottery?

Hey!

What im really wondering here is why there's no built in gaming features in pol. I've been working on some things like this for my own shard. Done stuff like automated dice games against players or "the house" and currently working on a real life lottery game. Where you get to pick your ...
by Snocks
Sun Mar 22, 2009 7:05 am
Forum: Scripting Help
Topic: Good way to start a script for all players?
Replies: 6
Views: 8278

Re: Good way to start a script for all players?

You may want to test another way to accomplish that. Basically it's the same but without all those neat variables. Documentation will tell you more about foreach statement if it's a new one to you.


foreach player in EnumerateOnlineCharacters()
if (player.cmdlevel == 0)
Start_Script("::XXX ...
by Snocks
Sun Mar 22, 2009 6:38 am
Forum: Scripting Help
Topic: Good way to start a script for all players?
Replies: 6
Views: 8278

Re: Good way to start a script for all players?

mr bubbles wrote:Yep that will start the script for each player. I see no problem with it.
Will it wait for the script to finish? Because when I test it the script starts for just the first player.
by Snocks
Sun Mar 22, 2009 6:18 am
Forum: Scripting Help
Topic: Good way to start a script for all players?
Replies: 6
Views: 8278

Good way to start a script for all players?

Hey

Im looking for a way to start a script for all players. I using pol 095 and I tried a way I thought would work.

local players := EnumerateOnlineCharacters();
local numplayer := len(players);
local player;

local i := 0;

for (i := 1; i <= numplayer; i := i + 1)
player := players[i];

If ...
by Snocks
Thu Mar 19, 2009 6:30 am
Forum: Scripting Help
Topic: Reading .dmp files?
Replies: 21
Views: 17383

Re: Reading .dmp files?

CWO wrote:who.frozen := 1; should set it as long as who is a valid character/NPC...
Yeah, but it don't for some reason.
by Snocks
Wed Mar 18, 2009 10:07 pm
Forum: Scripting Help
Topic: Reading .dmp files?
Replies: 21
Views: 17383

Re: Reading .dmp files?

I took your code Snocks and put the sleep in where it switches the page. This way, it will only sleep when going to a new page. With 130 players, it should be .1 second. And CPU load at 15 is getting on the higher end... but then again, I'm the nut that runs POL on his gaming computer so it almost ...
by Snocks
Wed Mar 18, 2009 7:24 am
Forum: Scripting Help
Topic: Reading .dmp files?
Replies: 21
Views: 17383

Re: Reading .dmp files?

program textcmd_online( who )

SendSysMessage( who, "Creating list... It may take a moment" );
FillInArrays();

SendDialogGump( who, layout, data );

endprogram

function FillInArrays()
var city;

// Variables designed to Store The full array of players, the number of players, and the current ...
by Snocks
Tue Mar 17, 2009 10:57 pm
Forum: Scripting Help
Topic: Reading .dmp files?
Replies: 21
Views: 17383

Re: Reading .dmp files?

Having no sleeps won't cause crashes but with 100+ people online, if you're running something that would be hard on your server like a monster bash or some other event with a lot of people and a lot of action and suddenly maybe a few decide to use the command for their own reasons, that can ...
by Snocks
Tue Mar 17, 2009 1:52 pm
Forum: Scripting Help
Topic: Reading .dmp files?
Replies: 21
Views: 17383

Re: Reading .dmp files?

What I would do in that type of list is put in a SendSysMessage(who, "Creating list..."); as the first line to tell them that the command has worked (then they won't be tempted to do it again while waiting) then put sleepms(10); inside the foreach loop. With 110 players it will take about 1 second ...
by Snocks
Tue Mar 17, 2009 1:12 am
Forum: Scripting Help
Topic: Reading .dmp files?
Replies: 21
Views: 17383

Re: Reading .dmp files?

when a script runs away it gives the script name and the PC. Using the same procedure I described above with looking at the .lst file, you'll find where the script it. It will not cause a crash but it means a script is running a lot of instructions without a rest which can cause lag. Generally its ...
by Snocks
Mon Mar 16, 2009 11:15 pm
Forum: Scripting Help
Topic: Reading .dmp files?
Replies: 21
Views: 17383

Re: Reading .dmp files?

over 512..... sounds like a bad memory stick in the pc. Might look at a new one from a old pc, or new from store, or from a flea market or some such (so as not to spend a lot on it)


Yeah, but its not always over 512. So it seems its not a whole stick that is broken. If I stress test it I gone to ...
by Snocks
Mon Mar 16, 2009 1:47 pm
Forum: Scripting Help
Topic: Reading .dmp files?
Replies: 21
Views: 17383

Re: Reading .dmp files?

Does it say anything after the lines you posted? The lines just after that are usually when it posts the info. Crashes can be from faulty hardware but they can still be things within POL itself too. Make a post on the bug reports forum and attach the dmp file. The POL developers can then see it and ...
by Snocks
Mon Mar 16, 2009 1:30 pm
Forum: Scripting Help
Topic: Reading .dmp files?
Replies: 21
Views: 17383

Re: Reading .dmp files?

You can't. Only POL developers can read .dmp files. The POL.log file will list where it was and in what script when it crashed. If you have ecompile generate listings (it'll create a .lst file for every script you compile), open the .lst file in a text editor. POL.log lists the location in your ...
by Snocks
Mon Mar 16, 2009 12:27 pm
Forum: Scripting Help
Topic: Reading .dmp files?
Replies: 21
Views: 17383

Reading .dmp files?

Hey. I am having trouble with crashes. How can I get the information about what script is causing this from the .dmp file created?