Search found 577 matches

by Turley
Wed Mar 06, 2019 9:25 am
Forum: Scripting Help
Topic: [MySQL] How to send some info from MySQL to POL
Replies: 6
Views: 406

Re: [MySQL] How to send some info from MySQL to POL

I hope that you don't expect any detailed answer for your problem when you just publish random script outputs without the code.
mysql_fetch_row returns an array like object to get the content simply use res[1], res[2],.. up until the number of rows you have in your query
by Turley
Tue Feb 19, 2019 12:24 pm
Forum: General Help
Topic: What do the Min and Max settings for X and Y do for gumps in an itemdesc file?
Replies: 4
Views: 275

Re: What do the Min and Max settings for X and Y do for gumps in an itemdesc file?

These values have only a meaning if the core is responsible of finding a spot in a container. For example if you drop the item onto the container item. The client itself has per gump min/max coords (cannot remember if it is in some file defined or hard coded) which are used when the client drops an ...
by Turley
Wed Jan 23, 2019 12:36 pm
Forum: Scripting Help
Topic: Buff Icon Window
Replies: 35
Views: 4602

Re: Buff Icon Window

Atleast all official available servers have the same opinion about the packetstructure and that's equal to our packet documentation.
But if someone has the notion to fiddle around he is free to test the packet layout like documented on the ruosi site. Maybe we really miss some feature.
by Turley
Mon Jan 21, 2019 11:21 am
Forum: Scripting Help
Topic: Buff Icon Window
Replies: 35
Views: 4602

Re: Buff Icon Window

12-05-2015 Bodom: Added: Buff Bar support New Character's addBuff(), delBuff() and clearBuffs() methods, please see docs for details and explanation. 0xDF packets are automatically sent when needed (eg. at relogin). Buff Bar status is not saved, maybe it will be in future. So pol099
by Turley
Mon Jan 21, 2019 8:40 am
Forum: Scripting Help
Topic: Buff Icon Window
Replies: 35
Views: 4602

Re: Buff Icon Window

Before someone adds these packets via escript:
char.addBuff() char.clearBuffs(), char.delBuff() should do the trick ;)
by Turley
Sat Jan 12, 2019 12:57 am
Forum: Guides
Topic: Arrays and the Stuff Contained in the Squiggly Lines
Replies: 7
Views: 327

Re: Arrays and the Stuff Contained in the Squiggly Lines

Ah that's the story behind the pull request ;)
It didn't exist since the beginning but since several years, atleast it mentioned in the core-changes, does any other doc even count? :P
02-15-2011 XXX:
Changed: "in" keyword now returns the arrayindex or 0 if no match was found
by Turley
Mon Oct 29, 2018 9:30 am
Forum: General Help
Topic: Installation POL server
Replies: 3
Views: 2070

Re: Installation POL server

First of all especially as a beginner I would suggest to simply use the binaries yukiko publishes the latest is: https://forums.polserver.com/viewtopic.php?f=54&t=6198 Second about building on your own: 2015 is possible but since you seem to have downloaded it I would suggest to use the latest versi...
by Turley
Fri May 25, 2018 8:59 am
Forum: Scripting Help
Topic: A question about the 'decayat' member.
Replies: 2
Views: 430

Re: A question about the 'decayat' member.

Yes decay_at with the value of 0 means disabled decay, so once it's 0 the core will never touch it again.
by Turley
Sun May 13, 2018 9:26 am
Forum: Scripting Help
Topic: CreateMulti txtcommand
Replies: 11
Views: 904

Re: CreateMulti txtcommand

Use a print around your createmultiatlocation function and check your console why it fails.
by Turley
Sun May 13, 2018 7:10 am
Forum: Scripting Help
Topic: CreateMulti txtcommand
Replies: 11
Views: 904

Re: CreateMulti txtcommand

Then you should really update.
If I remember correctly just use the same graphic as your choosen objtype.
by Turley
Sun May 13, 2018 5:34 am
Forum: Scripting Help
Topic: CreateMulti txtcommand
Replies: 11
Views: 904

Re: CreateMulti txtcommand

The graphic entry for houses/boats is no more needed since pol099. So just define the multiid as you added it via fiddler and choose a free object type.
(P.s. you can also create multis via fiddler, no need to use uoa ;) )
by Turley
Thu May 03, 2018 9:05 am
Forum: Scripting Help
Topic: Plual names question.
Replies: 2
Views: 436

