Search found 76 matches

by Skinny
Wed Dec 25, 2019 3:00 pm
Forum: Current development (100)
Topic: A new Core is available built on 2019-12-18.
Replies: 10
Views: 7029

Re: A new Core is available built on 2019-12-18.

zandor70 wrote: Fri Dec 20, 2019 6:13 am I use Arch Linux but I have error

./pol: error while loading shared libraries: libmysqlclient.so.20: cannot open shared object file: No such file or directory

Hints?
Install this:

Code: Select all

apt-get install default-libmysqlclient-dev
by Skinny
Tue Dec 17, 2019 7:38 am
Forum: Bug Reports & Feature Requests
Topic: StrFormatTime error with latest POL100 core
Replies: 4
Views: 4409

Re: StrFormatTime error with latest POL100 core

You can use %H instead %I.

It uses ISO 8601 (the 24-hour clock system).
by Skinny
Tue Dec 17, 2019 5:04 am
Forum: Bug Reports & Feature Requests
Topic: POL core error 0xc000007b
Replies: 3
Views: 3931

Re: POL core error 0xc000007b

Visual Studio 2013 is no more supported.
Recent CMake version maybe cause issues.

What versions do you use?
by Skinny
Sat May 11, 2019 4:33 pm
Forum: Scripting Help
Topic: How to prevent using commands/words?
Replies: 11
Views: 8730

Re: How to prevent using commands/words?

Thank you Skinny. Both for the direction to the packet and for the report about performance. I have been curious about how bad, if any, the performance hit might be. :) It works good here. In January we had 900 online. POL100 version. Thank you guys! I use this hook also and log all commands from s...
by Skinny
Fri May 10, 2019 6:51 pm
Forum: Scripting Help
Topic: [MySQL] How to send some info from MySQL to POL
Replies: 7
Views: 6471

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

