Search found 14 matches

by zandor
Mon Sep 17, 2007 6:56 am
Forum: Feature Request Archive
Topic: Wait_For_Event(0);
Replies: 7
Views: 8992

What about define 2 threads in single ai script?
Something like:

ai.src:

program ai_script()
..code
endprogram

events ai_scripts()
..code
endevents

I know I can always use start_script() but have all code in single src could be more readable...

THe 2 threads could share same global var ...
by zandor
Fri Jul 20, 2007 4:57 am
Forum: General Help (097)
Topic: 2007-07-15 POL 097 Win32, Linux and FreeBSD RC4 - Coregina
Replies: 14
Views: 17292

Anymore I think bug exist if define and pass struct as parameter in call function is a relevant bug... perhaps they are fixing *this* bug :-) I hope!
by zandor
Fri Jul 20, 2007 4:52 am
Forum: Feature Request Archive
Topic: More details on Event queue full
Replies: 2
Views: 4256

Yes... It could help very much....
by zandor
Mon Jul 16, 2007 1:05 am
Forum: General Help (097)
Topic: 2007-07-15 POL 097 Win32, Linux and FreeBSD RC4 - Coregina
Replies: 14
Views: 17292

BuT bug in strunct definition in function parameter.... the bug I have documented month ago.... is already bugged pol?

In this post I did all test:

http://forums.polserver.com/viewtopic.php?t=1545
by zandor
Tue May 15, 2007 1:14 am
Forum: Feature Request Archive
Topic: Abstract items
Replies: 7
Views: 8825

Not evil this think.

I also like to have a sort of C #DEFINE and #IFDEFINEDCOMPILE #ENDCOMPIELSECION to compile single senction of code in some circustances....
by zandor
Thu Apr 26, 2007 5:13 am
Forum: Feature Request Archive
Topic: ListMobilesNearLocationEx
Replies: 2
Views: 3596

ListMobilesNearLocationEx

New parameters:
LISTEX_FLAG_NPC
LISTEX_FLAG_PLAYER
?
by zandor
Tue Apr 10, 2007 2:15 am
Forum: General Help (097)
Topic: Commands don't work
Replies: 3
Views: 4567

My CMDS.CFG contains:


CmdLevel player
{


}

CmdLevel companion
{


}

CmdLevel summoner
{


}

CmdLevel quester
{


}

CmdLevel coun
{

ALIAS couns
ALIAS counselor

}

CmdLevel seer
{


}

CmdLevel seer2
{


}

CmdLevel gm
{


}

CmdLevel GM2
{


}

CmdLevel admin
{


}

CmdLevel test ...
by zandor
Tue Apr 10, 2007 2:10 am
Forum: Contributed Scripts & Packages
Topic: Tooltip Packethook [0xD6]
Replies: 23
Views: 37101

I need help.... What are you speaking on? What is "cliloc" and item description? Can't be use ".desc" ? What do this package? Sorry but i really know none of what you are speaking....
by zandor
Thu Feb 01, 2007 6:57 am
Forum: Feature Request Archive
Topic: start_script(commmand, who, par)
Replies: 3
Views: 4722

Yes I know but a thing is a generic mode to launch EVERY textcmd command (more flexible) and another is a workaround to launch some textcmd with special parameter handling....

Anymore was a very stupid thing, none special.
by zandor
Wed Jan 31, 2007 5:36 am
Forum: Feature Request Archive
Topic: start_script(commmand, who, par)
Replies: 3
Views: 4722

start_script(commmand, who, par)

start_script(commmand, who, par)

to launch text command and pass parameters?
by zandor
Sun Feb 05, 2006 6:14 am
Forum: Feature Request Archive
Topic: die and custom vitals setup
Replies: 7
Views: 9095

Vital customization is incomplete if scripter can't define itself when mobile die.

There is function death.src and chardeath.src in misc.
I think it could be also exist a
misc/candeath.src
and
misc/CanChrdeath.src

And after an old core function not very loved by staff (aready I suggested it ...
by zandor
Sat Feb 04, 2006 10:20 am
Forum: Scripting Help
Topic: How to copy a cfg file in a datafile
Replies: 8
Views: 9392

You can use this include:


use uo;
use os;
use basic;
use cfgfile;
use datafile;

/*===============================================================
* Current Version
* DATAFILE.INC - v2.0
* include ":datafile:include/datafile";
*
* -- Revision v2.0 --
* Austin:
* Changed:
* Now a package, rather ...
by zandor
Sat Feb 04, 2006 10:19 am
Forum: Scripting Help
Topic: "enum"
Replies: 2
Views: 3867

"enum"

I script from 3 years but I have never used "enum".
Someone can explain me how to use it?
by zandor
Sat Feb 04, 2006 10:17 am
Forum: Feature Request Archive
Topic: die and custom vitals setup
Replies: 7
Views: 9095

die and custom vitals setup

In current script I can add vitals (vitals.cfg) but character dies
when life go to zero on vital "Life" and this is hard-coded.

A new setting in vital:
"DieWhen 0"
that decide tha character dies when precise vital reach zero?

It could be usefull to use "DieWhen" on multiple vital also.

What do ...