Search found 33 matches

by Nightson
Mon Sep 29, 2008 1:25 am
Forum: Scripting Help
Topic: Control script
Replies: 4
Views: 3871

Re: Control script

thx
by Nightson
Sun Sep 28, 2008 1:11 pm
Forum: Scripting Help
Topic: Control script
Replies: 4
Views: 3871

Re: Control script

well it isnt it starts when someone identify item then is start_script(":magic:MagicControl",item)
by Nightson
Sun Sep 28, 2008 9:09 am
Forum: Contributed Scripts & Packages
Topic: PKG Against SpeedHack
Replies: 8
Views: 9602

Re: PKG Against SpeedHack

i sugest to use who.multi.tilerman
by Nightson
Sun Sep 28, 2008 8:58 am
Forum: Contributed Scripts & Packages
Topic: PKG Against SpeedHack
Replies: 8
Views: 9602

Re: PKG Against SpeedHack

There is bug while moving on boat
by Nightson
Sun Sep 28, 2008 3:07 am
Forum: Scripting Help
Topic: Control script
Replies: 4
Views: 3871

Control script

When i start control script for some item then shutdown pol and start it again did i have to run this script again or is it running?
by Nightson
Fri Sep 26, 2008 2:18 am
Forum: Feature Request Archive
Topic: Integrated Static Tool
Replies: 39
Views: 78163

Re: Integrated Static Tool

would be sweet to see commands like that
by Nightson
Thu Sep 25, 2008 11:18 am
Forum: Bug Reports (097)
Topic: Bug with strings?
Replies: 1
Views: 17235

Bug with strings?


var skill := Randomint(48)+1;
skill := GetAttributeIdBySkillId(skill); // Function from attributes.inc
bonus := Randomint(4)+1;
name := GetBonusNameByAttribute(skill); <== This function returns string like that "[Alchemii]"
SetObjProperty(item,"dmagic",{skill,time,bonus,name});


This script ...
by Nightson
Fri Sep 19, 2008 2:40 pm
Forum: General Help (097)
Topic: Spells cannot be cast here
Replies: 1
Views: 2755

Re: Spells cannot be cast here

i have found it in regions.cfg
by Nightson
Fri Sep 19, 2008 2:42 am
Forum: General Help (097)
Topic: Spells cannot be cast here
Replies: 1
Views: 2755

Spells cannot be cast here

Where i can change region of this? i have to apply spell cast near jailroom
by Nightson
Fri Sep 19, 2008 1:35 am
Forum: UO Tools
Topic: PH Release Date
Replies: 25
Views: 65491

Re: PH Release Date

i dont know but i sugest to try ask on runuo forum
by Nightson
Tue Sep 16, 2008 3:06 am
Forum: General Help (095)
Topic: Druids Spells Help Needed
Replies: 7
Views: 6631

Re: Druids Spells Help Needed

show us ecompile error
by Nightson
Mon Sep 15, 2008 1:00 pm
Forum: Scripting Help
Topic: MoveitemtoContaier problem
Replies: 2
Views: 2589

Re: MoveitemtoContaier problem

Yarr ;] thx for advice ;]
by Nightson
Sun Sep 14, 2008 2:15 pm
Forum: Scripting Help
Topic: MoveitemtoContaier problem
Replies: 2
Views: 2589

MoveitemtoContaier problem

var bankbox := FindBankBox(who);
var newpack := Createitemincontainer(who.backpack, 0xe75,1);
//MoveObjectToLocation(newpack, who.x, who.y, who.z);
var test := MoveItemToContainer(newpack, bankbox);
if(!test)
printtextabove(who,""+test.errortext);
endif

Returns error text = Could not remove item ...
by Nightson
Sun Sep 14, 2008 12:56 pm
Forum: Scripting Help
Topic: Problem with Events
Replies: 14
Views: 9111

Re: Problem with Events

if(ev)
case(ev.type)
EVID_DAMAGED:
opponent := ev.source; fight();