7th step And the final step! If I find some nonexistent card in my DB, pol make MINIDUMP! query := "SELECT * FROM gcards WHERE card IN('xxxxxxxxxxx') "; result := mysql_query( connection, query ); getArray := mysql_fetch_row( result ); if( getArray.errortext ) SysLog("\n [MySQL GameC...
by Skinny
Fri May 10, 2019 5:52 pm
Forum: Scripting Help
Topic: How to prevent using commands/words?
Replies: 11
Views: 8730

Re: How to prevent using commands/words?

You can use the 0xAD packet hook.

We use it on the server and we don't have performance problems.
by Skinny
Wed Feb 13, 2019 9:25 pm
Forum: General Help
Topic: accentuation in text PrintTextAbovePrivate
Replies: 6
Views: 5925

Re: accentuation in text PrintTextAbovePrivate

‘above_object’ can be any item ref or character ref. The module NPC with Self() function works when you using inside AI script. For example, if you test with an user command like .testtext, you can use: use unicode; program testtext (character) var example := “acentuação”; PrintTextAbovePrivateUC(ch...
by Skinny
Fri Feb 01, 2019 10:49 am
Forum: Scripting Help
Topic: [MySQL] How to send some info from MySQL to POL
Replies: 7
Views: 6471

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

var value_name := "test"; var query := "SELECT card FROM gamecards WHERE card_name = " + value_name; var result := mysql_query(connection, query); if(!mysql_num_rows(result)) Syslog("\nNo card found."); return 0; endif var line; while(line := mysql_fetch_row(result)) S...
by Skinny
Mon Nov 05, 2018 3:59 pm
Forum: General Help
Topic: Installation POL server
Replies: 3
Views: 6265

Re: Installation POL server

Tip: Don't use space in folder name. If you do, the "Open Project" button doesn't work.
by Skinny
Tue May 29, 2018 9:21 pm
Forum: Current development (100)
Topic: A new beta build is up.
Replies: 6
Views: 5933

Re: A new beta build is up.

The link "Here is the most recent build of the Core for Ubuntu provided by Boberski." is broken.
by Skinny
Tue Dec 26, 2017 5:40 pm
Forum: Bug Reports & Feature Requests
Topic: Some ASCII table not working
Replies: 5
Views: 5642

Re: Some ASCII table not working

Duttones wrote: Sun Dec 24, 2017 11:17 pm Skinny, did you had a permanent solution that doesn`t use the uc_text parameter? Update everything now will get me an hell of a headache.
No, Duttones. Only this, unfortunately.
by Skinny
Mon Oct 23, 2017 11:44 am
Forum: Current stable release (099)
Topic: Latest GIT POLCore (LINUX) [UNOFFICIAL]
Replies: 18
Views: 12443

Re: Latest GIT POLCore (LINUX) [UNOFFICIAL]

boberski wrote: Sun Dec 27, 2015 12:55 pm I created a small site with only one URL:

http://pol.hell-yeah.eu/
This url is broken.
by Skinny
Mon Jul 03, 2017 2:50 pm
Forum: Current stable release (099)
Topic: "No clock movement" error
Replies: 12
Views: 8751

Re: "No clock movement" error

http://docs.polserver.com/pol099/scripttypes.php#UseScript Scheduler Type Normal Default Priority 100 Try to move "sleep(10);" to close_door.src script, in first line. Remove Sleep() on critical part. I think this script caller doesn't need use set_critical. Before, try to reproduce this b...
by Skinny
Mon Jul 03, 2017 2:05 pm
Forum: Current stable release (099)
Topic: "No clock movement" error
Replies: 12
Views: 8751

Re: "No clock movement" error

How is this file is called?
by Skinny
Mon Jul 03, 2017 11:22 am
Forum: Current stable release (099)
Topic: "No clock movement" error
Replies: 12
Views: 8751

Re: "No clock movement" error

Can you show us the code of the file close_door.src?

How is this file is called?
start_script()?
UseScript?
ControlScript?
Do you send events itself or out? Uses set_critical()?
by Skinny
Tue May 02, 2017 11:41 am
Forum: Bug Reports & Feature Requests
Topic: animxlate.cfg
Replies: 6
Views: 5001

Re: animxlate.cfg

Add inside "MobileType Monster" this line below after "Graphic 0x13f" line:

Code: Select all

Graphic 0x23d
by Skinny
Fri Apr 28, 2017 1:34 pm
Forum: Current stable release (099)
Topic: mySQL compilation error
Replies: 15
Views: 9060

Re: mySQL compilation error

Maybe this solution can help:
http://stackoverflow.com/a/21647591
by Skinny
Thu Apr 06, 2017 1:12 am
Forum: Current stable release (099)
Topic: Character...tried to drop item..., but had not gotten an item.
Replies: 26
Views: 16426

Re: Character...tried to drop item..., but had not gotten an item.

Harley, you need fix this code: if ( dropserial != 0xFFFFFFFF ) Change to: if ( Hex(dropserial) != "0xFFFFFFFF" ) Or change to: if ( dropserial != -1 ) Detailed explanation is that the POL assumes that integers are 32bit signed. And there is no format to say that the comparison is unsigned...
by Skinny
Sun Apr 02, 2017 12:35 pm
Forum: Current stable release (099)
Topic: Character...tried to drop item..., but had not gotten an item.
Replies: 26
Views: 16426

Re: Character...tried to drop item..., but had not gotten an item.

Now my thoughts. If I was right or wrong, tell me please. I want to learn it and will be very greateful for all your help! out of sequence cursor. - this is occur from this: BYTE[1] Cursor Target (see notes) Seeing notes in 0x6C packet , if the Cursor Target is 0, so, this saying that is "Sele...
by Skinny
Sun Apr 02, 2017 11:46 am
Forum: Current stable release (099)
Topic: Character...tried to drop item..., but had not gotten an item.
Replies: 26
Views: 16426

Re: Character...tried to drop item..., but had not gotten an item.

I think that table each one can use for another packets, yeap? Yes, sure. Now I try to understand another issue and fix it, that I think have not only my shard. We have another flood from players: xxx/xxx used out of sequence cursor. xxx/xxx used out of sequence cursor. xxx/xxx used out of sequence...
by Skinny
Sat Apr 01, 2017 9:30 pm
Forum: Current stable release (099)
Topic: Character...tried to drop item..., but had not gotten an item.
Replies: 26
Views: 16426

Re: Character...tried to drop item..., but had not gotten an item.

Another question about that packet hook. How to find and determine this one: Client (Character .....) tried to drop an item out of range. Client (Character .....) tried to drop an item out of range. Client (Character .....) tried to drop an item out of range. What packet I have to use (what BYTE[??...
by Skinny
Thu Mar 30, 2017 12:08 pm
Forum: Current stable release (099)
Topic: Character...tried to drop item..., but had not gotten an item.
Replies: 26
Views: 16426

Re: Character...tried to drop item..., but had not gotten an item.

Which client version do you use?
6.0.1.7+?
If yes, you need change uopacket.cfg to:

Code: Select all

Packet 0x08
{
	Length 15
	ReceiveFunction dropping:dropping
	Version 2
}
See about 0x08 packet.