Merging arrays [POL097 2006-10-18]

Report core bugs regarding the Ultima Online Emulator Core release (version 097). You can attach your Core Dump. One bug per post.
Locked
Developer Silver
Apprentice Poster
Posts: 58
Joined: Sun Feb 05, 2006 1:34 pm

Merging arrays [POL097 2006-10-18]

Post by Developer Silver »

With previous POL core, a function returning something like {gump_layout, gump_data} means that I have a bidimensional array like:
{ {"page 0", "nodispose", "text 50 50 30 0"}, {"Test page"} }

Now the 2 array are merged togheter this way:
{ "page 0", "nodispose", "text 50 50 30 0", "Test page" }

It's a feature or a bug? ;)
In first case, I'll have to rewrite a lot of functions... :(
qrak
Grandmaster Poster
Posts: 198
Joined: Sun Feb 05, 2006 4:35 pm

Post by qrak »

Yes its very annoying. I have problems with reputation system on my shard because of that.
User avatar
CWO
POL Expert
Posts: 1160
Joined: Sat Feb 04, 2006 5:49 pm

Post by CWO »

concating should make them into one array not an array of arrays...
User avatar
Austin
Former Developer
Posts: 621
Joined: Wed Jan 25, 2006 2:30 am

Post by Austin »

Will work on a fix tonight. Its related to the += 'fix' ... that fixed one thing and broked another part I forgot about.
User avatar
Austin
Former Developer
Posts: 621
Joined: Wed Jan 25, 2006 2:30 am

Post by Austin »

Okay all fixed, will fix a few other issues then ask Shini to put out a new build.
Developer Silver
Apprentice Poster
Posts: 58
Joined: Sun Feb 05, 2006 1:34 pm

Post by Developer Silver »

Ok, now it works well :) thanks guys! :D

(I've downloaded new core before you posted it! :P )
Locked