Search found 151 matches

by coltain
Sun May 04, 2008 10:28 am
Forum: Bug Reports (097)
Topic: 'bad allocation' errors
Replies: 48
Views: 12073

any progress??
by coltain
Thu May 01, 2008 11:59 pm
Forum: Feature Request Archive
Topic: Control over Corpses
Replies: 11
Views: 1994

OldnGrey

I just prepared my "bed script" to put it in here, but since You did it....

I sit laggy? Not at all, its just an animation to play every 300ms (or another setting)

I solved it this way... If somebody have another idea please share :)
by coltain
Thu May 01, 2008 7:15 am
Forum: Feature Request Archive
Topic: Control over Corpses
Replies: 11
Views: 1994

first and last frame can be "looped"

juzst play animation slowly and send packet faster then delay between frames
by coltain
Wed Apr 30, 2008 6:42 am
Forum: Scripting Help
Topic: Blocking Razor
Replies: 11
Views: 4088

I search for a way to block some razor options (light level etc)
by coltain
Wed Apr 30, 2008 6:39 am
Forum: Feature Request Archive
Topic: Control over Corpses
Replies: 11
Views: 1994

Yes, Yes, It works, just play the animation backward and loop the last frame
by coltain
Sat Mar 29, 2008 4:41 am
Forum: General Help (097)
Topic: Packet size (2D - KR)
Replies: 1
Views: 1126

Packet size (2D - KR)

I wish to hook a packet.
It`s size is 20 bytes. All is ok in 2D client.
But I need set a packet size to 21 (for KR), when I set it KR works fine but 2D client freeze.

Setting variable size crashes 2D client.

Any idea how to solve this? Set a second (for KR) packet lenght ?
by coltain
Wed Mar 26, 2008 11:27 am
Forum: General Help (096)
Topic: mounts
Replies: 2
Views: 1346

1. Modify tiledata.mul (find this graphic and add mount flag) in UO directory (and give it to players)
2. Convert cfg files (especialy tiles.cfg - use uoconvert???)
3. modify Your mountig script
4. ride :)
by coltain
Wed Mar 26, 2008 11:22 am
Forum: Scripting Help
Topic: .createpentagram
Replies: 4
Views: 976

is it in text command directory???
by coltain
Wed Mar 26, 2008 11:20 am
Forum: Scripting Help
Topic: Logtofile
Replies: 5
Views: 966

Well..

So if I use .logtext then I can log it anywhere I want???? (eg. e:/Logs/)
But if I use pkg and log something in it so I must log it in a pkg???

I wander what if I use start_script to start working cmd_txt script...
by coltain
Wed Mar 26, 2008 8:16 am
Forum: Scripting Help
Topic: Logtofile
Replies: 5
Views: 966

Yes, I have this.

FileAccess
{
Package *
Directory *
Extension .log
AllowRead 1
AllowWrite 1
AllowAppend 1
AllowRemote 1
}

As I wrote I can log anything, but it has to be in any package.

"Unable to open file: commandlog/logs/e:/FTP/gm/LOGI/aaa.log"
by coltain
Wed Mar 26, 2008 2:18 am
Forum: Scripting Help
Topic: Logtofile
Replies: 5
Views: 966

Logtofile

simple txt command: use file; program txtlog(kto) LogToFile("e:/FTP/gm/LOGI/gracze/aaa.log", "aaaa",LOG_DATETIME); endprogram works just fine but when i use LogToFile("e:/FTP/gm/LOGI/gracze/aaa.log", "aaaa",LOG_DATETIME); in any package error comes out: "Unable to open file: aaa.log" How to allow a ...
by coltain
Sun Mar 23, 2008 3:05 pm
Forum: Scripting Help
Topic: How to disable/enable seasons
Replies: 1
Views: 744

How to disable/enable seasons

When winter comes tiles of grass become white etc...

How to disable or enable this???
by coltain
Tue Mar 11, 2008 10:44 pm
Forum: Bug Reports (097)
Topic: [POL097-2008-02-26 Coregina] Weird crash, no dump.
Replies: 1
Views: 1980

I have this allocation problem since 096
by coltain
Sun Mar 02, 2008 10:34 pm
Forum: Bug Reports (097)
Topic: DestroyItem on CanInsertScript -> Crash (POL 097)
Replies: 5
Views: 2557

caninsert - return 1;
oninsert - destroy;
by coltain
Tue Feb 19, 2008 12:22 pm
Forum: Scripting Help
Topic: Hiyas need something scripted
Replies: 2
Views: 754

1. Check Your definition of "wrestling" weapon (intrinsic weapon) to find this check objtypes.txt in pol root directory and search for: 0xF020 2. in this 0xf020 there should be a HitScript entry with some script 3. search for it and there You are... Other: This hit script is probably used by other w...
by coltain
Wed Feb 13, 2008 12:47 pm
Forum: Bug Reports (097)
Topic: Another trouble with allocation
Replies: 7
Views: 3258

Hem, and what about a memory usage? My script should keep a constant memory usage. What if a script caches an array 20000 size big ?
by coltain
Tue Feb 12, 2008 6:24 am
Forum: Bug Reports (097)
Topic: Another trouble with allocation
Replies: 7
Views: 3258

pobierz_wymiary function is just simple function to recive max coordinates of map case(realm) "britannia": return {britx,brity}; "ilshenar": return {ilshx,ilshy}; endcase I made some tests... And I think there is an error in elsewhere start.src <- here a simple loop in start.src and my server has al...
by coltain
Mon Jan 21, 2008 7:41 am
Forum: General Help (097)
Topic: New, enchanced 2D clients (about network protocol changes)
Replies: 8
Views: 5792

outstanding, many thx
by coltain
Sat Dec 29, 2007 4:02 am
Forum: Scripting Help
Topic: frozen tag
Replies: 2
Views: 1064

I didn`t feel the difference... for a while... but lately my players reported getting criminal flag while mobile is parayzed and recived dmg, when i switched paralyzed back to frozen all is ok
by coltain
Thu Dec 27, 2007 7:13 am
Forum: Scripting Help
Topic: Unicode
Replies: 3
Views: 933

