doubt with Catalog Editor 4 by Wizatek
#1

hello, i have a doubt with catalog editor 4 by wizatek.

 

there is an option called limit and i know that it is the number of packages that are available, but i dont know where is this option saved. i would like to know if it is saved on catalog.lod, on db or both.

 

 

thanks in advance.

 

P.S. here is a screen of option i ask for.

2

#2

The limit of a certain package is saved within the flag.

Why they made it so difficult i also dont understand.

 

The first few bits of the flag define the normal flag, and the last few bits define the limit

 

U can see it if u make 2 the same packages, put a limit on 1, and on the other put no limit.

when u update the database and see in there, u will notice that both flags are different.

 

(when your limited package is sold out ingame u can fill it again with /set_limit )

#3

ok, so i understand you but i cant get it with an item.

 

2

 

i have selected this item and limit is 999 but in db appear flag = 1022976, so i cant find 999 in flag and i cant know which is normal flag.

#4

@2 i think what he is saying its in the flag here also .... take your 1022976 - 999 and this is your real flag nunber..1021977   like Wiz said

 

 saved within the flag. 

#5

Its a little more difficult then that, flags are binary code, u can try to understand it, or just thrust the editor will do the right job Wink

 

For a item to be limited u also need to put it in the limited items tab i think

#6


Its a little more difficult then that, flags are binary code, u can try to understand it, or just thrust the editor will do the right job Wink

 

For a item to be limited u also need to put it in the limited items tab i think

 

ok, but if it is possible i would like to know how it works (i know binary code) and if not, will trust on editor Tongue

#7


#define CATALOG_FALG_TO_LIMIT(a, b) (b = 0 | (a >> 10)) // īŻ·Î±× FLAG Ãâ·Â

#define CATALOG_FALG_FROM_LIMIT(a, b) (a = a | (b
this is how barunson does it
#8


#define CATALOG_FALG_TO_LIMIT(a, b) (b = 0 | (a >> 10)) // īŻ·Î±× FLAG Ãâ·Â
#define CATALOG_FALG_FROM_LIMIT(a, b) (a = a | (b << 10)) // īŻ·Î±× FLAG ÀÃâ€Ã‚·Ã‚
this is how barunson does it 

 

thanks.



Forum Jump:


Users browsing this thread: 1 Guest(s)