EVID_ENGAGED:
opponent := ev.source; fight();

EVID_ENTEREDAREA:
if(ev.source.acctname)
opponent := ev.source; fight();
endif

endcase
[color=#FF0000] elseif(!ispcs())
check := check + 1; [/color] <- here was ma ...
by Nightson
Sun Sep 14, 2008 8:02 am
Forum: General Help (097)
Topic: Uoconvert problem
Replies: 2
Views: 3305

Re: Uoconvert problem

i have tryed UO:SIR but nothing... in other hand Static fix works perfectly thx ;]
by Nightson
Sun Sep 14, 2008 3:46 am
Forum: General Help (097)
Topic: Uoconvert problem
Replies: 2
Views: 3305

Uoconvert problem

Creating POL statics files: 13% Warning: Item with illegal Graphic 0x5403 in Are
a 2512 544 2519 551
Warning: Item with illegal Graphic 0x5404 in Area 2512 544 2519 551
Creating POL statics files: 53% Warning: Item with illegal Graphic 0x6518 in Are
a 4352 2184 4359 2191

And when im going to ...
by Nightson
Sun Sep 14, 2008 3:21 am
Forum: Scripting Help
Topic: Problem with Events
Replies: 14
Views: 9111

Re: Problem with Events

i will paste fixed code later becouse i have to go out now.
by Nightson
Sun Sep 14, 2008 12:51 am
Forum: Scripting Help
Topic: Problem with Events
Replies: 14
Views: 9111

Re: Problem with Events

i Have sloved this error. thx guys for your help
by Nightson
Sat Sep 13, 2008 7:03 am
Forum: Scripting Help
Topic: Problem with Events
Replies: 14
Views: 9111

Re: Problem with Events

Here is part of my mainprogram AI

while(Gethp(self()))
if(check < 5)
ev := wait_for_event(2);
elseif(petla < 20)
ev := wait_for_event(10);
else
ev := sleep();
endif

if((RandomInt(30) > 25))
clear_event_queue();
endif
if(ev)
case(ev.type)
EVID_DAMAGED:
opponent := ev.source; fight ...
by Nightson
Sat Sep 13, 2008 6:29 am
Forum: Scripting Help
Topic: Problem with Events
Replies: 14
Views: 9111

Re: Problem with Events

He is not. It mostly happens in dunegons or graveyards...
by Nightson
Sat Sep 13, 2008 5:56 am
Forum: Scripting Help
Topic: Problem with Events
Replies: 14
Views: 9111

Re: Problem with Events

Range is 25
and there is no sleep function only wait_for_event
by Nightson
Sat Sep 13, 2008 2:34 am
Forum: Scripting Help
Topic: Problem with Events
Replies: 14
Views: 9111

Re: Problem with Events

but i have only enabled ENTEREDAREA / DAMAGE / ENGAGE thats all
by Nightson
Sat Sep 13, 2008 2:12 am
Forum: Scripting Help
Topic: Problem with Events
Replies: 14
Views: 9111

Problem with Events

Event queue for pkg/clr/ai/dai_default.ecl is full, discarding event.
NPC Serial: 0x52be2e (1342 1066 0)
Event: struct{ source = <appobj:MobileRef>, type = 32 }


Why im getting this info all the time? its strange thing becouse source is another "npc" i most cases its npc with same AI. and this 2 ...
by Nightson
Thu Sep 11, 2008 3:17 pm
Forum: Scripting Help
Topic: Findpath error
Replies: 5
Views: 4183

Re: Findpath error

Ncrsn helped me to slove this problem - the problem was 0 on flags (FP_IGNORE_MOBILES ) and npc was unable to run on my tile becouse it was probaly reserved i think "findpath" should be fix. when i set flag to 1 i havent got any error in my script.


Thx to ncrsn for ideas ;]
by Nightson
Thu Sep 11, 2008 2:07 pm
Forum: UO Tools
Topic: PH Release Date
Replies: 25
Views: 65491

Re: PH Release Date

sounds nice good luck