Search found 15 matches

by Zacharias
Wed Jun 28, 2006 2:47 pm
Forum: General Help (095)
Topic: Medieva Returns.
Replies: 6
Views: 6326

good luck out there :D
by Zacharias
Fri May 26, 2006 3:37 am
Forum: Scripting Help
Topic: AUX scripts
Replies: 7
Views: 6070


if (($connect = @fsockopen("127.0.0.1", 2020, $errno, $errstr, 2)) === FALSE) {
// the server is offline.
} else {

fputs($connect, $packet."\n");
$data = fgets($connect);
fclose($connect);

// the server is online. Information is stored in $data
}


You should look into the status-packet of ...
by Zacharias
Sun May 14, 2006 3:50 am
Forum: Feature Request Archive
Topic: Object.IsA( POLCLASS_* )
Replies: 9
Views: 10665

why not script a own function is_pc(), is_npc or is_mobile()?

if there are changes (e.g. npcs get a ip / acct-prop :p . don't know why) you could easy modify that.
No need for a new constant, in my opinion.

Edit:

oops :)

// POLCLASS_* constants - use with obj.isa(POLCLASS_*)
const POLCLASS ...
by Zacharias
Fri May 12, 2006 1:50 pm
Forum: General Help (095)
Topic: I few easy modifications. Please check inside
Replies: 7
Views: 6120

the corps-coordinates are wrong:
elseif(corpse.x >= 5390 && corpse.y >= 1262 && corpse.x<=5376 && corpse.y<=1279 )

corpse.x >= 5390
(bigger then 5390)
AND
corpse.x<=5376
(smaller then 5376)

there is no number which can be smaller then 5376 and bigger then 5390 at the same time.


correct code ...
by Zacharias
Fri Apr 14, 2006 1:36 am
Forum: General Help (095)
Topic: New Server Help
Replies: 8
Views: 8569

delete speech.mul and transserv.exe in your UO-dir and try again :)
by Zacharias
Thu Apr 13, 2006 3:40 am
Forum: Scripting Help
Topic: Data segment overflowed
Replies: 6
Views: 7235

Flog the programmer for using 2-byte offsets in datafiles.


Looks like this fault is created by a too small offset-reservation:
Your Script-File is to hughe for ecompile/POL.
The program can't count through 8800 (4300 + 4500) lines for some reason.

For example, offsets are used in gump.mul and ...
by Zacharias
Mon Apr 10, 2006 5:09 am
Forum: POL Tools
Topic: POL support-software (portal)
Replies: 1
Views: 4499

beta of itemconverter (Sphere2POL) is published.

at the moment it only converts items from sphere to pol without take notice of their type (except doors and containers. Their lock-status will be translated to pol)

there a few known bugs:

- some doors won't open in correct directions
- multis aren ...
by Zacharias
Wed Apr 05, 2006 12:15 pm
Forum: Contributed Scripts & Packages
Topic: Descompilator ecl to src Mast have
Replies: 5
Views: 7198

don't know why. looks reliable ;)

And wow: it's even smaller than ecompile.exe (compressed ~ 200kb)

could an admin check this please?
by Zacharias
Tue Mar 14, 2006 9:07 am
Forum: General Help (096)
Topic: StartingGold=100
Replies: 23
Views: 27587

If it's possible to create chars by webinterface in pol96 or further versions, there should be an option to deactivate clothing, because it would be nice to script a complete own system.

otherwise deleting all items by script is better, because many people want to keep the osi-style creation system ...
by Zacharias
Tue Mar 14, 2006 8:54 am
Forum: General Help (095)
Topic: Unable to save game
Replies: 7
Views: 5771

Does the shard run on Linux or Windows?
If you use Linux, there may be permission-problems:
Try to start your pol-server as "root" for testing.

If you use Windows, I have no idear.
by Zacharias
Thu Mar 09, 2006 7:31 am
Forum: Scripting Help
Topic: Removing a string from a string?
Replies: 11
Views: 13449

the problem is following:

From: Mr. Killer
To: dude
Message: one o'clock morning meet me at the tree to kill dude one

He types:
.w dude one o'clock morning meet me at the tree to kill dude one

If "dude one" is online (and dude also) "dude one" may recieve the message.
if "dude one" is online ...
by Zacharias
Thu Mar 09, 2006 4:50 am
Forum: Scripting Help
Topic: Removing a string from a string?
Replies: 11
Views: 13449

Okay, now I am using a separator. This should fix the last problem.

Use uo;
Use os;
Use util;

Program TextCMD_Whisper( Who, command )

var separator := "*"; // setting separator

command := SplitWords(command);
var check := 0;
var i;
var maxcount := 0;
var possibleplayer;
var realplayer;

Foreach ...
by Zacharias
Wed Mar 08, 2006 3:18 pm
Forum: Scripting Help
Topic: Removing a string from a string?
Replies: 11
Views: 13449

My codes never work at the first time ^^

but now:
compiled and checked: it works!
But didn't test the Jack BoB-thingy. (think this will work, too)


Use uo;
Use os;
Use util;

Program TextCMD_Whisper( Who, command )

command := SplitWords(command);
var i;
var maxcount := 0;
var possibleplayer;
var ...
by Zacharias
Wed Mar 08, 2006 1:26 pm
Forum: Scripting Help
Topic: Removing a string from a string?
Replies: 11
Views: 13449

Another way (what "beaud" ment):

text := SplitWords(text);
var player;
var i := 0;
var maxcount;
var realplayer;
Foreach Player in (EnumerateOnlineCharacters())
i := 0;
var player := SplitWords(Player.name);
while (lower(player[i]) == lower(text[i]))
if (i > maxcount) // Check if there is a ...
by Zacharias
Wed Mar 08, 2006 7:43 am
Forum: POL Tools
Topic: POL support-software (portal)
Replies: 1
Views: 4499

POL support-software (portal)

Hello,

I want to make a start and introduce a litte script-portal to you:

www.arkanium.net/Scripts/

At the moment there's only one script:
Itembeter (Scripters little helper: No more copy & paste. Script a huge amount of related items easily).
But i will offer further scripts there and would be ...