New Core build for 2018-10-10

Here you can post threads on the development of the current release of the core (100)

Moderator: POL Developer

Post Reply
Yukiko
Distro Developer
Posts: 2501
Joined: Thu Feb 02, 2006 1:41 pm
Location: San Antonio, Texas
Contact:

New Core build for 2018-10-10

Post by Yukiko » Tue Oct 09, 2018 11:15 pm

You can download it here.

From the core-changes.txt:

Code: Select all

-- POL100 --
10-07-2018 Turley:
  Added:   array.sorted_insert(obj, sub_index:=0, reverse:=0)
           assumes an already sorted array and inserts given obj. sub_index and reverse parameter have to match the sorting criteria of the array.
10-06-2018 DevGIB:
  Added:   ConsumeAmmunition syshook to hook the cores check for ammunition consumption during combat. Hook should return 1 if combat is to go ahead and 0 if the weapon should not fire.
Sincerely,
Yukiko

I would tell you a UDP joke but you might not get it.

Titus 2:13

guialtran
Master Poster
Posts: 98
Joined: Wed Jul 30, 2008 12:42 pm

Re: New Core build for 2018-10-10

Post by guialtran » Wed Oct 10, 2018 3:10 pm

wonderful! :whip:

sort 1.000.000 itens 2880 milliseconds
sorted_insert, insert into an array with 1,000,000 elements is less than 10 milliseconds
:bacondance: Perfect :D

the ammo hook was perfect too!

thank you!
Gib Turley
@CronosKing

Post Reply