bleh, I posted 2 diffrent part of a script ;p sorry

I use CAscZ once, array comes bad

sendsysmessage(who,"array: ",+CAscZ("ąęć"));

it doesn`t work
by coltain
Thu Dec 27, 2007 7:09 am
Forum: General Help (095)
Topic: CreateNpcFromTemplate - problem with override_properties
Replies: 4
Views: 1891

If You use 095 try putting an array instead struct

a struct type (as I recall) is needed for 097
by coltain
Wed Dec 26, 2007 10:42 am
Forum: Scripting Help
Topic: Unicode
Replies: 3
Views: 933

Unicode

I have a little problem using unicode functions (unicode.em)

I want to use Polish language (POL code). But the function doesn`t show anything.

test code:

var txt:= CAscZ("ąćę");
SendSysMessageUC(who, CAscZ(txt), "POL");
by coltain
Sat Dec 22, 2007 3:28 pm
Forum: Old distros
Topic: .cfg file question
Replies: 4
Views: 2144

So what is better???

for eg.

I have readconfigfile(something) in my AI script (for setup). This script is used by about 10000 mobiles. Is it better not to unload this config after setup or it is better to unload it?
by coltain
Fri Dec 21, 2007 4:19 am
Forum: Scripting Help
Topic: Need cmd to say dmg of weapons
Replies: 6
Views: 1258

uh, Your script... use uo; program dmg(who) var item; SendSysmessage( who , "Select an Item." ); item := Target( who , TGTOPT_NOCHECK_LOS ); if(!item or !(item.isa(POLCLASS_WEAPON))) SendSysmessage( who , "Invalid selection." ); return; endif show_dmg(who,item); //in this You can use what I wrote in...
by coltain
Wed Dec 19, 2007 2:17 pm
Forum: Old distros
Topic: .cfg file question
Replies: 4
Views: 2144

.cfg file question

When I read a cfg file (using ReadConfigFile(filename)) do I have to unload this .cfg file??? Or is it unloaded automaticly when script ends (or exits by return)???