Search found 72 matches

by Skinny
Sat May 11, 2019 4:33 pm
Forum: Scripting Help
Topic: How to prevent using commands/words?
Replies: 11
Views: 292

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: 595

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 GameCards] mysql_fet...
by Skinny
Fri May 10, 2019 5:52 pm
Forum: Scripting Help
Topic: How to prevent using commands/words?
Replies: 11
Views: 292

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: 4
Views: 260

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: 595

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)) Syslog("\n " + line); endwhile
by Skinny
Mon Nov 05, 2018 3:59 pm
Forum: General Help
Topic: Installation POL server
Replies: 3
Views: 2111

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: 728

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: 935

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: 2039

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: 1140

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 bug: ~20 pl...
by Skinny
Mon Jul 03, 2017 2:05 pm
Forum: Current stable release (099)
Topic: "No clock movement" error
Replies: 12
Views: 1140

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: 1140

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: 1088

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: 1279

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: 2171

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. Thanks N...
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: 2171

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 "Select Ob...
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: 2171

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: 2171

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: 2171

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.
by Skinny
Tue Mar 28, 2017 9:32 am
Forum: Current stable release (099)
Topic: Character...tried to drop item..., but had not gotten an item.
Replies: 26
Views: 2171

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

;) The suggested code: use uo; use os; use cfgfile; var config := ReadConfigFile("::tiles"); program drag() return 1; endprogram exported function dropping(who, byref packet) who := who; //Avoid compiler warnings var dropserial := packet.GetInt32(10); if ( dropserial != 0xFFFFFFFF ) // If the charac...
by Skinny
Sun Mar 19, 2017 8:24 pm
Forum: Bug Reports & Feature Requests
Topic: Error ECompile Data segment overflowed
Replies: 1
Views: 538

Re: Error ECompile Data segment overflowed

I found a include that has increased a lot.
That's it.
Fixed.
by Skinny
Sun Mar 19, 2017 11:19 am
Forum: Bug Reports & Feature Requests
Topic: Error ECompile Data segment overflowed
Replies: 1
Views: 538

Error ECompile Data segment overflowed

Hello. I updated to the last commit ( 1ca8243 ), then when I compile scripts, show this error: EScript Compiler v1.12 Copyright (C) 1993-2016 Eric N. Swanson Compiling: D:/pol/pkg/skills/alchemy/alchemy.src Data segment overflowed. Flog the programmer for using 2-byte offsets in datafiles. Exception...
by Skinny
Wed Feb 22, 2017 9:04 am
Forum: Current stable release (099)
Topic: Crash POL (invalid memory reference) 2017.02.21
Replies: 0
Views: 1002

Crash POL (invalid memory reference) 2017.02.21

Occurred: 2017.02.21 12h57m30sec Signal "SIGSEGV"(11: invalid memory reference) detected. Segmentation fault detected - faulty memory reference at location: 0x7f6de8000000 Signal code is 1 ######################################################################################## POL will exit now. Ple...