Search found 12 matches

by biosek
Fri Jun 20, 2014 1:44 am
Forum: POL Tools
Topic: Sublime Text syntax highlighting
Replies: 2
Views: 21695

Re: Sublime Text syntax highlighting

Noone? :/
by biosek
Thu Apr 24, 2014 2:45 pm
Forum: POL Tools
Topic: Sublime Text syntax highlighting
Replies: 2
Views: 21695

Sublime Text syntax highlighting

Hi,
does anybody have syntax highlighting and snippets completing for Sublime Text or TextMate? (It's compatible)
Ofc for eScript language for POL :)

I searched and found nothing.
Even tried to find definitions for another text editors and then find a way to convert them, but without any success ...
by biosek
Wed Mar 26, 2014 1:13 pm
Forum: Scripting Help
Topic: Custom weapon stacking on insert
Replies: 16
Views: 13501

Re: Custom weapon stacking on insert

Well we are using pol97 so maybe it is fixed on 99 :). But anyway thanks for help.
by biosek
Wed Mar 26, 2014 12:59 pm
Forum: Scripting Help
Topic: Custom weapon stacking on insert
Replies: 16
Views: 13501

Re: Custom weapon stacking on insert

Split and recombine doesn't work either.

When I just change weapon to item in config, then the stacking works. (But functionality of them is lost :/) So there must be an issue in stacking weapons types.

edit: But we might change it to normal Item and rewrite the script a bit. But anyway if I ...
by biosek
Wed Mar 26, 2014 12:36 pm
Forum: Scripting Help
Topic: Custom weapon stacking on insert
Replies: 16
Views: 13501

Re: Custom weapon stacking on insert

Hm if this is not a case of client. What could it be? Personaly I've run out of options here.
Configs should be correctly set. There are no available scripts which could make it in POL. I really don't know.

The last thing what comes to my mind. If this stacking could be done through script (from ...
by biosek
Wed Mar 26, 2014 5:06 am
Forum: Scripting Help
Topic: Custom weapon stacking on insert
Replies: 16
Views: 13501

Re: Custom weapon stacking on insert

Ok i took "ham" with type "0x3df7". Made what you asked. First from ground to bag in my paperdoll then from ground to stack in my bag. Worked fine.
Then the same with shurikens of type "0x2e22".

I looked it over and the packets with ham type in them are identical in both cases, but the packets with ...
by biosek
Tue Mar 25, 2014 6:18 am
Forum: Scripting Help
Topic: Custom weapon stacking on insert
Replies: 16
Views: 13501

Re: Custom weapon stacking on insert

Ok then.

Both stacks have one CProp only it is called NoMelee and has value 1.

But even when I remove this CProp on both stacks I cant stack them together.
by biosek
Tue Mar 25, 2014 3:29 am
Forum: Scripting Help
Topic: Custom weapon stacking on insert
Replies: 16
Views: 13501

Re: Custom weapon stacking on insert

So, i have just printed showprop for both shuriken stacks, i guess there are not all properties so i get stackable prop with command as you can see in journal.
Every property shown is similar and i don't really know why they can't stack

Image
by biosek
Mon Mar 24, 2014 6:19 am
Forum: Scripting Help
Topic: Custom weapon stacking on insert
Replies: 16
Views: 13501

Re: Custom weapon stacking on insert

I will check by script all props and cprops of both stacks. Thanks.

But still i dont understand why they stacks on inserting in backpack and not on inserting on another stack. Dost that onInsert in backpack ignores something?
by biosek
Mon Mar 24, 2014 2:03 am
Forum: Scripting Help
Topic: Custom weapon stacking on insert
Replies: 16
Views: 13501

Re: Custom weapon stacking on insert

Yes in my tiledata they are set to be stackable. Even ingame when I read info about them the property stackable is set.

They are stacking when I drop them to my backpack in my paperdoll. So it is calling default onInsert for my backpack and it stacks them fine.

I will post configs for them, so you ...
by biosek
Sun Mar 23, 2014 6:19 am
Forum: Scripting Help
Topic: Custom weapon stacking on insert
Replies: 16
Views: 13501

Custom weapon stacking on insert

Hello,
i need to fix a bug, but i don't know how.

I am running 97 pol server. I have custom weapon type called shuriken. It is throwable item. They are stacking fine when i am inserting them into backpack. But when i want to grab them and insert them on another stack, they just wont insert into one ...
by biosek
Wed Feb 26, 2014 7:44 am
Forum: POL Tools
Topic: EmEditor Syntax highlighting
Replies: 6
Views: 26324

Re: EmEditor Syntax highlighting

i use notepad++ with plugin NppExec with script:

Code: Select all

SET compiler = c:\pol\scripts\ecompile.exe
NPP_SAVE
cd c:\pol
"$(compiler)" "$(FULL_CURRENT_PATH)"
UNSET compiler