Re: Plual names question.

Of course ;)
It's eg
start%plural/singular%rest
So in your example it should be
lea%ves/f

Btw try:
uotool formatdesc lea%ves/f
by Turley
Sun Apr 15, 2018 9:37 am
Forum: Current stable release (099)
Topic: humongous packet 0x4F
Replies: 3
Views: 4005

Re: humongous packet 0x4F

Are you sure that you decrypted the client or used the correct cryptkey in your uoclient.cfg?
by Turley
Tue Apr 03, 2018 8:09 am
Forum: First steps
Topic: [Win x64] POL099.1 on windows Server 2012 R2
Replies: 7
Views: 867

Re: [Win x64] POL099.1 on windows Server 2012 R2

The Pol logfile or the console output would be of more help ;)
by Turley
Tue Mar 13, 2018 9:42 am
Forum: Current stable release (099)
Topic: Outstanding 099 Core Issues?
Replies: 19
Views: 1633

Re: Outstanding 099 Core Issues?

Thx for the feedback. The main problem is that the split to pol100 was in the transition phase (which isn't completed yet) of the buildsystem. The readme on github sadly doesn't switch between the branches. So I think I will backport the buildsystem to the pol099 branch once all is finished. About t...
by Turley
Fri Mar 09, 2018 9:03 am
Forum: General Discussion
Topic: Tiledata.mul problem with unlit heating stands.
Replies: 5
Views: 583

Re: Tiledata.mul problem with unlit heating stands.

Instead of disabling the light you can also change the light pattern. Should be the quality entry. (Via the light tab in fiddler you can check which pattern is the best by selecting the item)
by Turley
Wed Dec 27, 2017 2:18 am
Forum: Bug Reports & Feature Requests
Topic: Some ASCII table not working
Replies: 5
Views: 883

Re: Some ASCII table not working

A potential fix could be to replace the current setlocale( LC_TIME, "" ); In clib/Program/ProgramMain.cpp With std::setlocale(LC_ALL, ""); std::setlocale(LC_NUMERIC, "C"); std::locale::global(std::locale(std::locale(""), std::locale("C"), std::locale::numeric)); std::cout.imbue(std::locale()); And a...
by Turley
Sat Nov 11, 2017 7:35 am
Forum: Scripting Help
Topic: How to disable [FindPath] xxxx in pol.log
Replies: 2
Views: 429

Re: How to disable [FindPath] xxxx in pol.log

Your LogLevel seems to be defined >=12 in the Pol.cfg
by Turley
Sun Nov 05, 2017 2:08 pm
Forum: First steps
Topic: compiling, and getting thing to work
Replies: 28
Views: 1801

Re: compiling, and getting thing to work

The distro has a start here.sh but I never used it, I simply execute the stuff directly
by Turley
Sun Nov 05, 2017 10:48 am
Forum: First steps
Topic: compiling, and getting thing to work
Replies: 28
Views: 1801

Re: compiling, and getting thing to work

If you have extracted the boost archive in lib try in pol-core/bin-build
./build_tools.sh -p
And rerun cmake again.
by Turley
Sat Nov 04, 2017 2:38 pm
Forum: First steps
Topic: compiling, and getting thing to work
Replies: 28
Views: 1801

Re: compiling, and getting thing to work

Boost does not need to be installed, you only need to extract the archive in the libs folder, have you done that?
by Turley
Sat Nov 04, 2017 7:06 am
Forum: First steps
Topic: compiling, and getting thing to work
Replies: 28
Views: 1801

Re: compiling, and getting thing to work

What is your excact error? Console log error message screenshot something like that..
by Turley
Fri Oct 13, 2017 7:12 am
Forum: Scripting Help
Topic: How can I test whether x, y, z, realm is inside a multi?
Replies: 3
Views: 477

Re: How can I test whether x, y, z, realm is inside a multi?

Yes that's exactly the function you should use:
Var ismultiloc:=listmultisinbox(x,y,z,x,y,z,realm).size()>0;
by Turley
Tue Oct 10, 2017 10:07 am
Forum: Guides
Topic: General Tips and Tricks POL Development
Replies: 15
Views: 2208

Re: General Tips and Tricks POL Development

Forget to mention "use":
The only special meaning which exists is the npc.em. you can only have them in AI scripts, the remaining are just for grouping the functions. So I see also no reason to not have them in include files. It makes no difference where they are.